configure
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1316k
- fi
- { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
- if test "${ac_cv_header_stdc+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
- int
- main ()
- {
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (ac_try="$ac_compile"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_header_stdc=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_header_stdc=no
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <string.h>
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then
- :
- else
- ac_cv_header_stdc=no
- fi
- rm -f conftest*
- fi
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <stdlib.h>
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then
- :
- else
- ac_cv_header_stdc=no
- fi
- rm -f conftest*
- fi
- if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- if test "$cross_compiling" = yes; then
- :
- else
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <ctype.h>
- #include <stdlib.h>
- #if ((' ' & 0x0FF) == 0x020)
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- #else
- # define ISLOWER(c)
- (('a' <= (c) && (c) <= 'i')
- || ('j' <= (c) && (c) <= 'r')
- || ('s' <= (c) && (c) <= 'z'))
- # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- #endif
- #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- int
- main ()
- {
- int i;
- for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i))
- || toupper (i) != TOUPPER (i))
- return 2;
- return 0;
- }
- _ACEOF
- rm -f conftest$ac_exeext
- if { (ac_try="$ac_link"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; }; then
- :
- else
- echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ( exit $ac_status )
- ac_cv_header_stdc=no
- fi
- rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- fi
- fi
- { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
- echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
- if test $ac_cv_header_stdc = yes; then
- cat >>confdefs.h <<_ACEOF
- #define STDC_HEADERS 1
- _ACEOF
- fi
- for ac_header in byteswap.h
- do
- as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- if { as_var=$as_ac_Header; eval "test "${$as_var+set}" = set"; }; then
- { echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
- if { as_var=$as_ac_Header; eval "test "${$as_var+set}" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
- echo "${ECHO_T}$ac_res" >&6; }
- else
- # Is the header compilable?
- { echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (ac_try="$ac_compile"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ac_header_compiler=no
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
- echo "${ECHO_T}$ac_header_compiler" >&6; }
- # Is the header present?
- { echo "$as_me:$LINENO: checking $ac_header presence" >&5
- echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <$ac_header>
- _ACEOF
- if { (ac_try="$ac_cpp conftest.$ac_ext"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ac_header_preproc=no
- fi
- rm -f conftest.err conftest.$ac_ext
- { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6; }
- # So? What about this header?
- case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
- yes:no: )
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
- echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: section "Present But Cannot Be Compiled"" >&5
- echo "$as_me: WARNING: $ac_header: section "Present But Cannot Be Compiled"" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
- echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
- ( cat <<_ASBOX
- ## ----------------------------------------------- ##
- ## Report this to celestia-developers@lists.sf.net ##
- ## ----------------------------------------------- ##
- _ASBOX
- ) | sed "s/^/$as_me: WARNING: /" >&2
- ;;
- esac
- { echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
- if { as_var=$as_ac_Header; eval "test "${$as_var+set}" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- eval "$as_ac_Header=$ac_header_preproc"
- fi
- ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
- echo "${ECHO_T}$ac_res" >&6; }
- fi
- if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
- #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- _ACEOF
- fi
- done
- { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
- echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
- if test "${ac_cv_c_bigendian+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- # See if sys/param.h defines the BYTE_ORDER macro.
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <sys/types.h>
- #include <sys/param.h>
- int
- main ()
- {
- #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN
- && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
- bogus endian macros
- #endif
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (ac_try="$ac_compile"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- # It does; now see whether it defined to BIG_ENDIAN or not.
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- #include <sys/types.h>
- #include <sys/param.h>
- int
- main ()
- {
- #if BYTE_ORDER != BIG_ENDIAN
- not big endian
- #endif
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (ac_try="$ac_compile"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_c_bigendian=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_c_bigendian=no
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- # It does not; compile a test program.
- if test "$cross_compiling" = yes; then
- # try to guess the endianness by grepping values into an object file
- ac_cv_c_bigendian=unknown
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
- short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
- void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
- short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
- short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
- void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
- int
- main ()
- {
- _ascii (); _ebcdic ();
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (ac_try="$ac_compile"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
- ac_cv_c_bigendian=yes
- fi
- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
- if test "$ac_cv_c_bigendian" = unknown; then
- ac_cv_c_bigendian=no
- else
- # finding both strings is unlikely to happen, but who knows?
- ac_cv_c_bigendian=unknown
- fi
- fi
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- else
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- $ac_includes_default
- int
- main ()
- {
- /* Are we little or big endian? From Harbison&Steele. */
- union
- {
- long int l;
- char c[sizeof (long int)];
- } u;
- u.l = 1;
- return u.c[sizeof (long int) - 1] == 1;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest$ac_exeext
- if { (ac_try="$ac_link"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval "echo "$as_me:$LINENO: $ac_try_echo"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_c_bigendian=no
- else
- echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- ( exit $ac_status )
- ac_cv_c_bigendian=yes
- fi
- rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
- echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
- case $ac_cv_c_bigendian in
- yes)
- cat >>confdefs.h <<_ACEOF
- #define WORDS_BIGENDIAN 1
- _ACEOF
- ;;
- no)
- ;;
- *)
- { { echo "$as_me:$LINENO: error: unknown endianness
- presetting ac_cv_c_bigendian=no (or yes) will help" >&5
- echo "$as_me: error: unknown endianness
- presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- PKGDATADIR='${datadir}'/$PACKAGE
- enable_hipparcos="no"
- # Check whether --enable-hipparcos-dir was given.
- if test "${enable_hipparcos_dir+set}" = set; then
- enableval=$enable_hipparcos_dir; HIPDIR="$enableval"
- else
- HIPDIR="$PKGDATADIR"
- fi
- { echo "$as_me:$LINENO: checking whether we can create a new star database" >&5
- echo $ECHO_N "checking whether we can create a new star database... $ECHO_C" >&6; }
- if (test -f "$HIPDIR/hip_main.dat"); then
- enable_hipparcos="yes"
- fi
- { echo "$as_me:$LINENO: result: $enable_hipparcos" >&5
- echo "${ECHO_T}$enable_hipparcos" >&6; }
- if test "x$enable_hipparcos" = "xyes"; then
- ENABLE_HIPPARCOS_TRUE=
- ENABLE_HIPPARCOS_FALSE='#'
- else
- ENABLE_HIPPARCOS_TRUE='#'
- ENABLE_HIPPARCOS_FALSE=
- fi
- # Check whether --with-lua was given.
- if test "${with_lua+set}" = set; then
- withval=$with_lua; enable_lua="$withval"
- else
- enable_lua="auto"
- fi
- if (test "$enable_lua" != "no"); then
- LUA_VER=0
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050100
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUA" >&5
- echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_CFLAGS"; then
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUA_LIBS"; then
- pkg_cv_LUA_LIBS="$LUA_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- else
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.0.0 lua < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUA_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050000
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050100
- fi
- else
- LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
- LUA_LIBS=$pkg_cv_LUA_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- LUA_VER=0x050100
- fi
- if (test "$LUA_VER" = "0x050000"); then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUALIB" >&5
- echo $ECHO_N "checking for LUALIB... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_CFLAGS"; then
- pkg_cv_LUALIB_CFLAGS="$LUALIB_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_CFLAGS=`$PKG_CONFIG --cflags "lualib50 >= 5.0.0 lualib50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_LIBS"; then
- pkg_cv_LUALIB_LIBS="$LUALIB_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_LIBS=`$PKG_CONFIG --libs "lualib50 >= 5.0.0 lualib50 < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0"`
- else
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lualib50 >= 5.0.0 lualib50 < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUALIB_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUALIB" >&5
- echo $ECHO_N "checking for LUALIB... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_CFLAGS"; then
- pkg_cv_LUALIB_CFLAGS="$LUALIB_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_CFLAGS=`$PKG_CONFIG --cflags "lualib >= 5.0.0 lualib < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_LIBS"; then
- pkg_cv_LUALIB_LIBS="$LUALIB_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_LIBS=`$PKG_CONFIG --libs "lualib >= 5.0.0 lualib < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lualib >= 5.0.0 lualib < 5.1.0"`
- else
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lualib >= 5.0.0 lualib < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUALIB_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUALIB_CFLAGS=$pkg_cv_LUALIB_CFLAGS
- LUALIB_LIBS=$pkg_cv_LUALIB_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- :
- fi
- elif test $pkg_failed = untried; then
- pkg_failed=no
- { echo "$as_me:$LINENO: checking for LUALIB" >&5
- echo $ECHO_N "checking for LUALIB... $ECHO_C" >&6; }
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_CFLAGS"; then
- pkg_cv_LUALIB_CFLAGS="$LUALIB_CFLAGS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_CFLAGS=`$PKG_CONFIG --cflags "lualib >= 5.0.0 lualib < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test -n "$PKG_CONFIG"; then
- if test -n "$LUALIB_LIBS"; then
- pkg_cv_LUALIB_LIBS="$LUALIB_LIBS"
- else
- if test -n "$PKG_CONFIG" &&
- { (echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0"") >&5
- ($PKG_CONFIG --exists --print-errors "lualib >= 5.0.0 lualib < 5.1.0") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: $? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_LUALIB_LIBS=`$PKG_CONFIG --libs "lualib >= 5.0.0 lualib < 5.1.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- fi
- else
- pkg_failed=untried
- fi
- if test $pkg_failed = yes; then
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- else
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lualib >= 5.0.0 lualib < 5.1.0"`
- else
- LUALIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lualib >= 5.0.0 lualib < 5.1.0"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LUALIB_PKG_ERRORS" >&5
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- elif test $pkg_failed = untried; then
- { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- else
- LUALIB_CFLAGS=$pkg_cv_LUALIB_CFLAGS
- LUALIB_LIBS=$pkg_cv_LUALIB_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- :
- fi
- else
- LUALIB_CFLAGS=$pkg_cv_LUALIB_CFLAGS
- LUALIB_LIBS=$pkg_cv_LUALIB_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6; }
- :
- fi
- fi
- if (test "$LUA_VER" = "0"); then
- if (test "x$enable_lua" != "xauto"); then
- { { echo "$as_me:$LINENO: error: Lua not found (explicitly enabled)!" >&5
- echo "$as_me: error: Lua not found (explicitly enabled)!" >&2;}
- { (exit 1); exit 1; }; }
- else
- enable_lua="no"
- fi
- else
- enable_lua="yes"
- fi
- fi
- if (test "$enable_lua" = "yes"); then
- CXXFLAGS="$CXXFLAGS $LUA_CFLAGS $LUALIB_CFLAGS -DLUA_VER=$LUA_VER -DCELX"
- LIBS="$LIBS $LUA_LIBS $LUALIB_LIBS"
- fi
- if test "$enable_lua" != "no"; then
- ENABLE_CELX_TRUE=
- ENABLE_CELX_FALSE='#'
- else
- ENABLE_CELX_TRUE='#'
- ENABLE_CELX_FALSE=
- fi
- ac_config_files="$ac_config_files Makefile"
- ac_config_files="$ac_config_files src/Makefile"
- ac_config_files="$ac_config_files src/celutil/Makefile"
- ac_config_files="$ac_config_files src/celmath/Makefile"
- ac_config_files="$ac_config_files src/cel3ds/Makefile"
- ac_config_files="$ac_config_files src/celtxf/Makefile"
- ac_config_files="$ac_config_files src/celengine/Makefile"
- ac_config_files="$ac_config_files src/celestia/Makefile"
- ac_config_files="$ac_config_files data/Makefile"
- ac_config_files="$ac_config_files extras/Makefile"
- ac_config_files="$ac_config_files extras-standard/Makefile"
- ac_config_files="$ac_config_files extras-standard/cassini/Makefile"
- ac_config_files="$ac_config_files extras-standard/cassini/models/Makefile"
- ac_config_files="$ac_config_files extras-standard/cassini/data/Makefile"
- ac_config_files="$ac_config_files extras-standard/mir/Makefile"
- ac_config_files="$ac_config_files extras-standard/mir/models/Makefile"
- ac_config_files="$ac_config_files extras-standard/galileo/Makefile"
- ac_config_files="$ac_config_files extras-standard/galileo/models/Makefile"
- ac_config_files="$ac_config_files extras-standard/hubble/Makefile"
- ac_config_files="$ac_config_files extras-standard/hubble/models/Makefile"
- ac_config_files="$ac_config_files extras-standard/iss/Makefile"
- ac_config_files="$ac_config_files extras-standard/iss/models/Makefile"
- ac_config_files="$ac_config_files extras-standard/iss/textures/Makefile"
- ac_config_files="$ac_config_files extras-standard/iss/textures/medres/Makefile"
- ac_config_files="$ac_config_files textures/Makefile"
- ac_config_files="$ac_config_files textures/lores/Makefile"
- ac_config_files="$ac_config_files textures/medres/Makefile"
- ac_config_files="$ac_config_files textures/hires/Makefile"
- ac_config_files="$ac_config_files models/Makefile"
- ac_config_files="$ac_config_files shaders/Makefile"
- ac_config_files="$ac_config_files fonts/Makefile"
- ac_config_files="$ac_config_files src/celestia/res/Makefile"
- ac_config_files="$ac_config_files src/celestia/kde/Makefile"
- ac_config_files="$ac_config_files src/celestia/kde/data/Makefile"
- ac_config_files="$ac_config_files src/celestia/kde/doc/Makefile"
- ac_config_files="$ac_config_files src/celestia/kde/doc/celestia/Makefile"
- ac_config_files="$ac_config_files src/celestia/gtk/Makefile"
- ac_config_files="$ac_config_files src/celestia/gtk/data/Makefile"
- ac_config_files="$ac_config_files po/Makefile.in"
- ac_config_files="$ac_config_files po2/Makefile.in"
- ac_config_files="$ac_config_files locale/Makefile"
- ac_config_files="$ac_config_files scripts/Makefile"
- cat >confcache <<_ACEOF
- # This file is a shell script that caches the results of configure
- # tests run on this system so they can be shared between configure
- # scripts and configure runs, see configure's option --config-cache.
- # It is not useful on other systems. If it contains results you don't
- # want to keep, you may remove or edit it.
- #
- # config.status only pays attention to the cache file if you give it
- # the --recheck option to rerun configure.
- #
- # `ac_cv_env_foo' variables (set or unset) will be overridden when
- # loading this file, other *unset* `ac_cv_foo' will be assigned the
- # following values.
- _ACEOF
- # The following way of writing the cache mishandles newlines in values,
- # but we know of no workaround that is simple, portable, and efficient.
- # So, we kill variables containing newlines.
- # Ultrix sh set writes to stderr and can't be redirected directly,
- # and sets the high bit in the cache file unless we assign to the vars.
- (
- for ac_var in `(set) 2>&1 | sed -n 's/^([a-zA-Z_][a-zA-Z0-9_]*)=.*/1/p'`; do
- eval ac_val=$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
- echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space= *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\ into \, and sed turns \ into ).
- sed -n
- "s/'/'\\''/g;
- s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1='\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
- ) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^([^=]*)=(.*[{}].*)$/test "${1+set}" = set || &/
- t end
- s/^([^=]*)=(.*)$/1=${1=2}/
- :end' >>confcache
- if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
- echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
- echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
- fi
- rm -f confcache
- 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
- ac_libobjs=
- ac_ltlibobjs=
- for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/$U././;s/.o$//;s/.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs ${LIBOBJDIR}$ac_i$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs ${LIBOBJDIR}$ac_i"'$U.lo'
- done
- LIBOBJS=$ac_libobjs
- LTLIBOBJS=$ac_ltlibobjs
- if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "AMDEP" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "AMDEP" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "am__fastdepCXX" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "am__fastdepCXX" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_SPICE_TRUE}" && test -z "${ENABLE_SPICE_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_SPICE" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_SPICE" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "am__fastdepCC" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "am__fastdepCXX" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "am__fastdepCXX" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "unsermake_enable_pch" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "unsermake_enable_pch" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_GLUT_TRUE}" && test -z "${ENABLE_GLUT_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_GLUT" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_GLUT" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "GCONF_SCHEMAS_INSTALL" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "GCONF_SCHEMAS_INSTALL" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "GCONF_SCHEMAS_INSTALL" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "GCONF_SCHEMAS_INSTALL" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_GTK_TRUE}" && test -z "${ENABLE_GTK_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_GTK" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_GTK" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_GNOME_TRUE}" && test -z "${ENABLE_GNOME_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_GNOME" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_GNOME" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "include_ARTS" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "include_ARTS" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "include_x11" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "include_x11" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "include_ARTS" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "include_ARTS" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_KDE_TRUE}" && test -z "${ENABLE_KDE_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_KDE" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_KDE" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_THEORA_TRUE}" && test -z "${ENABLE_THEORA_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_THEORA" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_THEORA" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_HIPPARCOS_TRUE}" && test -z "${ENABLE_HIPPARCOS_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_HIPPARCOS" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_HIPPARCOS" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- if test -z "${ENABLE_CELX_TRUE}" && test -z "${ENABLE_CELX_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional "ENABLE_CELX" was never defined.
- Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional "ENABLE_CELX" was never defined.
- Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
- fi
- : ${CONFIG_STATUS=./config.status}
- ac_clean_files_save=$ac_clean_files
- ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
- echo "$as_me: creating $CONFIG_STATUS" >&6;}
- cat >$CONFIG_STATUS <<_ACEOF
- #! $SHELL
- # Generated by $as_me.
- # Run this file to recreate the current configuration.
- # Compiler output produced by configure, useful for debugging
- # configure, is in config.log if it exists.
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- SHELL=${CONFIG_SHELL-$SHELL}
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- ## --------------------- ##
- ## M4sh Initialization. ##
- ## --------------------- ##
- # Be more Bourne compatible
- DUALCASE=1; export DUALCASE # for MKS sh
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
- esac
- fi
- # PATH needs CR
- # Avoid depending upon Character Ranges.
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- as_cr_digits='0123456789'
- as_cr_alnum=$as_cr_Letters$as_cr_digits
- # The user is always right.
- if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
- fi
- # Support unset when possible.
- if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
- else
- as_unset=false
- fi
- # IFS
- # We need space, tab and new line, in precisely that order. Quoting is
- # there to prevent editors from complaining about space-tab.
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
- # splitting by setting IFS to empty value.)
- as_nl='
- '
- IFS=" "" $as_nl"
- # Find who we are. Look in the path if we contain no directory separator.
- case $0 in
- *[\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
- IFS=$as_save_IFS
- ;;
- esac
- # We did not find ourselves, most probably we were run as `sh COMMAND'
- # in which case we are not to be found in the path.
- if test "x$as_myself" = x; then
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
- fi
- # Work around bugs in pre-3.0 UWIN ksh.
- for as_var in ENV MAIL MAILPATH
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
- # NLS nuisances.
- for as_var in
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER
- LC_TELEPHONE LC_TIME
- do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
- done
- # Required to use basename.
- if expr a : '(a)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*(...)'`" = X001; then
- as_expr=expr
- else
- as_expr=false
- fi
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
- else
- as_basename=false
- fi
- # Name of the executable.
- as_me=`$as_basename -- "$0" ||
- $as_expr X/"$0" : '.*/([^/][^/]*)/*$' |
- X"$0" : 'X(//)$' |
- X"$0" : 'X(/)' | . 2>/dev/null ||
- echo X/"$0" |
- sed '/^.*/([^/][^/]*)/*$/{
- s//1/
- q
- }
- /^X/(//)$/{
- s//1/
- q
- }
- /^X/(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- # CDPATH.
- $as_unset CDPATH
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO([^'$as_cr_alnum'_].*n)(.*)/212/
- t loop
- s/-n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
- }
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
- else
- as_dirname=false
- fi
- ECHO_C= ECHO_N= ECHO_T=
- case `echo -n x` in
- -n*)
- case `echo 'xc'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='c';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
- if expr a : '(a)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*(...)'`" = X001; then
- as_expr=expr
- else
- as_expr=false
- fi
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- mkdir conf$$.dir
- fi
- echo >conf$$.file
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
- if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
- else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- ''' sh
- '
- fi
- as_executable_p=$as_test_x
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- # Sed expression to map a string onto a valid variable name.
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- exec 6>&1
- # Save the log message, to keep $[0] and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
- This file was extended by celestia $as_me 1.6.0, which was
- generated by GNU Autoconf 2.61. Invocation command line was
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
- "
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- # Files that config.status was made for.
- config_files="$ac_config_files"
- config_headers="$ac_config_headers"
- config_commands="$ac_config_commands"
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- ac_cs_usage="
- `$as_me' instantiates files from templates according to the
- current configuration.
- Usage: $0 [OPTIONS] [FILE]...
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --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
- Configuration commands:
- $config_commands
- Report bugs to <bug-autoconf@gnu.org>."
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- ac_cs_version="\
- celestia config.status 1.6.0
- configured by $0, generated by GNU Autoconf 2.61,
- with options \"`echo "$ac_configure_args" | sed 's/^ //; s/[\""`$]/\\&/g'`\"
- Copyright (C) 2006 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
- ac_pwd='$ac_pwd'
- srcdir='$srcdir'
- INSTALL='$INSTALL'
- MKDIR_P='$MKDIR_P'
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- # If no file are specified by the user, then we need to provide default
- # value. By we need to know if files were specified by the user.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X([^=]*)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=(.*)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- { echo "$as_me: error: ambiguous option: $1
- Try `$0 --help' for more information." >&2
- { (exit 1); exit 1; }; };;
- --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
- Try `$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
- esac
- shift
- done
- ac_configure_extra_args=
- if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
- fi
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- if $ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args $ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args $ac_configure_extra_args --no-create --no-recursion
- fi
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- exec 5>>config.log
- {
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- echo "$ac_log"
- } >&5
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- #
- # INIT-COMMANDS
- #
- # Capture the value of obsolete ALL_LINGUAS because we need it to compute
- # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
- # from automake < 1.5.
- eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
- # Capture the value of LINGUAS because we need it to compute CATALOGS.
- LINGUAS="${LINGUAS-%UNSET%}"
- AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- # Handling of arguments.
- for ac_config_target in $ac_config_targets
- do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
- "src/celutil/Makefile") CONFIG_FILES="$CONFIG_FILES src/celutil/Makefile" ;;
- "src/celmath/Makefile") CONFIG_FILES="$CONFIG_FILES src/celmath/Makefile" ;;
- "src/cel3ds/Makefile") CONFIG_FILES="$CONFIG_FILES src/cel3ds/Makefile" ;;
- "src/celtxf/Makefile") CONFIG_FILES="$CONFIG_FILES src/celtxf/Makefile" ;;
- "src/celengine/Makefile") CONFIG_FILES="$CONFIG_FILES src/celengine/Makefile" ;;
- "src/celestia/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/Makefile" ;;
- "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
- "extras/Makefile") CONFIG_FILES="$CONFIG_FILES extras/Makefile" ;;
- "extras-standard/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/Makefile" ;;
- "extras-standard/cassini/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/cassini/Makefile" ;;
- "extras-standard/cassini/models/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/cassini/models/Makefile" ;;
- "extras-standard/cassini/data/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/cassini/data/Makefile" ;;
- "extras-standard/mir/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/mir/Makefile" ;;
- "extras-standard/mir/models/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/mir/models/Makefile" ;;
- "extras-standard/galileo/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/galileo/Makefile" ;;
- "extras-standard/galileo/models/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/galileo/models/Makefile" ;;
- "extras-standard/hubble/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/hubble/Makefile" ;;
- "extras-standard/hubble/models/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/hubble/models/Makefile" ;;
- "extras-standard/iss/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/iss/Makefile" ;;
- "extras-standard/iss/models/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/iss/models/Makefile" ;;
- "extras-standard/iss/textures/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/iss/textures/Makefile" ;;
- "extras-standard/iss/textures/medres/Makefile") CONFIG_FILES="$CONFIG_FILES extras-standard/iss/textures/medres/Makefile" ;;
- "textures/Makefile") CONFIG_FILES="$CONFIG_FILES textures/Makefile" ;;
- "textures/lores/Makefile") CONFIG_FILES="$CONFIG_FILES textures/lores/Makefile" ;;
- "textures/medres/Makefile") CONFIG_FILES="$CONFIG_FILES textures/medres/Makefile" ;;
- "textures/hires/Makefile") CONFIG_FILES="$CONFIG_FILES textures/hires/Makefile" ;;
- "models/Makefile") CONFIG_FILES="$CONFIG_FILES models/Makefile" ;;
- "shaders/Makefile") CONFIG_FILES="$CONFIG_FILES shaders/Makefile" ;;
- "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
- "src/celestia/res/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/res/Makefile" ;;
- "src/celestia/kde/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/kde/Makefile" ;;
- "src/celestia/kde/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/kde/data/Makefile" ;;
- "src/celestia/kde/doc/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/kde/doc/Makefile" ;;
- "src/celestia/kde/doc/celestia/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/kde/doc/celestia/Makefile" ;;
- "src/celestia/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/gtk/Makefile" ;;
- "src/celestia/gtk/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/celestia/gtk/data/Makefile" ;;
- "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
- "po2/Makefile.in") CONFIG_FILES="$CONFIG_FILES po2/Makefile.in" ;;
- "locale/Makefile") CONFIG_FILES="$CONFIG_FILES locale/Makefile" ;;
- "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
- echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- done
- # If the user did not use the arguments to specify the items to instantiate,
- # then the envvar interface is used. Set only those that are not.
- # We use the long form for the default assignment because of an extremely
- # 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
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
- fi
- # Have a temporary directory for convenience. Make it in the build tree
- # simply because there is no reason against having it here, and in addition,
- # creating and moving files from /tmp can sometimes cause problems.
- # Hook for its removal unless debugging.
- # Note that there is a small window in which the directory will not be cleaned:
- # after its creation but before its name has been assigned to `$tmp'.
- $debug ||
- {
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
- ' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
- }
- # Create a (secure) tmp directory for tmp files.
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- } ||
- {
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
- }
- #
- # Set up the sed scripts for CONFIG_FILES section.
- #
- # No need to generate the scripts if there are no CONFIG_FILES.
- # This happens for instance when ./config.status config.h
- if test -n "$CONFIG_FILES"; then
- _ACEOF
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
- SHELL!$SHELL$ac_delim
- PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
- PACKAGE_NAME!$PACKAGE_NAME$ac_delim
- PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
- PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
- PACKAGE_STRING!$PACKAGE_STRING$ac_delim
- PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
- exec_prefix!$exec_prefix$ac_delim
- prefix!$prefix$ac_delim
- program_transform_name!$program_transform_name$ac_delim
- bindir!$bindir$ac_delim
- sbindir!$sbindir$ac_delim
- libexecdir!$libexecdir$ac_delim
- datarootdir!$datarootdir$ac_delim
- datadir!$datadir$ac_delim
- sysconfdir!$sysconfdir$ac_delim
- sharedstatedir!$sharedstatedir$ac_delim
- localstatedir!$localstatedir$ac_delim
- includedir!$includedir$ac_delim
- oldincludedir!$oldincludedir$ac_delim
- docdir!$docdir$ac_delim
- infodir!$infodir$ac_delim
- htmldir!$htmldir$ac_delim
- dvidir!$dvidir$ac_delim
- pdfdir!$pdfdir$ac_delim
- psdir!$psdir$ac_delim
- libdir!$libdir$ac_delim
- localedir!$localedir$ac_delim
- mandir!$mandir$ac_delim
- DEFS!$DEFS$ac_delim
- ECHO_C!$ECHO_C$ac_delim
- ECHO_N!$ECHO_N$ac_delim
- ECHO_T!$ECHO_T$ac_delim
- LIBS!$LIBS$ac_delim
- build_alias!$build_alias$ac_delim
- host_alias!$host_alias$ac_delim
- target_alias!$target_alias$ac_delim
- build!$build$ac_delim
- build_cpu!$build_cpu$ac_delim
- build_vendor!$build_vendor$ac_delim
- build_os!$build_os$ac_delim
- host!$host$ac_delim
- host_cpu!$host_cpu$ac_delim
- host_vendor!$host_vendor$ac_delim
- host_os!$host_os$ac_delim
- target!$target$ac_delim
- target_cpu!$target_cpu$ac_delim
- target_vendor!$target_vendor$ac_delim
- target_os!$target_os$ac_delim
- INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
- INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
- INSTALL_DATA!$INSTALL_DATA$ac_delim
- am__isrc!$am__isrc$ac_delim
- CYGPATH_W!$CYGPATH_W$ac_delim
- PACKAGE!$PACKAGE$ac_delim
- VERSION!$VERSION$ac_delim
- ACLOCAL!$ACLOCAL$ac_delim
- AUTOCONF!$AUTOCONF$ac_delim
- AUTOMAKE!$AUTOMAKE$ac_delim
- AUTOHEADER!$AUTOHEADER$ac_delim
- MAKEINFO!$MAKEINFO$ac_delim
- install_sh!$install_sh$ac_delim
- STRIP!$STRIP$ac_delim
- INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
- mkdir_p!$mkdir_p$ac_delim
- AWK!$AWK$ac_delim
- SET_MAKE!$SET_MAKE$ac_delim
- am__leading_dot!$am__leading_dot$ac_delim
- AMTAR!$AMTAR$ac_delim
- am__tar!$am__tar$ac_delim
- am__untar!$am__untar$ac_delim
- USE_NLS!$USE_NLS$ac_delim
- GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
- MSGFMT!$MSGFMT$ac_delim
- GMSGFMT!$GMSGFMT$ac_delim
- MSGFMT_015!$MSGFMT_015$ac_delim
- GMSGFMT_015!$GMSGFMT_015$ac_delim
- XGETTEXT!$XGETTEXT$ac_delim
- XGETTEXT_015!$XGETTEXT_015$ac_delim
- MSGMERGE!$MSGMERGE$ac_delim
- XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
- CC!$CC$ac_delim
- CFLAGS!$CFLAGS$ac_delim
- LDFLAGS!$LDFLAGS$ac_delim
- CPPFLAGS!$CPPFLAGS$ac_delim
- ac_ct_CC!$ac_ct_CC$ac_delim
- EXEEXT!$EXEEXT$ac_delim
- OBJEXT!$OBJEXT$ac_delim
- DEPDIR!$DEPDIR$ac_delim
- am__include!$am__include$ac_delim
- am__quote!$am__quote$ac_delim
- AMDEP_TRUE!$AMDEP_TRUE$ac_delim
- AMDEP_FALSE!$AMDEP_FALSE$ac_delim
- AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
- CCDEPMODE!$CCDEPMODE$ac_delim
- am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
- am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
- _ACEOF
- if test `sed -n "s/.*$ac_delim$/X/p" conf$$subs.sed | grep -c X` = 97; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
- echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
- if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
- fi
- cat >>$CONFIG_STATUS <<_ACEOF
- cat >"$tmp/subs-1.sed" <<CEOF$ac_eof
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- _ACEOF
- sed '
- s/[,\&]/\&/g; s/@/@|#_!!_#|/g
- s/^/s,@/; s/!/@,|#_!!_#|/
- :n
- t n
- s/'"$ac_delim"'$/,g/; t
- s/$/\/; p
- N; s/^.*n//; s/[,\&]/\&/g; s/@/@|#_!!_#|/g; b n
- ' >>$CONFIG_STATUS <conf$$subs.sed
- rm -f conf$$subs.sed
- cat >>$CONFIG_STATUS <<_ACEOF
- CEOF$ac_eof
- _ACEOF
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
- INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
- LIBICONV!$LIBICONV$ac_delim
- LTLIBICONV!$LTLIBICONV$ac_delim
- INTLLIBS!$INTLLIBS$ac_delim
- LIBINTL!$LIBINTL$ac_delim
- LTLIBINTL!$LTLIBINTL$ac_delim
- POSUB!$POSUB$ac_delim
- CXX!$CXX$ac_delim
- CXXFLAGS!$CXXFLAGS$ac_delim
- ac_ct_CXX!$ac_ct_CXX$ac_delim
- CXXDEPMODE!$CXXDEPMODE$ac_delim
- am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
- am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
- CPP!$CPP$ac_delim
- CXXCPP!$CXXCPP$ac_delim
- SED!$SED$ac_delim
- GREP!$GREP$ac_delim
- EGREP!$EGREP$ac_delim
- LN_S!$LN_S$ac_delim
- ECHO!$ECHO$ac_delim
- AR!$AR$ac_delim
- RANLIB!$RANLIB$ac_delim
- DSYMUTIL!$DSYMUTIL$ac_delim
- NMEDIT!$NMEDIT$ac_delim
- F77!$F77$ac_delim
- FFLAGS!$FFLAGS$ac_delim
- ac_ct_F77!$ac_ct_F77$ac_delim
- LIBTOOL!$LIBTOOL$ac_delim
- SPICELIB!$SPICELIB$ac_delim
- ENABLE_SPICE_TRUE!$ENABLE_SPICE_TRUE$ac_delim
- ENABLE_SPICE_FALSE!$ENABLE_SPICE_FALSE$ac_delim
- WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
- HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
- unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
- unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
- USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
- USE_RTTI!$USE_RTTI$ac_delim
- NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
- NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
- ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
- LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
- LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
- KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
- KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
- KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
- KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
- KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
- KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
- KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
- XMKMF!$XMKMF$ac_delim
- X_CFLAGS!$X_CFLAGS$ac_delim
- X_PRE_LIBS!$X_PRE_LIBS$ac_delim
- X_LIBS!$X_LIBS$ac_delim
- X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
- PKG_CONFIG!$PKG_CONFIG$ac_delim
- ENABLE_GLUT_TRUE!$ENABLE_GLUT_TRUE$ac_delim
- ENABLE_GLUT_FALSE!$ENABLE_GLUT_FALSE$ac_delim
- GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
- GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
- GTK_CFLAGS!$GTK_CFLAGS$ac_delim
- GTK_LIBS!$GTK_LIBS$ac_delim
- GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
- GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
- CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
- CAIRO_LIBS!$CAIRO_LIBS$ac_delim
- ENABLE_GTK_TRUE!$ENABLE_GTK_TRUE$ac_delim
- ENABLE_GTK_FALSE!$ENABLE_GTK_FALSE$ac_delim
- ENABLE_GNOME_TRUE!$ENABLE_GNOME_TRUE$ac_delim
- ENABLE_GNOME_FALSE!$ENABLE_GNOME_FALSE$ac_delim
- include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
- include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
- KDE_PLUGIN!$KDE_PLUGIN$ac_delim
- KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
- LIBUTIL!$LIBUTIL$ac_delim
- LIBCOMPAT!$LIBCOMPAT$ac_delim
- LIBCRYPT!$LIBCRYPT$ac_delim
- LIBRESOLV!$LIBRESOLV$ac_delim
- LIB_POLL!$LIB_POLL$ac_delim
- FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
- LIBSOCKET!$LIBSOCKET$ac_delim
- LIBUCB!$LIBUCB$ac_delim
- LIBDL!$LIBDL$ac_delim
- KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
- KDE_USE_PIE!$KDE_USE_PIE$ac_delim
- include_x11_TRUE!$include_x11_TRUE$ac_delim
- include_x11_FALSE!$include_x11_FALSE$ac_delim
- LIB_X11!$LIB_X11$ac_delim
- LIB_XRENDER!$LIB_XRENDER$ac_delim
- LIBSM!$LIBSM$ac_delim
- X_INCLUDES!$X_INCLUDES$ac_delim
- X_LDFLAGS!$X_LDFLAGS$ac_delim
- x_includes!$x_includes$ac_delim
- x_libraries!$x_libraries$ac_delim
- QTE_NORTTI!$QTE_NORTTI$ac_delim
- LIB_XEXT!$LIB_XEXT$ac_delim
- LIBPTHREAD!$LIBPTHREAD$ac_delim
- USE_THREADS!$USE_THREADS$ac_delim
- _ACEOF
- if test `sed -n "s/.*$ac_delim$/X/p" conf$$subs.sed | grep -c X` = 97; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
- echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
- if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
- fi
- cat >>$CONFIG_STATUS <<_ACEOF
- cat >"$tmp/subs-2.sed" <<CEOF$ac_eof
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- _ACEOF
- sed '
- s/[,\&]/\&/g; s/@/@|#_!!_#|/g
- s/^/s,@/; s/!/@,|#_!!_#|/
- :n
- t n
- s/'"$ac_delim"'$/,g/; t
- s/$/\/; p
- N; s/^.*n//; s/[,\&]/\&/g; s/@/@|#_!!_#|/g; b n
- ' >>$CONFIG_STATUS <conf$$subs.sed
- rm -f conf$$subs.sed
- cat >>$CONFIG_STATUS <<_ACEOF
- CEOF$ac_eof
- _ACEOF
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
- KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
- KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
- USER_INCLUDES!$USER_INCLUDES$ac_delim
- USER_LDFLAGS!$USER_LDFLAGS$ac_delim
- LIBZ!$LIBZ$ac_delim
- LIBPNG!$LIBPNG$ac_delim
- LIBJPEG!$LIBJPEG$ac_delim
- qt_libraries!$qt_libraries$ac_delim
- qt_includes!$qt_includes$ac_delim
- QT_INCLUDES!$QT_INCLUDES$ac_delim
- QT_LDFLAGS!$QT_LDFLAGS$ac_delim
- PERL!$PERL$ac_delim
- MOC!$MOC$ac_delim
- UIC!$UIC$ac_delim
- UIC_TR!$UIC_TR$ac_delim
- LIB_QT!$LIB_QT$ac_delim
- LIB_QPE!$LIB_QPE$ac_delim
- kde_qtver!$kde_qtver$ac_delim
- KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
- KDE_RPATH!$KDE_RPATH$ac_delim
- X_RPATH!$X_RPATH$ac_delim
- kde_libraries!$kde_libraries$ac_delim
- kde_includes!$kde_includes$ac_delim
- KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
- KDE_INCLUDES!$KDE_INCLUDES$ac_delim
- all_includes!$all_includes$ac_delim
- all_libraries!$all_libraries$ac_delim
- AUTODIRS!$AUTODIRS$ac_delim
- MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
- KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
- KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
- DCOPIDLNG!$DCOPIDLNG$ac_delim
- DCOPIDL!$DCOPIDL$ac_delim
- DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
- DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
- MCOPIDL!$MCOPIDL$ac_delim
- ARTSCCONFIG!$ARTSCCONFIG$ac_delim
- MEINPROC!$MEINPROC$ac_delim
- KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
- XMLLINT!$XMLLINT$ac_delim
- kde_htmldir!$kde_htmldir$ac_delim
- kde_appsdir!$kde_appsdir$ac_delim
- kde_icondir!$kde_icondir$ac_delim
- kde_sounddir!$kde_sounddir$ac_delim
- kde_datadir!$kde_datadir$ac_delim
- kde_locale!$kde_locale$ac_delim
- kde_confdir!$kde_confdir$ac_delim
- kde_kcfgdir!$kde_kcfgdir$ac_delim
- kde_mimedir!$kde_mimedir$ac_delim
- kde_wallpaperdir!$kde_wallpaperdir$ac_delim
- kde_bindir!$kde_bindir$ac_delim
- xdg_appsdir!$xdg_appsdir$ac_delim
- xdg_menudir!$xdg_menudir$ac_delim
- xdg_directorydir!$xdg_directorydir$ac_delim
- kde_templatesdir!$kde_templatesdir$ac_delim
- kde_servicesdir!$kde_servicesdir$ac_delim
- kde_servicetypesdir!$kde_servicetypesdir$ac_delim
- kde_moduledir!$kde_moduledir$ac_delim
- kdeinitdir!$kdeinitdir$ac_delim
- kde_styledir!$kde_styledir$ac_delim
- kde_widgetdir!$kde_widgetdir$ac_delim
- LIB_KDED!$LIB_KDED$ac_delim
- LIB_KDECORE!$LIB_KDECORE$ac_delim
- LIB_KDEUI!$LIB_KDEUI$ac_delim
- LIB_KIO!$LIB_KIO$ac_delim
- LIB_KJS!$LIB_KJS$ac_delim
- LIB_SMB!$LIB_SMB$ac_delim
- LIB_KAB!$LIB_KAB$ac_delim
- LIB_KABC!$LIB_KABC$ac_delim
- LIB_KHTML!$LIB_KHTML$ac_delim
- LIB_KSPELL!$LIB_KSPELL$ac_delim
- LIB_KPARTS!$LIB_KPARTS$ac_delim
- LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
- LIB_KUTILS!$LIB_KUTILS$ac_delim
- LIB_KDEPIM!$LIB_KDEPIM$ac_delim
- LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
- LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
- LIB_KDNSSD!$LIB_KDNSSD$ac_delim
- LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
- LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
- LIB_KFILE!$LIB_KFILE$ac_delim
- LIB_KFM!$LIB_KFM$ac_delim
- ENABLE_KDE_TRUE!$ENABLE_KDE_TRUE$ac_delim
- ENABLE_KDE_FALSE!$ENABLE_KDE_FALSE$ac_delim
- THEORA_CFLAGS!$THEORA_CFLAGS$ac_delim
- THEORA_LIBS!$THEORA_LIBS$ac_delim
- ENABLE_THEORA_TRUE!$ENABLE_THEORA_TRUE$ac_delim
- ENABLE_THEORA_FALSE!$ENABLE_THEORA_FALSE$ac_delim
- PKGDATADIR!$PKGDATADIR$ac_delim
- HIPDIR!$HIPDIR$ac_delim
- ENABLE_HIPPARCOS_TRUE!$ENABLE_HIPPARCOS_TRUE$ac_delim
- ENABLE_HIPPARCOS_FALSE!$ENABLE_HIPPARCOS_FALSE$ac_delim
- LUA_CFLAGS!$LUA_CFLAGS$ac_delim
- LUA_LIBS!$LUA_LIBS$ac_delim
- LUALIB_CFLAGS!$LUALIB_CFLAGS$ac_delim
- LUALIB_LIBS!$LUALIB_LIBS$ac_delim
- ENABLE_CELX_TRUE!$ENABLE_CELX_TRUE$ac_delim
- _ACEOF
- if test `sed -n "s/.*$ac_delim$/X/p" conf$$subs.sed | grep -c X` = 97; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
- echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
- if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
- fi
- cat >>$CONFIG_STATUS <<_ACEOF
- cat >"$tmp/subs-3.sed" <<CEOF$ac_eof
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- _ACEOF
- sed '
- s/[,\&]/\&/g; s/@/@|#_!!_#|/g
- s/^/s,@/; s/!/@,|#_!!_#|/
- :n
- t n
- s/'"$ac_delim"'$/,g/; t
- s/$/\/; p
- N; s/^.*n//; s/[,\&]/\&/g; s/@/@|#_!!_#|/g; b n
- ' >>$CONFIG_STATUS <conf$$subs.sed
- rm -f conf$$subs.sed
- cat >>$CONFIG_STATUS <<_ACEOF
- CEOF$ac_eof
- _ACEOF
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
- ENABLE_CELX_FALSE!$ENABLE_CELX_FALSE$ac_delim
- LIBOBJS!$LIBOBJS$ac_delim
- LTLIBOBJS!$LTLIBOBJS$ac_delim
- _ACEOF
- if test `sed -n "s/.*$ac_delim$/X/p" conf$$subs.sed | grep -c X` = 3; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
- echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
- if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
- fi
- cat >>$CONFIG_STATUS <<_ACEOF
- cat >"$tmp/subs-4.sed" <<CEOF$ac_eof
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
- _ACEOF
- sed '
- s/[,\&]/\&/g; s/@/@|#_!!_#|/g
- s/^/s,@/; s/!/@,|#_!!_#|/
- :n
- t n
- s/'"$ac_delim"'$/,g/; t
- s/$/\/; p
- N; s/^.*n//; s/[,\&]/\&/g; s/@/@|#_!!_#|/g; b n
- ' >>$CONFIG_STATUS <conf$$subs.sed
- rm -f conf$$subs.sed
- cat >>$CONFIG_STATUS <<_ACEOF
- :end
- s/|#_!!_#|//g
- CEOF$ac_eof
- _ACEOF
- # VPATH may cause trouble with some makes, so we remove $(srcdir),
- # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
- # trailing colons and then remove the whole line if VPATH becomes empty
- # (actually we leave an empty line to preserve line numbers).
- if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
- s/:*$(srcdir):*/:/
- s/:*${srcdir}:*/:/
- s/:*@srcdir@:*/:/
- s/^([^=]*=[ ]*):*/1/
- s/:*$//
- s/^[^=]*=[ ]*$//
- }'
- fi
- cat >>$CONFIG_STATUS <<_ACEOF
- fi # test -n "$CONFIG_FILES"
- for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
- do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
- echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
- echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
- echo "$as_me: creating $ac_file" >&6;}
- fi
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
- ac_dir=`$as_dirname -- "$ac_file" ||
- $as_expr X"$ac_file" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$ac_file" : 'X(//)[^/]' |
- X"$ac_file" : 'X(//)$' |
- X"$ac_file" : 'X(/)' | . 2>/dev/null ||
- echo X"$ac_file" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
- $as_expr X"$as_dir" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$as_dir" : 'X(//)[^/]' |
- X"$as_dir" : 'X(//)$' |
- X"$as_dir" : 'X(/)' | . 2>/dev/null ||
- echo X"$as_dir" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
- echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
- esac
- ac_abs_top_builddir=$ac_pwd
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
- # for backward compatibility:
- ac_top_builddir=$ac_top_build_prefix
- case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\/]* | ?:[\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- esac
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
- case $INSTALL in
- [\/$]* | ?:[\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\/$]* | ?:[\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- # If the template does not know about datarootdir, expand it.
- # FIXME: This hack should be removed a few years after 2.60.
- ac_datarootdir_hack=; ac_datarootdir_seen=
- case `sed -n '/datarootdir/ {
- p
- q
- }
- /@datadir@/p
- /@docdir@/p
- /@infodir@/p
- /@localedir@/p
- /@mandir@/p
- ' $ac_file_inputs` in
- *datarootdir*) ac_datarootdir_seen=yes;;
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\${datarootdir}&$datarootdir&g' ;;
- esac
- _ACEOF
- # Neutralize VPATH when `$srcdir' = `.'.
- # Shell code in configure.ac might set extrasub.
- # FIXME: do we really want to maintain this feature?
- cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
- $extrasub
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- s&@configure_input@&$configure_input&;t t
- s&@top_builddir@&$ac_top_builddir_sub&;t t
- s&@srcdir@&$ac_srcdir&;t t
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
- s&@top_srcdir@&$ac_top_srcdir&;t t
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
- s&@builddir@&$ac_builddir&;t t
- s&@abs_builddir@&$ac_abs_builddir&;t t
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- s&@INSTALL@&$ac_INSTALL&;t t
- s&@MKDIR_P@&$ac_MKDIR_P&;t t
- $ac_datarootdir_hack
- " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" >$tmp/out
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable `datarootdir'
- which seems to be undefined. Please make sure it is defined." >&5
- echo "$as_me: WARNING: $ac_file contains a reference to the variable `datarootdir'
- which seems to be undefined. Please make sure it is defined." >&2;}
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- _ACEOF
- # Transform confdefs.h into a sed script `conftest.defines', that
- # substitutes the proper values into config.h.in to produce config.h.
- rm -f conftest.defines conftest.tail
- # First, append a space to every undef/define line, to ease matching.
- echo 's/$/ /' >conftest.defines
- # Then, protect against being on the right side of a sed subst, or in
- # an unquoted here document, in config.status. If some macros were
- # called several times there might be several #defines for the same
- # symbol, which is useless. But do not sort them, since the last
- # AC_DEFINE must be honored.
- ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
- # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
- # NAME is the cpp macro being defined, VALUE is the value it is being given.
- # PARAMS is the parameter list in the macro definition--in most cases, it's
- # just an empty string.
- ac_dA='s,^\([ #]*\)[^ ]*\([ ]*'
- ac_dB='\)[ (].*,\1define\2'
- ac_dC=' '
- ac_dD=' ,'
- uniq confdefs.h |
- sed -n '
- t rset
- :rset
- s/^[ ]*#[ ]*define[ ][ ]*//
- t ok
- d
- :ok
- s/[\&,]/\&/g
- s/^('"$ac_word_re"')(([^()]*))[ ]*(.*)/ '"$ac_dA"'1'"$ac_dB"'2'"${ac_dC}"'3'"$ac_dD"'/p
- s/^('"$ac_word_re"')[ ]*(.*)/'"$ac_dA"'1'"$ac_dB$ac_dC"'2'"$ac_dD"'/p
- ' >>conftest.defines
- # Remove the space that was appended to ease matching.
- # Then 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.
- # (The regexp can be short, since the line contains either #define or #undef.)
- echo 's/ $//
- s,^[ #]*u.*,/* & */,' >>conftest.defines
- # Break up conftest.defines:
- ac_max_sed_lines=50
- # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
- # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
- # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
- # et cetera.
- ac_in='$ac_file_inputs'
- ac_out='"$tmp/out1"'
- ac_nxt='"$tmp/out2"'
- while :
- do
- # Write a here document:
- cat >>$CONFIG_STATUS <<_ACEOF
- # First, check the format of the line:
- cat >"$tmp/defines.sed" <<\CEOF
- /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*$/b def
- /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
- b
- :def
- _ACEOF
- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
- echo 'CEOF
- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
- grep . conftest.tail >/dev/null || break
- rm -f conftest.defines
- mv conftest.tail conftest.defines
- done
- rm -f conftest.defines conftest.tail
- echo "ac_result=$ac_in" >>$CONFIG_STATUS
- cat >>$CONFIG_STATUS <<_ACEOF
- if test x"$ac_file" != x-; then
- echo "/* $configure_input */" >"$tmp/config.h"
- cat "$ac_result" >>"$tmp/config.h"
- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
- echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f $ac_file
- mv "$tmp/config.h" $ac_file
- fi
- else
- echo "/* $configure_input */"
- cat "$ac_result"
- fi
- rm -f "$tmp/out12"
- # Compute $ac_file's index in $config_headers.
- _am_arg=$ac_file
- _am_stamp_count=1
- for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
- done
- echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
- $as_expr X"$_am_arg" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$_am_arg" : 'X(//)[^/]' |
- X"$_am_arg" : 'X(//)$' |
- X"$_am_arg" : 'X(/)' | . 2>/dev/null ||
- echo X"$_am_arg" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
- echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
- case $ac_file$ac_mode in
- "po-directories":C)
- for ac_file in $CONFIG_FILES; do
- # Support "outfile[:infile[:infile...]]"
- case "$ac_file" in
- *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- esac
- # PO directories have a Makefile.in generated from Makefile.in.in.
- case "$ac_file" in */Makefile.in)
- # Adjust a relative srcdir.
- ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
- ac_dir_suffix="/`echo "$ac_dir"|sed 's%^./%%'`"
- ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
- # In autoconf-2.13 it is called $ac_given_srcdir.
- # In autoconf-2.50 it is called $srcdir.
- test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
- case "$ac_given_srcdir" in
- .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
- /*) top_srcdir="$ac_given_srcdir" ;;
- *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
- # Treat a directory as a PO directory if and only if it has a
- # POTFILES.in file. This allows packages to have multiple PO
- # directories under different names or in different locations.
- if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
- rm -f "$ac_dir/POTFILES"
- test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
- cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*$/d" -e "s,.*, $top_srcdir/& \\," | sed -e "$s/(.*) \\/1/" > "$ac_dir/POTFILES"
- POMAKEFILEDEPS="POTFILES.in"
- # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
- # on $ac_dir but don't depend on user-specified configuration
- # parameters.
- if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
- # The LINGUAS file contains the set of available languages.
- if test -n "$OBSOLETE_ALL_LINGUAS"; then
- test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
- fi
- ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
- eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
- POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
- else
- # The set of available languages was given in configure.in.
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
- eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
- fi
- # Compute POFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
- # Compute UPDATEPOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
- # Compute DUMMYPOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
- # Compute GMOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
- case "$ac_given_srcdir" in
- .) srcdirpre= ;;
- *) srcdirpre='$(srcdir)/' ;;
- esac
- POFILES=
- UPDATEPOFILES=
- DUMMYPOFILES=
- GMOFILES=
- for lang in $ALL_LINGUAS; do
- POFILES="$POFILES $srcdirpre$lang.po"
- UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
- DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
- GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
- done
- # CATALOGS depends on both $ac_dir and the user's LINGUAS
- # environment variable.
- INST_LINGUAS=
- if test -n "$ALL_LINGUAS"; then
- for presentlang in $ALL_LINGUAS; do
- useit=no
- if test "%UNSET%" != "$LINGUAS"; then
- desiredlanguages="$LINGUAS"
- else
- desiredlanguages="$ALL_LINGUAS"
- fi
- for desiredlang in $desiredlanguages; do
- # Use the presentlang catalog if desiredlang is
- # a. equal to presentlang, or
- # b. a variant of presentlang (because in this case,
- # presentlang can be used as a fallback for messages
- # which are not translated in the desiredlang catalog).
- case "$desiredlang" in
- "$presentlang"*) useit=yes;;
- esac
- done
- if test $useit = yes; then
- INST_LINGUAS="$INST_LINGUAS $presentlang"
- fi
- done
- fi
- CATALOGS=
- if test -n "$INST_LINGUAS"; then
- for lang in $INST_LINGUAS; do
- CATALOGS="$CATALOGS $lang.gmo"
- done
- fi
- test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
- sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
- for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
- if test -f "$f"; then
- case "$f" in
- *.orig | *.bak | *~) ;;
- *) cat "$f" >> "$ac_dir/Makefile" ;;
- esac
- fi
- done
- fi
- ;;
- esac
- done ;;
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
- $as_expr X"$mf" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$mf" : 'X(//)[^/]' |
- X"$mf" : 'X(//)$' |
- X"$mf" : 'X(/)' | . 2>/dev/null ||
- echo X"$mf" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote(.*(DEPDIR).*)$am__quote"'$/1/p' <"$mf" |
- sed -e 's/$(DEPDIR)/'"$DEPDIR"'/g' -e 's/$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
- $as_expr X"$file" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$file" : 'X(//)[^/]' |
- X"$file" : 'X(//)$' |
- X"$file" : 'X(/)' | . 2>/dev/null ||
- echo X"$file" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
- $as_expr X"$as_dir" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$as_dir" : 'X(//)[^/]' |
- X"$as_dir" : 'X(//)$' |
- X"$as_dir" : 'X(/)' | . 2>/dev/null ||
- echo X"$as_dir" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
- echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
- ;;
- esac
- done # for ac_tag
- { (exit 0); exit 0; }
- _ACEOF
- chmod +x $CONFIG_STATUS
- ac_clean_files=$ac_clean_files_save
- # configure is writing to config.log, and then calls config.status.
- # config.status does its own redirection, appending to config.log.
- # Unfortunately, on DOS this fails, as config.log is still kept open
- # by configure, so config.status won't be able to write to it; its
- # output is simply discarded. So we exec the FD to /dev/null,
- # effectively closing config.log, so it can be properly (re)opened and
- # appended to by config.status. When coming back to configure, we
- # need to make the FD available again.
- if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
- fi
- { echo "$as_me:$LINENO: result: " >&5
- echo "${ECHO_T}" >&6; }
- { echo "$as_me:$LINENO: result: " >&5
- echo "${ECHO_T}" >&6; }
- { echo "$as_me:$LINENO: result: ***************************************************************" >&5
- echo "${ECHO_T}***************************************************************" >&6; }
- { echo "$as_me:$LINENO: result: ** Celestia configuration complete. Now do a 'make' followed **" >&5
- echo "${ECHO_T}** Celestia configuration complete. Now do a 'make' followed **" >&6; }
- { echo "$as_me:$LINENO: result: ** by 'make install' **" >&5
- echo "${ECHO_T}** by 'make install' **" >&6; }
- { echo "$as_me:$LINENO: result: ***************************************************************" >&5
- echo "${ECHO_T}***************************************************************" >&6; }
- { echo "$as_me:$LINENO: result: " >&5
- echo "${ECHO_T}" >&6; }
- if (test "$ui_glut" = "yes"); then
- { echo "$as_me:$LINENO: result: Front-End: GLUT" >&5
- echo "${ECHO_T}Front-End: GLUT" >&6; };
- fi
- if (test "$ui_gtk" = "yes" -a "$ui_gnome" = "no"); then
- { echo "$as_me:$LINENO: result: Front-End: GTK" >&5
- echo "${ECHO_T}Front-End: GTK" >&6; };
- fi
- if (test "$ui_gnome" = "yes"); then
- { echo "$as_me:$LINENO: result: Front-End: Gnome" >&5
- echo "${ECHO_T}Front-End: Gnome" >&6; };
- fi
- if (test "$ui_kde" = "yes"); then
- { echo "$as_me:$LINENO: result: Front-End: KDE" >&5
- echo "${ECHO_T}Front-End: KDE" >&6; };
- fi
- if (test "$ui_gtk" = "yes" -o "$ui_gnome" = "yes"); then
- { echo "$as_me:$LINENO: result: Use Cairo: $enable_cairo" >&5
- echo "${ECHO_T}Use Cairo: $enable_cairo" >&6; };
- fi
- { echo "$as_me:$LINENO: result: Use Lua: $enable_lua" >&5
- echo "${ECHO_T}Use Lua: $enable_lua" >&6; };
- if (test "$LUA_VER" = "0x050000"); then
- { echo "$as_me:$LINENO: result: Warning: Lua 5.1 is not available on your system, Lua 5.0 will be used
- instead but it may not be fully compatible with existing CELX scripts.
- It is recommanded that you install Lua 5.0 and rerun configure." >&5
- echo "${ECHO_T} Warning: Lua 5.1 is not available on your system, Lua 5.0 will be used
- instead but it may not be fully compatible with existing CELX scripts.
- It is recommanded that you install Lua 5.0 and rerun configure." >&6; };
- fi
- { echo "$as_me:$LINENO: result: Use Theora: $enable_theora" >&5
- echo "${ECHO_T}Use Theora: $enable_theora" >&6; };
- { echo "$as_me:$LINENO: result: " >&5
- echo "${ECHO_T}" >&6; }