2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for atlc 4.6.1.
5 # Report bugs to <drkirkby@gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and drkirkby@gmail.com
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='atlc'
563 PACKAGE_VERSION='4.6.1'
564 PACKAGE_STRING='atlc 4.6.1'
565 PACKAGE_BUGREPORT='drkirkby@gmail.com'
568 ac_unique_file="tools/src/myfilelength.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
609 compiled_with_compiler
610 built_with_posix_threads
651 INSTALL_STRIP_PROGRAM
693 program_transform_name
706 enable_option_checking
707 enable_dependency_tracking
711 ac_precious_vars='build_alias
722 # Initialize some variables set by options.
724 ac_init_version=false
725 ac_unrecognized_opts=
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
736 program_transform_name=s,x,x,
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir='${exec_prefix}/bin'
751 sbindir='${exec_prefix}/sbin'
752 libexecdir='${exec_prefix}/libexec'
753 datarootdir='${prefix}/share'
754 datadir='${datarootdir}'
755 sysconfdir='${prefix}/etc'
756 sharedstatedir='${prefix}/com'
757 localstatedir='${prefix}/var'
758 includedir='${prefix}/include'
759 oldincludedir='/usr/include'
760 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
761 infodir='${datarootdir}/info'
766 libdir='${exec_prefix}/lib'
767 localedir='${datarootdir}/locale'
768 mandir='${datarootdir}/man'
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\$ac_option
782 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
787 # Accept the important Cygnus configure options, so we can diagnose typos.
789 case $ac_dashdash$ac_option in
793 -bindir | --bindir | --bindi | --bind | --bin | --bi)
795 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
798 -build | --build | --buil | --bui | --bu)
799 ac_prev=build_alias ;;
800 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
801 build_alias=$ac_optarg ;;
803 -cache-file | --cache-file | --cache-fil | --cache-fi \
804 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
805 ac_prev=cache_file ;;
806 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
807 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
808 cache_file=$ac_optarg ;;
811 cache_file=config.cache ;;
813 -datadir | --datadir | --datadi | --datad)
815 -datadir=* | --datadir=* | --datadi=* | --datad=*)
816 datadir=$ac_optarg ;;
818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
819 | --dataroo | --dataro | --datar)
820 ac_prev=datarootdir ;;
821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
823 datarootdir=$ac_optarg ;;
825 -disable-* | --disable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 as_fn_error $? "invalid feature name: $ac_useropt"
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
839 eval enable_$ac_useropt=no ;;
841 -docdir | --docdir | --docdi | --doc | --do)
843 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
846 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
851 -enable-* | --enable-*)
852 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855 as_fn_error $? "invalid feature name: $ac_useropt"
856 ac_useropt_orig=$ac_useropt
857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858 case $ac_user_opts in
862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
863 ac_unrecognized_sep=', ';;
865 eval enable_$ac_useropt=\$ac_optarg ;;
867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869 | --exec | --exe | --ex)
870 ac_prev=exec_prefix ;;
871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873 | --exec=* | --exe=* | --ex=*)
874 exec_prefix=$ac_optarg ;;
876 -gas | --gas | --ga | --g)
877 # Obsolete; use --with-gas.
880 -help | --help | --hel | --he | -h)
882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883 ac_init_help=recursive ;;
884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885 ac_init_help=short ;;
887 -host | --host | --hos | --ho)
888 ac_prev=host_alias ;;
889 -host=* | --host=* | --hos=* | --ho=*)
890 host_alias=$ac_optarg ;;
892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896 htmldir=$ac_optarg ;;
898 -includedir | --includedir | --includedi | --included | --include \
899 | --includ | --inclu | --incl | --inc)
900 ac_prev=includedir ;;
901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902 | --includ=* | --inclu=* | --incl=* | --inc=*)
903 includedir=$ac_optarg ;;
905 -infodir | --infodir | --infodi | --infod | --info | --inf)
907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908 infodir=$ac_optarg ;;
910 -libdir | --libdir | --libdi | --libd)
912 -libdir=* | --libdir=* | --libdi=* | --libd=*)
915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916 | --libexe | --libex | --libe)
917 ac_prev=libexecdir ;;
918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919 | --libexe=* | --libex=* | --libe=*)
920 libexecdir=$ac_optarg ;;
922 -localedir | --localedir | --localedi | --localed | --locale)
924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925 localedir=$ac_optarg ;;
927 -localstatedir | --localstatedir | --localstatedi | --localstated \
928 | --localstate | --localstat | --localsta | --localst | --locals)
929 ac_prev=localstatedir ;;
930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932 localstatedir=$ac_optarg ;;
934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940 # Obsolete; use --without-fp.
943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
944 | --no-cr | --no-c | -n)
947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953 | --oldin | --oldi | --old | --ol | --o)
954 ac_prev=oldincludedir ;;
955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958 oldincludedir=$ac_optarg ;;
960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
965 -program-prefix | --program-prefix | --program-prefi | --program-pref \
966 | --program-pre | --program-pr | --program-p)
967 ac_prev=program_prefix ;;
968 -program-prefix=* | --program-prefix=* | --program-prefi=* \
969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970 program_prefix=$ac_optarg ;;
972 -program-suffix | --program-suffix | --program-suffi | --program-suff \
973 | --program-suf | --program-su | --program-s)
974 ac_prev=program_suffix ;;
975 -program-suffix=* | --program-suffix=* | --program-suffi=* \
976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977 program_suffix=$ac_optarg ;;
979 -program-transform-name | --program-transform-name \
980 | --program-transform-nam | --program-transform-na \
981 | --program-transform-n | --program-transform- \
982 | --program-transform | --program-transfor \
983 | --program-transfo | --program-transf \
984 | --program-trans | --program-tran \
985 | --progr-tra | --program-tr | --program-t)
986 ac_prev=program_transform_name ;;
987 -program-transform-name=* | --program-transform-name=* \
988 | --program-transform-nam=* | --program-transform-na=* \
989 | --program-transform-n=* | --program-transform-=* \
990 | --program-transform=* | --program-transfor=* \
991 | --program-transfo=* | --program-transf=* \
992 | --program-trans=* | --program-tran=* \
993 | --progr-tra=* | --program-tr=* | --program-t=*)
994 program_transform_name=$ac_optarg ;;
996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001 -psdir | --psdir | --psdi | --psd | --ps)
1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007 | -silent | --silent | --silen | --sile | --sil)
1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014 sbindir=$ac_optarg ;;
1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018 | --sharedst | --shareds | --shared | --share | --shar \
1020 ac_prev=sharedstatedir ;;
1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025 sharedstatedir=$ac_optarg ;;
1027 -site | --site | --sit)
1029 -site=* | --site=* | --sit=*)
1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035 srcdir=$ac_optarg ;;
1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038 | --syscon | --sysco | --sysc | --sys | --sy)
1039 ac_prev=sysconfdir ;;
1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042 sysconfdir=$ac_optarg ;;
1044 -target | --target | --targe | --targ | --tar | --ta | --t)
1045 ac_prev=target_alias ;;
1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047 target_alias=$ac_optarg ;;
1049 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1052 -version | --version | --versio | --versi | --vers | -V)
1053 ac_init_version=: ;;
1056 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval with_$ac_useropt=\$ac_optarg ;;
1071 -without-* | --without-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1085 eval with_$ac_useropt=no ;;
1088 # Obsolete; use --with-x.
1091 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1092 | --x-incl | --x-inc | --x-in | --x-i)
1093 ac_prev=x_includes ;;
1094 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1095 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1096 x_includes=$ac_optarg ;;
1098 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1099 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1100 ac_prev=x_libraries ;;
1101 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1102 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1103 x_libraries=$ac_optarg ;;
1105 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1106 Try \`$0 --help' for more information"
1110 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1111 # Reject names that are not valid shell variable names.
1112 case $ac_envvar in #(
1113 '' | [0-9]* | *[!_$as_cr_alnum]* )
1114 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1116 eval $ac_envvar=\$ac_optarg
1117 export $ac_envvar ;;
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1130 if test -n "$ac_prev"; then
1131 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132 as_fn_error $? "missing argument to $ac_option"
1135 if test -n "$ac_unrecognized_opts"; then
1136 case $enable_option_checking in
1138 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1139 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143 # Check all directory arguments for consistency.
1144 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145 datadir sysconfdir sharedstatedir localstatedir includedir \
1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147 libdir localedir mandir
1149 eval ac_val=\$$ac_var
1150 # Remove trailing slashes.
1153 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1154 eval $ac_var=\$ac_val;;
1156 # Be sure to have absolute directory names.
1158 [\\/$]* | ?:[\\/]* ) continue;;
1159 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1161 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1164 # There might be people who depend on the old broken behavior: `$host'
1165 # used to hold the argument of --host etc.
1166 # FIXME: To remove some day.
1169 target=$target_alias
1171 # FIXME: To remove some day.
1172 if test "x$host_alias" != x; then
1173 if test "x$build_alias" = x; then
1174 cross_compiling=maybe
1175 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1176 If a cross compiler is detected then cross compile mode will be used" >&2
1177 elif test "x$build_alias" != "x$host_alias"; then
1183 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1185 test "$silent" = yes && exec 6>/dev/null
1188 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1189 ac_ls_di=`ls -di .` &&
1190 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1191 as_fn_error $? "working directory cannot be determined"
1192 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1193 as_fn_error $? "pwd does not report name of working directory"
1196 # Find the source files, if location was not specified.
1197 if test -z "$srcdir"; then
1198 ac_srcdir_defaulted=yes
1199 # Try the directory containing this script, then the parent directory.
1200 ac_confdir=`$as_dirname -- "$as_myself" ||
1201 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1202 X"$as_myself" : 'X\(//\)[^/]' \| \
1203 X"$as_myself" : 'X\(//\)$' \| \
1204 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1205 $as_echo X"$as_myself" |
1206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1228 ac_srcdir_defaulted=no
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1231 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1232 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1234 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1236 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1238 # When building in place, set srcdir=.
1239 if test "$ac_abs_confdir" = "$ac_pwd"; then
1242 # Remove unnecessary trailing slashes from srcdir.
1243 # Double slashes in file names in object file debugging info
1244 # mess up M-x gdb in Emacs.
1246 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1248 for ac_var in $ac_precious_vars; do
1249 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1250 eval ac_env_${ac_var}_value=\$${ac_var}
1251 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1252 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1256 # Report the --help message.
1258 if test "$ac_init_help" = "long"; then
1259 # Omit some internal or obsolete options to make the list less imposing.
1260 # This message is too long to be a string in the A/UX 3.1 sh.
1262 \`configure' configures atlc 4.6.1 to adapt to many kinds of systems.
1264 Usage: $0 [OPTION]... [VAR=VALUE]...
1266 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1267 VAR=VALUE. See below for descriptions of some of the useful variables.
1269 Defaults for the options are specified in brackets.
1272 -h, --help display this help and exit
1273 --help=short display options specific to this package
1274 --help=recursive display the short help of all the included packages
1275 -V, --version display version information and exit
1276 -q, --quiet, --silent do not print \`checking ...' messages
1277 --cache-file=FILE cache test results in FILE [disabled]
1278 -C, --config-cache alias for \`--cache-file=config.cache'
1279 -n, --no-create do not create output files
1280 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1282 Installation directories:
1283 --prefix=PREFIX install architecture-independent files in PREFIX
1284 [$ac_default_prefix]
1285 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1288 By default, \`make install' will install all the files in
1289 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1290 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1291 for instance \`--prefix=\$HOME'.
1293 For better control, use the options below.
1295 Fine tuning of the installation directories:
1296 --bindir=DIR user executables [EPREFIX/bin]
1297 --sbindir=DIR system admin executables [EPREFIX/sbin]
1298 --libexecdir=DIR program executables [EPREFIX/libexec]
1299 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1300 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1301 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1302 --libdir=DIR object code libraries [EPREFIX/lib]
1303 --includedir=DIR C header files [PREFIX/include]
1304 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1305 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1306 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1307 --infodir=DIR info documentation [DATAROOTDIR/info]
1308 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1309 --mandir=DIR man documentation [DATAROOTDIR/man]
1310 --docdir=DIR documentation root [DATAROOTDIR/doc/atlc]
1311 --htmldir=DIR html documentation [DOCDIR]
1312 --dvidir=DIR dvi documentation [DOCDIR]
1313 --pdfdir=DIR pdf documentation [DOCDIR]
1314 --psdir=DIR ps documentation [DOCDIR]
1320 --program-prefix=PREFIX prepend PREFIX to installed program names
1321 --program-suffix=SUFFIX append SUFFIX to installed program names
1322 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1325 --build=BUILD configure for building on BUILD [guessed]
1326 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1330 if test -n "$ac_init_help"; then
1331 case $ac_init_help in
1332 short | recursive ) echo "Configuration of atlc 4.6.1:";;
1337 --disable-option-checking ignore unrecognized --enable/--with options
1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1340 --disable-dependency-tracking speeds up one-time build
1341 --enable-dependency-tracking do not reject slow dependency extractors
1342 --enable-debug with debugging code
1343 --disable-hardware-info Find out information about hardware (Disable if
1344 compilation fails during 'make check')
1346 Some influential environment variables:
1347 CC C compiler command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1350 nonstandard directory <lib dir>
1351 LIBS libraries to pass to the linker, e.g. -l<library>
1352 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353 you have headers in a nonstandard directory <include dir>
1356 Use these variables to override the choices made by `configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to <drkirkby@gmail.com>.
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" ||
1368 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1376 # A ".." for each directory in $ac_dir_suffix.
1377 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378 case $ac_top_builddir_sub in
1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1389 .) # We are building in place.
1391 ac_top_srcdir=$ac_top_builddir_sub
1392 ac_abs_top_srcdir=$ac_pwd ;;
1393 [\\/]* | ?:[\\/]* ) # Absolute name.
1394 ac_srcdir=$srcdir$ac_dir_suffix;
1395 ac_top_srcdir=$srcdir
1396 ac_abs_top_srcdir=$srcdir ;;
1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for guested configure.
1406 if test -f "$ac_srcdir/configure.gnu"; then
1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409 elif test -f "$ac_srcdir/configure"; then
1411 $SHELL "$ac_srcdir/configure" --help=recursive
1413 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 cd "$ac_pwd" || { ac_status=$?; break; }
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1422 atlc configure 4.6.1
1423 generated by GNU Autoconf 2.68
1425 Copyright (C) 2010 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1436 # ac_fn_c_try_compile LINENO
1437 # --------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_c_try_compile ()
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442 rm -f conftest.$ac_objext
1443 if { { ac_try="$ac_compile"
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_compile") 2>conftest.err
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest.$ac_objext; then :
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_c_try_compile
1474 # ac_fn_c_try_link LINENO
1475 # -----------------------
1476 # Try to link conftest.$ac_ext, and return whether this succeeded.
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 rm -f conftest.$ac_objext conftest$ac_exeext
1481 if { { ac_try="$ac_link"
1483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484 *) ac_try_echo=$ac_try;;
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 $as_echo "$ac_try_echo"; } >&5
1488 (eval "$ac_link") 2>conftest.err
1490 if test -s conftest.err; then
1491 grep -v '^ *+' conftest.err >conftest.er1
1492 cat conftest.er1 >&5
1493 mv -f conftest.er1 conftest.err
1495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496 test $ac_status = 0; } && {
1497 test -z "$ac_c_werror_flag" ||
1498 test ! -s conftest.err
1499 } && test -s conftest$ac_exeext && {
1500 test "$cross_compiling" = yes ||
1501 $as_test_x conftest$ac_exeext
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1510 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1511 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1512 # interfere with the next link command; also delete a directory that is
1513 # left behind by Apple's compiler. We do this before executing the actions.
1514 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516 as_fn_set_status $ac_retval
1518 } # ac_fn_c_try_link
1520 # ac_fn_c_try_cpp LINENO
1521 # ----------------------
1522 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 if { { ac_try="$ac_cpp conftest.$ac_ext"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } > conftest.i && {
1542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval
1557 # ac_fn_c_try_run LINENO
1558 # ----------------------
1559 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1560 # that executables *can* be run.
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 if { { ac_try="$ac_link"
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_link") 2>&5
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1575 { { case "(($ac_try" in
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_try") 2>&5
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; }; }; then :
1587 $as_echo "$as_me: program exited with status $ac_status" >&5
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1591 ac_retval=$ac_status
1593 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status $ac_retval
1599 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1600 # -------------------------------------------------------
1601 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1602 # the include files in INCLUDES and setting the cache variable VAR
1604 ac_fn_c_check_header_mongrel ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if eval \${$3+:} false; then :
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \${$3+:} false; then :
1611 $as_echo_n "(cached) " >&6
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1617 # Is the header compilable?
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1619 $as_echo_n "checking $2 usability... " >&6; }
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1625 if ac_fn_c_try_compile "$LINENO"; then :
1626 ac_header_compiler=yes
1628 ac_header_compiler=no
1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1632 $as_echo "$ac_header_compiler" >&6; }
1634 # Is the header present?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1636 $as_echo_n "checking $2 presence... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1641 if ac_fn_c_try_cpp "$LINENO"; then :
1642 ac_header_preproc=yes
1644 ac_header_preproc=no
1646 rm -f conftest.err conftest.i conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1648 $as_echo "$ac_header_preproc" >&6; }
1650 # So? What about this header?
1651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1654 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1660 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1662 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1664 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1666 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 ( $as_echo "## --------------------------------- ##
1670 ## Report this to drkirkby@gmail.com ##
1671 ## --------------------------------- ##"
1672 ) | sed "s/^/$as_me: WARNING: /" >&2
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1680 eval "$3=\$ac_header_compiler"
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 } # ac_fn_c_check_header_mongrel
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1707 if ac_fn_c_try_compile "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 } # ac_fn_c_check_header_compile
1721 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1722 # -------------------------------------------
1723 # Tests whether TYPE exists after having included INCLUDES, setting cache
1724 # variable VAR accordingly.
1725 ac_fn_c_check_type ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1746 if ac_fn_c_try_compile "$LINENO"; then :
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1759 if ac_fn_c_try_compile "$LINENO"; then :
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_type
1775 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1776 # --------------------------------------------
1777 # Tries to find the compile-time value of EXPR in a program that includes
1778 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1780 ac_fn_c_compute_int ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if test "$cross_compiling" = yes; then
1784 # Depending upon the size, compute the lo and hi bounds.
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1791 static int test_array [1 - 2 * !(($2) >= 0)];
1798 if ac_fn_c_try_compile "$LINENO"; then :
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1807 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 ac_hi=$ac_mid; break
1817 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1818 if test $ac_lo -le $ac_mid; then
1822 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1833 static int test_array [1 - 2 * !(($2) < 0)];
1840 if ac_fn_c_try_compile "$LINENO"; then :
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1849 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1856 if ac_fn_c_try_compile "$LINENO"; then :
1857 ac_lo=$ac_mid; break
1859 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1860 if test $ac_mid -le $ac_hi; then
1864 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 # Binary search between lo and hi bounds.
1875 while test "x$ac_lo" != "x$ac_hi"; do
1876 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1883 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1890 if ac_fn_c_try_compile "$LINENO"; then :
1893 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1905 static long int longval () { return $2; }
1906 static unsigned long int ulongval () { return $2; }
1913 FILE *f = fopen ("conftest.val", "w");
1918 long int i = longval ();
1921 fprintf (f, "%ld", i);
1925 unsigned long int i = ulongval ();
1928 fprintf (f, "%lu", i);
1930 /* Do not output a trailing newline, as this causes \r\n confusion
1931 on some platforms. */
1932 return ferror (f) || fclose (f) != 0;
1938 if ac_fn_c_try_run "$LINENO"; then :
1939 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1944 conftest.$ac_objext conftest.beam conftest.$ac_ext
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 as_fn_set_status $ac_retval
1951 } # ac_fn_c_compute_int
1953 # ac_fn_c_check_func LINENO FUNC VAR
1954 # ----------------------------------
1955 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1956 ac_fn_c_check_func ()
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \${$3+:} false; then :
1962 $as_echo_n "(cached) " >&6
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1966 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1968 #define $2 innocuous_$2
1970 /* System header to define __stub macros and hopefully few prototypes,
1971 which can conflict with char $2 (); below.
1972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1973 <limits.h> exists even on freestanding compilers. */
1976 # include <limits.h>
1978 # include <assert.h>
1983 /* Override any GCC internal prototype to avoid an error.
1984 Use char because int might match the return type of a GCC
1985 builtin and then its argument prototype would still apply. */
1990 /* The GNU C library defines this for functions which it implements
1991 to always fail with ENOSYS. Some functions are actually named
1992 something starting with __ and the normal name is an alias. */
1993 #if defined __stub_$2 || defined __stub___$2
2005 if ac_fn_c_try_link "$LINENO"; then :
2010 rm -f core conftest.err conftest.$ac_objext \
2011 conftest$ac_exeext conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_check_func
2020 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2021 # ---------------------------------------------
2022 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2024 ac_fn_c_check_decl ()
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 as_decl_name=`echo $2|sed 's/ *(.*//'`
2028 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2030 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2040 #ifndef $as_decl_name
2042 (void) $as_decl_use;
2044 (void) $as_decl_name;
2052 if ac_fn_c_try_compile "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } # ac_fn_c_check_decl
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by atlc $as_me 4.6.1, which was
2070 generated by GNU Autoconf 2.68. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next=true ;;
2162 as_fn_append ac_configure_args " '$ac_arg'"
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2235 for ac_var in $ac_subst_files
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x $ac_old_val`
2371 ac_new_val_w=`echo x $ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 am__api_version='1.11'
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421 if test -f "$ac_dir/install-sh"; then
2423 ac_install_sh="$ac_aux_dir/install-sh -c"
2425 elif test -f "$ac_dir/install.sh"; then
2427 ac_install_sh="$ac_aux_dir/install.sh -c"
2429 elif test -f "$ac_dir/shtool"; then
2431 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2517 rm -rf conftest.one conftest.two conftest.dir
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2545 echo timestamp > conftest.file
2546 # Reject unsafe characters in $srcdir or the absolute working directory
2547 # name. Accept space and tab only in the latter.
2551 *[\\\"\#\$\&\'\`$am_lf]*)
2552 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2555 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2556 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2559 # Do `set' in a subshell so we don't clobber the current shell's
2560 # arguments. Must try -L first in case configure is actually a
2561 # symlink; some systems play weird games with the mod time of symlinks
2562 # (eg FreeBSD returns the mod time of the symlink's containing
2565 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2568 set X `ls -t "$srcdir/configure" conftest.file`
2571 if test "$*" != "X $srcdir/configure conftest.file" \
2572 && test "$*" != "X conftest.file $srcdir/configure"; then
2574 # If neither matched, then we have a broken ls. This can happen
2575 # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 # broken ls alias from the environment. This has actually
2577 # happened. Such a system could not be considered "sane".
2578 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2582 test "$2" = conftest.file
2588 as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 test "$program_prefix" != NONE &&
2594 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2595 # Use a double $ so make ignores it.
2596 test "$program_suffix" != NONE &&
2597 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2598 # Double any \ or $.
2599 # By default was `s,x,x', remove it if useless.
2600 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2603 # expand $ac_aux_dir to an absolute path
2604 am_aux_dir=`cd $ac_aux_dir && pwd`
2606 if test x"${MISSING+set}" != xset; then
2609 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2611 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2614 # Use eval to expand $SHELL
2615 if eval "$MISSING --run true"; then
2616 am_missing_run="$MISSING --run "
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2620 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2623 if test x"${install_sh}" != xset; then
2626 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2628 install_sh="\${SHELL} $am_aux_dir/install-sh"
2632 # Installed binaries are usually stripped using `strip' when the user
2633 # run `make install-strip'. However `strip' might not be the right
2634 # tool to use in cross-compilation environments, therefore Automake
2635 # will honor the `STRIP' environment variable to overrule this program.
2636 if test "$cross_compiling" != no; then
2637 if test -n "$ac_tool_prefix"; then
2638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639 set dummy ${ac_tool_prefix}strip; ac_word=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if ${ac_cv_prog_STRIP+:} false; then :
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$STRIP"; then
2646 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 STRIP=$ac_cv_prog_STRIP
2666 if test -n "$STRIP"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2668 $as_echo "$STRIP" >&6; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2676 if test -z "$ac_cv_prog_STRIP"; then
2678 # Extract the first word of "strip", so it can be a program name with args.
2679 set dummy strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$ac_ct_STRIP"; then
2686 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_STRIP="strip"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2706 if test -n "$ac_ct_STRIP"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2708 $as_echo "$ac_ct_STRIP" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2714 if test "x$ac_ct_STRIP" = x; then
2717 case $cross_compiling:$ac_tool_warned in
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned=yes ;;
2726 STRIP="$ac_cv_prog_STRIP"
2730 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2733 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734 if test -z "$MKDIR_P"; then
2735 if ${ac_cv_path_mkdir+:} false; then :
2736 $as_echo_n "(cached) " >&6
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2742 test -z "$as_dir" && as_dir=.
2743 for ac_prog in mkdir gmkdir; do
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2746 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747 'mkdir (GNU coreutils) '* | \
2748 'mkdir (coreutils) '* | \
2749 'mkdir (fileutils) '4.1*)
2750 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2760 test -d ./--version && rmdir ./--version
2761 if test "${ac_cv_path_mkdir+set}" = set; then
2762 MKDIR_P="$ac_cv_path_mkdir -p"
2764 # As a last resort, use the slow shell script. Don't cache a
2765 # value for MKDIR_P within a source directory, because that will
2766 # break other packages using the cache if that directory is
2767 # removed, or if the value is a relative name.
2768 MKDIR_P="$ac_install_sh -d"
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2772 $as_echo "$MKDIR_P" >&6; }
2776 [\\/$]* | ?:[\\/]*) ;;
2777 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2780 for ac_prog in gawk mawk nawk awk
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_AWK+:} false; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$AWK"; then
2790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_AWK="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$AWK"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2819 test -n "$AWK" && break
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2825 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 cat >conftest.make <<\_ACEOF
2832 @echo '@@@%%%=$(MAKE)=@@@%%%'
2834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2837 eval ac_cv_prog_make_${ac_make}_set=yes;;
2839 eval ac_cv_prog_make_${ac_make}_set=no;;
2843 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 SET_MAKE="MAKE=${MAKE-make}"
2853 rm -rf .tst 2>/dev/null
2854 mkdir .tst 2>/dev/null
2855 if test -d .tst; then
2860 rmdir .tst 2>/dev/null
2862 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864 # is not polluted with repeated "-I."
2865 am__isrc=' -I$(srcdir)'
2866 # test to see if srcdir already configured
2867 if test -f $srcdir/config.status; then
2868 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2872 # test whether we have cygpath
2873 if test -z "$CYGPATH_W"; then
2874 if (cygpath --version) >/dev/null 2>/dev/null; then
2875 CYGPATH_W='cygpath -w'
2882 # Define the identity of the package.
2887 cat >>confdefs.h <<_ACEOF
2888 #define PACKAGE "$PACKAGE"
2892 cat >>confdefs.h <<_ACEOF
2893 #define VERSION "$VERSION"
2896 # Some tools Automake needs.
2898 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2901 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2904 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2907 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2910 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2912 # We need awk for the "check" target. The system "awk" is bad on
2914 # Always define AMTAR for backward compatibility.
2916 AMTAR=${AMTAR-"${am_missing_run}tar"}
2918 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2926 # defining a config.h might be useful as it can prevent a command line becoming
2927 # too long, but I find it more of a pain than it is useful. To
2928 # make use of it, it would be necessary to hack every source file to
2929 # include it. I can't be bothered yet.
2930 ac_config_headers="$ac_config_headers config.h"
2934 # Checks for programs.
2935 DEPDIR="${am__leading_dot}deps"
2937 ac_config_commands="$ac_config_commands depfiles"
2940 am_make=${MAKE-make}
2941 cat > confinc << 'END'
2943 @echo this is the am__doit target
2946 # If we don't find an include directive, just comment out the code.
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2948 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2952 # First try GNU make style include.
2953 echo "include confinc" > confmf
2954 # Ignore all kinds of additional output from `make'.
2955 case `$am_make -s -f confmf 2> /dev/null` in #(
2956 *the\ am__doit\ target*)
2962 # Now try BSD make style include.
2963 if test "$am__include" = "#"; then
2964 echo '.include "confinc"' > confmf
2965 case `$am_make -s -f confmf 2> /dev/null` in #(
2966 *the\ am__doit\ target*)
2967 am__include=.include
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2976 $as_echo "$_am_result" >&6; }
2977 rm -f confinc confmf
2979 # Check whether --enable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then :
2981 enableval=$enable_dependency_tracking;
2984 if test "x$enable_dependency_tracking" != xno; then
2985 am_depcomp="$ac_aux_dir/depcomp"
2988 if test "x$enable_dependency_tracking" != xno; then
2998 ac_cpp='$CPP $CPPFLAGS'
2999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002 if test -n "$ac_tool_prefix"; then
3003 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if ${ac_cv_prog_CC+:} false; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$CC"; then
3011 ac_cv_prog_CC="$CC" # Let the user override the test.
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir=.
3018 for ac_exec_ext in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test -n "$CC"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033 $as_echo "$CC" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3041 if test -z "$ac_cv_prog_CC"; then
3043 # Extract the first word of "gcc", so it can be a program name with args.
3044 set dummy gcc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060 ac_cv_prog_ac_ct_CC="gcc"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071 if test -n "$ac_ct_CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073 $as_echo "$ac_ct_CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3079 if test "x$ac_ct_CC" = x; then
3082 case $cross_compiling:$ac_tool_warned in
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086 ac_tool_warned=yes ;;
3094 if test -z "$CC"; then
3095 if test -n "$ac_tool_prefix"; then
3096 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3097 set dummy ${ac_tool_prefix}cc; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_CC+:} false; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$CC"; then
3104 ac_cv_prog_CC="$CC" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 ac_cv_prog_CC="${ac_tool_prefix}cc"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test -n "$CC"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126 $as_echo "$CC" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3135 if test -z "$CC"; then
3136 # Extract the first word of "cc", so it can be a program name with args.
3137 set dummy cc; ac_word=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if ${ac_cv_prog_CC+:} false; then :
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$CC"; then
3144 ac_cv_prog_CC="$CC" # Let the user override the test.
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3155 ac_prog_rejected=yes
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 if test $ac_prog_rejected = yes; then
3167 # We found a bogon in the path, so make sure we never use it.
3168 set dummy $ac_cv_prog_CC
3170 if test $# != 0; then
3171 # We chose a different compiler from the bogus one.
3172 # However, it has the same basename, so the bogon will be chosen
3173 # first if we set CC to just the basename; use the full file name.
3175 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3181 if test -n "$CC"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3191 if test -z "$CC"; then
3192 if test -n "$ac_tool_prefix"; then
3193 for ac_prog in cl.exe
3195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC="$CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test -n "$CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3232 test -n "$CC" && break
3235 if test -z "$CC"; then
3237 for ac_prog in cl.exe
3239 # Extract the first word of "$ac_prog", so it can be a program name with args.
3240 set dummy $ac_prog; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$ac_ct_CC"; then
3247 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256 ac_cv_prog_ac_ct_CC="$ac_prog"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3267 if test -n "$ac_ct_CC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3269 $as_echo "$ac_ct_CC" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3276 test -n "$ac_ct_CC" && break
3279 if test "x$ac_ct_CC" = x; then
3282 case $cross_compiling:$ac_tool_warned in
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3286 ac_tool_warned=yes ;;
3295 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "no acceptable C compiler found in \$PATH
3298 See \`config.log' for more details" "$LINENO" 5; }
3300 # Provide some information about the compiler.
3301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3304 for ac_option in --version -v -V -qversion; do
3305 { { ac_try="$ac_compiler $ac_option >&5"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3314 if test -s conftest.err; then
3316 ... rest of stderr output deleted ...
3317 10q' conftest.err >conftest.er1
3318 cat conftest.er1 >&5
3320 rm -f conftest.er1 conftest.err
3321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322 test $ac_status = 0; }
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 ac_clean_files_save=$ac_clean_files
3337 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3338 # Try to create an executable without -o first, disregard a.out.
3339 # It will help us diagnose broken compilers, and finding out an intuition
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3342 $as_echo_n "checking whether the C compiler works... " >&6; }
3343 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3345 # The possible output files:
3346 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3349 for ac_file in $ac_files
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3358 if { { ac_try="$ac_link_default"
3360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361 *) ac_try_echo=$ac_try;;
3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364 $as_echo "$ac_try_echo"; } >&5
3365 (eval "$ac_link_default") 2>&5
3367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368 test $ac_status = 0; }; then :
3369 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3371 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3372 # so that the user can short-circuit this test for compilers unknown to
3374 for ac_file in $ac_files ''
3376 test -f "$ac_file" || continue
3378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3381 # We found the default executable, but exeext='' is most
3385 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3387 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3389 # We set ac_cv_exeext here because the later test for it is not
3390 # safe: cross compilers may not add the suffix if given an `-o'
3391 # argument, so we may need to know it at that point already.
3392 # Even if this section looks crufty: it has the advantage of
3399 test "$ac_cv_exeext" = no && ac_cv_exeext=
3404 if test -z "$ac_file"; then :
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error 77 "C compiler cannot create executables
3413 See \`config.log' for more details" "$LINENO" 5; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3416 $as_echo "yes" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3419 $as_echo_n "checking for C compiler default output file name... " >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3421 $as_echo "$ac_file" >&6; }
3422 ac_exeext=$ac_cv_exeext
3424 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3425 ac_clean_files=$ac_clean_files_save
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3427 $as_echo_n "checking for suffix of executables... " >&6; }
3428 if { { ac_try="$ac_link"
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_link") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; then :
3439 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3440 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3441 # work properly (i.e., refer to `conftest.exe'), while it won't with
3443 for ac_file in conftest.exe conftest conftest.*; do
3444 test -f "$ac_file" || continue
3446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3447 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3456 See \`config.log' for more details" "$LINENO" 5; }
3458 rm -f conftest conftest$ac_cv_exeext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3460 $as_echo "$ac_cv_exeext" >&6; }
3462 rm -f conftest.$ac_ext
3463 EXEEXT=$ac_cv_exeext
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3471 FILE *f = fopen ("conftest.out", "w");
3472 return ferror (f) || fclose (f) != 0;
3478 ac_clean_files="$ac_clean_files conftest.out"
3479 # Check that the compiler produces executables we can run. If not, either
3480 # the compiler is broken, or we cross compile.
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3482 $as_echo_n "checking whether we are cross compiling... " >&6; }
3483 if test "$cross_compiling" != yes; then
3484 { { ac_try="$ac_link"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_link") 2>&5
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3495 if { ac_try='./conftest$ac_cv_exeext'
3496 { { case "(($ac_try" in
3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 $as_echo "$ac_try_echo"; } >&5
3502 (eval "$ac_try") 2>&5
3504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505 test $ac_status = 0; }; }; then
3508 if test "$cross_compiling" = maybe; then
3511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error $? "cannot run C compiled programs.
3514 If you meant to cross compile, use \`--host'.
3515 See \`config.log' for more details" "$LINENO" 5; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3520 $as_echo "$cross_compiling" >&6; }
3522 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3523 ac_clean_files=$ac_clean_files_save
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3525 $as_echo_n "checking for suffix of object files... " >&6; }
3526 if ${ac_cv_objext+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 rm -f conftest.o conftest.obj
3541 if { { ac_try="$ac_compile"
3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547 $as_echo "$ac_try_echo"; } >&5
3548 (eval "$ac_compile") 2>&5
3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551 test $ac_status = 0; }; then :
3552 for ac_file in conftest.o conftest.obj conftest.*; do
3553 test -f "$ac_file" || continue;
3555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3556 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3561 $as_echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 as_fn_error $? "cannot compute suffix of object files: cannot compile
3567 See \`config.log' for more details" "$LINENO" 5; }
3569 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3572 $as_echo "$ac_cv_objext" >&6; }
3573 OBJEXT=$ac_cv_objext
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3576 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3577 if ${ac_cv_c_compiler_gnu+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3594 if ac_fn_c_try_compile "$LINENO"; then :
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3604 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3605 if test $ac_compiler_gnu = yes; then
3610 ac_test_CFLAGS=${CFLAGS+set}
3611 ac_save_CFLAGS=$CFLAGS
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3613 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3614 if ${ac_cv_prog_cc_g+:} false; then :
3615 $as_echo_n "(cached) " >&6
3617 ac_save_c_werror_flag=$ac_c_werror_flag
3618 ac_c_werror_flag=yes
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 if ac_fn_c_try_compile "$LINENO"; then :
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3647 if ac_fn_c_try_compile "$LINENO"; then :
3650 ac_c_werror_flag=$ac_save_c_werror_flag
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3674 $as_echo "$ac_cv_prog_cc_g" >&6; }
3675 if test "$ac_test_CFLAGS" = set; then
3676 CFLAGS=$ac_save_CFLAGS
3677 elif test $ac_cv_prog_cc_g = yes; then
3678 if test "$GCC" = yes; then
3684 if test "$GCC" = yes; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3691 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692 if ${ac_cv_prog_cc_c89+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 ac_cv_prog_cc_c89=no
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3701 #include <sys/types.h>
3702 #include <sys/stat.h>
3703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3704 struct buf { int x; };
3705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3706 static char *e (p, i)
3712 static char *f (char * (*g) (char **, int), char **p, ...)
3717 s = g (p, va_arg (v,int));
3722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3723 function prototypes and stuff, but not '\xHH' hex character constants.
3724 These don't provoke an error unfortunately, instead are silently treated
3725 as 'x'. The following induces an error, until -std is added to get
3726 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3727 array size at least. It's necessary to write '\x00'==0 to get something
3728 that's true only with -std. */
3729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3732 inside strings and character constants. */
3734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3736 int test (int i, double x);
3737 struct s1 {int (*f) (int a);};
3738 struct s2 {int (*f) (double a);};
3739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3745 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3753 CC="$ac_save_CC $ac_arg"
3754 if ac_fn_c_try_compile "$LINENO"; then :
3755 ac_cv_prog_cc_c89=$ac_arg
3757 rm -f core conftest.err conftest.$ac_objext
3758 test "x$ac_cv_prog_cc_c89" != "xno" && break
3760 rm -f conftest.$ac_ext
3765 case "x$ac_cv_prog_cc_c89" in
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768 $as_echo "none needed" >&6; } ;;
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3771 $as_echo "unsupported" >&6; } ;;
3773 CC="$CC $ac_cv_prog_cc_c89"
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3775 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3777 if test "x$ac_cv_prog_cc_c89" != xno; then :
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3787 depcc="$CC" am_compiler_list=
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
3791 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3795 # We make a subdir and do the tests there. Otherwise we can end up
3796 # making bogus files that we don't know about and never remove. For
3797 # instance it was reported that on HP-UX the gcc test will end up
3798 # making a dummy file named `D' -- because `-MD' means `put the output
3801 # Copy depcomp to subdir because otherwise we won't find it if we're
3802 # using a relative directory.
3803 cp "$am_depcomp" conftest.dir
3805 # We will build objects and dependencies in a subdirectory because
3806 # it helps to detect inapplicable dependency modes. For instance
3807 # both Tru64's cc and ICC support -MD to output dependencies as a
3808 # side effect of compilation, but ICC will put the dependencies in
3809 # the current directory while Tru64 will put them in the object
3813 am_cv_CC_dependencies_compiler_type=none
3814 if test "$am_compiler_list" = ""; then
3815 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3818 case " $depcc " in #(
3819 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3822 for depmode in $am_compiler_list; do
3823 # Setup a source with many dependencies, because some compilers
3824 # like to wrap large dependency lists on column 80 (with \), and
3825 # we should not choose a depcomp mode which is confused by this.
3827 # We need to recreate these files for each test, as the compiler may
3828 # overwrite some of them when testing with obscure command lines.
3829 # This happens at least with the AIX C compiler.
3831 for i in 1 2 3 4 5 6; do
3832 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3833 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3834 # Solaris 8's {/usr,}/bin/sh.
3835 touch sub/conftst$i.h
3837 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3840 # mode. It turns out that the SunPro C++ compiler does not properly
3841 # handle `-M -o', and we need to detect this. Also, some Intel
3842 # versions had trouble with output in subdirs
3843 am__obj=sub/conftest.${OBJEXT-o}
3844 am__minus_obj="-o $am__obj"
3847 # This depmode causes a compiler race in universal mode.
3848 test "$am__universal" = false || continue
3851 # after this tag, mechanisms are not by side-effect, so they'll
3852 # only be used when explicitly requested
3853 if test "x$enable_dependency_tracking" = xyes; then
3859 msvisualcpp | msvcmsys)
3860 # This compiler won't grok `-c -o', but also, the minuso test has
3861 # not run yet. These depmodes are late enough in the game, and
3862 # so weak that their functioning should not be impacted.
3863 am__obj=conftest.${OBJEXT-o}
3868 if depmode=$depmode \
3869 source=sub/conftest.c object=$am__obj \
3870 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3871 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3872 >/dev/null 2>conftest.err &&
3873 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3874 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3875 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3876 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3877 # icc doesn't choke on unknown options, it will just issue warnings
3878 # or remarks (even with -Werror). So we grep stderr for any message
3879 # that says an option was ignored or not supported.
3880 # When given -MP, icc 7.0 and 7.1 complain thusly:
3881 # icc: Command line warning: ignoring option '-M'; no argument required
3882 # The diagnosis changed in icc 8.0:
3883 # icc: Command line remark: option '-MP' not supported
3884 if (grep 'ignoring option' conftest.err ||
3885 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3886 am_cv_CC_dependencies_compiler_type=$depmode
3895 am_cv_CC_dependencies_compiler_type=none
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3900 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3901 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3904 test "x$enable_dependency_tracking" != xno \
3905 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3907 am__fastdepCC_FALSE='#'
3909 am__fastdepCC_TRUE='#'
3910 am__fastdepCC_FALSE=
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3916 $as_echo_n "checking for library containing strerror... " >&6; }
3917 if ${ac_cv_search_strerror+:} false; then :
3918 $as_echo_n "(cached) " >&6
3920 ac_func_search_save_LIBS=$LIBS
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3924 /* Override any GCC internal prototype to avoid an error.
3925 Use char because int might match the return type of a GCC
3926 builtin and then its argument prototype would still apply. */
3939 for ac_lib in '' cposix; do
3940 if test -z "$ac_lib"; then
3941 ac_res="none required"
3944 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3946 if ac_fn_c_try_link "$LINENO"; then :
3947 ac_cv_search_strerror=$ac_res
3949 rm -f core conftest.err conftest.$ac_objext \
3951 if ${ac_cv_search_strerror+:} false; then :
3955 if ${ac_cv_search_strerror+:} false; then :
3958 ac_cv_search_strerror=no
3961 LIBS=$ac_func_search_save_LIBS
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3964 $as_echo "$ac_cv_search_strerror" >&6; }
3965 ac_res=$ac_cv_search_strerror
3966 if test "$ac_res" != no; then :
3967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3972 # AC_OUTPUT_COMMANDS([exit])
3974 # Checks for libraries.
3975 # check for optimised math library on SPARC
3976 # AC_CHECK_LIB([mopt],[main])
3977 # check for the optimised
3978 # AC_CHECK_LIB([copt],[main])
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
3980 $as_echo_n "checking for log in -lm... " >&6; }
3981 if ${ac_cv_lib_m_log+:} false; then :
3982 $as_echo_n "(cached) " >&6
3984 ac_check_lib_save_LIBS=$LIBS
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3989 /* Override any GCC internal prototype to avoid an error.
3990 Use char because int might match the return type of a GCC
3991 builtin and then its argument prototype would still apply. */
4004 if ac_fn_c_try_link "$LINENO"; then :
4009 rm -f core conftest.err conftest.$ac_objext \
4010 conftest$ac_exeext conftest.$ac_ext
4011 LIBS=$ac_check_lib_save_LIBS
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
4014 $as_echo "$ac_cv_lib_m_log" >&6; }
4015 if test "x$ac_cv_lib_m_log" = xyes; then :
4016 cat >>confdefs.h <<_ACEOF
4025 # Checks for header files.
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4032 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4033 # On Suns, sometimes $CPP names a directory.
4034 if test -n "$CPP" && test -d "$CPP"; then
4037 if test -z "$CPP"; then
4038 if ${ac_cv_prog_CPP+:} false; then :
4039 $as_echo_n "(cached) " >&6
4041 # Double quotes because CPP needs to be expanded
4042 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4045 for ac_c_preproc_warn_flag in '' yes
4047 # Use a header file that comes with gcc, so configuring glibc
4048 # with a fresh cross-compiler works.
4049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4050 # <limits.h> exists even on freestanding compilers.
4051 # On the NeXT, cc -E runs the code through the compiler's parser,
4052 # not just through cpp. "Syntax error" is here to catch this case.
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4056 # include <limits.h>
4058 # include <assert.h>
4062 if ac_fn_c_try_cpp "$LINENO"; then :
4065 # Broken: fails on valid input.
4068 rm -f conftest.err conftest.i conftest.$ac_ext
4070 # OK, works on sane cases. Now check whether nonexistent headers
4071 # can be detected and how.
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4074 #include <ac_nonexistent.h>
4076 if ac_fn_c_try_cpp "$LINENO"; then :
4077 # Broken: success on invalid input.
4080 # Passes both tests.
4084 rm -f conftest.err conftest.i conftest.$ac_ext
4087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4088 rm -f conftest.i conftest.err conftest.$ac_ext
4089 if $ac_preproc_ok; then :
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4102 $as_echo "$CPP" >&6; }
4104 for ac_c_preproc_warn_flag in '' yes
4106 # Use a header file that comes with gcc, so configuring glibc
4107 # with a fresh cross-compiler works.
4108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4109 # <limits.h> exists even on freestanding compilers.
4110 # On the NeXT, cc -E runs the code through the compiler's parser,
4111 # not just through cpp. "Syntax error" is here to catch this case.
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4115 # include <limits.h>
4117 # include <assert.h>
4121 if ac_fn_c_try_cpp "$LINENO"; then :
4124 # Broken: fails on valid input.
4127 rm -f conftest.err conftest.i conftest.$ac_ext
4129 # OK, works on sane cases. Now check whether nonexistent headers
4130 # can be detected and how.
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133 #include <ac_nonexistent.h>
4135 if ac_fn_c_try_cpp "$LINENO"; then :
4136 # Broken: success on invalid input.
4139 # Passes both tests.
4143 rm -f conftest.err conftest.i conftest.$ac_ext
4146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4147 rm -f conftest.i conftest.err conftest.$ac_ext
4148 if $ac_preproc_ok; then :
4151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4154 See \`config.log' for more details" "$LINENO" 5; }
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4165 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4166 if ${ac_cv_path_GREP+:} false; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -z "$GREP"; then
4170 ac_path_GREP_found=false
4171 # Loop through the user's path and test for each of PROGNAME-LIST
4172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4176 test -z "$as_dir" && as_dir=.
4177 for ac_prog in grep ggrep; do
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4180 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4181 # Check for GNU ac_path_GREP and select it if it is found.
4182 # Check for GNU $ac_path_GREP
4183 case `"$ac_path_GREP" --version 2>&1` in
4185 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4188 $as_echo_n 0123456789 >"conftest.in"
4191 cat "conftest.in" "conftest.in" >"conftest.tmp"
4192 mv "conftest.tmp" "conftest.in"
4193 cp "conftest.in" "conftest.nl"
4194 $as_echo 'GREP' >> "conftest.nl"
4195 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4196 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4197 as_fn_arith $ac_count + 1 && ac_count=$as_val
4198 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4199 # Best one so far, save it but keep looking for a better one
4200 ac_cv_path_GREP="$ac_path_GREP"
4201 ac_path_GREP_max=$ac_count
4203 # 10*(2^10) chars as input seems more than enough
4204 test $ac_count -gt 10 && break
4206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4209 $ac_path_GREP_found && break 3
4214 if test -z "$ac_cv_path_GREP"; then
4215 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4218 ac_cv_path_GREP=$GREP
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4223 $as_echo "$ac_cv_path_GREP" >&6; }
4224 GREP="$ac_cv_path_GREP"
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4228 $as_echo_n "checking for egrep... " >&6; }
4229 if ${ac_cv_path_EGREP+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4233 then ac_cv_path_EGREP="$GREP -E"
4235 if test -z "$EGREP"; then
4236 ac_path_EGREP_found=false
4237 # Loop through the user's path and test for each of PROGNAME-LIST
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4242 test -z "$as_dir" && as_dir=.
4243 for ac_prog in egrep; do
4244 for ac_exec_ext in '' $ac_executable_extensions; do
4245 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4246 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4247 # Check for GNU ac_path_EGREP and select it if it is found.
4248 # Check for GNU $ac_path_EGREP
4249 case `"$ac_path_EGREP" --version 2>&1` in
4251 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4254 $as_echo_n 0123456789 >"conftest.in"
4257 cat "conftest.in" "conftest.in" >"conftest.tmp"
4258 mv "conftest.tmp" "conftest.in"
4259 cp "conftest.in" "conftest.nl"
4260 $as_echo 'EGREP' >> "conftest.nl"
4261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4263 as_fn_arith $ac_count + 1 && ac_count=$as_val
4264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4265 # Best one so far, save it but keep looking for a better one
4266 ac_cv_path_EGREP="$ac_path_EGREP"
4267 ac_path_EGREP_max=$ac_count
4269 # 10*(2^10) chars as input seems more than enough
4270 test $ac_count -gt 10 && break
4272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4275 $ac_path_EGREP_found && break 3
4280 if test -z "$ac_cv_path_EGREP"; then
4281 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4284 ac_cv_path_EGREP=$EGREP
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4290 $as_echo "$ac_cv_path_EGREP" >&6; }
4291 EGREP="$ac_cv_path_EGREP"
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4295 $as_echo_n "checking for ANSI C header files... " >&6; }
4296 if ${ac_cv_header_stdc+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_header_stdc=yes
4317 ac_cv_header_stdc=no
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321 if test $ac_cv_header_stdc = yes; then
4322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4329 $EGREP "memchr" >/dev/null 2>&1; then :
4332 ac_cv_header_stdc=no
4338 if test $ac_cv_header_stdc = yes; then
4339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4346 $EGREP "free" >/dev/null 2>&1; then :
4349 ac_cv_header_stdc=no
4355 if test $ac_cv_header_stdc = yes; then
4356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4357 if test "$cross_compiling" = yes; then :
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 #if ((' ' & 0x0FF) == 0x020)
4365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4368 # define ISLOWER(c) \
4369 (('a' <= (c) && (c) <= 'i') \
4370 || ('j' <= (c) && (c) <= 'r') \
4371 || ('s' <= (c) && (c) <= 'z'))
4372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4380 for (i = 0; i < 256; i++)
4381 if (XOR (islower (i), ISLOWER (i))
4382 || toupper (i) != TOUPPER (i))
4387 if ac_fn_c_try_run "$LINENO"; then :
4390 ac_cv_header_stdc=no
4392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4393 conftest.$ac_objext conftest.beam conftest.$ac_ext
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4399 $as_echo "$ac_cv_header_stdc" >&6; }
4400 if test $ac_cv_header_stdc = yes; then
4402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4408 inttypes.h stdint.h unistd.h
4410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4414 cat >>confdefs.h <<_ACEOF
4415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4423 for ac_header in stdio.h math.h malloc.h stdlib.h string.h time.h limits.h
4425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4426 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4428 cat >>confdefs.h <<_ACEOF
4429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4436 for ac_header in strings.h sys/types.h machine/hal_sysinfo.h sys/sysinfo.h
4438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4441 cat >>confdefs.h <<_ACEOF
4442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4449 for ac_header in sys/processor.h sched.h sys/param.h sys/pstat.h sys/unistd.h
4451 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4452 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4454 cat >>confdefs.h <<_ACEOF
4455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4462 for ac_header in sys/utsname.h sys/systeminfo.h unistd.h aixfont.h
4464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4467 cat >>confdefs.h <<_ACEOF
4468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4475 for ac_header in linux/ip.h errno.h sys/vid.h invent.h sys/sysctl.h
4477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4480 cat >>confdefs.h <<_ACEOF
4481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4488 # sys/syslimits.h and sys/param.h sometimes needed on OpenBSD 3.2 SPARC
4489 for ac_header in sys/syslimits.h
4491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4494 cat >>confdefs.h <<_ACEOF
4495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4503 # Checks for typedefs
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4505 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4506 if ${ac_cv_header_stdbool_h+:} false; then :
4507 $as_echo_n "(cached) " >&6
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4512 #include <stdbool.h>
4514 "error: bool is not defined"
4517 "error: false is not defined"
4520 "error: false is not 0"
4523 "error: true is not defined"
4526 "error: true is not 1"
4528 #ifndef __bool_true_false_are_defined
4529 "error: __bool_true_false_are_defined is not defined"
4532 struct s { _Bool s: 1; _Bool t; } s;
4534 char a[true == 1 ? 1 : -1];
4535 char b[false == 0 ? 1 : -1];
4536 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4537 char d[(bool) 0.5 == true ? 1 : -1];
4538 /* See body of main program for 'e'. */
4539 char f[(_Bool) 0.0 == false ? 1 : -1];
4541 char h[sizeof (_Bool)];
4543 enum { j = false, k = true, l = false * true, m = true * 256 };
4544 /* The following fails for
4545 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4547 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4548 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4549 /* Catch a bug in an HP-UX C compiler. See
4550 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4551 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4563 /* Refer to every declared value, to avoid compiler optimizations. */
4564 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4565 + !m + !n + !o + !p + !q + !pq);
4571 if ac_fn_c_try_compile "$LINENO"; then :
4572 ac_cv_header_stdbool_h=yes
4574 ac_cv_header_stdbool_h=no
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4579 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4580 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4581 if test "x$ac_cv_type__Bool" = xyes; then :
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE__BOOL 1
4590 if test $ac_cv_header_stdbool_h = yes; then
4592 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4597 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4598 if ${ac_cv_c_const+:} false; then :
4599 $as_echo_n "(cached) " >&6
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4607 /* FIXME: Include the comments suggested by Paul. */
4609 /* Ultrix mips cc rejects this. */
4610 typedef int charset[2];
4612 /* SunOS 4.1.1 cc rejects this. */
4613 char const *const *pcpcc;
4615 /* NEC SVR4.0.2 mips cc rejects this. */
4616 struct point {int x, y;};
4617 static struct point const zero = {0,0};
4618 /* AIX XL C 1.02.0.0 rejects this.
4619 It does not let you subtract one const X* pointer from another in
4620 an arm of an if-expression whose if-part is not a constant
4622 const char *g = "string";
4623 pcpcc = &g + (g ? g-g : 0);
4624 /* HPUX 7.0 cc rejects these. */
4626 ppc = (char**) pcpcc;
4627 pcpcc = (char const *const *) ppc;
4628 { /* SCO 3.2v4 cc rejects this. */
4630 char const *s = 0 ? (char *) 0 : (char const *) 0;
4635 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4637 const int *foo = &x[0];
4640 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4641 typedef const int *iptr;
4645 { /* AIX XL C 1.02.0.0 rejects this saying
4646 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4647 struct s { int j; const int *ap[3]; };
4648 struct s *b; b->j = 5;
4650 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4654 return !cs[0] && !zero.x;
4661 if ac_fn_c_try_compile "$LINENO"; then :
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4669 $as_echo "$ac_cv_c_const" >&6; }
4670 if test $ac_cv_c_const = no; then
4672 $as_echo "#define const /**/" >>confdefs.h
4676 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4677 if test "x$ac_cv_type_size_t" = xyes; then :
4681 cat >>confdefs.h <<_ACEOF
4682 #define size_t unsigned int
4688 # checks for structures (none need to be tested)
4690 # checks for compiler characteristics
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4692 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4693 if ${ac_cv_c_bigendian+:} false; then :
4694 $as_echo_n "(cached) " >&6
4696 ac_cv_c_bigendian=unknown
4697 # See if we're dealing with a universal compiler.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #ifndef __APPLE_CC__
4701 not a universal capable compiler
4706 if ac_fn_c_try_compile "$LINENO"; then :
4708 # Check for potential -arch flags. It is not universal unless
4709 # there are at least two -arch flags with different values.
4712 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4713 if test -n "$ac_prev"; then
4715 i?86 | x86_64 | ppc | ppc64)
4716 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4719 ac_cv_c_bigendian=universal
4725 elif test "x$ac_word" = "x-arch"; then
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 if test $ac_cv_c_bigendian = unknown; then
4732 # See if sys/param.h defines the BYTE_ORDER macro.
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4735 #include <sys/types.h>
4736 #include <sys/param.h>
4741 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4742 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 # It does; now see whether it defined to BIG_ENDIAN or not.
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4755 #include <sys/types.h>
4756 #include <sys/param.h>
4761 #if BYTE_ORDER != BIG_ENDIAN
4769 if ac_fn_c_try_compile "$LINENO"; then :
4770 ac_cv_c_bigendian=yes
4772 ac_cv_c_bigendian=no
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 if test $ac_cv_c_bigendian = unknown; then
4779 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4787 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4795 if ac_fn_c_try_compile "$LINENO"; then :
4796 # It does; now see whether it defined to _BIG_ENDIAN or not.
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813 ac_cv_c_bigendian=yes
4815 ac_cv_c_bigendian=no
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 if test $ac_cv_c_bigendian = unknown; then
4822 # Compile a test program.
4823 if test "$cross_compiling" = yes; then :
4824 # Try to guess by grepping values from an object file.
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4827 short int ascii_mm[] =
4828 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4829 short int ascii_ii[] =
4830 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4831 int use_ascii (int i) {
4832 return ascii_mm[i] + ascii_ii[i];
4834 short int ebcdic_ii[] =
4835 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4836 short int ebcdic_mm[] =
4837 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4838 int use_ebcdic (int i) {
4839 return ebcdic_mm[i] + ebcdic_ii[i];
4846 return use_ascii (foo) == use_ebcdic (foo);
4851 if ac_fn_c_try_compile "$LINENO"; then :
4852 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4853 ac_cv_c_bigendian=yes
4855 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4856 if test "$ac_cv_c_bigendian" = unknown; then
4857 ac_cv_c_bigendian=no
4859 # finding both strings is unlikely to happen, but who knows?
4860 ac_cv_c_bigendian=unknown
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 $ac_includes_default
4873 /* Are we little or big endian? From Harbison&Steele. */
4877 char c[sizeof (long int)];
4880 return u.c[sizeof (long int) - 1] == 1;
4886 if ac_fn_c_try_run "$LINENO"; then :
4887 ac_cv_c_bigendian=no
4889 ac_cv_c_bigendian=yes
4891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4892 conftest.$ac_objext conftest.beam conftest.$ac_ext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4898 $as_echo "$ac_cv_c_bigendian" >&6; }
4899 case $ac_cv_c_bigendian in #(
4901 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4907 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4911 as_fn_error $? "unknown endianness
4912 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4915 # The cast to long int works around a bug in the HP C Compiler
4916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4918 # This bug is HP SR number 8606223364.
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
4920 $as_echo_n "checking size of size_t... " >&6; }
4921 if ${ac_cv_sizeof_size_t+:} false; then :
4922 $as_echo_n "(cached) " >&6
4924 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
4927 if test "$ac_cv_type_size_t" = yes; then
4928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4930 as_fn_error 77 "cannot compute sizeof (size_t)
4931 See \`config.log' for more details" "$LINENO" 5; }
4933 ac_cv_sizeof_size_t=0
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
4939 $as_echo "$ac_cv_sizeof_size_t" >&6; }
4943 cat >>confdefs.h <<_ACEOF
4944 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
4949 # checks for library functions
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
4951 $as_echo_n "checking for working strtod... " >&6; }
4952 if ${ac_cv_func_strtod+:} false; then :
4953 $as_echo_n "(cached) " >&6
4955 if test "$cross_compiling" = yes; then :
4956 ac_cv_func_strtod=no
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4961 $ac_includes_default
4969 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
4970 char *string = " +69";
4973 value = strtod (string, &term);
4974 if (value != 69 || term != (string + 4))
4979 /* Under Solaris 2.4, strtod returns the wrong value for the
4980 terminating character under some conditions. */
4981 char *string = "NaN";
4983 strtod (string, &term);
4984 if (term != string && *(term - 1) == 0)
4991 if ac_fn_c_try_run "$LINENO"; then :
4992 ac_cv_func_strtod=yes
4994 ac_cv_func_strtod=no
4996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4997 conftest.$ac_objext conftest.beam conftest.$ac_ext
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5002 $as_echo "$ac_cv_func_strtod" >&6; }
5003 if test $ac_cv_func_strtod = no; then
5004 case " $LIBOBJS " in
5005 *" strtod.$ac_objext "* ) ;;
5006 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
5010 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
5011 if test "x$ac_cv_func_pow" = xyes; then :
5015 if test $ac_cv_func_pow = no; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5017 $as_echo_n "checking for pow in -lm... " >&6; }
5018 if ${ac_cv_lib_m_pow+:} false; then :
5019 $as_echo_n "(cached) " >&6
5021 ac_check_lib_save_LIBS=$LIBS
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5026 /* Override any GCC internal prototype to avoid an error.
5027 Use char because int might match the return type of a GCC
5028 builtin and then its argument prototype would still apply. */
5041 if ac_fn_c_try_link "$LINENO"; then :
5046 rm -f core conftest.err conftest.$ac_objext \
5047 conftest$ac_exeext conftest.$ac_ext
5048 LIBS=$ac_check_lib_save_LIBS
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5051 $as_echo "$ac_cv_lib_m_pow" >&6; }
5052 if test "x$ac_cv_lib_m_pow" = xyes; then :
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
5056 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5063 for ac_func in memset strchr strtol processor_info getsysinfo pthread_num_processors_np
5065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5068 cat >>confdefs.h <<_ACEOF
5069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5075 for ac_func in cpu_get_max pstat pstat_getdynamic pstat_getprocessor uname sysconf sysinfo
5077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5080 cat >>confdefs.h <<_ACEOF
5081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5087 for ac_func in cpusetcreate cpucountset cpu_get_num sysctl
5089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5092 cat >>confdefs.h <<_ACEOF
5093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5100 # checks for system services
5102 # Check if the user wants a GUI. If so makes sure GTK and wxWindows are around.
5103 # The macro is in the file gtk.m4 in the 'm4' subdirectory.
5105 #AC_ARG_WITH(gui, AC_HELP_STRING([--with-gui=[no]],[Add a GUI (needs GTK >= 1.2.7 installed) but the GUI does not work!! ]))
5106 #AC_PROG_CXX # Test for C++ compiler characteristics
5107 #if test "x$with_gui" = "xyes"; then
5108 # AC_PATH_GTK(1.2.7, GTK127=1)
5109 # if test "$GTK127" != 1; then
5111 # Please check that gtk-config is in path, the directory
5112 # where GTK+ libraries are installed (returned by
5113 # 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
5114 # equivalent variable and GTK+ is version 1.2.7 or above.
5117 # AC_CHECK_PROG(WXWINDOWS,wx-config, 1, 0)
5118 # if test "$WXWINDOWS" != 1; then
5120 # wxWindows must be installed to use the GUI version of atlc
5123 # AC_SUBST(EXTRA_WXWINDOWS_LIBS,`wx-config --libs`)
5124 # AC_SUBST(EXTRA_WXWINDOWS_CFLAGS,`wx-config --cflags`)
5125 # AC_SUBST(GUI_DIRECTORY,gui)
5129 #AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[ with debugging code]), AC_DEFINE([DEBUG],[1]))
5130 # Check whether --enable-debug was given.
5131 if test "${enable_debug+set}" = set; then :
5132 enableval=$enable_debug;
5133 $as_echo "#define DEBUG 1" >>confdefs.h
5137 # Check whether --enable-hardware-info was given.
5138 if test "${enable_hardware_info+set}" = set; then :
5139 enableval=$enable_hardware_info; 1
5142 $as_echo "#define TRY_TO_GET_HARDWARE_INFO 1" >>confdefs.h
5147 # Put a usage message so the user can use threads if wanted.
5148 #AC_ARG_WITH(threads,
5149 #AC_HELP_STRING([--with-threads],
5150 # [support thread-based parallel computation, using a POSIX thread library (default is NO)]))
5152 # Multi-Processor Support checked with the macro m4/acx_pthread.m4
5153 if test "x$with_threads" = "xyes"; then
5154 # Make sure we can run config.sub.
5155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5156 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5159 $as_echo_n "checking build system type... " >&6; }
5160 if ${ac_cv_build+:} false; then :
5161 $as_echo_n "(cached) " >&6
5163 ac_build_alias=$build_alias
5164 test "x$ac_build_alias" = x &&
5165 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5166 test "x$ac_build_alias" = x &&
5167 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5173 $as_echo "$ac_cv_build" >&6; }
5174 case $ac_cv_build in
5176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5179 ac_save_IFS=$IFS; IFS='-'
5185 # Remember, the first character of IFS is used to create $*,
5186 # except with old shells:
5189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5193 $as_echo_n "checking host system type... " >&6; }
5194 if ${ac_cv_host+:} false; then :
5195 $as_echo_n "(cached) " >&6
5197 if test "x$host_alias" = x; then
5198 ac_cv_host=$ac_cv_build
5200 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5201 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5206 $as_echo "$ac_cv_host" >&6; }
5209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5212 ac_save_IFS=$IFS; IFS='-'
5218 # Remember, the first character of IFS is used to create $*,
5219 # except with old shells:
5222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5229 ac_cpp='$CPP $CPPFLAGS'
5230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5236 # We used to check for pthread.h first, but this fails if pthread.h
5237 # requires special compiler flags (e.g. on True64 or Sequent).
5238 # It gets checked for in the link test anyway.
5240 # First of all, check if the user has set any of the PTHREAD_LIBS,
5241 # etcetera environment variables, and if threads linking works using
5243 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
5244 save_CFLAGS="$CFLAGS"
5245 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5247 LIBS="$PTHREAD_LIBS $LIBS"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
5249 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5259 char pthread_join ();
5263 return pthread_join ();
5268 if ac_fn_c_try_link "$LINENO"; then :
5271 rm -f core conftest.err conftest.$ac_objext \
5272 conftest$ac_exeext conftest.$ac_ext
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
5274 $as_echo "$acx_pthread_ok" >&6; }
5275 if test x"$acx_pthread_ok" = xno; then
5280 CFLAGS="$save_CFLAGS"
5283 # We must check for the threads library under a number of different
5284 # names; the ordering is very important because some systems
5285 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
5286 # libraries is broken (non-POSIX).
5288 # Create a list of thread flags to try. Items starting with a "-" are
5289 # C compiler flags, and other items are library names, except for "none"
5290 # which indicates that we try without any flags at all.
5292 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
5294 # The ordering *is* (sometimes) important. Some notes on the
5295 # individual items follow:
5297 # pthreads: AIX (must check this before -lpthread)
5298 # none: in case threads are in libc; should be tried before -Kthread and
5299 # other compiler flags to prevent continual compiler warnings
5300 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
5301 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
5302 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
5303 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
5304 # -pthreads: Solaris/gcc
5305 # -mthreads: Mingw32/gcc, Lynx/gcc
5306 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
5307 # doesn't hurt to check since this sometimes defines pthreads too;
5308 # also defines -D_REENTRANT)
5309 # pthread: Linux, etcetera
5310 # --thread-safe: KAI C++
5312 case "${host_cpu}-${host_os}" in
5315 # On Solaris (at least, for some versions), libc contains stubbed
5316 # (non-functional) versions of the pthreads routines, so link-based
5317 # tests will erroneously succeed. (We need to link with -pthread or
5318 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
5319 # a function called by this macro, so we could check for that, but
5320 # who knows whether they'll stub that too in a future libc.) So,
5321 # we'll just look for -pthreads and -lpthread first:
5323 acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
5327 if test x"$acx_pthread_ok" = xno; then
5328 for flag in $acx_pthread_flags; do
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
5333 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
5338 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
5339 PTHREAD_CFLAGS="$flag"
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
5344 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
5345 PTHREAD_LIBS="-l$flag"
5350 save_CFLAGS="$CFLAGS"
5351 LIBS="$PTHREAD_LIBS $LIBS"
5352 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5354 # Check for various functions. We must include pthread.h,
5355 # since some functions may be macros. (On the Sequent, we
5356 # need a special flag -Kthread to make this header compile.)
5357 # We check for pthread_join because it is in -lpthread on IRIX
5358 # while pthread_create is in libc. We check for pthread_attr_init
5359 # due to DEC craziness with -lpthreads. We check for
5360 # pthread_cleanup_push because it is one of the few pthread
5361 # functions on Solaris that doesn't have a non-functional libc stub.
5362 # We try pthread_create on general principles.
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5365 #include <pthread.h>
5369 pthread_t th; pthread_join(th, 0);
5370 pthread_attr_init(0); pthread_cleanup_push(0, 0);
5371 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
5376 if ac_fn_c_try_link "$LINENO"; then :
5379 rm -f core conftest.err conftest.$ac_objext \
5380 conftest$ac_exeext conftest.$ac_ext
5383 CFLAGS="$save_CFLAGS"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
5386 $as_echo "$acx_pthread_ok" >&6; }
5387 if test "x$acx_pthread_ok" = xyes; then
5396 # Various other checks:
5397 if test "x$acx_pthread_ok" = xyes; then
5399 LIBS="$PTHREAD_LIBS $LIBS"
5400 save_CFLAGS="$CFLAGS"
5401 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5403 # Detect AIX lossage: threads are created detached by default
5404 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
5406 $as_echo_n "checking for joinable pthread attribute... " >&6; }
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5409 #include <pthread.h>
5413 int attr=PTHREAD_CREATE_JOINABLE;
5418 if ac_fn_c_try_link "$LINENO"; then :
5419 ok=PTHREAD_CREATE_JOINABLE
5423 rm -f core conftest.err conftest.$ac_objext \
5424 conftest$ac_exeext conftest.$ac_ext
5425 if test x"$ok" = xunknown; then
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5428 #include <pthread.h>
5432 int attr=PTHREAD_CREATE_UNDETACHED;
5437 if ac_fn_c_try_link "$LINENO"; then :
5438 ok=PTHREAD_CREATE_UNDETACHED
5442 rm -f core conftest.err conftest.$ac_objext \
5443 conftest$ac_exeext conftest.$ac_ext
5445 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
5447 $as_echo "#define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5
5451 $as_echo "${ok}" >&6; }
5452 if test x"$ok" = xunknown; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5
5454 $as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
5458 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
5460 case "${host_cpu}-${host_os}" in
5461 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
5462 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
5465 $as_echo "${flag}" >&6; }
5466 if test "x$flag" != xno; then
5467 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
5471 CFLAGS="$save_CFLAGS"
5473 # More AIX lossage: must compile with cc_r
5474 # Extract the first word of "cc_r", so it can be a program name with args.
5475 set dummy cc_r; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$PTHREAD_CC"; then
5482 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 ac_cv_prog_PTHREAD_CC="cc_r"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
5502 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
5503 if test -n "$PTHREAD_CC"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
5505 $as_echo "$PTHREAD_CC" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5520 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5521 if test x"$acx_pthread_ok" = xyes; then
5523 $as_echo "#define ENABLE_POSIX_THREADS 1" >>confdefs.h
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537 LIBS="$PTHREAD_LIBS $LIBS"
5538 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5540 # if possible for a number of threads to run at once.
5541 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
5542 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
5544 $as_echo "#define HAVE_PTHREAD_SETCONCURRENCY 1" >>confdefs.h
5548 built_with_posix_threads=yes
5551 ac_fn_c_check_decl "$LINENO" "_SC_PHYS_PAGES" "ac_cv_have_decl__SC_PHYS_PAGES" "$ac_includes_default"
5552 if test "x$ac_cv_have_decl__SC_PHYS_PAGES" = xyes; then :
5556 ac_fn_c_check_decl "$LINENO" "_SC_PAGESIZE" "ac_cv_have_decl__SC_PAGESIZE" "$ac_includes_default"
5557 if test "x$ac_cv_have_decl__SC_PAGESIZE" = xyes; then :
5561 ac_fn_c_check_decl "$LINENO" "_SC_CRAY_NCPU" "ac_cv_have_decl__SC_CRAY_NCPU" "$ac_includes_default"
5562 if test "x$ac_cv_have_decl__SC_CRAY_NCPU" = xyes; then :
5566 ac_fn_c_check_decl "$LINENO" "_SC_CRAY_NCPU" "ac_cv_have_decl__SC_CRAY_NCPU" "$ac_includes_default"
5567 if test "x$ac_cv_have_decl__SC_CRAY_NCPU" = xyes; then :
5571 ac_fn_c_check_decl "$LINENO" "_SC_NPROC_CONF" "ac_cv_have_decl__SC_NPROC_CONF" "$ac_includes_default"
5572 if test "x$ac_cv_have_decl__SC_NPROC_CONF" = xyes; then :
5576 ac_fn_c_check_decl "$LINENO" "_SC_NPROC_ONLN" "ac_cv_have_decl__SC_NPROC_ONLN" "$ac_includes_default"
5577 if test "x$ac_cv_have_decl__SC_NPROC_ONLN" = xyes; then :
5582 # MPI and MPE Support
5583 #AC_ARG_WITH(mpi, AC_HELP_STRING([--with-mpi=[mpi_install_prefix]],[support MPI-based parallel computation (needs MPICH installed)]))
5584 #AC_ARG_WITH(mpe, AC_HELP_STRING([--with-mpe=[mpi_install_prefix]],[implies --with-mpi and additionally links in MPE logging support]))
5586 # if test "x$with_mpi" != "x" \
5587 # || test "x$with_mpe" != "x"; then
5589 # if test "x$with_threads" = "xyes"; then
5590 # AC_MSG_ERROR([it does not make sense to use --with-threads with --with-mpi or --with-mpe])
5592 # ACX_MPI( [AC_DEFINE([ENABLE_MPI],[1],[Enable the use of MPICH library]) ] ,[],[AC_MSG_ERROR([Could not determine how to link MPI program])])
5594 # if test "x$with_mpe" = "xyes" ; then
5595 # LIBS="$MPILIBS -lmpe $LIBS"
5597 # LIBS="$MPILIBS $LIBS"
5599 #AC_CHECK_PROG(mpirun,mpirun,yes,no,$PATH)
5600 #if test "x$mpirun" = "xyes"; then
5601 # AC_MSG_NOTICE([Don't forget, 'mpirun' MUST be used to call atlc. Don't run atlc directly!!])
5603 # AC_MSG_WARN([The program 'mpirun' needed to run atlc, can't be found])
5607 if test "x$GCC" = "xyes"; then
5608 if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
5609 CFLAGS="$CFLAGS -Wall"
5612 compiled_with_compiler="$CC"
5614 compiled_with_cflags="$CFLAGS"
5616 ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile man/Makefile man/man1/Makefile examples/Makefile tools/Makefile tools/src/Makefile tests/Makefile docs/html-docs/Makefile docs/html-docs/jpgs/Makefile docs/qex-december-1996/Makefile docs/theory/Makefile docs/Makefile"
5618 cat >confcache <<\_ACEOF
5619 # This file is a shell script that caches the results of configure
5620 # tests run on this system so they can be shared between configure
5621 # scripts and configure runs, see configure's option --config-cache.
5622 # It is not useful on other systems. If it contains results you don't
5623 # want to keep, you may remove or edit it.
5625 # config.status only pays attention to the cache file if you give it
5626 # the --recheck option to rerun configure.
5628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5634 # The following way of writing the cache mishandles newlines in values,
5635 # but we know of no workaround that is simple, portable, and efficient.
5636 # So, we kill variables containing newlines.
5637 # Ultrix sh set writes to stderr and can't be redirected directly,
5638 # and sets the high bit in the cache file unless we assign to the vars.
5640 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5641 eval ac_val=\$$ac_var
5645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5649 _ | IFS | as_nl) ;; #(
5650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5651 *) { eval $ac_var=; unset $ac_var;} ;;
5657 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5658 *${as_nl}ac_space=\ *)
5659 # `set' does not quote correctly, so add quotes: double-quote
5660 # substitution turns \\\\ into \\, and sed turns \\ into \.
5663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5666 # `set' quotes correctly as required by POSIX, so do not add quotes.
5667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5676 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5678 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5681 if test -w "$cache_file"; then
5682 if test "x$cache_file" != "x/dev/null"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5684 $as_echo "$as_me: updating cache $cache_file" >&6;}
5685 if test ! -f "$cache_file" || test -h "$cache_file"; then
5686 cat confcache >"$cache_file"
5688 case $cache_file in #(
5690 mv -f confcache "$cache_file"$$ &&
5691 mv -f "$cache_file"$$ "$cache_file" ;; #(
5693 mv -f confcache "$cache_file" ;;
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5705 # Let make expand exec_prefix.
5706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5708 DEFS=-DHAVE_CONFIG_H
5713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5714 # 1. Remove the extension, and $U if already installed.
5715 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5716 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5717 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5718 # will be set to the directory where LIBOBJS objects are built.
5719 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5720 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5724 LTLIBOBJS=$ac_ltlibobjs
5727 if test -n "$EXEEXT"; then
5729 am__EXEEXT_FALSE='#'
5735 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5736 as_fn_error $? "conditional \"AMDEP\" was never defined.
5737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5739 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5740 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5745 : "${CONFIG_STATUS=./config.status}"
5747 ac_clean_files_save=$ac_clean_files
5748 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5754 # Generated by $as_me.
5755 # Run this file to recreate the current configuration.
5756 # Compiler output produced by configure, useful for debugging
5757 # configure, is in config.log if it exists.
5763 SHELL=\${CONFIG_SHELL-$SHELL}
5766 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5767 ## -------------------- ##
5768 ## M4sh Initialization. ##
5769 ## -------------------- ##
5771 # Be more Bourne compatible
5772 DUALCASE=1; export DUALCASE # for MKS sh
5773 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5776 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5777 # is contrary to our usage. Disable this feature.
5778 alias -g '${1+"$@"}'='"$@"'
5779 setopt NO_GLOB_SUBST
5781 case `(set -o) 2>/dev/null` in #(
5793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5794 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5797 # Prefer a ksh shell builtin over an external printf program on Solaris,
5798 # but without wasting forks for bash or zsh.
5799 if test -z "$BASH_VERSION$ZSH_VERSION" \
5800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5801 as_echo='print -r --'
5802 as_echo_n='print -rn --'
5803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5804 as_echo='printf %s\n'
5805 as_echo_n='printf %s'
5807 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5808 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5809 as_echo_n='/usr/ucb/echo -n'
5811 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5812 as_echo_n_body='eval
5816 expr "X$arg" : "X\\(.*\\)$as_nl";
5817 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5819 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5821 export as_echo_n_body
5822 as_echo_n='sh -c $as_echo_n_body as_echo'
5825 as_echo='sh -c $as_echo_body as_echo'
5828 # The user is always right.
5829 if test "${PATH_SEPARATOR+set}" != set; then
5831 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5832 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5839 # We need space, tab and new line, in precisely that order. Quoting is
5840 # there to prevent editors from complaining about space-tab.
5841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5842 # splitting by setting IFS to empty value.)
5845 # Find who we are. Look in the path if we contain no directory separator.
5848 *[\\/]* ) as_myself=$0 ;;
5849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5860 # We did not find ourselves, most probably we were run as `sh COMMAND'
5861 # in which case we are not to be found in the path.
5862 if test "x$as_myself" = x; then
5865 if test ! -f "$as_myself"; then
5866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5870 # Unset variables that we do not need and which cause bugs (e.g. in
5871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5872 # suppresses any "Segmentation fault" message there. '((' could
5873 # trigger a bug in pdksh 5.2.14.
5874 for as_var in BASH_ENV ENV MAIL MAILPATH
5875 do eval test x\${$as_var+set} = xset \
5876 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5892 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5893 # ----------------------------------------
5894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5896 # script with STATUS, using 1 if that was 0.
5899 as_status=$1; test $as_status -eq 0 && as_status=1
5901 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5904 $as_echo "$as_me: error: $2" >&2
5905 as_fn_exit $as_status
5909 # as_fn_set_status STATUS
5910 # -----------------------
5911 # Set $? to STATUS, without forking.
5915 } # as_fn_set_status
5919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5929 # Portably unset VAR.
5932 { eval $1=; unset $1;}
5934 as_unset=as_fn_unset
5935 # as_fn_append VAR VALUE
5936 # ----------------------
5937 # Append the text in VALUE to the end of the definition contained in VAR. Take
5938 # advantage of any shell optimizations that allow amortized linear growth over
5939 # repeated appends, instead of the typical quadratic growth present in naive
5941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5942 eval 'as_fn_append ()
5953 # as_fn_arith ARG...
5954 # ------------------
5955 # Perform arithmetic evaluation on the ARGs, and store the result in the
5956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5957 # must be portable across $(()) and expr.
5958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5959 eval 'as_fn_arith ()
5966 as_val=`expr "$@" || test $? -eq 1`
5971 if expr a : '\(a\)' >/dev/null 2>&1 &&
5972 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5978 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5979 as_basename=basename
5984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5990 as_me=`$as_basename -- "$0" ||
5991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5992 X"$0" : 'X\(//\)$' \| \
5993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5995 sed '/^.*\/\([^/][^/]*\)\/*$/{
6009 # Avoid depending upon Character Ranges.
6010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6013 as_cr_digits='0123456789'
6014 as_cr_alnum=$as_cr_Letters$as_cr_digits
6016 ECHO_C= ECHO_N= ECHO_T=
6017 case `echo -n x` in #(((((
6019 case `echo 'xy\c'` in
6020 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6022 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6029 rm -f conf$$ conf$$.exe conf$$.file
6030 if test -d conf$$.dir; then
6031 rm -f conf$$.dir/conf$$.file
6034 mkdir conf$$.dir 2>/dev/null
6036 if (echo >conf$$.file) 2>/dev/null; then
6037 if ln -s conf$$.file conf$$ 2>/dev/null; then
6039 # ... but there are two gotchas:
6040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6042 # In both cases, we have to default to `cp -p'.
6043 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6045 elif ln conf$$.file conf$$ 2>/dev/null; then
6053 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6054 rmdir conf$$.dir 2>/dev/null
6059 # Create "$as_dir" as a directory, including parents if necessary.
6064 -*) as_dir=./$as_dir;;
6066 test -d "$as_dir" || eval $as_mkdir_p || {
6070 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6071 *) as_qdir=$as_dir;;
6073 as_dirs="'$as_qdir' $as_dirs"
6074 as_dir=`$as_dirname -- "$as_dir" ||
6075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6076 X"$as_dir" : 'X\(//\)[^/]' \| \
6077 X"$as_dir" : 'X\(//\)$' \| \
6078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6079 $as_echo X"$as_dir" |
6080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6097 test -d "$as_dir" && break
6099 test -z "$as_dirs" || eval "mkdir $as_dirs"
6100 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6104 if mkdir -p . 2>/dev/null; then
6105 as_mkdir_p='mkdir -p "$as_dir"'
6107 test -d ./-p && rmdir ./-p
6111 if test -x / >/dev/null 2>&1; then
6114 if ls -dL / >/dev/null 2>&1; then
6121 if test -d "$1"; then
6127 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6128 ???[sx]*):;;*)false;;esac;fi
6132 as_executable_p=$as_test_x
6134 # Sed expression to map a string onto a valid CPP name.
6135 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6137 # Sed expression to map a string onto a valid variable name.
6138 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6142 ## ----------------------------------- ##
6143 ## Main body of $CONFIG_STATUS script. ##
6144 ## ----------------------------------- ##
6146 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6149 # Save the log message, to keep $0 and so on meaningful, and to
6150 # report actual input values of CONFIG_FILES etc. instead of their
6151 # values after options handling.
6153 This file was extended by atlc $as_me 4.6.1, which was
6154 generated by GNU Autoconf 2.68. Invocation command line was
6156 CONFIG_FILES = $CONFIG_FILES
6157 CONFIG_HEADERS = $CONFIG_HEADERS
6158 CONFIG_LINKS = $CONFIG_LINKS
6159 CONFIG_COMMANDS = $CONFIG_COMMANDS
6162 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6167 case $ac_config_files in *"
6168 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6171 case $ac_config_headers in *"
6172 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6177 # Files that config.status was made for.
6178 config_files="$ac_config_files"
6179 config_headers="$ac_config_headers"
6180 config_commands="$ac_config_commands"
6184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6186 \`$as_me' instantiates files and other configuration actions
6187 from templates according to the current configuration. Unless the files
6188 and actions are specified as TAGs, all are instantiated by default.
6190 Usage: $0 [OPTION]... [TAG]...
6192 -h, --help print this help, then exit
6193 -V, --version print version number and configuration settings, then exit
6194 --config print configuration, then exit
6195 -q, --quiet, --silent
6196 do not print progress messages
6197 -d, --debug don't remove temporary files
6198 --recheck update $as_me by reconfiguring in the same conditions
6199 --file=FILE[:TEMPLATE]
6200 instantiate the configuration file FILE
6201 --header=FILE[:TEMPLATE]
6202 instantiate the configuration header FILE
6204 Configuration files:
6207 Configuration headers:
6210 Configuration commands:
6213 Report bugs to <drkirkby@gmail.com>."
6216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6217 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6219 atlc config.status 4.6.1
6220 configured by $0, generated by GNU Autoconf 2.68,
6221 with options \\"\$ac_cs_config\\"
6223 Copyright (C) 2010 Free Software Foundation, Inc.
6224 This config.status script is free software; the Free Software Foundation
6225 gives unlimited permission to copy, distribute and modify it."
6232 test -n "\$AWK" || AWK=awk
6235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6236 # The default lists apply if the user does not specify any file.
6242 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6243 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6259 # Handling of the options.
6260 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6262 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6263 $as_echo "$ac_cs_version"; exit ;;
6264 --config | --confi | --conf | --con | --co | --c )
6265 $as_echo "$ac_cs_config"; exit ;;
6266 --debug | --debu | --deb | --de | --d | -d )
6268 --file | --fil | --fi | --f )
6271 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6272 '') as_fn_error $? "missing file argument" ;;
6274 as_fn_append CONFIG_FILES " '$ac_optarg'"
6275 ac_need_defaults=false;;
6276 --header | --heade | --head | --hea )
6279 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6281 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6282 ac_need_defaults=false;;
6284 # Conflict between --help and --header
6285 as_fn_error $? "ambiguous option: \`$1'
6286 Try \`$0 --help' for more information.";;
6287 --help | --hel | -h )
6288 $as_echo "$ac_cs_usage"; exit ;;
6289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6290 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6294 -*) as_fn_error $? "unrecognized option: \`$1'
6295 Try \`$0 --help' for more information." ;;
6297 *) as_fn_append ac_config_targets " $1"
6298 ac_need_defaults=false ;;
6304 ac_configure_extra_args=
6306 if $ac_cs_silent; then
6308 ac_configure_extra_args="$ac_configure_extra_args --silent"
6312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6313 if \$ac_cs_recheck; then
6314 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6316 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6317 CONFIG_SHELL='$SHELL'
6323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6327 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6328 ## Running $as_me. ##
6334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6338 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6344 # Handling of arguments.
6345 for ac_config_target in $ac_config_targets
6347 case $ac_config_target in
6348 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6349 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6351 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6352 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
6353 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6354 "man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
6355 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6356 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
6357 "tools/src/Makefile") CONFIG_FILES="$CONFIG_FILES tools/src/Makefile" ;;
6358 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6359 "docs/html-docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/html-docs/Makefile" ;;
6360 "docs/html-docs/jpgs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/html-docs/jpgs/Makefile" ;;
6361 "docs/qex-december-1996/Makefile") CONFIG_FILES="$CONFIG_FILES docs/qex-december-1996/Makefile" ;;
6362 "docs/theory/Makefile") CONFIG_FILES="$CONFIG_FILES docs/theory/Makefile" ;;
6363 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
6365 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6370 # If the user did not use the arguments to specify the items to instantiate,
6371 # then the envvar interface is used. Set only those that are not.
6372 # We use the long form for the default assignment because of an extremely
6373 # bizarre bug on SunOS 4.1.3.
6374 if $ac_need_defaults; then
6375 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6376 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6377 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6380 # Have a temporary directory for convenience. Make it in the build tree
6381 # simply because there is no reason against having it here, and in addition,
6382 # creating and moving files from /tmp can sometimes cause problems.
6383 # Hook for its removal unless debugging.
6384 # Note that there is a small window in which the directory will not be cleaned:
6385 # after its creation but before its name has been assigned to `$tmp'.
6389 trap 'exit_status=$?
6391 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6393 trap 'as_fn_exit 1' 1 2 13 15
6395 # Create a (secure) tmp directory for tmp files.
6398 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6402 tmp=./conf$$-$RANDOM
6403 (umask 077 && mkdir "$tmp")
6404 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6407 # Set up the scripts for CONFIG_FILES section.
6408 # No need to generate them if there are no CONFIG_FILES.
6409 # This happens for instance with `./config.status config.h'.
6410 if test -n "$CONFIG_FILES"; then
6413 ac_cr=`echo X | tr X '\015'`
6414 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6415 # But we know of no other shell where ac_cr would be empty at this
6416 # point, so we can use a bashism as a fallback.
6417 if test "x$ac_cr" = x; then
6418 eval ac_cr=\$\'\\r\'
6420 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6421 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6427 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6432 echo "cat >conf$$subs.awk <<_ACEOF" &&
6433 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6436 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6437 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6439 for ac_last_try in false false false false false :; do
6440 . ./conf$$subs.sh ||
6441 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6443 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6444 if test $ac_delim_n = $ac_delim_num; then
6446 elif $ac_last_try; then
6447 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6449 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6455 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6459 s/^/S["/; s/!.*/"]=/
6469 s/\(.\{148\}\)..*/\1/
6471 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6476 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6483 s/\(.\{148\}\)..*/\1/
6485 s/["\\]/\\&/g; s/^/"/; s/$/"/
6489 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6494 ' <conf$$subs.awk | sed '
6499 ' >>$CONFIG_STATUS || ac_write_fail=1
6500 rm -f conf$$subs.awk
6501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6503 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6504 for (key in S) S_is_set[key] = 1
6510 nfields = split(line, field, "@")
6512 len = length(field[1])
6513 for (i = 2; i < nfields; i++) {
6515 keylen = length(key)
6516 if (S_is_set[key]) {
6518 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6519 len += length(value) + length(field[++i])
6530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6531 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6532 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6535 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6536 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6539 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6540 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6541 # trailing colons and then remove the whole line if VPATH becomes empty
6542 # (actually we leave an empty line to preserve line numbers).
6543 if test "x$srcdir" = x.; then
6544 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6563 fi # test -n "$CONFIG_FILES"
6565 # Set up the scripts for CONFIG_HEADERS section.
6566 # No need to generate them if there are no CONFIG_HEADERS.
6567 # This happens for instance with `./config.status Makefile'.
6568 if test -n "$CONFIG_HEADERS"; then
6569 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6573 # Transform confdefs.h into an awk script `defines.awk', embedded as
6574 # here-document in config.status, that substitutes the proper values into
6575 # config.h.in to produce config.h.
6577 # Create a delimiter string that does not exist in confdefs.h, to ease
6578 # handling of long lines.
6580 for ac_last_try in false false :; do
6581 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6582 if test -z "$ac_tt"; then
6584 elif $ac_last_try; then
6585 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6587 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6591 # For the awk script, D is an array of macro values keyed by name,
6592 # likewise P contains macro parameters if any. Preserve backslash
6593 # newline sequences.
6595 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6597 s/.\{148\}/&'"$ac_delim"'/g
6600 s/^[ ]*#[ ]*define[ ][ ]*/ /
6607 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6609 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6613 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6614 D["\1"]=" \3\\\\\\n"\\/p
6616 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6621 s/.\{148\}/&'"$ac_delim"'/g
6626 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6629 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6631 ' <confdefs.h | sed '
6632 s/'"$ac_delim"'/"\\\
6633 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6636 for (key in D) D_is_set[key] = 1
6639 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6641 split(line, arg, " ")
6642 if (arg[1] == "#") {
6646 defundef = substr(arg[1], 2)
6649 split(mac1, mac2, "(") #)
6651 prefix = substr(line, 1, index(line, defundef) - 1)
6652 if (D_is_set[macro]) {
6653 # Preserve the white space surrounding the "#".
6654 print prefix "define", macro P[macro] D[macro]
6657 # Replace #undef with comments. This is necessary, for example,
6658 # in the case of _POSIX_SOURCE, which is predefined and required
6659 # on some systems where configure will not decide to define it.
6660 if (defundef == "undef") {
6661 print "/*", prefix defundef, macro, "*/"
6669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6670 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6671 fi # test -n "$CONFIG_HEADERS"
6674 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6679 :[FHLC]) ac_mode=$ac_tag; continue;;
6681 case $ac_mode$ac_tag in
6683 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6684 :[FH]-) ac_tag=-:-;;
6685 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6702 -) ac_f="$ac_tmp/stdin";;
6703 *) # Look for the file first in the build tree, then in the source tree
6704 # (if the path is not absolute). The absolute path cannot be DOS-style,
6705 # because $ac_f cannot contain `:'.
6709 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6711 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6713 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6714 as_fn_append ac_file_inputs " '$ac_f'"
6717 # Let's still pretend it is `configure' which instantiates (i.e., don't
6718 # use $as_me), people would be surprised to read:
6719 # /* config.h. Generated by config.status. */
6720 configure_input='Generated from '`
6721 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6723 if test x"$ac_file" != x-; then
6724 configure_input="$ac_file. $configure_input"
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6726 $as_echo "$as_me: creating $ac_file" >&6;}
6728 # Neutralize special characters interpreted by sed in replacement strings.
6729 case $configure_input in #(
6730 *\&* | *\|* | *\\* )
6731 ac_sed_conf_input=`$as_echo "$configure_input" |
6732 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6733 *) ac_sed_conf_input=$configure_input;;
6737 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6743 ac_dir=`$as_dirname -- "$ac_file" ||
6744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6745 X"$ac_file" : 'X\(//\)[^/]' \| \
6746 X"$ac_file" : 'X\(//\)$' \| \
6747 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6748 $as_echo X"$ac_file" |
6749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6766 as_dir="$ac_dir"; as_fn_mkdir_p
6770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6773 # A ".." for each directory in $ac_dir_suffix.
6774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6775 case $ac_top_builddir_sub in
6776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6780 ac_abs_top_builddir=$ac_pwd
6781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6782 # for backward compatibility:
6783 ac_top_builddir=$ac_top_build_prefix
6786 .) # We are building in place.
6788 ac_top_srcdir=$ac_top_builddir_sub
6789 ac_abs_top_srcdir=$ac_pwd ;;
6790 [\\/]* | ?:[\\/]* ) # Absolute name.
6791 ac_srcdir=$srcdir$ac_dir_suffix;
6792 ac_top_srcdir=$srcdir
6793 ac_abs_top_srcdir=$srcdir ;;
6795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6796 ac_top_srcdir=$ac_top_build_prefix$srcdir
6797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6809 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6810 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6814 [\\/$]* | ?:[\\/]* ) ;;
6815 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6820 # If the template does not know about datarootdir, expand it.
6821 # FIXME: This hack should be removed a few years after 2.60.
6822 ac_datarootdir_hack=; ac_datarootdir_seen=
6833 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6834 *datarootdir*) ac_datarootdir_seen=yes;;
6835 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6837 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6840 ac_datarootdir_hack='
6841 s&@datadir@&$datadir&g
6842 s&@docdir@&$docdir&g
6843 s&@infodir@&$infodir&g
6844 s&@localedir@&$localedir&g
6845 s&@mandir@&$mandir&g
6846 s&\\\${datarootdir}&$datarootdir&g' ;;
6850 # Neutralize VPATH when `$srcdir' = `.'.
6851 # Shell code in configure.ac might set extrasub.
6852 # FIXME: do we really want to maintain this feature?
6853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6854 ac_sed_extra="$ac_vpsub
6857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6860 s|@configure_input@|$ac_sed_conf_input|;t t
6861 s&@top_builddir@&$ac_top_builddir_sub&;t t
6862 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6863 s&@srcdir@&$ac_srcdir&;t t
6864 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6865 s&@top_srcdir@&$ac_top_srcdir&;t t
6866 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6867 s&@builddir@&$ac_builddir&;t t
6868 s&@abs_builddir@&$ac_abs_builddir&;t t
6869 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6870 s&@INSTALL@&$ac_INSTALL&;t t
6871 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6872 $ac_datarootdir_hack
6874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6875 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6877 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6878 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6879 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6880 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6882 which seems to be undefined. Please make sure it is defined" >&5
6883 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6884 which seems to be undefined. Please make sure it is defined" >&2;}
6886 rm -f "$ac_tmp/stdin"
6888 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6889 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6897 if test x"$ac_file" != x-; then
6899 $as_echo "/* $configure_input */" \
6900 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6901 } >"$ac_tmp/config.h" \
6902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6903 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6908 mv "$ac_tmp/config.h" "$ac_file" \
6909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6912 $as_echo "/* $configure_input */" \
6913 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6914 || as_fn_error $? "could not create -" "$LINENO" 5
6916 # Compute "$ac_file"'s index in $config_headers.
6919 for _am_header in $config_headers :; do
6921 $_am_arg | $_am_arg:* )
6924 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6927 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6928 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6929 X"$_am_arg" : 'X\(//\)[^/]' \| \
6930 X"$_am_arg" : 'X\(//\)$' \| \
6931 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6932 $as_echo X"$_am_arg" |
6933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6949 s/.*/./; q'`/stamp-h$_am_stamp_count
6952 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6953 $as_echo "$as_me: executing $ac_file commands" >&6;}
6958 case $ac_file$ac_mode in
6959 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6960 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6961 # are listed without --file. Let's play safe and only enable the eval
6962 # if we detect the quoting.
6963 case $CONFIG_FILES in
6964 *\'*) eval set x "$CONFIG_FILES" ;;
6965 *) set x $CONFIG_FILES ;;
6970 # Strip MF so we end up with the name of the file.
6971 mf=`echo "$mf" | sed -e 's/:.*$//'`
6972 # Check whether this is an Automake generated Makefile or not.
6973 # We used to match only the files named `Makefile.in', but
6974 # some people rename them; so instead we look at the file content.
6975 # Grep'ing the first line is not enough: some people post-process
6976 # each Makefile.in and add a new line on top of each file to say so.
6977 # Grep'ing the whole file is not good either: AIX grep has a line
6978 # limit of 2048, but all sed's we know have understand at least 4000.
6979 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6980 dirpart=`$as_dirname -- "$mf" ||
6981 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6982 X"$mf" : 'X\(//\)[^/]' \| \
6983 X"$mf" : 'X\(//\)$' \| \
6984 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7006 # Extract the definition of DEPDIR, am__include, and am__quote
7007 # from the Makefile without running `make'.
7008 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7009 test -z "$DEPDIR" && continue
7010 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7011 test -z "am__include" && continue
7012 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7013 # When using ansi2knr, U may be empty or an underscore; expand it
7014 U=`sed -n 's/^U = //p' < "$mf"`
7015 # Find all dependency output files, they are included files with
7016 # $(DEPDIR) in their names. We invoke sed twice because it is the
7017 # simplest approach to changing $(DEPDIR) to its actual value in the
7019 for file in `sed -n "
7020 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7021 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7022 # Make sure the directory exists.
7023 test -f "$dirpart/$file" && continue
7024 fdir=`$as_dirname -- "$file" ||
7025 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7026 X"$file" : 'X\(//\)[^/]' \| \
7027 X"$file" : 'X\(//\)$' \| \
7028 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7047 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7048 # echo "creating $dirpart/$file"
7049 echo '# dummy' > "$dirpart/$file"
7061 ac_clean_files=$ac_clean_files_save
7063 test $ac_write_fail = 0 ||
7064 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7067 # configure is writing to config.log, and then calls config.status.
7068 # config.status does its own redirection, appending to config.log.
7069 # Unfortunately, on DOS this fails, as config.log is still kept open
7070 # by configure, so config.status won't be able to write to it; its
7071 # output is simply discarded. So we exec the FD to /dev/null,
7072 # effectively closing config.log, so it can be properly (re)opened and
7073 # appended to by config.status. When coming back to configure, we
7074 # need to make the FD available again.
7075 if test "$no_create" != yes; then
7077 ac_config_status_args=
7078 test "$silent" = yes &&
7079 ac_config_status_args="$ac_config_status_args --quiet"
7081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7084 # would make configure fail if this is the last instruction.
7085 $ac_cs_success || as_fn_exit 1
7087 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7089 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}