On my machine under Mandriva Linux 2007, gl headers are in /usr/include/GL (in the past, there were in /usr/X11R6/include) but ./configure doesn't find them and displays an error message saying that gl headers are not available.
Hi, thanks for the report. Sadly I can't reproduce it. I'm using Debian Etch, on which the GL headers are also in /usr/include/GL, and ./configure finds them correctly.
Perhaps as a first step if you could paste or attach the contents of config.log (created in the same directory as configure) it might tell me something useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
configure:1817: checking build system type
configure:1835: result: i686-pc-linux-gnu
configure:1857: checking host system type
configure:1872: result: i686-pc-linux-gnu
configure:1894: checking target system type
configure:1909: result: i686-pc-linux-gnu
configure:1953: checking for a BSD-compatible install
configure:2009: result: /usr/bin/install -c
configure:2020: checking whether build environment is sane
configure:2063: result: yes
configure:2091: checking for a thread-safe mkdir -p
configure:2130: result: /bin/mkdir -p
configure:2143: checking for gawk
configure:2159: found /usr/bin/gawk
configure:2170: result: gawk
configure:2181: checking whether make sets $(MAKE)
configure:2202: result: yes
configure:2393: checking checking whether to use x86 asm versions of some functions
configure:2412: result: yes
configure:2486: checking for gcc
configure:2502: found /usr/bin/gcc
configure:2513: result: gcc
configure:2751: checking for C compiler version
configure:2758: gcc --version >&5
gcc-4.1.2 (GCC) 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
Copyright (C) 2006 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:2761: $? = 0
configure:2768: gcc -v >&5
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
configure:2771: $? = 0
configure:2778: gcc -V >&5
gcc-4.1.2: '-V' option must have argument
configure:2781: $? = 1
configure:2804: checking for C compiler default output file name
configure:2831: gcc conftest.c >&5
configure:2834: $? = 0
configure:2872: result: a.out
configure:2889: checking whether the C compiler works
configure:2899: ./a.out
configure:2902: $? = 0
configure:2919: result: yes
configure:2926: checking whether we are cross compiling
configure:2928: result: no
configure:2931: checking for suffix of executables
configure:2938: gcc -o conftest conftest.c >&5
configure:2941: $? = 0
configure:2965: result:
configure:2971: checking for suffix of object files
configure:2997: gcc -c conftest.c >&5
configure:3000: $? = 0
configure:3023: result: o
configure:3027: checking whether we are using the GNU C compiler
configure:3056: gcc -c conftest.c >&5
configure:3062: $? = 0
configure:3079: result: yes
configure:3084: checking whether gcc accepts -g
configure:3114: gcc -c -g conftest.c >&5
configure:3120: $? = 0
configure:3219: result: yes
configure:3236: checking for gcc option to accept ISO C89
configure:3310: gcc -c -g -O2 conftest.c >&5
configure:3316: $? = 0
configure:3339: result: none needed
configure:3368: checking for style of include used by make
configure:3396: result: GNU
configure:3421: checking dependency style of gcc
configure:3512: result: gcc3
configure:3527: checking whether ln -s works
configure:3531: result: yes
configure:3581: checking for ranlib
configure:3597: found /usr/bin/ranlib
configure:3608: result: ranlib
configure:3657: checking whether compiler supports -Wall
configure:3683: gcc -c -g -O2 -Wall conftest.c >&5
configure:3689: $? = 0
configure:3696: result: yes
configure:3724: checking whether compiler supports -Wno-unused
configure:3750: gcc -c -g -O2 -Wall -Wno-unused conftest.c >&5
configure:3756: $? = 0
configure:3763: result: yes
configure:3724: checking whether compiler supports -Wno-switch
configure:3750: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch conftest.c >&5
configure:3756: $? = 0
configure:3763: result: yes
configure:3865: checking if malloc debugging is wanted
configure:3885: result: no
configure:3899: checking whether compiler supports -march=native
configure:3926: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=native conftest.c >&5
conftest.c:1: error: bad value (native) for -march= switch
conftest.c:1: error: bad value (native) for -mtune= switch
configure:3932: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| void f() {};
|
| ;
| return 0;
| }
configure:3946: result: no
configure:3962: checking whether compiler supports -march=i686
configure:3988: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 conftest.c >&5
configure:3994: $? = 0
configure:4001: result: yes
configure:4029: checking whether compiler supports -Wextra
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wno-missing-field-initializers
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Winline
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wwrite-strings
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wundef
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wbad-function-cast
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wcast-align
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wcast-qual
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wdeclaration-after-statement
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -ffast-math
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -O2
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -fomit-frame-pointer
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4085: checking for an ANSI C-conforming const
configure:4160: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c: In function 'main':
conftest.c:36: warning: cast discards qualifiers from pointer target type
conftest.c:42: warning: 't' is used uninitialized in this function
conftest.c:58: warning: 'b' is used uninitialized in this function
conftest.c:64: warning: 'cs[0]' is used uninitialized in this function
configure:4166: $? = 0
configure:4181: result: yes
configure:4191: checking for inline
configure:4217: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4223: $? = 0
configure:4241: result: inline
configure:4266: checking how to run the C preprocessor
configure:4306: gcc -E conftest.c
configure:4312: $? = 0
configure:4343: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4349: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4382: result: gcc -E
configure:4411: gcc -E conftest.c
configure:4417: $? = 0
configure:4448: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4454: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4492: checking for grep that handles long lines and -e
configure:4566: result: /bin/grep
configure:4571: checking for egrep
configure:4649: result: /bin/grep -E
configure:4654: checking for ANSI C header files
configure:4684: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4690: $? = 0
configure:4789: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4792: $? = 0
configure:4798: ./conftest
configure:4801: $? = 0
configure:4818: result: yes
configure:4842: checking for sys/types.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for sys/stat.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for stdlib.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for string.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for memory.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for strings.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for inttypes.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for stdint.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for unistd.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4897: checking whether byte ordering is bigendian
configure:4930: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4936: $? = 0
configure:4968: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c: In function 'main':
conftest.c:30: error: 'not' undeclared (first use in this function)
conftest.c:30: error: (Each undeclared identifier is reported only once
conftest.c:30: error: for each function it appears in.)
conftest.c:30: error: expected ';' before 'big'
configure:4974: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:5114: result: no
configure:5135: checking for uid_t in sys/types.h
configure:5158: result: yes
configure:5173: checking for size_t
configure:5203: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5209: $? = 0
configure:5224: result: yes
configure:5236: checking whether sys_siglist is declared
configure:5271: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5277: $? = 0
configure:5292: result: yes
configure:5311: checking for sys/wait.h that is POSIX.1 compatible
configure:5347: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5353: $? = 0
configure:5368: result: yes
configure:5385: checking for unistd.h
configure:5391: result: yes
configure:5395: checking asm/byteorder.h usability
configure:5412: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5418: $? = 0
configure:5432: result: yes
configure:5436: checking asm/byteorder.h presence
configure:5451: gcc -E conftest.c
configure:5457: $? = 0
configure:5471: result: yes
configure:5499: checking for asm/byteorder.h
configure:5507: result: yes
configure:5395: checking sched.h usability
configure:5412: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5418: $? = 0
configure:5432: result: yes
configure:5436: checking sched.h presence
configure:5451: gcc -E conftest.c
configure:5457: $? = 0
configure:5471: result: yes
configure:5499: checking for sched.h
configure:5507: result: yes
configure:5521: checking for stricmp
configure:5577: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccuy8xDY.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:62: undefined reference to `stricmp'
collect2: ld returned 1 exit status
configure:5583: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| /* end confdefs.h. */
| /* Define stricmp to an innocuous variant, in case <limits.h> declares stricmp.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define stricmp innocuous_stricmp
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char stricmp (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef stricmp
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char stricmp ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_stricmp || defined __stub___stricmp
| choke me
| #endif
|
| int
| main ()
| {
| return stricmp ();
| ;
| return 0;
| }
configure:5600: result: no
configure:5612: checking for strnicmp
configure:5668: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccHEzCIs.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:63: undefined reference to `strnicmp'
collect2: ld returned 1 exit status
configure:5674: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| /* end confdefs.h. */
| /* Define strnicmp to an innocuous variant, in case <limits.h> declares strnicmp.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strnicmp innocuous_strnicmp
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strnicmp (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strnicmp
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strnicmp ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_strnicmp || defined __stub___strnicmp
| choke me
| #endif
|
| int
| main ()
| {
| return strnicmp ();
| ;
| return 0;
| }
configure:5691: result: no
configure:5703: checking for min
configure:5759: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccG7TjZr.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:64: undefined reference to `min'
collect2: ld returned 1 exit status
configure:5765: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| /* end confdefs.h. */
| /* Define min to an innocuous variant, in case <limits.h> declares min.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define min innocuous_min
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char min (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef min
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char min ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_min || defined __stub___min
| choke me
| #endif
|
| int
| main ()
| {
| return min ();
| ;
| return 0;
| }
configure:5782: result: no
configure:5792: checking for max
configure:5848: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/cczB7I0Z.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:64: undefined reference to `max'
collect2: ld returned 1 exit status
configure:5854: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| /* end confdefs.h. */
| /* Define max to an innocuous variant, in case <limits.h> declares max.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define max innocuous_max
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char max (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef max
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char max ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_max || defined __stub___max
| choke me
| #endif
|
| int
| main ()
| {
| return max ();
| ;
| return 0;
| }
configure:5871: result: no
configure:5893: checking for getopt
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_aton
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_pton
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_ntop
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for snprintf
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:57: warning: conflicting types for built-in function 'snprintf'
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for vsnprintf
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:58: warning: conflicting types for built-in function 'vsnprintf'
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for mmap
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for usleep
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for sched_setaffinity
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5985: checking for pow in -lm
configure:6020: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c -lm >&5
conftest.c:46: warning: conflicting types for built-in function 'pow'
configure:6026: $? = 0
configure:6044: result: yes
configure:6081: checking for OpenGL support
configure:6108: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:41:24: error: GL/gl.h: No such file or directory
configure:6114: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| #define HAVE_GETOPT 1
| #define HAVE_INET_ATON 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_MMAP 1
| #define HAVE_USLEEP 1
| #define HAVE_SCHED_SETAFFINITY 1
| #define HAVE_LIBM 1
| /* end confdefs.h. */
|
| #include <GL/gl.h>
|
| int
| main ()
| {
|
|
| ;
| return 0;
| }
configure:6130: result: no
configure:6150: error: You must have the relevant OpenGL development libraries & headers installed to compile with OpenGL support
This concerns PrBoom 2.5.0.
Hi, thanks for the report. Sadly I can't reproduce it. I'm using Debian Etch, on which the GL headers are also in /usr/include/GL, and ./configure finds them correctly.
Perhaps as a first step if you could paste or attach the contents of config.log (created in the same directory as configure) it might tell me something useful.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by prboom configure 2.5.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = julien
uname -m = i686
uname -r = 2.6.17-19mdv
uname -s = Linux
uname -v = #1 SMP Tue Jun 3 15:34:25 EDT 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin/
PATH: /usr/games
PATH: /usr/java/jdk1.6.0_07/bin
PATH: /home/julien/Documents/programmation/java/apache-ant-1.7.1//bin/
PATH: /usr/lib/qt3//bin
PATH: /home/julien/bin
PATH: /usr/lib/qt3//bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1817: checking build system type
configure:1835: result: i686-pc-linux-gnu
configure:1857: checking host system type
configure:1872: result: i686-pc-linux-gnu
configure:1894: checking target system type
configure:1909: result: i686-pc-linux-gnu
configure:1953: checking for a BSD-compatible install
configure:2009: result: /usr/bin/install -c
configure:2020: checking whether build environment is sane
configure:2063: result: yes
configure:2091: checking for a thread-safe mkdir -p
configure:2130: result: /bin/mkdir -p
configure:2143: checking for gawk
configure:2159: found /usr/bin/gawk
configure:2170: result: gawk
configure:2181: checking whether make sets $(MAKE)
configure:2202: result: yes
configure:2393: checking checking whether to use x86 asm versions of some functions
configure:2412: result: yes
configure:2486: checking for gcc
configure:2502: found /usr/bin/gcc
configure:2513: result: gcc
configure:2751: checking for C compiler version
configure:2758: gcc --version >&5
gcc-4.1.2 (GCC) 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
Copyright (C) 2006 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:2761: $? = 0
configure:2768: gcc -v >&5
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
configure:2771: $? = 0
configure:2778: gcc -V >&5
gcc-4.1.2: '-V' option must have argument
configure:2781: $? = 1
configure:2804: checking for C compiler default output file name
configure:2831: gcc conftest.c >&5
configure:2834: $? = 0
configure:2872: result: a.out
configure:2889: checking whether the C compiler works
configure:2899: ./a.out
configure:2902: $? = 0
configure:2919: result: yes
configure:2926: checking whether we are cross compiling
configure:2928: result: no
configure:2931: checking for suffix of executables
configure:2938: gcc -o conftest conftest.c >&5
configure:2941: $? = 0
configure:2965: result:
configure:2971: checking for suffix of object files
configure:2997: gcc -c conftest.c >&5
configure:3000: $? = 0
configure:3023: result: o
configure:3027: checking whether we are using the GNU C compiler
configure:3056: gcc -c conftest.c >&5
configure:3062: $? = 0
configure:3079: result: yes
configure:3084: checking whether gcc accepts -g
configure:3114: gcc -c -g conftest.c >&5
configure:3120: $? = 0
configure:3219: result: yes
configure:3236: checking for gcc option to accept ISO C89
configure:3310: gcc -c -g -O2 conftest.c >&5
configure:3316: $? = 0
configure:3339: result: none needed
configure:3368: checking for style of include used by make
configure:3396: result: GNU
configure:3421: checking dependency style of gcc
configure:3512: result: gcc3
configure:3527: checking whether ln -s works
configure:3531: result: yes
configure:3581: checking for ranlib
configure:3597: found /usr/bin/ranlib
configure:3608: result: ranlib
configure:3657: checking whether compiler supports -Wall
configure:3683: gcc -c -g -O2 -Wall conftest.c >&5
configure:3689: $? = 0
configure:3696: result: yes
configure:3724: checking whether compiler supports -Wno-unused
configure:3750: gcc -c -g -O2 -Wall -Wno-unused conftest.c >&5
configure:3756: $? = 0
configure:3763: result: yes
configure:3724: checking whether compiler supports -Wno-switch
configure:3750: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch conftest.c >&5
configure:3756: $? = 0
configure:3763: result: yes
configure:3865: checking if malloc debugging is wanted
configure:3885: result: no
configure:3899: checking whether compiler supports -march=native
configure:3926: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=native conftest.c >&5
conftest.c:1: error: bad value (native) for -march= switch
conftest.c:1: error: bad value (native) for -mtune= switch
configure:3932: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| void f() {};
|
| ;
| return 0;
| }
configure:3946: result: no
configure:3962: checking whether compiler supports -march=i686
configure:3988: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 conftest.c >&5
configure:3994: $? = 0
configure:4001: result: yes
configure:4029: checking whether compiler supports -Wextra
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wno-missing-field-initializers
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Winline
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wwrite-strings
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wundef
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wbad-function-cast
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wcast-align
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wcast-qual
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -Wdeclaration-after-statement
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -ffast-math
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -O2
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4029: checking whether compiler supports -fomit-frame-pointer
configure:4055: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer conftest.c >&5
configure:4061: $? = 0
configure:4068: result: yes
configure:4085: checking for an ANSI C-conforming const
configure:4160: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c: In function 'main':
conftest.c:36: warning: cast discards qualifiers from pointer target type
conftest.c:42: warning: 't' is used uninitialized in this function
conftest.c:58: warning: 'b' is used uninitialized in this function
conftest.c:64: warning: 'cs[0]' is used uninitialized in this function
configure:4166: $? = 0
configure:4181: result: yes
configure:4191: checking for inline
configure:4217: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4223: $? = 0
configure:4241: result: inline
configure:4266: checking how to run the C preprocessor
configure:4306: gcc -E conftest.c
configure:4312: $? = 0
configure:4343: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4349: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4382: result: gcc -E
configure:4411: gcc -E conftest.c
configure:4417: $? = 0
configure:4448: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4454: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4492: checking for grep that handles long lines and -e
configure:4566: result: /bin/grep
configure:4571: checking for egrep
configure:4649: result: /bin/grep -E
configure:4654: checking for ANSI C header files
configure:4684: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4690: $? = 0
configure:4789: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4792: $? = 0
configure:4798: ./conftest
configure:4801: $? = 0
configure:4818: result: yes
configure:4842: checking for sys/types.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for sys/stat.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for stdlib.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for string.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for memory.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for strings.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for inttypes.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for stdint.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4842: checking for unistd.h
configure:4863: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4869: $? = 0
configure:4885: result: yes
configure:4897: checking whether byte ordering is bigendian
configure:4930: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:4936: $? = 0
configure:4968: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c: In function 'main':
conftest.c:30: error: 'not' undeclared (first use in this function)
conftest.c:30: error: (Each undeclared identifier is reported only once
conftest.c:30: error: for each function it appears in.)
conftest.c:30: error: expected ';' before 'big'
configure:4974: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:5114: result: no
configure:5135: checking for uid_t in sys/types.h
configure:5158: result: yes
configure:5173: checking for size_t
configure:5203: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5209: $? = 0
configure:5224: result: yes
configure:5236: checking whether sys_siglist is declared
configure:5271: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5277: $? = 0
configure:5292: result: yes
configure:5311: checking for sys/wait.h that is POSIX.1 compatible
configure:5347: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5353: $? = 0
configure:5368: result: yes
configure:5385: checking for unistd.h
configure:5391: result: yes
configure:5395: checking asm/byteorder.h usability
configure:5412: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5418: $? = 0
configure:5432: result: yes
configure:5436: checking asm/byteorder.h presence
configure:5451: gcc -E conftest.c
configure:5457: $? = 0
configure:5471: result: yes
configure:5499: checking for asm/byteorder.h
configure:5507: result: yes
configure:5395: checking sched.h usability
configure:5412: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5418: $? = 0
configure:5432: result: yes
configure:5436: checking sched.h presence
configure:5451: gcc -E conftest.c
configure:5457: $? = 0
configure:5471: result: yes
configure:5499: checking for sched.h
configure:5507: result: yes
configure:5521: checking for stricmp
configure:5577: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccuy8xDY.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:62: undefined reference to `stricmp'
collect2: ld returned 1 exit status
configure:5583: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| /* end confdefs.h. */
| /* Define stricmp to an innocuous variant, in case <limits.h> declares stricmp.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define stricmp innocuous_stricmp
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char stricmp (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef stricmp
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char stricmp ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_stricmp || defined __stub___stricmp
| choke me
| #endif
|
| int
| main ()
| {
| return stricmp ();
| ;
| return 0;
| }
configure:5600: result: no
configure:5612: checking for strnicmp
configure:5668: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccHEzCIs.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:63: undefined reference to `strnicmp'
collect2: ld returned 1 exit status
configure:5674: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| /* end confdefs.h. */
| /* Define strnicmp to an innocuous variant, in case <limits.h> declares strnicmp.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strnicmp innocuous_strnicmp
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strnicmp (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strnicmp
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strnicmp ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_strnicmp || defined __stub___strnicmp
| choke me
| #endif
|
| int
| main ()
| {
| return strnicmp ();
| ;
| return 0;
| }
configure:5691: result: no
configure:5703: checking for min
configure:5759: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/ccG7TjZr.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:64: undefined reference to `min'
collect2: ld returned 1 exit status
configure:5765: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| /* end confdefs.h. */
| /* Define min to an innocuous variant, in case <limits.h> declares min.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define min innocuous_min
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char min (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef min
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char min ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_min || defined __stub___min
| choke me
| #endif
|
| int
| main ()
| {
| return min ();
| ;
| return 0;
| }
configure:5782: result: no
configure:5792: checking for max
configure:5848: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
/home/julien/tmp/cczB7I0Z.o: In function `main':
/home/julien/Desktop/prboom-2.5.0/conftest.c:64: undefined reference to `max'
collect2: ld returned 1 exit status
configure:5854: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| /* end confdefs.h. */
| /* Define max to an innocuous variant, in case <limits.h> declares max.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define max innocuous_max
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char max (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef max
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char max ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_max || defined __stub___max
| choke me
| #endif
|
| int
| main ()
| {
| return max ();
| ;
| return 0;
| }
configure:5871: result: no
configure:5893: checking for getopt
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_aton
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_pton
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for inet_ntop
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for snprintf
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:57: warning: conflicting types for built-in function 'snprintf'
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for vsnprintf
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:58: warning: conflicting types for built-in function 'vsnprintf'
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for mmap
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for usleep
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5893: checking for sched_setaffinity
configure:5949: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
configure:5955: $? = 0
configure:5973: result: yes
configure:5985: checking for pow in -lm
configure:6020: gcc -o conftest -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c -lm >&5
conftest.c:46: warning: conflicting types for built-in function 'pow'
configure:6026: $? = 0
configure:6044: result: yes
configure:6081: checking for OpenGL support
configure:6108: gcc -c -g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src conftest.c >&5
conftest.c:41:24: error: GL/gl.h: No such file or directory
configure:6114: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "prboom"
| #define PACKAGE_TARNAME "prboom"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "prboom 2.5.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "prboom"
| #define VERSION "2.5.0"
| #define I386_ASM 1
| #define DOOMWADDIR "/usr/local/share/games/doom"
| #define PACKEDATTR __attribute__((packed))
| #define STDC_HEADERS 1
| #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 HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASM_BYTEORDER_H 1
| #define HAVE_SCHED_H 1
| #define stricmp strcasecmp
| #define strnicmp strncasecmp
| #define HAVE_GETOPT 1
| #define HAVE_INET_ATON 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_MMAP 1
| #define HAVE_USLEEP 1
| #define HAVE_SCHED_SETAFFINITY 1
| #define HAVE_LIBM 1
| /* end confdefs.h. */
|
| #include <GL/gl.h>
|
| int
| main ()
| {
|
|
| ;
| return 0;
| }
configure:6130: result: no
configure:6150: error: You must have the relevant OpenGL development libraries & headers installed to compile with OpenGL support
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_getopt=yes
ac_cv_func_inet_aton=yes
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_max=no
ac_cv_func_min=no
ac_cv_func_mmap=yes
ac_cv_func_sched_setaffinity=yes
ac_cv_func_snprintf=yes
ac_cv_func_stricmp=no
ac_cv_func_strnicmp=no
ac_cv_func_usleep=yes
ac_cv_func_vsnprintf=yes
ac_cv_have_decl_sys_siglist=yes
ac_cv_header_asm_byteorder_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_sched_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_m_pow=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_type_size_t=yes
ac_cv_type_uid_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run tar'
AUTOCONF='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run autoconf'
AUTOHEADER='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run autoheader'
AUTOMAKE='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run automake-1.10'
AWK='gawk'
BUILD_GL_FALSE=''
BUILD_GL_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -Wall -Wno-unused -Wno-switch -march=i686 -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I$(top_srcdir)/src'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DOOMWADDIR='/usr/local/share/games/doom'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GL_LIBS=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/julien/Desktop/prboom-2.5.0/autotools/missing --run makeinfo'
MATH_LIB=''
MIXER_CFLAGS=''
MIXER_LIBS=''
NET_CFLAGS=''
NET_LIBS=''
OBJEXT='o'
PACKAGE='prboom'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='prboom'
PACKAGE_STRING='prboom 2.5.0'
PACKAGE_TARNAME='prboom'
PACKAGE_VERSION='2.5.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='2.5.0'
WAD_MMAP_FALSE=''
WAD_MMAP_TRUE=''
ac_ct_CC='gcc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/julien/Desktop/prboom-2.5.0/autotools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "prboom"
#define PACKAGE_TARNAME "prboom"
#define PACKAGE_VERSION "2.5.0"
#define PACKAGE_STRING "prboom 2.5.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "prboom"
#define VERSION "2.5.0"
#define I386_ASM 1
#define DOOMWADDIR "/usr/local/share/games/doom"
#define PACKEDATTR __attribute__((packed))
#define STDC_HEADERS 1
#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 HAVE_DECL_SYS_SIGLIST 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ASM_BYTEORDER_H 1
#define HAVE_SCHED_H 1
#define stricmp strcasecmp
#define strnicmp strncasecmp
#define HAVE_GETOPT 1
#define HAVE_INET_ATON 1
#define HAVE_INET_PTON 1
#define HAVE_INET_NTOP 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_MMAP 1
#define HAVE_USLEEP 1
#define HAVE_SCHED_SETAFFINITY 1
#define HAVE_LIBM 1
configure: exit 1