2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ctdlsh 1.0.
5 # Report bugs to <bug-automake@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: bug-automake@gnu.org about your system, including any
270 $0: error possibly output before this message. Then install
271 $0: a modern shell, or manually run the script under such a
272 $0: 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='ctdlsh'
581 PACKAGE_TARNAME='ctdlsh'
582 PACKAGE_VERSION='1.0'
583 PACKAGE_STRING='ctdlsh 1.0'
584 PACKAGE_BUGREPORT='bug-automake@gnu.org'
587 ac_subst_vars='am__EXEEXT_FALSE
620 INSTALL_STRIP_PROGRAM
662 program_transform_name
675 enable_option_checking
677 enable_dependency_tracking
680 ac_precious_vars='build_alias
690 # Initialize some variables set by options.
692 ac_init_version=false
693 ac_unrecognized_opts=
695 # The variables have the same names as the options, with
696 # dashes changed to underlines.
704 program_transform_name=s,x,x,
712 # Installation directory options.
713 # These are left unexpanded so users can "make install exec_prefix=/foo"
714 # and all the variables that are supposed to be based on exec_prefix
715 # by default will actually change.
716 # Use braces instead of parens because sh, perl, etc. also accept them.
717 # (The list follows the same order as the GNU Coding Standards.)
718 bindir='${exec_prefix}/bin'
719 sbindir='${exec_prefix}/sbin'
720 libexecdir='${exec_prefix}/libexec'
721 datarootdir='${prefix}/share'
722 datadir='${datarootdir}'
723 sysconfdir='${prefix}/etc'
724 sharedstatedir='${prefix}/com'
725 localstatedir='${prefix}/var'
726 includedir='${prefix}/include'
727 oldincludedir='/usr/include'
728 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729 infodir='${datarootdir}/info'
734 libdir='${exec_prefix}/lib'
735 localedir='${datarootdir}/locale'
736 mandir='${datarootdir}/man'
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\$ac_option
750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
807 eval enable_$ac_useropt=no ;;
809 -docdir | --docdir | --docdi | --doc | --do)
811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819 -enable-* | --enable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
833 eval enable_$ac_useropt=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
848 -help | --help | --hel | --he | -h)
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908 # Obsolete; use --without-fp.
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 -psdir | --psdir | --psdi | --psd | --ps)
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
997 -site=* | --site=* | --sit=*)
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1037 eval with_$ac_useropt=\$ac_optarg ;;
1039 -without-* | --without-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval with_$ac_useropt=no ;;
1056 # Obsolete; use --with-x.
1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060 | --x-incl | --x-inc | --x-in | --x-i)
1061 ac_prev=x_includes ;;
1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064 x_includes=$ac_optarg ;;
1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;;
1073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074 Try \`$0 --help' for more information"
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1084 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;;
1088 # FIXME: should be removed in autoconf 3.0.
1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1098 if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $? "missing argument to $ac_option"
1103 if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111 # Check all directory arguments for consistency.
1112 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1124 # Be sure to have absolute directory names.
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151 test "$silent" = yes && exec 6>/dev/null
1154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di=`ls -di .` &&
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $? "working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $? "pwd does not report name of working directory"
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 $as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1194 ac_srcdir_defaulted=no
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222 # Report the --help message.
1224 if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1228 \`configure' configures ctdlsh 1.0 to adapt to many kinds of systems.
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE. See below for descriptions of some of the useful variables.
1235 Defaults for the options are specified in brackets.
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248 Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1259 For better control, use the options below.
1261 Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/ctdlsh]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1286 --program-prefix=PREFIX prepend PREFIX to installed program names
1287 --program-suffix=SUFFIX append SUFFIX to installed program names
1288 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1292 if test -n "$ac_init_help"; then
1293 case $ac_init_help in
1294 short | recursive ) echo "Configuration of ctdlsh 1.0:";;
1299 --disable-option-checking ignore unrecognized --enable/--with options
1300 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1301 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1302 --enable-silent-rules less verbose build output (undo: "make V=1")
1303 --disable-silent-rules verbose build output (undo: "make V=0")
1304 --enable-dependency-tracking
1305 do not reject slow dependency extractors
1306 --disable-dependency-tracking
1307 speeds up one-time build
1310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1312 --with-readline=prefix try this for a non-standard install prefix of the
1315 Some influential environment variables:
1316 CC C compiler command
1317 CFLAGS C compiler flags
1318 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1319 nonstandard directory <lib dir>
1320 LIBS libraries to pass to the linker, e.g. -l<library>
1321 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1322 you have headers in a nonstandard directory <include dir>
1324 Use these variables to override the choices made by `configure' or to help
1325 it to find libraries and programs with nonstandard names/locations.
1327 Report bugs to <bug-automake@gnu.org>.
1332 if test "$ac_init_help" = "recursive"; then
1333 # If there are subdirs, report their specific --help.
1334 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335 test -d "$ac_dir" ||
1336 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1344 # A ".." for each directory in $ac_dir_suffix.
1345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1346 case $ac_top_builddir_sub in
1347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1357 .) # We are building in place.
1359 ac_top_srcdir=$ac_top_builddir_sub
1360 ac_abs_top_srcdir=$ac_pwd ;;
1361 [\\/]* | ?:[\\/]* ) # Absolute name.
1362 ac_srcdir=$srcdir$ac_dir_suffix;
1363 ac_top_srcdir=$srcdir
1364 ac_abs_top_srcdir=$srcdir ;;
1366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367 ac_top_srcdir=$ac_top_build_prefix$srcdir
1368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for guested configure.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1381 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1390 ctdlsh configure 1.0
1391 generated by GNU Autoconf 2.69
1393 Copyright (C) 2012 Free Software Foundation, Inc.
1394 This configure script is free software; the Free Software Foundation
1395 gives unlimited permission to copy, distribute and modify it.
1400 ## ------------------------ ##
1401 ## Autoconf initialization. ##
1402 ## ------------------------ ##
1404 # ac_fn_c_try_compile LINENO
1405 # --------------------------
1406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1407 ac_fn_c_try_compile ()
1409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1410 rm -f conftest.$ac_objext
1411 if { { ac_try="$ac_compile"
1413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1414 *) ac_try_echo=$ac_try;;
1416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1417 $as_echo "$ac_try_echo"; } >&5
1418 (eval "$ac_compile") 2>conftest.err
1420 if test -s conftest.err; then
1421 grep -v '^ *+' conftest.err >conftest.er1
1422 cat conftest.er1 >&5
1423 mv -f conftest.er1 conftest.err
1425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1426 test $ac_status = 0; } && {
1427 test -z "$ac_c_werror_flag" ||
1428 test ! -s conftest.err
1429 } && test -s conftest.$ac_objext; then :
1432 $as_echo "$as_me: failed program was:" >&5
1433 sed 's/^/| /' conftest.$ac_ext >&5
1437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1438 as_fn_set_status $ac_retval
1440 } # ac_fn_c_try_compile
1442 # ac_fn_c_try_link LINENO
1443 # -----------------------
1444 # Try to link conftest.$ac_ext, and return whether this succeeded.
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448 rm -f conftest.$ac_objext conftest$ac_exeext
1449 if { { ac_try="$ac_link"
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_link") 2>conftest.err
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && {
1465 test -z "$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1467 } && test -s conftest$ac_exeext && {
1468 test "$cross_compiling" = yes ||
1469 test -x conftest$ac_exeext
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1478 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1479 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1480 # interfere with the next link command; also delete a directory that is
1481 # left behind by Apple's compiler. We do this before executing the actions.
1482 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1483 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1484 as_fn_set_status $ac_retval
1486 } # ac_fn_c_try_link
1487 cat >config.log <<_ACEOF
1488 This file contains any messages produced by compilers while
1489 running configure, to aid debugging if configure makes a mistake.
1491 It was created by ctdlsh $as_me 1.0, which was
1492 generated by GNU Autoconf 2.69. Invocation command line was
1504 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1505 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1506 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1507 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1508 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1510 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1511 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1513 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1514 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1515 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1516 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1517 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1518 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1519 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir=.
1528 $as_echo "PATH: $as_dir"
1544 # Keep a trace of the command line.
1545 # Strip out --no-create and --no-recursion so they do not pile up.
1546 # Strip out --silent because we don't want to record it for future runs.
1547 # Also quote any args containing shell meta-characters.
1548 # Make two passes to allow for proper duplicate-argument suppression.
1552 ac_must_keep_next=false
1558 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1559 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1560 | -silent | --silent | --silen | --sile | --sil)
1563 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1566 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1568 as_fn_append ac_configure_args1 " '$ac_arg'"
1569 if test $ac_must_keep_next = true; then
1570 ac_must_keep_next=false # Got value, back to normal.
1573 *=* | --config-cache | -C | -disable-* | --disable-* \
1574 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1575 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1576 | -with-* | --with-* | -without-* | --without-* | --x)
1577 case "$ac_configure_args0 " in
1578 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1581 -* ) ac_must_keep_next=true ;;
1584 as_fn_append ac_configure_args " '$ac_arg'"
1589 { ac_configure_args0=; unset ac_configure_args0;}
1590 { ac_configure_args1=; unset ac_configure_args1;}
1592 # When interrupted or exit'd, cleanup temporary files, and complete
1593 # config.log. We remove comments because anyway the quotes in there
1594 # would cause problems or look ugly.
1595 # WARNING: Use '\'' to represent an apostrophe within the trap.
1596 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1597 trap 'exit_status=$?
1598 # Save into config.log some information that might help in debugging.
1602 $as_echo "## ---------------- ##
1603 ## Cache variables. ##
1604 ## ---------------- ##"
1606 # The following way of writing the cache mishandles newlines in values,
1608 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1609 eval ac_val=\$$ac_var
1613 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1617 _ | IFS | as_nl) ;; #(
1618 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1619 *) { eval $ac_var=; unset $ac_var;} ;;
1624 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1625 *${as_nl}ac_space=\ *)
1627 "s/'\''/'\''\\\\'\'''\''/g;
1628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1638 $as_echo "## ----------------- ##
1639 ## Output variables. ##
1640 ## ----------------- ##"
1642 for ac_var in $ac_subst_vars
1644 eval ac_val=\$$ac_var
1646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 $as_echo "$ac_var='\''$ac_val'\''"
1652 if test -n "$ac_subst_files"; then
1653 $as_echo "## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##"
1657 for ac_var in $ac_subst_files
1659 eval ac_val=\$$ac_var
1661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 $as_echo "$ac_var='\''$ac_val'\''"
1668 if test -s confdefs.h; then
1669 $as_echo "## ----------- ##
1676 test "$ac_signal" != 0 &&
1677 $as_echo "$as_me: caught signal $ac_signal"
1678 $as_echo "$as_me: exit $exit_status"
1680 rm -f core *.core core.conftest.* &&
1681 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1684 for ac_signal in 1 2 13 15; do
1685 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1689 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1690 rm -f -r conftest* confdefs.h
1692 $as_echo "/* confdefs.h */" > confdefs.h
1694 # Predefined preprocessor variables.
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_NAME "$PACKAGE_NAME"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_STRING "$PACKAGE_STRING"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_URL "$PACKAGE_URL"
1721 # Let the site file select an alternate cache file if it wants to.
1722 # Prefer an explicitly selected file to automatically selected ones.
1725 if test -n "$CONFIG_SITE"; then
1726 # We do not want a PATH search for config.site.
1727 case $CONFIG_SITE in #((
1728 -*) ac_site_file1=./$CONFIG_SITE;;
1729 */*) ac_site_file1=$CONFIG_SITE;;
1730 *) ac_site_file1=./$CONFIG_SITE;;
1732 elif test "x$prefix" != xNONE; then
1733 ac_site_file1=$prefix/share/config.site
1734 ac_site_file2=$prefix/etc/config.site
1736 ac_site_file1=$ac_default_prefix/share/config.site
1737 ac_site_file2=$ac_default_prefix/etc/config.site
1739 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1741 test "x$ac_site_file" = xNONE && continue
1742 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1744 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1745 sed 's/^/| /' "$ac_site_file" >&5
1747 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1749 as_fn_error $? "failed to load site script $ac_site_file
1750 See \`config.log' for more details" "$LINENO" 5; }
1754 if test -r "$cache_file"; then
1755 # Some versions of bash will fail to source /dev/null (special files
1756 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1757 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1759 $as_echo "$as_me: loading cache $cache_file" >&6;}
1761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1762 *) . "./$cache_file";;
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1767 $as_echo "$as_me: creating cache $cache_file" >&6;}
1771 # Check that the precious variables saved in the cache have kept the same
1773 ac_cache_corrupted=false
1774 for ac_var in $ac_precious_vars; do
1775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1776 eval ac_new_set=\$ac_env_${ac_var}_set
1777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1778 eval ac_new_val=\$ac_env_${ac_var}_value
1779 case $ac_old_set,$ac_new_set in
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1783 ac_cache_corrupted=: ;;
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1787 ac_cache_corrupted=: ;;
1790 if test "x$ac_old_val" != "x$ac_new_val"; then
1791 # differences in whitespace do not lead to failure.
1792 ac_old_val_w=`echo x $ac_old_val`
1793 ac_new_val_w=`echo x $ac_new_val`
1794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1797 ac_cache_corrupted=:
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1801 eval $ac_var=\$ac_old_val
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1809 # Pass precious variables to config.status.
1810 if test "$ac_new_set" = set; then
1812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1813 *) ac_arg=$ac_var=$ac_new_val ;;
1815 case " $ac_configure_args " in
1816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1821 if $ac_cache_corrupted; then
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1828 ## -------------------- ##
1829 ## Main body of script. ##
1830 ## -------------------- ##
1833 ac_cpp='$CPP $CPPFLAGS'
1834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839 am__api_version='1.14'
1842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1843 if test -f "$ac_dir/install-sh"; then
1845 ac_install_sh="$ac_aux_dir/install-sh -c"
1847 elif test -f "$ac_dir/install.sh"; then
1849 ac_install_sh="$ac_aux_dir/install.sh -c"
1851 elif test -f "$ac_dir/shtool"; then
1853 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 if test -z "$ac_aux_dir"; then
1858 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1861 # These three variables are undocumented and unsupported,
1862 # and are intended to be withdrawn in a future Autoconf release.
1863 # They can cause serious problems if a builder's source tree is in a directory
1864 # whose full name contains unusual characters.
1865 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1866 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1867 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1870 # Find a good install program. We prefer a C program (faster),
1871 # so one script is as good as another. But avoid the broken or
1872 # incompatible versions:
1873 # SysV /etc/install, /usr/sbin/install
1874 # SunOS /usr/etc/install
1875 # IRIX /sbin/install
1877 # AmigaOS /C/install, which installs bootblocks on floppy discs
1878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1881 # OS/2's system install, which has a completely different semantic
1882 # ./install, which can be erroneously created by make from ./install.sh.
1883 # Reject install programs that cannot install multiple files.
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1885 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1886 if test -z "$INSTALL"; then
1887 if ${ac_cv_path_install+:} false; then :
1888 $as_echo_n "(cached) " >&6
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 # Account for people who put trailing slashes in PATH elements.
1896 case $as_dir/ in #((
1897 ./ | .// | /[cC]/* | \
1898 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1899 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1902 # OSF1 and SCO ODT 3.0 have their own names for install.
1903 # Don't use installbsd from OSF since it installs stuff as root
1905 for ac_prog in ginstall scoinst install; do
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1908 if test $ac_prog = install &&
1909 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1910 # AIX install. It has an incompatible calling convention.
1912 elif test $ac_prog = install &&
1913 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1914 # program-specific install script used by HP pwplus--don't use.
1917 rm -rf conftest.one conftest.two conftest.dir
1918 echo one > conftest.one
1919 echo two > conftest.two
1921 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1922 test -s conftest.one && test -s conftest.two &&
1923 test -s conftest.dir/conftest.one &&
1924 test -s conftest.dir/conftest.two
1926 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1939 rm -rf conftest.one conftest.two conftest.dir
1942 if test "${ac_cv_path_install+set}" = set; then
1943 INSTALL=$ac_cv_path_install
1945 # As a last resort, use the slow shell script. Don't cache a
1946 # value for INSTALL within a source directory, because that will
1947 # break other packages using the cache if that directory is
1948 # removed, or if the value is a relative name.
1949 INSTALL=$ac_install_sh
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1953 $as_echo "$INSTALL" >&6; }
1955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1956 # It thinks the first close brace ends the variable substitution.
1957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1964 $as_echo_n "checking whether build environment is sane... " >&6; }
1965 # Reject unsafe characters in $srcdir or the absolute working directory
1966 # name. Accept space and tab only in the latter.
1970 *[\\\"\#\$\&\'\`$am_lf]*)
1971 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1974 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1975 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1978 # Do 'set' in a subshell so we don't clobber the current shell's
1979 # arguments. Must try -L first in case configure is actually a
1980 # symlink; some systems play weird games with the mod time of symlinks
1981 # (eg FreeBSD returns the mod time of the symlink's containing
1985 for am_try in 1 2; do
1986 echo "timestamp, slept: $am_has_slept" > conftest.file
1987 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1988 if test "$*" = "X"; then
1990 set X `ls -t "$srcdir/configure" conftest.file`
1992 if test "$*" != "X $srcdir/configure conftest.file" \
1993 && test "$*" != "X conftest.file $srcdir/configure"; then
1995 # If neither matched, then we have a broken ls. This can happen
1996 # if, for instance, CONFIG_SHELL is bash and it inherits a
1997 # broken ls alias from the environment. This has actually
1998 # happened. Such a system could not be considered "sane".
1999 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2000 alias in your environment" "$LINENO" 5
2002 if test "$2" = conftest.file || test $am_try -eq 2; then
2009 test "$2" = conftest.file
2015 as_fn_error $? "newly created file is older than distributed files!
2016 Check your system clock" "$LINENO" 5
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2019 $as_echo "yes" >&6; }
2020 # If we didn't sleep, we still need to ensure time stamps of config.status and
2021 # generated files are strictly newer.
2023 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2030 test "$program_prefix" != NONE &&
2031 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2032 # Use a double $ so make ignores it.
2033 test "$program_suffix" != NONE &&
2034 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2035 # Double any \ or $.
2036 # By default was `s,x,x', remove it if useless.
2037 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2038 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2040 # Expand $ac_aux_dir to an absolute path.
2041 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2043 if test x"${MISSING+set}" != xset; then
2046 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2048 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2051 # Use eval to expand $SHELL
2052 if eval "$MISSING --is-lightweight"; then
2053 am_missing_run="$MISSING "
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2057 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2060 if test x"${install_sh}" != xset; then
2063 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2065 install_sh="\${SHELL} $am_aux_dir/install-sh"
2069 # Installed binaries are usually stripped using 'strip' when the user
2070 # run "make install-strip". However 'strip' might not be the right
2071 # tool to use in cross-compilation environments, therefore Automake
2072 # will honor the 'STRIP' environment variable to overrule this program.
2073 if test "$cross_compiling" != no; then
2074 if test -n "$ac_tool_prefix"; then
2075 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2076 set dummy ${ac_tool_prefix}strip; ac_word=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if ${ac_cv_prog_STRIP+:} false; then :
2080 $as_echo_n "(cached) " >&6
2082 if test -n "$STRIP"; then
2083 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir=.
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 STRIP=$ac_cv_prog_STRIP
2103 if test -n "$STRIP"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2105 $as_echo "$STRIP" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2113 if test -z "$ac_cv_prog_STRIP"; then
2115 # Extract the first word of "strip", so it can be a program name with args.
2116 set dummy strip; ac_word=$2
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2118 $as_echo_n "checking for $ac_word... " >&6; }
2119 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2120 $as_echo_n "(cached) " >&6
2122 if test -n "$ac_ct_STRIP"; then
2123 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_ac_ct_STRIP="strip"
2133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2143 if test -n "$ac_ct_STRIP"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2145 $as_echo "$ac_ct_STRIP" >&6; }
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2148 $as_echo "no" >&6; }
2151 if test "x$ac_ct_STRIP" = x; then
2154 case $cross_compiling:$ac_tool_warned in
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2158 ac_tool_warned=yes ;;
2163 STRIP="$ac_cv_prog_STRIP"
2167 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2170 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2171 if test -z "$MKDIR_P"; then
2172 if ${ac_cv_path_mkdir+:} false; then :
2173 $as_echo_n "(cached) " >&6
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2179 test -z "$as_dir" && as_dir=.
2180 for ac_prog in mkdir gmkdir; do
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2183 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2184 'mkdir (GNU coreutils) '* | \
2185 'mkdir (coreutils) '* | \
2186 'mkdir (fileutils) '4.1*)
2187 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2197 test -d ./--version && rmdir ./--version
2198 if test "${ac_cv_path_mkdir+set}" = set; then
2199 MKDIR_P="$ac_cv_path_mkdir -p"
2201 # As a last resort, use the slow shell script. Don't cache a
2202 # value for MKDIR_P within a source directory, because that will
2203 # break other packages using the cache if that directory is
2204 # removed, or if the value is a relative name.
2205 MKDIR_P="$ac_install_sh -d"
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2209 $as_echo "$MKDIR_P" >&6; }
2211 for ac_prog in gawk mawk nawk awk
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy $ac_prog; ac_word=$2
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2216 $as_echo_n "checking for $ac_word... " >&6; }
2217 if ${ac_cv_prog_AWK+:} false; then :
2218 $as_echo_n "(cached) " >&6
2220 if test -n "$AWK"; then
2221 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_AWK="$ac_prog"
2231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$AWK"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2243 $as_echo "$AWK" >&6; }
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2246 $as_echo "no" >&6; }
2250 test -n "$AWK" && break
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2256 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2258 $as_echo_n "(cached) " >&6
2260 cat >conftest.make <<\_ACEOF
2263 @echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_${ac_make}_set=yes;;
2270 eval ac_cv_prog_make_${ac_make}_set=no;;
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2276 $as_echo "yes" >&6; }
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2281 SET_MAKE="MAKE=${MAKE-make}"
2284 rm -rf .tst 2>/dev/null
2285 mkdir .tst 2>/dev/null
2286 if test -d .tst; then
2291 rmdir .tst 2>/dev/null
2293 # Check whether --enable-silent-rules was given.
2294 if test "${enable_silent_rules+set}" = set; then :
2295 enableval=$enable_silent_rules;
2298 case $enable_silent_rules in # (((
2299 yes) AM_DEFAULT_VERBOSITY=0;;
2300 no) AM_DEFAULT_VERBOSITY=1;;
2301 *) AM_DEFAULT_VERBOSITY=1;;
2303 am_make=${MAKE-make}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2305 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2306 if ${am_cv_make_support_nested_variables+:} false; then :
2307 $as_echo_n "(cached) " >&6
2309 if $as_echo 'TRUE=$(BAR$(V))
2315 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2316 am_cv_make_support_nested_variables=yes
2318 am_cv_make_support_nested_variables=no
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2322 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2323 if test $am_cv_make_support_nested_variables = yes; then
2325 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2327 AM_V=$AM_DEFAULT_VERBOSITY
2328 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2332 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2333 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2334 # is not polluted with repeated "-I."
2335 am__isrc=' -I$(srcdir)'
2336 # test to see if srcdir already configured
2337 if test -f $srcdir/config.status; then
2338 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2342 # test whether we have cygpath
2343 if test -z "$CYGPATH_W"; then
2344 if (cygpath --version) >/dev/null 2>/dev/null; then
2345 CYGPATH_W='cygpath -w'
2352 # Define the identity of the package.
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE "$PACKAGE"
2362 cat >>confdefs.h <<_ACEOF
2363 #define VERSION "$VERSION"
2366 # Some tools Automake needs.
2368 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2371 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2374 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2377 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2380 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2382 # For better backward compatibility. To be removed once Automake 1.9.x
2383 # dies out for good. For more background, see:
2384 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2385 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2386 mkdir_p='$(MKDIR_P)'
2388 # We need awk for the "check" target. The system "awk" is bad on
2390 # Always define AMTAR for backward compatibility. Yes, it's still used
2391 # in the wild :-( We should find a proper way to deprecate it ...
2395 # We'll loop over all known methods to create a tar archive until one works.
2396 _am_tools='gnutar pax cpio none'
2398 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2405 # POSIX will say in a future version that running "rm -f" with no argument
2406 # is OK; and we want to be able to make that assumption in our Makefile
2407 # recipes. So use an aggressive probe to check that the usage we want is
2408 # actually supported "in the wild" to an acceptable degree.
2409 # See automake bug#10828.
2410 # To make any issue more visible, cause the running configure to be aborted
2411 # by default if the 'rm' program in use doesn't match our expectations; the
2412 # user can still override this though.
2413 if rm -f && rm -fr && rm -rf; then : OK; else
2417 Your 'rm' program seems unable to run without file operands specified
2418 on the command line, even when the '-f' option is present. This is contrary
2419 to the behaviour of most rm programs out there, and not conforming with
2420 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2422 Please tell bug-automake@gnu.org about your system, including the value
2423 of your $PATH and any error possibly output before this message. This
2424 can help us improve future automake versions.
2427 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2428 echo 'Configuration will proceed anyway, since you have set the' >&2
2429 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2433 Aborting the configuration process, to ensure you take notice of the issue.
2435 You can download and install GNU coreutils to get an 'rm' implementation
2436 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2438 If you want to complete the configuration process using your problematic
2439 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2440 to "yes", and re-run configure.
2443 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2448 ac_cpp='$CPP $CPPFLAGS'
2449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2454 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456 $as_echo_n "checking for $ac_word... " >&6; }
2457 if ${ac_cv_prog_CC+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 if test -n "$CC"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2483 $as_echo "$CC" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486 $as_echo "no" >&6; }
2491 if test -z "$ac_cv_prog_CC"; then
2493 # Extract the first word of "gcc", so it can be a program name with args.
2494 set dummy gcc; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 if test -n "$ac_ct_CC"; then
2501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_ac_ct_CC="gcc"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521 if test -n "$ac_ct_CC"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2523 $as_echo "$ac_ct_CC" >&6; }
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2529 if test "x$ac_ct_CC" = x; then
2532 case $cross_compiling:$ac_tool_warned in
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2536 ac_tool_warned=yes ;;
2544 if test -z "$CC"; then
2545 if test -n "$ac_tool_prefix"; then
2546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2547 set dummy ${ac_tool_prefix}cc; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_CC+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_CC="${ac_tool_prefix}cc"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$CC"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2576 $as_echo "$CC" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2585 if test -z "$CC"; then
2586 # Extract the first word of "cc", so it can be a program name with args.
2587 set dummy cc; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if ${ac_cv_prog_CC+:} false; then :
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$CC"; then
2594 ac_cv_prog_CC="$CC" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2605 ac_prog_rejected=yes
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test $ac_prog_rejected = yes; then
2617 # We found a bogon in the path, so make sure we never use it.
2618 set dummy $ac_cv_prog_CC
2620 if test $# != 0; then
2621 # We chose a different compiler from the bogus one.
2622 # However, it has the same basename, so the bogon will be chosen
2623 # first if we set CC to just the basename; use the full file name.
2625 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2631 if test -n "$CC"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2633 $as_echo "$CC" >&6; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2641 if test -z "$CC"; then
2642 if test -n "$ac_tool_prefix"; then
2643 for ac_prog in cl.exe
2645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if ${ac_cv_prog_CC+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC="$CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2662 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CC"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2675 $as_echo "$CC" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2682 test -n "$CC" && break
2685 if test -z "$CC"; then
2687 for ac_prog in cl.exe
2689 # Extract the first word of "$ac_prog", so it can be a program name with args.
2690 set dummy $ac_prog; ac_word=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706 ac_cv_prog_ac_ct_CC="$ac_prog"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2719 $as_echo "$ac_ct_CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2726 test -n "$ac_ct_CC" && break
2729 if test "x$ac_ct_CC" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2745 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2747 as_fn_error $? "no acceptable C compiler found in \$PATH
2748 See \`config.log' for more details" "$LINENO" 5; }
2750 # Provide some information about the compiler.
2751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2754 for ac_option in --version -v -V -qversion; do
2755 { { ac_try="$ac_compiler $ac_option >&5"
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2764 if test -s conftest.err; then
2766 ... rest of stderr output deleted ...
2767 10q' conftest.err >conftest.er1
2768 cat conftest.er1 >&5
2770 rm -f conftest.er1 conftest.err
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; }
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2786 ac_clean_files_save=$ac_clean_files
2787 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2788 # Try to create an executable without -o first, disregard a.out.
2789 # It will help us diagnose broken compilers, and finding out an intuition
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2792 $as_echo_n "checking whether the C compiler works... " >&6; }
2793 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2795 # The possible output files:
2796 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2799 for ac_file in $ac_files
2802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2803 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2808 if { { ac_try="$ac_link_default"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 $as_echo "$ac_try_echo"; } >&5
2815 (eval "$ac_link_default") 2>&5
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; }; then :
2819 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2821 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2822 # so that the user can short-circuit this test for compilers unknown to
2824 for ac_file in $ac_files ''
2826 test -f "$ac_file" || continue
2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2831 # We found the default executable, but exeext='' is most
2835 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2837 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2839 # We set ac_cv_exeext here because the later test for it is not
2840 # safe: cross compilers may not add the suffix if given an `-o'
2841 # argument, so we may need to know it at that point already.
2842 # Even if this section looks crufty: it has the advantage of
2849 test "$ac_cv_exeext" = no && ac_cv_exeext=
2854 if test -z "$ac_file"; then :
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2857 $as_echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2862 as_fn_error 77 "C compiler cannot create executables
2863 See \`config.log' for more details" "$LINENO" 5; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866 $as_echo "yes" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2869 $as_echo_n "checking for C compiler default output file name... " >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2871 $as_echo "$ac_file" >&6; }
2872 ac_exeext=$ac_cv_exeext
2874 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2875 ac_clean_files=$ac_clean_files_save
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2877 $as_echo_n "checking for suffix of executables... " >&6; }
2878 if { { ac_try="$ac_link"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_link") 2>&5
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }; then :
2889 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2890 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2891 # work properly (i.e., refer to `conftest.exe'), while it won't with
2893 for ac_file in conftest.exe conftest conftest.*; do
2894 test -f "$ac_file" || continue
2896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2897 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2906 See \`config.log' for more details" "$LINENO" 5; }
2908 rm -f conftest conftest$ac_cv_exeext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2910 $as_echo "$ac_cv_exeext" >&6; }
2912 rm -f conftest.$ac_ext
2913 EXEEXT=$ac_cv_exeext
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2921 FILE *f = fopen ("conftest.out", "w");
2922 return ferror (f) || fclose (f) != 0;
2928 ac_clean_files="$ac_clean_files conftest.out"
2929 # Check that the compiler produces executables we can run. If not, either
2930 # the compiler is broken, or we cross compile.
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2932 $as_echo_n "checking whether we are cross compiling... " >&6; }
2933 if test "$cross_compiling" != yes; then
2934 { { ac_try="$ac_link"
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_link") 2>&5
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; }
2945 if { ac_try='./conftest$ac_cv_exeext'
2946 { { case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_try") 2>&5
2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; }; }; then
2958 if test "$cross_compiling" = maybe; then
2961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 as_fn_error $? "cannot run C compiled programs.
2964 If you meant to cross compile, use \`--host'.
2965 See \`config.log' for more details" "$LINENO" 5; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2970 $as_echo "$cross_compiling" >&6; }
2972 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2973 ac_clean_files=$ac_clean_files_save
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2975 $as_echo_n "checking for suffix of object files... " >&6; }
2976 if ${ac_cv_objext+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2990 rm -f conftest.o conftest.obj
2991 if { { ac_try="$ac_compile"
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_compile") 2>&5
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }; then :
3002 for ac_file in conftest.o conftest.obj conftest.*; do
3003 test -f "$ac_file" || continue;
3005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3006 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3011 $as_echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error $? "cannot compute suffix of object files: cannot compile
3017 See \`config.log' for more details" "$LINENO" 5; }
3019 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3022 $as_echo "$ac_cv_objext" >&6; }
3023 OBJEXT=$ac_cv_objext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3026 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3027 if ${ac_cv_c_compiler_gnu+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3044 if ac_fn_c_try_compile "$LINENO"; then :
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3054 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3055 if test $ac_compiler_gnu = yes; then
3060 ac_test_CFLAGS=${CFLAGS+set}
3061 ac_save_CFLAGS=$CFLAGS
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3063 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3064 if ${ac_cv_prog_cc_g+:} false; then :
3065 $as_echo_n "(cached) " >&6
3067 ac_save_c_werror_flag=$ac_c_werror_flag
3068 ac_c_werror_flag=yes
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3082 if ac_fn_c_try_compile "$LINENO"; then :
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 if ac_fn_c_try_compile "$LINENO"; then :
3100 ac_c_werror_flag=$ac_save_c_werror_flag
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3113 if ac_fn_c_try_compile "$LINENO"; then :
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 ac_c_werror_flag=$ac_save_c_werror_flag
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3124 $as_echo "$ac_cv_prog_cc_g" >&6; }
3125 if test "$ac_test_CFLAGS" = set; then
3126 CFLAGS=$ac_save_CFLAGS
3127 elif test $ac_cv_prog_cc_g = yes; then
3128 if test "$GCC" = yes; then
3134 if test "$GCC" = yes; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3141 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3142 if ${ac_cv_prog_cc_c89+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 ac_cv_prog_cc_c89=no
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3152 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3153 struct buf { int x; };
3154 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3155 static char *e (p, i)
3161 static char *f (char * (*g) (char **, int), char **p, ...)
3166 s = g (p, va_arg (v,int));
3171 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3172 function prototypes and stuff, but not '\xHH' hex character constants.
3173 These don't provoke an error unfortunately, instead are silently treated
3174 as 'x'. The following induces an error, until -std is added to get
3175 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3176 array size at least. It's necessary to write '\x00'==0 to get something
3177 that's true only with -std. */
3178 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3180 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3181 inside strings and character constants. */
3183 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3185 int test (int i, double x);
3186 struct s1 {int (*f) (int a);};
3187 struct s2 {int (*f) (double a);};
3188 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3194 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3199 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3200 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3202 CC="$ac_save_CC $ac_arg"
3203 if ac_fn_c_try_compile "$LINENO"; then :
3204 ac_cv_prog_cc_c89=$ac_arg
3206 rm -f core conftest.err conftest.$ac_objext
3207 test "x$ac_cv_prog_cc_c89" != "xno" && break
3209 rm -f conftest.$ac_ext
3214 case "x$ac_cv_prog_cc_c89" in
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3217 $as_echo "none needed" >&6; } ;;
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3220 $as_echo "unsupported" >&6; } ;;
3222 CC="$CC $ac_cv_prog_cc_c89"
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3224 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3226 if test "x$ac_cv_prog_cc_c89" != xno; then :
3231 ac_cpp='$CPP $CPPFLAGS'
3232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3237 ac_cpp='$CPP $CPPFLAGS'
3238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3242 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3243 if ${am_cv_prog_cc_c_o+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 # Make sure it works both with $CC and with simple cc.
3258 # Following AC_PROG_CC_C_O, we do the test twice because some
3259 # compilers refuse to overwrite an existing .o file with -o,
3260 # though they will create one.
3261 am_cv_prog_cc_c_o=yes
3263 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3264 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } \
3268 && test -f conftest2.$ac_objext; then
3271 am_cv_prog_cc_c_o=no
3275 rm -f core conftest*
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3279 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3280 if test "$am_cv_prog_cc_c_o" != yes; then
3281 # Losing compiler, so override with the script.
3282 # FIXME: It is wrong to rewrite CC.
3283 # But if we don't then we get into trouble of one sort or another.
3284 # A longer-term fix would be to have automake use am__CC in this case,
3285 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3286 CC="$am_aux_dir/compile $CC"
3289 ac_cpp='$CPP $CPPFLAGS'
3290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 DEPDIR="${am__leading_dot}deps"
3296 ac_config_commands="$ac_config_commands depfiles"
3299 am_make=${MAKE-make}
3300 cat > confinc << 'END'
3302 @echo this is the am__doit target
3305 # If we don't find an include directive, just comment out the code.
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3307 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3311 # First try GNU make style include.
3312 echo "include confinc" > confmf
3313 # Ignore all kinds of additional output from 'make'.
3314 case `$am_make -s -f confmf 2> /dev/null` in #(
3315 *the\ am__doit\ target*)
3321 # Now try BSD make style include.
3322 if test "$am__include" = "#"; then
3323 echo '.include "confinc"' > confmf
3324 case `$am_make -s -f confmf 2> /dev/null` in #(
3325 *the\ am__doit\ target*)
3326 am__include=.include
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3335 $as_echo "$_am_result" >&6; }
3336 rm -f confinc confmf
3338 # Check whether --enable-dependency-tracking was given.
3339 if test "${enable_dependency_tracking+set}" = set; then :
3340 enableval=$enable_dependency_tracking;
3343 if test "x$enable_dependency_tracking" != xno; then
3344 am_depcomp="$ac_aux_dir/depcomp"
3348 if test "x$enable_dependency_tracking" != xno; then
3358 depcc="$CC" am_compiler_list=
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3361 $as_echo_n "checking dependency style of $depcc... " >&6; }
3362 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3366 # We make a subdir and do the tests there. Otherwise we can end up
3367 # making bogus files that we don't know about and never remove. For
3368 # instance it was reported that on HP-UX the gcc test will end up
3369 # making a dummy file named 'D' -- because '-MD' means "put the output
3373 # Copy depcomp to subdir because otherwise we won't find it if we're
3374 # using a relative directory.
3375 cp "$am_depcomp" conftest.dir
3377 # We will build objects and dependencies in a subdirectory because
3378 # it helps to detect inapplicable dependency modes. For instance
3379 # both Tru64's cc and ICC support -MD to output dependencies as a
3380 # side effect of compilation, but ICC will put the dependencies in
3381 # the current directory while Tru64 will put them in the object
3385 am_cv_CC_dependencies_compiler_type=none
3386 if test "$am_compiler_list" = ""; then
3387 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3390 case " $depcc " in #(
3391 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3394 for depmode in $am_compiler_list; do
3395 # Setup a source with many dependencies, because some compilers
3396 # like to wrap large dependency lists on column 80 (with \), and
3397 # we should not choose a depcomp mode which is confused by this.
3399 # We need to recreate these files for each test, as the compiler may
3400 # overwrite some of them when testing with obscure command lines.
3401 # This happens at least with the AIX C compiler.
3403 for i in 1 2 3 4 5 6; do
3404 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3405 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3406 # Solaris 10 /bin/sh.
3407 echo '/* dummy */' > sub/conftst$i.h
3409 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3411 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3412 # mode. It turns out that the SunPro C++ compiler does not properly
3413 # handle '-M -o', and we need to detect this. Also, some Intel
3414 # versions had trouble with output in subdirs.
3415 am__obj=sub/conftest.${OBJEXT-o}
3416 am__minus_obj="-o $am__obj"
3419 # This depmode causes a compiler race in universal mode.
3420 test "$am__universal" = false || continue
3423 # After this tag, mechanisms are not by side-effect, so they'll
3424 # only be used when explicitly requested.
3425 if test "x$enable_dependency_tracking" = xyes; then
3431 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3432 # This compiler won't grok '-c -o', but also, the minuso test has
3433 # not run yet. These depmodes are late enough in the game, and
3434 # so weak that their functioning should not be impacted.
3435 am__obj=conftest.${OBJEXT-o}
3440 if depmode=$depmode \
3441 source=sub/conftest.c object=$am__obj \
3442 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3443 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3444 >/dev/null 2>conftest.err &&
3445 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3446 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3447 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3448 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3449 # icc doesn't choke on unknown options, it will just issue warnings
3450 # or remarks (even with -Werror). So we grep stderr for any message
3451 # that says an option was ignored or not supported.
3452 # When given -MP, icc 7.0 and 7.1 complain thusly:
3453 # icc: Command line warning: ignoring option '-M'; no argument required
3454 # The diagnosis changed in icc 8.0:
3455 # icc: Command line remark: option '-MP' not supported
3456 if (grep 'ignoring option' conftest.err ||
3457 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3458 am_cv_CC_dependencies_compiler_type=$depmode
3467 am_cv_CC_dependencies_compiler_type=none
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3472 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3473 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3476 test "x$enable_dependency_tracking" != xno \
3477 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3479 am__fastdepCC_FALSE='#'
3481 am__fastdepCC_TRUE='#'
3482 am__fastdepCC_FALSE=
3486 ac_config_headers="$ac_config_headers config.h"
3489 ##########################################################################
3490 # adding the readline library (e.g. with static name 'libreadline.a')
3491 ##########################################################################
3493 # adding the lib to the files to link
3494 LIBS="-lreadline $LIBS"
3496 # introduce the optional configure parameter for a non-standard install prefix of readline
3498 # Check whether --with-readline was given.
3499 if test "${with_readline+set}" = set; then :
3500 withval=$with_readline; readlinePATHSET=1
3506 # if optional parameter used, extend path flags for compliler and linker
3507 if test $readlinePATHSET = 1 ; then
3508 # extend the compiler and linker flags according to the path set
3509 AM_CXXFLAGS="$AM_CXXFLAGS -I$with_readline/include"
3510 AM_LDFLAGS="$AM_LDFLAGS -L$with_readline/lib"
3513 ##########################################################################
3516 ##########################################################################
3517 # check for readline library
3518 ##########################################################################
3520 # store current *FLAGS and merge with AM_*FLAGS for compilation and linker check
3521 OLD_CXXFLAGS=$CXXFLAGS;
3522 OLD_LDFLAGS=$LDFLAGS;
3523 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
3524 LDFLAGS="$AM_LDFLAGS $LDFLAGS"
3526 # ensure the library to check for is covered by the LIBS variable
3528 LIBS="$LIBS -lreadline"
3530 # check for readline library headers
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the readline library headers" >&5
3532 $as_echo_n "checking for the readline library headers... " >&6; }
3533 # try to compile a file that includes a header of the library readline
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3537 #include <readline/readline.h>
3539 if ac_fn_c_try_compile "$LINENO"; then :
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3541 $as_echo "found" >&6; }
3542 # try to link the function 'rl_initialize' out of library readline
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the readline library can be linked" >&5
3544 $as_echo_n "checking whether the readline library can be linked... " >&6; }
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3547 #include <readline/readline.h>
3556 if ac_fn_c_try_link "$LINENO"; then :
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3558 $as_echo "yes" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3563 LIBS=$OLD_LIBS; FOUND_readline=0;
3565 rm -f core conftest.err conftest.$ac_objext \
3566 conftest$ac_exeext conftest.$ac_ext
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3569 $as_echo "not found" >&6; }
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 # reset original *FLAGS
3575 CXXFLAGS=$OLD_CXXFLAGS
3576 LDFLAGS=$OLD_LDFLAGS
3578 # handle check results
3579 if test $FOUND_readline != 1; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3581 $as_echo "$as_me: " >&6;}
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: The readline library was not found!" >&5
3583 $as_echo "$as_me: The readline library was not found!" >&6;}
3584 if test $readlinePATHSET = 1 ; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: The install prefix '$with_readline' for the readline library was set." >&5
3586 $as_echo "$as_me: The install prefix '$with_readline' for the readline library was set." >&6;}
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: --> Maybe wrong ???" >&5
3588 $as_echo "$as_me: --> Maybe wrong ???" >&6;}
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: No non-standard install prefix was set." >&5
3591 $as_echo "$as_me: No non-standard install prefix was set." >&6;}
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: --> You might want to use '--with-readline=PREFIX' ?!?" >&5
3593 $as_echo "$as_me: --> You might want to use '--with-readline=PREFIX' ?!?" >&6;}
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3596 $as_echo "$as_me: " >&6;}
3597 as_fn_error $? " readline library is an essential dependency : cannot build and stop here !" "$LINENO" 5
3600 ##########################################################################
3606 ac_config_files="$ac_config_files Makefile src/Makefile"
3608 cat >confcache <<\_ACEOF
3609 # This file is a shell script that caches the results of configure
3610 # tests run on this system so they can be shared between configure
3611 # scripts and configure runs, see configure's option --config-cache.
3612 # It is not useful on other systems. If it contains results you don't
3613 # want to keep, you may remove or edit it.
3615 # config.status only pays attention to the cache file if you give it
3616 # the --recheck option to rerun configure.
3618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3624 # The following way of writing the cache mishandles newlines in values,
3625 # but we know of no workaround that is simple, portable, and efficient.
3626 # So, we kill variables containing newlines.
3627 # Ultrix sh set writes to stderr and can't be redirected directly,
3628 # and sets the high bit in the cache file unless we assign to the vars.
3630 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3631 eval ac_val=\$$ac_var
3635 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3639 _ | IFS | as_nl) ;; #(
3640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3641 *) { eval $ac_var=; unset $ac_var;} ;;
3647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3648 *${as_nl}ac_space=\ *)
3649 # `set' does not quote correctly, so add quotes: double-quote
3650 # substitution turns \\\\ into \\, and sed turns \\ into \.
3653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3656 # `set' quotes correctly as required by POSIX, so do not add quotes.
3657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3671 if test -w "$cache_file"; then
3672 if test "x$cache_file" != "x/dev/null"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3674 $as_echo "$as_me: updating cache $cache_file" >&6;}
3675 if test ! -f "$cache_file" || test -h "$cache_file"; then
3676 cat confcache >"$cache_file"
3678 case $cache_file in #(
3680 mv -f confcache "$cache_file"$$ &&
3681 mv -f "$cache_file"$$ "$cache_file" ;; #(
3683 mv -f confcache "$cache_file" ;;
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3689 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3694 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3695 # Let make expand exec_prefix.
3696 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3698 DEFS=-DHAVE_CONFIG_H
3703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3704 # 1. Remove the extension, and $U if already installed.
3705 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3706 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3707 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3708 # will be set to the directory where LIBOBJS objects are built.
3709 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3710 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3714 LTLIBOBJS=$ac_ltlibobjs
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3718 $as_echo_n "checking that generated files are newer than configure... " >&6; }
3719 if test -n "$am_sleep_pid"; then
3720 # Hide warnings about reused PIDs.
3721 wait $am_sleep_pid 2>/dev/null
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3724 $as_echo "done" >&6; }
3725 if test -n "$EXEEXT"; then
3727 am__EXEEXT_FALSE='#'
3733 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3734 as_fn_error $? "conditional \"AMDEP\" was never defined.
3735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3737 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3738 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3742 : "${CONFIG_STATUS=./config.status}"
3744 ac_clean_files_save=$ac_clean_files
3745 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3747 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3749 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3751 # Generated by $as_me.
3752 # Run this file to recreate the current configuration.
3753 # Compiler output produced by configure, useful for debugging
3754 # configure, is in config.log if it exists.
3760 SHELL=\${CONFIG_SHELL-$SHELL}
3763 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3764 ## -------------------- ##
3765 ## M4sh Initialization. ##
3766 ## -------------------- ##
3768 # Be more Bourne compatible
3769 DUALCASE=1; export DUALCASE # for MKS sh
3770 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3773 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3774 # is contrary to our usage. Disable this feature.
3775 alias -g '${1+"$@"}'='"$@"'
3776 setopt NO_GLOB_SUBST
3778 case `(set -o) 2>/dev/null` in #(
3790 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3791 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3792 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3794 # Prefer a ksh shell builtin over an external printf program on Solaris,
3795 # but without wasting forks for bash or zsh.
3796 if test -z "$BASH_VERSION$ZSH_VERSION" \
3797 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3798 as_echo='print -r --'
3799 as_echo_n='print -rn --'
3800 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3801 as_echo='printf %s\n'
3802 as_echo_n='printf %s'
3804 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3805 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3806 as_echo_n='/usr/ucb/echo -n'
3808 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3809 as_echo_n_body='eval
3813 expr "X$arg" : "X\\(.*\\)$as_nl";
3814 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3816 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3818 export as_echo_n_body
3819 as_echo_n='sh -c $as_echo_n_body as_echo'
3822 as_echo='sh -c $as_echo_body as_echo'
3825 # The user is always right.
3826 if test "${PATH_SEPARATOR+set}" != set; then
3828 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3829 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3836 # We need space, tab and new line, in precisely that order. Quoting is
3837 # there to prevent editors from complaining about space-tab.
3838 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3839 # splitting by setting IFS to empty value.)
3842 # Find who we are. Look in the path if we contain no directory separator.
3845 *[\\/]* ) as_myself=$0 ;;
3846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir=.
3851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3857 # We did not find ourselves, most probably we were run as `sh COMMAND'
3858 # in which case we are not to be found in the path.
3859 if test "x$as_myself" = x; then
3862 if test ! -f "$as_myself"; then
3863 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3867 # Unset variables that we do not need and which cause bugs (e.g. in
3868 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3869 # suppresses any "Segmentation fault" message there. '((' could
3870 # trigger a bug in pdksh 5.2.14.
3871 for as_var in BASH_ENV ENV MAIL MAILPATH
3872 do eval test x\${$as_var+set} = xset \
3873 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3886 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3889 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3890 # ----------------------------------------
3891 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3892 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3893 # script with STATUS, using 1 if that was 0.
3896 as_status=$1; test $as_status -eq 0 && as_status=1
3898 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3899 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3901 $as_echo "$as_me: error: $2" >&2
3902 as_fn_exit $as_status
3906 # as_fn_set_status STATUS
3907 # -----------------------
3908 # Set $? to STATUS, without forking.
3912 } # as_fn_set_status
3916 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3926 # Portably unset VAR.
3929 { eval $1=; unset $1;}
3931 as_unset=as_fn_unset
3932 # as_fn_append VAR VALUE
3933 # ----------------------
3934 # Append the text in VALUE to the end of the definition contained in VAR. Take
3935 # advantage of any shell optimizations that allow amortized linear growth over
3936 # repeated appends, instead of the typical quadratic growth present in naive
3938 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3939 eval 'as_fn_append ()
3950 # as_fn_arith ARG...
3951 # ------------------
3952 # Perform arithmetic evaluation on the ARGs, and store the result in the
3953 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3954 # must be portable across $(()) and expr.
3955 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3956 eval 'as_fn_arith ()
3963 as_val=`expr "$@" || test $? -eq 1`
3968 if expr a : '\(a\)' >/dev/null 2>&1 &&
3969 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3975 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3976 as_basename=basename
3981 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3987 as_me=`$as_basename -- "$0" ||
3988 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3989 X"$0" : 'X\(//\)$' \| \
3990 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3992 sed '/^.*\/\([^/][^/]*\)\/*$/{
4006 # Avoid depending upon Character Ranges.
4007 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4008 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4009 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4010 as_cr_digits='0123456789'
4011 as_cr_alnum=$as_cr_Letters$as_cr_digits
4013 ECHO_C= ECHO_N= ECHO_T=
4014 case `echo -n x` in #(((((
4016 case `echo 'xy\c'` in
4017 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4019 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4026 rm -f conf$$ conf$$.exe conf$$.file
4027 if test -d conf$$.dir; then
4028 rm -f conf$$.dir/conf$$.file
4031 mkdir conf$$.dir 2>/dev/null
4033 if (echo >conf$$.file) 2>/dev/null; then
4034 if ln -s conf$$.file conf$$ 2>/dev/null; then
4036 # ... but there are two gotchas:
4037 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4038 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4039 # In both cases, we have to default to `cp -pR'.
4040 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4042 elif ln conf$$.file conf$$ 2>/dev/null; then
4050 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4051 rmdir conf$$.dir 2>/dev/null
4056 # Create "$as_dir" as a directory, including parents if necessary.
4061 -*) as_dir=./$as_dir;;
4063 test -d "$as_dir" || eval $as_mkdir_p || {
4067 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4068 *) as_qdir=$as_dir;;
4070 as_dirs="'$as_qdir' $as_dirs"
4071 as_dir=`$as_dirname -- "$as_dir" ||
4072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4073 X"$as_dir" : 'X\(//\)[^/]' \| \
4074 X"$as_dir" : 'X\(//\)$' \| \
4075 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4076 $as_echo X"$as_dir" |
4077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4094 test -d "$as_dir" && break
4096 test -z "$as_dirs" || eval "mkdir $as_dirs"
4097 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4101 if mkdir -p . 2>/dev/null; then
4102 as_mkdir_p='mkdir -p "$as_dir"'
4104 test -d ./-p && rmdir ./-p
4109 # as_fn_executable_p FILE
4110 # -----------------------
4111 # Test if FILE is an executable regular file.
4112 as_fn_executable_p ()
4114 test -f "$1" && test -x "$1"
4115 } # as_fn_executable_p
4117 as_executable_p=as_fn_executable_p
4119 # Sed expression to map a string onto a valid CPP name.
4120 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4122 # Sed expression to map a string onto a valid variable name.
4123 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4127 ## ----------------------------------- ##
4128 ## Main body of $CONFIG_STATUS script. ##
4129 ## ----------------------------------- ##
4131 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4134 # Save the log message, to keep $0 and so on meaningful, and to
4135 # report actual input values of CONFIG_FILES etc. instead of their
4136 # values after options handling.
4138 This file was extended by ctdlsh $as_me 1.0, which was
4139 generated by GNU Autoconf 2.69. Invocation command line was
4141 CONFIG_FILES = $CONFIG_FILES
4142 CONFIG_HEADERS = $CONFIG_HEADERS
4143 CONFIG_LINKS = $CONFIG_LINKS
4144 CONFIG_COMMANDS = $CONFIG_COMMANDS
4147 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4152 case $ac_config_files in *"
4153 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4156 case $ac_config_headers in *"
4157 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4162 # Files that config.status was made for.
4163 config_files="$ac_config_files"
4164 config_headers="$ac_config_headers"
4165 config_commands="$ac_config_commands"
4169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4171 \`$as_me' instantiates files and other configuration actions
4172 from templates according to the current configuration. Unless the files
4173 and actions are specified as TAGs, all are instantiated by default.
4175 Usage: $0 [OPTION]... [TAG]...
4177 -h, --help print this help, then exit
4178 -V, --version print version number and configuration settings, then exit
4179 --config print configuration, then exit
4180 -q, --quiet, --silent
4181 do not print progress messages
4182 -d, --debug don't remove temporary files
4183 --recheck update $as_me by reconfiguring in the same conditions
4184 --file=FILE[:TEMPLATE]
4185 instantiate the configuration file FILE
4186 --header=FILE[:TEMPLATE]
4187 instantiate the configuration header FILE
4189 Configuration files:
4192 Configuration headers:
4195 Configuration commands:
4198 Report bugs to <bug-automake@gnu.org>."
4201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4202 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4204 ctdlsh config.status 1.0
4205 configured by $0, generated by GNU Autoconf 2.69,
4206 with options \\"\$ac_cs_config\\"
4208 Copyright (C) 2012 Free Software Foundation, Inc.
4209 This config.status script is free software; the Free Software Foundation
4210 gives unlimited permission to copy, distribute and modify it."
4217 test -n "\$AWK" || AWK=awk
4220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4221 # The default lists apply if the user does not specify any file.
4227 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4228 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4232 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4244 # Handling of the options.
4245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4247 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4248 $as_echo "$ac_cs_version"; exit ;;
4249 --config | --confi | --conf | --con | --co | --c )
4250 $as_echo "$ac_cs_config"; exit ;;
4251 --debug | --debu | --deb | --de | --d | -d )
4253 --file | --fil | --fi | --f )
4256 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4257 '') as_fn_error $? "missing file argument" ;;
4259 as_fn_append CONFIG_FILES " '$ac_optarg'"
4260 ac_need_defaults=false;;
4261 --header | --heade | --head | --hea )
4264 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4266 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4267 ac_need_defaults=false;;
4269 # Conflict between --help and --header
4270 as_fn_error $? "ambiguous option: \`$1'
4271 Try \`$0 --help' for more information.";;
4272 --help | --hel | -h )
4273 $as_echo "$ac_cs_usage"; exit ;;
4274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4275 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4279 -*) as_fn_error $? "unrecognized option: \`$1'
4280 Try \`$0 --help' for more information." ;;
4282 *) as_fn_append ac_config_targets " $1"
4283 ac_need_defaults=false ;;
4289 ac_configure_extra_args=
4291 if $ac_cs_silent; then
4293 ac_configure_extra_args="$ac_configure_extra_args --silent"
4297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4298 if \$ac_cs_recheck; then
4299 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4301 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4302 CONFIG_SHELL='$SHELL'
4308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4312 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4313 ## Running $as_me. ##
4319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4323 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4329 # Handling of arguments.
4330 for ac_config_target in $ac_config_targets
4332 case $ac_config_target in
4333 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4334 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4336 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4338 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4343 # If the user did not use the arguments to specify the items to instantiate,
4344 # then the envvar interface is used. Set only those that are not.
4345 # We use the long form for the default assignment because of an extremely
4346 # bizarre bug on SunOS 4.1.3.
4347 if $ac_need_defaults; then
4348 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4349 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4350 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4353 # Have a temporary directory for convenience. Make it in the build tree
4354 # simply because there is no reason against having it here, and in addition,
4355 # creating and moving files from /tmp can sometimes cause problems.
4356 # Hook for its removal unless debugging.
4357 # Note that there is a small window in which the directory will not be cleaned:
4358 # after its creation but before its name has been assigned to `$tmp'.
4362 trap 'exit_status=$?
4364 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4366 trap 'as_fn_exit 1' 1 2 13 15
4368 # Create a (secure) tmp directory for tmp files.
4371 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4375 tmp=./conf$$-$RANDOM
4376 (umask 077 && mkdir "$tmp")
4377 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4380 # Set up the scripts for CONFIG_FILES section.
4381 # No need to generate them if there are no CONFIG_FILES.
4382 # This happens for instance with `./config.status config.h'.
4383 if test -n "$CONFIG_FILES"; then
4386 ac_cr=`echo X | tr X '\015'`
4387 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4388 # But we know of no other shell where ac_cr would be empty at this
4389 # point, so we can use a bashism as a fallback.
4390 if test "x$ac_cr" = x; then
4391 eval ac_cr=\$\'\\r\'
4393 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4394 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4400 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4405 echo "cat >conf$$subs.awk <<_ACEOF" &&
4406 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4409 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4410 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4412 for ac_last_try in false false false false false :; do
4413 . ./conf$$subs.sh ||
4414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4416 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4417 if test $ac_delim_n = $ac_delim_num; then
4419 elif $ac_last_try; then
4420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4422 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4428 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4432 s/^/S["/; s/!.*/"]=/
4442 s/\(.\{148\}\)..*/\1/
4444 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4449 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4456 s/\(.\{148\}\)..*/\1/
4458 s/["\\]/\\&/g; s/^/"/; s/$/"/
4462 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4467 ' <conf$$subs.awk | sed '
4472 ' >>$CONFIG_STATUS || ac_write_fail=1
4473 rm -f conf$$subs.awk
4474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4476 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4477 for (key in S) S_is_set[key] = 1
4483 nfields = split(line, field, "@")
4485 len = length(field[1])
4486 for (i = 2; i < nfields; i++) {
4488 keylen = length(key)
4489 if (S_is_set[key]) {
4491 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4492 len += length(value) + length(field[++i])
4503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4504 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4505 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4508 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4509 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4512 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4513 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4514 # trailing colons and then remove the whole line if VPATH becomes empty
4515 # (actually we leave an empty line to preserve line numbers).
4516 if test "x$srcdir" = x.; then
4517 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4536 fi # test -n "$CONFIG_FILES"
4538 # Set up the scripts for CONFIG_HEADERS section.
4539 # No need to generate them if there are no CONFIG_HEADERS.
4540 # This happens for instance with `./config.status Makefile'.
4541 if test -n "$CONFIG_HEADERS"; then
4542 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4546 # Transform confdefs.h into an awk script `defines.awk', embedded as
4547 # here-document in config.status, that substitutes the proper values into
4548 # config.h.in to produce config.h.
4550 # Create a delimiter string that does not exist in confdefs.h, to ease
4551 # handling of long lines.
4553 for ac_last_try in false false :; do
4554 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4555 if test -z "$ac_tt"; then
4557 elif $ac_last_try; then
4558 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4564 # For the awk script, D is an array of macro values keyed by name,
4565 # likewise P contains macro parameters if any. Preserve backslash
4566 # newline sequences.
4568 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4570 s/.\{148\}/&'"$ac_delim"'/g
4573 s/^[ ]*#[ ]*define[ ][ ]*/ /
4580 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4582 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4586 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4587 D["\1"]=" \3\\\\\\n"\\/p
4589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4594 s/.\{148\}/&'"$ac_delim"'/g
4599 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4602 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4604 ' <confdefs.h | sed '
4605 s/'"$ac_delim"'/"\\\
4606 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4609 for (key in D) D_is_set[key] = 1
4612 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4614 split(line, arg, " ")
4615 if (arg[1] == "#") {
4619 defundef = substr(arg[1], 2)
4622 split(mac1, mac2, "(") #)
4624 prefix = substr(line, 1, index(line, defundef) - 1)
4625 if (D_is_set[macro]) {
4626 # Preserve the white space surrounding the "#".
4627 print prefix "define", macro P[macro] D[macro]
4630 # Replace #undef with comments. This is necessary, for example,
4631 # in the case of _POSIX_SOURCE, which is predefined and required
4632 # on some systems where configure will not decide to define it.
4633 if (defundef == "undef") {
4634 print "/*", prefix defundef, macro, "*/"
4642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4643 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4644 fi # test -n "$CONFIG_HEADERS"
4647 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4652 :[FHLC]) ac_mode=$ac_tag; continue;;
4654 case $ac_mode$ac_tag in
4656 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4657 :[FH]-) ac_tag=-:-;;
4658 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4675 -) ac_f="$ac_tmp/stdin";;
4676 *) # Look for the file first in the build tree, then in the source tree
4677 # (if the path is not absolute). The absolute path cannot be DOS-style,
4678 # because $ac_f cannot contain `:'.
4682 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4684 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4686 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4687 as_fn_append ac_file_inputs " '$ac_f'"
4690 # Let's still pretend it is `configure' which instantiates (i.e., don't
4691 # use $as_me), people would be surprised to read:
4692 # /* config.h. Generated by config.status. */
4693 configure_input='Generated from '`
4694 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4696 if test x"$ac_file" != x-; then
4697 configure_input="$ac_file. $configure_input"
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4699 $as_echo "$as_me: creating $ac_file" >&6;}
4701 # Neutralize special characters interpreted by sed in replacement strings.
4702 case $configure_input in #(
4703 *\&* | *\|* | *\\* )
4704 ac_sed_conf_input=`$as_echo "$configure_input" |
4705 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4706 *) ac_sed_conf_input=$configure_input;;
4710 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4716 ac_dir=`$as_dirname -- "$ac_file" ||
4717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4718 X"$ac_file" : 'X\(//\)[^/]' \| \
4719 X"$ac_file" : 'X\(//\)$' \| \
4720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4721 $as_echo X"$ac_file" |
4722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4739 as_dir="$ac_dir"; as_fn_mkdir_p
4743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4746 # A ".." for each directory in $ac_dir_suffix.
4747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4748 case $ac_top_builddir_sub in
4749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4753 ac_abs_top_builddir=$ac_pwd
4754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4755 # for backward compatibility:
4756 ac_top_builddir=$ac_top_build_prefix
4759 .) # We are building in place.
4761 ac_top_srcdir=$ac_top_builddir_sub
4762 ac_abs_top_srcdir=$ac_pwd ;;
4763 [\\/]* | ?:[\\/]* ) # Absolute name.
4764 ac_srcdir=$srcdir$ac_dir_suffix;
4765 ac_top_srcdir=$srcdir
4766 ac_abs_top_srcdir=$srcdir ;;
4768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4769 ac_top_srcdir=$ac_top_build_prefix$srcdir
4770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4782 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4783 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4787 [\\/$]* | ?:[\\/]* ) ;;
4788 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4793 # If the template does not know about datarootdir, expand it.
4794 # FIXME: This hack should be removed a few years after 2.60.
4795 ac_datarootdir_hack=; ac_datarootdir_seen=
4806 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4807 *datarootdir*) ac_datarootdir_seen=yes;;
4808 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4810 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4813 ac_datarootdir_hack='
4814 s&@datadir@&$datadir&g
4815 s&@docdir@&$docdir&g
4816 s&@infodir@&$infodir&g
4817 s&@localedir@&$localedir&g
4818 s&@mandir@&$mandir&g
4819 s&\\\${datarootdir}&$datarootdir&g' ;;
4823 # Neutralize VPATH when `$srcdir' = `.'.
4824 # Shell code in configure.ac might set extrasub.
4825 # FIXME: do we really want to maintain this feature?
4826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4827 ac_sed_extra="$ac_vpsub
4830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4833 s|@configure_input@|$ac_sed_conf_input|;t t
4834 s&@top_builddir@&$ac_top_builddir_sub&;t t
4835 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4836 s&@srcdir@&$ac_srcdir&;t t
4837 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4838 s&@top_srcdir@&$ac_top_srcdir&;t t
4839 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4840 s&@builddir@&$ac_builddir&;t t
4841 s&@abs_builddir@&$ac_abs_builddir&;t t
4842 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4843 s&@INSTALL@&$ac_INSTALL&;t t
4844 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4845 $ac_datarootdir_hack
4847 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4848 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4850 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4851 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4852 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4853 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4855 which seems to be undefined. Please make sure it is defined" >&5
4856 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4857 which seems to be undefined. Please make sure it is defined" >&2;}
4859 rm -f "$ac_tmp/stdin"
4861 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4862 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4870 if test x"$ac_file" != x-; then
4872 $as_echo "/* $configure_input */" \
4873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4874 } >"$ac_tmp/config.h" \
4875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4876 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4878 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4881 mv "$ac_tmp/config.h" "$ac_file" \
4882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4885 $as_echo "/* $configure_input */" \
4886 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4887 || as_fn_error $? "could not create -" "$LINENO" 5
4889 # Compute "$ac_file"'s index in $config_headers.
4892 for _am_header in $config_headers :; do
4894 $_am_arg | $_am_arg:* )
4897 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4900 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4901 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4902 X"$_am_arg" : 'X\(//\)[^/]' \| \
4903 X"$_am_arg" : 'X\(//\)$' \| \
4904 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4905 $as_echo X"$_am_arg" |
4906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4922 s/.*/./; q'`/stamp-h$_am_stamp_count
4925 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4926 $as_echo "$as_me: executing $ac_file commands" >&6;}
4931 case $ac_file$ac_mode in
4932 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4933 # Older Autoconf quotes --file arguments for eval, but not when files
4934 # are listed without --file. Let's play safe and only enable the eval
4935 # if we detect the quoting.
4936 case $CONFIG_FILES in
4937 *\'*) eval set x "$CONFIG_FILES" ;;
4938 *) set x $CONFIG_FILES ;;
4943 # Strip MF so we end up with the name of the file.
4944 mf=`echo "$mf" | sed -e 's/:.*$//'`
4945 # Check whether this is an Automake generated Makefile or not.
4946 # We used to match only the files named 'Makefile.in', but
4947 # some people rename them; so instead we look at the file content.
4948 # Grep'ing the first line is not enough: some people post-process
4949 # each Makefile.in and add a new line on top of each file to say so.
4950 # Grep'ing the whole file is not good either: AIX grep has a line
4951 # limit of 2048, but all sed's we know have understand at least 4000.
4952 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4953 dirpart=`$as_dirname -- "$mf" ||
4954 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4955 X"$mf" : 'X\(//\)[^/]' \| \
4956 X"$mf" : 'X\(//\)$' \| \
4957 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4979 # Extract the definition of DEPDIR, am__include, and am__quote
4980 # from the Makefile without running 'make'.
4981 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4982 test -z "$DEPDIR" && continue
4983 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4984 test -z "$am__include" && continue
4985 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4986 # Find all dependency output files, they are included files with
4987 # $(DEPDIR) in their names. We invoke sed twice because it is the
4988 # simplest approach to changing $(DEPDIR) to its actual value in the
4990 for file in `sed -n "
4991 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4992 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
4993 # Make sure the directory exists.
4994 test -f "$dirpart/$file" && continue
4995 fdir=`$as_dirname -- "$file" ||
4996 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4997 X"$file" : 'X\(//\)[^/]' \| \
4998 X"$file" : 'X\(//\)$' \| \
4999 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5018 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5019 # echo "creating $dirpart/$file"
5020 echo '# dummy' > "$dirpart/$file"
5032 ac_clean_files=$ac_clean_files_save
5034 test $ac_write_fail = 0 ||
5035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5038 # configure is writing to config.log, and then calls config.status.
5039 # config.status does its own redirection, appending to config.log.
5040 # Unfortunately, on DOS this fails, as config.log is still kept open
5041 # by configure, so config.status won't be able to write to it; its
5042 # output is simply discarded. So we exec the FD to /dev/null,
5043 # effectively closing config.log, so it can be properly (re)opened and
5044 # appended to by config.status. When coming back to configure, we
5045 # need to make the FD available again.
5046 if test "$no_create" != yes; then
5048 ac_config_status_args=
5049 test "$silent" = yes &&
5050 ac_config_status_args="$ac_config_status_args --quiet"
5052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5055 # would make configure fail if this is the last instruction.
5056 $ac_cs_success || as_fn_exit 1
5058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}