From e249e7a0e3a1ced9a55b84c56d7ed37e1c225587 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 12 Jul 2023 05:02:35 +0900 Subject: [PATCH] configure: cleanup diff --- cif/CIFrdpoly.c | 2 +- scripts/configure | 2 ++ scripts/configure.in | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cif/CIFrdpoly.c b/cif/CIFrdpoly.c index b47effbd..3202e68f 100644 --- a/cif/CIFrdpoly.c +++ b/cif/CIFrdpoly.c @@ -243,7 +243,7 @@ CIFPolyToRects(path, plane, resultTbl, ui, isCalma) if ((tail->cifp_x != path->cifp_x) || (tail->cifp_y != path->cifp_y)) { if (isCalma) - CalmaReadError("Boundary is not closed.\n"); + CalmaReadError("Boundary is not closed.\n" ); p = (CIFPath *) mallocMagic ((unsigned) sizeof (CIFPath)); p->cifp_x = path->cifp_x; diff --git a/scripts/configure b/scripts/configure index 8e021b71..eee98cd9 100755 --- a/scripts/configure +++ b/scripts/configure @@ -7773,7 +7773,9 @@ fi case $target in *-linux*) $as_echo "#define linux 1" >>confdefs.h + $as_echo "#define SYSV 1" >>confdefs.h + $as_echo "#define ISC 1" >>confdefs.h case $target in diff --git a/scripts/configure.in b/scripts/configure.in index 3328e08d..56e85b43 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -1359,7 +1359,7 @@ case $target in dnl 64-bit support for AMD Opteron case $target in *x86_64*) - CFLAGS="${CFLAGS} -fPIC -Werror=implicit-function-declaration" + CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration" ;; esac if test $usingOGL ; then