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.
2719 cat >>confdefs.h <<_ACEOF
2720 #define PACKAGE "$PACKAGE"
2724 cat >>confdefs.h <<_ACEOF
2725 #define VERSION "$VERSION"
2728 # Some tools Automake needs.
2730 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2733 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2736 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2739 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2742 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2744 # For better backward compatibility. To be removed once Automake 1.9.x
2745 # dies out for good. For more background, see:
2746 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2748 mkdir_p='$(MKDIR_P)'
2750 # We need awk for the "check" target. The system "awk" is bad on
2752 # Always define AMTAR for backward compatibility. Yes, it's still used
2753 # in the wild :-( We should find a proper way to deprecate it ...
2757 # We'll loop over all known methods to create a tar archive until one works.
2758 _am_tools='gnutar pax cpio none'
2760 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2767 # POSIX will say in a future version that running "rm -f" with no argument
2768 # is OK; and we want to be able to make that assumption in our Makefile
2769 # recipes. So use an aggressive probe to check that the usage we want is
2770 # actually supported "in the wild" to an acceptable degree.
2771 # See automake bug#10828.
2772 # To make any issue more visible, cause the running configure to be aborted
2773 # by default if the 'rm' program in use doesn't match our expectations; the
2774 # user can still override this though.
2775 if rm -f && rm -fr && rm -rf; then : OK; else
2779 Your 'rm' program seems unable to run without file operands specified
2780 on the command line, even when the '-f' option is present. This is contrary
2781 to the behaviour of most rm programs out there, and not conforming with
2782 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2784 Please tell bug-automake@gnu.org about your system, including the value
2785 of your $PATH and any error possibly output before this message. This
2786 can help us improve future automake versions.
2789 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2790 echo 'Configuration will proceed anyway, since you have set the' >&2
2791 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2795 Aborting the configuration process, to ensure you take notice of the issue.
2797 You can download and install GNU coreutils to get an 'rm' implementation
2798 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2800 If you want to complete the configuration process using your problematic
2801 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2802 to "yes", and re-run configure.
2805 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2809 # Checks for programs.
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 if test -n "$ac_tool_prefix"; then
2816 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2817 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_CC+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$CC"; then
2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2854 if test -z "$ac_cv_prog_CC"; then
2856 # Extract the first word of "gcc", so it can be a program name with args.
2857 set dummy gcc; ac_word=$2
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 if test -n "$ac_ct_CC"; then
2864 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873 ac_cv_prog_ac_ct_CC="gcc"
2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2884 if test -n "$ac_ct_CC"; then
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2886 $as_echo "$ac_ct_CC" >&6; }
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2892 if test "x$ac_ct_CC" = x; then
2895 case $cross_compiling:$ac_tool_warned in
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2899 ac_tool_warned=yes ;;
2907 if test -z "$CC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_CC="${ac_tool_prefix}cc"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2948 if test -z "$CC"; then
2949 # Extract the first word of "cc", so it can be a program name with args.
2950 set dummy cc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$CC"; then
2957 ac_cv_prog_CC="$CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2968 ac_prog_rejected=yes
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test $ac_prog_rejected = yes; then
2980 # We found a bogon in the path, so make sure we never use it.
2981 set dummy $ac_cv_prog_CC
2983 if test $# != 0; then
2984 # We chose a different compiler from the bogus one.
2985 # However, it has the same basename, so the bogon will be chosen
2986 # first if we set CC to just the basename; use the full file name.
2988 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2994 if test -n "$CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 for ac_prog in cl.exe
3008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC="$CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 if test -n "$CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3045 test -n "$CC" && break
3048 if test -z "$CC"; then
3050 for ac_prog in cl.exe
3052 # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$ac_ct_CC"; then
3060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_ac_ct_CC="$ac_prog"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3089 test -n "$ac_ct_CC" && break
3092 if test "x$ac_ct_CC" = x; then
3095 case $cross_compiling:$ac_tool_warned in
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned=yes ;;
3108 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error $? "no acceptable C compiler found in \$PATH
3111 See \`config.log' for more details" "$LINENO" 5; }
3113 # Provide some information about the compiler.
3114 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3117 for ac_option in --version -v -V -qversion; do
3118 { { ac_try="$ac_compiler $ac_option >&5"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3127 if test -s conftest.err; then
3129 ... rest of stderr output deleted ...
3130 10q' conftest.err >conftest.er1
3131 cat conftest.er1 >&5
3133 rm -f conftest.er1 conftest.err
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3149 ac_clean_files_save=$ac_clean_files
3150 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3151 # Try to create an executable without -o first, disregard a.out.
3152 # It will help us diagnose broken compilers, and finding out an intuition
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3155 $as_echo_n "checking whether the C compiler works... " >&6; }
3156 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3158 # The possible output files:
3159 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3162 for ac_file in $ac_files
3165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3171 if { { ac_try="$ac_link_default"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_link_default") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; then :
3182 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3183 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3184 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3185 # so that the user can short-circuit this test for compilers unknown to
3187 for ac_file in $ac_files ''
3189 test -f "$ac_file" || continue
3191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3194 # We found the default executable, but exeext='' is most
3198 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3200 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3202 # We set ac_cv_exeext here because the later test for it is not
3203 # safe: cross compilers may not add the suffix if given an `-o'
3204 # argument, so we may need to know it at that point already.
3205 # Even if this section looks crufty: it has the advantage of
3212 test "$ac_cv_exeext" = no && ac_cv_exeext=
3217 if test -z "$ac_file"; then :
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error 77 "C compiler cannot create executables
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3232 $as_echo_n "checking for C compiler default output file name... " >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3234 $as_echo "$ac_file" >&6; }
3235 ac_exeext=$ac_cv_exeext
3237 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3238 ac_clean_files=$ac_clean_files_save
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3240 $as_echo_n "checking for suffix of executables... " >&6; }
3241 if { { ac_try="$ac_link"
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_link") 2>&5
3250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; }; then :
3252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3254 # work properly (i.e., refer to `conftest.exe'), while it won't with
3256 for ac_file in conftest.exe conftest conftest.*; do
3257 test -f "$ac_file" || continue
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3260 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3269 See \`config.log' for more details" "$LINENO" 5; }
3271 rm -f conftest conftest$ac_cv_exeext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3273 $as_echo "$ac_cv_exeext" >&6; }
3275 rm -f conftest.$ac_ext
3276 EXEEXT=$ac_cv_exeext
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3284 FILE *f = fopen ("conftest.out", "w");
3285 return ferror (f) || fclose (f) != 0;
3291 ac_clean_files="$ac_clean_files conftest.out"
3292 # Check that the compiler produces executables we can run. If not, either
3293 # the compiler is broken, or we cross compile.
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3295 $as_echo_n "checking whether we are cross compiling... " >&6; }
3296 if test "$cross_compiling" != yes; then
3297 { { ac_try="$ac_link"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_link") 2>&5
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }
3308 if { ac_try='./conftest$ac_cv_exeext'
3309 { { case "(($ac_try" in
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_try") 2>&5
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; }; then
3321 if test "$cross_compiling" = maybe; then
3324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $? "cannot run C compiled programs.
3327 If you meant to cross compile, use \`--host'.
3328 See \`config.log' for more details" "$LINENO" 5; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3333 $as_echo "$cross_compiling" >&6; }
3335 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3336 ac_clean_files=$ac_clean_files_save
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3338 $as_echo_n "checking for suffix of object files... " >&6; }
3339 if ${ac_cv_objext+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 rm -f conftest.o conftest.obj
3354 if { { ac_try="$ac_compile"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_compile") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 for ac_file in conftest.o conftest.obj conftest.*; do
3366 test -f "$ac_file" || continue;
3368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3369 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3374 $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "cannot compute suffix of object files: cannot compile
3380 See \`config.log' for more details" "$LINENO" 5; }
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3385 $as_echo "$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3389 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3390 if ${ac_cv_c_compiler_gnu+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3407 if ac_fn_c_try_compile "$LINENO"; then :
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3417 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3418 if test $ac_compiler_gnu = yes; then
3423 ac_test_CFLAGS=${CFLAGS+set}
3424 ac_save_CFLAGS=$CFLAGS
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3426 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3427 if ${ac_cv_prog_cc_g+:} false; then :
3428 $as_echo_n "(cached) " >&6
3430 ac_save_c_werror_flag=$ac_c_werror_flag
3431 ac_c_werror_flag=yes
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 if ac_fn_c_try_compile "$LINENO"; then :
3463 ac_c_werror_flag=$ac_save_c_werror_flag
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 if ac_fn_c_try_compile "$LINENO"; then :
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_c_werror_flag=$ac_save_c_werror_flag
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3487 $as_echo "$ac_cv_prog_cc_g" >&6; }
3488 if test "$ac_test_CFLAGS" = set; then
3489 CFLAGS=$ac_save_CFLAGS
3490 elif test $ac_cv_prog_cc_g = yes; then
3491 if test "$GCC" = yes; then
3497 if test "$GCC" = yes; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3504 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3505 if ${ac_cv_prog_cc_c89+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 ac_cv_prog_cc_c89=no
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3515 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3516 struct buf { int x; };
3517 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3518 static char *e (p, i)
3524 static char *f (char * (*g) (char **, int), char **p, ...)
3529 s = g (p, va_arg (v,int));
3534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3535 function prototypes and stuff, but not '\xHH' hex character constants.
3536 These don't provoke an error unfortunately, instead are silently treated
3537 as 'x'. The following induces an error, until -std is added to get
3538 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3539 array size at least. It's necessary to write '\x00'==0 to get something
3540 that's true only with -std. */
3541 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3544 inside strings and character constants. */
3546 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3548 int test (int i, double x);
3549 struct s1 {int (*f) (int a);};
3550 struct s2 {int (*f) (double a);};
3551 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3557 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3562 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3563 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3565 CC="$ac_save_CC $ac_arg"
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567 ac_cv_prog_cc_c89=$ac_arg
3569 rm -f core conftest.err conftest.$ac_objext
3570 test "x$ac_cv_prog_cc_c89" != "xno" && break
3572 rm -f conftest.$ac_ext
3577 case "x$ac_cv_prog_cc_c89" in
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3580 $as_echo "none needed" >&6; } ;;
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3583 $as_echo "unsupported" >&6; } ;;
3585 CC="$CC $ac_cv_prog_cc_c89"
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3587 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3589 if test "x$ac_cv_prog_cc_c89" != xno; then :
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3605 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3606 if ${am_cv_prog_cc_c_o+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 # Make sure it works both with $CC and with simple cc.
3621 # Following AC_PROG_CC_C_O, we do the test twice because some
3622 # compilers refuse to overwrite an existing .o file with -o,
3623 # though they will create one.
3624 am_cv_prog_cc_c_o=yes
3626 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3627 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } \
3631 && test -f conftest2.$ac_objext; then
3634 am_cv_prog_cc_c_o=no
3638 rm -f core conftest*
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3642 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3643 if test "$am_cv_prog_cc_c_o" != yes; then
3644 # Losing compiler, so override with the script.
3645 # FIXME: It is wrong to rewrite CC.
3646 # But if we don't then we get into trouble of one sort or another.
3647 # A longer-term fix would be to have automake use am__CC in this case,
3648 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3649 CC="$am_aux_dir/compile $CC"
3652 ac_cpp='$CPP $CPPFLAGS'
3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657 DEPDIR="${am__leading_dot}deps"
3659 ac_config_commands="$ac_config_commands depfiles"
3662 am_make=${MAKE-make}
3663 cat > confinc << 'END'
3665 @echo this is the am__doit target
3668 # If we don't find an include directive, just comment out the code.
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3670 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3674 # First try GNU make style include.
3675 echo "include confinc" > confmf
3676 # Ignore all kinds of additional output from 'make'.
3677 case `$am_make -s -f confmf 2> /dev/null` in #(
3678 *the\ am__doit\ target*)
3684 # Now try BSD make style include.
3685 if test "$am__include" = "#"; then
3686 echo '.include "confinc"' > confmf
3687 case `$am_make -s -f confmf 2> /dev/null` in #(
3688 *the\ am__doit\ target*)
3689 am__include=.include
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3698 $as_echo "$_am_result" >&6; }
3699 rm -f confinc confmf
3701 # Check whether --enable-dependency-tracking was given.
3702 if test "${enable_dependency_tracking+set}" = set; then :
3703 enableval=$enable_dependency_tracking;
3706 if test "x$enable_dependency_tracking" != xno; then
3707 am_depcomp="$ac_aux_dir/depcomp"
3711 if test "x$enable_dependency_tracking" != xno; then
3721 depcc="$CC" am_compiler_list=
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3724 $as_echo_n "checking dependency style of $depcc... " >&6; }
3725 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3726 $as_echo_n "(cached) " >&6
3728 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3729 # We make a subdir and do the tests there. Otherwise we can end up
3730 # making bogus files that we don't know about and never remove. For
3731 # instance it was reported that on HP-UX the gcc test will end up
3732 # making a dummy file named 'D' -- because '-MD' means "put the output
3736 # Copy depcomp to subdir because otherwise we won't find it if we're
3737 # using a relative directory.
3738 cp "$am_depcomp" conftest.dir
3740 # We will build objects and dependencies in a subdirectory because
3741 # it helps to detect inapplicable dependency modes. For instance
3742 # both Tru64's cc and ICC support -MD to output dependencies as a
3743 # side effect of compilation, but ICC will put the dependencies in
3744 # the current directory while Tru64 will put them in the object
3748 am_cv_CC_dependencies_compiler_type=none
3749 if test "$am_compiler_list" = ""; then
3750 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3753 case " $depcc " in #(
3754 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3757 for depmode in $am_compiler_list; do
3758 # Setup a source with many dependencies, because some compilers
3759 # like to wrap large dependency lists on column 80 (with \), and
3760 # we should not choose a depcomp mode which is confused by this.
3762 # We need to recreate these files for each test, as the compiler may
3763 # overwrite some of them when testing with obscure command lines.
3764 # This happens at least with the AIX C compiler.
3766 for i in 1 2 3 4 5 6; do
3767 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3768 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3769 # Solaris 10 /bin/sh.
3770 echo '/* dummy */' > sub/conftst$i.h
3772 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3774 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3775 # mode. It turns out that the SunPro C++ compiler does not properly
3776 # handle '-M -o', and we need to detect this. Also, some Intel
3777 # versions had trouble with output in subdirs.
3778 am__obj=sub/conftest.${OBJEXT-o}
3779 am__minus_obj="-o $am__obj"
3782 # This depmode causes a compiler race in universal mode.
3783 test "$am__universal" = false || continue
3786 # After this tag, mechanisms are not by side-effect, so they'll
3787 # only be used when explicitly requested.
3788 if test "x$enable_dependency_tracking" = xyes; then
3794 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3795 # This compiler won't grok '-c -o', but also, the minuso test has
3796 # not run yet. These depmodes are late enough in the game, and
3797 # so weak that their functioning should not be impacted.
3798 am__obj=conftest.${OBJEXT-o}
3803 if depmode=$depmode \
3804 source=sub/conftest.c object=$am__obj \
3805 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3806 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3807 >/dev/null 2>conftest.err &&
3808 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3809 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3810 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3811 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3812 # icc doesn't choke on unknown options, it will just issue warnings
3813 # or remarks (even with -Werror). So we grep stderr for any message
3814 # that says an option was ignored or not supported.
3815 # When given -MP, icc 7.0 and 7.1 complain thusly:
3816 # icc: Command line warning: ignoring option '-M'; no argument required
3817 # The diagnosis changed in icc 8.0:
3818 # icc: Command line remark: option '-MP' not supported
3819 if (grep 'ignoring option' conftest.err ||
3820 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3821 am_cv_CC_dependencies_compiler_type=$depmode
3830 am_cv_CC_dependencies_compiler_type=none
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3835 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3836 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3839 test "x$enable_dependency_tracking" != xno \
3840 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3842 am__fastdepCC_FALSE='#'
3844 am__fastdepCC_TRUE='#'
3845 am__fastdepCC_FALSE=
3850 # Checks for libraries.
3852 # Checks for header files.
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3860 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3861 # On Suns, sometimes $CPP names a directory.
3862 if test -n "$CPP" && test -d "$CPP"; then
3865 if test -z "$CPP"; then
3866 if ${ac_cv_prog_CPP+:} false; then :
3867 $as_echo_n "(cached) " >&6
3869 # Double quotes because CPP needs to be expanded
3870 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3873 for ac_c_preproc_warn_flag in '' yes
3875 # Use a header file that comes with gcc, so configuring glibc
3876 # with a fresh cross-compiler works.
3877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3878 # <limits.h> exists even on freestanding compilers.
3879 # On the NeXT, cc -E runs the code through the compiler's parser,
3880 # not just through cpp. "Syntax error" is here to catch this case.
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3884 # include <limits.h>
3886 # include <assert.h>
3890 if ac_fn_c_try_cpp "$LINENO"; then :
3893 # Broken: fails on valid input.
3896 rm -f conftest.err conftest.i conftest.$ac_ext
3898 # OK, works on sane cases. Now check whether nonexistent headers
3899 # can be detected and how.
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902 #include <ac_nonexistent.h>
3904 if ac_fn_c_try_cpp "$LINENO"; then :
3905 # Broken: success on invalid input.
3908 # Passes both tests.
3912 rm -f conftest.err conftest.i conftest.$ac_ext
3915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3916 rm -f conftest.i conftest.err conftest.$ac_ext
3917 if $ac_preproc_ok; then :
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3930 $as_echo "$CPP" >&6; }
3932 for ac_c_preproc_warn_flag in '' yes
3934 # Use a header file that comes with gcc, so configuring glibc
3935 # with a fresh cross-compiler works.
3936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3937 # <limits.h> exists even on freestanding compilers.
3938 # On the NeXT, cc -E runs the code through the compiler's parser,
3939 # not just through cpp. "Syntax error" is here to catch this case.
3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3943 # include <limits.h>
3945 # include <assert.h>
3949 if ac_fn_c_try_cpp "$LINENO"; then :
3952 # Broken: fails on valid input.
3955 rm -f conftest.err conftest.i conftest.$ac_ext
3957 # OK, works on sane cases. Now check whether nonexistent headers
3958 # can be detected and how.
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3961 #include <ac_nonexistent.h>
3963 if ac_fn_c_try_cpp "$LINENO"; then :
3964 # Broken: success on invalid input.
3967 # Passes both tests.
3971 rm -f conftest.err conftest.i conftest.$ac_ext
3974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3975 rm -f conftest.i conftest.err conftest.$ac_ext
3976 if $ac_preproc_ok; then :
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3982 See \`config.log' for more details" "$LINENO" 5; }
3986 ac_cpp='$CPP $CPPFLAGS'
3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3993 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3994 if ${ac_cv_path_GREP+:} false; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -z "$GREP"; then
3998 ac_path_GREP_found=false
3999 # Loop through the user's path and test for each of PROGNAME-LIST
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4004 test -z "$as_dir" && as_dir=.
4005 for ac_prog in grep ggrep; do
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4008 as_fn_executable_p "$ac_path_GREP" || continue
4009 # Check for GNU ac_path_GREP and select it if it is found.
4010 # Check for GNU $ac_path_GREP
4011 case `"$ac_path_GREP" --version 2>&1` in
4013 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4016 $as_echo_n 0123456789 >"conftest.in"
4019 cat "conftest.in" "conftest.in" >"conftest.tmp"
4020 mv "conftest.tmp" "conftest.in"
4021 cp "conftest.in" "conftest.nl"
4022 $as_echo 'GREP' >> "conftest.nl"
4023 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4025 as_fn_arith $ac_count + 1 && ac_count=$as_val
4026 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4027 # Best one so far, save it but keep looking for a better one
4028 ac_cv_path_GREP="$ac_path_GREP"
4029 ac_path_GREP_max=$ac_count
4031 # 10*(2^10) chars as input seems more than enough
4032 test $ac_count -gt 10 && break
4034 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4037 $ac_path_GREP_found && break 3
4042 if test -z "$ac_cv_path_GREP"; then
4043 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4046 ac_cv_path_GREP=$GREP
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4051 $as_echo "$ac_cv_path_GREP" >&6; }
4052 GREP="$ac_cv_path_GREP"
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4056 $as_echo_n "checking for egrep... " >&6; }
4057 if ${ac_cv_path_EGREP+:} false; then :
4058 $as_echo_n "(cached) " >&6
4060 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4061 then ac_cv_path_EGREP="$GREP -E"
4063 if test -z "$EGREP"; then
4064 ac_path_EGREP_found=false
4065 # Loop through the user's path and test for each of PROGNAME-LIST
4066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4070 test -z "$as_dir" && as_dir=.
4071 for ac_prog in egrep; do
4072 for ac_exec_ext in '' $ac_executable_extensions; do
4073 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4074 as_fn_executable_p "$ac_path_EGREP" || continue
4075 # Check for GNU ac_path_EGREP and select it if it is found.
4076 # Check for GNU $ac_path_EGREP
4077 case `"$ac_path_EGREP" --version 2>&1` in
4079 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4082 $as_echo_n 0123456789 >"conftest.in"
4085 cat "conftest.in" "conftest.in" >"conftest.tmp"
4086 mv "conftest.tmp" "conftest.in"
4087 cp "conftest.in" "conftest.nl"
4088 $as_echo 'EGREP' >> "conftest.nl"
4089 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4090 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4091 as_fn_arith $ac_count + 1 && ac_count=$as_val
4092 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4093 # Best one so far, save it but keep looking for a better one
4094 ac_cv_path_EGREP="$ac_path_EGREP"
4095 ac_path_EGREP_max=$ac_count
4097 # 10*(2^10) chars as input seems more than enough
4098 test $ac_count -gt 10 && break
4100 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4103 $ac_path_EGREP_found && break 3
4108 if test -z "$ac_cv_path_EGREP"; then
4109 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4112 ac_cv_path_EGREP=$EGREP
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4118 $as_echo "$ac_cv_path_EGREP" >&6; }
4119 EGREP="$ac_cv_path_EGREP"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4123 $as_echo_n "checking for ANSI C header files... " >&6; }
4124 if ${ac_cv_header_stdc+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4142 if ac_fn_c_try_compile "$LINENO"; then :
4143 ac_cv_header_stdc=yes
4145 ac_cv_header_stdc=no
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 if test $ac_cv_header_stdc = yes; then
4150 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4157 $EGREP "memchr" >/dev/null 2>&1; then :
4160 ac_cv_header_stdc=no
4166 if test $ac_cv_header_stdc = yes; then
4167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4174 $EGREP "free" >/dev/null 2>&1; then :
4177 ac_cv_header_stdc=no
4183 if test $ac_cv_header_stdc = yes; then
4184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4185 if test "$cross_compiling" = yes; then :
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4192 #if ((' ' & 0x0FF) == 0x020)
4193 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4194 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4196 # define ISLOWER(c) \
4197 (('a' <= (c) && (c) <= 'i') \
4198 || ('j' <= (c) && (c) <= 'r') \
4199 || ('s' <= (c) && (c) <= 'z'))
4200 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4203 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4208 for (i = 0; i < 256; i++)
4209 if (XOR (islower (i), ISLOWER (i))
4210 || toupper (i) != TOUPPER (i))
4215 if ac_fn_c_try_run "$LINENO"; then :
4218 ac_cv_header_stdc=no
4220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4221 conftest.$ac_objext conftest.beam conftest.$ac_ext
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4227 $as_echo "$ac_cv_header_stdc" >&6; }
4228 if test $ac_cv_header_stdc = yes; then
4230 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4236 inttypes.h stdint.h unistd.h
4238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4242 cat >>confdefs.h <<_ACEOF
4243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4251 for ac_header in limits.h malloc.h stddef.h stdlib.h string.h unistd.h errno.h
4253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4254 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4256 cat >>confdefs.h <<_ACEOF
4257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4265 # Checks for typedefs, structures, and compiler characteristics.
4266 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4267 if test "x$ac_cv_type_size_t" = xyes; then :
4271 cat >>confdefs.h <<_ACEOF
4272 #define size_t unsigned int
4278 # Checks for library functions.
4279 for ac_header in stdlib.h
4281 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4282 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4283 cat >>confdefs.h <<_ACEOF
4284 #define HAVE_STDLIB_H 1
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4292 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4293 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 if test "$cross_compiling" = yes; then :
4297 ac_cv_func_malloc_0_nonnull=no
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4301 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4302 # include <stdlib.h>
4310 return ! malloc (0);
4315 if ac_fn_c_try_run "$LINENO"; then :
4316 ac_cv_func_malloc_0_nonnull=yes
4318 ac_cv_func_malloc_0_nonnull=no
4320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4321 conftest.$ac_objext conftest.beam conftest.$ac_ext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4326 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4327 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4329 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4332 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4334 case " $LIBOBJS " in
4335 *" malloc.$ac_objext "* ) ;;
4336 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4341 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4346 for ac_func in memset
4348 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
4349 if test "x$ac_cv_func_memset" = xyes; then :
4350 cat >>confdefs.h <<_ACEOF
4351 #define HAVE_MEMSET 1
4358 # Check whether --enable-largefile was given.
4359 if test "${enable_largefile+set}" = set; then :
4360 enableval=$enable_largefile;
4363 if test "$enable_largefile" != no; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4366 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4367 if ${ac_cv_sys_largefile_CC+:} false; then :
4368 $as_echo_n "(cached) " >&6
4370 ac_cv_sys_largefile_CC=no
4371 if test "$GCC" != yes; then
4374 # IRIX 6.2 and later do not support large files by default,
4375 # so use the C compiler's -n32 option if that helps.
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378 #include <sys/types.h>
4379 /* Check that off_t can represent 2**63 - 1 correctly.
4380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4381 since some C++ compilers masquerading as C compilers
4382 incorrectly reject 9223372036854775807. */
4383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4385 && LARGE_OFF_T % 2147483647 == 1)
4395 if ac_fn_c_try_compile "$LINENO"; then :
4398 rm -f core conftest.err conftest.$ac_objext
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_sys_largefile_CC=' -n32'; break
4403 rm -f core conftest.err conftest.$ac_objext
4407 rm -f conftest.$ac_ext
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4411 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4412 if test "$ac_cv_sys_largefile_CC" != no; then
4413 CC=$CC$ac_cv_sys_largefile_CC
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4417 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4418 if ${ac_cv_sys_file_offset_bits+:} false; then :
4419 $as_echo_n "(cached) " >&6
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424 #include <sys/types.h>
4425 /* Check that off_t can represent 2**63 - 1 correctly.
4426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4427 since some C++ compilers masquerading as C compilers
4428 incorrectly reject 9223372036854775807. */
4429 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4431 && LARGE_OFF_T % 2147483647 == 1)
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_cv_sys_file_offset_bits=no; break
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447 #define _FILE_OFFSET_BITS 64
4448 #include <sys/types.h>
4449 /* Check that off_t can represent 2**63 - 1 correctly.
4450 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4451 since some C++ compilers masquerading as C compilers
4452 incorrectly reject 9223372036854775807. */
4453 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4454 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4455 && LARGE_OFF_T % 2147483647 == 1)
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 ac_cv_sys_file_offset_bits=64; break
4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 ac_cv_sys_file_offset_bits=unknown
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4474 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4475 case $ac_cv_sys_file_offset_bits in #(
4478 cat >>confdefs.h <<_ACEOF
4479 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4484 if test $ac_cv_sys_file_offset_bits = unknown; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4486 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4487 if ${ac_cv_sys_large_files+:} false; then :
4488 $as_echo_n "(cached) " >&6
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493 #include <sys/types.h>
4494 /* Check that off_t can represent 2**63 - 1 correctly.
4495 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4496 since some C++ compilers masquerading as C compilers
4497 incorrectly reject 9223372036854775807. */
4498 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4499 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4500 && LARGE_OFF_T % 2147483647 == 1)
4510 if ac_fn_c_try_compile "$LINENO"; then :
4511 ac_cv_sys_large_files=no; break
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4516 #define _LARGE_FILES 1
4517 #include <sys/types.h>
4518 /* Check that off_t can represent 2**63 - 1 correctly.
4519 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4520 since some C++ compilers masquerading as C compilers
4521 incorrectly reject 9223372036854775807. */
4522 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4523 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4524 && LARGE_OFF_T % 2147483647 == 1)
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 ac_cv_sys_large_files=1; break
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 ac_cv_sys_large_files=unknown
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4543 $as_echo "$ac_cv_sys_large_files" >&6; }
4544 case $ac_cv_sys_large_files in #(
4547 cat >>confdefs.h <<_ACEOF
4548 #define _LARGE_FILES $ac_cv_sys_large_files
4559 ac_config_files="$ac_config_files makefile"
4561 cat >confcache <<\_ACEOF
4562 # This file is a shell script that caches the results of configure
4563 # tests run on this system so they can be shared between configure
4564 # scripts and configure runs, see configure's option --config-cache.
4565 # It is not useful on other systems. If it contains results you don't
4566 # want to keep, you may remove or edit it.
4568 # config.status only pays attention to the cache file if you give it
4569 # the --recheck option to rerun configure.
4571 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4577 # The following way of writing the cache mishandles newlines in values,
4578 # but we know of no workaround that is simple, portable, and efficient.
4579 # So, we kill variables containing newlines.
4580 # Ultrix sh set writes to stderr and can't be redirected directly,
4581 # and sets the high bit in the cache file unless we assign to the vars.
4583 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4584 eval ac_val=\$$ac_var
4588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4592 _ | IFS | as_nl) ;; #(
4593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4594 *) { eval $ac_var=; unset $ac_var;} ;;
4600 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4601 *${as_nl}ac_space=\ *)
4602 # `set' does not quote correctly, so add quotes: double-quote
4603 # substitution turns \\\\ into \\, and sed turns \\ into \.
4606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4609 # `set' quotes correctly as required by POSIX, so do not add quotes.
4610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4621 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4623 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4624 if test -w "$cache_file"; then
4625 if test "x$cache_file" != "x/dev/null"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4627 $as_echo "$as_me: updating cache $cache_file" >&6;}
4628 if test ! -f "$cache_file" || test -h "$cache_file"; then
4629 cat confcache >"$cache_file"
4631 case $cache_file in #(
4633 mv -f confcache "$cache_file"$$ &&
4634 mv -f "$cache_file"$$ "$cache_file" ;; #(
4636 mv -f confcache "$cache_file" ;;
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4642 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4648 # Let make expand exec_prefix.
4649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4651 DEFS=-DHAVE_CONFIG_H
4656 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4657 # 1. Remove the extension, and $U if already installed.
4658 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4659 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4660 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4661 # will be set to the directory where LIBOBJS objects are built.
4662 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4663 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4667 LTLIBOBJS=$ac_ltlibobjs
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4671 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4672 if test -n "$am_sleep_pid"; then
4673 # Hide warnings about reused PIDs.
4674 wait $am_sleep_pid 2>/dev/null
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4677 $as_echo "done" >&6; }
4678 if test -n "$EXEEXT"; then
4680 am__EXEEXT_FALSE='#'
4686 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4687 as_fn_error $? "conditional \"AMDEP\" was never defined.
4688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4690 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4691 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4695 : "${CONFIG_STATUS=./config.status}"
4697 ac_clean_files_save=$ac_clean_files
4698 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4700 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4702 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4704 # Generated by $as_me.
4705 # Run this file to recreate the current configuration.
4706 # Compiler output produced by configure, useful for debugging
4707 # configure, is in config.log if it exists.
4713 SHELL=\${CONFIG_SHELL-$SHELL}
4716 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4717 ## -------------------- ##
4718 ## M4sh Initialization. ##
4719 ## -------------------- ##
4721 # Be more Bourne compatible
4722 DUALCASE=1; export DUALCASE # for MKS sh
4723 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4726 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4727 # is contrary to our usage. Disable this feature.
4728 alias -g '${1+"$@"}'='"$@"'
4729 setopt NO_GLOB_SUBST
4731 case `(set -o) 2>/dev/null` in #(
4743 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4744 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4747 # Prefer a ksh shell builtin over an external printf program on Solaris,
4748 # but without wasting forks for bash or zsh.
4749 if test -z "$BASH_VERSION$ZSH_VERSION" \
4750 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4751 as_echo='print -r --'
4752 as_echo_n='print -rn --'
4753 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4754 as_echo='printf %s\n'
4755 as_echo_n='printf %s'
4757 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4758 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4759 as_echo_n='/usr/ucb/echo -n'
4761 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4762 as_echo_n_body='eval
4766 expr "X$arg" : "X\\(.*\\)$as_nl";
4767 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4769 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4771 export as_echo_n_body
4772 as_echo_n='sh -c $as_echo_n_body as_echo'
4775 as_echo='sh -c $as_echo_body as_echo'
4778 # The user is always right.
4779 if test "${PATH_SEPARATOR+set}" != set; then
4781 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4782 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4789 # We need space, tab and new line, in precisely that order. Quoting is
4790 # there to prevent editors from complaining about space-tab.
4791 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4792 # splitting by setting IFS to empty value.)
4795 # Find who we are. Look in the path if we contain no directory separator.
4798 *[\\/]* ) as_myself=$0 ;;
4799 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir=.
4804 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4810 # We did not find ourselves, most probably we were run as `sh COMMAND'
4811 # in which case we are not to be found in the path.
4812 if test "x$as_myself" = x; then
4815 if test ! -f "$as_myself"; then
4816 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4820 # Unset variables that we do not need and which cause bugs (e.g. in
4821 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4822 # suppresses any "Segmentation fault" message there. '((' could
4823 # trigger a bug in pdksh 5.2.14.
4824 for as_var in BASH_ENV ENV MAIL MAILPATH
4825 do eval test x\${$as_var+set} = xset \
4826 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4839 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4842 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4843 # ----------------------------------------
4844 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4845 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4846 # script with STATUS, using 1 if that was 0.
4849 as_status=$1; test $as_status -eq 0 && as_status=1
4851 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4852 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4854 $as_echo "$as_me: error: $2" >&2
4855 as_fn_exit $as_status
4859 # as_fn_set_status STATUS
4860 # -----------------------
4861 # Set $? to STATUS, without forking.
4865 } # as_fn_set_status
4869 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4879 # Portably unset VAR.
4882 { eval $1=; unset $1;}
4884 as_unset=as_fn_unset
4885 # as_fn_append VAR VALUE
4886 # ----------------------
4887 # Append the text in VALUE to the end of the definition contained in VAR. Take
4888 # advantage of any shell optimizations that allow amortized linear growth over
4889 # repeated appends, instead of the typical quadratic growth present in naive
4891 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4892 eval 'as_fn_append ()
4903 # as_fn_arith ARG...
4904 # ------------------
4905 # Perform arithmetic evaluation on the ARGs, and store the result in the
4906 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4907 # must be portable across $(()) and expr.
4908 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4909 eval 'as_fn_arith ()
4916 as_val=`expr "$@" || test $? -eq 1`
4921 if expr a : '\(a\)' >/dev/null 2>&1 &&
4922 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4928 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4929 as_basename=basename
4934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4940 as_me=`$as_basename -- "$0" ||
4941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4942 X"$0" : 'X\(//\)$' \| \
4943 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4945 sed '/^.*\/\([^/][^/]*\)\/*$/{
4959 # Avoid depending upon Character Ranges.
4960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4963 as_cr_digits='0123456789'
4964 as_cr_alnum=$as_cr_Letters$as_cr_digits
4966 ECHO_C= ECHO_N= ECHO_T=
4967 case `echo -n x` in #(((((
4969 case `echo 'xy\c'` in
4970 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4972 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4979 rm -f conf$$ conf$$.exe conf$$.file
4980 if test -d conf$$.dir; then
4981 rm -f conf$$.dir/conf$$.file
4984 mkdir conf$$.dir 2>/dev/null
4986 if (echo >conf$$.file) 2>/dev/null; then
4987 if ln -s conf$$.file conf$$ 2>/dev/null; then
4989 # ... but there are two gotchas:
4990 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4991 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4992 # In both cases, we have to default to `cp -pR'.
4993 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4995 elif ln conf$$.file conf$$ 2>/dev/null; then
5003 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5004 rmdir conf$$.dir 2>/dev/null
5009 # Create "$as_dir" as a directory, including parents if necessary.
5014 -*) as_dir=./$as_dir;;
5016 test -d "$as_dir" || eval $as_mkdir_p || {
5020 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5021 *) as_qdir=$as_dir;;
5023 as_dirs="'$as_qdir' $as_dirs"
5024 as_dir=`$as_dirname -- "$as_dir" ||
5025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5026 X"$as_dir" : 'X\(//\)[^/]' \| \
5027 X"$as_dir" : 'X\(//\)$' \| \
5028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5029 $as_echo X"$as_dir" |
5030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5047 test -d "$as_dir" && break
5049 test -z "$as_dirs" || eval "mkdir $as_dirs"
5050 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5054 if mkdir -p . 2>/dev/null; then
5055 as_mkdir_p='mkdir -p "$as_dir"'
5057 test -d ./-p && rmdir ./-p
5062 # as_fn_executable_p FILE
5063 # -----------------------
5064 # Test if FILE is an executable regular file.
5065 as_fn_executable_p ()
5067 test -f "$1" && test -x "$1"
5068 } # as_fn_executable_p
5070 as_executable_p=as_fn_executable_p
5072 # Sed expression to map a string onto a valid CPP name.
5073 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5075 # Sed expression to map a string onto a valid variable name.
5076 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5080 ## ----------------------------------- ##
5081 ## Main body of $CONFIG_STATUS script. ##
5082 ## ----------------------------------- ##
5084 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5087 # Save the log message, to keep $0 and so on meaningful, and to
5088 # report actual input values of CONFIG_FILES etc. instead of their
5089 # values after options handling.
5091 This file was extended by skeinsum $as_me 1.0, which was
5092 generated by GNU Autoconf 2.69. Invocation command line was
5094 CONFIG_FILES = $CONFIG_FILES
5095 CONFIG_HEADERS = $CONFIG_HEADERS
5096 CONFIG_LINKS = $CONFIG_LINKS
5097 CONFIG_COMMANDS = $CONFIG_COMMANDS
5100 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5105 case $ac_config_files in *"
5106 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5109 case $ac_config_headers in *"
5110 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5115 # Files that config.status was made for.
5116 config_files="$ac_config_files"
5117 config_headers="$ac_config_headers"
5118 config_commands="$ac_config_commands"
5122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 \`$as_me' instantiates files and other configuration actions
5125 from templates according to the current configuration. Unless the files
5126 and actions are specified as TAGs, all are instantiated by default.
5128 Usage: $0 [OPTION]... [TAG]...
5130 -h, --help print this help, then exit
5131 -V, --version print version number and configuration settings, then exit
5132 --config print configuration, then exit
5133 -q, --quiet, --silent
5134 do not print progress messages
5135 -d, --debug don't remove temporary files
5136 --recheck update $as_me by reconfiguring in the same conditions
5137 --file=FILE[:TEMPLATE]
5138 instantiate the configuration file FILE
5139 --header=FILE[:TEMPLATE]
5140 instantiate the configuration header FILE
5142 Configuration files:
5145 Configuration headers:
5148 Configuration commands:
5151 Report bugs to <j@jxself.org>."
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5157 skeinsum config.status 1.0
5158 configured by $0, generated by GNU Autoconf 2.69,
5159 with options \\"\$ac_cs_config\\"
5161 Copyright (C) 2012 Free Software Foundation, Inc.
5162 This config.status script is free software; the Free Software Foundation
5163 gives unlimited permission to copy, distribute and modify it."
5170 test -n "\$AWK" || AWK=awk
5173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5174 # The default lists apply if the user does not specify any file.
5180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5181 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5197 # Handling of the options.
5198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5201 $as_echo "$ac_cs_version"; exit ;;
5202 --config | --confi | --conf | --con | --co | --c )
5203 $as_echo "$ac_cs_config"; exit ;;
5204 --debug | --debu | --deb | --de | --d | -d )
5206 --file | --fil | --fi | --f )
5209 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5210 '') as_fn_error $? "missing file argument" ;;
5212 as_fn_append CONFIG_FILES " '$ac_optarg'"
5213 ac_need_defaults=false;;
5214 --header | --heade | --head | --hea )
5217 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5219 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5220 ac_need_defaults=false;;
5222 # Conflict between --help and --header
5223 as_fn_error $? "ambiguous option: \`$1'
5224 Try \`$0 --help' for more information.";;
5225 --help | --hel | -h )
5226 $as_echo "$ac_cs_usage"; exit ;;
5227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5228 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5232 -*) as_fn_error $? "unrecognized option: \`$1'
5233 Try \`$0 --help' for more information." ;;
5235 *) as_fn_append ac_config_targets " $1"
5236 ac_need_defaults=false ;;
5242 ac_configure_extra_args=
5244 if $ac_cs_silent; then
5246 ac_configure_extra_args="$ac_configure_extra_args --silent"
5250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5251 if \$ac_cs_recheck; then
5252 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5255 CONFIG_SHELL='$SHELL'
5261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5266 ## Running $as_me. ##
5272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5276 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5282 # Handling of arguments.
5283 for ac_config_target in $ac_config_targets
5285 case $ac_config_target in
5286 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5287 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5288 "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
5290 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5295 # If the user did not use the arguments to specify the items to instantiate,
5296 # then the envvar interface is used. Set only those that are not.
5297 # We use the long form for the default assignment because of an extremely
5298 # bizarre bug on SunOS 4.1.3.
5299 if $ac_need_defaults; then
5300 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5301 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5302 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5305 # Have a temporary directory for convenience. Make it in the build tree
5306 # simply because there is no reason against having it here, and in addition,
5307 # creating and moving files from /tmp can sometimes cause problems.
5308 # Hook for its removal unless debugging.
5309 # Note that there is a small window in which the directory will not be cleaned:
5310 # after its creation but before its name has been assigned to `$tmp'.
5314 trap 'exit_status=$?
5316 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5318 trap 'as_fn_exit 1' 1 2 13 15
5320 # Create a (secure) tmp directory for tmp files.
5323 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5327 tmp=./conf$$-$RANDOM
5328 (umask 077 && mkdir "$tmp")
5329 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5332 # Set up the scripts for CONFIG_FILES section.
5333 # No need to generate them if there are no CONFIG_FILES.
5334 # This happens for instance with `./config.status config.h'.
5335 if test -n "$CONFIG_FILES"; then
5338 ac_cr=`echo X | tr X '\015'`
5339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5340 # But we know of no other shell where ac_cr would be empty at this
5341 # point, so we can use a bashism as a fallback.
5342 if test "x$ac_cr" = x; then
5343 eval ac_cr=\$\'\\r\'
5345 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5352 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5357 echo "cat >conf$$subs.awk <<_ACEOF" &&
5358 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5364 for ac_last_try in false false false false false :; do
5365 . ./conf$$subs.sh ||
5366 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5368 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5369 if test $ac_delim_n = $ac_delim_num; then
5371 elif $ac_last_try; then
5372 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5374 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5380 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5384 s/^/S["/; s/!.*/"]=/
5394 s/\(.\{148\}\)..*/\1/
5396 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5401 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5408 s/\(.\{148\}\)..*/\1/
5410 s/["\\]/\\&/g; s/^/"/; s/$/"/
5414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5419 ' <conf$$subs.awk | sed '
5424 ' >>$CONFIG_STATUS || ac_write_fail=1
5425 rm -f conf$$subs.awk
5426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5428 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5429 for (key in S) S_is_set[key] = 1
5435 nfields = split(line, field, "@")
5437 len = length(field[1])
5438 for (i = 2; i < nfields; i++) {
5440 keylen = length(key)
5441 if (S_is_set[key]) {
5443 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5444 len += length(value) + length(field[++i])
5455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5456 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5457 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5460 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5461 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5464 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5465 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5466 # trailing colons and then remove the whole line if VPATH becomes empty
5467 # (actually we leave an empty line to preserve line numbers).
5468 if test "x$srcdir" = x.; then
5469 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5488 fi # test -n "$CONFIG_FILES"
5490 # Set up the scripts for CONFIG_HEADERS section.
5491 # No need to generate them if there are no CONFIG_HEADERS.
5492 # This happens for instance with `./config.status Makefile'.
5493 if test -n "$CONFIG_HEADERS"; then
5494 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5498 # Transform confdefs.h into an awk script `defines.awk', embedded as
5499 # here-document in config.status, that substitutes the proper values into
5500 # config.h.in to produce config.h.
5502 # Create a delimiter string that does not exist in confdefs.h, to ease
5503 # handling of long lines.
5505 for ac_last_try in false false :; do
5506 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5507 if test -z "$ac_tt"; then
5509 elif $ac_last_try; then
5510 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5512 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5516 # For the awk script, D is an array of macro values keyed by name,
5517 # likewise P contains macro parameters if any. Preserve backslash
5518 # newline sequences.
5520 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5522 s/.\{148\}/&'"$ac_delim"'/g
5525 s/^[ ]*#[ ]*define[ ][ ]*/ /
5532 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5534 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5538 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5539 D["\1"]=" \3\\\\\\n"\\/p
5541 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5546 s/.\{148\}/&'"$ac_delim"'/g
5551 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5554 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5556 ' <confdefs.h | sed '
5557 s/'"$ac_delim"'/"\\\
5558 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5561 for (key in D) D_is_set[key] = 1
5564 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5566 split(line, arg, " ")
5567 if (arg[1] == "#") {
5571 defundef = substr(arg[1], 2)
5574 split(mac1, mac2, "(") #)
5576 prefix = substr(line, 1, index(line, defundef) - 1)
5577 if (D_is_set[macro]) {
5578 # Preserve the white space surrounding the "#".
5579 print prefix "define", macro P[macro] D[macro]
5582 # Replace #undef with comments. This is necessary, for example,
5583 # in the case of _POSIX_SOURCE, which is predefined and required
5584 # on some systems where configure will not decide to define it.
5585 if (defundef == "undef") {
5586 print "/*", prefix defundef, macro, "*/"
5594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5595 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5596 fi # test -n "$CONFIG_HEADERS"
5599 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5604 :[FHLC]) ac_mode=$ac_tag; continue;;
5606 case $ac_mode$ac_tag in
5608 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5609 :[FH]-) ac_tag=-:-;;
5610 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5627 -) ac_f="$ac_tmp/stdin";;
5628 *) # Look for the file first in the build tree, then in the source tree
5629 # (if the path is not absolute). The absolute path cannot be DOS-style,
5630 # because $ac_f cannot contain `:'.
5634 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5636 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5638 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5639 as_fn_append ac_file_inputs " '$ac_f'"
5642 # Let's still pretend it is `configure' which instantiates (i.e., don't
5643 # use $as_me), people would be surprised to read:
5644 # /* config.h. Generated by config.status. */
5645 configure_input='Generated from '`
5646 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5648 if test x"$ac_file" != x-; then
5649 configure_input="$ac_file. $configure_input"
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5651 $as_echo "$as_me: creating $ac_file" >&6;}
5653 # Neutralize special characters interpreted by sed in replacement strings.
5654 case $configure_input in #(
5655 *\&* | *\|* | *\\* )
5656 ac_sed_conf_input=`$as_echo "$configure_input" |
5657 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5658 *) ac_sed_conf_input=$configure_input;;
5662 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5668 ac_dir=`$as_dirname -- "$ac_file" ||
5669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5670 X"$ac_file" : 'X\(//\)[^/]' \| \
5671 X"$ac_file" : 'X\(//\)$' \| \
5672 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5673 $as_echo X"$ac_file" |
5674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5691 as_dir="$ac_dir"; as_fn_mkdir_p
5695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5697 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5698 # A ".." for each directory in $ac_dir_suffix.
5699 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5700 case $ac_top_builddir_sub in
5701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5705 ac_abs_top_builddir=$ac_pwd
5706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5707 # for backward compatibility:
5708 ac_top_builddir=$ac_top_build_prefix
5711 .) # We are building in place.
5713 ac_top_srcdir=$ac_top_builddir_sub
5714 ac_abs_top_srcdir=$ac_pwd ;;
5715 [\\/]* | ?:[\\/]* ) # Absolute name.
5716 ac_srcdir=$srcdir$ac_dir_suffix;
5717 ac_top_srcdir=$srcdir
5718 ac_abs_top_srcdir=$srcdir ;;
5720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5721 ac_top_srcdir=$ac_top_build_prefix$srcdir
5722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5734 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5735 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5739 [\\/$]* | ?:[\\/]* ) ;;
5740 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5745 # If the template does not know about datarootdir, expand it.
5746 # FIXME: This hack should be removed a few years after 2.60.
5747 ac_datarootdir_hack=; ac_datarootdir_seen=
5758 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5759 *datarootdir*) ac_datarootdir_seen=yes;;
5760 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5762 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5765 ac_datarootdir_hack='
5766 s&@datadir@&$datadir&g
5767 s&@docdir@&$docdir&g
5768 s&@infodir@&$infodir&g
5769 s&@localedir@&$localedir&g
5770 s&@mandir@&$mandir&g
5771 s&\\\${datarootdir}&$datarootdir&g' ;;
5775 # Neutralize VPATH when `$srcdir' = `.'.
5776 # Shell code in configure.ac might set extrasub.
5777 # FIXME: do we really want to maintain this feature?
5778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 ac_sed_extra="$ac_vpsub
5782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5785 s|@configure_input@|$ac_sed_conf_input|;t t
5786 s&@top_builddir@&$ac_top_builddir_sub&;t t
5787 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5788 s&@srcdir@&$ac_srcdir&;t t
5789 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5790 s&@top_srcdir@&$ac_top_srcdir&;t t
5791 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5792 s&@builddir@&$ac_builddir&;t t
5793 s&@abs_builddir@&$ac_abs_builddir&;t t
5794 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5795 s&@INSTALL@&$ac_INSTALL&;t t
5796 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5797 $ac_datarootdir_hack
5799 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5800 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5802 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5803 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5804 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5805 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5807 which seems to be undefined. Please make sure it is defined" >&5
5808 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5809 which seems to be undefined. Please make sure it is defined" >&2;}
5811 rm -f "$ac_tmp/stdin"
5813 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5814 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5822 if test x"$ac_file" != x-; then
5824 $as_echo "/* $configure_input */" \
5825 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5826 } >"$ac_tmp/config.h" \
5827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5828 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5830 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5833 mv "$ac_tmp/config.h" "$ac_file" \
5834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5837 $as_echo "/* $configure_input */" \
5838 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5839 || as_fn_error $? "could not create -" "$LINENO" 5
5841 # Compute "$ac_file"'s index in $config_headers.
5844 for _am_header in $config_headers :; do
5846 $_am_arg | $_am_arg:* )
5849 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5852 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5853 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5854 X"$_am_arg" : 'X\(//\)[^/]' \| \
5855 X"$_am_arg" : 'X\(//\)$' \| \
5856 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5857 $as_echo X"$_am_arg" |
5858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5874 s/.*/./; q'`/stamp-h$_am_stamp_count
5877 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5878 $as_echo "$as_me: executing $ac_file commands" >&6;}
5883 case $ac_file$ac_mode in
5884 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5885 # Older Autoconf quotes --file arguments for eval, but not when files
5886 # are listed without --file. Let's play safe and only enable the eval
5887 # if we detect the quoting.
5888 case $CONFIG_FILES in
5889 *\'*) eval set x "$CONFIG_FILES" ;;
5890 *) set x $CONFIG_FILES ;;
5895 # Strip MF so we end up with the name of the file.
5896 mf=`echo "$mf" | sed -e 's/:.*$//'`
5897 # Check whether this is an Automake generated Makefile or not.
5898 # We used to match only the files named 'Makefile.in', but
5899 # some people rename them; so instead we look at the file content.
5900 # Grep'ing the first line is not enough: some people post-process
5901 # each Makefile.in and add a new line on top of each file to say so.
5902 # Grep'ing the whole file is not good either: AIX grep has a line
5903 # limit of 2048, but all sed's we know have understand at least 4000.
5904 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5905 dirpart=`$as_dirname -- "$mf" ||
5906 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5907 X"$mf" : 'X\(//\)[^/]' \| \
5908 X"$mf" : 'X\(//\)$' \| \
5909 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5931 # Extract the definition of DEPDIR, am__include, and am__quote
5932 # from the Makefile without running 'make'.
5933 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5934 test -z "$DEPDIR" && continue
5935 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5936 test -z "$am__include" && continue
5937 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5938 # Find all dependency output files, they are included files with
5939 # $(DEPDIR) in their names. We invoke sed twice because it is the
5940 # simplest approach to changing $(DEPDIR) to its actual value in the
5942 for file in `sed -n "
5943 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5944 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5945 # Make sure the directory exists.
5946 test -f "$dirpart/$file" && continue
5947 fdir=`$as_dirname -- "$file" ||
5948 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5949 X"$file" : 'X\(//\)[^/]' \| \
5950 X"$file" : 'X\(//\)$' \| \
5951 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5970 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5971 # echo "creating $dirpart/$file"
5972 echo '# dummy' > "$dirpart/$file"
5984 ac_clean_files=$ac_clean_files_save
5986 test $ac_write_fail = 0 ||
5987 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5990 # configure is writing to config.log, and then calls config.status.
5991 # config.status does its own redirection, appending to config.log.
5992 # Unfortunately, on DOS this fails, as config.log is still kept open
5993 # by configure, so config.status won't be able to write to it; its
5994 # output is simply discarded. So we exec the FD to /dev/null,
5995 # effectively closing config.log, so it can be properly (re)opened and
5996 # appended to by config.status. When coming back to configure, we
5997 # need to make the FD available again.
5998 if test "$no_create" != yes; then
6000 ac_config_status_args=
6001 test "$silent" = yes &&
6002 ac_config_status_args="$ac_config_status_args --quiet"
6004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6006 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6007 # would make configure fail if this is the last instruction.
6008 $ac_cs_success || as_fn_exit 1
6010 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6012 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}