2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for innduct 1.0.
5 # Report bugs to <duct.c>.
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 duct.c about your
270 $0: system, including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: 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='innduct'
581 PACKAGE_TARNAME='innduct'
582 PACKAGE_VERSION='1.0'
583 PACKAGE_STRING='innduct 1.0'
584 PACKAGE_BUGREPORT='duct.c'
587 # Factoring default headers for most tests.
588 ac_includes_default="\
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
600 # ifdef HAVE_STDLIB_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
623 ac_subst_vars='am__EXEEXT_FALSE
658 INSTALL_STRIP_PROGRAM
701 program_transform_name
715 enable_option_checking
717 enable_dependency_tracking
719 ac_precious_vars='build_alias
730 # Initialize some variables set by options.
732 ac_init_version=false
733 ac_unrecognized_opts=
735 # The variables have the same names as the options, with
736 # dashes changed to underlines.
744 program_transform_name=s,x,x,
752 # Installation directory options.
753 # These are left unexpanded so users can "make install exec_prefix=/foo"
754 # and all the variables that are supposed to be based on exec_prefix
755 # by default will actually change.
756 # Use braces instead of parens because sh, perl, etc. also accept them.
757 # (The list follows the same order as the GNU Coding Standards.)
758 bindir='${exec_prefix}/bin'
759 sbindir='${exec_prefix}/sbin'
760 libexecdir='${exec_prefix}/libexec'
761 datarootdir='${prefix}/share'
762 datadir='${datarootdir}'
763 sysconfdir='${prefix}/etc'
764 sharedstatedir='${prefix}/com'
765 localstatedir='${prefix}/var'
766 runstatedir='${localstatedir}/run'
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 -runstatedir | --runstatedir | --runstatedi | --runstated \
1020 | --runstate | --runstat | --runsta | --runst | --runs \
1021 | --run | --ru | --r)
1022 ac_prev=runstatedir ;;
1023 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1024 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1025 | --run=* | --ru=* | --r=*)
1026 runstatedir=$ac_optarg ;;
1028 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 sbindir=$ac_optarg ;;
1034 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036 | --sharedst | --shareds | --shared | --share | --shar \
1038 ac_prev=sharedstatedir ;;
1039 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 sharedstatedir=$ac_optarg ;;
1045 -site | --site | --sit)
1047 -site=* | --site=* | --sit=*)
1050 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053 srcdir=$ac_optarg ;;
1055 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056 | --syscon | --sysco | --sysc | --sys | --sy)
1057 ac_prev=sysconfdir ;;
1058 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060 sysconfdir=$ac_optarg ;;
1062 -target | --target | --targe | --targ | --tar | --ta | --t)
1063 ac_prev=target_alias ;;
1064 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065 target_alias=$ac_optarg ;;
1067 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 -version | --version | --versio | --versi | --vers | -V)
1071 ac_init_version=: ;;
1074 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077 as_fn_error $? "invalid package name: $ac_useropt"
1078 ac_useropt_orig=$ac_useropt
1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1085 ac_unrecognized_sep=', ';;
1087 eval with_$ac_useropt=\$ac_optarg ;;
1089 -without-* | --without-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=no ;;
1106 # Obsolete; use --with-x.
1109 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1110 | --x-incl | --x-inc | --x-in | --x-i)
1111 ac_prev=x_includes ;;
1112 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1113 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1114 x_includes=$ac_optarg ;;
1116 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1117 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1118 ac_prev=x_libraries ;;
1119 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1120 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1121 x_libraries=$ac_optarg ;;
1123 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1124 Try \`$0 --help' for more information"
1128 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129 # Reject names that are not valid shell variable names.
1130 case $ac_envvar in #(
1131 '' | [0-9]* | *[!_$as_cr_alnum]* )
1132 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1134 eval $ac_envvar=\$ac_optarg
1135 export $ac_envvar ;;
1138 # FIXME: should be removed in autoconf 3.0.
1139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1148 if test -n "$ac_prev"; then
1149 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150 as_fn_error $? "missing argument to $ac_option"
1153 if test -n "$ac_unrecognized_opts"; then
1154 case $enable_option_checking in
1156 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1157 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161 # Check all directory arguments for consistency.
1162 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163 datadir sysconfdir sharedstatedir localstatedir includedir \
1164 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165 libdir localedir mandir runstatedir
1167 eval ac_val=\$$ac_var
1168 # Remove trailing slashes.
1171 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172 eval $ac_var=\$ac_val;;
1174 # Be sure to have absolute directory names.
1176 [\\/$]* | ?:[\\/]* ) continue;;
1177 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1182 # There might be people who depend on the old broken behavior: `$host'
1183 # used to hold the argument of --host etc.
1184 # FIXME: To remove some day.
1187 target=$target_alias
1189 # FIXME: To remove some day.
1190 if test "x$host_alias" != x; then
1191 if test "x$build_alias" = x; then
1192 cross_compiling=maybe
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 # Remove unnecessary trailing slashes from srcdir.
1259 # Double slashes in file names in object file debugging info
1260 # mess up M-x gdb in Emacs.
1262 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 for ac_var in $ac_precious_vars; do
1265 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1266 eval ac_env_${ac_var}_value=\$${ac_var}
1267 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272 # Report the --help message.
1274 if test "$ac_init_help" = "long"; then
1275 # Omit some internal or obsolete options to make the list less imposing.
1276 # This message is too long to be a string in the A/UX 3.1 sh.
1278 \`configure' configures innduct 1.0 to adapt to many kinds of systems.
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1285 Defaults for the options are specified in brackets.
1288 -h, --help display this help and exit
1289 --help=short display options specific to this package
1290 --help=recursive display the short help of all the included packages
1291 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1293 --cache-file=FILE cache test results in FILE [disabled]
1294 -C, --config-cache alias for \`--cache-file=config.cache'
1295 -n, --no-create do not create output files
1296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1298 Installation directories:
1299 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1309 For better control, use the options below.
1311 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/innduct]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1343 if test -n "$ac_init_help"; then
1344 case $ac_init_help in
1345 short | recursive ) echo "Configuration of innduct 1.0:";;
1350 --disable-option-checking ignore unrecognized --enable/--with options
1351 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1352 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1353 --enable-silent-rules less verbose build output (undo: "make V=1")
1354 --disable-silent-rules verbose build output (undo: "make V=0")
1355 --enable-dependency-tracking
1356 do not reject slow dependency extractors
1357 --disable-dependency-tracking
1358 speeds up one-time build
1360 Some influential environment variables:
1361 CC C compiler command
1362 CFLAGS C compiler flags
1363 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1364 nonstandard directory <lib dir>
1365 LIBS libraries to pass to the linker, e.g. -l<library>
1366 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1367 you have headers in a nonstandard directory <include dir>
1370 Use these variables to override the choices made by `configure' or to help
1371 it to find libraries and programs with nonstandard names/locations.
1373 Report bugs to <duct.c>.
1378 if test "$ac_init_help" = "recursive"; then
1379 # If there are subdirs, report their specific --help.
1380 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1381 test -d "$ac_dir" ||
1382 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1390 # A ".." for each directory in $ac_dir_suffix.
1391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1392 case $ac_top_builddir_sub in
1393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397 ac_abs_top_builddir=$ac_pwd
1398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1399 # for backward compatibility:
1400 ac_top_builddir=$ac_top_build_prefix
1403 .) # We are building in place.
1405 ac_top_srcdir=$ac_top_builddir_sub
1406 ac_abs_top_srcdir=$ac_pwd ;;
1407 [\\/]* | ?:[\\/]* ) # Absolute name.
1408 ac_srcdir=$srcdir$ac_dir_suffix;
1409 ac_top_srcdir=$srcdir
1410 ac_abs_top_srcdir=$srcdir ;;
1412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1413 ac_top_srcdir=$ac_top_build_prefix$srcdir
1414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1418 cd "$ac_dir" || { ac_status=$?; continue; }
1419 # Check for guested configure.
1420 if test -f "$ac_srcdir/configure.gnu"; then
1422 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1423 elif test -f "$ac_srcdir/configure"; then
1425 $SHELL "$ac_srcdir/configure" --help=recursive
1427 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1429 cd "$ac_pwd" || { ac_status=$?; break; }
1433 test -n "$ac_init_help" && exit $ac_status
1434 if $ac_init_version; then
1436 innduct configure 1.0
1437 generated by GNU Autoconf 2.69
1439 Copyright (C) 2012 Free Software Foundation, Inc.
1440 This configure script is free software; the Free Software Foundation
1441 gives unlimited permission to copy, distribute and modify it.
1446 ## ------------------------ ##
1447 ## Autoconf initialization. ##
1448 ## ------------------------ ##
1450 # ac_fn_c_try_compile LINENO
1451 # --------------------------
1452 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1453 ac_fn_c_try_compile ()
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 rm -f conftest.$ac_objext
1457 if { { ac_try="$ac_compile"
1459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1460 *) ac_try_echo=$ac_try;;
1462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463 $as_echo "$ac_try_echo"; } >&5
1464 (eval "$ac_compile") 2>conftest.err
1466 if test -s conftest.err; then
1467 grep -v '^ *+' conftest.err >conftest.er1
1468 cat conftest.er1 >&5
1469 mv -f conftest.er1 conftest.err
1471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472 test $ac_status = 0; } && {
1473 test -z "$ac_c_werror_flag" ||
1474 test ! -s conftest.err
1475 } && test -s conftest.$ac_objext; then :
1478 $as_echo "$as_me: failed program was:" >&5
1479 sed 's/^/| /' conftest.$ac_ext >&5
1483 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1484 as_fn_set_status $ac_retval
1486 } # ac_fn_c_try_compile
1488 # ac_fn_c_try_cpp LINENO
1489 # ----------------------
1490 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 if { { ac_try="$ac_cpp conftest.$ac_ext"
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } > conftest.i && {
1510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1511 test ! -s conftest.err
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1525 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1526 # -------------------------------------------------------
1527 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1528 # the include files in INCLUDES and setting the cache variable VAR
1530 ac_fn_c_check_header_mongrel ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 if eval \${$3+:} false; then :
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1535 $as_echo_n "checking for $2... " >&6; }
1536 if eval \${$3+:} false; then :
1537 $as_echo_n "(cached) " >&6
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1541 $as_echo "$ac_res" >&6; }
1543 # Is the header compilable?
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1545 $as_echo_n "checking $2 usability... " >&6; }
1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1547 /* end confdefs.h. */
1551 if ac_fn_c_try_compile "$LINENO"; then :
1552 ac_header_compiler=yes
1554 ac_header_compiler=no
1556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1558 $as_echo "$ac_header_compiler" >&6; }
1560 # Is the header present?
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1562 $as_echo_n "checking $2 presence... " >&6; }
1563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1564 /* end confdefs.h. */
1567 if ac_fn_c_try_cpp "$LINENO"; then :
1568 ac_header_preproc=yes
1570 ac_header_preproc=no
1572 rm -f conftest.err conftest.i conftest.$ac_ext
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1574 $as_echo "$ac_header_preproc" >&6; }
1576 # So? What about this header?
1577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1580 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1586 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1588 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1590 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1592 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1595 ( $as_echo "## --------------------- ##
1596 ## Report this to duct.c ##
1597 ## --------------------- ##"
1598 ) | sed "s/^/$as_me: WARNING: /" >&2
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1606 eval "$3=\$ac_header_compiler"
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 } # ac_fn_c_check_header_mongrel
1616 # ac_fn_c_try_run LINENO
1617 # ----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1619 # that executables *can* be run.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if { { ac_try="$ac_link"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1634 { { case "(($ac_try" in
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_try") 2>&5
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; }; }; then :
1646 $as_echo "$as_me: program exited with status $ac_status" >&5
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1650 ac_retval=$ac_status
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile "$LINENO"; then :
1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_c_check_header_compile
1688 cat >config.log <<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1692 It was created by innduct $as_me 1.0, which was
1693 generated by GNU Autoconf 2.69. Invocation command line was
1705 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1706 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1707 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1708 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1709 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1711 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1712 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1714 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1715 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1716 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1717 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1718 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1719 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1720 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 $as_echo "PATH: $as_dir"
1745 # Keep a trace of the command line.
1746 # Strip out --no-create and --no-recursion so they do not pile up.
1747 # Strip out --silent because we don't want to record it for future runs.
1748 # Also quote any args containing shell meta-characters.
1749 # Make two passes to allow for proper duplicate-argument suppression.
1753 ac_must_keep_next=false
1759 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1761 | -silent | --silent | --silen | --sile | --sil)
1764 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1769 as_fn_append ac_configure_args1 " '$ac_arg'"
1770 if test $ac_must_keep_next = true; then
1771 ac_must_keep_next=false # Got value, back to normal.
1774 *=* | --config-cache | -C | -disable-* | --disable-* \
1775 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1776 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1777 | -with-* | --with-* | -without-* | --without-* | --x)
1778 case "$ac_configure_args0 " in
1779 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1782 -* ) ac_must_keep_next=true ;;
1785 as_fn_append ac_configure_args " '$ac_arg'"
1790 { ac_configure_args0=; unset ac_configure_args0;}
1791 { ac_configure_args1=; unset ac_configure_args1;}
1793 # When interrupted or exit'd, cleanup temporary files, and complete
1794 # config.log. We remove comments because anyway the quotes in there
1795 # would cause problems or look ugly.
1796 # WARNING: Use '\'' to represent an apostrophe within the trap.
1797 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1798 trap 'exit_status=$?
1799 # Save into config.log some information that might help in debugging.
1803 $as_echo "## ---------------- ##
1804 ## Cache variables. ##
1805 ## ---------------- ##"
1807 # The following way of writing the cache mishandles newlines in values,
1809 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1810 eval ac_val=\$$ac_var
1814 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1818 _ | IFS | as_nl) ;; #(
1819 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1820 *) { eval $ac_var=; unset $ac_var;} ;;
1825 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1826 *${as_nl}ac_space=\ *)
1828 "s/'\''/'\''\\\\'\'''\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1839 $as_echo "## ----------------- ##
1840 ## Output variables. ##
1841 ## ----------------- ##"
1843 for ac_var in $ac_subst_vars
1845 eval ac_val=\$$ac_var
1847 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1849 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -n "$ac_subst_files"; then
1854 $as_echo "## ------------------- ##
1855 ## File substitutions. ##
1856 ## ------------------- ##"
1858 for ac_var in $ac_subst_files
1860 eval ac_val=\$$ac_var
1862 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864 $as_echo "$ac_var='\''$ac_val'\''"
1869 if test -s confdefs.h; then
1870 $as_echo "## ----------- ##
1877 test "$ac_signal" != 0 &&
1878 $as_echo "$as_me: caught signal $ac_signal"
1879 $as_echo "$as_me: exit $exit_status"
1881 rm -f core *.core core.conftest.* &&
1882 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1885 for ac_signal in 1 2 13 15; do
1886 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1890 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1891 rm -f -r conftest* confdefs.h
1893 $as_echo "/* confdefs.h */" > confdefs.h
1895 # Predefined preprocessor variables.
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_NAME "$PACKAGE_NAME"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_URL "$PACKAGE_URL"
1922 # Let the site file select an alternate cache file if it wants to.
1923 # Prefer an explicitly selected file to automatically selected ones.
1926 if test -n "$CONFIG_SITE"; then
1927 # We do not want a PATH search for config.site.
1928 case $CONFIG_SITE in #((
1929 -*) ac_site_file1=./$CONFIG_SITE;;
1930 */*) ac_site_file1=$CONFIG_SITE;;
1931 *) ac_site_file1=./$CONFIG_SITE;;
1933 elif test "x$prefix" != xNONE; then
1934 ac_site_file1=$prefix/share/config.site
1935 ac_site_file2=$prefix/etc/config.site
1937 ac_site_file1=$ac_default_prefix/share/config.site
1938 ac_site_file2=$ac_default_prefix/etc/config.site
1940 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1942 test "x$ac_site_file" = xNONE && continue
1943 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1945 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1946 sed 's/^/| /' "$ac_site_file" >&5
1948 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1950 as_fn_error $? "failed to load site script $ac_site_file
1951 See \`config.log' for more details" "$LINENO" 5; }
1955 if test -r "$cache_file"; then
1956 # Some versions of bash will fail to source /dev/null (special files
1957 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1958 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
1962 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1963 *) . "./$cache_file";;
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
1972 # Check that the precious variables saved in the cache have kept the same
1974 ac_cache_corrupted=false
1975 for ac_var in $ac_precious_vars; do
1976 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1977 eval ac_new_set=\$ac_env_${ac_var}_set
1978 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1979 eval ac_new_val=\$ac_env_${ac_var}_value
1980 case $ac_old_set,$ac_new_set in
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1987 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1988 ac_cache_corrupted=: ;;
1991 if test "x$ac_old_val" != "x$ac_new_val"; then
1992 # differences in whitespace do not lead to failure.
1993 ac_old_val_w=`echo x $ac_old_val`
1994 ac_new_val_w=`echo x $ac_new_val`
1995 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1998 ac_cache_corrupted=:
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002 eval $ac_var=\$ac_old_val
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2005 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2007 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2029 ## -------------------- ##
2030 ## Main body of script. ##
2031 ## -------------------- ##
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 for ac_dir in autoconf-aux "$srcdir"/autoconf-aux; do
2042 if test -f "$ac_dir/install-sh"; then
2044 ac_install_sh="$ac_aux_dir/install-sh -c"
2046 elif test -f "$ac_dir/install.sh"; then
2048 ac_install_sh="$ac_aux_dir/install.sh -c"
2050 elif test -f "$ac_dir/shtool"; then
2052 ac_install_sh="$ac_aux_dir/shtool install -c"
2056 if test -z "$ac_aux_dir"; then
2057 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf-aux \"$srcdir\"/autoconf-aux" "$LINENO" 5
2060 # These three variables are undocumented and unsupported,
2061 # and are intended to be withdrawn in a future Autoconf release.
2062 # They can cause serious problems if a builder's source tree is in a directory
2063 # whose full name contains unusual characters.
2064 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2065 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2066 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2069 am__api_version='1.16'
2071 # Find a good install program. We prefer a C program (faster),
2072 # so one script is as good as another. But avoid the broken or
2073 # incompatible versions:
2074 # SysV /etc/install, /usr/sbin/install
2075 # SunOS /usr/etc/install
2076 # IRIX /sbin/install
2078 # AmigaOS /C/install, which installs bootblocks on floppy discs
2079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2082 # OS/2's system install, which has a completely different semantic
2083 # ./install, which can be erroneously created by make from ./install.sh.
2084 # Reject install programs that cannot install multiple files.
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2087 if test -z "$INSTALL"; then
2088 if ${ac_cv_path_install+:} false; then :
2089 $as_echo_n "(cached) " >&6
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 # Account for people who put trailing slashes in PATH elements.
2097 case $as_dir/ in #((
2098 ./ | .// | /[cC]/* | \
2099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2100 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2103 # OSF1 and SCO ODT 3.0 have their own names for install.
2104 # Don't use installbsd from OSF since it installs stuff as root
2106 for ac_prog in ginstall scoinst install; do
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2109 if test $ac_prog = install &&
2110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111 # AIX install. It has an incompatible calling convention.
2113 elif test $ac_prog = install &&
2114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115 # program-specific install script used by HP pwplus--don't use.
2118 rm -rf conftest.one conftest.two conftest.dir
2119 echo one > conftest.one
2120 echo two > conftest.two
2122 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2123 test -s conftest.one && test -s conftest.two &&
2124 test -s conftest.dir/conftest.one &&
2125 test -s conftest.dir/conftest.two
2127 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2140 rm -rf conftest.one conftest.two conftest.dir
2143 if test "${ac_cv_path_install+set}" = set; then
2144 INSTALL=$ac_cv_path_install
2146 # As a last resort, use the slow shell script. Don't cache a
2147 # value for INSTALL within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the value is a relative name.
2150 INSTALL=$ac_install_sh
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2154 $as_echo "$INSTALL" >&6; }
2156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157 # It thinks the first close brace ends the variable substitution.
2158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2165 $as_echo_n "checking whether build environment is sane... " >&6; }
2166 # Reject unsafe characters in $srcdir or the absolute working directory
2167 # name. Accept space and tab only in the latter.
2171 *[\\\"\#\$\&\'\`$am_lf]*)
2172 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2175 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2176 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2179 # Do 'set' in a subshell so we don't clobber the current shell's
2180 # arguments. Must try -L first in case configure is actually a
2181 # symlink; some systems play weird games with the mod time of symlinks
2182 # (eg FreeBSD returns the mod time of the symlink's containing
2186 for am_try in 1 2; do
2187 echo "timestamp, slept: $am_has_slept" > conftest.file
2188 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2189 if test "$*" = "X"; then
2191 set X `ls -t "$srcdir/configure" conftest.file`
2193 if test "$*" != "X $srcdir/configure conftest.file" \
2194 && test "$*" != "X conftest.file $srcdir/configure"; then
2196 # If neither matched, then we have a broken ls. This can happen
2197 # if, for instance, CONFIG_SHELL is bash and it inherits a
2198 # broken ls alias from the environment. This has actually
2199 # happened. Such a system could not be considered "sane".
2200 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2201 alias in your environment" "$LINENO" 5
2203 if test "$2" = conftest.file || test $am_try -eq 2; then
2210 test "$2" = conftest.file
2216 as_fn_error $? "newly created file is older than distributed files!
2217 Check your system clock" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2220 $as_echo "yes" >&6; }
2221 # If we didn't sleep, we still need to ensure time stamps of config.status and
2222 # generated files are strictly newer.
2224 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2231 test "$program_prefix" != NONE &&
2232 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2233 # Use a double $ so make ignores it.
2234 test "$program_suffix" != NONE &&
2235 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2236 # Double any \ or $.
2237 # By default was `s,x,x', remove it if useless.
2238 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2239 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2241 # Expand $ac_aux_dir to an absolute path.
2242 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2244 if test x"${MISSING+set}" != xset; then
2247 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2249 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2252 # Use eval to expand $SHELL
2253 if eval "$MISSING --is-lightweight"; then
2254 am_missing_run="$MISSING "
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2258 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2261 if test x"${install_sh+set}" != xset; then
2264 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2266 install_sh="\${SHELL} $am_aux_dir/install-sh"
2270 # Installed binaries are usually stripped using 'strip' when the user
2271 # run "make install-strip". However 'strip' might not be the right
2272 # tool to use in cross-compilation environments, therefore Automake
2273 # will honor the 'STRIP' environment variable to overrule this program.
2274 if test "$cross_compiling" != no; then
2275 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2277 set dummy ${ac_tool_prefix}strip; ac_word=$2
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2279 $as_echo_n "checking for $ac_word... " >&6; }
2280 if ${ac_cv_prog_STRIP+:} false; then :
2281 $as_echo_n "(cached) " >&6
2283 if test -n "$STRIP"; then
2284 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 STRIP=$ac_cv_prog_STRIP
2304 if test -n "$STRIP"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2306 $as_echo "$STRIP" >&6; }
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309 $as_echo "no" >&6; }
2314 if test -z "$ac_cv_prog_STRIP"; then
2316 # Extract the first word of "strip", so it can be a program name with args.
2317 set dummy strip; ac_word=$2
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2319 $as_echo_n "checking for $ac_word... " >&6; }
2320 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2321 $as_echo_n "(cached) " >&6
2323 if test -n "$ac_ct_STRIP"; then
2324 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 ac_cv_prog_ac_ct_STRIP="strip"
2334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2344 if test -n "$ac_ct_STRIP"; then
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2346 $as_echo "$ac_ct_STRIP" >&6; }
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2349 $as_echo "no" >&6; }
2352 if test "x$ac_ct_STRIP" = x; then
2355 case $cross_compiling:$ac_tool_warned in
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2359 ac_tool_warned=yes ;;
2364 STRIP="$ac_cv_prog_STRIP"
2368 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2371 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2372 if test -z "$MKDIR_P"; then
2373 if ${ac_cv_path_mkdir+:} false; then :
2374 $as_echo_n "(cached) " >&6
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2380 test -z "$as_dir" && as_dir=.
2381 for ac_prog in mkdir gmkdir; do
2382 for ac_exec_ext in '' $ac_executable_extensions; do
2383 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2384 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2385 'mkdir (GNU coreutils) '* | \
2386 'mkdir (coreutils) '* | \
2387 'mkdir (fileutils) '4.1*)
2388 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2398 test -d ./--version && rmdir ./--version
2399 if test "${ac_cv_path_mkdir+set}" = set; then
2400 MKDIR_P="$ac_cv_path_mkdir -p"
2402 # As a last resort, use the slow shell script. Don't cache a
2403 # value for MKDIR_P within a source directory, because that will
2404 # break other packages using the cache if that directory is
2405 # removed, or if the value is a relative name.
2406 MKDIR_P="$ac_install_sh -d"
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2410 $as_echo "$MKDIR_P" >&6; }
2412 for ac_prog in gawk mawk nawk awk
2414 # Extract the first word of "$ac_prog", so it can be a program name with args.
2415 set dummy $ac_prog; ac_word=$2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if ${ac_cv_prog_AWK+:} false; then :
2419 $as_echo_n "(cached) " >&6
2421 if test -n "$AWK"; then
2422 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_AWK="$ac_prog"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$AWK"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2444 $as_echo "$AWK" >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2451 test -n "$AWK" && break
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2455 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2457 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2458 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 cat >conftest.make <<\_ACEOF
2464 @echo '@@@%%%=$(MAKE)=@@@%%%'
2466 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2467 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2469 eval ac_cv_prog_make_${ac_make}_set=yes;;
2471 eval ac_cv_prog_make_${ac_make}_set=no;;
2475 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2477 $as_echo "yes" >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2482 SET_MAKE="MAKE=${MAKE-make}"
2485 rm -rf .tst 2>/dev/null
2486 mkdir .tst 2>/dev/null
2487 if test -d .tst; then
2492 rmdir .tst 2>/dev/null
2494 # Check whether --enable-silent-rules was given.
2495 if test "${enable_silent_rules+set}" = set; then :
2496 enableval=$enable_silent_rules;
2499 case $enable_silent_rules in # (((
2500 yes) AM_DEFAULT_VERBOSITY=0;;
2501 no) AM_DEFAULT_VERBOSITY=1;;
2502 *) AM_DEFAULT_VERBOSITY=1;;
2504 am_make=${MAKE-make}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2506 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2507 if ${am_cv_make_support_nested_variables+:} false; then :
2508 $as_echo_n "(cached) " >&6
2510 if $as_echo 'TRUE=$(BAR$(V))
2516 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2517 am_cv_make_support_nested_variables=yes
2519 am_cv_make_support_nested_variables=no
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2523 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2524 if test $am_cv_make_support_nested_variables = yes; then
2526 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2528 AM_V=$AM_DEFAULT_VERBOSITY
2529 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2533 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2534 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2535 # is not polluted with repeated "-I."
2536 am__isrc=' -I$(srcdir)'
2537 # test to see if srcdir already configured
2538 if test -f $srcdir/config.status; then
2539 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2543 # test whether we have cygpath
2544 if test -z "$CYGPATH_W"; then
2545 if (cygpath --version) >/dev/null 2>/dev/null; then
2546 CYGPATH_W='cygpath -w'
2553 # Define the identity of the package.
2558 cat >>confdefs.h <<_ACEOF
2559 #define PACKAGE "$PACKAGE"
2563 cat >>confdefs.h <<_ACEOF
2564 #define VERSION "$VERSION"
2567 # Some tools Automake needs.
2569 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2572 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2575 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2578 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2581 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2583 # For better backward compatibility. To be removed once Automake 1.9.x
2584 # dies out for good. For more background, see:
2585 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2586 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2587 mkdir_p='$(MKDIR_P)'
2589 # We need awk for the "check" target (and possibly the TAP driver). The
2590 # system "awk" is bad on some platforms.
2591 # Always define AMTAR for backward compatibility. Yes, it's still used
2592 # in the wild :-( We should find a proper way to deprecate it ...
2596 # We'll loop over all known methods to create a tar archive until one works.
2597 _am_tools='gnutar pax cpio none'
2599 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2606 # POSIX will say in a future version that running "rm -f" with no argument
2607 # is OK; and we want to be able to make that assumption in our Makefile
2608 # recipes. So use an aggressive probe to check that the usage we want is
2609 # actually supported "in the wild" to an acceptable degree.
2610 # See automake bug#10828.
2611 # To make any issue more visible, cause the running configure to be aborted
2612 # by default if the 'rm' program in use doesn't match our expectations; the
2613 # user can still override this though.
2614 if rm -f && rm -fr && rm -rf; then : OK; else
2618 Your 'rm' program seems unable to run without file operands specified
2619 on the command line, even when the '-f' option is present. This is contrary
2620 to the behaviour of most rm programs out there, and not conforming with
2621 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2623 Please tell bug-automake@gnu.org about your system, including the value
2624 of your $PATH and any error possibly output before this message. This
2625 can help us improve future automake versions.
2628 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2629 echo 'Configuration will proceed anyway, since you have set the' >&2
2630 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2634 Aborting the configuration process, to ensure you take notice of the issue.
2636 You can download and install GNU coreutils to get an 'rm' implementation
2637 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2639 If you want to complete the configuration process using your problematic
2640 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2641 to "yes", and re-run configure.
2644 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2650 ac_cpp='$CPP $CPPFLAGS'
2651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_CC+:} false; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2672 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2685 $as_echo "$CC" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2693 if test -z "$ac_cv_prog_CC"; then
2695 # Extract the first word of "gcc", so it can be a program name with args.
2696 set dummy gcc; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir=.
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_CC="gcc"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2723 if test -n "$ac_ct_CC"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2725 $as_echo "$ac_ct_CC" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2731 if test "x$ac_ct_CC" = x; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned=yes ;;
2746 if test -z "$CC"; then
2747 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2749 set dummy ${ac_tool_prefix}cc; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_CC+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$CC"; then
2756 ac_cv_prog_CC="$CC" # Let the user override the test.
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_CC="${ac_tool_prefix}cc"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$CC"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2778 $as_echo "$CC" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2787 if test -z "$CC"; then
2788 # Extract the first word of "cc", so it can be a program name with args.
2789 set dummy cc; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_CC+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC="$CC" # Let the user override the test.
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir=.
2804 for ac_exec_ext in '' $ac_executable_extensions; do
2805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2806 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2807 ac_prog_rejected=yes
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test $ac_prog_rejected = yes; then
2819 # We found a bogon in the path, so make sure we never use it.
2820 set dummy $ac_cv_prog_CC
2822 if test $# != 0; then
2823 # We chose a different compiler from the bogus one.
2824 # However, it has the same basename, so the bogon will be chosen
2825 # first if we set CC to just the basename; use the full file name.
2827 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2833 if test -n "$CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2835 $as_echo "$CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2843 if test -z "$CC"; then
2844 if test -n "$ac_tool_prefix"; then
2845 for ac_prog in cl.exe
2847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_CC+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 if test -n "$CC"; then
2855 ac_cv_prog_CC="$CC" # Let the user override the test.
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 if test -n "$CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2877 $as_echo "$CC" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2884 test -n "$CC" && break
2887 if test -z "$CC"; then
2889 for ac_prog in cl.exe
2891 # Extract the first word of "$ac_prog", so it can be a program name with args.
2892 set dummy $ac_prog; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$ac_ct_CC"; then
2899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_ac_ct_CC="$ac_prog"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2919 if test -n "$ac_ct_CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2921 $as_echo "$ac_ct_CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2928 test -n "$ac_ct_CC" && break
2931 if test "x$ac_ct_CC" = x; then
2934 case $cross_compiling:$ac_tool_warned in
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938 ac_tool_warned=yes ;;
2947 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 as_fn_error $? "no acceptable C compiler found in \$PATH
2950 See \`config.log' for more details" "$LINENO" 5; }
2952 # Provide some information about the compiler.
2953 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2956 for ac_option in --version -v -V -qversion; do
2957 { { ac_try="$ac_compiler $ac_option >&5"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2966 if test -s conftest.err; then
2968 ... rest of stderr output deleted ...
2969 10q' conftest.err >conftest.er1
2970 cat conftest.er1 >&5
2972 rm -f conftest.er1 conftest.err
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2988 ac_clean_files_save=$ac_clean_files
2989 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2990 # Try to create an executable without -o first, disregard a.out.
2991 # It will help us diagnose broken compilers, and finding out an intuition
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2994 $as_echo_n "checking whether the C compiler works... " >&6; }
2995 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2997 # The possible output files:
2998 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3001 for ac_file in $ac_files
3004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3005 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3010 if { { ac_try="$ac_link_default"
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017 (eval "$ac_link_default") 2>&5
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; }; then :
3021 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3022 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3023 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3024 # so that the user can short-circuit this test for compilers unknown to
3026 for ac_file in $ac_files ''
3028 test -f "$ac_file" || continue
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3033 # We found the default executable, but exeext='' is most
3037 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3039 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3041 # We set ac_cv_exeext here because the later test for it is not
3042 # safe: cross compilers may not add the suffix if given an `-o'
3043 # argument, so we may need to know it at that point already.
3044 # Even if this section looks crufty: it has the advantage of
3051 test "$ac_cv_exeext" = no && ac_cv_exeext=
3056 if test -z "$ac_file"; then :
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3059 $as_echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3064 as_fn_error 77 "C compiler cannot create executables
3065 See \`config.log' for more details" "$LINENO" 5; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3068 $as_echo "yes" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3071 $as_echo_n "checking for C compiler default output file name... " >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3073 $as_echo "$ac_file" >&6; }
3074 ac_exeext=$ac_cv_exeext
3076 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3077 ac_clean_files=$ac_clean_files_save
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3079 $as_echo_n "checking for suffix of executables... " >&6; }
3080 if { { ac_try="$ac_link"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_link") 2>&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }; then :
3091 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3092 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3093 # work properly (i.e., refer to `conftest.exe'), while it won't with
3095 for ac_file in conftest.exe conftest conftest.*; do
3096 test -f "$ac_file" || continue
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3099 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3108 See \`config.log' for more details" "$LINENO" 5; }
3110 rm -f conftest conftest$ac_cv_exeext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3112 $as_echo "$ac_cv_exeext" >&6; }
3114 rm -f conftest.$ac_ext
3115 EXEEXT=$ac_cv_exeext
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3123 FILE *f = fopen ("conftest.out", "w");
3124 return ferror (f) || fclose (f) != 0;
3130 ac_clean_files="$ac_clean_files conftest.out"
3131 # Check that the compiler produces executables we can run. If not, either
3132 # the compiler is broken, or we cross compile.
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3134 $as_echo_n "checking whether we are cross compiling... " >&6; }
3135 if test "$cross_compiling" != yes; then
3136 { { ac_try="$ac_link"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_link") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }
3147 if { ac_try='./conftest$ac_cv_exeext'
3148 { { case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_try") 2>&5
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }; }; then
3160 if test "$cross_compiling" = maybe; then
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error $? "cannot run C compiled programs.
3166 If you meant to cross compile, use \`--host'.
3167 See \`config.log' for more details" "$LINENO" 5; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3172 $as_echo "$cross_compiling" >&6; }
3174 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3175 ac_clean_files=$ac_clean_files_save
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3177 $as_echo_n "checking for suffix of object files... " >&6; }
3178 if ${ac_cv_objext+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3192 rm -f conftest.o conftest.obj
3193 if { { ac_try="$ac_compile"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_compile") 2>&5
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }; then :
3204 for ac_file in conftest.o conftest.obj conftest.*; do
3205 test -f "$ac_file" || continue;
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3208 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3213 $as_echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218 as_fn_error $? "cannot compute suffix of object files: cannot compile
3219 See \`config.log' for more details" "$LINENO" 5; }
3221 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3224 $as_echo "$ac_cv_objext" >&6; }
3225 OBJEXT=$ac_cv_objext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3228 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3229 if ${ac_cv_c_compiler_gnu+:} false; then :
3230 $as_echo_n "(cached) " >&6
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3246 if ac_fn_c_try_compile "$LINENO"; then :
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3256 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3257 if test $ac_compiler_gnu = yes; then
3262 ac_test_CFLAGS=${CFLAGS+set}
3263 ac_save_CFLAGS=$CFLAGS
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3265 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3266 if ${ac_cv_prog_cc_g+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 ac_save_c_werror_flag=$ac_c_werror_flag
3270 ac_c_werror_flag=yes
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 if ac_fn_c_try_compile "$LINENO"; then :
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 if ac_fn_c_try_compile "$LINENO"; then :
3302 ac_c_werror_flag=$ac_save_c_werror_flag
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 ac_c_werror_flag=$ac_save_c_werror_flag
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3326 $as_echo "$ac_cv_prog_cc_g" >&6; }
3327 if test "$ac_test_CFLAGS" = set; then
3328 CFLAGS=$ac_save_CFLAGS
3329 elif test $ac_cv_prog_cc_g = yes; then
3330 if test "$GCC" = yes; then
3336 if test "$GCC" = yes; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3343 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3344 if ${ac_cv_prog_cc_c89+:} false; then :
3345 $as_echo_n "(cached) " >&6
3347 ac_cv_prog_cc_c89=no
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3354 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3355 struct buf { int x; };
3356 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3357 static char *e (p, i)
3363 static char *f (char * (*g) (char **, int), char **p, ...)
3368 s = g (p, va_arg (v,int));
3373 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3374 function prototypes and stuff, but not '\xHH' hex character constants.
3375 These don't provoke an error unfortunately, instead are silently treated
3376 as 'x'. The following induces an error, until -std is added to get
3377 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3378 array size at least. It's necessary to write '\x00'==0 to get something
3379 that's true only with -std. */
3380 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3382 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3383 inside strings and character constants. */
3385 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3387 int test (int i, double x);
3388 struct s1 {int (*f) (int a);};
3389 struct s2 {int (*f) (double a);};
3390 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3396 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3401 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3402 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3404 CC="$ac_save_CC $ac_arg"
3405 if ac_fn_c_try_compile "$LINENO"; then :
3406 ac_cv_prog_cc_c89=$ac_arg
3408 rm -f core conftest.err conftest.$ac_objext
3409 test "x$ac_cv_prog_cc_c89" != "xno" && break
3411 rm -f conftest.$ac_ext
3416 case "x$ac_cv_prog_cc_c89" in
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3419 $as_echo "none needed" >&6; } ;;
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3422 $as_echo "unsupported" >&6; } ;;
3424 CC="$CC $ac_cv_prog_cc_c89"
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3426 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3428 if test "x$ac_cv_prog_cc_c89" != xno; then :
3433 ac_cpp='$CPP $CPPFLAGS'
3434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3444 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3445 if ${am_cv_prog_cc_c_o+:} false; then :
3446 $as_echo_n "(cached) " >&6
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3459 # Make sure it works both with $CC and with simple cc.
3460 # Following AC_PROG_CC_C_O, we do the test twice because some
3461 # compilers refuse to overwrite an existing .o file with -o,
3462 # though they will create one.
3463 am_cv_prog_cc_c_o=yes
3465 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3466 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } \
3470 && test -f conftest2.$ac_objext; then
3473 am_cv_prog_cc_c_o=no
3477 rm -f core conftest*
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3481 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3482 if test "$am_cv_prog_cc_c_o" != yes; then
3483 # Losing compiler, so override with the script.
3484 # FIXME: It is wrong to rewrite CC.
3485 # But if we don't then we get into trouble of one sort or another.
3486 # A longer-term fix would be to have automake use am__CC in this case,
3487 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3488 CC="$am_aux_dir/compile $CC"
3491 ac_cpp='$CPP $CPPFLAGS'
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 DEPDIR="${am__leading_dot}deps"
3498 ac_config_commands="$ac_config_commands depfiles"
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3501 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3502 cat > confinc.mk << 'END'
3504 @echo this is the am__doit target >confinc.out
3509 # BSD make does it like this.
3510 echo '.include "confinc.mk" # ignored' > confmf.BSD
3511 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3512 echo 'include confinc.mk # ignored' > confmf.GNU
3514 for s in GNU BSD; do
3515 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3516 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }
3520 case $?:`cat confinc.out 2>/dev/null` in #(
3521 '0:this is the am__doit target') :
3524 am__include='.include' am__quote='"' ;; #(
3526 am__include='include' am__quote='' ;;
3531 if test "$am__include" != "#"; then
3532 _am_result="yes ($s style)"
3536 rm -f confinc.* confmf.*
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3538 $as_echo "${_am_result}" >&6; }
3540 # Check whether --enable-dependency-tracking was given.
3541 if test "${enable_dependency_tracking+set}" = set; then :
3542 enableval=$enable_dependency_tracking;
3545 if test "x$enable_dependency_tracking" != xno; then
3546 am_depcomp="$ac_aux_dir/depcomp"
3550 if test "x$enable_dependency_tracking" != xno; then
3560 depcc="$CC" am_compiler_list=
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3563 $as_echo_n "checking dependency style of $depcc... " >&6; }
3564 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3568 # We make a subdir and do the tests there. Otherwise we can end up
3569 # making bogus files that we don't know about and never remove. For
3570 # instance it was reported that on HP-UX the gcc test will end up
3571 # making a dummy file named 'D' -- because '-MD' means "put the output
3575 # Copy depcomp to subdir because otherwise we won't find it if we're
3576 # using a relative directory.
3577 cp "$am_depcomp" conftest.dir
3579 # We will build objects and dependencies in a subdirectory because
3580 # it helps to detect inapplicable dependency modes. For instance
3581 # both Tru64's cc and ICC support -MD to output dependencies as a
3582 # side effect of compilation, but ICC will put the dependencies in
3583 # the current directory while Tru64 will put them in the object
3587 am_cv_CC_dependencies_compiler_type=none
3588 if test "$am_compiler_list" = ""; then
3589 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3592 case " $depcc " in #(
3593 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3596 for depmode in $am_compiler_list; do
3597 # Setup a source with many dependencies, because some compilers
3598 # like to wrap large dependency lists on column 80 (with \), and
3599 # we should not choose a depcomp mode which is confused by this.
3601 # We need to recreate these files for each test, as the compiler may
3602 # overwrite some of them when testing with obscure command lines.
3603 # This happens at least with the AIX C compiler.
3605 for i in 1 2 3 4 5 6; do
3606 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3607 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3608 # Solaris 10 /bin/sh.
3609 echo '/* dummy */' > sub/conftst$i.h
3611 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3613 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3614 # mode. It turns out that the SunPro C++ compiler does not properly
3615 # handle '-M -o', and we need to detect this. Also, some Intel
3616 # versions had trouble with output in subdirs.
3617 am__obj=sub/conftest.${OBJEXT-o}
3618 am__minus_obj="-o $am__obj"
3621 # This depmode causes a compiler race in universal mode.
3622 test "$am__universal" = false || continue
3625 # After this tag, mechanisms are not by side-effect, so they'll
3626 # only be used when explicitly requested.
3627 if test "x$enable_dependency_tracking" = xyes; then
3633 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3634 # This compiler won't grok '-c -o', but also, the minuso test has
3635 # not run yet. These depmodes are late enough in the game, and
3636 # so weak that their functioning should not be impacted.
3637 am__obj=conftest.${OBJEXT-o}
3642 if depmode=$depmode \
3643 source=sub/conftest.c object=$am__obj \
3644 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3645 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3646 >/dev/null 2>conftest.err &&
3647 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3648 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3649 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3650 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3651 # icc doesn't choke on unknown options, it will just issue warnings
3652 # or remarks (even with -Werror). So we grep stderr for any message
3653 # that says an option was ignored or not supported.
3654 # When given -MP, icc 7.0 and 7.1 complain thusly:
3655 # icc: Command line warning: ignoring option '-M'; no argument required
3656 # The diagnosis changed in icc 8.0:
3657 # icc: Command line remark: option '-MP' not supported
3658 if (grep 'ignoring option' conftest.err ||
3659 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3660 am_cv_CC_dependencies_compiler_type=$depmode
3669 am_cv_CC_dependencies_compiler_type=none
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3674 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3675 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3678 test "x$enable_dependency_tracking" != xno \
3679 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3681 am__fastdepCC_FALSE='#'
3683 am__fastdepCC_TRUE='#'
3684 am__fastdepCC_FALSE=
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3696 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3697 # On Suns, sometimes $CPP names a directory.
3698 if test -n "$CPP" && test -d "$CPP"; then
3701 if test -z "$CPP"; then
3702 if ${ac_cv_prog_CPP+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 # Double quotes because CPP needs to be expanded
3706 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3709 for ac_c_preproc_warn_flag in '' yes
3711 # Use a header file that comes with gcc, so configuring glibc
3712 # with a fresh cross-compiler works.
3713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714 # <limits.h> exists even on freestanding compilers.
3715 # On the NeXT, cc -E runs the code through the compiler's parser,
3716 # not just through cpp. "Syntax error" is here to catch this case.
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3720 # include <limits.h>
3722 # include <assert.h>
3726 if ac_fn_c_try_cpp "$LINENO"; then :
3729 # Broken: fails on valid input.
3732 rm -f conftest.err conftest.i conftest.$ac_ext
3734 # OK, works on sane cases. Now check whether nonexistent headers
3735 # can be detected and how.
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if ac_fn_c_try_cpp "$LINENO"; then :
3741 # Broken: success on invalid input.
3744 # Passes both tests.
3748 rm -f conftest.err conftest.i conftest.$ac_ext
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.i conftest.err conftest.$ac_ext
3753 if $ac_preproc_ok; then :
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3766 $as_echo "$CPP" >&6; }
3768 for ac_c_preproc_warn_flag in '' yes
3770 # Use a header file that comes with gcc, so configuring glibc
3771 # with a fresh cross-compiler works.
3772 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3773 # <limits.h> exists even on freestanding compilers.
3774 # On the NeXT, cc -E runs the code through the compiler's parser,
3775 # not just through cpp. "Syntax error" is here to catch this case.
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3779 # include <limits.h>
3781 # include <assert.h>
3785 if ac_fn_c_try_cpp "$LINENO"; then :
3788 # Broken: fails on valid input.
3791 rm -f conftest.err conftest.i conftest.$ac_ext
3793 # OK, works on sane cases. Now check whether nonexistent headers
3794 # can be detected and how.
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3797 #include <ac_nonexistent.h>
3799 if ac_fn_c_try_cpp "$LINENO"; then :
3800 # Broken: success on invalid input.
3803 # Passes both tests.
3807 rm -f conftest.err conftest.i conftest.$ac_ext
3810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3811 rm -f conftest.i conftest.err conftest.$ac_ext
3812 if $ac_preproc_ok; then :
3815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3817 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3818 See \`config.log' for more details" "$LINENO" 5; }
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3829 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3830 if ${ac_cv_path_GREP+:} false; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -z "$GREP"; then
3834 ac_path_GREP_found=false
3835 # Loop through the user's path and test for each of PROGNAME-LIST
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3840 test -z "$as_dir" && as_dir=.
3841 for ac_prog in grep ggrep; do
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3844 as_fn_executable_p "$ac_path_GREP" || continue
3845 # Check for GNU ac_path_GREP and select it if it is found.
3846 # Check for GNU $ac_path_GREP
3847 case `"$ac_path_GREP" --version 2>&1` in
3849 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3852 $as_echo_n 0123456789 >"conftest.in"
3855 cat "conftest.in" "conftest.in" >"conftest.tmp"
3856 mv "conftest.tmp" "conftest.in"
3857 cp "conftest.in" "conftest.nl"
3858 $as_echo 'GREP' >> "conftest.nl"
3859 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3860 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3861 as_fn_arith $ac_count + 1 && ac_count=$as_val
3862 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3863 # Best one so far, save it but keep looking for a better one
3864 ac_cv_path_GREP="$ac_path_GREP"
3865 ac_path_GREP_max=$ac_count
3867 # 10*(2^10) chars as input seems more than enough
3868 test $ac_count -gt 10 && break
3870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3873 $ac_path_GREP_found && break 3
3878 if test -z "$ac_cv_path_GREP"; then
3879 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3882 ac_cv_path_GREP=$GREP
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3887 $as_echo "$ac_cv_path_GREP" >&6; }
3888 GREP="$ac_cv_path_GREP"
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3892 $as_echo_n "checking for egrep... " >&6; }
3893 if ${ac_cv_path_EGREP+:} false; then :
3894 $as_echo_n "(cached) " >&6
3896 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3897 then ac_cv_path_EGREP="$GREP -E"
3899 if test -z "$EGREP"; then
3900 ac_path_EGREP_found=false
3901 # Loop through the user's path and test for each of PROGNAME-LIST
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3906 test -z "$as_dir" && as_dir=.
3907 for ac_prog in egrep; do
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3910 as_fn_executable_p "$ac_path_EGREP" || continue
3911 # Check for GNU ac_path_EGREP and select it if it is found.
3912 # Check for GNU $ac_path_EGREP
3913 case `"$ac_path_EGREP" --version 2>&1` in
3915 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3918 $as_echo_n 0123456789 >"conftest.in"
3921 cat "conftest.in" "conftest.in" >"conftest.tmp"
3922 mv "conftest.tmp" "conftest.in"
3923 cp "conftest.in" "conftest.nl"
3924 $as_echo 'EGREP' >> "conftest.nl"
3925 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3926 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3927 as_fn_arith $ac_count + 1 && ac_count=$as_val
3928 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3929 # Best one so far, save it but keep looking for a better one
3930 ac_cv_path_EGREP="$ac_path_EGREP"
3931 ac_path_EGREP_max=$ac_count
3933 # 10*(2^10) chars as input seems more than enough
3934 test $ac_count -gt 10 && break
3936 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939 $ac_path_EGREP_found && break 3
3944 if test -z "$ac_cv_path_EGREP"; then
3945 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3948 ac_cv_path_EGREP=$EGREP
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3954 $as_echo "$ac_cv_path_EGREP" >&6; }
3955 EGREP="$ac_cv_path_EGREP"
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3959 $as_echo_n "checking for ANSI C header files... " >&6; }
3960 if ${ac_cv_header_stdc+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3978 if ac_fn_c_try_compile "$LINENO"; then :
3979 ac_cv_header_stdc=yes
3981 ac_cv_header_stdc=no
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 if test $ac_cv_header_stdc = yes; then
3986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3993 $EGREP "memchr" >/dev/null 2>&1; then :
3996 ac_cv_header_stdc=no
4002 if test $ac_cv_header_stdc = yes; then
4003 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4010 $EGREP "free" >/dev/null 2>&1; then :
4013 ac_cv_header_stdc=no
4019 if test $ac_cv_header_stdc = yes; then
4020 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4021 if test "$cross_compiling" = yes; then :
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4028 #if ((' ' & 0x0FF) == 0x020)
4029 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4030 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4032 # define ISLOWER(c) \
4033 (('a' <= (c) && (c) <= 'i') \
4034 || ('j' <= (c) && (c) <= 'r') \
4035 || ('s' <= (c) && (c) <= 'z'))
4036 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4039 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4044 for (i = 0; i < 256; i++)
4045 if (XOR (islower (i), ISLOWER (i))
4046 || toupper (i) != TOUPPER (i))
4051 if ac_fn_c_try_run "$LINENO"; then :
4054 ac_cv_header_stdc=no
4056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4057 conftest.$ac_objext conftest.beam conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4063 $as_echo "$ac_cv_header_stdc" >&6; }
4064 if test $ac_cv_header_stdc = yes; then
4066 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4070 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4071 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4072 inttypes.h stdint.h unistd.h
4074 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4075 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4077 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4078 cat >>confdefs.h <<_ACEOF
4079 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4087 for ac_header in sys/inotify.h
4089 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
4090 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
4091 cat >>confdefs.h <<_ACEOF
4092 #define HAVE_SYS_INOTIFY_H 1
4100 ac_config_headers="$ac_config_headers config.h"
4102 ac_config_files="$ac_config_files Makefile"
4104 cat >confcache <<\_ACEOF
4105 # This file is a shell script that caches the results of configure
4106 # tests run on this system so they can be shared between configure
4107 # scripts and configure runs, see configure's option --config-cache.
4108 # It is not useful on other systems. If it contains results you don't
4109 # want to keep, you may remove or edit it.
4111 # config.status only pays attention to the cache file if you give it
4112 # the --recheck option to rerun configure.
4114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4120 # The following way of writing the cache mishandles newlines in values,
4121 # but we know of no workaround that is simple, portable, and efficient.
4122 # So, we kill variables containing newlines.
4123 # Ultrix sh set writes to stderr and can't be redirected directly,
4124 # and sets the high bit in the cache file unless we assign to the vars.
4126 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4127 eval ac_val=\$$ac_var
4131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4135 _ | IFS | as_nl) ;; #(
4136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4137 *) { eval $ac_var=; unset $ac_var;} ;;
4143 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4144 *${as_nl}ac_space=\ *)
4145 # `set' does not quote correctly, so add quotes: double-quote
4146 # substitution turns \\\\ into \\, and sed turns \\ into \.
4149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4152 # `set' quotes correctly as required by POSIX, so do not add quotes.
4153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4162 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4164 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4166 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4167 if test -w "$cache_file"; then
4168 if test "x$cache_file" != "x/dev/null"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4170 $as_echo "$as_me: updating cache $cache_file" >&6;}
4171 if test ! -f "$cache_file" || test -h "$cache_file"; then
4172 cat confcache >"$cache_file"
4174 case $cache_file in #(
4176 mv -f confcache "$cache_file"$$ &&
4177 mv -f "$cache_file"$$ "$cache_file" ;; #(
4179 mv -f confcache "$cache_file" ;;
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4185 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4190 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4191 # Let make expand exec_prefix.
4192 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4194 DEFS=-DHAVE_CONFIG_H
4198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4199 # 1. Remove the extension, and $U if already installed.
4200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4201 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4203 # will be set to the directory where LIBOBJS objects are built.
4204 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4205 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4209 LTLIBOBJS=$ac_ltlibobjs
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4213 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4214 if test -n "$am_sleep_pid"; then
4215 # Hide warnings about reused PIDs.
4216 wait $am_sleep_pid 2>/dev/null
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4219 $as_echo "done" >&6; }
4220 if test -n "$EXEEXT"; then
4222 am__EXEEXT_FALSE='#'
4228 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4229 as_fn_error $? "conditional \"AMDEP\" was never defined.
4230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4232 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4233 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4237 : "${CONFIG_STATUS=./config.status}"
4239 ac_clean_files_save=$ac_clean_files
4240 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4242 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4244 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4246 # Generated by $as_me.
4247 # Run this file to recreate the current configuration.
4248 # Compiler output produced by configure, useful for debugging
4249 # configure, is in config.log if it exists.
4255 SHELL=\${CONFIG_SHELL-$SHELL}
4258 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4259 ## -------------------- ##
4260 ## M4sh Initialization. ##
4261 ## -------------------- ##
4263 # Be more Bourne compatible
4264 DUALCASE=1; export DUALCASE # for MKS sh
4265 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4268 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4269 # is contrary to our usage. Disable this feature.
4270 alias -g '${1+"$@"}'='"$@"'
4271 setopt NO_GLOB_SUBST
4273 case `(set -o) 2>/dev/null` in #(
4285 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4286 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4288 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4289 # Prefer a ksh shell builtin over an external printf program on Solaris,
4290 # but without wasting forks for bash or zsh.
4291 if test -z "$BASH_VERSION$ZSH_VERSION" \
4292 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4293 as_echo='print -r --'
4294 as_echo_n='print -rn --'
4295 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4296 as_echo='printf %s\n'
4297 as_echo_n='printf %s'
4299 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4300 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4301 as_echo_n='/usr/ucb/echo -n'
4303 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4304 as_echo_n_body='eval
4308 expr "X$arg" : "X\\(.*\\)$as_nl";
4309 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4311 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4313 export as_echo_n_body
4314 as_echo_n='sh -c $as_echo_n_body as_echo'
4317 as_echo='sh -c $as_echo_body as_echo'
4320 # The user is always right.
4321 if test "${PATH_SEPARATOR+set}" != set; then
4323 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4324 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4331 # We need space, tab and new line, in precisely that order. Quoting is
4332 # there to prevent editors from complaining about space-tab.
4333 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4334 # splitting by setting IFS to empty value.)
4337 # Find who we are. Look in the path if we contain no directory separator.
4340 *[\\/]* ) as_myself=$0 ;;
4341 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir=.
4346 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4352 # We did not find ourselves, most probably we were run as `sh COMMAND'
4353 # in which case we are not to be found in the path.
4354 if test "x$as_myself" = x; then
4357 if test ! -f "$as_myself"; then
4358 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4362 # Unset variables that we do not need and which cause bugs (e.g. in
4363 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4364 # suppresses any "Segmentation fault" message there. '((' could
4365 # trigger a bug in pdksh 5.2.14.
4366 for as_var in BASH_ENV ENV MAIL MAILPATH
4367 do eval test x\${$as_var+set} = xset \
4368 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4381 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4384 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4385 # ----------------------------------------
4386 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4387 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4388 # script with STATUS, using 1 if that was 0.
4391 as_status=$1; test $as_status -eq 0 && as_status=1
4393 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4394 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4396 $as_echo "$as_me: error: $2" >&2
4397 as_fn_exit $as_status
4401 # as_fn_set_status STATUS
4402 # -----------------------
4403 # Set $? to STATUS, without forking.
4407 } # as_fn_set_status
4411 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4421 # Portably unset VAR.
4424 { eval $1=; unset $1;}
4426 as_unset=as_fn_unset
4427 # as_fn_append VAR VALUE
4428 # ----------------------
4429 # Append the text in VALUE to the end of the definition contained in VAR. Take
4430 # advantage of any shell optimizations that allow amortized linear growth over
4431 # repeated appends, instead of the typical quadratic growth present in naive
4433 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4434 eval 'as_fn_append ()
4445 # as_fn_arith ARG...
4446 # ------------------
4447 # Perform arithmetic evaluation on the ARGs, and store the result in the
4448 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4449 # must be portable across $(()) and expr.
4450 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4451 eval 'as_fn_arith ()
4458 as_val=`expr "$@" || test $? -eq 1`
4463 if expr a : '\(a\)' >/dev/null 2>&1 &&
4464 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4470 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4471 as_basename=basename
4476 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4482 as_me=`$as_basename -- "$0" ||
4483 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4484 X"$0" : 'X\(//\)$' \| \
4485 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4487 sed '/^.*\/\([^/][^/]*\)\/*$/{
4501 # Avoid depending upon Character Ranges.
4502 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4503 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4504 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4505 as_cr_digits='0123456789'
4506 as_cr_alnum=$as_cr_Letters$as_cr_digits
4508 ECHO_C= ECHO_N= ECHO_T=
4509 case `echo -n x` in #(((((
4511 case `echo 'xy\c'` in
4512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4521 rm -f conf$$ conf$$.exe conf$$.file
4522 if test -d conf$$.dir; then
4523 rm -f conf$$.dir/conf$$.file
4526 mkdir conf$$.dir 2>/dev/null
4528 if (echo >conf$$.file) 2>/dev/null; then
4529 if ln -s conf$$.file conf$$ 2>/dev/null; then
4531 # ... but there are two gotchas:
4532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4534 # In both cases, we have to default to `cp -pR'.
4535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4537 elif ln conf$$.file conf$$ 2>/dev/null; then
4545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4546 rmdir conf$$.dir 2>/dev/null
4551 # Create "$as_dir" as a directory, including parents if necessary.
4556 -*) as_dir=./$as_dir;;
4558 test -d "$as_dir" || eval $as_mkdir_p || {
4562 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4563 *) as_qdir=$as_dir;;
4565 as_dirs="'$as_qdir' $as_dirs"
4566 as_dir=`$as_dirname -- "$as_dir" ||
4567 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4568 X"$as_dir" : 'X\(//\)[^/]' \| \
4569 X"$as_dir" : 'X\(//\)$' \| \
4570 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4571 $as_echo X"$as_dir" |
4572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4589 test -d "$as_dir" && break
4591 test -z "$as_dirs" || eval "mkdir $as_dirs"
4592 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4596 if mkdir -p . 2>/dev/null; then
4597 as_mkdir_p='mkdir -p "$as_dir"'
4599 test -d ./-p && rmdir ./-p
4604 # as_fn_executable_p FILE
4605 # -----------------------
4606 # Test if FILE is an executable regular file.
4607 as_fn_executable_p ()
4609 test -f "$1" && test -x "$1"
4610 } # as_fn_executable_p
4612 as_executable_p=as_fn_executable_p
4614 # Sed expression to map a string onto a valid CPP name.
4615 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4617 # Sed expression to map a string onto a valid variable name.
4618 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4622 ## ----------------------------------- ##
4623 ## Main body of $CONFIG_STATUS script. ##
4624 ## ----------------------------------- ##
4626 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4629 # Save the log message, to keep $0 and so on meaningful, and to
4630 # report actual input values of CONFIG_FILES etc. instead of their
4631 # values after options handling.
4633 This file was extended by innduct $as_me 1.0, which was
4634 generated by GNU Autoconf 2.69. Invocation command line was
4636 CONFIG_FILES = $CONFIG_FILES
4637 CONFIG_HEADERS = $CONFIG_HEADERS
4638 CONFIG_LINKS = $CONFIG_LINKS
4639 CONFIG_COMMANDS = $CONFIG_COMMANDS
4642 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4647 case $ac_config_files in *"
4648 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4651 case $ac_config_headers in *"
4652 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4657 # Files that config.status was made for.
4658 config_files="$ac_config_files"
4659 config_headers="$ac_config_headers"
4660 config_commands="$ac_config_commands"
4664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4666 \`$as_me' instantiates files and other configuration actions
4667 from templates according to the current configuration. Unless the files
4668 and actions are specified as TAGs, all are instantiated by default.
4670 Usage: $0 [OPTION]... [TAG]...
4672 -h, --help print this help, then exit
4673 -V, --version print version number and configuration settings, then exit
4674 --config print configuration, then exit
4675 -q, --quiet, --silent
4676 do not print progress messages
4677 -d, --debug don't remove temporary files
4678 --recheck update $as_me by reconfiguring in the same conditions
4679 --file=FILE[:TEMPLATE]
4680 instantiate the configuration file FILE
4681 --header=FILE[:TEMPLATE]
4682 instantiate the configuration header FILE
4684 Configuration files:
4687 Configuration headers:
4690 Configuration commands:
4693 Report bugs to <duct.c>."
4696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4697 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4699 innduct config.status 1.0
4700 configured by $0, generated by GNU Autoconf 2.69,
4701 with options \\"\$ac_cs_config\\"
4703 Copyright (C) 2012 Free Software Foundation, Inc.
4704 This config.status script is free software; the Free Software Foundation
4705 gives unlimited permission to copy, distribute and modify it."
4712 test -n "\$AWK" || AWK=awk
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 # The default lists apply if the user does not specify any file.
4722 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4723 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4727 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4739 # Handling of the options.
4740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4742 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4743 $as_echo "$ac_cs_version"; exit ;;
4744 --config | --confi | --conf | --con | --co | --c )
4745 $as_echo "$ac_cs_config"; exit ;;
4746 --debug | --debu | --deb | --de | --d | -d )
4748 --file | --fil | --fi | --f )
4751 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4752 '') as_fn_error $? "missing file argument" ;;
4754 as_fn_append CONFIG_FILES " '$ac_optarg'"
4755 ac_need_defaults=false;;
4756 --header | --heade | --head | --hea )
4759 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4761 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4762 ac_need_defaults=false;;
4764 # Conflict between --help and --header
4765 as_fn_error $? "ambiguous option: \`$1'
4766 Try \`$0 --help' for more information.";;
4767 --help | --hel | -h )
4768 $as_echo "$ac_cs_usage"; exit ;;
4769 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4770 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4774 -*) as_fn_error $? "unrecognized option: \`$1'
4775 Try \`$0 --help' for more information." ;;
4777 *) as_fn_append ac_config_targets " $1"
4778 ac_need_defaults=false ;;
4784 ac_configure_extra_args=
4786 if $ac_cs_silent; then
4788 ac_configure_extra_args="$ac_configure_extra_args --silent"
4792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4793 if \$ac_cs_recheck; then
4794 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4796 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4797 CONFIG_SHELL='$SHELL'
4803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4807 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4808 ## Running $as_me. ##
4814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4818 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
4822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4824 # Handling of arguments.
4825 for ac_config_target in $ac_config_targets
4827 case $ac_config_target in
4828 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4829 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4830 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4832 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4837 # If the user did not use the arguments to specify the items to instantiate,
4838 # then the envvar interface is used. Set only those that are not.
4839 # We use the long form for the default assignment because of an extremely
4840 # bizarre bug on SunOS 4.1.3.
4841 if $ac_need_defaults; then
4842 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4843 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4844 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4847 # Have a temporary directory for convenience. Make it in the build tree
4848 # simply because there is no reason against having it here, and in addition,
4849 # creating and moving files from /tmp can sometimes cause problems.
4850 # Hook for its removal unless debugging.
4851 # Note that there is a small window in which the directory will not be cleaned:
4852 # after its creation but before its name has been assigned to `$tmp'.
4856 trap 'exit_status=$?
4858 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4860 trap 'as_fn_exit 1' 1 2 13 15
4862 # Create a (secure) tmp directory for tmp files.
4865 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4869 tmp=./conf$$-$RANDOM
4870 (umask 077 && mkdir "$tmp")
4871 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4874 # Set up the scripts for CONFIG_FILES section.
4875 # No need to generate them if there are no CONFIG_FILES.
4876 # This happens for instance with `./config.status config.h'.
4877 if test -n "$CONFIG_FILES"; then
4880 ac_cr=`echo X | tr X '\015'`
4881 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4882 # But we know of no other shell where ac_cr would be empty at this
4883 # point, so we can use a bashism as a fallback.
4884 if test "x$ac_cr" = x; then
4885 eval ac_cr=\$\'\\r\'
4887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4894 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4899 echo "cat >conf$$subs.awk <<_ACEOF" &&
4900 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4903 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4906 for ac_last_try in false false false false false :; do
4907 . ./conf$$subs.sh ||
4908 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4910 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4911 if test $ac_delim_n = $ac_delim_num; then
4913 elif $ac_last_try; then
4914 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4922 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4926 s/^/S["/; s/!.*/"]=/
4936 s/\(.\{148\}\)..*/\1/
4938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4950 s/\(.\{148\}\)..*/\1/
4952 s/["\\]/\\&/g; s/^/"/; s/$/"/
4956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4961 ' <conf$$subs.awk | sed '
4966 ' >>$CONFIG_STATUS || ac_write_fail=1
4967 rm -f conf$$subs.awk
4968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4970 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4971 for (key in S) S_is_set[key] = 1
4977 nfields = split(line, field, "@")
4979 len = length(field[1])
4980 for (i = 2; i < nfields; i++) {
4982 keylen = length(key)
4983 if (S_is_set[key]) {
4985 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4986 len += length(value) + length(field[++i])
4997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4998 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4999 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5002 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5003 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5006 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5007 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5008 # trailing colons and then remove the whole line if VPATH becomes empty
5009 # (actually we leave an empty line to preserve line numbers).
5010 if test "x$srcdir" = x.; then
5011 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5030 fi # test -n "$CONFIG_FILES"
5032 # Set up the scripts for CONFIG_HEADERS section.
5033 # No need to generate them if there are no CONFIG_HEADERS.
5034 # This happens for instance with `./config.status Makefile'.
5035 if test -n "$CONFIG_HEADERS"; then
5036 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5040 # Transform confdefs.h into an awk script `defines.awk', embedded as
5041 # here-document in config.status, that substitutes the proper values into
5042 # config.h.in to produce config.h.
5044 # Create a delimiter string that does not exist in confdefs.h, to ease
5045 # handling of long lines.
5047 for ac_last_try in false false :; do
5048 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5049 if test -z "$ac_tt"; then
5051 elif $ac_last_try; then
5052 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5058 # For the awk script, D is an array of macro values keyed by name,
5059 # likewise P contains macro parameters if any. Preserve backslash
5060 # newline sequences.
5062 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5064 s/.\{148\}/&'"$ac_delim"'/g
5067 s/^[ ]*#[ ]*define[ ][ ]*/ /
5074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5076 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5081 D["\1"]=" \3\\\\\\n"\\/p
5083 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5088 s/.\{148\}/&'"$ac_delim"'/g
5093 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5096 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5098 ' <confdefs.h | sed '
5099 s/'"$ac_delim"'/"\\\
5100 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5103 for (key in D) D_is_set[key] = 1
5106 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5108 split(line, arg, " ")
5109 if (arg[1] == "#") {
5113 defundef = substr(arg[1], 2)
5116 split(mac1, mac2, "(") #)
5118 prefix = substr(line, 1, index(line, defundef) - 1)
5119 if (D_is_set[macro]) {
5120 # Preserve the white space surrounding the "#".
5121 print prefix "define", macro P[macro] D[macro]
5124 # Replace #undef with comments. This is necessary, for example,
5125 # in the case of _POSIX_SOURCE, which is predefined and required
5126 # on some systems where configure will not decide to define it.
5127 if (defundef == "undef") {
5128 print "/*", prefix defundef, macro, "*/"
5136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5137 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5138 fi # test -n "$CONFIG_HEADERS"
5141 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5146 :[FHLC]) ac_mode=$ac_tag; continue;;
5148 case $ac_mode$ac_tag in
5150 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5151 :[FH]-) ac_tag=-:-;;
5152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5169 -) ac_f="$ac_tmp/stdin";;
5170 *) # Look for the file first in the build tree, then in the source tree
5171 # (if the path is not absolute). The absolute path cannot be DOS-style,
5172 # because $ac_f cannot contain `:'.
5176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5178 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5180 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5181 as_fn_append ac_file_inputs " '$ac_f'"
5184 # Let's still pretend it is `configure' which instantiates (i.e., don't
5185 # use $as_me), people would be surprised to read:
5186 # /* config.h. Generated by config.status. */
5187 configure_input='Generated from '`
5188 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5190 if test x"$ac_file" != x-; then
5191 configure_input="$ac_file. $configure_input"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5193 $as_echo "$as_me: creating $ac_file" >&6;}
5195 # Neutralize special characters interpreted by sed in replacement strings.
5196 case $configure_input in #(
5197 *\&* | *\|* | *\\* )
5198 ac_sed_conf_input=`$as_echo "$configure_input" |
5199 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5200 *) ac_sed_conf_input=$configure_input;;
5204 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5210 ac_dir=`$as_dirname -- "$ac_file" ||
5211 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5212 X"$ac_file" : 'X\(//\)[^/]' \| \
5213 X"$ac_file" : 'X\(//\)$' \| \
5214 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5215 $as_echo X"$ac_file" |
5216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5233 as_dir="$ac_dir"; as_fn_mkdir_p
5237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5239 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5240 # A ".." for each directory in $ac_dir_suffix.
5241 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5242 case $ac_top_builddir_sub in
5243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5247 ac_abs_top_builddir=$ac_pwd
5248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5249 # for backward compatibility:
5250 ac_top_builddir=$ac_top_build_prefix
5253 .) # We are building in place.
5255 ac_top_srcdir=$ac_top_builddir_sub
5256 ac_abs_top_srcdir=$ac_pwd ;;
5257 [\\/]* | ?:[\\/]* ) # Absolute name.
5258 ac_srcdir=$srcdir$ac_dir_suffix;
5259 ac_top_srcdir=$srcdir
5260 ac_abs_top_srcdir=$srcdir ;;
5262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5263 ac_top_srcdir=$ac_top_build_prefix$srcdir
5264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5276 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5277 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5281 [\\/$]* | ?:[\\/]* ) ;;
5282 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5287 # If the template does not know about datarootdir, expand it.
5288 # FIXME: This hack should be removed a few years after 2.60.
5289 ac_datarootdir_hack=; ac_datarootdir_seen=
5300 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5301 *datarootdir*) ac_datarootdir_seen=yes;;
5302 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5304 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5307 ac_datarootdir_hack='
5308 s&@datadir@&$datadir&g
5309 s&@docdir@&$docdir&g
5310 s&@infodir@&$infodir&g
5311 s&@localedir@&$localedir&g
5312 s&@mandir@&$mandir&g
5313 s&\\\${datarootdir}&$datarootdir&g' ;;
5317 # Neutralize VPATH when `$srcdir' = `.'.
5318 # Shell code in configure.ac might set extrasub.
5319 # FIXME: do we really want to maintain this feature?
5320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5321 ac_sed_extra="$ac_vpsub
5324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5327 s|@configure_input@|$ac_sed_conf_input|;t t
5328 s&@top_builddir@&$ac_top_builddir_sub&;t t
5329 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5330 s&@srcdir@&$ac_srcdir&;t t
5331 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5332 s&@top_srcdir@&$ac_top_srcdir&;t t
5333 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5334 s&@builddir@&$ac_builddir&;t t
5335 s&@abs_builddir@&$ac_abs_builddir&;t t
5336 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5337 s&@INSTALL@&$ac_INSTALL&;t t
5338 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5339 $ac_datarootdir_hack
5341 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5342 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5344 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5345 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5346 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5347 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5349 which seems to be undefined. Please make sure it is defined" >&5
5350 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5351 which seems to be undefined. Please make sure it is defined" >&2;}
5353 rm -f "$ac_tmp/stdin"
5355 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5356 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5364 if test x"$ac_file" != x-; then
5366 $as_echo "/* $configure_input */" \
5367 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5368 } >"$ac_tmp/config.h" \
5369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5370 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5372 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5375 mv "$ac_tmp/config.h" "$ac_file" \
5376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5379 $as_echo "/* $configure_input */" \
5380 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5381 || as_fn_error $? "could not create -" "$LINENO" 5
5383 # Compute "$ac_file"'s index in $config_headers.
5386 for _am_header in $config_headers :; do
5388 $_am_arg | $_am_arg:* )
5391 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5394 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5395 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5396 X"$_am_arg" : 'X\(//\)[^/]' \| \
5397 X"$_am_arg" : 'X\(//\)$' \| \
5398 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5399 $as_echo X"$_am_arg" |
5400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5416 s/.*/./; q'`/stamp-h$_am_stamp_count
5419 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5420 $as_echo "$as_me: executing $ac_file commands" >&6;}
5425 case $ac_file$ac_mode in
5426 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5427 # Older Autoconf quotes --file arguments for eval, but not when files
5428 # are listed without --file. Let's play safe and only enable the eval
5429 # if we detect the quoting.
5430 # TODO: see whether this extra hack can be removed once we start
5431 # requiring Autoconf 2.70 or later.
5432 case $CONFIG_FILES in #(
5434 eval set x "$CONFIG_FILES" ;; #(
5436 set x $CONFIG_FILES ;; #(
5441 # Used to flag and report bootstrapping failures.
5445 # Strip MF so we end up with the name of the file.
5446 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5447 # Check whether this is an Automake generated Makefile which includes
5448 # dependency-tracking related rules and includes.
5449 # Grep'ing the whole file directly is not great: AIX grep has a line
5450 # limit of 2048, but all sed's we know have understand at least 4000.
5451 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5453 am_dirpart=`$as_dirname -- "$am_mf" ||
5454 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5455 X"$am_mf" : 'X\(//\)[^/]' \| \
5456 X"$am_mf" : 'X\(//\)$' \| \
5457 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5458 $as_echo X"$am_mf" |
5459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5476 am_filepart=`$as_basename -- "$am_mf" ||
5477 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5478 X"$am_mf" : 'X\(//\)$' \| \
5479 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5480 $as_echo X/"$am_mf" |
5481 sed '/^.*\/\([^/][^/]*\)\/*$/{
5494 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5495 && sed -e '/# am--include-marker/d' "$am_filepart" \
5496 | $MAKE -f - am--depfiles" >&5
5498 && sed -e '/# am--include-marker/d' "$am_filepart" \
5499 | $MAKE -f - am--depfiles) >&5 2>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } || am_rc=$?
5504 if test $am_rc -ne 0; then
5505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5507 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5508 for automatic dependency tracking. Try re-running configure with the
5509 '--disable-dependency-tracking' option to at least be able to build
5510 the package (albeit without support for automatic dependency tracking).
5511 See \`config.log' for more details" "$LINENO" 5; }
5513 { am_dirpart=; unset am_dirpart;}
5514 { am_filepart=; unset am_filepart;}
5515 { am_mf=; unset am_mf;}
5516 { am_rc=; unset am_rc;}
5517 rm -f conftest-deps.mk
5527 ac_clean_files=$ac_clean_files_save
5529 test $ac_write_fail = 0 ||
5530 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5533 # configure is writing to config.log, and then calls config.status.
5534 # config.status does its own redirection, appending to config.log.
5535 # Unfortunately, on DOS this fails, as config.log is still kept open
5536 # by configure, so config.status won't be able to write to it; its
5537 # output is simply discarded. So we exec the FD to /dev/null,
5538 # effectively closing config.log, so it can be properly (re)opened and
5539 # appended to by config.status. When coming back to configure, we
5540 # need to make the FD available again.
5541 if test "$no_create" != yes; then
5543 ac_config_status_args=
5544 test "$silent" = yes &&
5545 ac_config_status_args="$ac_config_status_args --quiet"
5547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5550 # would make configure fail if this is the last instruction.
5551 $ac_cs_success || as_fn_exit 1
5553 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5555 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}