From 7aebad285d2d0cf4280f7933701e874e74ed4df5 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 25 Aug 2017 14:13:30 -0400 Subject: [PATCH] Corrected the configure.in and defs.mak.in file so that the python3 preprocessor is captured in the variable MCPP, not CPP, since CPP is meaningful to the make process. Also, the MAGICDIR variable in the name needed to be escaped so that the variable is not evaluated within the configure script. --- defs.mak | 5 +- scmos/Makefile | 2 +- scripts/config.log | 930 +++++++++++++++++------------------------- scripts/config.status | 13 +- scripts/configure | 6 +- scripts/configure.in | 5 +- scripts/defs.mak | 5 +- scripts/defs.mak.in | 1 + 8 files changed, 386 insertions(+), 581 deletions(-) diff --git a/defs.mak b/defs.mak index 6cc27d01..e6e9fb31 100644 --- a/defs.mak +++ b/defs.mak @@ -51,6 +51,7 @@ ARFLAGS = crv LINK = ld -r LD = /bin/ld M4 = /bin/m4 +MCPP = ${MAGICDIR}/scripts/preproc.py RANLIB = ranlib SHDLIB_EXT = .so LDDL_FLAGS = ${LDFLAGS} -shared -Wl,-soname,$@ -Wl,--version-script=${MAGICDIR}/magic/symbol.map @@ -62,11 +63,11 @@ MAGIC_VERSION = 8.2 MAGIC_REVISION = 14 CC = gcc -CPP = /scripts/preproc.py +CPP = gcc -E CXX = g++ CPPFLAGS = -I. -I${MAGICDIR} -DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/bin/gcore\" +DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/bin/gcore\" DFLAGS += -DSHDLIB_EXT=\".so\" CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC diff --git a/scmos/Makefile b/scmos/Makefile index 7613d732..f9c2baa1 100644 --- a/scmos/Makefile +++ b/scmos/Makefile @@ -18,7 +18,7 @@ MAGICDIR = .. include ${MAGICDIR}/defs.mak SC_M4 = ${M4} -SC_CPP = ${CPP} -I./extract_template +SC_CPP = ${MCPP} -I./extract_template FILES = mos.7bit.dstyle mos.7bit.std.cmap \ mos.24bit.dstyle mos.24bit.std.cmap \ diff --git a/scripts/config.log b/scripts/config.log index 816dd1d8..5face857 100644 --- a/scripts/config.log +++ b/scripts/config.log @@ -39,24 +39,24 @@ PATH: /usr/local/bin ## Core tests. ## ## ----------- ## -configure:2482: checking build system type -configure:2496: result: x86_64-unknown-linux-gnu -configure:2516: checking host system type -configure:2529: result: x86_64-unknown-linux-gnu -configure:2549: checking target system type -configure:2562: result: x86_64-unknown-linux-gnu -configure:2654: checking for gcc -configure:2670: found /bin/gcc -configure:2681: result: gcc -configure:2910: checking for C compiler version -configure:2919: gcc --version >&5 +configure:2483: checking build system type +configure:2497: result: x86_64-unknown-linux-gnu +configure:2517: checking host system type +configure:2530: result: x86_64-unknown-linux-gnu +configure:2550: checking target system type +configure:2563: result: x86_64-unknown-linux-gnu +configure:2655: checking for gcc +configure:2671: found /bin/gcc +configure:2682: result: gcc +configure:2911: checking for C compiler version +configure:2920: gcc --version >&5 gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:2930: $? = 0 -configure:2919: gcc -v >&5 +configure:2931: $? = 0 +configure:2920: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper @@ -64,58 +64,58 @@ Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) -configure:2930: $? = 0 -configure:2919: gcc -V >&5 +configure:2931: $? = 0 +configure:2920: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. -configure:2930: $? = 4 -configure:2919: gcc -qversion >&5 +configure:2931: $? = 4 +configure:2920: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. -configure:2930: $? = 4 -configure:2950: checking whether the C compiler works -configure:2972: gcc -g conftest.c >&5 -configure:2976: $? = 0 -configure:3024: result: yes -configure:3027: checking for C compiler default output file name -configure:3029: result: a.out -configure:3035: checking for suffix of executables -configure:3042: gcc -o conftest -g conftest.c >&5 -configure:3046: $? = 0 -configure:3068: result: -configure:3090: checking whether we are cross compiling -configure:3098: gcc -o conftest -g conftest.c >&5 -configure:3102: $? = 0 -configure:3109: ./conftest -configure:3113: $? = 0 -configure:3128: result: no -configure:3133: checking for suffix of object files -configure:3155: gcc -c -g conftest.c >&5 -configure:3159: $? = 0 -configure:3180: result: o -configure:3184: checking whether we are using the GNU C compiler -configure:3203: gcc -c -g conftest.c >&5 -configure:3203: $? = 0 -configure:3212: result: yes -configure:3221: checking whether gcc accepts -g -configure:3241: gcc -c -g conftest.c >&5 -configure:3241: $? = 0 -configure:3282: result: yes -configure:3299: checking for gcc option to accept ISO C89 -configure:3362: gcc -c -g conftest.c >&5 -configure:3362: $? = 0 -configure:3375: result: none needed -configure:3400: checking how to run the C preprocessor -configure:3431: gcc -E conftest.c -configure:3431: $? = 0 -configure:3445: gcc -E conftest.c +configure:2931: $? = 4 +configure:2951: checking whether the C compiler works +configure:2973: gcc -g conftest.c >&5 +configure:2977: $? = 0 +configure:3025: result: yes +configure:3028: checking for C compiler default output file name +configure:3030: result: a.out +configure:3036: checking for suffix of executables +configure:3043: gcc -o conftest -g conftest.c >&5 +configure:3047: $? = 0 +configure:3069: result: +configure:3091: checking whether we are cross compiling +configure:3099: gcc -o conftest -g conftest.c >&5 +configure:3103: $? = 0 +configure:3110: ./conftest +configure:3114: $? = 0 +configure:3129: result: no +configure:3134: checking for suffix of object files +configure:3156: gcc -c -g conftest.c >&5 +configure:3160: $? = 0 +configure:3181: result: o +configure:3185: checking whether we are using the GNU C compiler +configure:3204: gcc -c -g conftest.c >&5 +configure:3204: $? = 0 +configure:3213: result: yes +configure:3222: checking whether gcc accepts -g +configure:3242: gcc -c -g conftest.c >&5 +configure:3242: $? = 0 +configure:3283: result: yes +configure:3300: checking for gcc option to accept ISO C89 +configure:3363: gcc -c -g conftest.c >&5 +configure:3363: $? = 0 +configure:3376: result: none needed +configure:3401: checking how to run the C preprocessor +configure:3432: gcc -E conftest.c +configure:3432: $? = 0 +configure:3446: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. -configure:3445: $? = 1 +configure:3446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -128,15 +128,15 @@ configure: failed program was: | #define MAGIC_REVISION "14" | /* end confdefs.h. */ | #include -configure:3470: result: gcc -E -configure:3490: gcc -E conftest.c -configure:3490: $? = 0 -configure:3504: gcc -E conftest.c +configure:3471: result: gcc -E +configure:3491: gcc -E conftest.c +configure:3491: $? = 0 +configure:3505: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. -configure:3504: $? = 1 +configure:3505: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -149,18 +149,18 @@ configure: failed program was: | #define MAGIC_REVISION "14" | /* end confdefs.h. */ | #include -configure:3590: checking for g++ -configure:3606: found /bin/g++ -configure:3617: result: g++ -configure:3644: checking for C++ compiler version -configure:3653: g++ --version >&5 +configure:3591: checking for g++ +configure:3607: found /bin/g++ +configure:3618: result: g++ +configure:3645: checking for C++ compiler version +configure:3654: g++ --version >&5 g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:3664: $? = 0 -configure:3653: g++ -v >&5 +configure:3665: $? = 0 +configure:3654: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper @@ -168,128 +168,131 @@ Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) -configure:3664: $? = 0 -configure:3653: g++ -V >&5 +configure:3665: $? = 0 +configure:3654: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. -configure:3664: $? = 4 -configure:3653: g++ -qversion >&5 +configure:3665: $? = 4 +configure:3654: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. -configure:3664: $? = 4 -configure:3668: checking whether we are using the GNU C++ compiler -configure:3687: g++ -c conftest.cpp >&5 -configure:3687: $? = 0 -configure:3696: result: yes -configure:3705: checking whether g++ accepts -g -configure:3725: g++ -c -g conftest.cpp >&5 -configure:3725: $? = 0 -configure:3766: result: yes -configure:3790: checking for library containing strerror -configure:3821: gcc -o conftest -g conftest.c >&5 -configure:3821: $? = 0 -configure:3838: result: none required -configure:3860: checking for a BSD-compatible install -configure:3928: result: /bin/install -c -configure:3982: checking for ranlib -configure:3998: found /bin/ranlib -configure:4009: result: ranlib -configure:4036: checking for gm4 -configure:4069: result: no -configure:4036: checking for gnum4 -configure:4069: result: no -configure:4036: checking for m4 -configure:4054: found /bin/m4 -configure:4066: result: /bin/m4 -configure:4084: checking for python3 -configure:4102: found /bin/python3 -configure:4115: result: /bin/python3 -configure:4154: checking for ld used by GCC -configure:4217: result: /bin/ld -configure:4224: checking if the linker (/bin/ld) is GNU ld +configure:3665: $? = 4 +configure:3669: checking whether we are using the GNU C++ compiler +configure:3688: g++ -c conftest.cpp >&5 +configure:3688: $? = 0 +configure:3697: result: yes +configure:3706: checking whether g++ accepts -g +configure:3726: g++ -c -g conftest.cpp >&5 +configure:3726: $? = 0 +configure:3767: result: yes +configure:3791: checking for library containing strerror +configure:3822: gcc -o conftest -g conftest.c >&5 +configure:3822: $? = 0 +configure:3839: result: none required +configure:3861: checking for a BSD-compatible install +configure:3929: result: /bin/install -c +configure:3983: checking for ranlib +configure:3999: found /bin/ranlib +configure:4010: result: ranlib +configure:4037: checking for gm4 +configure:4070: result: no +configure:4037: checking for gnum4 +configure:4070: result: no +configure:4037: checking for m4 +configure:4055: found /bin/m4 +configure:4067: result: /bin/m4 +configure:4085: checking for python3 +configure:4103: found /bin/python3 +configure:4116: result: /bin/python3 +configure:4155: checking for ld used by GCC +configure:4218: result: /bin/ld +configure:4225: checking if the linker (/bin/ld) is GNU ld GNU ld version 2.24 -configure:4236: result: yes -configure:4243: checking for grep that handles long lines and -e -configure:4301: result: /bin/grep -configure:4306: checking for egrep -configure:4368: result: /bin/grep -E -configure:4373: checking for ANSI C header files -configure:4393: gcc -c -g conftest.c >&5 -configure:4393: $? = 0 -./configure: line 4407: /scripts/preproc.py: No such file or directory -configure:4477: result: no -configure:4490: checking for sys/types.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for sys/stat.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for stdlib.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for string.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for memory.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for strings.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for inttypes.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for stdint.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4490: checking for unistd.h -configure:4490: gcc -c -g conftest.c >&5 -configure:4490: $? = 0 -configure:4490: result: yes -configure:4506: checking size of void * -configure:4511: gcc -o conftest -g conftest.c >&5 -configure:4511: $? = 0 -configure:4511: ./conftest -configure:4511: $? = 0 -configure:4525: result: 8 -configure:4539: checking size of unsigned int -configure:4544: gcc -o conftest -g conftest.c >&5 -configure:4544: $? = 0 -configure:4544: ./conftest -configure:4544: $? = 0 -configure:4558: result: 4 -configure:4572: checking size of unsigned long -configure:4577: gcc -o conftest -g conftest.c >&5 -configure:4577: $? = 0 -configure:4577: ./conftest -configure:4577: $? = 0 -configure:4591: result: 8 -configure:4605: checking size of unsigned long long -configure:4610: gcc -o conftest -g conftest.c >&5 -configure:4610: $? = 0 -configure:4610: ./conftest -configure:4610: $? = 0 -configure:4624: result: 8 -configure:4635: checking whether byte ordering is bigendian -configure:4650: gcc -c -g conftest.c >&5 -conftest.c:25:9: error: unknown type name 'not' +configure:4237: result: yes +configure:4244: checking for grep that handles long lines and -e +configure:4302: result: /bin/grep +configure:4307: checking for egrep +configure:4369: result: /bin/grep -E +configure:4374: checking for ANSI C header files +configure:4394: gcc -c -g conftest.c >&5 +configure:4394: $? = 0 +configure:4467: gcc -o conftest -g conftest.c >&5 +configure:4467: $? = 0 +configure:4467: ./conftest +configure:4467: $? = 0 +configure:4478: result: yes +configure:4491: checking for sys/types.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for sys/stat.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for stdlib.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for string.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for memory.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for strings.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for inttypes.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for stdint.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4491: checking for unistd.h +configure:4491: gcc -c -g conftest.c >&5 +configure:4491: $? = 0 +configure:4491: result: yes +configure:4507: checking size of void * +configure:4512: gcc -o conftest -g conftest.c >&5 +configure:4512: $? = 0 +configure:4512: ./conftest +configure:4512: $? = 0 +configure:4526: result: 8 +configure:4540: checking size of unsigned int +configure:4545: gcc -o conftest -g conftest.c >&5 +configure:4545: $? = 0 +configure:4545: ./conftest +configure:4545: $? = 0 +configure:4559: result: 4 +configure:4573: checking size of unsigned long +configure:4578: gcc -o conftest -g conftest.c >&5 +configure:4578: $? = 0 +configure:4578: ./conftest +configure:4578: $? = 0 +configure:4592: result: 8 +configure:4606: checking size of unsigned long long +configure:4611: gcc -o conftest -g conftest.c >&5 +configure:4611: $? = 0 +configure:4611: ./conftest +configure:4611: $? = 0 +configure:4625: result: 8 +configure:4636: checking whether byte ordering is bigendian +configure:4651: gcc -c -g conftest.c >&5 +conftest.c:26:9: error: unknown type name 'not' not a universal capable compiler ^ -conftest.c:25:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' +conftest.c:26:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' not a universal capable compiler ^ -conftest.c:25:15: error: unknown type name 'universal' -configure:4650: $? = 1 +conftest.c:26:15: error: unknown type name 'universal' +configure:4651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -300,6 +303,7 @@ configure: failed program was: | #define PACKAGE_URL "" | #define MAGIC_VERSION "8.2" | #define MAGIC_REVISION "14" +| #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -319,17 +323,17 @@ configure: failed program was: | #endif | typedef int dummy; | -configure:4695: gcc -c -g conftest.c >&5 -configure:4695: $? = 0 -configure:4713: gcc -c -g conftest.c >&5 +configure:4696: gcc -c -g conftest.c >&5 +configure:4696: $? = 0 +configure:4714: gcc -c -g conftest.c >&5 conftest.c: In function 'main': -conftest.c:31:4: error: unknown type name 'not' +conftest.c:32:4: error: unknown type name 'not' not big endian ^ -conftest.c:31:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' +conftest.c:32:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' not big endian ^ -configure:4713: $? = 1 +configure:4714: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -340,6 +344,7 @@ configure: failed program was: | #define PACKAGE_URL "" | #define MAGIC_VERSION "8.2" | #define MAGIC_REVISION "14" +| #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -367,151 +372,58 @@ configure: failed program was: | ; | return 0; | } -configure:4841: result: no -configure:4860: checking for ANSI C header files -configure:4964: result: no -configure:4976: checking for setenv -configure:4976: gcc -o conftest -g conftest.c >&5 -configure:4976: $? = 0 -configure:4976: result: yes -configure:4976: checking for putenv -configure:4976: gcc -o conftest -g conftest.c >&5 -configure:4976: $? = 0 -configure:4976: result: yes -configure:4986: checking for vfork -configure:4986: gcc -o conftest -g conftest.c >&5 -configure:4986: $? = 0 -configure:4986: result: yes -configure:4994: checking sys/mman.h usability -configure:4994: gcc -c -g conftest.c >&5 -configure:4994: $? = 0 -configure:4994: result: yes -configure:4994: checking sys/mman.h presence -configure:4994: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:4994: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| /* end confdefs.h. */ -| #include -configure:4994: result: no -configure:4994: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor! -configure:4994: WARNING: sys/mman.h: proceeding with the compiler's result -configure:4994: checking for sys/mman.h -configure:4994: result: yes -configure:5007: checking dirent.h usability -configure:5007: gcc -c -g conftest.c >&5 -configure:5007: $? = 0 -configure:5007: result: yes -configure:5007: checking dirent.h presence -configure:5007: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:5007: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| #define HAVE_SYS_MMAN_H 1 -| /* end confdefs.h. */ -| #include -configure:5007: result: no -configure:5007: WARNING: dirent.h: accepted by the compiler, rejected by the preprocessor! -configure:5007: WARNING: dirent.h: proceeding with the compiler's result -configure:5007: checking for dirent.h -configure:5007: result: yes -configure:5020: checking limits.h usability -configure:5020: gcc -c -g conftest.c >&5 -configure:5020: $? = 0 -configure:5020: result: yes -configure:5020: checking limits.h presence -configure:5020: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:5020: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| #define HAVE_SYS_MMAN_H 1 -| #define HAVE_DIRENT_H 1 -| /* end confdefs.h. */ -| #include -configure:5020: result: no -configure:5020: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor! -configure:5020: WARNING: limits.h: proceeding with the compiler's result -configure:5020: checking for limits.h -configure:5020: result: yes -configure:5033: checking param.h usability -configure:5033: gcc -c -g conftest.c >&5 -conftest.c:62:19: fatal error: param.h: No such file or directory +configure:4842: result: no +configure:4861: checking for ANSI C header files +configure:4965: result: yes +configure:4977: checking for setenv +configure:4977: gcc -o conftest -g conftest.c >&5 +configure:4977: $? = 0 +configure:4977: result: yes +configure:4977: checking for putenv +configure:4977: gcc -o conftest -g conftest.c >&5 +configure:4977: $? = 0 +configure:4977: result: yes +configure:4987: checking for vfork +configure:4987: gcc -o conftest -g conftest.c >&5 +configure:4987: $? = 0 +configure:4987: result: yes +configure:4995: checking sys/mman.h usability +configure:4995: gcc -c -g conftest.c >&5 +configure:4995: $? = 0 +configure:4995: result: yes +configure:4995: checking sys/mman.h presence +configure:4995: gcc -E conftest.c +configure:4995: $? = 0 +configure:4995: result: yes +configure:4995: checking for sys/mman.h +configure:4995: result: yes +configure:5008: checking dirent.h usability +configure:5008: gcc -c -g conftest.c >&5 +configure:5008: $? = 0 +configure:5008: result: yes +configure:5008: checking dirent.h presence +configure:5008: gcc -E conftest.c +configure:5008: $? = 0 +configure:5008: result: yes +configure:5008: checking for dirent.h +configure:5008: result: yes +configure:5021: checking limits.h usability +configure:5021: gcc -c -g conftest.c >&5 +configure:5021: $? = 0 +configure:5021: result: yes +configure:5021: checking limits.h presence +configure:5021: gcc -E conftest.c +configure:5021: $? = 0 +configure:5021: result: yes +configure:5021: checking for limits.h +configure:5021: result: yes +configure:5034: checking param.h usability +configure:5034: gcc -c -g conftest.c >&5 +conftest.c:64:19: fatal error: param.h: No such file or directory #include ^ compilation terminated. -configure:5033: $? = 1 +configure:5034: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -522,6 +434,7 @@ configure: failed program was: | #define PACKAGE_URL "" | #define MAGIC_VERSION "8.2" | #define MAGIC_REVISION "14" +| #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -535,6 +448,7 @@ configure: failed program was: | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED_LONG_LONG 8 +| #define STDC_HEADERS 1 | #define HAVE_SETENV 1 | #define HAVE_PUTENV 1 | #define HAVE_SYS_MMAN_H 1 @@ -575,11 +489,14 @@ configure: failed program was: | # include | #endif | #include -configure:5033: result: no -configure:5033: checking param.h presence -configure:5033: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:5033: $? = 127 +configure:5034: result: no +configure:5034: checking param.h presence +configure:5034: gcc -E conftest.c +conftest.c:31:19: fatal error: param.h: No such file or directory + #include + ^ +compilation terminated. +configure:5034: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -590,6 +507,7 @@ configure: failed program was: | #define PACKAGE_URL "" | #define MAGIC_VERSION "8.2" | #define MAGIC_REVISION "14" +| #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -603,6 +521,7 @@ configure: failed program was: | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED_LONG_LONG 8 +| #define STDC_HEADERS 1 | #define HAVE_SETENV 1 | #define HAVE_PUTENV 1 | #define HAVE_SYS_MMAN_H 1 @@ -610,236 +529,112 @@ configure: failed program was: | #define HAVE_LIMITS_H 1 | /* end confdefs.h. */ | #include -configure:5033: result: no -configure:5033: checking for param.h -configure:5033: result: no -configure:5046: checking paths.h usability -configure:5046: gcc -c -g conftest.c >&5 -configure:5046: $? = 0 -configure:5046: result: yes -configure:5046: checking paths.h presence -configure:5046: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:5046: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| #define HAVE_SYS_MMAN_H 1 -| #define HAVE_DIRENT_H 1 -| #define HAVE_LIMITS_H 1 -| /* end confdefs.h. */ -| #include -configure:5046: result: no -configure:5046: WARNING: paths.h: accepted by the compiler, rejected by the preprocessor! -configure:5046: WARNING: paths.h: proceeding with the compiler's result -configure:5046: checking for paths.h -configure:5046: result: yes -configure:5057: checking for va_copy -configure:5075: gcc -o conftest -g conftest.c >&5 -configure:5075: $? = 0 -configure:5084: result: yes -configure:5092: checking for __va_copy -configure:5110: gcc -o conftest -g conftest.c >&5 -configure:5110: $? = 0 -configure:5119: result: yes -configure:5334: checking for gcore -configure:5352: found /bin/gcore -configure:5365: result: /bin/gcore -configure:5377: checking for csh -configure:5395: found /bin/csh -configure:5408: result: /bin/csh -configure:5422: checking for X -configure:5561: gcc -o conftest -g conftest.c -lX11 >&5 -configure:5561: $? = 0 -configure:5611: result: libraries , headers -configure:5710: gcc -o conftest -g conftest.c -lX11 >&5 -configure:5710: $? = 0 -configure:5808: checking for gethostbyname -configure:5808: gcc -o conftest -g conftest.c >&5 -configure:5808: $? = 0 -configure:5808: result: yes -configure:5905: checking for connect -configure:5905: gcc -o conftest -g conftest.c >&5 -configure:5905: $? = 0 -configure:5905: result: yes -configure:5954: checking for remove -configure:5954: gcc -o conftest -g conftest.c >&5 -configure:5954: $? = 0 -configure:5954: result: yes -configure:6003: checking for shmat -configure:6003: gcc -o conftest -g conftest.c >&5 -configure:6003: $? = 0 -configure:6003: result: yes -configure:6061: checking for IceConnectionNumber in -lICE -configure:6086: gcc -o conftest -g conftest.c -lICE >&5 -configure:6086: $? = 0 -configure:6095: result: yes -configure:6131: checking for XOpenDevice in -lXi -configure:6156: gcc -o conftest -g conftest.c -lXi >&5 -configure:6156: $? = 0 -configure:6165: result: yes -configure:6171: checking for XmuInternAtom in -lXmu -configure:6196: gcc -o conftest -g conftest.c -lXmu >&5 -configure:6196: $? = 0 -configure:6205: result: yes -configure:6211: checking for XextFindDisplay in -lXext -configure:6236: gcc -o conftest -g conftest.c -lXext >&5 -configure:6236: $? = 0 -configure:6245: result: yes -configure:6325: checking for tclConfig.sh -configure:6399: result: /usr/lib64/tclConfig.sh -configure:6415: checking for tkConfig.sh -configure:6488: result: /usr/lib64/tkConfig.sh -configure:6622: checking for wish executable -configure:6650: result: /usr/bin/wish -configure:6656: checking for tclsh executable -configure:6682: result: /usr/bin/tclsh -configure:7387: checking GL/gl.h usability -configure:7387: gcc -c -g conftest.c >&5 -configure:7387: $? = 0 -configure:7387: result: yes -configure:7387: checking GL/gl.h presence -configure:7387: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:7387: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| #define HAVE_SYS_MMAN_H 1 -| #define HAVE_DIRENT_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_PATHS_H 1 -| #define HAVE_VA_COPY 1 -| #define HAVE___VA_COPY 1 -| #define FILE_LOCKS 1 -| #define CALMA_MODULE 1 -| #define CIF_MODULE 1 -| #define X11_BACKING_STORE 1 -| #define PLOT_MODULE 1 -| #define LEF_MODULE 1 -| #define ROUTE_MODULE 1 -| #define USE_NEW_MACROS 1 -| /* end confdefs.h. */ -| #include -configure:7387: result: no -configure:7387: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor! -configure:7387: WARNING: GL/gl.h: proceeding with the compiler's result -configure:7387: checking for GL/gl.h -configure:7387: result: yes -configure:7405: checking for glXCreateContext in -lGL -configure:7430: gcc -o conftest -g -lm conftest.c -lGL >&5 -configure:7430: $? = 0 -configure:7439: result: yes -configure:7455: checking for gluNewTess in -lGLU -configure:7480: gcc -o conftest -g -lm conftest.c -lGLU -lGL >&5 -configure:7480: $? = 0 -configure:7489: result: yes -configure:7540: checking cairo/cairo.h usability -configure:7540: gcc -c -g conftest.c >&5 -configure:7540: $? = 0 -configure:7540: result: yes -configure:7540: checking cairo/cairo.h presence -configure:7540: /scripts/preproc.py conftest.c -./configure: line 1577: /scripts/preproc.py: No such file or directory -configure:7540: $? = 127 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "" -| #define PACKAGE_TARNAME "" -| #define PACKAGE_VERSION "" -| #define PACKAGE_STRING "" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAGIC_VERSION "8.2" -| #define MAGIC_REVISION "14" -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define SIZEOF_VOID_P 8 -| #define SIZEOF_UNSIGNED_INT 4 -| #define SIZEOF_UNSIGNED_LONG 8 -| #define SIZEOF_UNSIGNED_LONG_LONG 8 -| #define HAVE_SETENV 1 -| #define HAVE_PUTENV 1 -| #define HAVE_SYS_MMAN_H 1 -| #define HAVE_DIRENT_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_PATHS_H 1 -| #define HAVE_VA_COPY 1 -| #define HAVE___VA_COPY 1 -| #define FILE_LOCKS 1 -| #define CALMA_MODULE 1 -| #define CIF_MODULE 1 -| #define X11_BACKING_STORE 1 -| #define PLOT_MODULE 1 -| #define LEF_MODULE 1 -| #define ROUTE_MODULE 1 -| #define USE_NEW_MACROS 1 -| #define HAVE_LIBGL 1 -| #define HAVE_LIBGLU 1 -| #define VECTOR_FONTS 1 -| /* end confdefs.h. */ -| #include -configure:7540: result: no -configure:7540: WARNING: cairo/cairo.h: accepted by the compiler, rejected by the preprocessor! -configure:7540: WARNING: cairo/cairo.h: proceeding with the compiler's result -configure:7540: checking for cairo/cairo.h -configure:7540: result: yes -configure:7558: checking for cairo_user_to_device in -lcairo -configure:7583: gcc -o conftest -g -lm conftest.c -lcairo -lGLU -lGL >&5 -configure:7583: $? = 0 -configure:7592: result: yes -configure:8371: creating ./config.status +configure:5034: result: no +configure:5034: checking for param.h +configure:5034: result: no +configure:5047: checking paths.h usability +configure:5047: gcc -c -g conftest.c >&5 +configure:5047: $? = 0 +configure:5047: result: yes +configure:5047: checking paths.h presence +configure:5047: gcc -E conftest.c +configure:5047: $? = 0 +configure:5047: result: yes +configure:5047: checking for paths.h +configure:5047: result: yes +configure:5058: checking for va_copy +configure:5076: gcc -o conftest -g conftest.c >&5 +configure:5076: $? = 0 +configure:5085: result: yes +configure:5093: checking for __va_copy +configure:5111: gcc -o conftest -g conftest.c >&5 +configure:5111: $? = 0 +configure:5120: result: yes +configure:5335: checking for gcore +configure:5353: found /bin/gcore +configure:5366: result: /bin/gcore +configure:5378: checking for csh +configure:5396: found /bin/csh +configure:5409: result: /bin/csh +configure:5423: checking for X +configure:5562: gcc -o conftest -g conftest.c -lX11 >&5 +configure:5562: $? = 0 +configure:5612: result: libraries , headers +configure:5711: gcc -o conftest -g conftest.c -lX11 >&5 +configure:5711: $? = 0 +configure:5809: checking for gethostbyname +configure:5809: gcc -o conftest -g conftest.c >&5 +configure:5809: $? = 0 +configure:5809: result: yes +configure:5906: checking for connect +configure:5906: gcc -o conftest -g conftest.c >&5 +configure:5906: $? = 0 +configure:5906: result: yes +configure:5955: checking for remove +configure:5955: gcc -o conftest -g conftest.c >&5 +configure:5955: $? = 0 +configure:5955: result: yes +configure:6004: checking for shmat +configure:6004: gcc -o conftest -g conftest.c >&5 +configure:6004: $? = 0 +configure:6004: result: yes +configure:6062: checking for IceConnectionNumber in -lICE +configure:6087: gcc -o conftest -g conftest.c -lICE >&5 +configure:6087: $? = 0 +configure:6096: result: yes +configure:6132: checking for XOpenDevice in -lXi +configure:6157: gcc -o conftest -g conftest.c -lXi >&5 +configure:6157: $? = 0 +configure:6166: result: yes +configure:6172: checking for XmuInternAtom in -lXmu +configure:6197: gcc -o conftest -g conftest.c -lXmu >&5 +configure:6197: $? = 0 +configure:6206: result: yes +configure:6212: checking for XextFindDisplay in -lXext +configure:6237: gcc -o conftest -g conftest.c -lXext >&5 +configure:6237: $? = 0 +configure:6246: result: yes +configure:6326: checking for tclConfig.sh +configure:6400: result: /usr/lib64/tclConfig.sh +configure:6416: checking for tkConfig.sh +configure:6489: result: /usr/lib64/tkConfig.sh +configure:6623: checking for wish executable +configure:6651: result: /usr/bin/wish +configure:6657: checking for tclsh executable +configure:6683: result: /usr/bin/tclsh +configure:7388: checking GL/gl.h usability +configure:7388: gcc -c -g conftest.c >&5 +configure:7388: $? = 0 +configure:7388: result: yes +configure:7388: checking GL/gl.h presence +configure:7388: gcc -E conftest.c +configure:7388: $? = 0 +configure:7388: result: yes +configure:7388: checking for GL/gl.h +configure:7388: result: yes +configure:7406: checking for glXCreateContext in -lGL +configure:7431: gcc -o conftest -g -lm conftest.c -lGL >&5 +configure:7431: $? = 0 +configure:7440: result: yes +configure:7456: checking for gluNewTess in -lGLU +configure:7481: gcc -o conftest -g -lm conftest.c -lGLU -lGL >&5 +configure:7481: $? = 0 +configure:7490: result: yes +configure:7541: checking cairo/cairo.h usability +configure:7541: gcc -c -g conftest.c >&5 +configure:7541: $? = 0 +configure:7541: result: yes +configure:7541: checking cairo/cairo.h presence +configure:7541: gcc -E conftest.c +configure:7541: $? = 0 +configure:7541: result: yes +configure:7541: checking for cairo/cairo.h +configure:7541: result: yes +configure:7559: checking for cairo_user_to_device in -lcairo +configure:7584: gcc -o conftest -g -lm conftest.c -lcairo -lGLU -lGL >&5 +configure:7584: $? = 0 +configure:7593: result: yes +configure:8373: creating ./config.status ## ---------------------- ## ## Running config.status. ## @@ -856,8 +651,8 @@ generated by GNU Autoconf 2.69. Invocation command line was on stravinsky -config.status:797: creating defs.mak -config.status:900: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting +config.status:798: creating defs.mak +config.status:901: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting ## ---------------- ## ## Cache variables. ## @@ -911,7 +706,7 @@ ac_cv_header_limits_h=yes ac_cv_header_memory_h=yes ac_cv_header_param_h=no ac_cv_header_paths_h=yes -ac_cv_header_stdc=no +ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes @@ -959,12 +754,12 @@ ac_cv_target=x86_64-unknown-linux-gnu ALL_TARGET='tcl' CC='gcc' CFLAGS='-g -m64 -fPIC' -CPP='/scripts/preproc.py' +CPP='gcc -E' CPPFLAGS='' CSH='/bin/csh' CXX='g++' CXXFLAGS='-g -O2' -DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1' +DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1' DEPEND_FLAG='-MM' ECHO_C='' ECHO_N='printf' @@ -990,6 +785,7 @@ LTLIBOBJS='' M4='/bin/m4' MAGIC_REVISION='14' MAGIC_VERSION='8.2' +MCPP='${MAGICDIR}/scripts/preproc.py' OA='' OA_LIBS='' OBJEXT='o' @@ -1088,6 +884,7 @@ unused=' readline lisp' #define PACKAGE_URL "" #define MAGIC_VERSION "8.2" #define MAGIC_REVISION "14" +#define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 @@ -1101,6 +898,7 @@ unused=' readline lisp' #define SIZEOF_UNSIGNED_INT 4 #define SIZEOF_UNSIGNED_LONG 8 #define SIZEOF_UNSIGNED_LONG_LONG 8 +#define STDC_HEADERS 1 #define HAVE_SETENV 1 #define HAVE_PUTENV 1 #define HAVE_SYS_MMAN_H 1 diff --git a/scripts/config.status b/scripts/config.status index 4b978285..d361c224 100755 --- a/scripts/config.status +++ b/scripts/config.status @@ -590,6 +590,7 @@ S["OA_LIBS"]="" S["OA"]="" S["MAGIC_REVISION"]="14" S["MAGIC_VERSION"]="8.2" +S["MCPP"]="${MAGICDIR}/scripts/preproc.py" S["LD_RUN_PATH"]="" S["SHLIB_CFLAGS"]="-Wimplicit-int -fPIC" S["DEPEND_FLAG"]="-MM" @@ -644,7 +645,7 @@ S["INSTALL_PROGRAM"]="${INSTALL}" S["ac_ct_CXX"]="g++" S["CXXFLAGS"]="-g -O2" S["CXX"]="g++" -S["CPP"]="/scripts/preproc.py" +S["CPP"]="gcc -E" S["OBJEXT"]="o" S["EXEEXT"]="" S["ac_ct_CC"]="gcc" @@ -672,11 +673,11 @@ S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DMAGIC_VERSION="\ -"\\\"8.2\\\" -DMAGIC_REVISION=\\\"14\\\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -D"\ -"HAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG"\ -"=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFI"\ -"LE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -"\ -"DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1" +"\\\"8.2\\\" -DMAGIC_REVISION=\\\"14\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHA"\ +"VE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_U"\ +"NSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE"\ +"_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -"\ +"DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="${exec_prefix}/lib" diff --git a/scripts/configure b/scripts/configure index b7e2bb24..5d75947f 100755 --- a/scripts/configure +++ b/scripts/configure @@ -628,6 +628,7 @@ OA_LIBS OA MAGIC_REVISION MAGIC_VERSION +MCPP LD_RUN_PATH SHLIB_CFLAGS DEPEND_FLAG @@ -4124,11 +4125,11 @@ if test "x${PYTHON3}" == "x"; then if test "$CPP" = "$CC -E" ; then - CPP="$CPP -x c" + MCPP="$CPP -x c" fi else - CPP="${MAGICDIR}/scripts/preproc.py" + MCPP="\${MAGICDIR}/scripts/preproc.py" fi @@ -8213,6 +8214,7 @@ fi + ac_config_files="$ac_config_files defs.mak" diff --git a/scripts/configure.in b/scripts/configure.in index e0727e4b..89b48725 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -46,11 +46,11 @@ if test "x${PYTHON3}" == "x"; then dnl directory. if test "$CPP" = "$CC -E" ; then - CPP="$CPP -x c" + MCPP="$CPP -x c" fi else - CPP="${MAGICDIR}/scripts/preproc.py" + MCPP="\${MAGICDIR}/scripts/preproc.py" fi dnl check if the linker is a GNU linker @@ -1751,6 +1751,7 @@ AC_SUBST(CFLAGS) AC_SUBST(DEPEND_FLAG) AC_SUBST(SHLIB_CFLAGS) AC_SUBST(LD_RUN_PATH) +AC_SUBST(MCPP) AC_SUBST(MAGIC_VERSION) AC_SUBST(MAGIC_REVISION) diff --git a/scripts/defs.mak b/scripts/defs.mak index 6cc27d01..e6e9fb31 100644 --- a/scripts/defs.mak +++ b/scripts/defs.mak @@ -51,6 +51,7 @@ ARFLAGS = crv LINK = ld -r LD = /bin/ld M4 = /bin/m4 +MCPP = ${MAGICDIR}/scripts/preproc.py RANLIB = ranlib SHDLIB_EXT = .so LDDL_FLAGS = ${LDFLAGS} -shared -Wl,-soname,$@ -Wl,--version-script=${MAGICDIR}/magic/symbol.map @@ -62,11 +63,11 @@ MAGIC_VERSION = 8.2 MAGIC_REVISION = 14 CC = gcc -CPP = /scripts/preproc.py +CPP = gcc -E CXX = g++ CPPFLAGS = -I. -I${MAGICDIR} -DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/bin/gcore\" +DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/bin/gcore\" DFLAGS += -DSHDLIB_EXT=\".so\" CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC diff --git a/scripts/defs.mak.in b/scripts/defs.mak.in index e949f638..d889e176 100755 --- a/scripts/defs.mak.in +++ b/scripts/defs.mak.in @@ -51,6 +51,7 @@ ARFLAGS = crv LINK = ld -r LD = @LD@ M4 = @M4@ +MCPP = @MCPP@ RANLIB = @RANLIB@ SHDLIB_EXT = @SHDLIB_EXT@ LDDL_FLAGS = ${LDFLAGS} @LDDL_FLAGS@