2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for ACL - Andromeda Class Library 0.1.
5 @%:@ Report bugs to <BUG-REPORT-ADDRESS>.
8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in @%:@(
173 set -o posix ;; @%:@(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
217 case $as_dir in @%:@(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 @%:@ Portably unset VAR.
293 { eval $1=; unset $1;}
297 @%:@ as_fn_set_status STATUS
298 @%:@ -----------------------
299 @%:@ Set @S|@? to STATUS, without forking.
303 } @%:@ as_fn_set_status
305 @%:@ as_fn_exit STATUS
306 @%:@ -----------------
307 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 @%:@ as_fn_executable_p FILE
364 @%:@ -----------------------
365 @%:@ Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } @%:@ as_fn_executable_p
370 @%:@ as_fn_append VAR VALUE
371 @%:@ ----------------------
372 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
373 @%:@ advantage of any shell optimizations that allow amortized linear growth over
374 @%:@ repeated appends, instead of the typical quadratic growth present in naive
375 @%:@ implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
388 @%:@ as_fn_arith ARG...
389 @%:@ ------------------
390 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
391 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
392 @%:@ must be portable across @S|@(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
407 @%:@ ----------------------------------------
408 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 @%:@ script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in @%:@(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='ACL - Andromeda Class Library'
582 PACKAGE_TARNAME='acl---andromeda-class-library'
583 PACKAGE_VERSION='0.1'
584 PACKAGE_STRING='ACL - Andromeda Class Library 0.1'
585 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
588 ac_unique_file="src/date.cpp"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars='LTLIBOBJS
670 program_transform_name
683 enable_option_checking
685 ac_precious_vars='build_alias
699 # Initialize some variables set by options.
701 ac_init_version=false
702 ac_unrecognized_opts=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name=s,x,x,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 runstatedir='${localstatedir}/run'
736 includedir='${prefix}/include'
737 oldincludedir='/usr/include'
738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739 infodir='${datarootdir}/info'
744 libdir='${exec_prefix}/lib'
745 localedir='${datarootdir}/locale'
746 mandir='${datarootdir}/man'
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\$ac_option
760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
765 # Accept the important Cygnus configure options, so we can diagnose typos.
767 case $ac_dashdash$ac_option in
771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
776 -build | --build | --buil | --bui | --bu)
777 ac_prev=build_alias ;;
778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
779 build_alias=$ac_optarg ;;
781 -cache-file | --cache-file | --cache-fil | --cache-fi \
782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
783 ac_prev=cache_file ;;
784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
786 cache_file=$ac_optarg ;;
789 cache_file=config.cache ;;
791 -datadir | --datadir | --datadi | --datad)
793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
794 datadir=$ac_optarg ;;
796 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
797 | --dataroo | --dataro | --datar)
798 ac_prev=datarootdir ;;
799 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
800 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
801 datarootdir=$ac_optarg ;;
803 -disable-* | --disable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
817 eval enable_$ac_useropt=no ;;
819 -docdir | --docdir | --docdi | --doc | --do)
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 -enable-* | --enable-*)
830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 as_fn_error $? "invalid feature name: $ac_useropt"
834 ac_useropt_orig=$ac_useropt
835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
836 case $ac_user_opts in
840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep=', ';;
843 eval enable_$ac_useropt=\$ac_optarg ;;
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
847 | --exec | --exe | --ex)
848 ac_prev=exec_prefix ;;
849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
851 | --exec=* | --exe=* | --ex=*)
852 exec_prefix=$ac_optarg ;;
854 -gas | --gas | --ga | --g)
855 # Obsolete; use --with-gas.
858 -help | --help | --hel | --he | -h)
860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
861 ac_init_help=recursive ;;
862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
863 ac_init_help=short ;;
865 -host | --host | --hos | --ho)
866 ac_prev=host_alias ;;
867 -host=* | --host=* | --hos=* | --ho=*)
868 host_alias=$ac_optarg ;;
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 htmldir=$ac_optarg ;;
876 -includedir | --includedir | --includedi | --included | --include \
877 | --includ | --inclu | --incl | --inc)
878 ac_prev=includedir ;;
879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
880 | --includ=* | --inclu=* | --incl=* | --inc=*)
881 includedir=$ac_optarg ;;
883 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
886 infodir=$ac_optarg ;;
888 -libdir | --libdir | --libdi | --libd)
890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
894 | --libexe | --libex | --libe)
895 ac_prev=libexecdir ;;
896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
897 | --libexe=* | --libex=* | --libe=*)
898 libexecdir=$ac_optarg ;;
900 -localedir | --localedir | --localedi | --localed | --locale)
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
903 localedir=$ac_optarg ;;
905 -localstatedir | --localstatedir | --localstatedi | --localstated \
906 | --localstate | --localstat | --localsta | --localst | --locals)
907 ac_prev=localstatedir ;;
908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
910 localstatedir=$ac_optarg ;;
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918 # Obsolete; use --without-fp.
921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
922 | --no-cr | --no-c | -n)
925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
931 | --oldin | --oldi | --old | --ol | --o)
932 ac_prev=oldincludedir ;;
933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
936 oldincludedir=$ac_optarg ;;
938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
944 | --program-pre | --program-pr | --program-p)
945 ac_prev=program_prefix ;;
946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
948 program_prefix=$ac_optarg ;;
950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
951 | --program-suf | --program-su | --program-s)
952 ac_prev=program_suffix ;;
953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
955 program_suffix=$ac_optarg ;;
957 -program-transform-name | --program-transform-name \
958 | --program-transform-nam | --program-transform-na \
959 | --program-transform-n | --program-transform- \
960 | --program-transform | --program-transfor \
961 | --program-transfo | --program-transf \
962 | --program-trans | --program-tran \
963 | --progr-tra | --program-tr | --program-t)
964 ac_prev=program_transform_name ;;
965 -program-transform-name=* | --program-transform-name=* \
966 | --program-transform-nam=* | --program-transform-na=* \
967 | --program-transform-n=* | --program-transform-=* \
968 | --program-transform=* | --program-transfor=* \
969 | --program-transfo=* | --program-transf=* \
970 | --program-trans=* | --program-tran=* \
971 | --progr-tra=* | --program-tr=* | --program-t=*)
972 program_transform_name=$ac_optarg ;;
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
979 -psdir | --psdir | --psdi | --psd | --ps)
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985 | -silent | --silent | --silen | --sile | --sil)
988 -runstatedir | --runstatedir | --runstatedi | --runstated \
989 | --runstate | --runstat | --runsta | --runst | --runs \
990 | --run | --ru | --r)
991 ac_prev=runstatedir ;;
992 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
993 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
994 | --run=* | --ru=* | --r=*)
995 runstatedir=$ac_optarg ;;
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001 sbindir=$ac_optarg ;;
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012 sharedstatedir=$ac_optarg ;;
1014 -site | --site | --sit)
1016 -site=* | --site=* | --sit=*)
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1056 eval with_$ac_useropt=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval with_$ac_useropt=no ;;
1075 # Obsolete; use --with-x.
1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079 | --x-incl | --x-inc | --x-in | --x-i)
1080 ac_prev=x_includes ;;
1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083 x_includes=$ac_optarg ;;
1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087 ac_prev=x_libraries ;;
1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090 x_libraries=$ac_optarg ;;
1092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 case $ac_envvar in #(
1100 '' | [0-9]* | *[!_$as_cr_alnum]* )
1101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103 eval $ac_envvar=\$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1117 if test -n "$ac_prev"; then
1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $? "missing argument to $ac_option"
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 # Check all directory arguments for consistency.
1131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir runstatedir
1136 eval ac_val=\$$ac_var
1137 # Remove trailing slashes.
1140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\$ac_val;;
1143 # Be sure to have absolute directory names.
1145 [\\/$]* | ?:[\\/]* ) continue;;
1146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1156 target=$target_alias
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x; then
1160 if test "x$build_alias" = x; then
1161 cross_compiling=maybe
1162 elif test "x$build_alias" != "x$host_alias"; then
1168 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1170 test "$silent" = yes && exec 6>/dev/null
1173 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1174 ac_ls_di=`ls -di .` &&
1175 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1176 as_fn_error $? "working directory cannot be determined"
1177 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1178 as_fn_error $? "pwd does not report name of working directory"
1181 # Find the source files, if location was not specified.
1182 if test -z "$srcdir"; then
1183 ac_srcdir_defaulted=yes
1184 # Try the directory containing this script, then the parent directory.
1185 ac_confdir=`$as_dirname -- "$as_myself" ||
1186 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1187 X"$as_myself" : 'X\(//\)[^/]' \| \
1188 X"$as_myself" : 'X\(//\)$' \| \
1189 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1190 $as_echo X"$as_myself" |
1191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1213 ac_srcdir_defaulted=no
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1216 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1217 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1219 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223 # When building in place, set srcdir=.
1224 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 # Remove unnecessary trailing slashes from srcdir.
1228 # Double slashes in file names in object file debugging info
1229 # mess up M-x gdb in Emacs.
1231 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 for ac_var in $ac_precious_vars; do
1234 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_env_${ac_var}_value=\$${ac_var}
1236 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241 # Report the --help message.
1243 if test "$ac_init_help" = "long"; then
1244 # Omit some internal or obsolete options to make the list less imposing.
1245 # This message is too long to be a string in the A/UX 3.1 sh.
1247 \`configure' configures ACL - Andromeda Class Library 0.1 to adapt to many kinds of systems.
1249 Usage: $0 [OPTION]... [VAR=VALUE]...
1251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1252 VAR=VALUE. See below for descriptions of some of the useful variables.
1254 Defaults for the options are specified in brackets.
1257 -h, --help display this help and exit
1258 --help=short display options specific to this package
1259 --help=recursive display the short help of all the included packages
1260 -V, --version display version information and exit
1261 -q, --quiet, --silent do not print \`checking ...' messages
1262 --cache-file=FILE cache test results in FILE [disabled]
1263 -C, --config-cache alias for \`--cache-file=config.cache'
1264 -n, --no-create do not create output files
1265 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1267 Installation directories:
1268 --prefix=PREFIX install architecture-independent files in PREFIX
1269 @<:@@S|@ac_default_prefix@:>@
1270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 By default, \`make install' will install all the files in
1274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1276 for instance \`--prefix=\$HOME'.
1278 For better control, use the options below.
1280 Fine tuning of the installation directories:
1281 --bindir=DIR user executables [EPREFIX/bin]
1282 --sbindir=DIR system admin executables [EPREFIX/sbin]
1283 --libexecdir=DIR program executables [EPREFIX/libexec]
1284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1286 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1287 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1288 --libdir=DIR object code libraries [EPREFIX/lib]
1289 --includedir=DIR C header files [PREFIX/include]
1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1293 --infodir=DIR info documentation [DATAROOTDIR/info]
1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1295 --mandir=DIR man documentation [DATAROOTDIR/man]
1296 --docdir=DIR documentation root
1297 @<:@DATAROOTDIR/doc/acl---andromeda-class-library@:>@
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1308 if test -n "$ac_init_help"; then
1309 case $ac_init_help in
1310 short | recursive ) echo "Configuration of ACL - Andromeda Class Library 0.1:";;
1314 Some influential environment variables:
1315 CXX C++ compiler command
1316 CXXFLAGS C++ compiler flags
1317 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1318 nonstandard directory <lib dir>
1319 LIBS libraries to pass to the linker, e.g. -l<library>
1320 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1321 you have headers in a nonstandard directory <include dir>
1322 CC C compiler command
1323 CFLAGS C compiler flags
1326 Use these variables to override the choices made by `configure' or to help
1327 it to find libraries and programs with nonstandard names/locations.
1329 Report bugs to <BUG-REPORT-ADDRESS>.
1334 if test "$ac_init_help" = "recursive"; then
1335 # If there are subdirs, report their specific --help.
1336 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337 test -d "$ac_dir" ||
1338 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1359 .) # We are building in place.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1383 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1392 ACL - Andromeda Class Library configure 0.1
1393 generated by GNU Autoconf 2.69
1395 Copyright (C) 2012 Free Software Foundation, Inc.
1396 This configure script is free software; the Free Software Foundation
1397 gives unlimited permission to copy, distribute and modify it.
1402 ## ------------------------ ##
1403 ## Autoconf initialization. ##
1404 ## ------------------------ ##
1406 @%:@ ac_fn_cxx_try_compile LINENO
1407 @%:@ ----------------------------
1408 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1409 ac_fn_cxx_try_compile ()
1411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1412 rm -f conftest.$ac_objext
1413 if { { ac_try="$ac_compile"
1415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1416 *) ac_try_echo=$ac_try;;
1418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1419 $as_echo "$ac_try_echo"; } >&5
1420 (eval "$ac_compile") 2>conftest.err
1422 if test -s conftest.err; then
1423 grep -v '^ *+' conftest.err >conftest.er1
1424 cat conftest.er1 >&5
1425 mv -f conftest.er1 conftest.err
1427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1428 test $ac_status = 0; } && {
1429 test -z "$ac_cxx_werror_flag" ||
1430 test ! -s conftest.err
1431 } && test -s conftest.$ac_objext; then :
1434 $as_echo "$as_me: failed program was:" >&5
1435 sed 's/^/| /' conftest.$ac_ext >&5
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 as_fn_set_status $ac_retval
1442 } @%:@ ac_fn_cxx_try_compile
1444 @%:@ ac_fn_c_try_compile LINENO
1445 @%:@ --------------------------
1446 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1447 ac_fn_c_try_compile ()
1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1450 rm -f conftest.$ac_objext
1451 if { { ac_try="$ac_compile"
1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454 *) ac_try_echo=$ac_try;;
1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457 $as_echo "$ac_try_echo"; } >&5
1458 (eval "$ac_compile") 2>conftest.err
1460 if test -s conftest.err; then
1461 grep -v '^ *+' conftest.err >conftest.er1
1462 cat conftest.er1 >&5
1463 mv -f conftest.er1 conftest.err
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466 test $ac_status = 0; } && {
1467 test -z "$ac_c_werror_flag" ||
1468 test ! -s conftest.err
1469 } && test -s conftest.$ac_objext; then :
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1478 as_fn_set_status $ac_retval
1480 } @%:@ ac_fn_c_try_compile
1482 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1483 @%:@ -------------------------------------------
1484 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1485 @%:@ variable VAR accordingly.
1486 ac_fn_c_check_type ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1490 $as_echo_n "checking for $2... " >&6; }
1491 if eval \${$3+:} false; then :
1492 $as_echo_n "(cached) " >&6
1495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496 /* end confdefs.h. */
1507 if ac_fn_c_try_compile "$LINENO"; then :
1508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1509 /* end confdefs.h. */
1520 if ac_fn_c_try_compile "$LINENO"; then :
1525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1531 $as_echo "$ac_res" >&6; }
1532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 } @%:@ ac_fn_c_check_type
1536 @%:@ ac_fn_c_try_cpp LINENO
1537 @%:@ ----------------------
1538 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 if { { ac_try="$ac_cpp conftest.$ac_ext"
1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } > conftest.i && {
1558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.$ac_ext >&5
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status $ac_retval
1571 } @%:@ ac_fn_c_try_cpp
1573 @%:@ ac_fn_c_try_run LINENO
1574 @%:@ ----------------------
1575 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1576 @%:@ that executables *can* be run.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { { ac_try="$ac_link"
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>&5
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1591 { { case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_try") 2>&5
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; }; }; then :
1603 $as_echo "$as_me: program exited with status $ac_status" >&5
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1607 ac_retval=$ac_status
1609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } @%:@ ac_fn_c_try_run
1615 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1616 @%:@ -------------------------------------------------------
1617 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1618 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1619 ac_fn_c_check_header_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval \${$3+:} false; then :
1625 $as_echo_n "(cached) " >&6
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1632 if ac_fn_c_try_compile "$LINENO"; then :
1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1641 $as_echo "$ac_res" >&6; }
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 } @%:@ ac_fn_c_check_header_compile
1646 @%:@ ac_fn_c_try_link LINENO
1647 @%:@ -----------------------
1648 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext conftest$ac_exeext
1653 if { { ac_try="$ac_link"
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest$ac_exeext && {
1672 test "$cross_compiling" = yes ||
1673 test -x conftest$ac_exeext
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1683 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1684 # interfere with the next link command; also delete a directory that is
1685 # left behind by Apple's compiler. We do this before executing the actions.
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } @%:@ ac_fn_c_try_link
1692 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1693 @%:@ ----------------------------------
1694 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1695 ac_fn_c_check_func ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1705 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1707 #define $2 innocuous_$2
1709 /* System header to define __stub macros and hopefully few prototypes,
1710 which can conflict with char $2 (); below.
1711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1712 <limits.h> exists even on freestanding compilers. */
1715 # include <limits.h>
1717 # include <assert.h>
1722 /* Override any GCC internal prototype to avoid an error.
1723 Use char because int might match the return type of a GCC
1724 builtin and then its argument prototype would still apply. */
1729 /* The GNU C library defines this for functions which it implements
1730 to always fail with ENOSYS. Some functions are actually named
1731 something starting with __ and the normal name is an alias. */
1732 #if defined __stub_$2 || defined __stub___$2
1744 if ac_fn_c_try_link "$LINENO"; then :
1749 rm -f core conftest.err conftest.$ac_objext \
1750 conftest$ac_exeext conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 } @%:@ ac_fn_c_check_func
1759 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1760 @%:@ -------------------------------------------------------
1761 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1762 @%:@ the include files in INCLUDES and setting the cache variable VAR
1764 ac_fn_c_check_header_mongrel ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 if eval \${$3+:} false; then :
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1777 # Is the header compilable?
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1779 $as_echo_n "checking $2 usability... " >&6; }
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile "$LINENO"; then :
1786 ac_header_compiler=yes
1788 ac_header_compiler=no
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1792 $as_echo "$ac_header_compiler" >&6; }
1794 # Is the header present?
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1796 $as_echo_n "checking $2 presence... " >&6; }
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1801 if ac_fn_c_try_cpp "$LINENO"; then :
1802 ac_header_preproc=yes
1804 ac_header_preproc=no
1806 rm -f conftest.err conftest.i conftest.$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1808 $as_echo "$ac_header_preproc" >&6; }
1810 # So? What about this header?
1811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1814 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1816 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1820 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1822 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1824 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1826 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 ( $as_echo "## --------------------------------- ##
1830 ## Report this to BUG-REPORT-ADDRESS ##
1831 ## --------------------------------- ##"
1832 ) | sed "s/^/$as_me: WARNING: /" >&2
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 eval "$3=\$ac_header_compiler"
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 } @%:@ ac_fn_c_check_header_mongrel
1849 cat >config.log <<_ACEOF
1850 This file contains any messages produced by compilers while
1851 running configure, to aid debugging if configure makes a mistake.
1853 It was created by ACL - Andromeda Class Library $as_me 0.1, which was
1854 generated by GNU Autoconf 2.69. Invocation command line was
1866 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1867 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1868 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1869 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1870 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1872 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1873 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1875 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1876 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1877 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1878 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1879 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1880 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1881 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 $as_echo "PATH: $as_dir"
1906 # Keep a trace of the command line.
1907 # Strip out --no-create and --no-recursion so they do not pile up.
1908 # Strip out --silent because we don't want to record it for future runs.
1909 # Also quote any args containing shell meta-characters.
1910 # Make two passes to allow for proper duplicate-argument suppression.
1914 ac_must_keep_next=false
1920 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1922 | -silent | --silent | --silen | --sile | --sil)
1925 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1928 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1930 as_fn_append ac_configure_args1 " '$ac_arg'"
1931 if test $ac_must_keep_next = true; then
1932 ac_must_keep_next=false # Got value, back to normal.
1935 *=* | --config-cache | -C | -disable-* | --disable-* \
1936 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1937 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1938 | -with-* | --with-* | -without-* | --without-* | --x)
1939 case "$ac_configure_args0 " in
1940 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1943 -* ) ac_must_keep_next=true ;;
1946 as_fn_append ac_configure_args " '$ac_arg'"
1951 { ac_configure_args0=; unset ac_configure_args0;}
1952 { ac_configure_args1=; unset ac_configure_args1;}
1954 # When interrupted or exit'd, cleanup temporary files, and complete
1955 # config.log. We remove comments because anyway the quotes in there
1956 # would cause problems or look ugly.
1957 # WARNING: Use '\'' to represent an apostrophe within the trap.
1958 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1959 trap 'exit_status=$?
1960 # Save into config.log some information that might help in debugging.
1964 $as_echo "## ---------------- ##
1965 ## Cache variables. ##
1966 ## ---------------- ##"
1968 # The following way of writing the cache mishandles newlines in values,
1970 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1971 eval ac_val=\$$ac_var
1975 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1979 _ | IFS | as_nl) ;; #(
1980 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1981 *) { eval $ac_var=; unset $ac_var;} ;;
1986 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1987 *${as_nl}ac_space=\ *)
1989 "s/'\''/'\''\\\\'\'''\''/g;
1990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2000 $as_echo "## ----------------- ##
2001 ## Output variables. ##
2002 ## ----------------- ##"
2004 for ac_var in $ac_subst_vars
2006 eval ac_val=\$$ac_var
2008 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2010 $as_echo "$ac_var='\''$ac_val'\''"
2014 if test -n "$ac_subst_files"; then
2015 $as_echo "## ------------------- ##
2016 ## File substitutions. ##
2017 ## ------------------- ##"
2019 for ac_var in $ac_subst_files
2021 eval ac_val=\$$ac_var
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 $as_echo "$ac_var='\''$ac_val'\''"
2030 if test -s confdefs.h; then
2031 $as_echo "## ----------- ##
2038 test "$ac_signal" != 0 &&
2039 $as_echo "$as_me: caught signal $ac_signal"
2040 $as_echo "$as_me: exit $exit_status"
2042 rm -f core *.core core.conftest.* &&
2043 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2046 for ac_signal in 1 2 13 15; do
2047 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2051 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2052 rm -f -r conftest* confdefs.h
2054 $as_echo "/* confdefs.h */" > confdefs.h
2056 # Predefined preprocessor variables.
2058 cat >>confdefs.h <<_ACEOF
2059 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2062 cat >>confdefs.h <<_ACEOF
2063 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2066 cat >>confdefs.h <<_ACEOF
2067 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2070 cat >>confdefs.h <<_ACEOF
2071 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2074 cat >>confdefs.h <<_ACEOF
2075 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2078 cat >>confdefs.h <<_ACEOF
2079 @%:@define PACKAGE_URL "$PACKAGE_URL"
2083 # Let the site file select an alternate cache file if it wants to.
2084 # Prefer an explicitly selected file to automatically selected ones.
2087 if test -n "$CONFIG_SITE"; then
2088 # We do not want a PATH search for config.site.
2089 case $CONFIG_SITE in @%:@((
2090 -*) ac_site_file1=./$CONFIG_SITE;;
2091 */*) ac_site_file1=$CONFIG_SITE;;
2092 *) ac_site_file1=./$CONFIG_SITE;;
2094 elif test "x$prefix" != xNONE; then
2095 ac_site_file1=$prefix/share/config.site
2096 ac_site_file2=$prefix/etc/config.site
2098 ac_site_file1=$ac_default_prefix/share/config.site
2099 ac_site_file2=$ac_default_prefix/etc/config.site
2101 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2103 test "x$ac_site_file" = xNONE && continue
2104 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2106 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2107 sed 's/^/| /' "$ac_site_file" >&5
2109 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111 as_fn_error $? "failed to load site script $ac_site_file
2112 See \`config.log' for more details" "$LINENO" 5; }
2116 if test -r "$cache_file"; then
2117 # Some versions of bash will fail to source /dev/null (special files
2118 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2119 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2121 $as_echo "$as_me: loading cache $cache_file" >&6;}
2123 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2124 *) . "./$cache_file";;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2129 $as_echo "$as_me: creating cache $cache_file" >&6;}
2133 # Check that the precious variables saved in the cache have kept the same
2135 ac_cache_corrupted=false
2136 for ac_var in $ac_precious_vars; do
2137 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2138 eval ac_new_set=\$ac_env_${ac_var}_set
2139 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2140 eval ac_new_val=\$ac_env_${ac_var}_value
2141 case $ac_old_set,$ac_new_set in
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2144 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2145 ac_cache_corrupted=: ;;
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2148 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2149 ac_cache_corrupted=: ;;
2152 if test "x$ac_old_val" != "x$ac_new_val"; then
2153 # differences in whitespace do not lead to failure.
2154 ac_old_val_w=`echo x $ac_old_val`
2155 ac_new_val_w=`echo x $ac_new_val`
2156 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2158 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2159 ac_cache_corrupted=:
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2162 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2163 eval $ac_var=\$ac_old_val
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2166 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2168 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2171 # Pass precious variables to config.status.
2172 if test "$ac_new_set" = set; then
2174 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2175 *) ac_arg=$ac_var=$ac_new_val ;;
2177 case " $ac_configure_args " in
2178 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2179 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2183 if $ac_cache_corrupted; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2187 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2188 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2190 ## -------------------- ##
2191 ## Main body of script. ##
2192 ## -------------------- ##
2195 ac_cpp='$CPP $CPPFLAGS'
2196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 AM_INIT_AUTOMAKE(-Wall foreign)
2202 ac_config_files="$ac_config_files Makefile src/Makefile"
2205 #AC_CONFIG_HEADERS([config.h])
2207 # Checks for programs.
2209 ac_cpp='$CXXCPP $CPPFLAGS'
2210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2213 if test -z "$CXX"; then
2214 if test -n "$CCC"; then
2217 if test -n "$ac_tool_prefix"; then
2218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2223 $as_echo_n "checking for $ac_word... " >&6; }
2224 if ${ac_cv_prog_CXX+:} false; then :
2225 $as_echo_n "(cached) " >&6
2227 if test -n "$CXX"; then
2228 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 if test -n "$CXX"; then
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2250 $as_echo "$CXX" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2253 $as_echo "no" >&6; }
2257 test -n "$CXX" && break
2260 if test -z "$CXX"; then
2262 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2264 # Extract the first word of "$ac_prog", so it can be a program name with args.
2265 set dummy $ac_prog; ac_word=$2
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2269 $as_echo_n "(cached) " >&6
2271 if test -n "$ac_ct_CXX"; then
2272 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_ac_ct_CXX="$ac_prog"
2282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2292 if test -n "$ac_ct_CXX"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2294 $as_echo "$ac_ct_CXX" >&6; }
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297 $as_echo "no" >&6; }
2301 test -n "$ac_ct_CXX" && break
2304 if test "x$ac_ct_CXX" = x; then
2307 case $cross_compiling:$ac_tool_warned in
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2311 ac_tool_warned=yes ;;
2319 # Provide some information about the compiler.
2320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2323 for ac_option in --version -v -V -qversion; do
2324 { { ac_try="$ac_compiler $ac_option >&5"
2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2330 $as_echo "$ac_try_echo"; } >&5
2331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2333 if test -s conftest.err; then
2335 ... rest of stderr output deleted ...
2336 10q' conftest.err >conftest.er1
2337 cat conftest.er1 >&5
2339 rm -f conftest.er1 conftest.err
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }
2344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h. */
2355 ac_clean_files_save=$ac_clean_files
2356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2357 # Try to create an executable without -o first, disregard a.out.
2358 # It will help us diagnose broken compilers, and finding out an intuition
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2361 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2362 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2364 # The possible output files:
2365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2368 for ac_file in $ac_files
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2372 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2377 if { { ac_try="$ac_link_default"
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_link_default") 2>&5
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }; then :
2388 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2390 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2391 # so that the user can short-circuit this test for compilers unknown to
2393 for ac_file in $ac_files ''
2395 test -f "$ac_file" || continue
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2400 # We found the default executable, but exeext='' is most
2404 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2406 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2408 # We set ac_cv_exeext here because the later test for it is not
2409 # safe: cross compilers may not add the suffix if given an `-o'
2410 # argument, so we may need to know it at that point already.
2411 # Even if this section looks crufty: it has the advantage of
2418 test "$ac_cv_exeext" = no && ac_cv_exeext=
2423 if test -z "$ac_file"; then :
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425 $as_echo "no" >&6; }
2426 $as_echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.$ac_ext >&5
2429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2431 as_fn_error 77 "C++ compiler cannot create executables
2432 See \`config.log' for more details" "$LINENO" 5; }
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2435 $as_echo "yes" >&6; }
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2438 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2440 $as_echo "$ac_file" >&6; }
2441 ac_exeext=$ac_cv_exeext
2443 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2444 ac_clean_files=$ac_clean_files_save
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2446 $as_echo_n "checking for suffix of executables... " >&6; }
2447 if { { ac_try="$ac_link"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2453 $as_echo "$ac_try_echo"; } >&5
2454 (eval "$ac_link") 2>&5
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; }; then :
2458 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2459 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2460 # work properly (i.e., refer to `conftest.exe'), while it won't with
2462 for ac_file in conftest.exe conftest conftest.*; do
2463 test -f "$ac_file" || continue
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2466 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2474 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2475 See \`config.log' for more details" "$LINENO" 5; }
2477 rm -f conftest conftest$ac_cv_exeext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2479 $as_echo "$ac_cv_exeext" >&6; }
2481 rm -f conftest.$ac_ext
2482 EXEEXT=$ac_cv_exeext
2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2486 @%:@include <stdio.h>
2490 FILE *f = fopen ("conftest.out", "w");
2491 return ferror (f) || fclose (f) != 0;
2497 ac_clean_files="$ac_clean_files conftest.out"
2498 # Check that the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2501 $as_echo_n "checking whether we are cross compiling... " >&6; }
2502 if test "$cross_compiling" != yes; then
2503 { { ac_try="$ac_link"
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 $as_echo "$ac_try_echo"; } >&5
2510 (eval "$ac_link") 2>&5
2512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2513 test $ac_status = 0; }
2514 if { ac_try='./conftest$ac_cv_exeext'
2515 { { case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_try") 2>&5
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; }; }; then
2527 if test "$cross_compiling" = maybe; then
2530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2532 as_fn_error $? "cannot run C++ compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details" "$LINENO" 5; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2539 $as_echo "$cross_compiling" >&6; }
2541 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2542 ac_clean_files=$ac_clean_files_save
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2544 $as_echo_n "checking for suffix of object files... " >&6; }
2545 if ${ac_cv_objext+:} false; then :
2546 $as_echo_n "(cached) " >&6
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2559 rm -f conftest.o conftest.obj
2560 if { { ac_try="$ac_compile"
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_compile") 2>&5
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; }; then :
2571 for ac_file in conftest.o conftest.obj conftest.*; do
2572 test -f "$ac_file" || continue;
2574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 as_fn_error $? "cannot compute suffix of object files: cannot compile
2586 See \`config.log' for more details" "$LINENO" 5; }
2588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2591 $as_echo "$ac_cv_objext" >&6; }
2592 OBJEXT=$ac_cv_objext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2595 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2596 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2613 if ac_fn_cxx_try_compile "$LINENO"; then :
2618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2619 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2623 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2624 if test $ac_compiler_gnu = yes; then
2629 ac_test_CXXFLAGS=${CXXFLAGS+set}
2630 ac_save_CXXFLAGS=$CXXFLAGS
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2632 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2633 if ${ac_cv_prog_cxx_g+:} false; then :
2634 $as_echo_n "(cached) " >&6
2636 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2637 ac_cxx_werror_flag=yes
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2651 if ac_fn_cxx_try_compile "$LINENO"; then :
2652 ac_cv_prog_cxx_g=yes
2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2666 if ac_fn_cxx_try_compile "$LINENO"; then :
2669 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2682 if ac_fn_cxx_try_compile "$LINENO"; then :
2683 ac_cv_prog_cxx_g=yes
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2693 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2694 if test "$ac_test_CXXFLAGS" = set; then
2695 CXXFLAGS=$ac_save_CXXFLAGS
2696 elif test $ac_cv_prog_cxx_g = yes; then
2697 if test "$GXX" = yes; then
2703 if test "$GXX" = yes; then
2710 ac_cpp='$CPP $CPPFLAGS'
2711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 ac_cpp='$CPP $CPPFLAGS'
2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2720 if test -n "$ac_tool_prefix"; then
2721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_CC+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2738 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2759 if test -z "$ac_cv_prog_CC"; then
2761 # Extract the first word of "gcc", so it can be a program name with args.
2762 set dummy gcc; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_CC="gcc"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2797 if test "x$ac_ct_CC" = x; then
2800 case $cross_compiling:$ac_tool_warned in
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2804 ac_tool_warned=yes ;;
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2815 set dummy ${ac_tool_prefix}cc; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_CC+:} false; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_CC="${ac_tool_prefix}cc"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2853 if test -z "$CC"; then
2854 # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if ${ac_cv_prog_CC+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2873 ac_prog_rejected=yes
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test $ac_prog_rejected = yes; then
2885 # We found a bogon in the path, so make sure we never use it.
2886 set dummy $ac_cv_prog_CC
2888 if test $@%:@ != 0; then
2889 # We chose a different compiler from the bogus one.
2890 # However, it has the same basename, so the bogon will be chosen
2891 # first if we set CC to just the basename; use the full file name.
2893 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$CC"; then
2910 if test -n "$ac_tool_prefix"; then
2911 for ac_prog in cl.exe
2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_CC+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$CC" && break
2953 if test -z "$CC"; then
2955 for ac_prog in cl.exe
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CC"; then
2965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_ac_ct_CC="$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$ac_ct_CC" && break
2997 if test "x$ac_ct_CC" = x; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error $? "no acceptable C compiler found in \$PATH
3016 See \`config.log' for more details" "$LINENO" 5; }
3018 # Provide some information about the compiler.
3019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3022 for ac_option in --version -v -V -qversion; do
3023 { { ac_try="$ac_compiler $ac_option >&5"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3032 if test -s conftest.err; then
3034 ... rest of stderr output deleted ...
3035 10q' conftest.err >conftest.er1
3036 cat conftest.er1 >&5
3038 rm -f conftest.er1 conftest.err
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3044 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3045 if ${ac_cv_c_compiler_gnu+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3062 if ac_fn_c_try_compile "$LINENO"; then :
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3072 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3073 if test $ac_compiler_gnu = yes; then
3078 ac_test_CFLAGS=${CFLAGS+set}
3079 ac_save_CFLAGS=$CFLAGS
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3081 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3082 if ${ac_cv_prog_cc_g+:} false; then :
3083 $as_echo_n "(cached) " >&6
3085 ac_save_c_werror_flag=$ac_c_werror_flag
3086 ac_c_werror_flag=yes
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3100 if ac_fn_c_try_compile "$LINENO"; then :
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"; then :
3118 ac_c_werror_flag=$ac_save_c_werror_flag
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3131 if ac_fn_c_try_compile "$LINENO"; then :
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 ac_c_werror_flag=$ac_save_c_werror_flag
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3142 $as_echo "$ac_cv_prog_cc_g" >&6; }
3143 if test "$ac_test_CFLAGS" = set; then
3144 CFLAGS=$ac_save_CFLAGS
3145 elif test $ac_cv_prog_cc_g = yes; then
3146 if test "$GCC" = yes; then
3152 if test "$GCC" = yes; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3159 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3160 if ${ac_cv_prog_cc_c89+:} false; then :
3161 $as_echo_n "(cached) " >&6
3163 ac_cv_prog_cc_c89=no
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3170 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3171 struct buf { int x; };
3172 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3173 static char *e (p, i)
3179 static char *f (char * (*g) (char **, int), char **p, ...)
3184 s = g (p, va_arg (v,int));
3189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3190 function prototypes and stuff, but not '\xHH' hex character constants.
3191 These don't provoke an error unfortunately, instead are silently treated
3192 as 'x'. The following induces an error, until -std is added to get
3193 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3194 array size at least. It's necessary to write '\x00'==0 to get something
3195 that's true only with -std. */
3196 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3199 inside strings and character constants. */
3201 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3203 int test (int i, double x);
3204 struct s1 {int (*f) (int a);};
3205 struct s2 {int (*f) (double a);};
3206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3218 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3220 CC="$ac_save_CC $ac_arg"
3221 if ac_fn_c_try_compile "$LINENO"; then :
3222 ac_cv_prog_cc_c89=$ac_arg
3224 rm -f core conftest.err conftest.$ac_objext
3225 test "x$ac_cv_prog_cc_c89" != "xno" && break
3227 rm -f conftest.$ac_ext
3232 case "x$ac_cv_prog_cc_c89" in
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3235 $as_echo "none needed" >&6; } ;;
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3238 $as_echo "unsupported" >&6; } ;;
3240 CC="$CC $ac_cv_prog_cc_c89"
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3242 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3244 if test "x$ac_cv_prog_cc_c89" != xno; then :
3249 ac_cpp='$CPP $CPPFLAGS'
3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3255 # Checks for libraries.
3257 # Checks for header files.
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3265 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3266 # On Suns, sometimes $CPP names a directory.
3267 if test -n "$CPP" && test -d "$CPP"; then
3270 if test -z "$CPP"; then
3271 if ${ac_cv_prog_CPP+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 # Double quotes because CPP needs to be expanded
3275 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3278 for ac_c_preproc_warn_flag in '' yes
3280 # Use a header file that comes with gcc, so configuring glibc
3281 # with a fresh cross-compiler works.
3282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3283 # <limits.h> exists even on freestanding compilers.
3284 # On the NeXT, cc -E runs the code through the compiler's parser,
3285 # not just through cpp. "Syntax error" is here to catch this case.
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3289 @%:@ include <limits.h>
3291 @%:@ include <assert.h>
3295 if ac_fn_c_try_cpp "$LINENO"; then :
3298 # Broken: fails on valid input.
3301 rm -f conftest.err conftest.i conftest.$ac_ext
3303 # OK, works on sane cases. Now check whether nonexistent headers
3304 # can be detected and how.
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3307 @%:@include <ac_nonexistent.h>
3309 if ac_fn_c_try_cpp "$LINENO"; then :
3310 # Broken: success on invalid input.
3313 # Passes both tests.
3317 rm -f conftest.err conftest.i conftest.$ac_ext
3320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3321 rm -f conftest.i conftest.err conftest.$ac_ext
3322 if $ac_preproc_ok; then :
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3335 $as_echo "$CPP" >&6; }
3337 for ac_c_preproc_warn_flag in '' yes
3339 # Use a header file that comes with gcc, so configuring glibc
3340 # with a fresh cross-compiler works.
3341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3342 # <limits.h> exists even on freestanding compilers.
3343 # On the NeXT, cc -E runs the code through the compiler's parser,
3344 # not just through cpp. "Syntax error" is here to catch this case.
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3348 @%:@ include <limits.h>
3350 @%:@ include <assert.h>
3354 if ac_fn_c_try_cpp "$LINENO"; then :
3357 # Broken: fails on valid input.
3360 rm -f conftest.err conftest.i conftest.$ac_ext
3362 # OK, works on sane cases. Now check whether nonexistent headers
3363 # can be detected and how.
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3366 @%:@include <ac_nonexistent.h>
3368 if ac_fn_c_try_cpp "$LINENO"; then :
3369 # Broken: success on invalid input.
3372 # Passes both tests.
3376 rm -f conftest.err conftest.i conftest.$ac_ext
3379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3380 rm -f conftest.i conftest.err conftest.$ac_ext
3381 if $ac_preproc_ok; then :
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3387 See \`config.log' for more details" "$LINENO" 5; }
3391 ac_cpp='$CPP $CPPFLAGS'
3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3398 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3399 if ${ac_cv_path_GREP+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 if test -z "$GREP"; then
3403 ac_path_GREP_found=false
3404 # Loop through the user's path and test for each of PROGNAME-LIST
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3409 test -z "$as_dir" && as_dir=.
3410 for ac_prog in grep ggrep; do
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3413 as_fn_executable_p "$ac_path_GREP" || continue
3414 # Check for GNU ac_path_GREP and select it if it is found.
3415 # Check for GNU $ac_path_GREP
3416 case `"$ac_path_GREP" --version 2>&1` in
3418 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3421 $as_echo_n 0123456789 >"conftest.in"
3424 cat "conftest.in" "conftest.in" >"conftest.tmp"
3425 mv "conftest.tmp" "conftest.in"
3426 cp "conftest.in" "conftest.nl"
3427 $as_echo 'GREP' >> "conftest.nl"
3428 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3430 as_fn_arith $ac_count + 1 && ac_count=$as_val
3431 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3432 # Best one so far, save it but keep looking for a better one
3433 ac_cv_path_GREP="$ac_path_GREP"
3434 ac_path_GREP_max=$ac_count
3436 # 10*(2^10) chars as input seems more than enough
3437 test $ac_count -gt 10 && break
3439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3442 $ac_path_GREP_found && break 3
3447 if test -z "$ac_cv_path_GREP"; then
3448 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3451 ac_cv_path_GREP=$GREP
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3456 $as_echo "$ac_cv_path_GREP" >&6; }
3457 GREP="$ac_cv_path_GREP"
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3461 $as_echo_n "checking for egrep... " >&6; }
3462 if ${ac_cv_path_EGREP+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3466 then ac_cv_path_EGREP="$GREP -E"
3468 if test -z "$EGREP"; then
3469 ac_path_EGREP_found=false
3470 # Loop through the user's path and test for each of PROGNAME-LIST
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3475 test -z "$as_dir" && as_dir=.
3476 for ac_prog in egrep; do
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3479 as_fn_executable_p "$ac_path_EGREP" || continue
3480 # Check for GNU ac_path_EGREP and select it if it is found.
3481 # Check for GNU $ac_path_EGREP
3482 case `"$ac_path_EGREP" --version 2>&1` in
3484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3487 $as_echo_n 0123456789 >"conftest.in"
3490 cat "conftest.in" "conftest.in" >"conftest.tmp"
3491 mv "conftest.tmp" "conftest.in"
3492 cp "conftest.in" "conftest.nl"
3493 $as_echo 'EGREP' >> "conftest.nl"
3494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3496 as_fn_arith $ac_count + 1 && ac_count=$as_val
3497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3498 # Best one so far, save it but keep looking for a better one
3499 ac_cv_path_EGREP="$ac_path_EGREP"
3500 ac_path_EGREP_max=$ac_count
3502 # 10*(2^10) chars as input seems more than enough
3503 test $ac_count -gt 10 && break
3505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3508 $ac_path_EGREP_found && break 3
3513 if test -z "$ac_cv_path_EGREP"; then
3514 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3517 ac_cv_path_EGREP=$EGREP
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3523 $as_echo "$ac_cv_path_EGREP" >&6; }
3524 EGREP="$ac_cv_path_EGREP"
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3528 $as_echo_n "checking for ANSI C header files... " >&6; }
3529 if ${ac_cv_header_stdc+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_cv_header_stdc=yes
3550 ac_cv_header_stdc=no
3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3554 if test $ac_cv_header_stdc = yes; then
3555 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3562 $EGREP "memchr" >/dev/null 2>&1; then :
3565 ac_cv_header_stdc=no
3571 if test $ac_cv_header_stdc = yes; then
3572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3579 $EGREP "free" >/dev/null 2>&1; then :
3582 ac_cv_header_stdc=no
3588 if test $ac_cv_header_stdc = yes; then
3589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3590 if test "$cross_compiling" = yes; then :
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3597 #if ((' ' & 0x0FF) == 0x020)
3598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3601 # define ISLOWER(c) \
3602 (('a' <= (c) && (c) <= 'i') \
3603 || ('j' <= (c) && (c) <= 'r') \
3604 || ('s' <= (c) && (c) <= 'z'))
3605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3613 for (i = 0; i < 256; i++)
3614 if (XOR (islower (i), ISLOWER (i))
3615 || toupper (i) != TOUPPER (i))
3620 if ac_fn_c_try_run "$LINENO"; then :
3623 ac_cv_header_stdc=no
3625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3626 conftest.$ac_objext conftest.beam conftest.$ac_ext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3632 $as_echo "$ac_cv_header_stdc" >&6; }
3633 if test $ac_cv_header_stdc = yes; then
3635 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
3639 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3640 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3641 inttypes.h stdint.h unistd.h
3643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3647 cat >>confdefs.h <<_ACEOF
3648 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3656 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3657 if test "x$ac_cv_type_size_t" = xyes; then :
3661 cat >>confdefs.h <<_ACEOF
3662 @%:@define size_t unsigned int
3667 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3668 # for constant arguments. Useless!
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
3670 $as_echo_n "checking for working alloca.h... " >&6; }
3671 if ${ac_cv_working_alloca_h+:} false; then :
3672 $as_echo_n "(cached) " >&6
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3676 @%:@include <alloca.h>
3680 char *p = (char *) alloca (2 * sizeof (int));
3686 if ac_fn_c_try_link "$LINENO"; then :
3687 ac_cv_working_alloca_h=yes
3689 ac_cv_working_alloca_h=no
3691 rm -f core conftest.err conftest.$ac_objext \
3692 conftest$ac_exeext conftest.$ac_ext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
3695 $as_echo "$ac_cv_working_alloca_h" >&6; }
3696 if test $ac_cv_working_alloca_h = yes; then
3698 $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
3703 $as_echo_n "checking for alloca... " >&6; }
3704 if ${ac_cv_func_alloca_works+:} false; then :
3705 $as_echo_n "(cached) " >&6
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3710 # define alloca __builtin_alloca
3713 # include <malloc.h>
3714 # define alloca _alloca
3716 # ifdef HAVE_ALLOCA_H
3717 # include <alloca.h>
3722 # ifndef alloca /* predefined by HP cc +Olibcalls */
3723 void *alloca (size_t);
3733 char *p = (char *) alloca (1);
3739 if ac_fn_c_try_link "$LINENO"; then :
3740 ac_cv_func_alloca_works=yes
3742 ac_cv_func_alloca_works=no
3744 rm -f core conftest.err conftest.$ac_objext \
3745 conftest$ac_exeext conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
3748 $as_echo "$ac_cv_func_alloca_works" >&6; }
3750 if test $ac_cv_func_alloca_works = yes; then
3752 $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
3755 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3756 # that cause trouble. Some versions do not even contain alloca or
3757 # contain a buggy version. If you still want to use their alloca,
3758 # use ar to extract alloca.o from them instead of compiling alloca.c.
3760 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
3762 $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
3766 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
3767 if ${ac_cv_os_cray+:} false; then :
3768 $as_echo_n "(cached) " >&6
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3772 #if defined CRAY && ! defined CRAY2
3779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3780 $EGREP "webecray" >/dev/null 2>&1; then :
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
3789 $as_echo "$ac_cv_os_cray" >&6; }
3790 if test $ac_cv_os_cray = yes; then
3791 for ac_func in _getb67 GETB67 getb67; do
3792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3796 cat >>confdefs.h <<_ACEOF
3797 @%:@define CRAY_STACKSEG_END $ac_func
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
3807 $as_echo_n "checking stack direction for C alloca... " >&6; }
3808 if ${ac_cv_c_stack_direction+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 if test "$cross_compiling" = yes; then :
3812 ac_cv_c_stack_direction=0
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3816 $ac_includes_default
3818 find_stack_direction (int *addr, int depth)
3823 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
3824 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
3829 main (int argc, char **argv)
3831 return find_stack_direction (0, argc + !argv + 20) < 0;
3834 if ac_fn_c_try_run "$LINENO"; then :
3835 ac_cv_c_stack_direction=1
3837 ac_cv_c_stack_direction=-1
3839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3840 conftest.$ac_objext conftest.beam conftest.$ac_ext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
3845 $as_echo "$ac_cv_c_stack_direction" >&6; }
3846 cat >>confdefs.h <<_ACEOF
3847 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
3853 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
3855 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3856 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3857 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3858 cat >>confdefs.h <<_ACEOF
3859 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3867 # Checks for typedefs, structures, and compiler characteristics.
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3869 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3870 if ${ac_cv_header_stdbool_h+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3876 #include <stdbool.h>
3878 "error: bool is not defined"
3881 "error: false is not defined"
3884 "error: false is not 0"
3887 "error: true is not defined"
3890 "error: true is not 1"
3892 #ifndef __bool_true_false_are_defined
3893 "error: __bool_true_false_are_defined is not defined"
3896 struct s { _Bool s: 1; _Bool t; } s;
3898 char a[true == 1 ? 1 : -1];
3899 char b[false == 0 ? 1 : -1];
3900 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3901 char d[(bool) 0.5 == true ? 1 : -1];
3902 /* See body of main program for 'e'. */
3903 char f[(_Bool) 0.0 == false ? 1 : -1];
3905 char h[sizeof (_Bool)];
3907 enum { j = false, k = true, l = false * true, m = true * 256 };
3908 /* The following fails for
3909 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
3911 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
3912 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
3913 /* Catch a bug in an HP-UX C compiler. See
3914 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
3915 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
3927 /* Refer to every declared value, to avoid compiler optimizations. */
3928 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
3929 + !m + !n + !o + !p + !q + !pq);
3935 if ac_fn_c_try_compile "$LINENO"; then :
3936 ac_cv_header_stdbool_h=yes
3938 ac_cv_header_stdbool_h=no
3940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
3943 $as_echo "$ac_cv_header_stdbool_h" >&6; }
3944 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
3945 if test "x$ac_cv_type__Bool" = xyes; then :
3947 cat >>confdefs.h <<_ACEOF
3948 @%:@define HAVE__BOOL 1
3955 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3956 if test "x$ac_cv_type_size_t" = xyes; then :
3960 cat >>confdefs.h <<_ACEOF
3961 @%:@define size_t unsigned int
3967 # Checks for library functions.
3968 for ac_header in stdlib.h
3970 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
3971 if test "x$ac_cv_header_stdlib_h" = xyes; then :
3972 cat >>confdefs.h <<_ACEOF
3973 @%:@define HAVE_STDLIB_H 1
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
3981 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
3982 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
3983 $as_echo_n "(cached) " >&6
3985 if test "$cross_compiling" = yes; then :
3986 ac_cv_func_malloc_0_nonnull=no
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3990 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
3991 # include <stdlib.h>
3999 return ! malloc (0);
4004 if ac_fn_c_try_run "$LINENO"; then :
4005 ac_cv_func_malloc_0_nonnull=yes
4007 ac_cv_func_malloc_0_nonnull=no
4009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4010 conftest.$ac_objext conftest.beam conftest.$ac_ext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4015 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4016 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4018 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
4021 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
4023 case " $LIB@&t@OBJS " in
4024 *" malloc.$ac_objext "* ) ;;
4025 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
4030 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
4036 $as_echo_n "checking for working strtod... " >&6; }
4037 if ${ac_cv_func_strtod+:} false; then :
4038 $as_echo_n "(cached) " >&6
4040 if test "$cross_compiling" = yes; then :
4041 ac_cv_func_strtod=no
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4046 $ac_includes_default
4054 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
4055 char *string = " +69";
4058 value = strtod (string, &term);
4059 if (value != 69 || term != (string + 4))
4064 /* Under Solaris 2.4, strtod returns the wrong value for the
4065 terminating character under some conditions. */
4066 char *string = "NaN";
4068 strtod (string, &term);
4069 if (term != string && *(term - 1) == 0)
4076 if ac_fn_c_try_run "$LINENO"; then :
4077 ac_cv_func_strtod=yes
4079 ac_cv_func_strtod=no
4081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4082 conftest.$ac_objext conftest.beam conftest.$ac_ext
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
4087 $as_echo "$ac_cv_func_strtod" >&6; }
4088 if test $ac_cv_func_strtod = no; then
4089 case " $LIB@&t@OBJS " in
4090 *" strtod.$ac_objext "* ) ;;
4091 *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
4095 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
4096 if test "x$ac_cv_func_pow" = xyes; then :
4100 if test $ac_cv_func_pow = no; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
4102 $as_echo_n "checking for pow in -lm... " >&6; }
4103 if ${ac_cv_lib_m_pow+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 ac_check_lib_save_LIBS=$LIBS
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4111 /* Override any GCC internal prototype to avoid an error.
4112 Use char because int might match the return type of a GCC
4113 builtin and then its argument prototype would still apply. */
4126 if ac_fn_c_try_link "$LINENO"; then :
4131 rm -f core conftest.err conftest.$ac_objext \
4132 conftest$ac_exeext conftest.$ac_ext
4133 LIBS=$ac_check_lib_save_LIBS
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
4136 $as_echo "$ac_cv_lib_m_pow" >&6; }
4137 if test "x$ac_cv_lib_m_pow" = xyes; then :
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
4141 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
4148 for ac_func in regcomp strchr strrchr strstr strtol strtoul
4150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4153 cat >>confdefs.h <<_ACEOF
4154 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4161 cat >confcache <<\_ACEOF
4162 # This file is a shell script that caches the results of configure
4163 # tests run on this system so they can be shared between configure
4164 # scripts and configure runs, see configure's option --config-cache.
4165 # It is not useful on other systems. If it contains results you don't
4166 # want to keep, you may remove or edit it.
4168 # config.status only pays attention to the cache file if you give it
4169 # the --recheck option to rerun configure.
4171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4177 # The following way of writing the cache mishandles newlines in values,
4178 # but we know of no workaround that is simple, portable, and efficient.
4179 # So, we kill variables containing newlines.
4180 # Ultrix sh set writes to stderr and can't be redirected directly,
4181 # and sets the high bit in the cache file unless we assign to the vars.
4183 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4184 eval ac_val=\$$ac_var
4188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4192 _ | IFS | as_nl) ;; #(
4193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4194 *) { eval $ac_var=; unset $ac_var;} ;;
4200 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4201 *${as_nl}ac_space=\ *)
4202 # `set' does not quote correctly, so add quotes: double-quote
4203 # substitution turns \\\\ into \\, and sed turns \\ into \.
4206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4209 # `set' quotes correctly as required by POSIX, so do not add quotes.
4210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4221 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4224 if test -w "$cache_file"; then
4225 if test "x$cache_file" != "x/dev/null"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4227 $as_echo "$as_me: updating cache $cache_file" >&6;}
4228 if test ! -f "$cache_file" || test -h "$cache_file"; then
4229 cat confcache >"$cache_file"
4231 case $cache_file in #(
4233 mv -f confcache "$cache_file"$$ &&
4234 mv -f "$cache_file"$$ "$cache_file" ;; #(
4236 mv -f confcache "$cache_file" ;;
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4247 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4248 # Let make expand exec_prefix.
4249 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4251 # Transform confdefs.h into DEFS.
4252 # Protect against shell expansion while executing Makefile rules.
4253 # Protect against Makefile macro expansion.
4255 # If the first sed substitution is executed (which looks for macros that
4256 # take arguments), then branch to the quote section. Otherwise,
4257 # look for a macro that doesn't take arguments.
4267 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4269 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4273 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4286 DEFS=`sed -n "$ac_script" confdefs.h`
4292 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4293 # 1. Remove the extension, and $U if already installed.
4294 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4295 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4297 # will be set to the directory where LIBOBJS objects are built.
4298 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4299 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4301 LIB@&t@OBJS=$ac_libobjs
4303 LTLIBOBJS=$ac_ltlibobjs
4307 : "${CONFIG_STATUS=./config.status}"
4309 ac_clean_files_save=$ac_clean_files
4310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4316 # Generated by $as_me.
4317 # Run this file to recreate the current configuration.
4318 # Compiler output produced by configure, useful for debugging
4319 # configure, is in config.log if it exists.
4325 SHELL=\${CONFIG_SHELL-$SHELL}
4328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4329 ## -------------------- ##
4330 ## M4sh Initialization. ##
4331 ## -------------------- ##
4333 # Be more Bourne compatible
4334 DUALCASE=1; export DUALCASE # for MKS sh
4335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4339 # is contrary to our usage. Disable this feature.
4340 alias -g '${1+"$@"}'='"$@"'
4341 setopt NO_GLOB_SUBST
4343 case `(set -o) 2>/dev/null` in @%:@(
4345 set -o posix ;; @%:@(
4355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4356 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4359 # Prefer a ksh shell builtin over an external printf program on Solaris,
4360 # but without wasting forks for bash or zsh.
4361 if test -z "$BASH_VERSION$ZSH_VERSION" \
4362 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4363 as_echo='print -r --'
4364 as_echo_n='print -rn --'
4365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4366 as_echo='printf %s\n'
4367 as_echo_n='printf %s'
4369 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4370 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4371 as_echo_n='/usr/ucb/echo -n'
4373 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4374 as_echo_n_body='eval
4378 expr "X$arg" : "X\\(.*\\)$as_nl";
4379 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4381 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4383 export as_echo_n_body
4384 as_echo_n='sh -c $as_echo_n_body as_echo'
4387 as_echo='sh -c $as_echo_body as_echo'
4390 # The user is always right.
4391 if test "${PATH_SEPARATOR+set}" != set; then
4393 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4394 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4401 # We need space, tab and new line, in precisely that order. Quoting is
4402 # there to prevent editors from complaining about space-tab.
4403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4404 # splitting by setting IFS to empty value.)
4407 # Find who we are. Look in the path if we contain no directory separator.
4410 *[\\/]* ) as_myself=$0 ;;
4411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4422 # We did not find ourselves, most probably we were run as `sh COMMAND'
4423 # in which case we are not to be found in the path.
4424 if test "x$as_myself" = x; then
4427 if test ! -f "$as_myself"; then
4428 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4432 # Unset variables that we do not need and which cause bugs (e.g. in
4433 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4434 # suppresses any "Segmentation fault" message there. '((' could
4435 # trigger a bug in pdksh 5.2.14.
4436 for as_var in BASH_ENV ENV MAIL MAILPATH
4437 do eval test x\${$as_var+set} = xset \
4438 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4454 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4455 @%:@ ----------------------------------------
4456 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4457 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4458 @%:@ script with STATUS, using 1 if that was 0.
4461 as_status=$1; test $as_status -eq 0 && as_status=1
4463 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4464 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4466 $as_echo "$as_me: error: $2" >&2
4467 as_fn_exit $as_status
4471 @%:@ as_fn_set_status STATUS
4472 @%:@ -----------------------
4473 @%:@ Set @S|@? to STATUS, without forking.
4477 } @%:@ as_fn_set_status
4479 @%:@ as_fn_exit STATUS
4480 @%:@ -----------------
4481 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4489 @%:@ as_fn_unset VAR
4490 @%:@ ---------------
4491 @%:@ Portably unset VAR.
4494 { eval $1=; unset $1;}
4496 as_unset=as_fn_unset
4497 @%:@ as_fn_append VAR VALUE
4498 @%:@ ----------------------
4499 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4500 @%:@ advantage of any shell optimizations that allow amortized linear growth over
4501 @%:@ repeated appends, instead of the typical quadratic growth present in naive
4502 @%:@ implementations.
4503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4504 eval 'as_fn_append ()
4515 @%:@ as_fn_arith ARG...
4516 @%:@ ------------------
4517 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4518 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4519 @%:@ must be portable across @S|@(()) and expr.
4520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4521 eval 'as_fn_arith ()
4528 as_val=`expr "$@" || test $? -eq 1`
4533 if expr a : '\(a\)' >/dev/null 2>&1 &&
4534 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4541 as_basename=basename
4546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4552 as_me=`$as_basename -- "$0" ||
4553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4554 X"$0" : 'X\(//\)$' \| \
4555 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4557 sed '/^.*\/\([^/][^/]*\)\/*$/{
4571 # Avoid depending upon Character Ranges.
4572 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4573 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4574 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4575 as_cr_digits='0123456789'
4576 as_cr_alnum=$as_cr_Letters$as_cr_digits
4578 ECHO_C= ECHO_N= ECHO_T=
4579 case `echo -n x` in @%:@(((((
4581 case `echo 'xy\c'` in
4582 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4584 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4591 rm -f conf$$ conf$$.exe conf$$.file
4592 if test -d conf$$.dir; then
4593 rm -f conf$$.dir/conf$$.file
4596 mkdir conf$$.dir 2>/dev/null
4598 if (echo >conf$$.file) 2>/dev/null; then
4599 if ln -s conf$$.file conf$$ 2>/dev/null; then
4601 # ... but there are two gotchas:
4602 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4603 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4604 # In both cases, we have to default to `cp -pR'.
4605 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4607 elif ln conf$$.file conf$$ 2>/dev/null; then
4615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4616 rmdir conf$$.dir 2>/dev/null
4621 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4626 -*) as_dir=./$as_dir;;
4628 test -d "$as_dir" || eval $as_mkdir_p || {
4632 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4633 *) as_qdir=$as_dir;;
4635 as_dirs="'$as_qdir' $as_dirs"
4636 as_dir=`$as_dirname -- "$as_dir" ||
4637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4638 X"$as_dir" : 'X\(//\)[^/]' \| \
4639 X"$as_dir" : 'X\(//\)$' \| \
4640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4641 $as_echo X"$as_dir" |
4642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4659 test -d "$as_dir" && break
4661 test -z "$as_dirs" || eval "mkdir $as_dirs"
4662 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4665 } @%:@ as_fn_mkdir_p
4666 if mkdir -p . 2>/dev/null; then
4667 as_mkdir_p='mkdir -p "$as_dir"'
4669 test -d ./-p && rmdir ./-p
4674 @%:@ as_fn_executable_p FILE
4675 @%:@ -----------------------
4676 @%:@ Test if FILE is an executable regular file.
4677 as_fn_executable_p ()
4679 test -f "$1" && test -x "$1"
4680 } @%:@ as_fn_executable_p
4682 as_executable_p=as_fn_executable_p
4684 # Sed expression to map a string onto a valid CPP name.
4685 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4687 # Sed expression to map a string onto a valid variable name.
4688 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4692 ## ----------------------------------- ##
4693 ## Main body of $CONFIG_STATUS script. ##
4694 ## ----------------------------------- ##
4696 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4699 # Save the log message, to keep $0 and so on meaningful, and to
4700 # report actual input values of CONFIG_FILES etc. instead of their
4701 # values after options handling.
4703 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
4704 generated by GNU Autoconf 2.69. Invocation command line was
4706 CONFIG_FILES = $CONFIG_FILES
4707 CONFIG_HEADERS = $CONFIG_HEADERS
4708 CONFIG_LINKS = $CONFIG_LINKS
4709 CONFIG_COMMANDS = $CONFIG_COMMANDS
4712 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4717 case $ac_config_files in *"
4718 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4724 # Files that config.status was made for.
4725 config_files="$ac_config_files"
4729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4731 \`$as_me' instantiates files and other configuration actions
4732 from templates according to the current configuration. Unless the files
4733 and actions are specified as TAGs, all are instantiated by default.
4735 Usage: $0 [OPTION]... [TAG]...
4737 -h, --help print this help, then exit
4738 -V, --version print version number and configuration settings, then exit
4739 --config print configuration, then exit
4740 -q, --quiet, --silent
4741 do not print progress messages
4742 -d, --debug don't remove temporary files
4743 --recheck update $as_me by reconfiguring in the same conditions
4744 --file=FILE[:TEMPLATE]
4745 instantiate the configuration file FILE
4747 Configuration files:
4750 Report bugs to <BUG-REPORT-ADDRESS>."
4753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4756 ACL - Andromeda Class Library config.status 0.1
4757 configured by $0, generated by GNU Autoconf 2.69,
4758 with options \\"\$ac_cs_config\\"
4760 Copyright (C) 2012 Free Software Foundation, Inc.
4761 This config.status script is free software; the Free Software Foundation
4762 gives unlimited permission to copy, distribute and modify it."
4766 test -n "\$AWK" || AWK=awk
4769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4770 # The default lists apply if the user does not specify any file.
4776 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4777 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4781 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4793 # Handling of the options.
4794 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4796 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4797 $as_echo "$ac_cs_version"; exit ;;
4798 --config | --confi | --conf | --con | --co | --c )
4799 $as_echo "$ac_cs_config"; exit ;;
4800 --debug | --debu | --deb | --de | --d | -d )
4802 --file | --fil | --fi | --f )
4805 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4806 '') as_fn_error $? "missing file argument" ;;
4808 as_fn_append CONFIG_FILES " '$ac_optarg'"
4809 ac_need_defaults=false;;
4810 --he | --h | --help | --hel | -h )
4811 $as_echo "$ac_cs_usage"; exit ;;
4812 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4813 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4817 -*) as_fn_error $? "unrecognized option: \`$1'
4818 Try \`$0 --help' for more information." ;;
4820 *) as_fn_append ac_config_targets " $1"
4821 ac_need_defaults=false ;;
4827 ac_configure_extra_args=
4829 if $ac_cs_silent; then
4831 ac_configure_extra_args="$ac_configure_extra_args --silent"
4835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4836 if \$ac_cs_recheck; then
4837 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4839 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4840 CONFIG_SHELL='$SHELL'
4846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4850 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4851 @%:@@%:@ Running $as_me. @%:@@%:@
4857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4862 # Handling of arguments.
4863 for ac_config_target in $ac_config_targets
4865 case $ac_config_target in
4866 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4867 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4869 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4874 # If the user did not use the arguments to specify the items to instantiate,
4875 # then the envvar interface is used. Set only those that are not.
4876 # We use the long form for the default assignment because of an extremely
4877 # bizarre bug on SunOS 4.1.3.
4878 if $ac_need_defaults; then
4879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4882 # Have a temporary directory for convenience. Make it in the build tree
4883 # simply because there is no reason against having it here, and in addition,
4884 # creating and moving files from /tmp can sometimes cause problems.
4885 # Hook for its removal unless debugging.
4886 # Note that there is a small window in which the directory will not be cleaned:
4887 # after its creation but before its name has been assigned to `$tmp'.
4891 trap 'exit_status=$?
4893 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4895 trap 'as_fn_exit 1' 1 2 13 15
4897 # Create a (secure) tmp directory for tmp files.
4900 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4904 tmp=./conf$$-$RANDOM
4905 (umask 077 && mkdir "$tmp")
4906 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4909 # Set up the scripts for CONFIG_FILES section.
4910 # No need to generate them if there are no CONFIG_FILES.
4911 # This happens for instance with `./config.status config.h'.
4912 if test -n "$CONFIG_FILES"; then
4915 ac_cr=`echo X | tr X '\015'`
4916 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4917 # But we know of no other shell where ac_cr would be empty at this
4918 # point, so we can use a bashism as a fallback.
4919 if test "x$ac_cr" = x; then
4920 eval ac_cr=\$\'\\r\'
4922 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4923 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4929 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4934 echo "cat >conf$$subs.awk <<_ACEOF" &&
4935 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4938 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4939 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4941 for ac_last_try in false false false false false :; do
4942 . ./conf$$subs.sh ||
4943 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4945 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4946 if test $ac_delim_n = $ac_delim_num; then
4948 elif $ac_last_try; then
4949 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4957 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4961 s/^/S["/; s/!.*/"]=/
4971 s/\(.\{148\}\)..*/\1/
4973 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4978 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4985 s/\(.\{148\}\)..*/\1/
4987 s/["\\]/\\&/g; s/^/"/; s/$/"/
4991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4996 ' <conf$$subs.awk | sed '
5001 ' >>$CONFIG_STATUS || ac_write_fail=1
5002 rm -f conf$$subs.awk
5003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5005 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5006 for (key in S) S_is_set[key] = 1
5012 nfields = split(line, field, "@")
5014 len = length(field[1])
5015 for (i = 2; i < nfields; i++) {
5017 keylen = length(key)
5018 if (S_is_set[key]) {
5020 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5021 len += length(value) + length(field[++i])
5032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5033 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5034 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5037 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5038 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5041 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5042 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5043 # trailing colons and then remove the whole line if VPATH becomes empty
5044 # (actually we leave an empty line to preserve line numbers).
5045 if test "x$srcdir" = x.; then
5046 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5065 fi # test -n "$CONFIG_FILES"
5068 eval set X " :F $CONFIG_FILES "
5073 :[FHLC]) ac_mode=$ac_tag; continue;;
5075 case $ac_mode$ac_tag in
5077 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5078 :[FH]-) ac_tag=-:-;;
5079 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5096 -) ac_f="$ac_tmp/stdin";;
5097 *) # Look for the file first in the build tree, then in the source tree
5098 # (if the path is not absolute). The absolute path cannot be DOS-style,
5099 # because $ac_f cannot contain `:'.
5103 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5105 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5107 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5108 as_fn_append ac_file_inputs " '$ac_f'"
5111 # Let's still pretend it is `configure' which instantiates (i.e., don't
5112 # use $as_me), people would be surprised to read:
5113 # /* config.h. Generated by config.status. */
5114 configure_input='Generated from '`
5115 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5117 if test x"$ac_file" != x-; then
5118 configure_input="$ac_file. $configure_input"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5120 $as_echo "$as_me: creating $ac_file" >&6;}
5122 # Neutralize special characters interpreted by sed in replacement strings.
5123 case $configure_input in #(
5124 *\&* | *\|* | *\\* )
5125 ac_sed_conf_input=`$as_echo "$configure_input" |
5126 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5127 *) ac_sed_conf_input=$configure_input;;
5131 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5137 ac_dir=`$as_dirname -- "$ac_file" ||
5138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5139 X"$ac_file" : 'X\(//\)[^/]' \| \
5140 X"$ac_file" : 'X\(//\)$' \| \
5141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5142 $as_echo X"$ac_file" |
5143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5160 as_dir="$ac_dir"; as_fn_mkdir_p
5164 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5166 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5167 # A ".." for each directory in $ac_dir_suffix.
5168 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5169 case $ac_top_builddir_sub in
5170 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5171 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5174 ac_abs_top_builddir=$ac_pwd
5175 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5176 # for backward compatibility:
5177 ac_top_builddir=$ac_top_build_prefix
5180 .) # We are building in place.
5182 ac_top_srcdir=$ac_top_builddir_sub
5183 ac_abs_top_srcdir=$ac_pwd ;;
5184 [\\/]* | ?:[\\/]* ) # Absolute name.
5185 ac_srcdir=$srcdir$ac_dir_suffix;
5186 ac_top_srcdir=$srcdir
5187 ac_abs_top_srcdir=$srcdir ;;
5189 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5190 ac_top_srcdir=$ac_top_build_prefix$srcdir
5191 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5193 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5205 # If the template does not know about datarootdir, expand it.
5206 # FIXME: This hack should be removed a few years after 2.60.
5207 ac_datarootdir_hack=; ac_datarootdir_seen=
5218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5219 *datarootdir*) ac_datarootdir_seen=yes;;
5220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5225 ac_datarootdir_hack='
5226 s&@datadir@&$datadir&g
5227 s&@docdir@&$docdir&g
5228 s&@infodir@&$infodir&g
5229 s&@localedir@&$localedir&g
5230 s&@mandir@&$mandir&g
5231 s&\\\${datarootdir}&$datarootdir&g' ;;
5235 # Neutralize VPATH when `$srcdir' = `.'.
5236 # Shell code in configure.ac might set extrasub.
5237 # FIXME: do we really want to maintain this feature?
5238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5239 ac_sed_extra="$ac_vpsub
5242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5245 s|@configure_input@|$ac_sed_conf_input|;t t
5246 s&@top_builddir@&$ac_top_builddir_sub&;t t
5247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5248 s&@srcdir@&$ac_srcdir&;t t
5249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5250 s&@top_srcdir@&$ac_top_srcdir&;t t
5251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5252 s&@builddir@&$ac_builddir&;t t
5253 s&@abs_builddir@&$ac_abs_builddir&;t t
5254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5255 $ac_datarootdir_hack
5257 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5258 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5260 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5261 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5262 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5263 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5265 which seems to be undefined. Please make sure it is defined" >&5
5266 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5267 which seems to be undefined. Please make sure it is defined" >&2;}
5269 rm -f "$ac_tmp/stdin"
5271 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5272 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5286 ac_clean_files=$ac_clean_files_save
5288 test $ac_write_fail = 0 ||
5289 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5292 # configure is writing to config.log, and then calls config.status.
5293 # config.status does its own redirection, appending to config.log.
5294 # Unfortunately, on DOS this fails, as config.log is still kept open
5295 # by configure, so config.status won't be able to write to it; its
5296 # output is simply discarded. So we exec the FD to /dev/null,
5297 # effectively closing config.log, so it can be properly (re)opened and
5298 # appended to by config.status. When coming back to configure, we
5299 # need to make the FD available again.
5300 if test "$no_create" != yes; then
5302 ac_config_status_args=
5303 test "$silent" = yes &&
5304 ac_config_status_args="$ac_config_status_args --quiet"
5306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5309 # would make configure fail if this is the last instruction.
5310 $ac_cs_success || as_fn_exit 1
5312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}