2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for skeinsum 1.0.
5 # Report bugs to <j@jxself.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and j@jxself.org about
270 $0: your system, including any error possibly output before
271 $0: this message. Then install a modern shell, or manually
272 $0: run the script under such a shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='skeinsum'
581 PACKAGE_TARNAME='skeinsum'
582 PACKAGE_VERSION='1.0'
583 PACKAGE_STRING='skeinsum 1.0'
584 PACKAGE_BUGREPORT='j@jxself.org'
587 ac_unique_file="skein.h"
588 # Factoring default headers for most tests.
589 ac_includes_default="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars='am__EXEEXT_FALSE
660 INSTALL_STRIP_PROGRAM
702 program_transform_name
715 enable_option_checking
717 enable_dependency_tracking
720 ac_precious_vars='build_alias
731 # Initialize some variables set by options.
733 ac_init_version=false
734 ac_unrecognized_opts=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name=s,x,x,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
820 cache_file=config.cache ;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=no ;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
874 eval enable_$ac_useropt=\$ac_optarg ;;
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
889 -help | --help | --hel | --he | -h)
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 htmldir=$ac_optarg ;;
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
919 -libdir | --libdir | --libdi | --libd)
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
931 -localedir | --localedir | --localedi | --localed | --locale)
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 # Obsolete; use --without-fp.
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1010 -psdir | --psdir | --psdi | --psd | --ps)
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 sbindir=$ac_optarg ;;
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 sharedstatedir=$ac_optarg ;;
1036 -site | --site | --sit)
1038 -site=* | --site=* | --sit=*)
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval with_$ac_useropt=\$ac_optarg ;;
1080 -without-* | --without-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=no ;;
1097 # Obsolete; use --with-x.
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1101 | --x-incl | --x-inc | --x-in | --x-i)
1102 ac_prev=x_includes ;;
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1105 x_includes=$ac_optarg ;;
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1109 ac_prev=x_libraries ;;
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1115 Try \`$0 --help' for more information"
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 case $ac_envvar in #(
1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125 eval $ac_envvar=\$ac_optarg
1126 export $ac_envvar ;;
1129 # FIXME: should be removed in autoconf 3.0.
1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1133 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1139 if test -n "$ac_prev"; then
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1141 as_fn_error $? "missing argument to $ac_option"
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 # Check all directory arguments for consistency.
1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir
1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes.
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1163 eval $ac_var=\$ac_val;;
1165 # Be sure to have absolute directory names.
1167 [\\/$]* | ?:[\\/]* ) continue;;
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173 # There might be people who depend on the old broken behavior: `$host'
1174 # used to hold the argument of --host etc.
1175 # FIXME: To remove some day.
1178 target=$target_alias
1180 # FIXME: To remove some day.
1181 if test "x$host_alias" != x; then
1182 if test "x$build_alias" = x; then
1183 cross_compiling=maybe
1184 elif test "x$build_alias" != "x$host_alias"; then
1190 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192 test "$silent" = yes && exec 6>/dev/null
1195 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196 ac_ls_di=`ls -di .` &&
1197 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198 as_fn_error $? "working directory cannot be determined"
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 as_fn_error $? "pwd does not report name of working directory"
1203 # Find the source files, if location was not specified.
1204 if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes
1206 # Try the directory containing this script, then the parent directory.
1207 ac_confdir=`$as_dirname -- "$as_myself" ||
1208 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209 X"$as_myself" : 'X\(//\)[^/]' \| \
1210 X"$as_myself" : 'X\(//\)$' \| \
1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1212 $as_echo X"$as_myself" |
1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1235 ac_srcdir_defaulted=no
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1239 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var in $ac_precious_vars; do
1256 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_${ac_var}_value=\$${ac_var}
1258 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures skeinsum 1.0 to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking ...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/skeinsum]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1327 --program-prefix=PREFIX prepend PREFIX to installed program names
1328 --program-suffix=SUFFIX append SUFFIX to installed program names
1329 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of skeinsum 1.0:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --enable-silent-rules less verbose build output (undo: "make V=1")
1344 --disable-silent-rules verbose build output (undo: "make V=0")
1345 --enable-dependency-tracking
1346 do not reject slow dependency extractors
1347 --disable-dependency-tracking
1348 speeds up one-time build
1349 --disable-largefile omit support for large files
1351 Some influential environment variables:
1352 CC C compiler command
1353 CFLAGS C compiler flags
1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1355 nonstandard directory <lib dir>
1356 LIBS libraries to pass to the linker, e.g. -l<library>
1357 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1358 you have headers in a nonstandard directory <include dir>
1361 Use these variables to override the choices made by `configure' or to help
1362 it to find libraries and programs with nonstandard names/locations.
1364 Report bugs to <j@jxself.org>.
1369 if test "$ac_init_help" = "recursive"; then
1370 # If there are subdirs, report their specific --help.
1371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1372 test -d "$ac_dir" ||
1373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1388 ac_abs_top_builddir=$ac_pwd
1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir=$ac_top_build_prefix
1394 .) # We are building in place.
1396 ac_top_srcdir=$ac_top_builddir_sub
1397 ac_abs_top_srcdir=$ac_pwd ;;
1398 [\\/]* | ?:[\\/]* ) # Absolute name.
1399 ac_srcdir=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir=$srcdir
1401 ac_abs_top_srcdir=$srcdir ;;
1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1409 cd "$ac_dir" || { ac_status=$?; continue; }
1410 # Check for guested configure.
1411 if test -f "$ac_srcdir/configure.gnu"; then
1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1414 elif test -f "$ac_srcdir/configure"; then
1416 $SHELL "$ac_srcdir/configure" --help=recursive
1418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 cd "$ac_pwd" || { ac_status=$?; break; }
1424 test -n "$ac_init_help" && exit $ac_status
1425 if $ac_init_version; then
1427 skeinsum configure 1.0
1428 generated by GNU Autoconf 2.69
1430 Copyright (C) 2012 Free Software Foundation, Inc.
1431 This configure script is free software; the Free Software Foundation
1432 gives unlimited permission to copy, distribute and modify it.
1437 ## ------------------------ ##
1438 ## Autoconf initialization. ##
1439 ## ------------------------ ##
1441 # ac_fn_c_try_compile LINENO
1442 # --------------------------
1443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_c_try_compile ()
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext
1448 if { { ac_try="$ac_compile"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_compile") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest.$ac_objext; then :
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1475 as_fn_set_status $ac_retval
1477 } # ac_fn_c_try_compile
1479 # ac_fn_c_try_cpp LINENO
1480 # ----------------------
1481 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { { ac_try="$ac_cpp conftest.$ac_ext"
1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 *) ac_try_echo=$ac_try;;
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1494 if test -s conftest.err; then
1495 grep -v '^ *+' conftest.err >conftest.er1
1496 cat conftest.er1 >&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } > conftest.i && {
1501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status $ac_retval
1516 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1517 # -------------------------------------------------------
1518 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1519 # the include files in INCLUDES and setting the cache variable VAR
1521 ac_fn_c_check_header_mongrel ()
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 if eval \${$3+:} false; then :
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1526 $as_echo_n "checking for $2... " >&6; }
1527 if eval \${$3+:} false; then :
1528 $as_echo_n "(cached) " >&6
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1532 $as_echo "$ac_res" >&6; }
1534 # Is the header compilable?
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1536 $as_echo_n "checking $2 usability... " >&6; }
1537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1538 /* end confdefs.h. */
1542 if ac_fn_c_try_compile "$LINENO"; then :
1543 ac_header_compiler=yes
1545 ac_header_compiler=no
1547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1549 $as_echo "$ac_header_compiler" >&6; }
1551 # Is the header present?
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1553 $as_echo_n "checking $2 presence... " >&6; }
1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555 /* end confdefs.h. */
1558 if ac_fn_c_try_cpp "$LINENO"; then :
1559 ac_header_preproc=yes
1561 ac_header_preproc=no
1563 rm -f conftest.err conftest.i conftest.$ac_ext
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1565 $as_echo "$ac_header_preproc" >&6; }
1567 # So? What about this header?
1568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1571 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1573 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1577 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1579 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1581 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1583 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1585 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 ( $as_echo "## --------------------------- ##
1587 ## Report this to j@jxself.org ##
1588 ## --------------------------- ##"
1589 ) | sed "s/^/$as_me: WARNING: /" >&2
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1597 eval "$3=\$ac_header_compiler"
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 } # ac_fn_c_check_header_mongrel
1607 # ac_fn_c_try_run LINENO
1608 # ----------------------
1609 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1610 # that executables *can* be run.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if { { ac_try="$ac_link"
1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_link") 2>&5
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1625 { { case "(($ac_try" in
1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_try") 2>&5
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; }; }; then :
1637 $as_echo "$as_me: program exited with status $ac_status" >&5
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1641 ac_retval=$ac_status
1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval
1649 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650 # -------------------------------------------------------
1651 # Tests whether HEADER exists and can be compiled using the include files in
1652 # INCLUDES, setting the cache variable VAR accordingly.
1653 ac_fn_c_check_header_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \${$3+:} false; then :
1659 $as_echo_n "(cached) " >&6
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1666 if ac_fn_c_try_compile "$LINENO"; then :
1671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 } # ac_fn_c_check_header_compile
1680 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1681 # -------------------------------------------
1682 # Tests whether TYPE exists after having included INCLUDES, setting cache
1683 # variable VAR accordingly.
1684 ac_fn_c_check_type ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690 $as_echo_n "(cached) " >&6
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 } # ac_fn_c_check_type
1734 # ac_fn_c_try_link LINENO
1735 # -----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 rm -f conftest.$ac_objext conftest$ac_exeext
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>conftest.err
1750 if test -s conftest.err; then
1751 grep -v '^ *+' conftest.err >conftest.er1
1752 cat conftest.er1 >&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && {
1757 test -z "$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1759 } && test -s conftest$ac_exeext && {
1760 test "$cross_compiling" = yes ||
1761 test -x conftest$ac_exeext
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1771 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1772 # interfere with the next link command; also delete a directory that is
1773 # left behind by Apple's compiler. We do this before executing the actions.
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status $ac_retval
1778 } # ac_fn_c_try_link
1780 # ac_fn_c_check_func LINENO FUNC VAR
1781 # ----------------------------------
1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1783 ac_fn_c_check_func ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \${$3+:} false; then :
1789 $as_echo_n "(cached) " >&6
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1795 #define $2 innocuous_$2
1797 /* System header to define __stub macros and hopefully few prototypes,
1798 which can conflict with char $2 (); below.
1799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1800 <limits.h> exists even on freestanding compilers. */
1803 # include <limits.h>
1805 # include <assert.h>
1810 /* Override any GCC internal prototype to avoid an error.
1811 Use char because int might match the return type of a GCC
1812 builtin and then its argument prototype would still apply. */
1817 /* The GNU C library defines this for functions which it implements
1818 to always fail with ENOSYS. Some functions are actually named
1819 something starting with __ and the normal name is an alias. */
1820 #if defined __stub_$2 || defined __stub___$2
1832 if ac_fn_c_try_link "$LINENO"; then :
1837 rm -f core conftest.err conftest.$ac_objext \
1838 conftest$ac_exeext conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 } # ac_fn_c_check_func
1846 cat >config.log <<_ACEOF
1847 This file contains any messages produced by compilers while
1848 running configure, to aid debugging if configure makes a mistake.
1850 It was created by skeinsum $as_me 1.0, which was
1851 generated by GNU Autoconf 2.69. Invocation command line was
1863 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1864 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1865 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1866 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1867 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1869 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1870 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1872 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1873 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1874 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1875 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1876 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1877 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1878 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir=.
1887 $as_echo "PATH: $as_dir"
1903 # Keep a trace of the command line.
1904 # Strip out --no-create and --no-recursion so they do not pile up.
1905 # Strip out --silent because we don't want to record it for future runs.
1906 # Also quote any args containing shell meta-characters.
1907 # Make two passes to allow for proper duplicate-argument suppression.
1911 ac_must_keep_next=false
1917 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1918 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1919 | -silent | --silent | --silen | --sile | --sil)
1922 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1925 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1927 as_fn_append ac_configure_args1 " '$ac_arg'"
1928 if test $ac_must_keep_next = true; then
1929 ac_must_keep_next=false # Got value, back to normal.
1932 *=* | --config-cache | -C | -disable-* | --disable-* \
1933 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1934 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1935 | -with-* | --with-* | -without-* | --without-* | --x)
1936 case "$ac_configure_args0 " in
1937 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1940 -* ) ac_must_keep_next=true ;;
1943 as_fn_append ac_configure_args " '$ac_arg'"
1948 { ac_configure_args0=; unset ac_configure_args0;}
1949 { ac_configure_args1=; unset ac_configure_args1;}
1951 # When interrupted or exit'd, cleanup temporary files, and complete
1952 # config.log. We remove comments because anyway the quotes in there
1953 # would cause problems or look ugly.
1954 # WARNING: Use '\'' to represent an apostrophe within the trap.
1955 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1956 trap 'exit_status=$?
1957 # Save into config.log some information that might help in debugging.
1961 $as_echo "## ---------------- ##
1962 ## Cache variables. ##
1963 ## ---------------- ##"
1965 # The following way of writing the cache mishandles newlines in values,
1967 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1968 eval ac_val=\$$ac_var
1972 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1976 _ | IFS | as_nl) ;; #(
1977 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1978 *) { eval $ac_var=; unset $ac_var;} ;;
1983 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1984 *${as_nl}ac_space=\ *)
1986 "s/'\''/'\''\\\\'\'''\''/g;
1987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1997 $as_echo "## ----------------- ##
1998 ## Output variables. ##
1999 ## ----------------- ##"
2001 for ac_var in $ac_subst_vars
2003 eval ac_val=\$$ac_var
2005 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2007 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -n "$ac_subst_files"; then
2012 $as_echo "## ------------------- ##
2013 ## File substitutions. ##
2014 ## ------------------- ##"
2016 for ac_var in $ac_subst_files
2018 eval ac_val=\$$ac_var
2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022 $as_echo "$ac_var='\''$ac_val'\''"
2027 if test -s confdefs.h; then
2028 $as_echo "## ----------- ##
2035 test "$ac_signal" != 0 &&
2036 $as_echo "$as_me: caught signal $ac_signal"
2037 $as_echo "$as_me: exit $exit_status"
2039 rm -f core *.core core.conftest.* &&
2040 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2043 for ac_signal in 1 2 13 15; do
2044 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2048 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2049 rm -f -r conftest* confdefs.h
2051 $as_echo "/* confdefs.h */" > confdefs.h
2053 # Predefined preprocessor variables.
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_NAME "$PACKAGE_NAME"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_STRING "$PACKAGE_STRING"
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_URL "$PACKAGE_URL"
2080 # Let the site file select an alternate cache file if it wants to.
2081 # Prefer an explicitly selected file to automatically selected ones.
2084 if test -n "$CONFIG_SITE"; then
2085 # We do not want a PATH search for config.site.
2086 case $CONFIG_SITE in #((
2087 -*) ac_site_file1=./$CONFIG_SITE;;
2088 */*) ac_site_file1=$CONFIG_SITE;;
2089 *) ac_site_file1=./$CONFIG_SITE;;
2091 elif test "x$prefix" != xNONE; then
2092 ac_site_file1=$prefix/share/config.site
2093 ac_site_file2=$prefix/etc/config.site
2095 ac_site_file1=$ac_default_prefix/share/config.site
2096 ac_site_file2=$ac_default_prefix/etc/config.site
2098 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2100 test "x$ac_site_file" = xNONE && continue
2101 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2104 sed 's/^/| /' "$ac_site_file" >&5
2106 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108 as_fn_error $? "failed to load site script $ac_site_file
2109 See \`config.log' for more details" "$LINENO" 5; }
2113 if test -r "$cache_file"; then
2114 # Some versions of bash will fail to source /dev/null (special files
2115 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2116 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
2120 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2121 *) . "./$cache_file";;
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
2130 # Check that the precious variables saved in the cache have kept the same
2132 ac_cache_corrupted=false
2133 for ac_var in $ac_precious_vars; do
2134 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2135 eval ac_new_set=\$ac_env_${ac_var}_set
2136 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2137 eval ac_new_val=\$ac_env_${ac_var}_value
2138 case $ac_old_set,$ac_new_set in
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142 ac_cache_corrupted=: ;;
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146 ac_cache_corrupted=: ;;
2149 if test "x$ac_old_val" != "x$ac_new_val"; then
2150 # differences in whitespace do not lead to failure.
2151 ac_old_val_w=`echo x $ac_old_val`
2152 ac_new_val_w=`echo x $ac_new_val`
2153 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156 ac_cache_corrupted=:
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160 eval $ac_var=\$ac_old_val
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2163 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2165 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2168 # Pass precious variables to config.status.
2169 if test "$ac_new_set" = set; then
2171 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172 *) ac_arg=$ac_var=$ac_new_val ;;
2174 case " $ac_configure_args " in
2175 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2176 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2180 if $ac_cache_corrupted; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2187 ## -------------------- ##
2188 ## Main body of script. ##
2189 ## -------------------- ##
2192 ac_cpp='$CPP $CPPFLAGS'
2193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199 ac_config_headers="$ac_config_headers config.h"
2201 am__api_version='1.14'
2204 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2205 if test -f "$ac_dir/install-sh"; then
2207 ac_install_sh="$ac_aux_dir/install-sh -c"
2209 elif test -f "$ac_dir/install.sh"; then
2211 ac_install_sh="$ac_aux_dir/install.sh -c"
2213 elif test -f "$ac_dir/shtool"; then
2215 ac_install_sh="$ac_aux_dir/shtool install -c"
2219 if test -z "$ac_aux_dir"; then
2220 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2223 # These three variables are undocumented and unsupported,
2224 # and are intended to be withdrawn in a future Autoconf release.
2225 # They can cause serious problems if a builder's source tree is in a directory
2226 # whose full name contains unusual characters.
2227 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2228 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2229 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2232 # Find a good install program. We prefer a C program (faster),
2233 # so one script is as good as another. But avoid the broken or
2234 # incompatible versions:
2235 # SysV /etc/install, /usr/sbin/install
2236 # SunOS /usr/etc/install
2237 # IRIX /sbin/install
2239 # AmigaOS /C/install, which installs bootblocks on floppy discs
2240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2243 # OS/2's system install, which has a completely different semantic
2244 # ./install, which can be erroneously created by make from ./install.sh.
2245 # Reject install programs that cannot install multiple files.
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2248 if test -z "$INSTALL"; then
2249 if ${ac_cv_path_install+:} false; then :
2250 $as_echo_n "(cached) " >&6
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 # Account for people who put trailing slashes in PATH elements.
2258 case $as_dir/ in #((
2259 ./ | .// | /[cC]/* | \
2260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2264 # OSF1 and SCO ODT 3.0 have their own names for install.
2265 # Don't use installbsd from OSF since it installs stuff as root
2267 for ac_prog in ginstall scoinst install; do
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270 if test $ac_prog = install &&
2271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272 # AIX install. It has an incompatible calling convention.
2274 elif test $ac_prog = install &&
2275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276 # program-specific install script used by HP pwplus--don't use.
2279 rm -rf conftest.one conftest.two conftest.dir
2280 echo one > conftest.one
2281 echo two > conftest.two
2283 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2284 test -s conftest.one && test -s conftest.two &&
2285 test -s conftest.dir/conftest.one &&
2286 test -s conftest.dir/conftest.two
2288 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2301 rm -rf conftest.one conftest.two conftest.dir
2304 if test "${ac_cv_path_install+set}" = set; then
2305 INSTALL=$ac_cv_path_install
2307 # As a last resort, use the slow shell script. Don't cache a
2308 # value for INSTALL within a source directory, because that will
2309 # break other packages using the cache if that directory is
2310 # removed, or if the value is a relative name.
2311 INSTALL=$ac_install_sh
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2315 $as_echo "$INSTALL" >&6; }
2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2318 # It thinks the first close brace ends the variable substitution.
2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2326 $as_echo_n "checking whether build environment is sane... " >&6; }
2327 # Reject unsafe characters in $srcdir or the absolute working directory
2328 # name. Accept space and tab only in the latter.
2332 *[\\\"\#\$\&\'\`$am_lf]*)
2333 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2336 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2337 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2340 # Do 'set' in a subshell so we don't clobber the current shell's
2341 # arguments. Must try -L first in case configure is actually a
2342 # symlink; some systems play weird games with the mod time of symlinks
2343 # (eg FreeBSD returns the mod time of the symlink's containing
2347 for am_try in 1 2; do
2348 echo "timestamp, slept: $am_has_slept" > conftest.file
2349 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2350 if test "$*" = "X"; then
2352 set X `ls -t "$srcdir/configure" conftest.file`
2354 if test "$*" != "X $srcdir/configure conftest.file" \
2355 && test "$*" != "X conftest.file $srcdir/configure"; then
2357 # If neither matched, then we have a broken ls. This can happen
2358 # if, for instance, CONFIG_SHELL is bash and it inherits a
2359 # broken ls alias from the environment. This has actually
2360 # happened. Such a system could not be considered "sane".
2361 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2362 alias in your environment" "$LINENO" 5
2364 if test "$2" = conftest.file || test $am_try -eq 2; then
2371 test "$2" = conftest.file
2377 as_fn_error $? "newly created file is older than distributed files!
2378 Check your system clock" "$LINENO" 5
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2381 $as_echo "yes" >&6; }
2382 # If we didn't sleep, we still need to ensure time stamps of config.status and
2383 # generated files are strictly newer.
2385 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2392 test "$program_prefix" != NONE &&
2393 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2394 # Use a double $ so make ignores it.
2395 test "$program_suffix" != NONE &&
2396 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2397 # Double any \ or $.
2398 # By default was `s,x,x', remove it if useless.
2399 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2400 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2402 # expand $ac_aux_dir to an absolute path
2403 am_aux_dir=`cd $ac_aux_dir && pwd`
2405 if test x"${MISSING+set}" != xset; then
2408 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2410 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2413 # Use eval to expand $SHELL
2414 if eval "$MISSING --is-lightweight"; then
2415 am_missing_run="$MISSING "
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2419 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2422 if test x"${install_sh}" != xset; then
2425 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2427 install_sh="\${SHELL} $am_aux_dir/install-sh"
2431 # Installed binaries are usually stripped using 'strip' when the user
2432 # run "make install-strip". However 'strip' might not be the right
2433 # tool to use in cross-compilation environments, therefore Automake
2434 # will honor the 'STRIP' environment variable to overrule this program.
2435 if test "$cross_compiling" != no; then
2436 if test -n "$ac_tool_prefix"; then
2437 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2438 set dummy ${ac_tool_prefix}strip; ac_word=$2
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440 $as_echo_n "checking for $ac_word... " >&6; }
2441 if ${ac_cv_prog_STRIP+:} false; then :
2442 $as_echo_n "(cached) " >&6
2444 if test -n "$STRIP"; then
2445 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 STRIP=$ac_cv_prog_STRIP
2465 if test -n "$STRIP"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2467 $as_echo "$STRIP" >&6; }
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470 $as_echo "no" >&6; }
2475 if test -z "$ac_cv_prog_STRIP"; then
2477 # Extract the first word of "strip", so it can be a program name with args.
2478 set dummy strip; ac_word=$2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$ac_ct_STRIP"; then
2485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_ac_ct_STRIP="strip"
2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2505 if test -n "$ac_ct_STRIP"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2507 $as_echo "$ac_ct_STRIP" >&6; }
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510 $as_echo "no" >&6; }
2513 if test "x$ac_ct_STRIP" = x; then
2516 case $cross_compiling:$ac_tool_warned in
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2520 ac_tool_warned=yes ;;
2525 STRIP="$ac_cv_prog_STRIP"
2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2532 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2533 if test -z "$MKDIR_P"; then
2534 if ${ac_cv_path_mkdir+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2541 test -z "$as_dir" && as_dir=.
2542 for ac_prog in mkdir gmkdir; do
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2545 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2546 'mkdir (GNU coreutils) '* | \
2547 'mkdir (coreutils) '* | \
2548 'mkdir (fileutils) '4.1*)
2549 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2559 test -d ./--version && rmdir ./--version
2560 if test "${ac_cv_path_mkdir+set}" = set; then
2561 MKDIR_P="$ac_cv_path_mkdir -p"
2563 # As a last resort, use the slow shell script. Don't cache a
2564 # value for MKDIR_P within a source directory, because that will
2565 # break other packages using the cache if that directory is
2566 # removed, or if the value is a relative name.
2567 MKDIR_P="$ac_install_sh -d"
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2571 $as_echo "$MKDIR_P" >&6; }
2573 for ac_prog in gawk mawk nawk awk
2575 # Extract the first word of "$ac_prog", so it can be a program name with args.
2576 set dummy $ac_prog; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_AWK+:} false; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$AWK"; then
2583 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_AWK="$ac_prog"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test -n "$AWK"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2605 $as_echo "$AWK" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2612 test -n "$AWK" && break
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2616 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2618 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2619 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 cat >conftest.make <<\_ACEOF
2625 @echo '@@@%%%=$(MAKE)=@@@%%%'
2627 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2630 eval ac_cv_prog_make_${ac_make}_set=yes;;
2632 eval ac_cv_prog_make_${ac_make}_set=no;;
2636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638 $as_echo "yes" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2643 SET_MAKE="MAKE=${MAKE-make}"
2646 rm -rf .tst 2>/dev/null
2647 mkdir .tst 2>/dev/null
2648 if test -d .tst; then
2653 rmdir .tst 2>/dev/null
2655 # Check whether --enable-silent-rules was given.
2656 if test "${enable_silent_rules+set}" = set; then :
2657 enableval=$enable_silent_rules;
2660 case $enable_silent_rules in # (((
2661 yes) AM_DEFAULT_VERBOSITY=0;;
2662 no) AM_DEFAULT_VERBOSITY=1;;
2663 *) AM_DEFAULT_VERBOSITY=1;;
2665 am_make=${MAKE-make}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2667 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2668 if ${am_cv_make_support_nested_variables+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 if $as_echo 'TRUE=$(BAR$(V))
2677 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2678 am_cv_make_support_nested_variables=yes
2680 am_cv_make_support_nested_variables=no
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2684 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2685 if test $am_cv_make_support_nested_variables = yes; then
2687 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2689 AM_V=$AM_DEFAULT_VERBOSITY
2690 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2694 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2695 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2696 # is not polluted with repeated "-I."
2697 am__isrc=' -I$(srcdir)'
2698 # test to see if srcdir already configured
2699 if test -f $srcdir/config.status; then
2700 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2704 # test whether we have cygpath
2705 if test -z "$CYGPATH_W"; then
2706 if (cygpath --version) >/dev/null 2>/dev/null; then
2707 CYGPATH_W='cygpath -w'
2714 # Define the identity of the package.
2720 cat >>confdefs.h <<_ACEOF
2721 #define PACKAGE "$PACKAGE"
2725 cat >>confdefs.h <<_ACEOF
2726 #define VERSION "$VERSION"
2729 # Some tools Automake needs.
2731 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2734 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2737 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2740 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2743 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2745 # For better backward compatibility. To be removed once Automake 1.9.x
2746 # dies out for good. For more background, see:
2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2748 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2749 mkdir_p='$(MKDIR_P)'
2751 # We need awk for the "check" target. The system "awk" is bad on
2753 # Always define AMTAR for backward compatibility. Yes, it's still used
2754 # in the wild :-( We should find a proper way to deprecate it ...
2758 # We'll loop over all known methods to create a tar archive until one works.
2759 _am_tools='gnutar pax cpio none'
2761 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2768 # POSIX will say in a future version that running "rm -f" with no argument
2769 # is OK; and we want to be able to make that assumption in our Makefile
2770 # recipes. So use an aggressive probe to check that the usage we want is
2771 # actually supported "in the wild" to an acceptable degree.
2772 # See automake bug#10828.
2773 # To make any issue more visible, cause the running configure to be aborted
2774 # by default if the 'rm' program in use doesn't match our expectations; the
2775 # user can still override this though.
2776 if rm -f && rm -fr && rm -rf; then : OK; else
2780 Your 'rm' program seems unable to run without file operands specified
2781 on the command line, even when the '-f' option is present. This is contrary
2782 to the behaviour of most rm programs out there, and not conforming with
2783 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2785 Please tell bug-automake@gnu.org about your system, including the value
2786 of your $PATH and any error possibly output before this message. This
2787 can help us improve future automake versions.
2790 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2791 echo 'Configuration will proceed anyway, since you have set the' >&2
2792 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2796 Aborting the configuration process, to ensure you take notice of the issue.
2798 You can download and install GNU coreutils to get an 'rm' implementation
2799 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2801 If you want to complete the configuration process using your problematic
2802 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2803 to "yes", and re-run configure.
2806 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2810 # Checks for programs.
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 if test -n "$ac_tool_prefix"; then
2817 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2818 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_CC+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$CC"; then
2825 ac_cv_prog_CC="$CC" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test -n "$CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2847 $as_echo "$CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2855 if test -z "$ac_cv_prog_CC"; then
2857 # Extract the first word of "gcc", so it can be a program name with args.
2858 set dummy gcc; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$ac_ct_CC"; then
2865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_ac_ct_CC="gcc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2885 if test -n "$ac_ct_CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2887 $as_echo "$ac_ct_CC" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2893 if test "x$ac_ct_CC" = x; then
2896 case $cross_compiling:$ac_tool_warned in
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2900 ac_tool_warned=yes ;;
2908 if test -z "$CC"; then
2909 if test -n "$ac_tool_prefix"; then
2910 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2911 set dummy ${ac_tool_prefix}cc; ac_word=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_CC+:} false; then :
2915 $as_echo_n "(cached) " >&6
2917 if test -n "$CC"; then
2918 ac_cv_prog_CC="$CC" # Let the user override the test.
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_CC="${ac_tool_prefix}cc"
2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test -n "$CC"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2940 $as_echo "$CC" >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2949 if test -z "$CC"; then
2950 # Extract the first word of "cc", so it can be a program name with args.
2951 set dummy cc; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_CC+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2969 ac_prog_rejected=yes
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test $ac_prog_rejected = yes; then
2981 # We found a bogon in the path, so make sure we never use it.
2982 set dummy $ac_cv_prog_CC
2984 if test $# != 0; then
2985 # We chose a different compiler from the bogus one.
2986 # However, it has the same basename, so the bogon will be chosen
2987 # first if we set CC to just the basename; use the full file name.
2989 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2995 if test -n "$CC"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3005 if test -z "$CC"; then
3006 if test -n "$ac_tool_prefix"; then
3007 for ac_prog in cl.exe
3009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_CC+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3039 $as_echo "$CC" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3046 test -n "$CC" && break
3049 if test -z "$CC"; then
3051 for ac_prog in cl.exe
3053 # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$ac_ct_CC"; then
3061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070 ac_cv_prog_ac_ct_CC="$ac_prog"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3081 if test -n "$ac_ct_CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3083 $as_echo "$ac_ct_CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3090 test -n "$ac_ct_CC" && break
3093 if test "x$ac_ct_CC" = x; then
3096 case $cross_compiling:$ac_tool_warned in
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3100 ac_tool_warned=yes ;;
3109 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 as_fn_error $? "no acceptable C compiler found in \$PATH
3112 See \`config.log' for more details" "$LINENO" 5; }
3114 # Provide some information about the compiler.
3115 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3118 for ac_option in --version -v -V -qversion; do
3119 { { ac_try="$ac_compiler $ac_option >&5"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3128 if test -s conftest.err; then
3130 ... rest of stderr output deleted ...
3131 10q' conftest.err >conftest.er1
3132 cat conftest.er1 >&5
3134 rm -f conftest.er1 conftest.err
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3150 ac_clean_files_save=$ac_clean_files
3151 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3152 # Try to create an executable without -o first, disregard a.out.
3153 # It will help us diagnose broken compilers, and finding out an intuition
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3156 $as_echo_n "checking whether the C compiler works... " >&6; }
3157 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3159 # The possible output files:
3160 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3163 for ac_file in $ac_files
3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3167 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3172 if { { ac_try="$ac_link_default"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_link_default") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; then :
3183 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3184 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3185 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3186 # so that the user can short-circuit this test for compilers unknown to
3188 for ac_file in $ac_files ''
3190 test -f "$ac_file" || continue
3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3195 # We found the default executable, but exeext='' is most
3199 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3201 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3203 # We set ac_cv_exeext here because the later test for it is not
3204 # safe: cross compilers may not add the suffix if given an `-o'
3205 # argument, so we may need to know it at that point already.
3206 # Even if this section looks crufty: it has the advantage of
3213 test "$ac_cv_exeext" = no && ac_cv_exeext=
3218 if test -z "$ac_file"; then :
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error 77 "C compiler cannot create executables
3227 See \`config.log' for more details" "$LINENO" 5; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3230 $as_echo "yes" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3233 $as_echo_n "checking for C compiler default output file name... " >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3235 $as_echo "$ac_file" >&6; }
3236 ac_exeext=$ac_cv_exeext
3238 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3239 ac_clean_files=$ac_clean_files_save
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3241 $as_echo_n "checking for suffix of executables... " >&6; }
3242 if { { ac_try="$ac_link"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_link") 2>&5
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }; then :
3253 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3255 # work properly (i.e., refer to `conftest.exe'), while it won't with
3257 for ac_file in conftest.exe conftest conftest.*; do
3258 test -f "$ac_file" || continue
3260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3261 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3270 See \`config.log' for more details" "$LINENO" 5; }
3272 rm -f conftest conftest$ac_cv_exeext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3274 $as_echo "$ac_cv_exeext" >&6; }
3276 rm -f conftest.$ac_ext
3277 EXEEXT=$ac_cv_exeext
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3285 FILE *f = fopen ("conftest.out", "w");
3286 return ferror (f) || fclose (f) != 0;
3292 ac_clean_files="$ac_clean_files conftest.out"
3293 # Check that the compiler produces executables we can run. If not, either
3294 # the compiler is broken, or we cross compile.
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3296 $as_echo_n "checking whether we are cross compiling... " >&6; }
3297 if test "$cross_compiling" != yes; then
3298 { { ac_try="$ac_link"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304 $as_echo "$ac_try_echo"; } >&5
3305 (eval "$ac_link") 2>&5
3307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3308 test $ac_status = 0; }
3309 if { ac_try='./conftest$ac_cv_exeext'
3310 { { case "(($ac_try" in
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_try") 2>&5
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; }; then
3322 if test "$cross_compiling" = maybe; then
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot run C compiled programs.
3328 If you meant to cross compile, use \`--host'.
3329 See \`config.log' for more details" "$LINENO" 5; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3334 $as_echo "$cross_compiling" >&6; }
3336 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3337 ac_clean_files=$ac_clean_files_save
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3339 $as_echo_n "checking for suffix of object files... " >&6; }
3340 if ${ac_cv_objext+:} false; then :
3341 $as_echo_n "(cached) " >&6
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3354 rm -f conftest.o conftest.obj
3355 if { { ac_try="$ac_compile"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_compile") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 for ac_file in conftest.o conftest.obj conftest.*; do
3367 test -f "$ac_file" || continue;
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3375 $as_echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 as_fn_error $? "cannot compute suffix of object files: cannot compile
3381 See \`config.log' for more details" "$LINENO" 5; }
3383 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3386 $as_echo "$ac_cv_objext" >&6; }
3387 OBJEXT=$ac_cv_objext
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3390 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3391 if ${ac_cv_c_compiler_gnu+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3418 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3419 if test $ac_compiler_gnu = yes; then
3424 ac_test_CFLAGS=${CFLAGS+set}
3425 ac_save_CFLAGS=$CFLAGS
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3427 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3428 if ${ac_cv_prog_cc_g+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 ac_save_c_werror_flag=$ac_c_werror_flag
3432 ac_c_werror_flag=yes
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 if ac_fn_c_try_compile "$LINENO"; then :
3464 ac_c_werror_flag=$ac_save_c_werror_flag
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 if ac_fn_c_try_compile "$LINENO"; then :
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 ac_c_werror_flag=$ac_save_c_werror_flag
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3488 $as_echo "$ac_cv_prog_cc_g" >&6; }
3489 if test "$ac_test_CFLAGS" = set; then
3490 CFLAGS=$ac_save_CFLAGS
3491 elif test $ac_cv_prog_cc_g = yes; then
3492 if test "$GCC" = yes; then
3498 if test "$GCC" = yes; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3505 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3506 if ${ac_cv_prog_cc_c89+:} false; then :
3507 $as_echo_n "(cached) " >&6
3509 ac_cv_prog_cc_c89=no
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3516 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3517 struct buf { int x; };
3518 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3519 static char *e (p, i)
3525 static char *f (char * (*g) (char **, int), char **p, ...)
3530 s = g (p, va_arg (v,int));
3535 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3536 function prototypes and stuff, but not '\xHH' hex character constants.
3537 These don't provoke an error unfortunately, instead are silently treated
3538 as 'x'. The following induces an error, until -std is added to get
3539 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3540 array size at least. It's necessary to write '\x00'==0 to get something
3541 that's true only with -std. */
3542 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3544 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3545 inside strings and character constants. */
3547 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3549 int test (int i, double x);
3550 struct s1 {int (*f) (int a);};
3551 struct s2 {int (*f) (double a);};
3552 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3558 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3563 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3564 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3566 CC="$ac_save_CC $ac_arg"
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568 ac_cv_prog_cc_c89=$ac_arg
3570 rm -f core conftest.err conftest.$ac_objext
3571 test "x$ac_cv_prog_cc_c89" != "xno" && break
3573 rm -f conftest.$ac_ext
3578 case "x$ac_cv_prog_cc_c89" in
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3581 $as_echo "none needed" >&6; } ;;
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3584 $as_echo "unsupported" >&6; } ;;
3586 CC="$CC $ac_cv_prog_cc_c89"
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3588 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3590 if test "x$ac_cv_prog_cc_c89" != xno; then :
3595 ac_cpp='$CPP $CPPFLAGS'
3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3601 ac_cpp='$CPP $CPPFLAGS'
3602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3606 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3607 if ${am_cv_prog_cc_c_o+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 # Make sure it works both with $CC and with simple cc.
3622 # Following AC_PROG_CC_C_O, we do the test twice because some
3623 # compilers refuse to overwrite an existing .o file with -o,
3624 # though they will create one.
3625 am_cv_prog_cc_c_o=yes
3627 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3628 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } \
3632 && test -f conftest2.$ac_objext; then
3635 am_cv_prog_cc_c_o=no
3639 rm -f core conftest*
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3643 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3644 if test "$am_cv_prog_cc_c_o" != yes; then
3645 # Losing compiler, so override with the script.
3646 # FIXME: It is wrong to rewrite CC.
3647 # But if we don't then we get into trouble of one sort or another.
3648 # A longer-term fix would be to have automake use am__CC in this case,
3649 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3650 CC="$am_aux_dir/compile $CC"
3653 ac_cpp='$CPP $CPPFLAGS'
3654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3658 DEPDIR="${am__leading_dot}deps"
3660 ac_config_commands="$ac_config_commands depfiles"
3663 am_make=${MAKE-make}
3664 cat > confinc << 'END'
3666 @echo this is the am__doit target
3669 # If we don't find an include directive, just comment out the code.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3671 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3675 # First try GNU make style include.
3676 echo "include confinc" > confmf
3677 # Ignore all kinds of additional output from 'make'.
3678 case `$am_make -s -f confmf 2> /dev/null` in #(
3679 *the\ am__doit\ target*)
3685 # Now try BSD make style include.
3686 if test "$am__include" = "#"; then
3687 echo '.include "confinc"' > confmf
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3690 am__include=.include
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3699 $as_echo "$_am_result" >&6; }
3700 rm -f confinc confmf
3702 # Check whether --enable-dependency-tracking was given.
3703 if test "${enable_dependency_tracking+set}" = set; then :
3704 enableval=$enable_dependency_tracking;
3707 if test "x$enable_dependency_tracking" != xno; then
3708 am_depcomp="$ac_aux_dir/depcomp"
3712 if test "x$enable_dependency_tracking" != xno; then
3722 depcc="$CC" am_compiler_list=
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3725 $as_echo_n "checking dependency style of $depcc... " >&6; }
3726 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3730 # We make a subdir and do the tests there. Otherwise we can end up
3731 # making bogus files that we don't know about and never remove. For
3732 # instance it was reported that on HP-UX the gcc test will end up
3733 # making a dummy file named 'D' -- because '-MD' means "put the output
3737 # Copy depcomp to subdir because otherwise we won't find it if we're
3738 # using a relative directory.
3739 cp "$am_depcomp" conftest.dir
3741 # We will build objects and dependencies in a subdirectory because
3742 # it helps to detect inapplicable dependency modes. For instance
3743 # both Tru64's cc and ICC support -MD to output dependencies as a
3744 # side effect of compilation, but ICC will put the dependencies in
3745 # the current directory while Tru64 will put them in the object
3749 am_cv_CC_dependencies_compiler_type=none
3750 if test "$am_compiler_list" = ""; then
3751 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3754 case " $depcc " in #(
3755 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3758 for depmode in $am_compiler_list; do
3759 # Setup a source with many dependencies, because some compilers
3760 # like to wrap large dependency lists on column 80 (with \), and
3761 # we should not choose a depcomp mode which is confused by this.
3763 # We need to recreate these files for each test, as the compiler may
3764 # overwrite some of them when testing with obscure command lines.
3765 # This happens at least with the AIX C compiler.
3767 for i in 1 2 3 4 5 6; do
3768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3769 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3770 # Solaris 10 /bin/sh.
3771 echo '/* dummy */' > sub/conftst$i.h
3773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3775 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3776 # mode. It turns out that the SunPro C++ compiler does not properly
3777 # handle '-M -o', and we need to detect this. Also, some Intel
3778 # versions had trouble with output in subdirs.
3779 am__obj=sub/conftest.${OBJEXT-o}
3780 am__minus_obj="-o $am__obj"
3783 # This depmode causes a compiler race in universal mode.
3784 test "$am__universal" = false || continue
3787 # After this tag, mechanisms are not by side-effect, so they'll
3788 # only be used when explicitly requested.
3789 if test "x$enable_dependency_tracking" = xyes; then
3795 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3796 # This compiler won't grok '-c -o', but also, the minuso test has
3797 # not run yet. These depmodes are late enough in the game, and
3798 # so weak that their functioning should not be impacted.
3799 am__obj=conftest.${OBJEXT-o}
3804 if depmode=$depmode \
3805 source=sub/conftest.c object=$am__obj \
3806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3807 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3808 >/dev/null 2>conftest.err &&
3809 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3810 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3811 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3812 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3813 # icc doesn't choke on unknown options, it will just issue warnings
3814 # or remarks (even with -Werror). So we grep stderr for any message
3815 # that says an option was ignored or not supported.
3816 # When given -MP, icc 7.0 and 7.1 complain thusly:
3817 # icc: Command line warning: ignoring option '-M'; no argument required
3818 # The diagnosis changed in icc 8.0:
3819 # icc: Command line remark: option '-MP' not supported
3820 if (grep 'ignoring option' conftest.err ||
3821 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3822 am_cv_CC_dependencies_compiler_type=$depmode
3831 am_cv_CC_dependencies_compiler_type=none
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3836 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3837 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3840 test "x$enable_dependency_tracking" != xno \
3841 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3843 am__fastdepCC_FALSE='#'
3845 am__fastdepCC_TRUE='#'
3846 am__fastdepCC_FALSE=
3851 # Checks for libraries.
3853 # Checks for header files.
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3861 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3862 # On Suns, sometimes $CPP names a directory.
3863 if test -n "$CPP" && test -d "$CPP"; then
3866 if test -z "$CPP"; then
3867 if ${ac_cv_prog_CPP+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 # Double quotes because CPP needs to be expanded
3871 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3874 for ac_c_preproc_warn_flag in '' yes
3876 # Use a header file that comes with gcc, so configuring glibc
3877 # with a fresh cross-compiler works.
3878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3879 # <limits.h> exists even on freestanding compilers.
3880 # On the NeXT, cc -E runs the code through the compiler's parser,
3881 # not just through cpp. "Syntax error" is here to catch this case.
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3885 # include <limits.h>
3887 # include <assert.h>
3891 if ac_fn_c_try_cpp "$LINENO"; then :
3894 # Broken: fails on valid input.
3897 rm -f conftest.err conftest.i conftest.$ac_ext
3899 # OK, works on sane cases. Now check whether nonexistent headers
3900 # can be detected and how.
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3903 #include <ac_nonexistent.h>
3905 if ac_fn_c_try_cpp "$LINENO"; then :
3906 # Broken: success on invalid input.
3909 # Passes both tests.
3913 rm -f conftest.err conftest.i conftest.$ac_ext
3916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3917 rm -f conftest.i conftest.err conftest.$ac_ext
3918 if $ac_preproc_ok; then :
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3931 $as_echo "$CPP" >&6; }
3933 for ac_c_preproc_warn_flag in '' yes
3935 # Use a header file that comes with gcc, so configuring glibc
3936 # with a fresh cross-compiler works.
3937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3938 # <limits.h> exists even on freestanding compilers.
3939 # On the NeXT, cc -E runs the code through the compiler's parser,
3940 # not just through cpp. "Syntax error" is here to catch this case.
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3944 # include <limits.h>
3946 # include <assert.h>
3950 if ac_fn_c_try_cpp "$LINENO"; then :
3953 # Broken: fails on valid input.
3956 rm -f conftest.err conftest.i conftest.$ac_ext
3958 # OK, works on sane cases. Now check whether nonexistent headers
3959 # can be detected and how.
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <ac_nonexistent.h>
3964 if ac_fn_c_try_cpp "$LINENO"; then :
3965 # Broken: success on invalid input.
3968 # Passes both tests.
3972 rm -f conftest.err conftest.i conftest.$ac_ext
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.i conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then :
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details" "$LINENO" 5; }
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3994 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3995 if ${ac_cv_path_GREP+:} false; then :
3996 $as_echo_n "(cached) " >&6
3998 if test -z "$GREP"; then
3999 ac_path_GREP_found=false
4000 # Loop through the user's path and test for each of PROGNAME-LIST
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4005 test -z "$as_dir" && as_dir=.
4006 for ac_prog in grep ggrep; do
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4009 as_fn_executable_p "$ac_path_GREP" || continue
4010 # Check for GNU ac_path_GREP and select it if it is found.
4011 # Check for GNU $ac_path_GREP
4012 case `"$ac_path_GREP" --version 2>&1` in
4014 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4017 $as_echo_n 0123456789 >"conftest.in"
4020 cat "conftest.in" "conftest.in" >"conftest.tmp"
4021 mv "conftest.tmp" "conftest.in"
4022 cp "conftest.in" "conftest.nl"
4023 $as_echo 'GREP' >> "conftest.nl"
4024 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4025 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4026 as_fn_arith $ac_count + 1 && ac_count=$as_val
4027 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4028 # Best one so far, save it but keep looking for a better one
4029 ac_cv_path_GREP="$ac_path_GREP"
4030 ac_path_GREP_max=$ac_count
4032 # 10*(2^10) chars as input seems more than enough
4033 test $ac_count -gt 10 && break
4035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4038 $ac_path_GREP_found && break 3
4043 if test -z "$ac_cv_path_GREP"; then
4044 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4047 ac_cv_path_GREP=$GREP
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4052 $as_echo "$ac_cv_path_GREP" >&6; }
4053 GREP="$ac_cv_path_GREP"
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4057 $as_echo_n "checking for egrep... " >&6; }
4058 if ${ac_cv_path_EGREP+:} false; then :
4059 $as_echo_n "(cached) " >&6
4061 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4062 then ac_cv_path_EGREP="$GREP -E"
4064 if test -z "$EGREP"; then
4065 ac_path_EGREP_found=false
4066 # Loop through the user's path and test for each of PROGNAME-LIST
4067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4071 test -z "$as_dir" && as_dir=.
4072 for ac_prog in egrep; do
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4075 as_fn_executable_p "$ac_path_EGREP" || continue
4076 # Check for GNU ac_path_EGREP and select it if it is found.
4077 # Check for GNU $ac_path_EGREP
4078 case `"$ac_path_EGREP" --version 2>&1` in
4080 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4083 $as_echo_n 0123456789 >"conftest.in"
4086 cat "conftest.in" "conftest.in" >"conftest.tmp"
4087 mv "conftest.tmp" "conftest.in"
4088 cp "conftest.in" "conftest.nl"
4089 $as_echo 'EGREP' >> "conftest.nl"
4090 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4091 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4092 as_fn_arith $ac_count + 1 && ac_count=$as_val
4093 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4094 # Best one so far, save it but keep looking for a better one
4095 ac_cv_path_EGREP="$ac_path_EGREP"
4096 ac_path_EGREP_max=$ac_count
4098 # 10*(2^10) chars as input seems more than enough
4099 test $ac_count -gt 10 && break
4101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4104 $ac_path_EGREP_found && break 3
4109 if test -z "$ac_cv_path_EGREP"; then
4110 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4113 ac_cv_path_EGREP=$EGREP
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4119 $as_echo "$ac_cv_path_EGREP" >&6; }
4120 EGREP="$ac_cv_path_EGREP"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4124 $as_echo_n "checking for ANSI C header files... " >&6; }
4125 if ${ac_cv_header_stdc+:} false; then :
4126 $as_echo_n "(cached) " >&6
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144 ac_cv_header_stdc=yes
4146 ac_cv_header_stdc=no
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 if test $ac_cv_header_stdc = yes; then
4151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4158 $EGREP "memchr" >/dev/null 2>&1; then :
4161 ac_cv_header_stdc=no
4167 if test $ac_cv_header_stdc = yes; then
4168 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4175 $EGREP "free" >/dev/null 2>&1; then :
4178 ac_cv_header_stdc=no
4184 if test $ac_cv_header_stdc = yes; then
4185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4186 if test "$cross_compiling" = yes; then :
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 #if ((' ' & 0x0FF) == 0x020)
4194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4197 # define ISLOWER(c) \
4198 (('a' <= (c) && (c) <= 'i') \
4199 || ('j' <= (c) && (c) <= 'r') \
4200 || ('s' <= (c) && (c) <= 'z'))
4201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4209 for (i = 0; i < 256; i++)
4210 if (XOR (islower (i), ISLOWER (i))
4211 || toupper (i) != TOUPPER (i))
4216 if ac_fn_c_try_run "$LINENO"; then :
4219 ac_cv_header_stdc=no
4221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4222 conftest.$ac_objext conftest.beam conftest.$ac_ext
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4228 $as_echo "$ac_cv_header_stdc" >&6; }
4229 if test $ac_cv_header_stdc = yes; then
4231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4235 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4236 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4237 inttypes.h stdint.h unistd.h
4239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4243 cat >>confdefs.h <<_ACEOF
4244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4252 for ac_header in limits.h malloc.h stddef.h stdlib.h string.h unistd.h
4254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4255 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4257 cat >>confdefs.h <<_ACEOF
4258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4266 # Checks for typedefs, structures, and compiler characteristics.
4267 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4268 if test "x$ac_cv_type_size_t" = xyes; then :
4272 cat >>confdefs.h <<_ACEOF
4273 #define size_t unsigned int
4279 # Checks for library functions.
4280 for ac_header in stdlib.h
4282 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4283 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4284 cat >>confdefs.h <<_ACEOF
4285 #define HAVE_STDLIB_H 1
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4293 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4294 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 if test "$cross_compiling" = yes; then :
4298 ac_cv_func_malloc_0_nonnull=no
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4302 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4303 # include <stdlib.h>
4311 return ! malloc (0);
4316 if ac_fn_c_try_run "$LINENO"; then :
4317 ac_cv_func_malloc_0_nonnull=yes
4319 ac_cv_func_malloc_0_nonnull=no
4321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4322 conftest.$ac_objext conftest.beam conftest.$ac_ext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4327 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4328 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4330 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4333 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4335 case " $LIBOBJS " in
4336 *" malloc.$ac_objext "* ) ;;
4337 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4342 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4347 for ac_func in memset
4349 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
4350 if test "x$ac_cv_func_memset" = xyes; then :
4351 cat >>confdefs.h <<_ACEOF
4352 #define HAVE_MEMSET 1
4359 # Check whether --enable-largefile was given.
4360 if test "${enable_largefile+set}" = set; then :
4361 enableval=$enable_largefile;
4364 if test "$enable_largefile" != no; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4367 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4368 if ${ac_cv_sys_largefile_CC+:} false; then :
4369 $as_echo_n "(cached) " >&6
4371 ac_cv_sys_largefile_CC=no
4372 if test "$GCC" != yes; then
4375 # IRIX 6.2 and later do not support large files by default,
4376 # so use the C compiler's -n32 option if that helps.
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4379 #include <sys/types.h>
4380 /* Check that off_t can represent 2**63 - 1 correctly.
4381 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4382 since some C++ compilers masquerading as C compilers
4383 incorrectly reject 9223372036854775807. */
4384 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4385 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4386 && LARGE_OFF_T % 2147483647 == 1)
4396 if ac_fn_c_try_compile "$LINENO"; then :
4399 rm -f core conftest.err conftest.$ac_objext
4401 if ac_fn_c_try_compile "$LINENO"; then :
4402 ac_cv_sys_largefile_CC=' -n32'; break
4404 rm -f core conftest.err conftest.$ac_objext
4408 rm -f conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4412 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4413 if test "$ac_cv_sys_largefile_CC" != no; then
4414 CC=$CC$ac_cv_sys_largefile_CC
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4418 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4419 if ${ac_cv_sys_file_offset_bits+:} false; then :
4420 $as_echo_n "(cached) " >&6
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425 #include <sys/types.h>
4426 /* Check that off_t can represent 2**63 - 1 correctly.
4427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4428 since some C++ compilers masquerading as C compilers
4429 incorrectly reject 9223372036854775807. */
4430 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4432 && LARGE_OFF_T % 2147483647 == 1)
4442 if ac_fn_c_try_compile "$LINENO"; then :
4443 ac_cv_sys_file_offset_bits=no; break
4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4448 #define _FILE_OFFSET_BITS 64
4449 #include <sys/types.h>
4450 /* Check that off_t can represent 2**63 - 1 correctly.
4451 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4452 since some C++ compilers masquerading as C compilers
4453 incorrectly reject 9223372036854775807. */
4454 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4455 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4456 && LARGE_OFF_T % 2147483647 == 1)
4466 if ac_fn_c_try_compile "$LINENO"; then :
4467 ac_cv_sys_file_offset_bits=64; break
4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 ac_cv_sys_file_offset_bits=unknown
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4475 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4476 case $ac_cv_sys_file_offset_bits in #(
4479 cat >>confdefs.h <<_ACEOF
4480 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4485 if test $ac_cv_sys_file_offset_bits = unknown; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4487 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4488 if ${ac_cv_sys_large_files+:} false; then :
4489 $as_echo_n "(cached) " >&6
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494 #include <sys/types.h>
4495 /* Check that off_t can represent 2**63 - 1 correctly.
4496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4497 since some C++ compilers masquerading as C compilers
4498 incorrectly reject 9223372036854775807. */
4499 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4501 && LARGE_OFF_T % 2147483647 == 1)
4511 if ac_fn_c_try_compile "$LINENO"; then :
4512 ac_cv_sys_large_files=no; break
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #define _LARGE_FILES 1
4518 #include <sys/types.h>
4519 /* Check that off_t can represent 2**63 - 1 correctly.
4520 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4521 since some C++ compilers masquerading as C compilers
4522 incorrectly reject 9223372036854775807. */
4523 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4524 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4525 && LARGE_OFF_T % 2147483647 == 1)
4535 if ac_fn_c_try_compile "$LINENO"; then :
4536 ac_cv_sys_large_files=1; break
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 ac_cv_sys_large_files=unknown
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4544 $as_echo "$ac_cv_sys_large_files" >&6; }
4545 case $ac_cv_sys_large_files in #(
4548 cat >>confdefs.h <<_ACEOF
4549 #define _LARGE_FILES $ac_cv_sys_large_files
4560 ac_config_files="$ac_config_files makefile"
4562 cat >confcache <<\_ACEOF
4563 # This file is a shell script that caches the results of configure
4564 # tests run on this system so they can be shared between configure
4565 # scripts and configure runs, see configure's option --config-cache.
4566 # It is not useful on other systems. If it contains results you don't
4567 # want to keep, you may remove or edit it.
4569 # config.status only pays attention to the cache file if you give it
4570 # the --recheck option to rerun configure.
4572 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4573 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4578 # The following way of writing the cache mishandles newlines in values,
4579 # but we know of no workaround that is simple, portable, and efficient.
4580 # So, we kill variables containing newlines.
4581 # Ultrix sh set writes to stderr and can't be redirected directly,
4582 # and sets the high bit in the cache file unless we assign to the vars.
4584 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4585 eval ac_val=\$$ac_var
4589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4593 _ | IFS | as_nl) ;; #(
4594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4595 *) { eval $ac_var=; unset $ac_var;} ;;
4601 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4602 *${as_nl}ac_space=\ *)
4603 # `set' does not quote correctly, so add quotes: double-quote
4604 # substitution turns \\\\ into \\, and sed turns \\ into \.
4607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4610 # `set' quotes correctly as required by POSIX, so do not add quotes.
4611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4620 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4622 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4624 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4625 if test -w "$cache_file"; then
4626 if test "x$cache_file" != "x/dev/null"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4628 $as_echo "$as_me: updating cache $cache_file" >&6;}
4629 if test ! -f "$cache_file" || test -h "$cache_file"; then
4630 cat confcache >"$cache_file"
4632 case $cache_file in #(
4634 mv -f confcache "$cache_file"$$ &&
4635 mv -f "$cache_file"$$ "$cache_file" ;; #(
4637 mv -f confcache "$cache_file" ;;
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4643 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4648 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4649 # Let make expand exec_prefix.
4650 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4652 DEFS=-DHAVE_CONFIG_H
4657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4658 # 1. Remove the extension, and $U if already installed.
4659 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4660 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4662 # will be set to the directory where LIBOBJS objects are built.
4663 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4664 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4668 LTLIBOBJS=$ac_ltlibobjs
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4672 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4673 if test -n "$am_sleep_pid"; then
4674 # Hide warnings about reused PIDs.
4675 wait $am_sleep_pid 2>/dev/null
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4678 $as_echo "done" >&6; }
4679 if test -n "$EXEEXT"; then
4681 am__EXEEXT_FALSE='#'
4687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4688 as_fn_error $? "conditional \"AMDEP\" was never defined.
4689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4692 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4696 : "${CONFIG_STATUS=./config.status}"
4698 ac_clean_files_save=$ac_clean_files
4699 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4701 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4703 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4705 # Generated by $as_me.
4706 # Run this file to recreate the current configuration.
4707 # Compiler output produced by configure, useful for debugging
4708 # configure, is in config.log if it exists.
4714 SHELL=\${CONFIG_SHELL-$SHELL}
4717 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4718 ## -------------------- ##
4719 ## M4sh Initialization. ##
4720 ## -------------------- ##
4722 # Be more Bourne compatible
4723 DUALCASE=1; export DUALCASE # for MKS sh
4724 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4727 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4728 # is contrary to our usage. Disable this feature.
4729 alias -g '${1+"$@"}'='"$@"'
4730 setopt NO_GLOB_SUBST
4732 case `(set -o) 2>/dev/null` in #(
4744 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4745 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4747 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4748 # Prefer a ksh shell builtin over an external printf program on Solaris,
4749 # but without wasting forks for bash or zsh.
4750 if test -z "$BASH_VERSION$ZSH_VERSION" \
4751 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4752 as_echo='print -r --'
4753 as_echo_n='print -rn --'
4754 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4755 as_echo='printf %s\n'
4756 as_echo_n='printf %s'
4758 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4759 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4760 as_echo_n='/usr/ucb/echo -n'
4762 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4763 as_echo_n_body='eval
4767 expr "X$arg" : "X\\(.*\\)$as_nl";
4768 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4770 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4772 export as_echo_n_body
4773 as_echo_n='sh -c $as_echo_n_body as_echo'
4776 as_echo='sh -c $as_echo_body as_echo'
4779 # The user is always right.
4780 if test "${PATH_SEPARATOR+set}" != set; then
4782 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4783 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4790 # We need space, tab and new line, in precisely that order. Quoting is
4791 # there to prevent editors from complaining about space-tab.
4792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4793 # splitting by setting IFS to empty value.)
4796 # Find who we are. Look in the path if we contain no directory separator.
4799 *[\\/]* ) as_myself=$0 ;;
4800 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4811 # We did not find ourselves, most probably we were run as `sh COMMAND'
4812 # in which case we are not to be found in the path.
4813 if test "x$as_myself" = x; then
4816 if test ! -f "$as_myself"; then
4817 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4821 # Unset variables that we do not need and which cause bugs (e.g. in
4822 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4823 # suppresses any "Segmentation fault" message there. '((' could
4824 # trigger a bug in pdksh 5.2.14.
4825 for as_var in BASH_ENV ENV MAIL MAILPATH
4826 do eval test x\${$as_var+set} = xset \
4827 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4840 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4843 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4844 # ----------------------------------------
4845 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4846 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4847 # script with STATUS, using 1 if that was 0.
4850 as_status=$1; test $as_status -eq 0 && as_status=1
4852 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4853 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4855 $as_echo "$as_me: error: $2" >&2
4856 as_fn_exit $as_status
4860 # as_fn_set_status STATUS
4861 # -----------------------
4862 # Set $? to STATUS, without forking.
4866 } # as_fn_set_status
4870 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4880 # Portably unset VAR.
4883 { eval $1=; unset $1;}
4885 as_unset=as_fn_unset
4886 # as_fn_append VAR VALUE
4887 # ----------------------
4888 # Append the text in VALUE to the end of the definition contained in VAR. Take
4889 # advantage of any shell optimizations that allow amortized linear growth over
4890 # repeated appends, instead of the typical quadratic growth present in naive
4892 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4893 eval 'as_fn_append ()
4904 # as_fn_arith ARG...
4905 # ------------------
4906 # Perform arithmetic evaluation on the ARGs, and store the result in the
4907 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4908 # must be portable across $(()) and expr.
4909 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4910 eval 'as_fn_arith ()
4917 as_val=`expr "$@" || test $? -eq 1`
4922 if expr a : '\(a\)' >/dev/null 2>&1 &&
4923 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4930 as_basename=basename
4935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4941 as_me=`$as_basename -- "$0" ||
4942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4943 X"$0" : 'X\(//\)$' \| \
4944 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4946 sed '/^.*\/\([^/][^/]*\)\/*$/{
4960 # Avoid depending upon Character Ranges.
4961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4964 as_cr_digits='0123456789'
4965 as_cr_alnum=$as_cr_Letters$as_cr_digits
4967 ECHO_C= ECHO_N= ECHO_T=
4968 case `echo -n x` in #(((((
4970 case `echo 'xy\c'` in
4971 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4973 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4980 rm -f conf$$ conf$$.exe conf$$.file
4981 if test -d conf$$.dir; then
4982 rm -f conf$$.dir/conf$$.file
4985 mkdir conf$$.dir 2>/dev/null
4987 if (echo >conf$$.file) 2>/dev/null; then
4988 if ln -s conf$$.file conf$$ 2>/dev/null; then
4990 # ... but there are two gotchas:
4991 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4992 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4993 # In both cases, we have to default to `cp -pR'.
4994 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4996 elif ln conf$$.file conf$$ 2>/dev/null; then
5004 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5005 rmdir conf$$.dir 2>/dev/null
5010 # Create "$as_dir" as a directory, including parents if necessary.
5015 -*) as_dir=./$as_dir;;
5017 test -d "$as_dir" || eval $as_mkdir_p || {
5021 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5022 *) as_qdir=$as_dir;;
5024 as_dirs="'$as_qdir' $as_dirs"
5025 as_dir=`$as_dirname -- "$as_dir" ||
5026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5027 X"$as_dir" : 'X\(//\)[^/]' \| \
5028 X"$as_dir" : 'X\(//\)$' \| \
5029 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5030 $as_echo X"$as_dir" |
5031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5048 test -d "$as_dir" && break
5050 test -z "$as_dirs" || eval "mkdir $as_dirs"
5051 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5055 if mkdir -p . 2>/dev/null; then
5056 as_mkdir_p='mkdir -p "$as_dir"'
5058 test -d ./-p && rmdir ./-p
5063 # as_fn_executable_p FILE
5064 # -----------------------
5065 # Test if FILE is an executable regular file.
5066 as_fn_executable_p ()
5068 test -f "$1" && test -x "$1"
5069 } # as_fn_executable_p
5071 as_executable_p=as_fn_executable_p
5073 # Sed expression to map a string onto a valid CPP name.
5074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5076 # Sed expression to map a string onto a valid variable name.
5077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5081 ## ----------------------------------- ##
5082 ## Main body of $CONFIG_STATUS script. ##
5083 ## ----------------------------------- ##
5085 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5088 # Save the log message, to keep $0 and so on meaningful, and to
5089 # report actual input values of CONFIG_FILES etc. instead of their
5090 # values after options handling.
5092 This file was extended by skeinsum $as_me 1.0, which was
5093 generated by GNU Autoconf 2.69. Invocation command line was
5095 CONFIG_FILES = $CONFIG_FILES
5096 CONFIG_HEADERS = $CONFIG_HEADERS
5097 CONFIG_LINKS = $CONFIG_LINKS
5098 CONFIG_COMMANDS = $CONFIG_COMMANDS
5101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5106 case $ac_config_files in *"
5107 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5110 case $ac_config_headers in *"
5111 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5116 # Files that config.status was made for.
5117 config_files="$ac_config_files"
5118 config_headers="$ac_config_headers"
5119 config_commands="$ac_config_commands"
5123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5125 \`$as_me' instantiates files and other configuration actions
5126 from templates according to the current configuration. Unless the files
5127 and actions are specified as TAGs, all are instantiated by default.
5129 Usage: $0 [OPTION]... [TAG]...
5131 -h, --help print this help, then exit
5132 -V, --version print version number and configuration settings, then exit
5133 --config print configuration, then exit
5134 -q, --quiet, --silent
5135 do not print progress messages
5136 -d, --debug don't remove temporary files
5137 --recheck update $as_me by reconfiguring in the same conditions
5138 --file=FILE[:TEMPLATE]
5139 instantiate the configuration file FILE
5140 --header=FILE[:TEMPLATE]
5141 instantiate the configuration header FILE
5143 Configuration files:
5146 Configuration headers:
5149 Configuration commands:
5152 Report bugs to <j@jxself.org>."
5155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5158 skeinsum config.status 1.0
5159 configured by $0, generated by GNU Autoconf 2.69,
5160 with options \\"\$ac_cs_config\\"
5162 Copyright (C) 2012 Free Software Foundation, Inc.
5163 This config.status script is free software; the Free Software Foundation
5164 gives unlimited permission to copy, distribute and modify it."
5171 test -n "\$AWK" || AWK=awk
5174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5175 # The default lists apply if the user does not specify any file.
5181 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5182 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5186 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5198 # Handling of the options.
5199 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5201 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5202 $as_echo "$ac_cs_version"; exit ;;
5203 --config | --confi | --conf | --con | --co | --c )
5204 $as_echo "$ac_cs_config"; exit ;;
5205 --debug | --debu | --deb | --de | --d | -d )
5207 --file | --fil | --fi | --f )
5210 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5211 '') as_fn_error $? "missing file argument" ;;
5213 as_fn_append CONFIG_FILES " '$ac_optarg'"
5214 ac_need_defaults=false;;
5215 --header | --heade | --head | --hea )
5218 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5220 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5221 ac_need_defaults=false;;
5223 # Conflict between --help and --header
5224 as_fn_error $? "ambiguous option: \`$1'
5225 Try \`$0 --help' for more information.";;
5226 --help | --hel | -h )
5227 $as_echo "$ac_cs_usage"; exit ;;
5228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5229 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5233 -*) as_fn_error $? "unrecognized option: \`$1'
5234 Try \`$0 --help' for more information." ;;
5236 *) as_fn_append ac_config_targets " $1"
5237 ac_need_defaults=false ;;
5243 ac_configure_extra_args=
5245 if $ac_cs_silent; then
5247 ac_configure_extra_args="$ac_configure_extra_args --silent"
5251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5252 if \$ac_cs_recheck; then
5253 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5255 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5256 CONFIG_SHELL='$SHELL'
5262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5266 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5267 ## Running $as_me. ##
5273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 # Handling of arguments.
5284 for ac_config_target in $ac_config_targets
5286 case $ac_config_target in
5287 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5288 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5289 "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
5291 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5296 # If the user did not use the arguments to specify the items to instantiate,
5297 # then the envvar interface is used. Set only those that are not.
5298 # We use the long form for the default assignment because of an extremely
5299 # bizarre bug on SunOS 4.1.3.
5300 if $ac_need_defaults; then
5301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5306 # Have a temporary directory for convenience. Make it in the build tree
5307 # simply because there is no reason against having it here, and in addition,
5308 # creating and moving files from /tmp can sometimes cause problems.
5309 # Hook for its removal unless debugging.
5310 # Note that there is a small window in which the directory will not be cleaned:
5311 # after its creation but before its name has been assigned to `$tmp'.
5315 trap 'exit_status=$?
5317 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5319 trap 'as_fn_exit 1' 1 2 13 15
5321 # Create a (secure) tmp directory for tmp files.
5324 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5328 tmp=./conf$$-$RANDOM
5329 (umask 077 && mkdir "$tmp")
5330 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5333 # Set up the scripts for CONFIG_FILES section.
5334 # No need to generate them if there are no CONFIG_FILES.
5335 # This happens for instance with `./config.status config.h'.
5336 if test -n "$CONFIG_FILES"; then
5339 ac_cr=`echo X | tr X '\015'`
5340 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5341 # But we know of no other shell where ac_cr would be empty at this
5342 # point, so we can use a bashism as a fallback.
5343 if test "x$ac_cr" = x; then
5344 eval ac_cr=\$\'\\r\'
5346 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5347 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5353 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5358 echo "cat >conf$$subs.awk <<_ACEOF" &&
5359 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5362 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5363 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5365 for ac_last_try in false false false false false :; do
5366 . ./conf$$subs.sh ||
5367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5369 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5370 if test $ac_delim_n = $ac_delim_num; then
5372 elif $ac_last_try; then
5373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5381 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5385 s/^/S["/; s/!.*/"]=/
5395 s/\(.\{148\}\)..*/\1/
5397 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5409 s/\(.\{148\}\)..*/\1/
5411 s/["\\]/\\&/g; s/^/"/; s/$/"/
5415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5420 ' <conf$$subs.awk | sed '
5425 ' >>$CONFIG_STATUS || ac_write_fail=1
5426 rm -f conf$$subs.awk
5427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5429 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5430 for (key in S) S_is_set[key] = 1
5436 nfields = split(line, field, "@")
5438 len = length(field[1])
5439 for (i = 2; i < nfields; i++) {
5441 keylen = length(key)
5442 if (S_is_set[key]) {
5444 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5445 len += length(value) + length(field[++i])
5456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5457 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5458 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5461 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5462 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5465 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5466 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5467 # trailing colons and then remove the whole line if VPATH becomes empty
5468 # (actually we leave an empty line to preserve line numbers).
5469 if test "x$srcdir" = x.; then
5470 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5489 fi # test -n "$CONFIG_FILES"
5491 # Set up the scripts for CONFIG_HEADERS section.
5492 # No need to generate them if there are no CONFIG_HEADERS.
5493 # This happens for instance with `./config.status Makefile'.
5494 if test -n "$CONFIG_HEADERS"; then
5495 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5499 # Transform confdefs.h into an awk script `defines.awk', embedded as
5500 # here-document in config.status, that substitutes the proper values into
5501 # config.h.in to produce config.h.
5503 # Create a delimiter string that does not exist in confdefs.h, to ease
5504 # handling of long lines.
5506 for ac_last_try in false false :; do
5507 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5508 if test -z "$ac_tt"; then
5510 elif $ac_last_try; then
5511 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5517 # For the awk script, D is an array of macro values keyed by name,
5518 # likewise P contains macro parameters if any. Preserve backslash
5519 # newline sequences.
5521 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5523 s/.\{148\}/&'"$ac_delim"'/g
5526 s/^[ ]*#[ ]*define[ ][ ]*/ /
5533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5535 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5539 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5540 D["\1"]=" \3\\\\\\n"\\/p
5542 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5547 s/.\{148\}/&'"$ac_delim"'/g
5552 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5555 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5557 ' <confdefs.h | sed '
5558 s/'"$ac_delim"'/"\\\
5559 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5562 for (key in D) D_is_set[key] = 1
5565 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5567 split(line, arg, " ")
5568 if (arg[1] == "#") {
5572 defundef = substr(arg[1], 2)
5575 split(mac1, mac2, "(") #)
5577 prefix = substr(line, 1, index(line, defundef) - 1)
5578 if (D_is_set[macro]) {
5579 # Preserve the white space surrounding the "#".
5580 print prefix "define", macro P[macro] D[macro]
5583 # Replace #undef with comments. This is necessary, for example,
5584 # in the case of _POSIX_SOURCE, which is predefined and required
5585 # on some systems where configure will not decide to define it.
5586 if (defundef == "undef") {
5587 print "/*", prefix defundef, macro, "*/"
5595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5596 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5597 fi # test -n "$CONFIG_HEADERS"
5600 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5605 :[FHLC]) ac_mode=$ac_tag; continue;;
5607 case $ac_mode$ac_tag in
5609 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5610 :[FH]-) ac_tag=-:-;;
5611 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5628 -) ac_f="$ac_tmp/stdin";;
5629 *) # Look for the file first in the build tree, then in the source tree
5630 # (if the path is not absolute). The absolute path cannot be DOS-style,
5631 # because $ac_f cannot contain `:'.
5635 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5637 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5639 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5640 as_fn_append ac_file_inputs " '$ac_f'"
5643 # Let's still pretend it is `configure' which instantiates (i.e., don't
5644 # use $as_me), people would be surprised to read:
5645 # /* config.h. Generated by config.status. */
5646 configure_input='Generated from '`
5647 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5649 if test x"$ac_file" != x-; then
5650 configure_input="$ac_file. $configure_input"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5652 $as_echo "$as_me: creating $ac_file" >&6;}
5654 # Neutralize special characters interpreted by sed in replacement strings.
5655 case $configure_input in #(
5656 *\&* | *\|* | *\\* )
5657 ac_sed_conf_input=`$as_echo "$configure_input" |
5658 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5659 *) ac_sed_conf_input=$configure_input;;
5663 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5669 ac_dir=`$as_dirname -- "$ac_file" ||
5670 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5671 X"$ac_file" : 'X\(//\)[^/]' \| \
5672 X"$ac_file" : 'X\(//\)$' \| \
5673 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5674 $as_echo X"$ac_file" |
5675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5692 as_dir="$ac_dir"; as_fn_mkdir_p
5696 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5698 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5699 # A ".." for each directory in $ac_dir_suffix.
5700 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5701 case $ac_top_builddir_sub in
5702 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5703 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5706 ac_abs_top_builddir=$ac_pwd
5707 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5708 # for backward compatibility:
5709 ac_top_builddir=$ac_top_build_prefix
5712 .) # We are building in place.
5714 ac_top_srcdir=$ac_top_builddir_sub
5715 ac_abs_top_srcdir=$ac_pwd ;;
5716 [\\/]* | ?:[\\/]* ) # Absolute name.
5717 ac_srcdir=$srcdir$ac_dir_suffix;
5718 ac_top_srcdir=$srcdir
5719 ac_abs_top_srcdir=$srcdir ;;
5721 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5722 ac_top_srcdir=$ac_top_build_prefix$srcdir
5723 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5725 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5735 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5736 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5740 [\\/$]* | ?:[\\/]* ) ;;
5741 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5746 # If the template does not know about datarootdir, expand it.
5747 # FIXME: This hack should be removed a few years after 2.60.
5748 ac_datarootdir_hack=; ac_datarootdir_seen=
5759 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5760 *datarootdir*) ac_datarootdir_seen=yes;;
5761 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5763 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5766 ac_datarootdir_hack='
5767 s&@datadir@&$datadir&g
5768 s&@docdir@&$docdir&g
5769 s&@infodir@&$infodir&g
5770 s&@localedir@&$localedir&g
5771 s&@mandir@&$mandir&g
5772 s&\\\${datarootdir}&$datarootdir&g' ;;
5776 # Neutralize VPATH when `$srcdir' = `.'.
5777 # Shell code in configure.ac might set extrasub.
5778 # FIXME: do we really want to maintain this feature?
5779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5780 ac_sed_extra="$ac_vpsub
5783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5786 s|@configure_input@|$ac_sed_conf_input|;t t
5787 s&@top_builddir@&$ac_top_builddir_sub&;t t
5788 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5789 s&@srcdir@&$ac_srcdir&;t t
5790 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5791 s&@top_srcdir@&$ac_top_srcdir&;t t
5792 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5793 s&@builddir@&$ac_builddir&;t t
5794 s&@abs_builddir@&$ac_abs_builddir&;t t
5795 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5796 s&@INSTALL@&$ac_INSTALL&;t t
5797 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5798 $ac_datarootdir_hack
5800 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5801 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5803 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5804 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5805 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5806 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5808 which seems to be undefined. Please make sure it is defined" >&5
5809 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5810 which seems to be undefined. Please make sure it is defined" >&2;}
5812 rm -f "$ac_tmp/stdin"
5814 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5815 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5823 if test x"$ac_file" != x-; then
5825 $as_echo "/* $configure_input */" \
5826 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5827 } >"$ac_tmp/config.h" \
5828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5829 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5831 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5834 mv "$ac_tmp/config.h" "$ac_file" \
5835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5838 $as_echo "/* $configure_input */" \
5839 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5840 || as_fn_error $? "could not create -" "$LINENO" 5
5842 # Compute "$ac_file"'s index in $config_headers.
5845 for _am_header in $config_headers :; do
5847 $_am_arg | $_am_arg:* )
5850 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5853 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5854 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5855 X"$_am_arg" : 'X\(//\)[^/]' \| \
5856 X"$_am_arg" : 'X\(//\)$' \| \
5857 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5858 $as_echo X"$_am_arg" |
5859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5875 s/.*/./; q'`/stamp-h$_am_stamp_count
5878 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5879 $as_echo "$as_me: executing $ac_file commands" >&6;}
5884 case $ac_file$ac_mode in
5885 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5886 # Older Autoconf quotes --file arguments for eval, but not when files
5887 # are listed without --file. Let's play safe and only enable the eval
5888 # if we detect the quoting.
5889 case $CONFIG_FILES in
5890 *\'*) eval set x "$CONFIG_FILES" ;;
5891 *) set x $CONFIG_FILES ;;
5896 # Strip MF so we end up with the name of the file.
5897 mf=`echo "$mf" | sed -e 's/:.*$//'`
5898 # Check whether this is an Automake generated Makefile or not.
5899 # We used to match only the files named 'Makefile.in', but
5900 # some people rename them; so instead we look at the file content.
5901 # Grep'ing the first line is not enough: some people post-process
5902 # each Makefile.in and add a new line on top of each file to say so.
5903 # Grep'ing the whole file is not good either: AIX grep has a line
5904 # limit of 2048, but all sed's we know have understand at least 4000.
5905 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5906 dirpart=`$as_dirname -- "$mf" ||
5907 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5908 X"$mf" : 'X\(//\)[^/]' \| \
5909 X"$mf" : 'X\(//\)$' \| \
5910 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5932 # Extract the definition of DEPDIR, am__include, and am__quote
5933 # from the Makefile without running 'make'.
5934 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5935 test -z "$DEPDIR" && continue
5936 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5937 test -z "$am__include" && continue
5938 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5939 # Find all dependency output files, they are included files with
5940 # $(DEPDIR) in their names. We invoke sed twice because it is the
5941 # simplest approach to changing $(DEPDIR) to its actual value in the
5943 for file in `sed -n "
5944 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5945 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5946 # Make sure the directory exists.
5947 test -f "$dirpart/$file" && continue
5948 fdir=`$as_dirname -- "$file" ||
5949 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5950 X"$file" : 'X\(//\)[^/]' \| \
5951 X"$file" : 'X\(//\)$' \| \
5952 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5971 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5972 # echo "creating $dirpart/$file"
5973 echo '# dummy' > "$dirpart/$file"
5985 ac_clean_files=$ac_clean_files_save
5987 test $ac_write_fail = 0 ||
5988 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5991 # configure is writing to config.log, and then calls config.status.
5992 # config.status does its own redirection, appending to config.log.
5993 # Unfortunately, on DOS this fails, as config.log is still kept open
5994 # by configure, so config.status won't be able to write to it; its
5995 # output is simply discarded. So we exec the FD to /dev/null,
5996 # effectively closing config.log, so it can be properly (re)opened and
5997 # appended to by config.status. When coming back to configure, we
5998 # need to make the FD available again.
5999 if test "$no_create" != yes; then
6001 ac_config_status_args=
6002 test "$silent" = yes &&
6003 ac_config_status_args="$ac_config_status_args --quiet"
6005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6008 # would make configure fail if this is the last instruction.
6009 $ac_cs_success || as_fn_exit 1
6011 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6013 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}