2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="cpu.c"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
679 program_transform_name
692 enable_option_checking
706 ac_precious_vars
='build_alias
718 # Initialize some variables set by options.
720 ac_init_version
=false
721 ac_unrecognized_opts
=
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
732 program_transform_name
=s
,x
,x
,
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir
='${exec_prefix}/bin'
747 sbindir
='${exec_prefix}/sbin'
748 libexecdir
='${exec_prefix}/libexec'
749 datarootdir
='${prefix}/share'
750 datadir
='${datarootdir}'
751 sysconfdir
='${prefix}/etc'
752 sharedstatedir
='${prefix}/com'
753 localstatedir
='${prefix}/var'
754 includedir
='${prefix}/include'
755 oldincludedir
='/usr/include'
756 docdir
='${datarootdir}/doc/${PACKAGE}'
757 infodir
='${datarootdir}/info'
762 libdir
='${exec_prefix}/lib'
763 localedir
='${datarootdir}/locale'
764 mandir
='${datarootdir}/man'
770 # If the previous option needs an argument, assign it.
771 if test -n "$ac_prev"; then
772 eval $ac_prev=\
$ac_option
778 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
794 -build |
--build |
--buil |
--bui |
--bu)
795 ac_prev
=build_alias
;;
796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
797 build_alias
=$ac_optarg ;;
799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
801 ac_prev
=cache_file
;;
802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
804 cache_file
=$ac_optarg ;;
807 cache_file
=config.cache
;;
809 -datadir |
--datadir |
--datadi |
--datad)
811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
812 datadir
=$ac_optarg ;;
814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
815 |
--dataroo |
--dataro |
--datar)
816 ac_prev
=datarootdir
;;
817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
819 datarootdir
=$ac_optarg ;;
821 -disable-* |
--disable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error $?
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=no
;;
837 -docdir |
--docdir |
--docdi |
--doc |
--do)
839 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
842 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
844 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
847 -enable-* |
--enable-*)
848 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
851 as_fn_error $?
"invalid feature name: $ac_useropt"
852 ac_useropt_orig
=$ac_useropt
853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859 ac_unrecognized_sep
=', ';;
861 eval enable_
$ac_useropt=\
$ac_optarg ;;
863 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
864 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
865 |
--exec |
--exe |
--ex)
866 ac_prev
=exec_prefix
;;
867 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
868 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
869 |
--exec=* |
--exe=* |
--ex=*)
870 exec_prefix
=$ac_optarg ;;
872 -gas |
--gas |
--ga |
--g)
873 # Obsolete; use --with-gas.
876 -help |
--help |
--hel |
--he |
-h)
878 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
879 ac_init_help
=recursive
;;
880 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
881 ac_init_help
=short
;;
883 -host |
--host |
--hos |
--ho)
884 ac_prev
=host_alias
;;
885 -host=* |
--host=* |
--hos=* |
--ho=*)
886 host_alias
=$ac_optarg ;;
888 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
890 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
892 htmldir
=$ac_optarg ;;
894 -includedir |
--includedir |
--includedi |
--included |
--include \
895 |
--includ |
--inclu |
--incl |
--inc)
896 ac_prev
=includedir
;;
897 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
898 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
899 includedir
=$ac_optarg ;;
901 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
903 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
904 infodir
=$ac_optarg ;;
906 -libdir |
--libdir |
--libdi |
--libd)
908 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
911 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
912 |
--libexe |
--libex |
--libe)
913 ac_prev
=libexecdir
;;
914 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
915 |
--libexe=* |
--libex=* |
--libe=*)
916 libexecdir
=$ac_optarg ;;
918 -localedir |
--localedir |
--localedi |
--localed |
--locale)
920 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
921 localedir
=$ac_optarg ;;
923 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
924 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
925 ac_prev
=localstatedir
;;
926 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
927 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
928 localstatedir
=$ac_optarg ;;
930 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
932 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
936 # Obsolete; use --without-fp.
939 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
940 |
--no-cr |
--no-c |
-n)
943 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
944 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
947 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
948 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
949 |
--oldin |
--oldi |
--old |
--ol |
--o)
950 ac_prev
=oldincludedir
;;
951 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
952 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
953 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
954 oldincludedir
=$ac_optarg ;;
956 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
958 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
961 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
962 |
--program-pre |
--program-pr |
--program-p)
963 ac_prev
=program_prefix
;;
964 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
965 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
966 program_prefix
=$ac_optarg ;;
968 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
969 |
--program-suf |
--program-su |
--program-s)
970 ac_prev
=program_suffix
;;
971 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
972 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
973 program_suffix
=$ac_optarg ;;
975 -program-transform-name |
--program-transform-name \
976 |
--program-transform-nam |
--program-transform-na \
977 |
--program-transform-n |
--program-transform- \
978 |
--program-transform |
--program-transfor \
979 |
--program-transfo |
--program-transf \
980 |
--program-trans |
--program-tran \
981 |
--progr-tra |
--program-tr |
--program-t)
982 ac_prev
=program_transform_name
;;
983 -program-transform-name=* |
--program-transform-name=* \
984 |
--program-transform-nam=* |
--program-transform-na=* \
985 |
--program-transform-n=* |
--program-transform-=* \
986 |
--program-transform=* |
--program-transfor=* \
987 |
--program-transfo=* |
--program-transf=* \
988 |
--program-trans=* |
--program-tran=* \
989 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
990 program_transform_name
=$ac_optarg ;;
992 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
994 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
997 -psdir |
--psdir |
--psdi |
--psd |
--ps)
999 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1002 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1003 |
-silent |
--silent |
--silen |
--sile |
--sil)
1006 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1008 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1010 sbindir
=$ac_optarg ;;
1012 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1013 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1014 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1016 ac_prev
=sharedstatedir
;;
1017 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1018 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1019 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1021 sharedstatedir
=$ac_optarg ;;
1023 -site |
--site |
--sit)
1025 -site=* |
--site=* |
--sit=*)
1028 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1030 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1031 srcdir
=$ac_optarg ;;
1033 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1034 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1035 ac_prev
=sysconfdir
;;
1036 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1037 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1038 sysconfdir
=$ac_optarg ;;
1040 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1041 ac_prev
=target_alias
;;
1042 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1043 target_alias
=$ac_optarg ;;
1045 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1048 -version |
--version |
--versio |
--versi |
--vers |
-V)
1049 ac_init_version
=: ;;
1052 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=\
$ac_optarg ;;
1067 -without-* |
--without-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid package name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval with_
$ac_useropt=no
;;
1084 # Obsolete; use --with-x.
1087 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1088 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1089 ac_prev
=x_includes
;;
1090 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1091 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1092 x_includes
=$ac_optarg ;;
1094 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1095 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1096 ac_prev
=x_libraries
;;
1097 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1098 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1099 x_libraries
=$ac_optarg ;;
1101 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1102 Try \`$0 --help' for more information"
1106 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1107 # Reject names that are not valid shell variable names.
1108 case $ac_envvar in #(
1109 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1110 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1112 eval $ac_envvar=\
$ac_optarg
1113 export $ac_envvar ;;
1116 # FIXME: should be removed in autoconf 3.0.
1117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126 if test -n "$ac_prev"; then
1127 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1128 as_fn_error $?
"missing argument to $ac_option"
1131 if test -n "$ac_unrecognized_opts"; then
1132 case $enable_option_checking in
1134 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 # Check all directory arguments for consistency.
1140 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141 datadir sysconfdir sharedstatedir localstatedir includedir \
1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143 libdir localedir mandir
1145 eval ac_val
=\$
$ac_var
1146 # Remove trailing slashes.
1149 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1150 eval $ac_var=\
$ac_val;;
1152 # Be sure to have absolute directory names.
1154 [\\/$
]* | ?
:[\\/]* ) continue;;
1155 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1157 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1160 # There might be people who depend on the old broken behavior: `$host'
1161 # used to hold the argument of --host etc.
1162 # FIXME: To remove some day.
1165 target
=$target_alias
1167 # FIXME: To remove some day.
1168 if test "x$host_alias" != x
; then
1169 if test "x$build_alias" = x
; then
1170 cross_compiling
=maybe
1171 elif test "x$build_alias" != "x$host_alias"; then
1177 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1179 test "$silent" = yes && exec 6>/dev
/null
1182 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di
=`ls -di .` &&
1184 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1185 as_fn_error $?
"working directory cannot be determined"
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 as_fn_error $?
"pwd does not report name of working directory"
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted
=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir
=`$as_dirname -- "$as_myself" ||
1195 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$as_myself" : 'X\(//\)[^/]' \| \
1197 X"$as_myself" : 'X\(//\)$' \| \
1198 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199 $as_echo X"$as_myself" |
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted
=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1226 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1228 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 # When building in place, set srcdir=.
1233 if test "$ac_abs_confdir" = "$ac_pwd"; then
1236 # Remove unnecessary trailing slashes from srcdir.
1237 # Double slashes in file names in object file debugging info
1238 # mess up M-x gdb in Emacs.
1240 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 for ac_var
in $ac_precious_vars; do
1243 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1244 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1245 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1250 # Report the --help message.
1252 if test "$ac_init_help" = "long"; then
1253 # Omit some internal or obsolete options to make the list less imposing.
1254 # This message is too long to be a string in the A/UX 3.1 sh.
1256 \`configure' configures this package to adapt to many kinds of systems.
1258 Usage: $0 [OPTION]... [VAR=VALUE]...
1260 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261 VAR=VALUE. See below for descriptions of some of the useful variables.
1263 Defaults for the options are specified in brackets.
1266 -h, --help display this help and exit
1267 --help=short display options specific to this package
1268 --help=recursive display the short help of all the included packages
1269 -V, --version display version information and exit
1270 -q, --quiet, --silent do not print \`checking ...' messages
1271 --cache-file=FILE cache test results in FILE [disabled]
1272 -C, --config-cache alias for \`--cache-file=config.cache'
1273 -n, --no-create do not create output files
1274 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1276 Installation directories:
1277 --prefix=PREFIX install architecture-independent files in PREFIX
1278 [$ac_default_prefix]
1279 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 By default, \`make install' will install all the files in
1283 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285 for instance \`--prefix=\$HOME'.
1287 For better control, use the options below.
1289 Fine tuning of the installation directories:
1290 --bindir=DIR user executables [EPREFIX/bin]
1291 --sbindir=DIR system admin executables [EPREFIX/sbin]
1292 --libexecdir=DIR program executables [EPREFIX/libexec]
1293 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296 --libdir=DIR object code libraries [EPREFIX/lib]
1297 --includedir=DIR C header files [PREFIX/include]
1298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301 --infodir=DIR info documentation [DATAROOTDIR/info]
1302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303 --mandir=DIR man documentation [DATAROOTDIR/man]
1304 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1305 --htmldir=DIR html documentation [DOCDIR]
1306 --dvidir=DIR dvi documentation [DOCDIR]
1307 --pdfdir=DIR pdf documentation [DOCDIR]
1308 --psdir=DIR ps documentation [DOCDIR]
1314 --x-includes=DIR X include files are
in DIR
1315 --x-libraries=DIR X library files are
in DIR
1319 if test -n "$ac_init_help"; then
1324 --disable-option-checking ignore unrecognized
--enable/--with options
1325 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1326 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1327 --enable-warnings enable selected compiler warnings
1328 --enable-debug include debugging symbols
1329 --enable-profile enable performance profiling
1330 --enable-arch compile
for specific
host cpu architecture
1331 --enable-optimize=LEVEL
select optimization level
(full
,low
,none
)
1332 --enable-asm use hand-optimized asm cores
1335 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1336 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1337 --with-fb build framebuffer device interface
1338 --with-svgalib build Linux svgalib interface
1339 --with-sdl build SDL interface
1340 --with-sdl2 build SDL2 interface
1341 --with-sound=no
,oss
,sdl
,ao
select sound interface
1342 --with-x use the X Window System
1344 Some influential environment variables
:
1345 CC C compiler
command
1346 CFLAGS C compiler flags
1347 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1348 nonstandard directory
<lib dir
>
1349 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1350 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1351 you have headers
in a nonstandard directory
<include dir
>
1353 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1355 Use these variables to override the choices made by
`configure' or to help
1356 it to find libraries and programs with nonstandard names/locations.
1358 Report bugs to the package provider.
1363 if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help.
1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1366 test -d "$ac_dir" ||
1367 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1375 # A ".." for each directory in $ac_dir_suffix.
1376 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1377 case $ac_top_builddir_sub in
1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 ac_abs_top_builddir=$ac_pwd
1383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1384 # for backward compatibility:
1385 ac_top_builddir=$ac_top_build_prefix
1388 .) # We are building in place.
1390 ac_top_srcdir=$ac_top_builddir_sub
1391 ac_abs_top_srcdir=$ac_pwd ;;
1392 [\\/]* | ?:[\\/]* ) # Absolute name.
1393 ac_srcdir=$srcdir$ac_dir_suffix;
1394 ac_top_srcdir=$srcdir
1395 ac_abs_top_srcdir=$srcdir ;;
1397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1398 ac_top_srcdir=$ac_top_build_prefix$srcdir
1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403 cd "$ac_dir" || { ac_status=$?; continue; }
1404 # Check for guested configure.
1405 if test -f "$ac_srcdir/configure.gnu"; then
1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1408 elif test -f "$ac_srcdir/configure"; then
1410 $SHELL "$ac_srcdir/configure" --help=recursive
1412 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414 cd "$ac_pwd" || { ac_status=$?; break; }
1418 test -n "$ac_init_help" && exit $ac_status
1419 if $ac_init_version; then
1422 generated by GNU Autoconf 2.69
1424 Copyright (C) 2012 Free Software Foundation, Inc.
1425 This configure script is free software; the Free Software Foundation
1426 gives unlimited permission to copy, distribute and modify it.
1431 ## ------------------------ ##
1432 ## Autoconf initialization. ##
1433 ## ------------------------ ##
1435 # ac_fn_c_try_compile LINENO
1436 # --------------------------
1437 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1438 ac_fn_c_try_compile ()
1440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1441 rm -f conftest.$ac_objext
1442 if { { ac_try="$ac_compile"
1444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1445 *) ac_try_echo
=$ac_try;;
1447 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_compile") 2>conftest.err
1451 if test -s conftest.err
; then
1452 grep -v '^ *+' conftest.err
>conftest.er1
1453 cat conftest.er1
>&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } && {
1458 test -z "$ac_c_werror_flag" ||
1459 test ! -s conftest.err
1460 } && test -s conftest.
$ac_objext; then :
1463 $as_echo "$as_me: failed program was:" >&5
1464 sed 's/^/| /' conftest.
$ac_ext >&5
1468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1469 as_fn_set_status
$ac_retval
1471 } # ac_fn_c_try_compile
1473 # ac_fn_c_try_cpp LINENO
1474 # ----------------------
1475 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1478 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1479 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1482 *) ac_try_echo=$ac_try;;
1484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1488 if test -s conftest.err; then
1489 grep -v '^ *+' conftest.err >conftest.er1
1490 cat conftest.er1 >&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } > conftest.i && {
1495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.$ac_ext >&5
1505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 as_fn_set_status $ac_retval
1510 # ac_fn_c_try_run LINENO
1511 # ----------------------
1512 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1513 # that executables *can* be run.
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 if { { ac_try="$ac_link"
1519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1520 *) ac_try_echo
=$ac_try;;
1522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_link") 2>&5
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1528 { { case "(($ac_try" in
1529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_try") 2>&5
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; }; }; then :
1540 $as_echo "$as_me: program exited with status $ac_status" >&5
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1544 ac_retval=$ac_status
1546 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548 as_fn_set_status $ac_retval
1552 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1553 # -------------------------------------------------------
1554 # Tests whether HEADER exists and can be compiled using the include files in
1555 # INCLUDES, setting the cache variable VAR accordingly.
1556 ac_fn_c_check_header_compile ()
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1560 $as_echo_n "checking for $2... " >&6; }
1561 if eval \${$3+:} false; then :
1562 $as_echo_n "(cached) " >&6
1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1565 /* end confdefs.h. */
1569 if ac_fn_c_try_compile "$LINENO"; then :
1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1578 $as_echo "$ac_res" >&6; }
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 } # ac_fn_c_check_header_compile
1583 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1584 # -------------------------------------------------------
1585 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1586 # the include files in INCLUDES and setting the cache variable VAR
1588 ac_fn_c_check_header_mongrel ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 if eval \${$3+:} false; then :
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1599 $as_echo "$ac_res" >&6; }
1601 # Is the header compilable?
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1603 $as_echo_n "checking $2 usability... " >&6; }
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1609 if ac_fn_c_try_compile "$LINENO"; then :
1610 ac_header_compiler=yes
1612 ac_header_compiler=no
1614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1616 $as_echo "$ac_header_compiler" >&6; }
1618 # Is the header present?
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1620 $as_echo_n "checking $2 presence... " >&6; }
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1625 if ac_fn_c_try_cpp "$LINENO"; then :
1626 ac_header_preproc=yes
1628 ac_header_preproc=no
1630 rm -f conftest.err conftest.i conftest.$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1632 $as_echo "$ac_header_preproc" >&6; }
1634 # So? What about this header?
1635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1638 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1644 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1646 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1648 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1650 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1660 eval "$3=\$ac_header_compiler"
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 } # ac_fn_c_check_header_mongrel
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext conftest$ac_exeext
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>conftest.err
1686 if test -s conftest.err
; then
1687 grep -v '^ *+' conftest.err
>conftest.er1
1688 cat conftest.er1
>&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest
$ac_exeext && {
1696 test "$cross_compiling" = yes ||
1697 test -x conftest
$ac_exeext
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708 # interfere with the next link command; also delete a directory that is
1709 # left behind by Apple's compiler. We do this before executing the actions.
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status
$ac_retval
1714 } # ac_fn_c_try_link
1716 # ac_fn_c_check_func LINENO FUNC VAR
1717 # ----------------------------------
1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1719 ac_fn_c_check_func
()
1721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \
${$3+:} false
; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1731 #define $2 innocuous_$2
1733 /* System header to define __stub macros and hopefully few prototypes,
1734 which can conflict with char $2 (); below.
1735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1736 <limits.h> exists even on freestanding compilers. */
1739 # include <limits.h>
1741 # include <assert.h>
1746 /* Override any GCC internal prototype to avoid an error.
1747 Use char because int might match the return type of a GCC
1748 builtin and then its argument prototype would still apply. */
1753 /* The GNU C library defines this for functions which it implements
1754 to always fail with ENOSYS. Some functions are actually named
1755 something starting with __ and the normal name is an alias. */
1756 #if defined __stub_$2 || defined __stub___$2
1768 if ac_fn_c_try_link
"$LINENO"; then :
1773 rm -f core conftest.err conftest.
$ac_objext \
1774 conftest
$ac_exeext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_func
1782 cat >config.log
<<_ACEOF
1783 This file contains any messages produced by compilers while
1784 running configure, to aid debugging if configure makes a mistake.
1786 It was created by $as_me, which was
1787 generated by GNU Autoconf 2.69. Invocation command line was
1799 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1800 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1801 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1802 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1803 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1805 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1806 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1808 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1809 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1810 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1811 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1812 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1813 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1814 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir
=.
1823 $as_echo "PATH: $as_dir"
1839 # Keep a trace of the command line.
1840 # Strip out --no-create and --no-recursion so they do not pile up.
1841 # Strip out --silent because we don't want to record it for future runs.
1842 # Also quote any args containing shell meta-characters.
1843 # Make two passes to allow for proper duplicate-argument suppression.
1847 ac_must_keep_next
=false
1853 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1854 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1855 |
-silent |
--silent |
--silen |
--sile |
--sil)
1858 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1861 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1863 as_fn_append ac_configure_args1
" '$ac_arg'"
1864 if test $ac_must_keep_next = true
; then
1865 ac_must_keep_next
=false
# Got value, back to normal.
1868 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1869 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1870 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1871 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1872 case "$ac_configure_args0 " in
1873 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1876 -* ) ac_must_keep_next
=true
;;
1879 as_fn_append ac_configure_args
" '$ac_arg'"
1884 { ac_configure_args0
=; unset ac_configure_args0
;}
1885 { ac_configure_args1
=; unset ac_configure_args1
;}
1887 # When interrupted or exit'd, cleanup temporary files, and complete
1888 # config.log. We remove comments because anyway the quotes in there
1889 # would cause problems or look ugly.
1890 # WARNING: Use '\'' to represent an apostrophe within the trap.
1891 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1892 trap 'exit_status=$?
1893 # Save into config.log some information that might help in debugging.
1897 $as_echo "## ---------------- ##
1898 ## Cache variables. ##
1899 ## ---------------- ##"
1901 # The following way of writing the cache mishandles newlines in values,
1903 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1904 eval ac_val=\$$ac_var
1908 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1909 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1912 _ | IFS | as_nl) ;; #(
1913 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1914 *) { eval $ac_var=; unset $ac_var;} ;;
1919 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1920 *${as_nl}ac_space=\ *)
1922 "s/'\''/'\''\\\\'\'''\''/g;
1923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1933 $as_echo "## ----------------- ##
1934 ## Output variables. ##
1935 ## ----------------- ##"
1937 for ac_var in $ac_subst_vars
1939 eval ac_val=\$$ac_var
1941 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1943 $as_echo "$ac_var='\''$ac_val'\''"
1947 if test -n "$ac_subst_files"; then
1948 $as_echo "## ------------------- ##
1949 ## File substitutions. ##
1950 ## ------------------- ##"
1952 for ac_var
in $ac_subst_files
1954 eval ac_val
=\$
$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -s confdefs.h; then
1964 $as_echo "## ----------- ##
1971 test "$ac_signal" != 0 &&
1972 $as_echo "$as_me: caught signal $ac_signal"
1973 $as_echo "$as_me: exit $exit_status"
1975 rm -f core *.core core.conftest.* &&
1976 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1979 for ac_signal
in 1 2 13 15; do
1980 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1984 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1985 rm -f -r conftest
* confdefs.h
1987 $as_echo "/* confdefs.h */" > confdefs.h
1989 # Predefined preprocessor variables.
1991 cat >>confdefs.h
<<_ACEOF
1992 #define PACKAGE_NAME "$PACKAGE_NAME"
1995 cat >>confdefs.h
<<_ACEOF
1996 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1999 cat >>confdefs.h
<<_ACEOF
2000 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2003 cat >>confdefs.h
<<_ACEOF
2004 #define PACKAGE_STRING "$PACKAGE_STRING"
2007 cat >>confdefs.h
<<_ACEOF
2008 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2011 cat >>confdefs.h
<<_ACEOF
2012 #define PACKAGE_URL "$PACKAGE_URL"
2016 # Let the site file select an alternate cache file if it wants to.
2017 # Prefer an explicitly selected file to automatically selected ones.
2020 if test -n "$CONFIG_SITE"; then
2021 # We do not want a PATH search for config.site.
2022 case $CONFIG_SITE in #((
2023 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2024 */*) ac_site_file1
=$CONFIG_SITE;;
2025 *) ac_site_file1
=.
/$CONFIG_SITE;;
2027 elif test "x$prefix" != xNONE
; then
2028 ac_site_file1
=$prefix/share
/config.site
2029 ac_site_file2
=$prefix/etc
/config.site
2031 ac_site_file1
=$ac_default_prefix/share
/config.site
2032 ac_site_file2
=$ac_default_prefix/etc
/config.site
2034 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2036 test "x$ac_site_file" = xNONE
&& continue
2037 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2039 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2040 sed 's/^/| /' "$ac_site_file" >&5
2042 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044 as_fn_error $?
"failed to load site script $ac_site_file
2045 See \`config.log' for more details" "$LINENO" 5; }
2049 if test -r "$cache_file"; then
2050 # Some versions of bash will fail to source /dev/null (special files
2051 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2052 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2054 $as_echo "$as_me: loading cache $cache_file" >&6;}
2056 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2057 *) .
"./$cache_file";;
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2062 $as_echo "$as_me: creating cache $cache_file" >&6;}
2066 # Check that the precious variables saved in the cache have kept the same
2068 ac_cache_corrupted
=false
2069 for ac_var
in $ac_precious_vars; do
2070 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2071 eval ac_new_set
=\
$ac_env_${ac_var}_set
2072 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2073 eval ac_new_val
=\
$ac_env_${ac_var}_value
2074 case $ac_old_set,$ac_new_set in
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2077 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2078 ac_cache_corrupted
=: ;;
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2081 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2082 ac_cache_corrupted
=: ;;
2085 if test "x$ac_old_val" != "x$ac_new_val"; then
2086 # differences in whitespace do not lead to failure.
2087 ac_old_val_w
=`echo x $ac_old_val`
2088 ac_new_val_w
=`echo x $ac_new_val`
2089 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2091 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2092 ac_cache_corrupted
=:
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2095 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2096 eval $ac_var=\
$ac_old_val
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2099 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2101 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2104 # Pass precious variables to config.status.
2105 if test "$ac_new_set" = set; then
2107 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 *) ac_arg
=$ac_var=$ac_new_val ;;
2110 case " $ac_configure_args " in
2111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2112 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2116 if $ac_cache_corrupted; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2120 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2121 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2123 ## -------------------- ##
2124 ## Main body of script. ##
2125 ## -------------------- ##
2128 ac_cpp
='$CPP $CPPFLAGS'
2129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2136 # if user sets custom CFLAGS, don't enforce our optimization flags
2137 test -n "$CFLAGS" && enable_optimize
=no
2141 ac_cpp
='$CPP $CPPFLAGS'
2142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_CC+:} false
; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC
="$CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 if test -n "$CC"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2176 $as_echo "$CC" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2184 if test -z "$ac_cv_prog_CC"; then
2186 # Extract the first word of "gcc", so it can be a program name with args.
2187 set dummy gcc
; ac_word
=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2191 $as_echo_n "(cached) " >&6
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC
="gcc"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2214 if test -n "$ac_ct_CC"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2216 $as_echo "$ac_ct_CC" >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2222 if test "x$ac_ct_CC" = x
; then
2225 case $cross_compiling:$ac_tool_warned in
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2229 ac_tool_warned
=yes ;;
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2240 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if ${ac_cv_prog_CC+:} false
; then :
2244 $as_echo_n "(cached) " >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir
=.
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2256 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 if test -n "$CC"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2269 $as_echo "$CC" >&6; }
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2272 $as_echo "no" >&6; }
2278 if test -z "$CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc
; ac_word
=$2
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2282 $as_echo_n "checking for $ac_word... " >&6; }
2283 if ${ac_cv_prog_CC+:} false
; then :
2284 $as_echo_n "(cached) " >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC
="$CC" # Let the user override the test.
2290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir
=.
2295 for ac_exec_ext
in '' $ac_executable_extensions; do
2296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2298 ac_prog_rejected
=yes
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 if test $ac_prog_rejected = yes; then
2310 # We found a bogon in the path, so make sure we never use it.
2311 set dummy
$ac_cv_prog_CC
2313 if test $# != 0; then
2314 # We chose a different compiler from the bogus one.
2315 # However, it has the same basename, so the bogon will be chosen
2316 # first if we set CC to just the basename; use the full file name.
2318 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2324 if test -n "$CC"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2326 $as_echo "$CC" >&6; }
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2334 if test -z "$CC"; then
2335 if test -n "$ac_tool_prefix"; then
2336 for ac_prog
in cl.exe
2338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2341 $as_echo_n "checking for $ac_word... " >&6; }
2342 if ${ac_cv_prog_CC+:} false
; then :
2343 $as_echo_n "(cached) " >&6
2345 if test -n "$CC"; then
2346 ac_cv_prog_CC
="$CC" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 if test -n "$CC"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2368 $as_echo "$CC" >&6; }
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2371 $as_echo "no" >&6; }
2375 test -n "$CC" && break
2378 if test -z "$CC"; then
2380 for ac_prog
in cl.exe
2382 # Extract the first word of "$ac_prog", so it can be a program name with args.
2383 set dummy
$ac_prog; ac_word
=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$ac_ct_CC"; then
2390 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 for ac_exec_ext
in '' $ac_executable_extensions; do
2398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_ac_ct_CC
="$ac_prog"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2412 $as_echo "$ac_ct_CC" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2419 test -n "$ac_ct_CC" && break
2422 if test "x$ac_ct_CC" = x
; then
2425 case $cross_compiling:$ac_tool_warned in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429 ac_tool_warned
=yes ;;
2438 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 as_fn_error $?
"no acceptable C compiler found in \$PATH
2441 See \`config.log' for more details" "$LINENO" 5; }
2443 # Provide some information about the compiler.
2444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2447 for ac_option
in --version -v -V -qversion; do
2448 { { ac_try
="$ac_compiler $ac_option >&5"
2450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2457 if test -s conftest.err; then
2459 ... rest of stderr output deleted ...
2460 10q' conftest.err >conftest.er1
2461 cat conftest.er1 >&5
2463 rm -f conftest.er1 conftest.err
2464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465 test $ac_status = 0; }
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2479 ac_clean_files_save=$ac_clean_files
2480 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2481 # Try to create an executable without -o first, disregard a.out.
2482 # It will help us diagnose broken compilers, and finding out an intuition
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2485 $as_echo_n "checking whether the C compiler works... " >&6; }
2486 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2488 # The possible output files:
2489 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2492 for ac_file in $ac_files
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2496 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2501 if { { ac_try="$ac_link_default"
2503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2504 *) ac_try_echo
=$ac_try;;
2506 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link_default") 2>&5
2510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2511 test $ac_status = 0; }; then :
2512 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2513 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2514 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2515 # so that the user can short-circuit this test for compilers unknown to
2517 for ac_file
in $ac_files ''
2519 test -f "$ac_file" ||
continue
2521 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2524 # We found the default executable, but exeext='' is most
2528 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2530 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # We set ac_cv_exeext here because the later test for it is not
2533 # safe: cross compilers may not add the suffix if given an `-o'
2534 # argument, so we may need to know it at that point already.
2535 # Even if this section looks crufty: it has the advantage of
2542 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2547 if test -z "$ac_file"; then :
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.
$ac_ext >&5
2553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error
77 "C compiler cannot create executables
2556 See \`config.log' for more details" "$LINENO" 5; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2562 $as_echo_n "checking for C compiler default output file name... " >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2564 $as_echo "$ac_file" >&6; }
2565 ac_exeext
=$ac_cv_exeext
2567 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2568 ac_clean_files
=$ac_clean_files_save
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2570 $as_echo_n "checking for suffix of executables... " >&6; }
2571 if { { ac_try
="$ac_link"
2573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_link") 2>&5
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }; then :
2582 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2583 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2584 # work properly (i.e., refer to `conftest.exe'), while it won't with
2586 for ac_file
in conftest.exe conftest conftest.
*; do
2587 test -f "$ac_file" ||
continue
2589 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2590 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2599 See \`config.log' for more details" "$LINENO" 5; }
2601 rm -f conftest conftest
$ac_cv_exeext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2603 $as_echo "$ac_cv_exeext" >&6; }
2605 rm -f conftest.
$ac_ext
2606 EXEEXT
=$ac_cv_exeext
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2614 FILE *f = fopen ("conftest.out", "w");
2615 return ferror (f) || fclose (f) != 0;
2621 ac_clean_files
="$ac_clean_files conftest.out"
2622 # Check that the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2625 $as_echo_n "checking whether we are cross compiling... " >&6; }
2626 if test "$cross_compiling" != yes; then
2627 { { ac_try
="$ac_link"
2629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633 $as_echo "$ac_try_echo"; } >&5
2634 (eval "$ac_link") 2>&5
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; }
2638 if { ac_try='./conftest$ac_cv_exeext'
2639 { { case "(($ac_try" in
2640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2641 *) ac_try_echo
=$ac_try;;
2643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_try") 2>&5
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; }; }; then
2651 if test "$cross_compiling" = maybe
; then
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error $?
"cannot run C compiled programs.
2657 If you meant to cross compile, use \`--host'.
2658 See \`config.log' for more details" "$LINENO" 5; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2663 $as_echo "$cross_compiling" >&6; }
2665 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2666 ac_clean_files
=$ac_clean_files_save
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2668 $as_echo_n "checking for suffix of object files... " >&6; }
2669 if ${ac_cv_objext+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2683 rm -f conftest.o conftest.obj
2684 if { { ac_try
="$ac_compile"
2686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_compile") 2>&5
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; then :
2695 for ac_file in conftest.o conftest.obj conftest.*; do
2696 test -f "$ac_file" || continue;
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2704 $as_echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2710 See \
`config.log' for more details" "$LINENO" 5; }
2712 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2715 $as_echo "$ac_cv_objext" >&6; }
2716 OBJEXT=$ac_cv_objext
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2719 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2720 if ${ac_cv_c_compiler_gnu+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2737 if ac_fn_c_try_compile "$LINENO"; then :
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2747 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2748 if test $ac_compiler_gnu = yes; then
2753 ac_test_CFLAGS=${CFLAGS+set}
2754 ac_save_CFLAGS=$CFLAGS
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2756 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2757 if ${ac_cv_prog_cc_g+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 ac_save_c_werror_flag=$ac_c_werror_flag
2761 ac_c_werror_flag=yes
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2775 if ac_fn_c_try_compile "$LINENO"; then :
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2790 if ac_fn_c_try_compile "$LINENO"; then :
2793 ac_c_werror_flag=$ac_save_c_werror_flag
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2806 if ac_fn_c_try_compile "$LINENO"; then :
2809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 ac_c_werror_flag=$ac_save_c_werror_flag
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2817 $as_echo "$ac_cv_prog_cc_g" >&6; }
2818 if test "$ac_test_CFLAGS" = set; then
2819 CFLAGS=$ac_save_CFLAGS
2820 elif test $ac_cv_prog_cc_g = yes; then
2821 if test "$GCC" = yes; then
2827 if test "$GCC" = yes; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2834 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2835 if ${ac_cv_prog_cc_c89+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 ac_cv_prog_cc_c89=no
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2845 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2846 struct buf { int x; };
2847 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2848 static char *e (p, i)
2854 static char *f (char * (*g) (char **, int), char **p, ...)
2859 s = g (p, va_arg (v,int));
2864 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2865 function prototypes and stuff, but not '\xHH' hex character constants.
2866 These don't provoke an error unfortunately, instead are silently treated
2867 as 'x'. The following induces an error, until -std is added to get
2868 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2869 array size at least. It's necessary to write '\x00'==0 to get something
2870 that's true only with -std. */
2871 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2873 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2874 inside strings and character constants. */
2876 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2878 int test (int i, double x);
2879 struct s1 {int (*f) (int a);};
2880 struct s2 {int (*f) (double a);};
2881 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2887 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2892 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2893 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2895 CC="$ac_save_CC $ac_arg"
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 ac_cv_prog_cc_c89=$ac_arg
2899 rm -f core conftest.err conftest.$ac_objext
2900 test "x$ac_cv_prog_cc_c89" != "xno" && break
2902 rm -f conftest.$ac_ext
2907 case "x$ac_cv_prog_cc_c89" in
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2910 $as_echo "none needed" >&6; } ;;
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2913 $as_echo "unsupported" >&6; } ;;
2915 CC="$CC $ac_cv_prog_cc_c89"
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2917 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2919 if test "x$ac_cv_prog_cc_c89" != xno; then :
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2930 ac_cpp='$CPP $CPPFLAGS'
2931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2935 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2936 # On Suns, sometimes $CPP names a directory.
2937 if test -n "$CPP" && test -d "$CPP"; then
2940 if test -z "$CPP"; then
2941 if ${ac_cv_prog_CPP+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 # Double quotes because CPP needs to be expanded
2945 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2948 for ac_c_preproc_warn_flag in '' yes
2950 # Use a header file that comes with gcc, so configuring glibc
2951 # with a fresh cross-compiler works.
2952 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2953 # <limits.h> exists even on freestanding compilers.
2954 # On the NeXT, cc -E runs the code through the compiler's parser,
2955 # not just through cpp. "Syntax error" is here to catch this case.
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2959 # include <limits.h>
2961 # include <assert.h>
2965 if ac_fn_c_try_cpp "$LINENO"; then :
2968 # Broken: fails on valid input.
2971 rm -f conftest.err conftest.i conftest.$ac_ext
2973 # OK, works on sane cases. Now check whether nonexistent headers
2974 # can be detected and how.
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 #include <ac_nonexistent.h>
2979 if ac_fn_c_try_cpp "$LINENO"; then :
2980 # Broken: success on invalid input.
2983 # Passes both tests.
2987 rm -f conftest.err conftest.i conftest.$ac_ext
2990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2991 rm -f conftest.i conftest.err conftest.
$ac_ext
2992 if $ac_preproc_ok; then :
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3005 $as_echo "$CPP" >&6; }
3007 for ac_c_preproc_warn_flag
in '' yes
3009 # Use a header file that comes with gcc, so configuring glibc
3010 # with a fresh cross-compiler works.
3011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3012 # <limits.h> exists even on freestanding compilers.
3013 # On the NeXT, cc -E runs the code through the compiler's parser,
3014 # not just through cpp. "Syntax error" is here to catch this case.
3015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3018 # include <limits.h>
3020 # include <assert.h>
3024 if ac_fn_c_try_cpp
"$LINENO"; then :
3027 # Broken: fails on valid input.
3030 rm -f conftest.err conftest.i conftest.
$ac_ext
3032 # OK, works on sane cases. Now check whether nonexistent headers
3033 # can be detected and how.
3034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3036 #include <ac_nonexistent.h>
3038 if ac_fn_c_try_cpp
"$LINENO"; then :
3039 # Broken: success on invalid input.
3042 # Passes both tests.
3046 rm -f conftest.err conftest.i conftest.
$ac_ext
3049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3050 rm -f conftest.i conftest.err conftest.
$ac_ext
3051 if $ac_preproc_ok; then :
3054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3057 See \`config.log' for more details" "$LINENO" 5; }
3061 ac_cpp
='$CPP $CPPFLAGS'
3062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3067 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3068 if test -f "$ac_dir/install-sh"; then
3070 ac_install_sh
="$ac_aux_dir/install-sh -c"
3072 elif test -f "$ac_dir/install.sh"; then
3074 ac_install_sh
="$ac_aux_dir/install.sh -c"
3076 elif test -f "$ac_dir/shtool"; then
3078 ac_install_sh
="$ac_aux_dir/shtool install -c"
3082 if test -z "$ac_aux_dir"; then
3083 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3086 # These three variables are undocumented and unsupported,
3087 # and are intended to be withdrawn in a future Autoconf release.
3088 # They can cause serious problems if a builder's source tree is in a directory
3089 # whose full name contains unusual characters.
3090 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3091 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3092 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3095 # Find a good install program. We prefer a C program (faster),
3096 # so one script is as good as another. But avoid the broken or
3097 # incompatible versions:
3098 # SysV /etc/install, /usr/sbin/install
3099 # SunOS /usr/etc/install
3100 # IRIX /sbin/install
3102 # AmigaOS /C/install, which installs bootblocks on floppy discs
3103 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3104 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3105 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3106 # OS/2's system install, which has a completely different semantic
3107 # ./install, which can be erroneously created by make from ./install.sh.
3108 # Reject install programs that cannot install multiple files.
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3110 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3111 if test -z "$INSTALL"; then
3112 if ${ac_cv_path_install+:} false
; then :
3113 $as_echo_n "(cached) " >&6
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 # Account for people who put trailing slashes in PATH elements.
3121 case $as_dir/ in #((
3122 .
/ | .
// |
/[cC
]/* | \
3123 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3124 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3127 # OSF1 and SCO ODT 3.0 have their own names for install.
3128 # Don't use installbsd from OSF since it installs stuff as root
3130 for ac_prog
in ginstall scoinst
install; do
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3133 if test $ac_prog = install &&
3134 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3135 # AIX install. It has an incompatible calling convention.
3137 elif test $ac_prog = install &&
3138 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3139 # program-specific install script used by HP pwplus--don't use.
3142 rm -rf conftest.one conftest.two conftest.dir
3143 echo one
> conftest.one
3144 echo two
> conftest.two
3146 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3147 test -s conftest.one
&& test -s conftest.two
&&
3148 test -s conftest.dir
/conftest.one
&&
3149 test -s conftest.dir
/conftest.two
3151 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3164 rm -rf conftest.one conftest.two conftest.dir
3167 if test "${ac_cv_path_install+set}" = set; then
3168 INSTALL
=$ac_cv_path_install
3170 # As a last resort, use the slow shell script. Don't cache a
3171 # value for INSTALL within a source directory, because that will
3172 # break other packages using the cache if that directory is
3173 # removed, or if the value is a relative name.
3174 INSTALL
=$ac_install_sh
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3178 $as_echo "$INSTALL" >&6; }
3180 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3181 # It thinks the first close brace ends the variable substitution.
3182 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3184 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3186 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3189 old_cflags
="$CFLAGS"
3190 CFLAGS
="$CFLAGS -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings"
3192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3203 if ac_fn_c_try_compile
"$LINENO"; then :
3206 CFLAGS
="$old_cflags"
3208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3210 test "$cross_compiling" = "yes" ||
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3213 if ${ac_cv_path_GREP+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -z "$GREP"; then
3217 ac_path_GREP_found
=false
3218 # Loop through the user's path and test for each of PROGNAME-LIST
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_prog
in grep ggrep
; do
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3227 as_fn_executable_p
"$ac_path_GREP" ||
continue
3228 # Check for GNU ac_path_GREP and select it if it is found.
3229 # Check for GNU $ac_path_GREP
3230 case `"$ac_path_GREP" --version 2>&1` in
3232 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3235 $as_echo_n 0123456789 >"conftest.in"
3238 cat "conftest.in" "conftest.in" >"conftest.tmp"
3239 mv "conftest.tmp" "conftest.in"
3240 cp "conftest.in" "conftest.nl"
3241 $as_echo 'GREP' >> "conftest.nl"
3242 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3243 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3244 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3245 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3246 # Best one so far, save it but keep looking for a better one
3247 ac_cv_path_GREP
="$ac_path_GREP"
3248 ac_path_GREP_max
=$ac_count
3250 # 10*(2^10) chars as input seems more than enough
3251 test $ac_count -gt 10 && break
3253 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3256 $ac_path_GREP_found && break 3
3261 if test -z "$ac_cv_path_GREP"; then
3262 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3265 ac_cv_path_GREP
=$GREP
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3270 $as_echo "$ac_cv_path_GREP" >&6; }
3271 GREP
="$ac_cv_path_GREP"
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3275 $as_echo_n "checking for egrep... " >&6; }
3276 if ${ac_cv_path_EGREP+:} false
; then :
3277 $as_echo_n "(cached) " >&6
3279 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3280 then ac_cv_path_EGREP
="$GREP -E"
3282 if test -z "$EGREP"; then
3283 ac_path_EGREP_found
=false
3284 # Loop through the user's path and test for each of PROGNAME-LIST
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_prog
in egrep; do
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3293 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3294 # Check for GNU ac_path_EGREP and select it if it is found.
3295 # Check for GNU $ac_path_EGREP
3296 case `"$ac_path_EGREP" --version 2>&1` in
3298 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3301 $as_echo_n 0123456789 >"conftest.in"
3304 cat "conftest.in" "conftest.in" >"conftest.tmp"
3305 mv "conftest.tmp" "conftest.in"
3306 cp "conftest.in" "conftest.nl"
3307 $as_echo 'EGREP' >> "conftest.nl"
3308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3309 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3310 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3312 # Best one so far, save it but keep looking for a better one
3313 ac_cv_path_EGREP
="$ac_path_EGREP"
3314 ac_path_EGREP_max
=$ac_count
3316 # 10*(2^10) chars as input seems more than enough
3317 test $ac_count -gt 10 && break
3319 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3322 $ac_path_EGREP_found && break 3
3327 if test -z "$ac_cv_path_EGREP"; then
3328 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3331 ac_cv_path_EGREP
=$EGREP
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3337 $as_echo "$ac_cv_path_EGREP" >&6; }
3338 EGREP
="$ac_cv_path_EGREP"
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3342 $as_echo_n "checking for ANSI C header files... " >&6; }
3343 if ${ac_cv_header_stdc+:} false
; then :
3344 $as_echo_n "(cached) " >&6
3346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3361 if ac_fn_c_try_compile
"$LINENO"; then :
3362 ac_cv_header_stdc
=yes
3364 ac_cv_header_stdc
=no
3366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3368 if test $ac_cv_header_stdc = yes; then
3369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3376 $EGREP "memchr" >/dev
/null
2>&1; then :
3379 ac_cv_header_stdc
=no
3385 if test $ac_cv_header_stdc = yes; then
3386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393 $EGREP "free" >/dev
/null
2>&1; then :
3396 ac_cv_header_stdc
=no
3402 if test $ac_cv_header_stdc = yes; then
3403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3404 if test "$cross_compiling" = yes; then :
3407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 #if ((' ' & 0x0FF) == 0x020)
3412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3415 # define ISLOWER(c) \
3416 (('a' <= (c) && (c) <= 'i') \
3417 || ('j' <= (c) && (c) <= 'r') \
3418 || ('s' <= (c) && (c) <= 'z'))
3419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3427 for (i = 0; i < 256; i++)
3428 if (XOR (islower (i), ISLOWER (i))
3429 || toupper (i) != TOUPPER (i))
3434 if ac_fn_c_try_run
"$LINENO"; then :
3437 ac_cv_header_stdc
=no
3439 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3440 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3446 $as_echo "$ac_cv_header_stdc" >&6; }
3447 if test $ac_cv_header_stdc = yes; then
3449 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3454 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3455 inttypes.h stdint.h unistd.h
3457 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3458 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3460 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3461 cat >>confdefs.h
<<_ACEOF
3462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3471 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3472 if ${ac_cv_c_bigendian+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_cv_c_bigendian
=unknown
3476 # See if we're dealing with a universal compiler.
3477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3479 #ifndef __APPLE_CC__
3480 not a universal capable compiler
3485 if ac_fn_c_try_compile
"$LINENO"; then :
3487 # Check for potential -arch flags. It is not universal unless
3488 # there are at least two -arch flags with different values.
3491 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3492 if test -n "$ac_prev"; then
3494 i?
86 | x86_64 | ppc | ppc64
)
3495 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3498 ac_cv_c_bigendian
=universal
3504 elif test "x$ac_word" = "x-arch"; then
3509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3510 if test $ac_cv_c_bigendian = unknown
; then
3511 # See if sys/param.h defines the BYTE_ORDER macro.
3512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 #include <sys/types.h>
3515 #include <sys/param.h>
3520 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3521 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3530 if ac_fn_c_try_compile
"$LINENO"; then :
3531 # It does; now see whether it defined to BIG_ENDIAN or not.
3532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3534 #include <sys/types.h>
3535 #include <sys/param.h>
3540 #if BYTE_ORDER != BIG_ENDIAN
3548 if ac_fn_c_try_compile
"$LINENO"; then :
3549 ac_cv_c_bigendian
=yes
3551 ac_cv_c_bigendian
=no
3553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3557 if test $ac_cv_c_bigendian = unknown
; then
3558 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3566 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3574 if ac_fn_c_try_compile
"$LINENO"; then :
3575 # It does; now see whether it defined to _BIG_ENDIAN or not.
3576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3591 if ac_fn_c_try_compile
"$LINENO"; then :
3592 ac_cv_c_bigendian
=yes
3594 ac_cv_c_bigendian
=no
3596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3600 if test $ac_cv_c_bigendian = unknown
; then
3601 # Compile a test program.
3602 if test "$cross_compiling" = yes; then :
3603 # Try to guess by grepping values from an object file.
3604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3606 short int ascii_mm[] =
3607 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3608 short int ascii_ii[] =
3609 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3610 int use_ascii (int i) {
3611 return ascii_mm[i] + ascii_ii[i];
3613 short int ebcdic_ii[] =
3614 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3615 short int ebcdic_mm[] =
3616 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3617 int use_ebcdic (int i) {
3618 return ebcdic_mm[i] + ebcdic_ii[i];
3625 return use_ascii (foo) == use_ebcdic (foo);
3630 if ac_fn_c_try_compile
"$LINENO"; then :
3631 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3632 ac_cv_c_bigendian
=yes
3634 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3635 if test "$ac_cv_c_bigendian" = unknown
; then
3636 ac_cv_c_bigendian
=no
3638 # finding both strings is unlikely to happen, but who knows?
3639 ac_cv_c_bigendian
=unknown
3643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3647 $ac_includes_default
3652 /* Are we little or big endian? From Harbison&Steele. */
3656 char c[sizeof (long int)];
3659 return u.c[sizeof (long int) - 1] == 1;
3665 if ac_fn_c_try_run
"$LINENO"; then :
3666 ac_cv_c_bigendian
=no
3668 ac_cv_c_bigendian
=yes
3670 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3671 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3677 $as_echo "$ac_cv_c_bigendian" >&6; }
3678 case $ac_cv_c_bigendian in #(
3680 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3686 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3690 as_fn_error $?
"unknown endianness
3691 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3694 test "$ac_cv_c_bigendian" = "no" && ENDIAN
="-DIS_LITTLE_ENDIAN"
3695 test "$cross_compiling" = "yes" || LIBS
="$LIBS -L/usr/X11R6/lib"
3696 test x
"$host" = x
&& host=`$CC -dumpmachine`
3700 # Check whether --with-fb was given.
3701 if test "${with_fb+set}" = set; then :
3708 # Check whether --with-svgalib was given.
3709 if test "${with_svgalib+set}" = set; then :
3710 withval
=$with_svgalib;
3716 # Check whether --with-sdl was given.
3717 if test "${with_sdl+set}" = set; then :
3724 # Check whether --with-sdl2 was given.
3725 if test "${with_sdl2+set}" = set; then :
3732 # Check whether --with-sound was given.
3733 if test "${with_sound+set}" = set; then :
3734 withval
=$with_sound;
3745 if test "$with_sound" != "no" ; then
3746 if test "$with_sound" = "yes" ||
test "$with_sound" = "ao" ; then
3747 for ac_header
in ao
/ao.h
3749 ac_fn_c_check_header_mongrel
"$LINENO" "ao/ao.h" "ac_cv_header_ao_ao_h" "$ac_includes_default"
3750 if test "x$ac_cv_header_ao_ao_h" = xyes
; then :
3751 cat >>confdefs.h
<<_ACEOF
3752 #define HAVE_AO_AO_H 1
3754 SOUND
=sys
/ao
/ao.o
; LIBS
="$LIBS -Wl,--as-needed -lao -Wl,--no-as-needed"
3760 if test -z "$SOUND" && ( test "$with_sound" = "yes" ||
test "$with_sound" = "sdl" ) ; then
3761 for ac_header
in SDL
/SDL.h
3763 ac_fn_c_check_header_mongrel
"$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default"
3764 if test "x$ac_cv_header_SDL_SDL_h" = xyes
; then :
3765 cat >>confdefs.h
<<_ACEOF
3766 #define HAVE_SDL_SDL_H 1
3768 SOUND
=sys
/sdl
/sdl-audio.o
; LIBS
="$LIBS -lSDL"
3774 if test -z "$SOUND" && ( test "$with_sound" = "yes" ||
test "$with_sound" = "oss" ) ; then
3775 for ac_header
in sys
/soundcard.h
3777 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
3778 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
3779 cat >>confdefs.h
<<_ACEOF
3780 #define HAVE_SYS_SOUNDCARD_H 1
3782 SOUND
=sys
/oss
/oss.o
; CPPFLAGS
="$CPPFLAGS -DHAVE_SYS_SOUNDCARD_H"
3785 for ac_header
in machine
/soundcard.h
3787 ac_fn_c_check_header_mongrel
"$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default"
3788 if test "x$ac_cv_header_machine_soundcard_h" = xyes
; then :
3789 cat >>confdefs.h
<<_ACEOF
3790 #define HAVE_MACHINE_SOUNDCARD_H 1
3792 SOUND
=sys
/oss
/oss.o
; CPPFLAGS
="$CPPFLAGS -DHAVE_MACHINE_SOUNDCARD_H"
3795 for ac_header
in soundcard.h
3797 ac_fn_c_check_header_mongrel
"$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default"
3798 if test "x$ac_cv_header_soundcard_h" = xyes
; then :
3799 cat >>confdefs.h
<<_ACEOF
3800 #define HAVE_SOUNDCARD_H 1
3802 SOUND
=sys
/oss
/oss.o
; CPPFLAGS
="$CPPFLAGS -DHAVE_SOUNDCARD_H"
3805 test "$with_sound" = "oss" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oss selected but required headers not found" >&5
3806 $as_echo "$as_me: WARNING: oss selected but required headers not found" >&2;}
3825 for ac_header
in linux
/joystick.h
3827 ac_fn_c_check_header_mongrel
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
3828 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
3829 cat >>confdefs.h
<<_ACEOF
3830 #define HAVE_LINUX_JOYSTICK_H 1
3837 test "$with_fb" = "no" ||
for ac_header
in linux
/fb.h
3839 ac_fn_c_check_header_mongrel
"$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
3840 if test "x$ac_cv_header_linux_fb_h" = xyes
; then :
3841 cat >>confdefs.h
<<_ACEOF
3842 #define HAVE_LINUX_FB_H 1
3850 test "$SOUND" || SOUND
=sys
/dummy
/nosound.o
3851 test "$JOY" || JOY
=sys
/dummy
/nojoy.o
3859 linux
) FB_OBJS
="sys/linux/fbdev.o sys/linux/kb.o sys/pc/keymap.o" ;;
3860 *) FB_OBJS
="" ; with_fb
=no
;;
3863 if test "$with_svgalib" != "no" ; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vga_init in -lvga" >&5
3865 $as_echo_n "checking for vga_init in -lvga... " >&6; }
3866 if ${ac_cv_lib_vga_vga_init+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 ac_check_lib_save_LIBS
=$LIBS
3871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3874 /* Override any GCC internal prototype to avoid an error.
3875 Use char because int might match the return type of a GCC
3876 builtin and then its argument prototype would still apply. */
3889 if ac_fn_c_try_link
"$LINENO"; then :
3890 ac_cv_lib_vga_vga_init
=yes
3892 ac_cv_lib_vga_vga_init
=no
3894 rm -f core conftest.err conftest.
$ac_objext \
3895 conftest
$ac_exeext conftest.
$ac_ext
3896 LIBS
=$ac_check_lib_save_LIBS
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vga_vga_init" >&5
3899 $as_echo "$ac_cv_lib_vga_vga_init" >&6; }
3900 if test "x$ac_cv_lib_vga_vga_init" = xyes
; then :
3902 for ac_header
in vga.h vgakeyboard.h
3904 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3905 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3906 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3907 cat >>confdefs.h
<<_ACEOF
3908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: svgalib found but headers are missing!!" >&5
3914 $as_echo "$as_me: WARNING: svgalib found but headers are missing!!" >&2;}
3927 if test "$with_sdl2" != no
; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL2" >&5
3930 $as_echo_n "checking for SDL_Init in -lSDL2... " >&6; }
3931 if ${ac_cv_lib_SDL2_SDL_Init+:} false
; then :
3932 $as_echo_n "(cached) " >&6
3934 ac_check_lib_save_LIBS
=$LIBS
3935 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
3936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3939 /* Override any GCC internal prototype to avoid an error.
3940 Use char because int might match the return type of a GCC
3941 builtin and then its argument prototype would still apply. */
3954 if ac_fn_c_try_link
"$LINENO"; then :
3955 ac_cv_lib_SDL2_SDL_Init
=yes
3957 ac_cv_lib_SDL2_SDL_Init
=no
3959 rm -f core conftest.err conftest.
$ac_objext \
3960 conftest
$ac_exeext conftest.
$ac_ext
3961 LIBS
=$ac_check_lib_save_LIBS
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL2_SDL_Init" >&5
3964 $as_echo "$ac_cv_lib_SDL2_SDL_Init" >&6; }
3965 if test "x$ac_cv_lib_SDL2_SDL_Init" = xyes
; then :
3967 for ac_header
in SDL
2/SDL.h
3969 ac_fn_c_check_header_mongrel
"$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
3970 if test "x$ac_cv_header_SDL2_SDL_h" = xyes
; then :
3971 cat >>confdefs.h
<<_ACEOF
3972 #define HAVE_SDL2_SDL_H 1
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL2 found but headers are missing!!" >&5
3980 $as_echo "$as_me: WARNING: SDL2 found but headers are missing!!" >&2;}
3994 if test "$with_sdl2" = "no" && test "$with_sdl" != "no" ; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5
3997 $as_echo_n "checking for SDL_Init in -lSDL... " >&6; }
3998 if ${ac_cv_lib_SDL_SDL_Init+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 ac_check_lib_save_LIBS
=$LIBS
4002 LIBS
="-lSDL $SDL2_LIBS $LIBS"
4003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4006 /* Override any GCC internal prototype to avoid an error.
4007 Use char because int might match the return type of a GCC
4008 builtin and then its argument prototype would still apply. */
4021 if ac_fn_c_try_link
"$LINENO"; then :
4022 ac_cv_lib_SDL_SDL_Init
=yes
4024 ac_cv_lib_SDL_SDL_Init
=no
4026 rm -f core conftest.err conftest.
$ac_objext \
4027 conftest
$ac_exeext conftest.
$ac_ext
4028 LIBS
=$ac_check_lib_save_LIBS
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_Init" >&5
4031 $as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; }
4032 if test "x$ac_cv_lib_SDL_SDL_Init" = xyes
; then :
4034 for ac_header
in SDL
/SDL.h
4036 ac_fn_c_check_header_mongrel
"$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default"
4037 if test "x$ac_cv_header_SDL_SDL_h" = xyes
; then :
4038 cat >>confdefs.h
<<_ACEOF
4039 #define HAVE_SDL_SDL_H 1
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL found but headers are missing!!" >&5
4047 $as_echo "$as_me: WARNING: SDL found but headers are missing!!" >&2;}
4063 if test "$with_sdl" != yes && test "$with_sdl2" != yes ; then
4064 for ac_func
in usleep
4066 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
4067 if test "x$ac_cv_func_usleep" = xyes
; then :
4068 cat >>confdefs.h
<<_ACEOF
4069 #define HAVE_USLEEP 1
4074 for ac_func
in select
4076 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
4077 if test "x$ac_cv_func_select" = xyes
; then :
4078 cat >>confdefs.h
<<_ACEOF
4079 #define HAVE_SELECT 1
4084 as_fn_error $?
"your system must support either usleep or select" "$LINENO" 5
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4095 $as_echo_n "checking for X... " >&6; }
4098 # Check whether --with-x was given.
4099 if test "${with_x+set}" = set; then :
4103 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4104 if test "x$with_x" = xno
; then
4105 # The user explicitly disabled X.
4108 case $x_includes,$x_libraries in #(
4109 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
4110 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 # One or both of the vars are not set, and there is no cached value.
4114 ac_x_includes
=no ac_x_libraries
=no
4115 rm -f -r conftest.dir
4116 if mkdir conftest.dir
; then
4118 cat >Imakefile
<<'_ACEOF'
4120 @echo incroot='${INCROOT}'
4122 @echo usrlibdir='${USRLIBDIR}'
4124 @echo libdir='${LIBDIR}'
4126 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
4127 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4128 for ac_var
in incroot usrlibdir libdir
; do
4129 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4131 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4132 for ac_extension
in a so sl dylib la dll
; do
4133 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4134 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4135 ac_im_usrlibdir
=$ac_im_libdir; break
4138 # Screen out bogus values from the imake configuration. They are
4139 # bogus both because they are the default anyway, and because
4140 # using them would break gcc on systems where it needs fixed includes.
4141 case $ac_im_incroot in
4142 /usr
/include
) ac_x_includes
= ;;
4143 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
4145 case $ac_im_usrlibdir in
4146 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
4147 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
4151 rm -f -r conftest.dir
4154 # Standard set of common directories for X headers.
4155 # Check X11 before X11Rn because it is often a symlink to the current release.
4169 /usr/local/X11/include
4170 /usr/local/X11R7/include
4171 /usr/local/X11R6/include
4172 /usr/local/X11R5/include
4173 /usr/local/X11R4/include
4175 /usr/local/include/X11
4176 /usr/local/include/X11R7
4177 /usr/local/include/X11R6
4178 /usr/local/include/X11R5
4179 /usr/local/include/X11R4
4183 /usr/XFree86/include/X11
4187 /usr/unsupported/include
4189 /usr/local/x11r5/include
4190 /usr/lpp/Xamples/include
4192 /usr/openwin/include
4193 /usr/openwin/share/include'
4195 if test "$ac_x_includes" = no
; then
4196 # Guess where to find include files, by looking for Xlib.h.
4197 # First, try using that file with no special directory specified.
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <X11/Xlib.h>
4202 if ac_fn_c_try_cpp
"$LINENO"; then :
4203 # We can compile using X headers with no special include directory.
4206 for ac_dir
in $ac_x_header_dirs; do
4207 if test -r "$ac_dir/X11/Xlib.h"; then
4208 ac_x_includes
=$ac_dir
4213 rm -f conftest.err conftest.i conftest.
$ac_ext
4214 fi # $ac_x_includes = no
4216 if test "$ac_x_libraries" = no
; then
4217 # Check for the libraries.
4218 # See if we find them without any special options.
4219 # Don't add to $LIBS permanently.
4222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #include <X11/Xlib.h>
4233 if ac_fn_c_try_link
"$LINENO"; then :
4235 # We can link X programs with no special library path.
4239 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4241 # Don't even attempt the hair of trying to link an X program!
4242 for ac_extension
in a so sl dylib la dll
; do
4243 if test -r "$ac_dir/libX11.$ac_extension"; then
4244 ac_x_libraries
=$ac_dir
4250 rm -f core conftest.err conftest.
$ac_objext \
4251 conftest
$ac_exeext conftest.
$ac_ext
4252 fi # $ac_x_libraries = no
4254 case $ac_x_includes,$ac_x_libraries in #(
4256 # Didn't find X, or a directory has "'" in its name.
4257 ac_cv_have_x
="have_x=no";; #(
4259 # Record where we found X for the cache.
4260 ac_cv_have_x
="have_x=yes\
4261 ac_x_includes='$ac_x_includes'\
4262 ac_x_libraries='$ac_x_libraries'"
4268 eval "$ac_cv_have_x"
4271 if test "$have_x" != yes; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4273 $as_echo "$have_x" >&6; }
4276 # If each of the values was on the command line, it overrides each guess.
4277 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
4278 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
4279 # Update the cache value to reflect the command line values.
4280 ac_cv_have_x
="have_x=yes\
4281 ac_x_includes='$x_includes'\
4282 ac_x_libraries='$x_libraries'"
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4284 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4289 if test "$no_x" != "yes" ; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
4292 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
4293 if ${ac_cv_lib_Xext_XShmCreateImage+:} false
; then :
4294 $as_echo_n "(cached) " >&6
4296 ac_check_lib_save_LIBS
=$LIBS
4298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4301 /* Override any GCC internal prototype to avoid an error.
4302 Use char because int might match the return type of a GCC
4303 builtin and then its argument prototype would still apply. */
4307 char XShmCreateImage ();
4311 return XShmCreateImage ();
4316 if ac_fn_c_try_link
"$LINENO"; then :
4317 ac_cv_lib_Xext_XShmCreateImage
=yes
4319 ac_cv_lib_Xext_XShmCreateImage
=no
4321 rm -f core conftest.err conftest.
$ac_objext \
4322 conftest
$ac_exeext conftest.
$ac_ext
4323 LIBS
=$ac_check_lib_save_LIBS
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
4326 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
4327 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes
; then :
4328 $as_echo "#define HAVE_LIBXEXT 1" >>confdefs.h
4332 for ac_header
in sys
/ipc.h sys
/shm.h X11
/Xlib.h X11
/Xutil.h X11
/keysym.h X11
/extensions
/XShm.h
4334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4335 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "
4336 #include <X11/Xlib.h>
4337 #include <X11/Xutil.h>
4338 #include <X11/keysym.h>
4339 #define _SVID_SOURCE
4340 #define _XOPEN_SOURCE
4343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4344 cat >>confdefs.h
<<_ACEOF
4345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4352 test "$x_includes" && XINCS
="-I$x_includes"
4353 test "$x_libraries" && XLIBS
="-L$x_libraries"
4360 test "$with_x" = "no" || TARGETS
="$TARGETS xgnuboy"
4361 test "$with_fb" = "no" || TARGETS
="$TARGETS fbgnuboy"
4362 test "$with_svgalib" = "no" || TARGETS
="$TARGETS sgnuboy"
4363 test "$with_sdl" = "no" || TARGETS
="$TARGETS sdlgnuboy"
4364 test "$with_sdl2" = "no" || TARGETS
="$TARGETS sdl2gnuboy"
4375 # Check whether --enable-warnings was given.
4376 if test "${enable_warnings+set}" = set; then :
4377 enableval
=$enable_warnings;
4382 # Check whether --enable-debug was given.
4383 if test "${enable_debug+set}" = set; then :
4384 enableval
=$enable_debug;
4387 # Check whether --enable-profile was given.
4388 if test "${enable_profile+set}" = set; then :
4389 enableval
=$enable_profile;
4392 # Check whether --enable-arch was given.
4393 if test "${enable_arch+set}" = set; then :
4394 enableval
=$enable_arch;
4399 # Check whether --enable-optimize was given.
4400 if test "${enable_optimize+set}" = set; then :
4401 enableval
=$enable_optimize;
4406 # Check whether --enable-asm was given.
4407 if test "${enable_asm+set}" = set; then :
4408 enableval
=$enable_asm;
4415 if test "$enable_warnings" = yes ; then
4416 case "$CC" in *gcc
*)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling selected compiler warnings" >&5
4418 $as_echo "enabling selected compiler warnings" >&6; }
4419 CFLAGS
="$CFLAGS -ansi -pedantic -Wall" ;;
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabling warnings for non-gcc compiler" >&5
4422 $as_echo "disabling warnings for non-gcc compiler" >&6; } ;;
4426 if test "$enable_debug" = yes ; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: including debugging symbols" >&5
4428 $as_echo "including debugging symbols" >&6; }
4432 if test "$enable_profile" = yes ; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling performance profiling" >&5
4434 $as_echo "enabling performance profiling" >&6; }
4435 CFLAGS
="$CFLAGS -pg"
4438 if test "$enable_arch" = yes ; then
4439 CFLAGS
="$CFLAGS -march=native"
4442 case "$enable_optimize" in
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: producing heavily optimized code" >&5
4445 $as_echo "producing heavily optimized code" >&6; }
4447 CFLAGS
="$CFLAGS -O3"
4450 x86_64
*|i?
86*) CFLAGS
="$CFLAGS -DALLOW_UNALIGNED_IO" ;;
4454 *gcc
*) CFLAGS
="$CFLAGS -fstrength-reduce -fthread-jumps \
4455 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
4456 -fexpensive-optimizations -fforce-addr" ;;
4459 if test "$enable_debug" != yes -a "$enable_profile" != yes ; then
4460 CFLAGS
="$CFLAGS -fomit-frame-pointer"
4461 LDFLAGS
="$LDFLAGS -s"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using minimal optimizations" >&5
4467 $as_echo "using minimal optimizations" >&6; }
4468 CFLAGS
="$CFLAGS -O3" ;;
4472 if test "$enable_asm" = yes ; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using optimized i386 cores" >&5
4476 $as_echo "using optimized i386 cores" >&6; }
4477 ASM
="-DUSE_ASM -I./asm/i386" ; ASM_OBJS
="asm/i386/cpu.o asm/i386/lcd.o asm/i386/refresh.s" ;;
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no optimized asm core available for $host" >&5
4480 $as_echo "no optimized asm core available for $host" >&6; } ;;
4485 *-*-mingw* |
*-*-cygwin* |
*-*-windows* ) SYS_OBJS
=sys
/windows
/windows.o
;;
4486 *-*-dos* ) SYS_OBJS
=sys
/dos
/dos.o
;;
4487 *) SYS_OBJS
=sys
/nix
/nix.o
;;
4506 ac_config_headers
="$ac_config_headers sys/nix/config.h"
4508 ac_config_files
="$ac_config_files Makefile"
4510 cat >confcache
<<\_ACEOF
4511 # This file is a shell script that caches the results of configure
4512 # tests run on this system so they can be shared between configure
4513 # scripts and configure runs, see configure's option --config-cache.
4514 # It is not useful on other systems. If it contains results you don't
4515 # want to keep, you may remove or edit it.
4517 # config.status only pays attention to the cache file if you give it
4518 # the --recheck option to rerun configure.
4520 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4521 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4526 # The following way of writing the cache mishandles newlines in values,
4527 # but we know of no workaround that is simple, portable, and efficient.
4528 # So, we kill variables containing newlines.
4529 # Ultrix sh set writes to stderr and can't be redirected directly,
4530 # and sets the high bit in the cache file unless we assign to the vars.
4532 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4533 eval ac_val
=\$
$ac_var
4537 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4538 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4541 _ | IFS | as_nl
) ;; #(
4542 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4543 *) { eval $ac_var=; unset $ac_var;} ;;
4549 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4550 *${as_nl}ac_space
=\
*)
4551 # `set' does not quote correctly, so add quotes: double-quote
4552 # substitution turns \\\\ into \\, and sed turns \\ into \.
4555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4558 # `set' quotes correctly as required by POSIX, so do not add quotes.
4559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4570 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4572 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4573 if test -w "$cache_file"; then
4574 if test "x$cache_file" != "x/dev/null"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4576 $as_echo "$as_me: updating cache $cache_file" >&6;}
4577 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4578 cat confcache
>"$cache_file"
4580 case $cache_file in #(
4582 mv -f confcache
"$cache_file"$$
&&
4583 mv -f "$cache_file"$$
"$cache_file" ;; #(
4585 mv -f confcache
"$cache_file" ;;
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4591 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4596 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4597 # Let make expand exec_prefix.
4598 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4600 DEFS
=-DHAVE_CONFIG_H
4605 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4606 # 1. Remove the extension, and $U if already installed.
4607 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4608 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4609 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4610 # will be set to the directory where LIBOBJS objects are built.
4611 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4612 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4616 LTLIBOBJS
=$ac_ltlibobjs
4621 : "${CONFIG_STATUS=./config.status}"
4623 ac_clean_files_save
=$ac_clean_files
4624 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4626 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4628 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4630 # Generated by $as_me.
4631 # Run this file to recreate the current configuration.
4632 # Compiler output produced by configure, useful for debugging
4633 # configure, is in config.log if it exists.
4639 SHELL=\${CONFIG_SHELL-$SHELL}
4642 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4643 ## -------------------- ##
4644 ## M4sh Initialization. ##
4645 ## -------------------- ##
4647 # Be more Bourne compatible
4648 DUALCASE
=1; export DUALCASE
# for MKS sh
4649 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4653 # is contrary to our usage. Disable this feature.
4654 alias -g '${1+"$@"}'='"$@"'
4655 setopt NO_GLOB_SUBST
4657 case `(set -o) 2>/dev/null` in #(
4669 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4670 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4673 # Prefer a ksh shell builtin over an external printf program on Solaris,
4674 # but without wasting forks for bash or zsh.
4675 if test -z "$BASH_VERSION$ZSH_VERSION" \
4676 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4677 as_echo='print
-r --'
4678 as_echo_n='print
-rn --'
4679 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4680 as_echo='printf %s
\n'
4681 as_echo_n='printf %s
'
4683 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4684 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4685 as_echo_n='/usr
/ucb
/echo -n'
4687 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4688 as_echo_n_body='eval
4692 expr "X$arg" : "X\\(.*\\)$as_nl";
4693 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4695 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4697 export as_echo_n_body
4698 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4701 as_echo='sh
-c $as_echo_body as_echo
'
4704 # The user is always right.
4705 if test "${PATH_SEPARATOR+set}" != set; then
4707 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4708 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4715 # We need space, tab and new line, in precisely that order. Quoting is
4716 # there to prevent editors from complaining about space-tab.
4717 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4718 # splitting by setting IFS to empty value.)
4721 # Find who we are. Look in the path if we contain no directory separator.
4724 *[\\/]* ) as_myself=$0 ;;
4725 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir=.
4730 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4736 # We did not find ourselves, most probably we were run as `sh COMMAND'
4737 # in which case we are not to be found in the path.
4738 if test "x$as_myself" = x
; then
4741 if test ! -f "$as_myself"; then
4742 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4746 # Unset variables that we do not need and which cause bugs (e.g. in
4747 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4748 # suppresses any "Segmentation fault" message there. '((' could
4749 # trigger a bug in pdksh 5.2.14.
4750 for as_var
in BASH_ENV ENV MAIL MAILPATH
4751 do eval test x\
${$as_var+set} = xset \
4752 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4765 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4768 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4769 # ----------------------------------------
4770 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4771 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4772 # script with STATUS, using 1 if that was 0.
4775 as_status
=$1; test $as_status -eq 0 && as_status
=1
4777 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4778 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4780 $as_echo "$as_me: error: $2" >&2
4781 as_fn_exit
$as_status
4785 # as_fn_set_status STATUS
4786 # -----------------------
4787 # Set $? to STATUS, without forking.
4791 } # as_fn_set_status
4795 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4805 # Portably unset VAR.
4808 { eval $1=; unset $1;}
4810 as_unset
=as_fn_unset
4811 # as_fn_append VAR VALUE
4812 # ----------------------
4813 # Append the text in VALUE to the end of the definition contained in VAR. Take
4814 # advantage of any shell optimizations that allow amortized linear growth over
4815 # repeated appends, instead of the typical quadratic growth present in naive
4817 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4818 eval 'as_fn_append ()
4829 # as_fn_arith ARG...
4830 # ------------------
4831 # Perform arithmetic evaluation on the ARGs, and store the result in the
4832 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4833 # must be portable across $(()) and expr.
4834 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4835 eval 'as_fn_arith ()
4842 as_val
=`expr "$@" || test $? -eq 1`
4847 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4848 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4854 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4855 as_basename
=basename
4860 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4866 as_me
=`$as_basename -- "$0" ||
4867 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4868 X"$0" : 'X\(//\)$' \| \
4869 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4871 sed '/^.*\/\([^/][^/]*\)\/*$/{
4885 # Avoid depending upon Character Ranges.
4886 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4887 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4888 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4889 as_cr_digits
='0123456789'
4890 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4892 ECHO_C
= ECHO_N
= ECHO_T
=
4893 case `echo -n x` in #(((((
4895 case `echo 'xy\c'` in
4896 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4898 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4905 rm -f conf$$ conf$$.exe conf$$.
file
4906 if test -d conf$$.dir
; then
4907 rm -f conf$$.dir
/conf$$.
file
4910 mkdir conf$$.dir
2>/dev
/null
4912 if (echo >conf$$.
file) 2>/dev
/null
; then
4913 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4915 # ... but there are two gotchas:
4916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4918 # In both cases, we have to default to `cp -pR'.
4919 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4921 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4929 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4930 rmdir conf$$.dir
2>/dev
/null
4935 # Create "$as_dir" as a directory, including parents if necessary.
4940 -*) as_dir
=.
/$as_dir;;
4942 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4946 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4947 *) as_qdir
=$as_dir;;
4949 as_dirs
="'$as_qdir' $as_dirs"
4950 as_dir
=`$as_dirname -- "$as_dir" ||
4951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4952 X"$as_dir" : 'X\(//\)[^/]' \| \
4953 X"$as_dir" : 'X\(//\)$' \| \
4954 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4955 $as_echo X"$as_dir" |
4956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4973 test -d "$as_dir" && break
4975 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4976 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4980 if mkdir
-p .
2>/dev
/null
; then
4981 as_mkdir_p
='mkdir -p "$as_dir"'
4983 test -d .
/-p && rmdir .
/-p
4988 # as_fn_executable_p FILE
4989 # -----------------------
4990 # Test if FILE is an executable regular file.
4991 as_fn_executable_p
()
4993 test -f "$1" && test -x "$1"
4994 } # as_fn_executable_p
4996 as_executable_p
=as_fn_executable_p
4998 # Sed expression to map a string onto a valid CPP name.
4999 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5001 # Sed expression to map a string onto a valid variable name.
5002 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5006 ## ----------------------------------- ##
5007 ## Main body of $CONFIG_STATUS script. ##
5008 ## ----------------------------------- ##
5010 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5013 # Save the log message, to keep $0 and so on meaningful, and to
5014 # report actual input values of CONFIG_FILES etc. instead of their
5015 # values after options handling.
5017 This file was extended by $as_me, which was
5018 generated by GNU Autoconf 2.69. Invocation command line was
5020 CONFIG_FILES = $CONFIG_FILES
5021 CONFIG_HEADERS = $CONFIG_HEADERS
5022 CONFIG_LINKS = $CONFIG_LINKS
5023 CONFIG_COMMANDS = $CONFIG_COMMANDS
5026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5031 case $ac_config_files in *"
5032 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5035 case $ac_config_headers in *"
5036 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5041 # Files that config.status was made for.
5042 config_files="$ac_config_files"
5043 config_headers="$ac_config_headers"
5047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5049 \`$as_me' instantiates files and other configuration actions
5050 from templates according to the current configuration. Unless the files
5051 and actions are specified as TAGs, all are instantiated by default.
5053 Usage: $0 [OPTION]... [TAG]...
5055 -h, --help print this help, then exit
5056 -V, --version print version number and configuration settings, then exit
5057 --config print configuration, then exit
5058 -q, --quiet, --silent
5059 do not print progress messages
5060 -d, --debug don't remove temporary files
5061 --recheck update $as_me by reconfiguring in the same conditions
5062 --file=FILE[:TEMPLATE]
5063 instantiate the configuration file FILE
5064 --header=FILE[:TEMPLATE]
5065 instantiate the configuration header FILE
5067 Configuration files:
5070 Configuration headers:
5073 Report bugs to the package provider."
5076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5077 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5080 configured by $0, generated by GNU Autoconf 2.69,
5081 with options \\"\$ac_cs_config\\"
5083 Copyright (C) 2012 Free Software Foundation, Inc.
5084 This config.status script is free software; the Free Software Foundation
5085 gives unlimited permission to copy, distribute and modify it."
5090 test -n "\$AWK" || AWK=awk
5093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5094 # The default lists apply if the user does not specify any file.
5100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5101 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5105 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5117 # Handling of the options.
5118 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5120 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5121 $as_echo "$ac_cs_version"; exit ;;
5122 --config |
--confi |
--conf |
--con |
--co |
--c )
5123 $as_echo "$ac_cs_config"; exit ;;
5124 --debug |
--debu |
--deb |
--de |
--d |
-d )
5126 --file |
--fil |
--fi |
--f )
5129 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5130 '') as_fn_error $?
"missing file argument" ;;
5132 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5133 ac_need_defaults
=false
;;
5134 --header |
--heade |
--head |
--hea )
5137 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5139 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5140 ac_need_defaults
=false
;;
5142 # Conflict between --help and --header
5143 as_fn_error $?
"ambiguous option: \`$1'
5144 Try \`$0 --help' for more information.";;
5145 --help |
--hel |
-h )
5146 $as_echo "$ac_cs_usage"; exit ;;
5147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5148 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5152 -*) as_fn_error $?
"unrecognized option: \`$1'
5153 Try \`$0 --help' for more information." ;;
5155 *) as_fn_append ac_config_targets
" $1"
5156 ac_need_defaults
=false
;;
5162 ac_configure_extra_args
=
5164 if $ac_cs_silent; then
5166 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5171 if \$ac_cs_recheck; then
5172 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5174 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5175 CONFIG_SHELL='$SHELL'
5181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5185 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5186 ## Running $as_me. ##
5192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5197 # Handling of arguments.
5198 for ac_config_target
in $ac_config_targets
5200 case $ac_config_target in
5201 "sys/nix/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS sys/nix/config.h" ;;
5202 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5204 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5209 # If the user did not use the arguments to specify the items to instantiate,
5210 # then the envvar interface is used. Set only those that are not.
5211 # We use the long form for the default assignment because of an extremely
5212 # bizarre bug on SunOS 4.1.3.
5213 if $ac_need_defaults; then
5214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5218 # Have a temporary directory for convenience. Make it in the build tree
5219 # simply because there is no reason against having it here, and in addition,
5220 # creating and moving files from /tmp can sometimes cause problems.
5221 # Hook for its removal unless debugging.
5222 # Note that there is a small window in which the directory will not be cleaned:
5223 # after its creation but before its name has been assigned to `$tmp'.
5227 trap 'exit_status=$?
5229 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5231 trap 'as_fn_exit 1' 1 2 13 15
5233 # Create a (secure) tmp directory for tmp files.
5236 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5240 tmp
=.
/conf$$
-$RANDOM
5241 (umask 077 && mkdir
"$tmp")
5242 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5245 # Set up the scripts for CONFIG_FILES section.
5246 # No need to generate them if there are no CONFIG_FILES.
5247 # This happens for instance with `./config.status config.h'.
5248 if test -n "$CONFIG_FILES"; then
5251 ac_cr
=`echo X | tr X '\015'`
5252 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5253 # But we know of no other shell where ac_cr would be empty at this
5254 # point, so we can use a bashism as a fallback.
5255 if test "x$ac_cr" = x
; then
5256 eval ac_cr
=\$
\'\\r
\'
5258 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5259 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5265 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5270 echo "cat >conf$$subs.awk <<_ACEOF" &&
5271 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5274 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5275 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5277 for ac_last_try in false false false false false :; do
5278 . ./conf$$subs.sh ||
5279 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5281 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5282 if test $ac_delim_n = $ac_delim_num; then
5284 elif $ac_last_try; then
5285 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5287 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5293 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5297 s/^/S["/; s
/!.
*/"]=/
5307 s/\(.\{148\}\)..*/\1/
5309 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5314 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5321 s/\(.\{148\}\)..*/\1/
5323 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5327 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5332 ' <conf$$subs.awk | sed '
5337 ' >>$CONFIG_STATUS || ac_write_fail=1
5338 rm -f conf$$subs.awk
5339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5341 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5342 for (key in S) S_is_set[key] = 1
5348 nfields = split(line, field, "@
")
5350 len = length(field[1])
5351 for (i = 2; i < nfields; i++) {
5353 keylen = length(key)
5354 if (S_is_set[key]) {
5356 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5357 len += length(value) + length(field[++i])
5368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5369 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5370 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5373 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5374 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5377 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5378 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5379 # trailing colons and then remove the whole line if VPATH becomes empty
5380 # (actually we leave an empty line to preserve line numbers).
5381 if test "x
$srcdir" = x.; then
5382 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5401 fi # test -n "$CONFIG_FILES"
5403 # Set up the scripts for CONFIG_HEADERS section.
5404 # No need to generate them if there are no CONFIG_HEADERS.
5405 # This happens for instance with `./config.status Makefile'.
5406 if test -n "$CONFIG_HEADERS"; then
5407 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5411 # Transform confdefs.h into an awk script `defines.awk', embedded as
5412 # here-document in config.status, that substitutes the proper values into
5413 # config.h.in to produce config.h.
5415 # Create a delimiter string that does not exist in confdefs.h, to ease
5416 # handling of long lines.
5418 for ac_last_try in false false :; do
5419 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5420 if test -z "$ac_tt"; then
5422 elif $ac_last_try; then
5423 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5425 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5429 # For the awk script, D is an array of macro values keyed by name,
5430 # likewise P contains macro parameters if any. Preserve backslash
5431 # newline sequences.
5433 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5435 s/.\{148\}/&'"$ac_delim"'/g
5438 s/^[ ]*#[ ]*define[ ][ ]*/ /
5445 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5447 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5451 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5452 D["\
1"]=" \
3\\\\\\n
"\\/p
5454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5459 s/.\{148\}/&'"$ac_delim"'/g
5464 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5467 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5469 ' <confdefs.h | sed '
5470 s/'"$ac_delim"'/"\\\
5471 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5474 for (key in D) D_is_set[key] = 1
5477 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5479 split(line, arg, " ")
5480 if (arg[1] == "#") {
5484 defundef
= substr
(arg
[1], 2)
5487 split(mac1
, mac2
, "(") #)
5489 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5490 if (D_is_set
[macro
]) {
5491 # Preserve the white space surrounding the "#".
5492 print prefix
"define", macro P
[macro
] D
[macro
]
5495 # Replace #undef with comments. This is necessary, for example,
5496 # in the case of _POSIX_SOURCE, which is predefined and required
5497 # on some systems where configure will not decide to define it.
5498 if (defundef
== "undef") {
5499 print
"/*", prefix defundef
, macro
, "*/"
5507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5508 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5509 fi # test -n "$CONFIG_HEADERS"
5512 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5517 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5519 case $ac_mode$ac_tag in
5521 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5522 :[FH
]-) ac_tag
=-:-;;
5523 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5540 -) ac_f
="$ac_tmp/stdin";;
5541 *) # Look for the file first in the build tree, then in the source tree
5542 # (if the path is not absolute). The absolute path cannot be DOS-style,
5543 # because $ac_f cannot contain `:'.
5547 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5549 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5551 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5552 as_fn_append ac_file_inputs
" '$ac_f'"
5555 # Let's still pretend it is `configure' which instantiates (i.e., don't
5556 # use $as_me), people would be surprised to read:
5557 # /* config.h. Generated by config.status. */
5558 configure_input
='Generated from '`
5559 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5561 if test x
"$ac_file" != x-
; then
5562 configure_input
="$ac_file. $configure_input"
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5564 $as_echo "$as_me: creating $ac_file" >&6;}
5566 # Neutralize special characters interpreted by sed in replacement strings.
5567 case $configure_input in #(
5568 *\
&* |
*\|
* |
*\\* )
5569 ac_sed_conf_input
=`$as_echo "$configure_input" |
5570 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5571 *) ac_sed_conf_input
=$configure_input;;
5575 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5576 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5581 ac_dir
=`$as_dirname -- "$ac_file" ||
5582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5583 X"$ac_file" : 'X\(//\)[^/]' \| \
5584 X"$ac_file" : 'X\(//\)$' \| \
5585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5586 $as_echo X"$ac_file" |
5587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5604 as_dir
="$ac_dir"; as_fn_mkdir_p
5608 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5610 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5611 # A ".." for each directory in $ac_dir_suffix.
5612 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5613 case $ac_top_builddir_sub in
5614 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5615 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5618 ac_abs_top_builddir
=$ac_pwd
5619 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5620 # for backward compatibility:
5621 ac_top_builddir
=$ac_top_build_prefix
5624 .
) # We are building in place.
5626 ac_top_srcdir
=$ac_top_builddir_sub
5627 ac_abs_top_srcdir
=$ac_pwd ;;
5628 [\\/]* | ?
:[\\/]* ) # Absolute name.
5629 ac_srcdir
=$srcdir$ac_dir_suffix;
5630 ac_top_srcdir
=$srcdir
5631 ac_abs_top_srcdir
=$srcdir ;;
5633 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5634 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5635 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5637 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5647 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5648 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5653 # If the template does not know about datarootdir, expand it.
5654 # FIXME: This hack should be removed a few years after 2.60.
5655 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5666 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5667 *datarootdir
*) ac_datarootdir_seen
=yes;;
5668 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5670 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5673 ac_datarootdir_hack='
5674 s&@datadir@&$datadir&g
5675 s&@docdir@&$docdir&g
5676 s&@infodir@&$infodir&g
5677 s&@localedir@&$localedir&g
5678 s&@mandir@&$mandir&g
5679 s&\\\${datarootdir}&$datarootdir&g' ;;
5683 # Neutralize VPATH when `$srcdir' = `.'.
5684 # Shell code in configure.ac might set extrasub.
5685 # FIXME: do we really want to maintain this feature?
5686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5687 ac_sed_extra="$ac_vpsub
5690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5692 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5693 s|@configure_input@|
$ac_sed_conf_input|
;t t
5694 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5695 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5696 s
&@srcdir@
&$ac_srcdir&;t t
5697 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5698 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5699 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5700 s
&@builddir@
&$ac_builddir&;t t
5701 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5702 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5703 s
&@INSTALL@
&$ac_INSTALL&;t t
5704 $ac_datarootdir_hack
5706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5707 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5712 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5714 which seems to be undefined. Please make sure it is defined" >&5
5715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5716 which seems to be undefined. Please make sure it is defined" >&2;}
5718 rm -f "$ac_tmp/stdin"
5720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5729 if test x"$ac_file" != x-; then
5731 $as_echo "/* $configure_input */" \
5732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5733 } >"$ac_tmp/config.h" \
5734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5740 mv "$ac_tmp/config.h" "$ac_file" \
5741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5744 $as_echo "/* $configure_input */" \
5745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5746 || as_fn_error $? "could not create -" "$LINENO" 5
5758 ac_clean_files=$ac_clean_files_save
5760 test $ac_write_fail = 0 ||
5761 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5764 # configure is writing to config.log, and then calls config.status.
5765 # config.status does its own redirection, appending to config.log.
5766 # Unfortunately, on DOS this fails, as config.log is still kept open
5767 # by configure, so config.status won't be able to
write to it
; its
5768 # output is simply discarded. So we exec the FD to /dev/null,
5769 # effectively closing config.log, so it can be properly (re)opened and
5770 # appended to by config.status. When coming back to configure, we
5771 # need to make the FD available again.
5772 if test "$no_create" != yes; then
5774 ac_config_status_args
=
5775 test "$silent" = yes &&
5776 ac_config_status_args
="$ac_config_status_args --quiet"
5778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5781 # would make configure fail if this is the last instruction.
5782 $ac_cs_success || as_fn_exit
1
5784 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5786 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}