|
@@ -1,8 +1,6 @@
|
|
|
#! /bin/sh
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
-# Generated by GNU Autoconf 2.69 for sdlvisualtest 0.01.
|
|
|
-#
|
|
|
-# Report bugs to <apoorvupreti@gmail.com>.
|
|
|
+# Generated by GNU Autoconf 2.69.
|
|
|
#
|
|
|
#
|
|
|
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
@@ -265,11 +263,10 @@ fi
|
|
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
|
else
|
|
|
- $as_echo "$0: Please tell bug-autoconf@gnu.org and
|
|
|
-$0: apoorvupreti@gmail.com about your system, including any
|
|
|
-$0: error possibly output before this message. Then install
|
|
|
-$0: a modern shell, or manually run the script under such a
|
|
|
-$0: shell if you do have one."
|
|
|
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
|
+$0: including any error possibly output before this
|
|
|
+$0: message. Then install a modern shell, or manually run
|
|
|
+$0: the script under such a shell if you do have one."
|
|
|
fi
|
|
|
exit 1
|
|
|
fi
|
|
@@ -577,34 +574,25 @@ MFLAGS=
|
|
|
MAKEFLAGS=
|
|
|
|
|
|
# Identity of this package.
|
|
|
-PACKAGE_NAME='sdlvisualtest'
|
|
|
-PACKAGE_TARNAME='sdlvisualtest'
|
|
|
-PACKAGE_VERSION='0.01'
|
|
|
-PACKAGE_STRING='sdlvisualtest 0.01'
|
|
|
-PACKAGE_BUGREPORT='apoorvupreti@gmail.com'
|
|
|
-PACKAGE_URL=''
|
|
|
-
|
|
|
+PACKAGE_NAME=
|
|
|
+PACKAGE_TARNAME=
|
|
|
+PACKAGE_VERSION=
|
|
|
+PACKAGE_STRING=
|
|
|
+PACKAGE_BUGREPORT=
|
|
|
+PACKAGE_URL=
|
|
|
+
|
|
|
+ac_unique_file="unittest/testquit.c"
|
|
|
ac_subst_vars='LTLIBOBJS
|
|
|
LIBOBJS
|
|
|
LIBUNWIND_LIBS
|
|
|
LIBUNWIND_CFLAGS
|
|
|
-SDL_TTF_LIB
|
|
|
-GLLIB
|
|
|
-CPP
|
|
|
-XMKMF
|
|
|
SDL2_CONFIG
|
|
|
SDL_LIBS
|
|
|
SDL_CFLAGS
|
|
|
PKG_CONFIG_LIBDIR
|
|
|
PKG_CONFIG_PATH
|
|
|
PKG_CONFIG
|
|
|
-ISUNIX
|
|
|
-ISWINDOWS
|
|
|
-ISMACOSX
|
|
|
-EXTRALIB
|
|
|
-MATHLIB
|
|
|
EXE
|
|
|
-OSMESA_CONFIG
|
|
|
OBJEXT
|
|
|
EXEEXT
|
|
|
ac_ct_CC
|
|
@@ -664,7 +652,6 @@ enable_option_checking
|
|
|
with_sdl_prefix
|
|
|
with_sdl_exec_prefix
|
|
|
enable_sdltest
|
|
|
-with_x
|
|
|
'
|
|
|
ac_precious_vars='build_alias
|
|
|
host_alias
|
|
@@ -679,8 +666,6 @@ PKG_CONFIG_PATH
|
|
|
PKG_CONFIG_LIBDIR
|
|
|
SDL_CFLAGS
|
|
|
SDL_LIBS
|
|
|
-XMKMF
|
|
|
-CPP
|
|
|
LIBUNWIND_CFLAGS
|
|
|
LIBUNWIND_LIBS'
|
|
|
|
|
@@ -723,7 +708,7 @@ sharedstatedir='${prefix}/com'
|
|
|
localstatedir='${prefix}/var'
|
|
|
includedir='${prefix}/include'
|
|
|
oldincludedir='/usr/include'
|
|
|
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
|
|
+docdir='${datarootdir}/doc/${PACKAGE}'
|
|
|
infodir='${datarootdir}/info'
|
|
|
htmldir='${docdir}'
|
|
|
dvidir='${docdir}'
|
|
@@ -1223,7 +1208,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
cat <<_ACEOF
|
|
|
-\`configure' configures sdlvisualtest 0.01 to adapt to many kinds of systems.
|
|
|
+\`configure' configures this package to adapt to many kinds of systems.
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
@@ -1271,7 +1256,7 @@ Fine tuning of the installation directories:
|
|
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
|
- --docdir=DIR documentation root [DATAROOTDIR/doc/sdlvisualtest]
|
|
|
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
|
--htmldir=DIR html documentation [DOCDIR]
|
|
|
--dvidir=DIR dvi documentation [DOCDIR]
|
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
@@ -1280,10 +1265,6 @@ _ACEOF
|
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
-X features:
|
|
|
- --x-includes=DIR X include files are in DIR
|
|
|
- --x-libraries=DIR X library files are in DIR
|
|
|
-
|
|
|
System types:
|
|
|
--build=BUILD configure for building on BUILD [guessed]
|
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|
@@ -1291,9 +1272,7 @@ _ACEOF
|
|
|
fi
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
- case $ac_init_help in
|
|
|
- short | recursive ) echo "Configuration of sdlvisualtest 0.01:";;
|
|
|
- esac
|
|
|
+
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
Optional Features:
|
|
@@ -1307,7 +1286,6 @@ Optional Packages:
|
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
--with-sdl-prefix=PFX Prefix where SDL is installed (optional)
|
|
|
--with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
|
|
|
- --with-x use the X Window System
|
|
|
|
|
|
Some influential environment variables:
|
|
|
CC C compiler command
|
|
@@ -1324,8 +1302,6 @@ Some influential environment variables:
|
|
|
path overriding pkg-config's built-in search path
|
|
|
SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
|
|
|
SDL_LIBS linker flags for SDL, overriding pkg-config
|
|
|
- XMKMF Path to xmkmf, Makefile generator for X Window System
|
|
|
- CPP C preprocessor
|
|
|
LIBUNWIND_CFLAGS
|
|
|
C compiler flags for LIBUNWIND, overriding pkg-config
|
|
|
LIBUNWIND_LIBS
|
|
@@ -1334,7 +1310,7 @@ Some influential environment variables:
|
|
|
Use these variables to override the choices made by `configure' or to help
|
|
|
it to find libraries and programs with nonstandard names/locations.
|
|
|
|
|
|
-Report bugs to <apoorvupreti@gmail.com>.
|
|
|
+Report bugs to the package provider.
|
|
|
_ACEOF
|
|
|
ac_status=$?
|
|
|
fi
|
|
@@ -1397,7 +1373,7 @@ fi
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
if $ac_init_version; then
|
|
|
cat <<\_ACEOF
|
|
|
-sdlvisualtest configure 0.01
|
|
|
+configure
|
|
|
generated by GNU Autoconf 2.69
|
|
|
|
|
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
@@ -1536,48 +1512,11 @@ fi
|
|
|
as_fn_set_status $ac_retval
|
|
|
|
|
|
} # ac_fn_c_try_link
|
|
|
-
|
|
|
-# ac_fn_c_try_cpp LINENO
|
|
|
-# ----------------------
|
|
|
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
|
-ac_fn_c_try_cpp ()
|
|
|
-{
|
|
|
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
- if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
-case "(($ac_try" in
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
-esac
|
|
|
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
-$as_echo "$ac_try_echo"; } >&5
|
|
|
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
|
- ac_status=$?
|
|
|
- if test -s conftest.err; then
|
|
|
- grep -v '^ *+' conftest.err >conftest.er1
|
|
|
- cat conftest.er1 >&5
|
|
|
- mv -f conftest.er1 conftest.err
|
|
|
- fi
|
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
- test $ac_status = 0; } > conftest.i && {
|
|
|
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
- test ! -s conftest.err
|
|
|
- }; then :
|
|
|
- ac_retval=0
|
|
|
-else
|
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
-
|
|
|
- ac_retval=1
|
|
|
-fi
|
|
|
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
- as_fn_set_status $ac_retval
|
|
|
-
|
|
|
-} # ac_fn_c_try_cpp
|
|
|
cat >config.log <<_ACEOF
|
|
|
This file contains any messages produced by compilers while
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
-It was created by sdlvisualtest $as_me 0.01, which was
|
|
|
+It was created by $as_me, which was
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
$ $0 $@
|
|
@@ -1926,6 +1865,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
ac_aux_dir=
|
|
|
for ac_dir in ../build-scripts "$srcdir"/../build-scripts; do
|
|
|
if test -f "$ac_dir/install-sh"; then
|
|
@@ -2817,198 +2757,18 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
|
-$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
|
|
-if ${ac_cv_c_const+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
-#ifndef __cplusplus
|
|
|
- /* Ultrix mips cc rejects this sort of thing. */
|
|
|
- typedef int charset[2];
|
|
|
- const charset cs = { 0, 0 };
|
|
|
- /* SunOS 4.1.1 cc rejects this. */
|
|
|
- char const *const *pcpcc;
|
|
|
- char **ppc;
|
|
|
- /* NEC SVR4.0.2 mips cc rejects this. */
|
|
|
- struct point {int x, y;};
|
|
|
- static struct point const zero = {0,0};
|
|
|
- /* AIX XL C 1.02.0.0 rejects this.
|
|
|
- It does not let you subtract one const X* pointer from another in
|
|
|
- an arm of an if-expression whose if-part is not a constant
|
|
|
- expression */
|
|
|
- const char *g = "string";
|
|
|
- pcpcc = &g + (g ? g-g : 0);
|
|
|
- /* HPUX 7.0 cc rejects these. */
|
|
|
- ++pcpcc;
|
|
|
- ppc = (char**) pcpcc;
|
|
|
- pcpcc = (char const *const *) ppc;
|
|
|
- { /* SCO 3.2v4 cc rejects this sort of thing. */
|
|
|
- char tx;
|
|
|
- char *t = &tx;
|
|
|
- char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
|
-
|
|
|
- *t++ = 0;
|
|
|
- if (s) return 0;
|
|
|
- }
|
|
|
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
|
- int x[] = {25, 17};
|
|
|
- const int *foo = &x[0];
|
|
|
- ++foo;
|
|
|
- }
|
|
|
- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
|
- typedef const int *iptr;
|
|
|
- iptr p = 0;
|
|
|
- ++p;
|
|
|
- }
|
|
|
- { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
|
|
- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
|
- struct s { int j; const int *ap[3]; } bx;
|
|
|
- struct s *b = &bx; b->j = 5;
|
|
|
- }
|
|
|
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
|
- const int foo = 10;
|
|
|
- if (!foo) return 0;
|
|
|
- }
|
|
|
- return !cs[0] && !zero.x;
|
|
|
-#endif
|
|
|
-
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
- ac_cv_c_const=yes
|
|
|
-else
|
|
|
- ac_cv_c_const=no
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
|
|
-$as_echo "$ac_cv_c_const" >&6; }
|
|
|
-if test $ac_cv_c_const = no; then
|
|
|
-
|
|
|
-$as_echo "#define const /**/" >>confdefs.h
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
-ISUNIX="false"
|
|
|
-ISWINDOWS="false"
|
|
|
-ISMACOSX="false"
|
|
|
-
|
|
|
case "$host" in
|
|
|
*-*-cygwin* | *-*-mingw*)
|
|
|
- ISWINDOWS="true"
|
|
|
EXE=".exe"
|
|
|
- MATHLIB=""
|
|
|
EXTRALIB="-lshlwapi"
|
|
|
- SYS_GL_LIBS="-lopengl32"
|
|
|
- ;;
|
|
|
- *-*-haiku*)
|
|
|
- EXE=""
|
|
|
- MATHLIB=""
|
|
|
- EXTRALIB=""
|
|
|
- SYS_GL_LIBS="-lGL"
|
|
|
- ;;
|
|
|
- *-*-darwin*)
|
|
|
- ISMACOSX="true"
|
|
|
- EXE=""
|
|
|
- MATHLIB=""
|
|
|
- EXTRALIB=""
|
|
|
- ;;
|
|
|
- *-*-aix*)
|
|
|
- ISUNIX="true"
|
|
|
- EXE=""
|
|
|
- if test x$ac_cv_c_compiler_gnu = xyes; then
|
|
|
- CFLAGS="-mthreads"
|
|
|
- fi
|
|
|
- MATHLIB=""
|
|
|
- EXTRALIB=""
|
|
|
- SYS_GL_LIBS=""
|
|
|
- ;;
|
|
|
- *-*-mint*)
|
|
|
- EXE=""
|
|
|
- MATHLIB=""
|
|
|
- EXTRALIB=""
|
|
|
- # Extract the first word of "osmesa-config", so it can be a program name with args.
|
|
|
-set dummy osmesa-config; ac_word=$2
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
-if ${ac_cv_path_OSMESA_CONFIG+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- case $OSMESA_CONFIG in
|
|
|
- [\\/]* | ?:[\\/]*)
|
|
|
- ac_cv_path_OSMESA_CONFIG="$OSMESA_CONFIG" # Let the user override the test with a path.
|
|
|
- ;;
|
|
|
- *)
|
|
|
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
-for as_dir in $PATH
|
|
|
-do
|
|
|
- IFS=$as_save_IFS
|
|
|
- test -z "$as_dir" && as_dir=.
|
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
- ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
- break 2
|
|
|
- fi
|
|
|
-done
|
|
|
- done
|
|
|
-IFS=$as_save_IFS
|
|
|
-
|
|
|
- test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
|
|
|
- ;;
|
|
|
-esac
|
|
|
-fi
|
|
|
-OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
|
|
|
-if test -n "$OSMESA_CONFIG"; then
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSMESA_CONFIG" >&5
|
|
|
-$as_echo "$OSMESA_CONFIG" >&6; }
|
|
|
-else
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
-$as_echo "no" >&6; }
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
- if test "x$OSMESA_CONFIG" = "xyes"; then
|
|
|
- OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
|
|
|
- OSMESA_LIBS=`$OSMESA_CONFIG --libs`
|
|
|
- CFLAGS="$CFLAGS $OSMESA_CFLAGS"
|
|
|
- SYS_GL_LIBS="$OSMESA_LIBS"
|
|
|
- else
|
|
|
- SYS_GL_LIBS="-lOSMesa"
|
|
|
- fi
|
|
|
- ;;
|
|
|
- *-*-qnx*)
|
|
|
- EXE=""
|
|
|
- MATHLIB=""
|
|
|
- EXTRALIB=""
|
|
|
- SYS_GL_LIBS="-lGLES_CM"
|
|
|
;;
|
|
|
*)
|
|
|
- ISUNIX="true"
|
|
|
EXE=""
|
|
|
- MATHLIB="-lm"
|
|
|
EXTRALIB=""
|
|
|
- SYS_GL_LIBS="-lGL"
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
SDL_VERSION=2.0.0
|
|
|
|
|
|
|
|
@@ -3130,6 +2890,7 @@ $as_echo "no" >&6; }
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
# Check whether --with-sdl-prefix was given.
|
|
|
if test "${with_sdl_prefix+set}" = set; then :
|
|
|
withval=$with_sdl_prefix; sdl_prefix="$withval"
|
|
@@ -3449,495 +3210,6 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
|
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
|
|
LIBS="$LIBS -lSDL2_test $SDL_LIBS $EXTRALIB"
|
|
|
|
|
|
-ac_ext=c
|
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
|
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
|
|
-# On Suns, sometimes $CPP names a directory.
|
|
|
-if test -n "$CPP" && test -d "$CPP"; then
|
|
|
- CPP=
|
|
|
-fi
|
|
|
-if test -z "$CPP"; then
|
|
|
- if ${ac_cv_prog_CPP+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- # Double quotes because CPP needs to be expanded
|
|
|
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
|
- do
|
|
|
- ac_preproc_ok=false
|
|
|
-for ac_c_preproc_warn_flag in '' yes
|
|
|
-do
|
|
|
- # Use a header file that comes with gcc, so configuring glibc
|
|
|
- # with a fresh cross-compiler works.
|
|
|
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
- # <limits.h> exists even on freestanding compilers.
|
|
|
- # On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
- # not just through cpp. "Syntax error" is here to catch this case.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#ifdef __STDC__
|
|
|
-# include <limits.h>
|
|
|
-#else
|
|
|
-# include <assert.h>
|
|
|
-#endif
|
|
|
- Syntax error
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
-
|
|
|
-else
|
|
|
- # Broken: fails on valid input.
|
|
|
-continue
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
-
|
|
|
- # OK, works on sane cases. Now check whether nonexistent headers
|
|
|
- # can be detected and how.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <ac_nonexistent.h>
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
- # Broken: success on invalid input.
|
|
|
-continue
|
|
|
-else
|
|
|
- # Passes both tests.
|
|
|
-ac_preproc_ok=:
|
|
|
-break
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
-
|
|
|
-done
|
|
|
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
|
-rm -f conftest.i conftest.err conftest.$ac_ext
|
|
|
-if $ac_preproc_ok; then :
|
|
|
- break
|
|
|
-fi
|
|
|
-
|
|
|
- done
|
|
|
- ac_cv_prog_CPP=$CPP
|
|
|
-
|
|
|
-fi
|
|
|
- CPP=$ac_cv_prog_CPP
|
|
|
-else
|
|
|
- ac_cv_prog_CPP=$CPP
|
|
|
-fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
|
-$as_echo "$CPP" >&6; }
|
|
|
-ac_preproc_ok=false
|
|
|
-for ac_c_preproc_warn_flag in '' yes
|
|
|
-do
|
|
|
- # Use a header file that comes with gcc, so configuring glibc
|
|
|
- # with a fresh cross-compiler works.
|
|
|
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
- # <limits.h> exists even on freestanding compilers.
|
|
|
- # On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
- # not just through cpp. "Syntax error" is here to catch this case.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#ifdef __STDC__
|
|
|
-# include <limits.h>
|
|
|
-#else
|
|
|
-# include <assert.h>
|
|
|
-#endif
|
|
|
- Syntax error
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
-
|
|
|
-else
|
|
|
- # Broken: fails on valid input.
|
|
|
-continue
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
-
|
|
|
- # OK, works on sane cases. Now check whether nonexistent headers
|
|
|
- # can be detected and how.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <ac_nonexistent.h>
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
- # Broken: success on invalid input.
|
|
|
-continue
|
|
|
-else
|
|
|
- # Passes both tests.
|
|
|
-ac_preproc_ok=:
|
|
|
-break
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
-
|
|
|
-done
|
|
|
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
|
-rm -f conftest.i conftest.err conftest.$ac_ext
|
|
|
-if $ac_preproc_ok; then :
|
|
|
-
|
|
|
-else
|
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
|
-See \`config.log' for more details" "$LINENO" 5; }
|
|
|
-fi
|
|
|
-
|
|
|
-ac_ext=c
|
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
-
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
|
|
|
-$as_echo_n "checking for X... " >&6; }
|
|
|
-
|
|
|
-
|
|
|
-# Check whether --with-x was given.
|
|
|
-if test "${with_x+set}" = set; then :
|
|
|
- withval=$with_x;
|
|
|
-fi
|
|
|
-
|
|
|
-# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
|
|
|
-if test "x$with_x" = xno; then
|
|
|
- # The user explicitly disabled X.
|
|
|
- have_x=disabled
|
|
|
-else
|
|
|
- case $x_includes,$x_libraries in #(
|
|
|
- *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
|
|
|
- *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- # One or both of the vars are not set, and there is no cached value.
|
|
|
-ac_x_includes=no
|
|
|
-ac_x_libraries=no
|
|
|
-# Do we need to do anything special at all?
|
|
|
-ac_save_LIBS=$LIBS
|
|
|
-LIBS="-lX11 $LIBS"
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <X11/Xlib.h>
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-XrmInitialize ()
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_link "$LINENO"; then :
|
|
|
- # We can compile and link X programs with no special options.
|
|
|
- ac_x_includes=
|
|
|
- ac_x_libraries=
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext \
|
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
|
-LIBS="$ac_save_LIBS"
|
|
|
-# If that didn't work, only try xmkmf and filesystem searches
|
|
|
-# for native compilation.
|
|
|
-if test x"$ac_x_includes" = xno && test "$cross_compiling" = no; then :
|
|
|
- rm -f -r conftest.dir
|
|
|
-if mkdir conftest.dir; then
|
|
|
- cd conftest.dir
|
|
|
- cat >Imakefile <<'_ACEOF'
|
|
|
-incroot:
|
|
|
- @echo incroot='${INCROOT}'
|
|
|
-usrlibdir:
|
|
|
- @echo usrlibdir='${USRLIBDIR}'
|
|
|
-libdir:
|
|
|
- @echo libdir='${LIBDIR}'
|
|
|
-_ACEOF
|
|
|
- if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
|
|
|
- # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
|
|
- for ac_var in incroot usrlibdir libdir; do
|
|
|
- eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
|
|
|
- done
|
|
|
- # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
|
|
- for ac_extension in a so sl dylib la dll; do
|
|
|
- if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
|
|
|
- test -f "$ac_im_libdir/libX11.$ac_extension"; then
|
|
|
- ac_im_usrlibdir=$ac_im_libdir; break
|
|
|
- fi
|
|
|
- done
|
|
|
- # Screen out bogus values from the imake configuration. They are
|
|
|
- # bogus both because they are the default anyway, and because
|
|
|
- # using them would break gcc on systems where it needs fixed includes.
|
|
|
- case $ac_im_incroot in
|
|
|
- /usr/include) ac_x_includes= ;;
|
|
|
- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
|
|
|
- esac
|
|
|
- case $ac_im_usrlibdir in
|
|
|
- /usr/lib | /usr/lib64 | /lib | /lib64) ;;
|
|
|
- *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
|
|
|
- esac
|
|
|
- fi
|
|
|
- cd ..
|
|
|
- rm -f -r conftest.dir
|
|
|
-fi
|
|
|
-
|
|
|
- # Standard set of common directories for X headers.
|
|
|
-# Check X11 before X11Rn because it is often a symlink to the current release.
|
|
|
-ac_x_header_dirs='
|
|
|
-/usr/X11/include
|
|
|
-/usr/X11R7/include
|
|
|
-/usr/X11R6/include
|
|
|
-/usr/X11R5/include
|
|
|
-/usr/X11R4/include
|
|
|
-
|
|
|
-/usr/include/X11
|
|
|
-/usr/include/X11R7
|
|
|
-/usr/include/X11R6
|
|
|
-/usr/include/X11R5
|
|
|
-/usr/include/X11R4
|
|
|
-
|
|
|
-/usr/local/X11/include
|
|
|
-/usr/local/X11R7/include
|
|
|
-/usr/local/X11R6/include
|
|
|
-/usr/local/X11R5/include
|
|
|
-/usr/local/X11R4/include
|
|
|
-
|
|
|
-/usr/local/include/X11
|
|
|
-/usr/local/include/X11R7
|
|
|
-/usr/local/include/X11R6
|
|
|
-/usr/local/include/X11R5
|
|
|
-/usr/local/include/X11R4
|
|
|
-
|
|
|
-/opt/X11/include
|
|
|
-
|
|
|
-/usr/X386/include
|
|
|
-/usr/x386/include
|
|
|
-/usr/XFree86/include/X11
|
|
|
-
|
|
|
-/usr/include
|
|
|
-/usr/local/include
|
|
|
-/usr/unsupported/include
|
|
|
-/usr/athena/include
|
|
|
-/usr/local/x11r5/include
|
|
|
-/usr/lpp/Xamples/include
|
|
|
-
|
|
|
-/usr/openwin/include
|
|
|
-/usr/openwin/share/include'
|
|
|
-
|
|
|
-if test "$ac_x_includes" = no; then
|
|
|
- # Guess where to find include files, by looking for Xlib.h.
|
|
|
- # First, try using that file with no special directory specified.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <X11/Xlib.h>
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
- # We can compile using X headers with no special include directory.
|
|
|
-ac_x_includes=
|
|
|
-else
|
|
|
- for ac_dir in $ac_x_header_dirs; do
|
|
|
- if test -r "$ac_dir/X11/Xlib.h"; then
|
|
|
- ac_x_includes=$ac_dir
|
|
|
- break
|
|
|
- fi
|
|
|
-done
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
-fi # $ac_x_includes = no
|
|
|
-
|
|
|
-if test "$ac_x_libraries" = no; then
|
|
|
- # Check for the libraries.
|
|
|
- # See if we find them without any special options.
|
|
|
- # Don't add to $LIBS permanently.
|
|
|
- ac_save_LIBS=$LIBS
|
|
|
- LIBS="-lX11 $LIBS"
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <X11/Xlib.h>
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-XrmInitialize ()
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_link "$LINENO"; then :
|
|
|
- LIBS=$ac_save_LIBS
|
|
|
-# We can link X programs with no special library path.
|
|
|
-ac_x_libraries=
|
|
|
-else
|
|
|
- LIBS=$ac_save_LIBS
|
|
|
-for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
|
|
|
-do
|
|
|
- # Don't even attempt the hair of trying to link an X program!
|
|
|
- for ac_extension in a so sl dylib la dll; do
|
|
|
- if test -r "$ac_dir/libX11.$ac_extension"; then
|
|
|
- ac_x_libraries=$ac_dir
|
|
|
- break 2
|
|
|
- fi
|
|
|
- done
|
|
|
-done
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext \
|
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
|
-fi # $ac_x_libraries = no
|
|
|
-
|
|
|
-fi
|
|
|
-# Record the results.
|
|
|
-case $ac_x_includes,$ac_x_libraries in #(
|
|
|
- no,* | *,no | *\'*) :
|
|
|
- # Didn't find X, or a directory has "'" in its name.
|
|
|
- ac_cv_have_x="have_x=no" ;; #(
|
|
|
- *) :
|
|
|
- # Record where we found X for the cache.
|
|
|
- ac_cv_have_x="have_x=yes\
|
|
|
- ac_x_includes='$ac_x_includes'\
|
|
|
- ac_x_libraries='$ac_x_libraries'" ;;
|
|
|
-esac
|
|
|
-fi
|
|
|
-;; #(
|
|
|
- *) have_x=yes;;
|
|
|
- esac
|
|
|
- eval "$ac_cv_have_x"
|
|
|
-fi # $with_x != no
|
|
|
-
|
|
|
-if test "$have_x" != yes; then
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
|
|
|
-$as_echo "$have_x" >&6; }
|
|
|
- no_x=yes
|
|
|
-else
|
|
|
- # If each of the values was on the command line, it overrides each guess.
|
|
|
- test "x$x_includes" = xNONE && x_includes=$ac_x_includes
|
|
|
- test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
|
|
|
- # Update the cache value to reflect the command line values.
|
|
|
- ac_cv_have_x="have_x=yes\
|
|
|
- ac_x_includes='$x_includes'\
|
|
|
- ac_x_libraries='$x_libraries'"
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
|
|
|
-$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
|
|
|
-fi
|
|
|
-
|
|
|
-if test x$have_x = xyes; then
|
|
|
- if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
|
|
|
- :
|
|
|
- else
|
|
|
- CFLAGS="$CFLAGS -I$ac_x_includes"
|
|
|
- fi
|
|
|
- if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
|
|
|
- :
|
|
|
- else
|
|
|
- XPATH="-L$ac_x_libraries"
|
|
|
- fi
|
|
|
-fi
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
|
|
|
-$as_echo_n "checking for OpenGL support... " >&6; }
|
|
|
-have_opengl=no
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-
|
|
|
- #include "SDL_opengl.h"
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
-
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
-
|
|
|
-have_opengl=yes
|
|
|
-
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
|
|
|
-$as_echo "$have_opengl" >&6; }
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
|
|
|
-$as_echo_n "checking for OpenGL ES support... " >&6; }
|
|
|
-have_opengles=no
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-
|
|
|
- #if defined (__IPHONEOS__)
|
|
|
- #include <OpenGLES/ES1/gl.h>
|
|
|
- #else
|
|
|
- #include <GLES/gl.h>
|
|
|
- #endif /* __QNXNTO__ */
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
-
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
-
|
|
|
-have_opengles=yes
|
|
|
-
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
|
|
|
-$as_echo "$have_opengles" >&6; }
|
|
|
-
|
|
|
-GLLIB=""
|
|
|
-if test x$have_opengles = xyes; then
|
|
|
- CFLAGS="$CFLAGS -DHAVE_OPENGLES"
|
|
|
- GLLIB="$XPATH -lGLESv1_CM"
|
|
|
-elif test x$have_opengl = xyes; then
|
|
|
- CFLAGS="$CFLAGS -DHAVE_OPENGL"
|
|
|
- GLLIB="$XPATH $SYS_GL_LIBS"
|
|
|
-else
|
|
|
- GLLIB=""
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5
|
|
|
-$as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; }
|
|
|
-if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- ac_check_lib_save_LIBS=$LIBS
|
|
|
-LIBS="-lSDL2_ttf $LIBS"
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-
|
|
|
-/* 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 TTF_Init ();
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-return TTF_Init ();
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_link "$LINENO"; then :
|
|
|
- ac_cv_lib_SDL2_ttf_TTF_Init=yes
|
|
|
-else
|
|
|
- ac_cv_lib_SDL2_ttf_TTF_Init=no
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext \
|
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
|
-LIBS=$ac_check_lib_save_LIBS
|
|
|
-fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL2_ttf_TTF_Init" >&5
|
|
|
-$as_echo "$ac_cv_lib_SDL2_ttf_TTF_Init" >&6; }
|
|
|
-if test "x$ac_cv_lib_SDL2_ttf_TTF_Init" = xyes; then :
|
|
|
- have_SDL_ttf=yes
|
|
|
-fi
|
|
|
-
|
|
|
-if test x$have_SDL_ttf = xyes; then
|
|
|
- CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
|
|
|
- SDL_TTF_LIB="-lSDL2_ttf"
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
|
|
|
pkg_failed=no
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind" >&5
|
|
@@ -4011,8 +3283,6 @@ if test x$have_libunwind = xyes ; then
|
|
|
LIBS="$LIBS $LIBUNWIND_LIBS"
|
|
|
fi
|
|
|
|
|
|
-ac_config_headers="$ac_config_headers config.h"
|
|
|
-
|
|
|
ac_config_files="$ac_config_files Makefile"
|
|
|
|
|
|
cat >confcache <<\_ACEOF
|
|
@@ -4105,7 +3375,43 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
|
# Let make expand exec_prefix.
|
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
|
|
|
-DEFS=-DHAVE_CONFIG_H
|
|
|
+# Transform confdefs.h into DEFS.
|
|
|
+# Protect against shell expansion while executing Makefile rules.
|
|
|
+# Protect against Makefile macro expansion.
|
|
|
+#
|
|
|
+# If the first sed substitution is executed (which looks for macros that
|
|
|
+# take arguments), then branch to the quote section. Otherwise,
|
|
|
+# look for a macro that doesn't take arguments.
|
|
|
+ac_script='
|
|
|
+:mline
|
|
|
+/\\$/{
|
|
|
+ N
|
|
|
+ s,\\\n,,
|
|
|
+ b mline
|
|
|
+}
|
|
|
+t clear
|
|
|
+:clear
|
|
|
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
|
|
+t quote
|
|
|
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
|
|
+t quote
|
|
|
+b any
|
|
|
+:quote
|
|
|
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
|
|
+s/\[/\\&/g
|
|
|
+s/\]/\\&/g
|
|
|
+s/\$/$$/g
|
|
|
+H
|
|
|
+:any
|
|
|
+${
|
|
|
+ g
|
|
|
+ s/^\n//
|
|
|
+ s/\n/ /g
|
|
|
+ p
|
|
|
+}
|
|
|
+'
|
|
|
+DEFS=`sed -n "$ac_script" confdefs.h`
|
|
|
+
|
|
|
|
|
|
ac_libobjs=
|
|
|
ac_ltlibobjs=
|
|
@@ -4521,7 +3827,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
# values after options handling.
|
|
|
ac_log="
|
|
|
-This file was extended by sdlvisualtest $as_me 0.01, which was
|
|
|
+This file was extended by $as_me, which was
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
@@ -4539,15 +3845,11 @@ case $ac_config_files in *"
|
|
|
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
|
esac
|
|
|
|
|
|
-case $ac_config_headers in *"
|
|
|
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
|
-esac
|
|
|
|
|
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
# Files that config.status was made for.
|
|
|
config_files="$ac_config_files"
|
|
|
-config_headers="$ac_config_headers"
|
|
|
|
|
|
_ACEOF
|
|
|
|
|
@@ -4568,22 +3870,17 @@ Usage: $0 [OPTION]... [TAG]...
|
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
|
|
--file=FILE[:TEMPLATE]
|
|
|
instantiate the configuration file FILE
|
|
|
- --header=FILE[:TEMPLATE]
|
|
|
- instantiate the configuration header FILE
|
|
|
|
|
|
Configuration files:
|
|
|
$config_files
|
|
|
|
|
|
-Configuration headers:
|
|
|
-$config_headers
|
|
|
-
|
|
|
-Report bugs to <apoorvupreti@gmail.com>."
|
|
|
+Report bugs to the package provider."
|
|
|
|
|
|
_ACEOF
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
ac_cs_version="\\
|
|
|
-sdlvisualtest config.status 0.01
|
|
|
+config.status
|
|
|
configured by $0, generated by GNU Autoconf 2.69,
|
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|
|
@@ -4637,18 +3934,7 @@ do
|
|
|
esac
|
|
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
|
ac_need_defaults=false;;
|
|
|
- --header | --heade | --head | --hea )
|
|
|
- $ac_shift
|
|
|
- case $ac_optarg in
|
|
|
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
- esac
|
|
|
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
|
- ac_need_defaults=false;;
|
|
|
- --he | --h)
|
|
|
- # Conflict between --help and --header
|
|
|
- as_fn_error $? "ambiguous option: \`$1'
|
|
|
-Try \`$0 --help' for more information.";;
|
|
|
- --help | --hel | -h )
|
|
|
+ --he | --h | --help | --hel | -h )
|
|
|
$as_echo "$ac_cs_usage"; exit ;;
|
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
@@ -4704,7 +3990,6 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
for ac_config_target in $ac_config_targets
|
|
|
do
|
|
|
case $ac_config_target in
|
|
|
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
|
|
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
@@ -4718,7 +4003,6 @@ done
|
|
|
# bizarre bug on SunOS 4.1.3.
|
|
|
if $ac_need_defaults; then
|
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
|
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
|
fi
|
|
|
|
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
|
@@ -4906,116 +4190,8 @@ fi
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
fi # test -n "$CONFIG_FILES"
|
|
|
|
|
|
-# Set up the scripts for CONFIG_HEADERS section.
|
|
|
-# No need to generate them if there are no CONFIG_HEADERS.
|
|
|
-# This happens for instance with `./config.status Makefile'.
|
|
|
-if test -n "$CONFIG_HEADERS"; then
|
|
|
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
|
|
-BEGIN {
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
|
-# here-document in config.status, that substitutes the proper values into
|
|
|
-# config.h.in to produce config.h.
|
|
|
-
|
|
|
-# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
|
-# handling of long lines.
|
|
|
-ac_delim='%!_!# '
|
|
|
-for ac_last_try in false false :; do
|
|
|
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
|
- if test -z "$ac_tt"; then
|
|
|
- break
|
|
|
- elif $ac_last_try; then
|
|
|
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
|
- else
|
|
|
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
|
- fi
|
|
|
-done
|
|
|
-
|
|
|
-# For the awk script, D is an array of macro values keyed by name,
|
|
|
-# likewise P contains macro parameters if any. Preserve backslash
|
|
|
-# newline sequences.
|
|
|
-
|
|
|
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
|
-sed -n '
|
|
|
-s/.\{148\}/&'"$ac_delim"'/g
|
|
|
-t rset
|
|
|
-:rset
|
|
|
-s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
|
-t def
|
|
|
-d
|
|
|
-:def
|
|
|
-s/\\$//
|
|
|
-t bsnl
|
|
|
-s/["\\]/\\&/g
|
|
|
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
|
-D["\1"]=" \3"/p
|
|
|
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
|
-d
|
|
|
-:bsnl
|
|
|
-s/["\\]/\\&/g
|
|
|
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
|
-D["\1"]=" \3\\\\\\n"\\/p
|
|
|
-t cont
|
|
|
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
|
-t cont
|
|
|
-d
|
|
|
-:cont
|
|
|
-n
|
|
|
-s/.\{148\}/&'"$ac_delim"'/g
|
|
|
-t clear
|
|
|
-:clear
|
|
|
-s/\\$//
|
|
|
-t bsnlc
|
|
|
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
|
-d
|
|
|
-:bsnlc
|
|
|
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
|
-b cont
|
|
|
-' <confdefs.h | sed '
|
|
|
-s/'"$ac_delim"'/"\\\
|
|
|
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
|
-
|
|
|
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
- for (key in D) D_is_set[key] = 1
|
|
|
- FS = ""
|
|
|
-}
|
|
|
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
|
- line = \$ 0
|
|
|
- split(line, arg, " ")
|
|
|
- if (arg[1] == "#") {
|
|
|
- defundef = arg[2]
|
|
|
- mac1 = arg[3]
|
|
|
- } else {
|
|
|
- defundef = substr(arg[1], 2)
|
|
|
- mac1 = arg[2]
|
|
|
- }
|
|
|
- split(mac1, mac2, "(") #)
|
|
|
- macro = mac2[1]
|
|
|
- prefix = substr(line, 1, index(line, defundef) - 1)
|
|
|
- if (D_is_set[macro]) {
|
|
|
- # Preserve the white space surrounding the "#".
|
|
|
- print prefix "define", macro P[macro] D[macro]
|
|
|
- next
|
|
|
- } else {
|
|
|
- # Replace #undef with comments. This is necessary, for example,
|
|
|
- # in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
- # on some systems where configure will not decide to define it.
|
|
|
- if (defundef == "undef") {
|
|
|
- print "/*", prefix defundef, macro, "*/"
|
|
|
- next
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-{ print }
|
|
|
-_ACAWK
|
|
|
-_ACEOF
|
|
|
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
|
|
-fi # test -n "$CONFIG_HEADERS"
|
|
|
-
|
|
|
|
|
|
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
|
|
+eval set X " :F $CONFIG_FILES "
|
|
|
shift
|
|
|
for ac_tag
|
|
|
do
|
|
@@ -5223,30 +4399,7 @@ which seems to be undefined. Please make sure it is defined" >&2;}
|
|
|
esac \
|
|
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
;;
|
|
|
- :H)
|
|
|
- #
|
|
|
- # CONFIG_HEADER
|
|
|
- #
|
|
|
- if test x"$ac_file" != x-; then
|
|
|
- {
|
|
|
- $as_echo "/* $configure_input */" \
|
|
|
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
|
- } >"$ac_tmp/config.h" \
|
|
|
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
|
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
|
- else
|
|
|
- rm -f "$ac_file"
|
|
|
- mv "$ac_tmp/config.h" "$ac_file" \
|
|
|
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
- fi
|
|
|
- else
|
|
|
- $as_echo "/* $configure_input */" \
|
|
|
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
|
- || as_fn_error $? "could not create -" "$LINENO" 5
|
|
|
- fi
|
|
|
- ;;
|
|
|
+
|
|
|
|
|
|
|
|
|
esac
|