2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for tcsh 6.18.01.
5 # Report bugs to <http://bugs.gw.com/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: http://bugs.gw.com/ about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='tcsh'
563 PACKAGE_VERSION='6.18.01'
564 PACKAGE_STRING='tcsh 6.18.01'
565 PACKAGE_BUGREPORT='http://bugs.gw.com/'
568 ac_unique_file="tc.vers.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='LTLIBOBJS
663 program_transform_name
676 enable_option_checking
684 ac_precious_vars='build_alias
695 # Initialize some variables set by options.
697 ac_init_version=false
698 ac_unrecognized_opts=
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
709 program_transform_name=s,x,x,
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734 infodir='${datarootdir}/info'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760 # Accept the important Cygnus configure options, so we can diagnose typos.
762 case $ac_dashdash$ac_option in
766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771 -build | --build | --buil | --bui | --bu)
772 ac_prev=build_alias ;;
773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774 build_alias=$ac_optarg ;;
776 -cache-file | --cache-file | --cache-fil | --cache-fi \
777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778 ac_prev=cache_file ;;
779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781 cache_file=$ac_optarg ;;
784 cache_file=config.cache ;;
786 -datadir | --datadir | --datadi | --datad)
788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
789 datadir=$ac_optarg ;;
791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792 | --dataroo | --dataro | --datar)
793 ac_prev=datarootdir ;;
794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796 datarootdir=$ac_optarg ;;
798 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
812 eval enable_$ac_useropt=no ;;
814 -docdir | --docdir | --docdi | --doc | --do)
816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824 -enable-* | --enable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
838 eval enable_$ac_useropt=\$ac_optarg ;;
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
853 -help | --help | --hel | --he | -h)
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869 htmldir=$ac_optarg ;;
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
883 -libdir | --libdir | --libdi | --libd)
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
895 -localedir | --localedir | --localedi | --localed | --locale)
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913 # Obsolete; use --without-fp.
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 -psdir | --psdir | --psdi | --psd | --ps)
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987 sbindir=$ac_optarg ;;
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998 sharedstatedir=$ac_optarg ;;
1000 -site | --site | --sit)
1002 -site=* | --site=* | --sit=*)
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008 srcdir=$ac_optarg ;;
1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011 | --syscon | --sysco | --sysc | --sys | --sy)
1012 ac_prev=sysconfdir ;;
1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015 sysconfdir=$ac_optarg ;;
1017 -target | --target | --targe | --targ | --tar | --ta | --t)
1018 ac_prev=target_alias ;;
1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020 target_alias=$ac_optarg ;;
1022 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1029 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid package name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval with_$ac_useropt=\$ac_optarg ;;
1044 -without-* | --without-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval with_$ac_useropt=no ;;
1061 # Obsolete; use --with-x.
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1079 Try \`$0 --help' for more information"
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names.
1085 case $ac_envvar in #(
1086 '' | [0-9]* | *[!_$as_cr_alnum]* )
1087 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 as_fn_error $? "missing argument to $ac_option"
1108 if test -n "$ac_unrecognized_opts"; then
1109 case $enable_option_checking in
1111 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1116 # Check all directory arguments for consistency.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1123 # Remove trailing slashes.
1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1127 eval $ac_var=\$ac_val;;
1129 # Be sure to have absolute directory names.
1131 [\\/$]* | ?:[\\/]* ) continue;;
1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1149 If a cross compiler is detected then cross compile mode will be used" >&2
1150 elif test "x$build_alias" != "x$host_alias"; then
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158 test "$silent" = yes && exec 6>/dev/null
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164 as_fn_error $? "working directory cannot be determined"
1165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1166 as_fn_error $? "pwd does not report name of working directory"
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir=`$as_dirname -- "$as_myself" ||
1174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$as_myself" : 'X\(//\)[^/]' \| \
1176 X"$as_myself" : 'X\(//\)$' \| \
1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1178 $as_echo X"$as_myself" |
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1201 ac_srcdir_defaulted=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
1215 # Remove unnecessary trailing slashes from srcdir.
1216 # Double slashes in file names in object file debugging info
1217 # mess up M-x gdb in Emacs.
1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221 for ac_var in $ac_precious_vars; do
1222 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_env_${ac_var}_value=\$${ac_var}
1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1229 # Report the --help message.
1231 if test "$ac_init_help" = "long"; then
1232 # Omit some internal or obsolete options to make the list less imposing.
1233 # This message is too long to be a string in the A/UX 3.1 sh.
1235 \`configure' configures tcsh 6.18.01 to adapt to many kinds of systems.
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
1239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240 VAR=VALUE. See below for descriptions of some of the useful variables.
1242 Defaults for the options are specified in brackets.
1245 -h, --help display this help and exit
1246 --help=short display options specific to this package
1247 --help=recursive display the short help of all the included packages
1248 -V, --version display version information and exit
1249 -q, --quiet, --silent do not print \`checking ...' messages
1250 --cache-file=FILE cache test results in FILE [disabled]
1251 -C, --config-cache alias for \`--cache-file=config.cache'
1252 -n, --no-create do not create output files
1253 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1255 Installation directories:
1256 --prefix=PREFIX install architecture-independent files in PREFIX
1257 [$ac_default_prefix]
1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1261 By default, \`make install' will install all the files in
1262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264 for instance \`--prefix=\$HOME'.
1266 For better control, use the options below.
1268 Fine tuning of the installation directories:
1269 --bindir=DIR user executables [EPREFIX/bin]
1270 --sbindir=DIR system admin executables [EPREFIX/sbin]
1271 --libexecdir=DIR program executables [EPREFIX/libexec]
1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1275 --libdir=DIR object code libraries [EPREFIX/lib]
1276 --includedir=DIR C header files [PREFIX/include]
1277 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1280 --infodir=DIR info documentation [DATAROOTDIR/info]
1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1282 --mandir=DIR man documentation [DATAROOTDIR/man]
1283 --docdir=DIR documentation root [DATAROOTDIR/doc/tcsh]
1284 --htmldir=DIR html documentation [DOCDIR]
1285 --dvidir=DIR dvi documentation [DOCDIR]
1286 --pdfdir=DIR pdf documentation [DOCDIR]
1287 --psdir=DIR ps documentation [DOCDIR]
1293 --build=BUILD configure for building on BUILD [guessed]
1294 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1298 if test -n "$ac_init_help"; then
1299 case $ac_init_help in
1300 short | recursive ) echo "Configuration of tcsh 6.18.01:";;
1305 --disable-option-checking ignore unrecognized --enable/--with options
1306 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1307 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1308 --disable-rpath do not hardcode runtime library paths
1309 --disable-nls Disable NLS support
1310 --disable-nls-catalogs Disable NLS catalog support
1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1315 --with-gnu-ld assume the C compiler uses GNU ld default=no
1316 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1317 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1318 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion
1320 Some influential environment variables:
1321 CC C compiler command
1322 CFLAGS C compiler flags
1323 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1324 nonstandard directory <lib dir>
1325 LIBS libraries to pass to the linker, e.g. -l<library>
1326 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1327 you have headers in a nonstandard directory <include dir>
1330 Use these variables to override the choices made by `configure' or to help
1331 it to find libraries and programs with nonstandard names/locations.
1333 Report bugs to <http://bugs.gw.com/>.
1338 if test "$ac_init_help" = "recursive"; then
1339 # If there are subdirs, report their specific --help.
1340 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341 test -d "$ac_dir" ||
1342 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1350 # A ".." for each directory in $ac_dir_suffix.
1351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1352 case $ac_top_builddir_sub in
1353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 ac_abs_top_builddir=$ac_pwd
1358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359 # for backward compatibility:
1360 ac_top_builddir=$ac_top_build_prefix
1363 .) # We are building in place.
1365 ac_top_srcdir=$ac_top_builddir_sub
1366 ac_abs_top_srcdir=$ac_pwd ;;
1367 [\\/]* | ?:[\\/]* ) # Absolute name.
1368 ac_srcdir=$srcdir$ac_dir_suffix;
1369 ac_top_srcdir=$srcdir
1370 ac_abs_top_srcdir=$srcdir ;;
1372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373 ac_top_srcdir=$ac_top_build_prefix$srcdir
1374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1378 cd "$ac_dir" || { ac_status=$?; continue; }
1379 # Check for guested configure.
1380 if test -f "$ac_srcdir/configure.gnu"; then
1382 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383 elif test -f "$ac_srcdir/configure"; then
1385 $SHELL "$ac_srcdir/configure" --help=recursive
1387 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1389 cd "$ac_pwd" || { ac_status=$?; break; }
1393 test -n "$ac_init_help" && exit $ac_status
1394 if $ac_init_version; then
1396 tcsh configure 6.18.01
1397 generated by GNU Autoconf 2.68
1399 Copyright (C) 2010 Free Software Foundation, Inc.
1400 This configure script is free software; the Free Software Foundation
1401 gives unlimited permission to copy, distribute and modify it.
1406 ## ------------------------ ##
1407 ## Autoconf initialization. ##
1408 ## ------------------------ ##
1410 # ac_fn_c_try_compile LINENO
1411 # --------------------------
1412 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1413 ac_fn_c_try_compile ()
1415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1416 rm -f conftest.$ac_objext
1417 if { { ac_try="$ac_compile"
1419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1420 *) ac_try_echo=$ac_try;;
1422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1423 $as_echo "$ac_try_echo"; } >&5
1424 (eval "$ac_compile") 2>conftest.err
1426 if test -s conftest.err; then
1427 grep -v '^ *+' conftest.err >conftest.er1
1428 cat conftest.er1 >&5
1429 mv -f conftest.er1 conftest.err
1431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1432 test $ac_status = 0; } && {
1433 test -z "$ac_c_werror_flag" ||
1434 test ! -s conftest.err
1435 } && test -s conftest.$ac_objext; then :
1438 $as_echo "$as_me: failed program was:" >&5
1439 sed 's/^/| /' conftest.$ac_ext >&5
1443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1444 as_fn_set_status $ac_retval
1446 } # ac_fn_c_try_compile
1448 # ac_fn_c_try_cpp LINENO
1449 # ----------------------
1450 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 if { { ac_try="$ac_cpp conftest.$ac_ext"
1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1457 *) ac_try_echo=$ac_try;;
1459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1460 $as_echo "$ac_try_echo"; } >&5
1461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1463 if test -s conftest.err; then
1464 grep -v '^ *+' conftest.err >conftest.er1
1465 cat conftest.er1 >&5
1466 mv -f conftest.er1 conftest.err
1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1469 test $ac_status = 0; } > conftest.i && {
1470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1471 test ! -s conftest.err
1475 $as_echo "$as_me: failed program was:" >&5
1476 sed 's/^/| /' conftest.$ac_ext >&5
1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1481 as_fn_set_status $ac_retval
1485 # ac_fn_c_try_link LINENO
1486 # -----------------------
1487 # Try to link conftest.$ac_ext, and return whether this succeeded.
1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1491 rm -f conftest.$ac_objext conftest$ac_exeext
1492 if { { ac_try="$ac_link"
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_link") 2>conftest.err
1501 if test -s conftest.err; then
1502 grep -v '^ *+' conftest.err >conftest.er1
1503 cat conftest.er1 >&5
1504 mv -f conftest.er1 conftest.err
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; } && {
1508 test -z "$ac_c_werror_flag" ||
1509 test ! -s conftest.err
1510 } && test -s conftest$ac_exeext && {
1511 test "$cross_compiling" = yes ||
1512 $as_test_x conftest$ac_exeext
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1522 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1523 # interfere with the next link command; also delete a directory that is
1524 # left behind by Apple's compiler. We do this before executing the actions.
1525 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527 as_fn_set_status $ac_retval
1529 } # ac_fn_c_try_link
1531 # ac_fn_c_try_run LINENO
1532 # ----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1534 # that executables *can* be run.
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { { ac_try="$ac_link"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_link") 2>&5
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1549 { { case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_try") 2>&5
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; }; }; then :
1561 $as_echo "$as_me: program exited with status $ac_status" >&5
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1565 ac_retval=$ac_status
1567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status $ac_retval
1573 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1574 # -------------------------------------------------------
1575 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1576 # the include files in INCLUDES and setting the cache variable VAR
1578 ac_fn_c_check_header_mongrel ()
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 if eval \${$3+:} false; then :
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583 $as_echo_n "checking for $2... " >&6; }
1584 if eval \${$3+:} false; then :
1585 $as_echo_n "(cached) " >&6
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1591 # Is the header compilable?
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1593 $as_echo_n "checking $2 usability... " >&6; }
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1599 if ac_fn_c_try_compile "$LINENO"; then :
1600 ac_header_compiler=yes
1602 ac_header_compiler=no
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1606 $as_echo "$ac_header_compiler" >&6; }
1608 # Is the header present?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1610 $as_echo_n "checking $2 presence... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1615 if ac_fn_c_try_cpp "$LINENO"; then :
1616 ac_header_preproc=yes
1618 ac_header_preproc=no
1620 rm -f conftest.err conftest.i conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1622 $as_echo "$ac_header_preproc" >&6; }
1624 # So? What about this header?
1625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1628 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1634 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1636 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1638 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1640 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 ( $as_echo "## ---------------------------------- ##
1644 ## Report this to http://bugs.gw.com/ ##
1645 ## ---------------------------------- ##"
1646 ) | sed "s/^/$as_me: WARNING: /" >&2
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if eval \${$3+:} false; then :
1652 $as_echo_n "(cached) " >&6
1654 eval "$3=\$ac_header_compiler"
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 } # ac_fn_c_check_header_mongrel
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_compile
1695 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1696 # --------------------------------------------
1697 # Tries to find the compile-time value of EXPR in a program that includes
1698 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1700 ac_fn_c_compute_int ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if test "$cross_compiling" = yes; then
1704 # Depending upon the size, compute the lo and hi bounds.
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1711 static int test_array [1 - 2 * !(($2) >= 0)];
1718 if ac_fn_c_try_compile "$LINENO"; then :
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1727 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1734 if ac_fn_c_try_compile "$LINENO"; then :
1735 ac_hi=$ac_mid; break
1737 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1738 if test $ac_lo -le $ac_mid; then
1742 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1753 static int test_array [1 - 2 * !(($2) < 0)];
1760 if ac_fn_c_try_compile "$LINENO"; then :
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1769 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1776 if ac_fn_c_try_compile "$LINENO"; then :
1777 ac_lo=$ac_mid; break
1779 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1780 if test $ac_mid -le $ac_hi; then
1784 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 # Binary search between lo and hi bounds.
1795 while test "x$ac_lo" != "x$ac_hi"; do
1796 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1803 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1810 if ac_fn_c_try_compile "$LINENO"; then :
1813 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1825 static long int longval () { return $2; }
1826 static unsigned long int ulongval () { return $2; }
1833 FILE *f = fopen ("conftest.val", "w");
1838 long int i = longval ();
1841 fprintf (f, "%ld", i);
1845 unsigned long int i = ulongval ();
1848 fprintf (f, "%lu", i);
1850 /* Do not output a trailing newline, as this causes \r\n confusion
1851 on some platforms. */
1852 return ferror (f) || fclose (f) != 0;
1858 if ac_fn_c_try_run "$LINENO"; then :
1859 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1864 conftest.$ac_objext conftest.beam conftest.$ac_ext
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } # ac_fn_c_compute_int
1873 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1874 # -------------------------------------------
1875 # Tests whether TYPE exists after having included INCLUDES, setting cache
1876 # variable VAR accordingly.
1877 ac_fn_c_check_type ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1911 if ac_fn_c_try_compile "$LINENO"; then :
1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 } # ac_fn_c_check_type
1927 # ac_fn_c_find_uintX_t LINENO BITS VAR
1928 # ------------------------------------
1929 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1931 ac_fn_c_find_uintX_t ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1935 $as_echo_n "checking for uint$2_t... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1940 # Order is important - never check a type that is potentially smaller
1941 # than half of the expected target width.
1942 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1943 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 $ac_includes_default
1950 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1957 if ac_fn_c_try_compile "$LINENO"; then :
1962 eval "$3=\$ac_type" ;;
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 if eval test \"x\$"$3"\" = x"no"; then :
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 } # ac_fn_c_find_uintX_t
1980 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1981 # ----------------------------------------------------
1982 # Tries to find if the field MEMBER exists in type AGGR, after including
1983 # INCLUDES, setting cache variable VAR accordingly.
1984 ac_fn_c_check_member ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1988 $as_echo_n "checking for $2.$3... " >&6; }
1989 if eval \${$4+:} false; then :
1990 $as_echo_n "(cached) " >&6
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2005 if ac_fn_c_try_compile "$LINENO"; then :
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2015 if (sizeof ac_aggr.$3)
2021 if ac_fn_c_try_compile "$LINENO"; then :
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035 } # ac_fn_c_check_member
2037 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2038 # ---------------------------------------------
2039 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2041 ac_fn_c_check_decl ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 as_decl_name=`echo $2|sed 's/ *(.*//'`
2045 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2047 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2048 if eval \${$3+:} false; then :
2049 $as_echo_n "(cached) " >&6
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2057 #ifndef $as_decl_name
2059 (void) $as_decl_use;
2061 (void) $as_decl_name;
2069 if ac_fn_c_try_compile "$LINENO"; then :
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_decl
2083 # ac_fn_c_check_func LINENO FUNC VAR
2084 # ----------------------------------
2085 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2086 ac_fn_c_check_func ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090 $as_echo_n "checking for $2... " >&6; }
2091 if eval \${$3+:} false; then :
2092 $as_echo_n "(cached) " >&6
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2096 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2098 #define $2 innocuous_$2
2100 /* System header to define __stub macros and hopefully few prototypes,
2101 which can conflict with char $2 (); below.
2102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2103 <limits.h> exists even on freestanding compilers. */
2106 # include <limits.h>
2108 # include <assert.h>
2113 /* Override any GCC internal prototype to avoid an error.
2114 Use char because int might match the return type of a GCC
2115 builtin and then its argument prototype would still apply. */
2120 /* The GNU C library defines this for functions which it implements
2121 to always fail with ENOSYS. Some functions are actually named
2122 something starting with __ and the normal name is an alias. */
2123 #if defined __stub_$2 || defined __stub___$2
2135 if ac_fn_c_try_link "$LINENO"; then :
2140 rm -f core conftest.err conftest.$ac_objext \
2141 conftest$ac_exeext conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2146 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2148 } # ac_fn_c_check_func
2149 cat >config.log <<_ACEOF
2150 This file contains any messages produced by compilers while
2151 running configure, to aid debugging if configure makes a mistake.
2153 It was created by tcsh $as_me 6.18.01, which was
2154 generated by GNU Autoconf 2.68. Invocation command line was
2166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2178 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir=.
2190 $as_echo "PATH: $as_dir"
2206 # Keep a trace of the command line.
2207 # Strip out --no-create and --no-recursion so they do not pile up.
2208 # Strip out --silent because we don't want to record it for future runs.
2209 # Also quote any args containing shell meta-characters.
2210 # Make two passes to allow for proper duplicate-argument suppression.
2214 ac_must_keep_next=false
2220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2222 | -silent | --silent | --silen | --sile | --sil)
2225 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2228 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2230 as_fn_append ac_configure_args1 " '$ac_arg'"
2231 if test $ac_must_keep_next = true; then
2232 ac_must_keep_next=false # Got value, back to normal.
2235 *=* | --config-cache | -C | -disable-* | --disable-* \
2236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2238 | -with-* | --with-* | -without-* | --without-* | --x)
2239 case "$ac_configure_args0 " in
2240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2243 -* ) ac_must_keep_next=true ;;
2246 as_fn_append ac_configure_args " '$ac_arg'"
2251 { ac_configure_args0=; unset ac_configure_args0;}
2252 { ac_configure_args1=; unset ac_configure_args1;}
2254 # When interrupted or exit'd, cleanup temporary files, and complete
2255 # config.log. We remove comments because anyway the quotes in there
2256 # would cause problems or look ugly.
2257 # WARNING: Use '\'' to represent an apostrophe within the trap.
2258 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2259 trap 'exit_status=$?
2260 # Save into config.log some information that might help in debugging.
2264 $as_echo "## ---------------- ##
2265 ## Cache variables. ##
2266 ## ---------------- ##"
2268 # The following way of writing the cache mishandles newlines in values,
2270 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2271 eval ac_val=\$$ac_var
2275 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2276 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2279 _ | IFS | as_nl) ;; #(
2280 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2281 *) { eval $ac_var=; unset $ac_var;} ;;
2286 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2287 *${as_nl}ac_space=\ *)
2289 "s/'\''/'\''\\\\'\'''\''/g;
2290 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2300 $as_echo "## ----------------- ##
2301 ## Output variables. ##
2302 ## ----------------- ##"
2304 for ac_var in $ac_subst_vars
2306 eval ac_val=\$$ac_var
2308 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -n "$ac_subst_files"; then
2315 $as_echo "## ------------------- ##
2316 ## File substitutions. ##
2317 ## ------------------- ##"
2319 for ac_var in $ac_subst_files
2321 eval ac_val=\$$ac_var
2323 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325 $as_echo "$ac_var='\''$ac_val'\''"
2330 if test -s confdefs.h; then
2331 $as_echo "## ----------- ##
2338 test "$ac_signal" != 0 &&
2339 $as_echo "$as_me: caught signal $ac_signal"
2340 $as_echo "$as_me: exit $exit_status"
2342 rm -f core *.core core.conftest.* &&
2343 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2346 for ac_signal in 1 2 13 15; do
2347 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2351 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2352 rm -f -r conftest* confdefs.h
2354 $as_echo "/* confdefs.h */" > confdefs.h
2356 # Predefined preprocessor variables.
2358 cat >>confdefs.h <<_ACEOF
2359 #define PACKAGE_NAME "$PACKAGE_NAME"
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_STRING "$PACKAGE_STRING"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_URL "$PACKAGE_URL"
2383 # Let the site file select an alternate cache file if it wants to.
2384 # Prefer an explicitly selected file to automatically selected ones.
2387 if test -n "$CONFIG_SITE"; then
2388 # We do not want a PATH search for config.site.
2389 case $CONFIG_SITE in #((
2390 -*) ac_site_file1=./$CONFIG_SITE;;
2391 */*) ac_site_file1=$CONFIG_SITE;;
2392 *) ac_site_file1=./$CONFIG_SITE;;
2394 elif test "x$prefix" != xNONE; then
2395 ac_site_file1=$prefix/share/config.site
2396 ac_site_file2=$prefix/etc/config.site
2398 ac_site_file1=$ac_default_prefix/share/config.site
2399 ac_site_file2=$ac_default_prefix/etc/config.site
2401 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2403 test "x$ac_site_file" = xNONE && continue
2404 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2406 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2407 sed 's/^/| /' "$ac_site_file" >&5
2409 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2411 as_fn_error $? "failed to load site script $ac_site_file
2412 See \`config.log' for more details" "$LINENO" 5; }
2416 if test -r "$cache_file"; then
2417 # Some versions of bash will fail to source /dev/null (special files
2418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2421 $as_echo "$as_me: loading cache $cache_file" >&6;}
2423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2424 *) . "./$cache_file";;
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2429 $as_echo "$as_me: creating cache $cache_file" >&6;}
2433 # Check that the precious variables saved in the cache have kept the same
2435 ac_cache_corrupted=false
2436 for ac_var in $ac_precious_vars; do
2437 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2438 eval ac_new_set=\$ac_env_${ac_var}_set
2439 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2440 eval ac_new_val=\$ac_env_${ac_var}_value
2441 case $ac_old_set,$ac_new_set in
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2444 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2445 ac_cache_corrupted=: ;;
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2449 ac_cache_corrupted=: ;;
2452 if test "x$ac_old_val" != "x$ac_new_val"; then
2453 # differences in whitespace do not lead to failure.
2454 ac_old_val_w=`echo x $ac_old_val`
2455 ac_new_val_w=`echo x $ac_new_val`
2456 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2458 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2459 ac_cache_corrupted=:
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2462 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2463 eval $ac_var=\$ac_old_val
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2466 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2468 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2471 # Pass precious variables to config.status.
2472 if test "$ac_new_set" = set; then
2474 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2475 *) ac_arg=$ac_var=$ac_new_val ;;
2477 case " $ac_configure_args " in
2478 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2479 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2483 if $ac_cache_corrupted; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2487 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2488 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2490 ## -------------------- ##
2491 ## Main body of script. ##
2492 ## -------------------- ##
2495 ac_cpp='$CPP $CPPFLAGS'
2496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2503 ac_config_headers="$ac_config_headers config.h"
2505 ac_config_commands="$ac_config_commands ./atconfig"
2509 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2510 if test -f "$ac_dir/install-sh"; then
2512 ac_install_sh="$ac_aux_dir/install-sh -c"
2514 elif test -f "$ac_dir/install.sh"; then
2516 ac_install_sh="$ac_aux_dir/install.sh -c"
2518 elif test -f "$ac_dir/shtool"; then
2520 ac_install_sh="$ac_aux_dir/shtool install -c"
2524 if test -z "$ac_aux_dir"; then
2525 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2528 # These three variables are undocumented and unsupported,
2529 # and are intended to be withdrawn in a future Autoconf release.
2530 # They can cause serious problems if a builder's source tree is in a directory
2531 # whose full name contains unusual characters.
2532 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2533 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2534 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2537 # Find a good install program. We prefer a C program (faster),
2538 # so one script is as good as another. But avoid the broken or
2539 # incompatible versions:
2540 # SysV /etc/install, /usr/sbin/install
2541 # SunOS /usr/etc/install
2542 # IRIX /sbin/install
2544 # AmigaOS /C/install, which installs bootblocks on floppy discs
2545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2548 # OS/2's system install, which has a completely different semantic
2549 # ./install, which can be erroneously created by make from ./install.sh.
2550 # Reject install programs that cannot install multiple files.
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2552 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2553 if test -z "$INSTALL"; then
2554 if ${ac_cv_path_install+:} false; then :
2555 $as_echo_n "(cached) " >&6
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 # Account for people who put trailing slashes in PATH elements.
2563 case $as_dir/ in #((
2564 ./ | .// | /[cC]/* | \
2565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2566 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2569 # OSF1 and SCO ODT 3.0 have their own names for install.
2570 # Don't use installbsd from OSF since it installs stuff as root
2572 for ac_prog in ginstall scoinst install; do
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2575 if test $ac_prog = install &&
2576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2577 # AIX install. It has an incompatible calling convention.
2579 elif test $ac_prog = install &&
2580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2581 # program-specific install script used by HP pwplus--don't use.
2584 rm -rf conftest.one conftest.two conftest.dir
2585 echo one > conftest.one
2586 echo two > conftest.two
2588 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2589 test -s conftest.one && test -s conftest.two &&
2590 test -s conftest.dir/conftest.one &&
2591 test -s conftest.dir/conftest.two
2593 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2606 rm -rf conftest.one conftest.two conftest.dir
2609 if test "${ac_cv_path_install+set}" = set; then
2610 INSTALL=$ac_cv_path_install
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for INSTALL within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 INSTALL=$ac_install_sh
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2620 $as_echo "$INSTALL" >&6; }
2622 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2623 # It thinks the first close brace ends the variable substitution.
2624 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2628 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2632 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if ${ac_cv_build+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 ac_build_alias=$build_alias
2640 test "x$ac_build_alias" = x &&
2641 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x &&
2643 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2652 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2655 ac_save_IFS=$IFS; IFS='-'
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2665 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if ${ac_cv_host+:} false; then :
2671 $as_echo_n "(cached) " >&6
2673 if test "x$host_alias" = x; then
2674 ac_cv_host=$ac_cv_build
2676 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2685 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2688 ac_save_IFS=$IFS; IFS='-'
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking cached host tuple" >&5
2703 $as_echo_n "checking cached host tuple... " >&6; }
2704 if { test x"${ac_cv_host_system_type+set}" = x"set" &&
2705 test x"$ac_cv_host_system_type" != x"$host"; }; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: different" >&5
2707 $as_echo "different" >&6; }
2708 as_fn_error $? "remove config.cache and re-run configure" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2711 $as_echo "ok" >&6; }
2713 ac_cv_host_system_type="$host"
2719 ## Alpha (DEC) machines.
2721 tcsh_config_file=decosf1
2726 tcsh_config_file=ultrix
2731 tcsh_config_file=dgux5.4
2734 tcsh_config_file=dgux5.4
2739 tcsh_config_file=hpux7
2742 tcsh_config_file=hpux8
2745 tcsh_config_file=hpux11
2750 tcsh_config_file=aix
2755 CC='cc -h0,ansi,novector,float0'
2757 tcsh_config_file=superux8
2760 ## IBM OS/390 systems
2763 tcsh_config_file=os390
2768 tcsh_config_file=android
2772 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
2773 tcsh_config_file=linux
2777 m68k-motorola-sysv* )
2778 tcsh_config_file=sysV68
2780 m88k-motorola-sysv3* )
2781 tcsh_config_file=sysV88
2786 tcsh_config_file=bsd4.4
2791 tcsh_config_file=bsd4.4
2794 ## MidnightBSD systems
2796 tcsh_config_file=bsd4.4
2799 ## DragonFlyBSD systems
2801 tcsh_config_file=bsd4.4
2806 tcsh_config_file=bsd4.4
2811 tcsh_config_file=bsd4.4
2816 tcsh_config_file=bsd4.4
2821 tcsh_config_file=bsd4.4
2824 ## DragonFly systems
2826 tcsh_config_file=bsd4.4
2829 ## Silicon Graphics machines
2831 tcsh_config_file=irix
2832 case "${host_os}" in
2833 irix[34]*) # Irix-3.x - Irix 4.x
2834 NON_GNU_DFLAGS='-D__STDC__'
2835 LIBS='-lsun -lbsd -lc_s'
2837 irix5* | irix6.[01]*) # Irix 5.x, Irix 6.0 - 6.1
2840 irix6.[2-9]*) # Irix 6.2 and later
2841 tcsh_config_file=irix62
2848 tcsh_config_file=sunos35
2851 tcsh_config_file=sunos40
2853 *-sun-sunos4.1.[12]* )
2854 tcsh_config_file=sunos41
2856 *-sun-sunos4.1.[3456]* )
2857 tcsh_config_file=sunos413
2859 *-*-solaris2.[01] ) # Should handle sparc or x86
2860 tcsh_config_file=sol2
2862 *-sun-solaris2.2 ) # Sparc only release
2863 tcsh_config_file=sol22
2865 *-sun-solaris2.3 ) # Sparc only release
2866 tcsh_config_file=sol23
2868 *-*-solaris2.[45] ) # Should handle sparc, x86 and powerpc
2869 tcsh_config_file=sol24
2871 *-*-solaris2.[678] ) # Should handle sparc, x86 and powerpc
2872 tcsh_config_file=sol26
2874 *-*-solaris2.* ) # Should handle sparc, x86 and powerpc
2875 tcsh_config_file=sol29
2880 tcsh_config_file=sysv4
2881 DFLAGS="$DFLAGS -DDELL"
2884 ## SVR4 (Generic and otherwise)
2886 tcsh_config_file=sysv4
2889 ## Tektronix systems
2890 m68k-tektronix-bsd* )
2891 tcsh_config_file=bsd
2892 NON_GNU_DFLAGS='-DBSD -DUTek'
2894 m88k-tektronix-sysv3* )
2895 tcsh_config_file=tekXD88
2900 tcsh_config_file=sco32v5
2903 tcsh_config_file=sco32v4
2906 tcsh_config_file=sco32v2
2909 ## Siemens BS2000 Mainframe
2911 tcsh_config_file=bs2000
2916 tcsh_config_file=convex
2921 tcsh_config_file=cray
2926 tcsh_config_file=cygwin
2929 ## mips-compaq-nonstopux
2931 tcsh_config_file=sysv4
2936 tcsh_config_file=apollo
2941 tcsh_config_file=qnx6
2945 as_fn_error $? "Tcsh can't guess the configuration file name
2946 for \`${host}' systems.
2947 Check tcsh's \`Ported' file for manual configuration instructions." "$LINENO" 5
2952 echo "Tcsh will use configuration file \`$tcsh_config_file'."
2953 cp ${srcdir}/config/${tcsh_config_file} config_p.h
2957 ac_cpp='$CPP $CPPFLAGS'
2958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_CC+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC="$CC" # Let the user override the test.
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 if test -n "$CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992 $as_echo "$CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
3000 if test -z "$ac_cv_prog_CC"; then
3002 # Extract the first word of "gcc", so it can be a program name with args.
3003 set dummy gcc; ac_word=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$ac_ct_CC"; then
3010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir=.
3017 for ac_exec_ext in '' $ac_executable_extensions; do
3018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019 ac_cv_prog_ac_ct_CC="gcc"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3030 if test -n "$ac_ct_CC"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3032 $as_echo "$ac_ct_CC" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3038 if test "x$ac_ct_CC" = x; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned=yes ;;
3053 if test -z "$CC"; then
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3056 set dummy ${ac_tool_prefix}cc; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_CC+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC="$CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_CC="${ac_tool_prefix}cc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3094 if test -z "$CC"; then
3095 # Extract the first word of "cc", so it can be a program name with args.
3096 set dummy cc; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_CC+:} false; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC="$CC" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3114 ac_prog_rejected=yes
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test $ac_prog_rejected = yes; then
3126 # We found a bogon in the path, so make sure we never use it.
3127 set dummy $ac_cv_prog_CC
3129 if test $# != 0; then
3130 # We chose a different compiler from the bogus one.
3131 # However, it has the same basename, so the bogon will be chosen
3132 # first if we set CC to just the basename; use the full file name.
3134 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$CC"; then
3151 if test -n "$ac_tool_prefix"; then
3152 for ac_prog in cl.exe
3154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC="$CC" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$CC" && break
3194 if test -z "$CC"; then
3196 for ac_prog in cl.exe
3198 # Extract the first word of "$ac_prog", so it can be a program name with args.
3199 set dummy $ac_prog; ac_word=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$ac_ct_CC"; then
3206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 ac_cv_prog_ac_ct_CC="$ac_prog"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 $as_echo "$ac_ct_CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3235 test -n "$ac_ct_CC" && break
3238 if test "x$ac_ct_CC" = x; then
3241 case $cross_compiling:$ac_tool_warned in
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245 ac_tool_warned=yes ;;
3254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error $? "no acceptable C compiler found in \$PATH
3257 See \`config.log' for more details" "$LINENO" 5; }
3259 # Provide some information about the compiler.
3260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3263 for ac_option in --version -v -V -qversion; do
3264 { { ac_try="$ac_compiler $ac_option >&5"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3273 if test -s conftest.err; then
3275 ... rest of stderr output deleted ...
3276 10q' conftest.err >conftest.er1
3277 cat conftest.er1 >&5
3279 rm -f conftest.er1 conftest.err
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 ac_clean_files_save=$ac_clean_files
3296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3297 # Try to create an executable without -o first, disregard a.out.
3298 # It will help us diagnose broken compilers, and finding out an intuition
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3301 $as_echo_n "checking whether the C compiler works... " >&6; }
3302 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3304 # The possible output files:
3305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3308 for ac_file in $ac_files
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3317 if { { ac_try="$ac_link_default"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_link_default") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; then :
3328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3331 # so that the user can short-circuit this test for compilers unknown to
3333 for ac_file in $ac_files ''
3335 test -f "$ac_file" || continue
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3340 # We found the default executable, but exeext='' is most
3344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 # We set ac_cv_exeext here because the later test for it is not
3349 # safe: cross compilers may not add the suffix if given an `-o'
3350 # argument, so we may need to know it at that point already.
3351 # Even if this section looks crufty: it has the advantage of
3358 test "$ac_cv_exeext" = no && ac_cv_exeext=
3363 if test -z "$ac_file"; then :
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 $as_echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 as_fn_error 77 "C compiler cannot create executables
3372 See \`config.log' for more details" "$LINENO" 5; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3375 $as_echo "yes" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3378 $as_echo_n "checking for C compiler default output file name... " >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3380 $as_echo "$ac_file" >&6; }
3381 ac_exeext=$ac_cv_exeext
3383 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3384 ac_clean_files=$ac_clean_files_save
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3386 $as_echo_n "checking for suffix of executables... " >&6; }
3387 if { { ac_try="$ac_link"
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_link") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3399 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3400 # work properly (i.e., refer to `conftest.exe'), while it won't with
3402 for ac_file in conftest.exe conftest conftest.*; do
3403 test -f "$ac_file" || continue
3405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3406 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3415 See \`config.log' for more details" "$LINENO" 5; }
3417 rm -f conftest conftest$ac_cv_exeext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3419 $as_echo "$ac_cv_exeext" >&6; }
3421 rm -f conftest.$ac_ext
3422 EXEEXT=$ac_cv_exeext
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3430 FILE *f = fopen ("conftest.out", "w");
3431 return ferror (f) || fclose (f) != 0;
3437 ac_clean_files="$ac_clean_files conftest.out"
3438 # Check that the compiler produces executables we can run. If not, either
3439 # the compiler is broken, or we cross compile.
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3441 $as_echo_n "checking whether we are cross compiling... " >&6; }
3442 if test "$cross_compiling" != yes; then
3443 { { ac_try="$ac_link"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_link") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }
3454 if { ac_try='./conftest$ac_cv_exeext'
3455 { { case "(($ac_try" in
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_try") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }; }; then
3467 if test "$cross_compiling" = maybe; then
3470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $? "cannot run C compiled programs.
3473 If you meant to cross compile, use \`--host'.
3474 See \`config.log' for more details" "$LINENO" 5; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3479 $as_echo "$cross_compiling" >&6; }
3481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3482 ac_clean_files=$ac_clean_files_save
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3484 $as_echo_n "checking for suffix of object files... " >&6; }
3485 if ${ac_cv_objext+:} false; then :
3486 $as_echo_n "(cached) " >&6
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 rm -f conftest.o conftest.obj
3500 if { { ac_try="$ac_compile"
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3506 $as_echo "$ac_try_echo"; } >&5
3507 (eval "$ac_compile") 2>&5
3509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3510 test $ac_status = 0; }; then :
3511 for ac_file in conftest.o conftest.obj conftest.*; do
3512 test -f "$ac_file" || continue;
3514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3520 $as_echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error $? "cannot compute suffix of object files: cannot compile
3526 See \`config.log' for more details" "$LINENO" 5; }
3528 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3531 $as_echo "$ac_cv_objext" >&6; }
3532 OBJEXT=$ac_cv_objext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3535 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3536 if ${ac_cv_c_compiler_gnu+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3563 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3564 if test $ac_compiler_gnu = yes; then
3569 ac_test_CFLAGS=${CFLAGS+set}
3570 ac_save_CFLAGS=$CFLAGS
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3572 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3573 if ${ac_cv_prog_cc_g+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_save_c_werror_flag=$ac_c_werror_flag
3577 ac_c_werror_flag=yes
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 if ac_fn_c_try_compile "$LINENO"; then :
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_c_werror_flag=$ac_save_c_werror_flag
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3622 if ac_fn_c_try_compile "$LINENO"; then :
3625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 ac_c_werror_flag=$ac_save_c_werror_flag
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3633 $as_echo "$ac_cv_prog_cc_g" >&6; }
3634 if test "$ac_test_CFLAGS" = set; then
3635 CFLAGS=$ac_save_CFLAGS
3636 elif test $ac_cv_prog_cc_g = yes; then
3637 if test "$GCC" = yes; then
3643 if test "$GCC" = yes; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3651 if ${ac_cv_prog_cc_c89+:} false; then :
3652 $as_echo_n "(cached) " >&6
3654 ac_cv_prog_cc_c89=no
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3660 #include <sys/types.h>
3661 #include <sys/stat.h>
3662 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3663 struct buf { int x; };
3664 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3665 static char *e (p, i)
3671 static char *f (char * (*g) (char **, int), char **p, ...)
3676 s = g (p, va_arg (v,int));
3681 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3682 function prototypes and stuff, but not '\xHH' hex character constants.
3683 These don't provoke an error unfortunately, instead are silently treated
3684 as 'x'. The following induces an error, until -std is added to get
3685 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3686 array size at least. It's necessary to write '\x00'==0 to get something
3687 that's true only with -std. */
3688 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3690 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3691 inside strings and character constants. */
3693 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3695 int test (int i, double x);
3696 struct s1 {int (*f) (int a);};
3697 struct s2 {int (*f) (double a);};
3698 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3704 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3709 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3710 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3712 CC="$ac_save_CC $ac_arg"
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 ac_cv_prog_cc_c89=$ac_arg
3716 rm -f core conftest.err conftest.$ac_objext
3717 test "x$ac_cv_prog_cc_c89" != "xno" && break
3719 rm -f conftest.$ac_ext
3724 case "x$ac_cv_prog_cc_c89" in
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3727 $as_echo "none needed" >&6; } ;;
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3730 $as_echo "unsupported" >&6; } ;;
3732 CC="$CC $ac_cv_prog_cc_c89"
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3734 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3736 if test "x$ac_cv_prog_cc_c89" != xno; then :
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3753 # On Suns, sometimes $CPP names a directory.
3754 if test -n "$CPP" && test -d "$CPP"; then
3757 if test -z "$CPP"; then
3758 if ${ac_cv_prog_CPP+:} false; then :
3759 $as_echo_n "(cached) " >&6
3761 # Double quotes because CPP needs to be expanded
3762 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3765 for ac_c_preproc_warn_flag in '' yes
3767 # Use a header file that comes with gcc, so configuring glibc
3768 # with a fresh cross-compiler works.
3769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3770 # <limits.h> exists even on freestanding compilers.
3771 # On the NeXT, cc -E runs the code through the compiler's parser,
3772 # not just through cpp. "Syntax error" is here to catch this case.
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3776 # include <limits.h>
3778 # include <assert.h>
3782 if ac_fn_c_try_cpp "$LINENO"; then :
3785 # Broken: fails on valid input.
3788 rm -f conftest.err conftest.i conftest.$ac_ext
3790 # OK, works on sane cases. Now check whether nonexistent headers
3791 # can be detected and how.
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3794 #include <ac_nonexistent.h>
3796 if ac_fn_c_try_cpp "$LINENO"; then :
3797 # Broken: success on invalid input.
3800 # Passes both tests.
3804 rm -f conftest.err conftest.i conftest.$ac_ext
3807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3808 rm -f conftest.i conftest.err conftest.$ac_ext
3809 if $ac_preproc_ok; then :
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3822 $as_echo "$CPP" >&6; }
3824 for ac_c_preproc_warn_flag in '' yes
3826 # Use a header file that comes with gcc, so configuring glibc
3827 # with a fresh cross-compiler works.
3828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3829 # <limits.h> exists even on freestanding compilers.
3830 # On the NeXT, cc -E runs the code through the compiler's parser,
3831 # not just through cpp. "Syntax error" is here to catch this case.
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3835 # include <limits.h>
3837 # include <assert.h>
3841 if ac_fn_c_try_cpp "$LINENO"; then :
3844 # Broken: fails on valid input.
3847 rm -f conftest.err conftest.i conftest.$ac_ext
3849 # OK, works on sane cases. Now check whether nonexistent headers
3850 # can be detected and how.
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if ac_fn_c_try_cpp "$LINENO"; then :
3856 # Broken: success on invalid input.
3859 # Passes both tests.
3863 rm -f conftest.err conftest.i conftest.$ac_ext
3866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3867 rm -f conftest.i conftest.err conftest.$ac_ext
3868 if $ac_preproc_ok; then :
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3874 See \`config.log' for more details" "$LINENO" 5; }
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3886 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3887 if ${ac_cv_path_GREP+:} false; then :
3888 $as_echo_n "(cached) " >&6
3890 if test -z "$GREP"; then
3891 ac_path_GREP_found=false
3892 # Loop through the user's path and test for each of PROGNAME-LIST
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3897 test -z "$as_dir" && as_dir=.
3898 for ac_prog in grep ggrep; do
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3901 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3902 # Check for GNU ac_path_GREP and select it if it is found.
3903 # Check for GNU $ac_path_GREP
3904 case `"$ac_path_GREP" --version 2>&1` in
3906 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3909 $as_echo_n 0123456789 >"conftest.in"
3912 cat "conftest.in" "conftest.in" >"conftest.tmp"
3913 mv "conftest.tmp" "conftest.in"
3914 cp "conftest.in" "conftest.nl"
3915 $as_echo 'GREP' >> "conftest.nl"
3916 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3918 as_fn_arith $ac_count + 1 && ac_count=$as_val
3919 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3920 # Best one so far, save it but keep looking for a better one
3921 ac_cv_path_GREP="$ac_path_GREP"
3922 ac_path_GREP_max=$ac_count
3924 # 10*(2^10) chars as input seems more than enough
3925 test $ac_count -gt 10 && break
3927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3930 $ac_path_GREP_found && break 3
3935 if test -z "$ac_cv_path_GREP"; then
3936 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3939 ac_cv_path_GREP=$GREP
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3944 $as_echo "$ac_cv_path_GREP" >&6; }
3945 GREP="$ac_cv_path_GREP"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3949 $as_echo_n "checking for egrep... " >&6; }
3950 if ${ac_cv_path_EGREP+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3954 then ac_cv_path_EGREP="$GREP -E"
3956 if test -z "$EGREP"; then
3957 ac_path_EGREP_found=false
3958 # Loop through the user's path and test for each of PROGNAME-LIST
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3963 test -z "$as_dir" && as_dir=.
3964 for ac_prog in egrep; do
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3967 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3968 # Check for GNU ac_path_EGREP and select it if it is found.
3969 # Check for GNU $ac_path_EGREP
3970 case `"$ac_path_EGREP" --version 2>&1` in
3972 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3975 $as_echo_n 0123456789 >"conftest.in"
3978 cat "conftest.in" "conftest.in" >"conftest.tmp"
3979 mv "conftest.tmp" "conftest.in"
3980 cp "conftest.in" "conftest.nl"
3981 $as_echo 'EGREP' >> "conftest.nl"
3982 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3984 as_fn_arith $ac_count + 1 && ac_count=$as_val
3985 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3986 # Best one so far, save it but keep looking for a better one
3987 ac_cv_path_EGREP="$ac_path_EGREP"
3988 ac_path_EGREP_max=$ac_count
3990 # 10*(2^10) chars as input seems more than enough
3991 test $ac_count -gt 10 && break
3993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3996 $ac_path_EGREP_found && break 3
4001 if test -z "$ac_cv_path_EGREP"; then
4002 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4005 ac_cv_path_EGREP=$EGREP
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4011 $as_echo "$ac_cv_path_EGREP" >&6; }
4012 EGREP="$ac_cv_path_EGREP"
4015 if test $ac_cv_c_compiler_gnu = yes; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4017 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4018 if ${ac_cv_prog_gcc_traditional+:} false; then :
4019 $as_echo_n "(cached) " >&6
4021 ac_pattern="Autoconf.*'x'"
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4028 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4029 ac_cv_prog_gcc_traditional=yes
4031 ac_cv_prog_gcc_traditional=no
4036 if test $ac_cv_prog_gcc_traditional = no; then
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4044 ac_cv_prog_gcc_traditional=yes
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4051 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4052 if test $ac_cv_prog_gcc_traditional = yes; then
4053 CC="$CC -traditional"
4058 # Extract the first word of "gencat", so it can be a program name with args.
4059 set dummy gencat; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_path_GENCAT+:} false; then :
4063 $as_echo_n "(cached) " >&6
4067 ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.
4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir=.
4075 for ac_exec_ext in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4077 ac_cv_path_GENCAT="$as_dir/$ac_word$ac_exec_ext"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 GENCAT=$ac_cv_path_GENCAT
4089 if test -n "$GENCAT"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCAT" >&5
4091 $as_echo "$GENCAT" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4099 if test "x${cross_compiling}" = xyes ; then
4102 CC_FOR_GETHOST="\$(CC)"
4106 if test "x$GCC" != xyes ; then
4107 DFLAGS="$DFLAGS $NON_GNU_DFLAGS"
4108 CFLAGS="$CFLAGS $NON_GNU_CFLAGS"
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
4112 $as_echo_n "checking for library containing crypt... " >&6; }
4113 if ${ac_cv_search_crypt+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 ac_func_search_save_LIBS=$LIBS
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4120 /* Override any GCC internal prototype to avoid an error.
4121 Use char because int might match the return type of a GCC
4122 builtin and then its argument prototype would still apply. */
4135 for ac_lib in '' crypt; do
4136 if test -z "$ac_lib"; then
4137 ac_res="none required"
4140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4142 if ac_fn_c_try_link "$LINENO"; then :
4143 ac_cv_search_crypt=$ac_res
4145 rm -f core conftest.err conftest.$ac_objext \
4147 if ${ac_cv_search_crypt+:} false; then :
4151 if ${ac_cv_search_crypt+:} false; then :
4154 ac_cv_search_crypt=no
4157 LIBS=$ac_func_search_save_LIBS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
4160 $as_echo "$ac_cv_search_crypt" >&6; }
4161 ac_res=$ac_cv_search_crypt
4162 if test "$ac_res" != no; then :
4163 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
4168 $as_echo_n "checking for library containing getspnam... " >&6; }
4169 if ${ac_cv_search_getspnam+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 ac_func_search_save_LIBS=$LIBS
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4176 /* Override any GCC internal prototype to avoid an error.
4177 Use char because int might match the return type of a GCC
4178 builtin and then its argument prototype would still apply. */
4191 for ac_lib in '' sec; do
4192 if test -z "$ac_lib"; then
4193 ac_res="none required"
4196 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4198 if ac_fn_c_try_link "$LINENO"; then :
4199 ac_cv_search_getspnam=$ac_res
4201 rm -f core conftest.err conftest.$ac_objext \
4203 if ${ac_cv_search_getspnam+:} false; then :
4207 if ${ac_cv_search_getspnam+:} false; then :
4210 ac_cv_search_getspnam=no
4213 LIBS=$ac_func_search_save_LIBS
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
4216 $as_echo "$ac_cv_search_getspnam" >&6; }
4217 ac_res=$ac_cv_search_getspnam
4218 if test "$ac_res" != no; then :
4219 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
4224 $as_echo_n "checking for library containing tgetent... " >&6; }
4225 if ${ac_cv_search_tgetent+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 ac_func_search_save_LIBS=$LIBS
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4232 /* Override any GCC internal prototype to avoid an error.
4233 Use char because int might match the return type of a GCC
4234 builtin and then its argument prototype would still apply. */
4247 for ac_lib in '' termlib termcap curses ncurses; do
4248 if test -z "$ac_lib"; then
4249 ac_res="none required"
4252 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4254 if ac_fn_c_try_link "$LINENO"; then :
4255 ac_cv_search_tgetent=$ac_res
4257 rm -f core conftest.err conftest.$ac_objext \
4259 if ${ac_cv_search_tgetent+:} false; then :
4263 if ${ac_cv_search_tgetent+:} false; then :
4266 ac_cv_search_tgetent=no
4269 LIBS=$ac_func_search_save_LIBS
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
4272 $as_echo "$ac_cv_search_tgetent" >&6; }
4273 ac_res=$ac_cv_search_tgetent
4274 if test "$ac_res" != no; then :
4275 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4280 $as_echo_n "checking for library containing gethostbyname... " >&6; }
4281 if ${ac_cv_search_gethostbyname+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 ac_func_search_save_LIBS=$LIBS
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char gethostbyname ();
4298 return gethostbyname ();
4303 for ac_lib in '' nsl; do
4304 if test -z "$ac_lib"; then
4305 ac_res="none required"
4308 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4310 if ac_fn_c_try_link "$LINENO"; then :
4311 ac_cv_search_gethostbyname=$ac_res
4313 rm -f core conftest.err conftest.$ac_objext \
4315 if ${ac_cv_search_gethostbyname+:} false; then :
4319 if ${ac_cv_search_gethostbyname+:} false; then :
4322 ac_cv_search_gethostbyname=no
4325 LIBS=$ac_func_search_save_LIBS
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4328 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4329 ac_res=$ac_cv_search_gethostbyname
4330 if test "$ac_res" != no; then :
4331 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
4336 $as_echo_n "checking for library containing connect... " >&6; }
4337 if ${ac_cv_search_connect+:} false; then :
4338 $as_echo_n "(cached) " >&6
4340 ac_func_search_save_LIBS=$LIBS
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4359 for ac_lib in '' socket; do
4360 if test -z "$ac_lib"; then
4361 ac_res="none required"
4364 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4366 if ac_fn_c_try_link "$LINENO"; then :
4367 ac_cv_search_connect=$ac_res
4369 rm -f core conftest.err conftest.$ac_objext \
4371 if ${ac_cv_search_connect+:} false; then :
4375 if ${ac_cv_search_connect+:} false; then :
4378 ac_cv_search_connect=no
4381 LIBS=$ac_func_search_save_LIBS
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
4384 $as_echo "$ac_cv_search_connect" >&6; }
4385 ac_res=$ac_cv_search_connect
4386 if test "$ac_res" != no; then :
4387 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing catgets" >&5
4392 $as_echo_n "checking for library containing catgets... " >&6; }
4393 if ${ac_cv_search_catgets+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 ac_func_search_save_LIBS=$LIBS
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4400 /* Override any GCC internal prototype to avoid an error.
4401 Use char because int might match the return type of a GCC
4402 builtin and then its argument prototype would still apply. */
4415 for ac_lib in '' catgets; do
4416 if test -z "$ac_lib"; then
4417 ac_res="none required"
4420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4422 if ac_fn_c_try_link "$LINENO"; then :
4423 ac_cv_search_catgets=$ac_res
4425 rm -f core conftest.err conftest.$ac_objext \
4427 if ${ac_cv_search_catgets+:} false; then :
4431 if ${ac_cv_search_catgets+:} false; then :
4434 ac_cv_search_catgets=no
4437 LIBS=$ac_func_search_save_LIBS
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_catgets" >&5
4440 $as_echo "$ac_cv_search_catgets" >&6; }
4441 ac_res=$ac_cv_search_catgets
4442 if test "$ac_res" != no; then :
4443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4448 if test "X$prefix" = "XNONE"; then
4449 acl_final_prefix="$ac_default_prefix"
4451 acl_final_prefix="$prefix"
4453 if test "X$exec_prefix" = "XNONE"; then
4454 acl_final_exec_prefix='${prefix}'
4456 acl_final_exec_prefix="$exec_prefix"
4458 acl_save_prefix="$prefix"
4459 prefix="$acl_final_prefix"
4460 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4461 prefix="$acl_save_prefix"
4464 # Check whether --with-gnu-ld was given.
4465 if test "${with_gnu_ld+set}" = set; then :
4466 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4471 # Prepare PATH_SEPARATOR.
4472 # The user is always right.
4473 if test "${PATH_SEPARATOR+set}" != set; then
4474 echo "#! /bin/sh" >conf$$.sh
4475 echo "exit 0" >>conf$$.sh
4477 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4485 if test "$GCC" = yes; then
4486 # Check if gcc -print-prog-name=ld gives a path.
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4488 $as_echo_n "checking for ld used by GCC... " >&6; }
4491 # gcc leaves a trailing carriage return which upsets mingw
4492 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4494 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4497 # Accept absolute paths.
4498 [\\/]* | [A-Za-z]:[\\/]*)
4499 re_direlt='/[^/][^/]*/\.\./'
4500 # Canonicalize the path of ld
4501 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4502 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4503 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4505 test -z "$LD" && LD="$ac_prog"
4508 # If it fails, then pretend we aren't using GCC.
4512 # If it is relative, then search for the first ld in PATH.
4516 elif test "$with_gnu_ld" = yes; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4518 $as_echo_n "checking for GNU ld... " >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4521 $as_echo_n "checking for non-GNU ld... " >&6; }
4523 if ${acl_cv_path_LD+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 if test -z "$LD"; then
4527 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4528 for ac_dir in $PATH; do
4529 test -z "$ac_dir" && ac_dir=.
4530 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4531 acl_cv_path_LD="$ac_dir/$ac_prog"
4532 # Check to see if the program is GNU ld. I'd rather use --version,
4533 # but apparently some GNU ld's only accept -v.
4534 # Break only if it was the GNU/non-GNU ld that we prefer.
4535 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4536 *GNU* | *'with BFD'*)
4537 test "$with_gnu_ld" != no && break ;;
4539 test "$with_gnu_ld" != yes && break ;;
4545 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4549 LD="$acl_cv_path_LD"
4550 if test -n "$LD"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4552 $as_echo "$LD" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4557 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4559 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4560 if ${acl_cv_prog_gnu_ld+:} false; then :
4561 $as_echo_n "(cached) " >&6
4563 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4564 case `$LD -v 2>&1 </dev/null` in
4565 *GNU* | *'with BFD'*)
4566 acl_cv_prog_gnu_ld=yes ;;
4568 acl_cv_prog_gnu_ld=no ;;
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4572 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4573 with_gnu_ld=$acl_cv_prog_gnu_ld
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4579 $as_echo_n "checking for shared library run path origin... " >&6; }
4580 if ${acl_cv_rpath+:} false; then :
4581 $as_echo_n "(cached) " >&6
4584 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4585 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4592 $as_echo "$acl_cv_rpath" >&6; }
4594 acl_libext="$acl_cv_libext"
4595 acl_shlibext="$acl_cv_shlibext"
4596 acl_libname_spec="$acl_cv_libname_spec"
4597 acl_library_names_spec="$acl_cv_library_names_spec"
4598 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4599 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4600 acl_hardcode_direct="$acl_cv_hardcode_direct"
4601 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4602 # Check whether --enable-rpath was given.
4603 if test "${enable_rpath+set}" = set; then :
4604 enableval=$enable_rpath; :
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4617 $as_echo_n "checking for 64-bit host... " >&6; }
4618 if ${gl_cv_solaris_64bit+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4630 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4631 gl_cv_solaris_64bit=yes
4633 gl_cv_solaris_64bit=no
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4640 $as_echo "$gl_cv_solaris_64bit" >&6; }
4641 if test $gl_cv_solaris_64bit = yes; then
4642 acl_libdirstem=lib/64
4644 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4645 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4650 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4651 if test -n "$searchpath"; then
4652 acl_save_IFS="${IFS= }"; IFS=":"
4653 for searchdir in $searchpath; do
4654 if test -d "$searchdir"; then
4655 case "$searchdir" in
4656 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4658 # Better ignore directories of this form. They are misleading.
4660 *) searchdir=`cd "$searchdir" && pwd`
4661 case "$searchdir" in
4662 */lib64 ) acl_libdirstem=lib64 ;;
4671 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4686 acl_save_prefix="$prefix"
4687 prefix="$acl_final_prefix"
4688 acl_save_exec_prefix="$exec_prefix"
4689 exec_prefix="$acl_final_exec_prefix"
4691 eval additional_includedir=\"$includedir\"
4692 eval additional_libdir=\"$libdir\"
4694 exec_prefix="$acl_save_exec_prefix"
4695 prefix="$acl_save_prefix"
4698 # Check whether --with-libiconv-prefix was given.
4699 if test "${with_libiconv_prefix+set}" = set; then :
4700 withval=$with_libiconv_prefix;
4701 if test "X$withval" = "Xno"; then
4704 if test "X$withval" = "X"; then
4706 acl_save_prefix="$prefix"
4707 prefix="$acl_final_prefix"
4708 acl_save_exec_prefix="$exec_prefix"
4709 exec_prefix="$acl_final_exec_prefix"
4711 eval additional_includedir=\"$includedir\"
4712 eval additional_libdir=\"$libdir\"
4714 exec_prefix="$acl_save_exec_prefix"
4715 prefix="$acl_save_prefix"
4718 additional_includedir="$withval/include"
4719 additional_libdir="$withval/$acl_libdirstem"
4720 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4721 && ! test -d "$withval/$acl_libdirstem"; then
4722 additional_libdir="$withval/$acl_libdirstem2"
4736 names_already_handled=
4737 names_next_round='iconv '
4738 while test -n "$names_next_round"; do
4739 names_this_round="$names_next_round"
4741 for name in $names_this_round; do
4743 for n in $names_already_handled; do
4744 if test "$n" = "$name"; then
4749 if test -z "$already_handled"; then
4750 names_already_handled="$names_already_handled $name"
4751 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4752 eval value=\"\$HAVE_LIB$uppername\"
4753 if test -n "$value"; then
4754 if test "$value" = yes; then
4755 eval value=\"\$LIB$uppername\"
4756 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4757 eval value=\"\$LTLIB$uppername\"
4758 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4767 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4768 if test -n "$acl_shlibext"; then
4769 shrext=".$acl_shlibext" # typically: shrext=.so
4773 if test $use_additional = yes; then
4774 dir="$additional_libdir"
4775 if test -n "$acl_shlibext"; then
4776 if test -f "$dir/$libname$shrext"; then
4778 found_so="$dir/$libname$shrext"
4780 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4781 ver=`(cd "$dir" && \
4782 for f in "$libname$shrext".*; do echo "$f"; done \
4783 | sed -e "s,^$libname$shrext\\\\.,," \
4784 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4785 | sed 1q ) 2>/dev/null`
4786 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4788 found_so="$dir/$libname$shrext.$ver"
4791 eval library_names=\"$acl_library_names_spec\"
4792 for f in $library_names; do
4793 if test -f "$dir/$f"; then
4802 if test "X$found_dir" = "X"; then
4803 if test -f "$dir/$libname.$acl_libext"; then
4805 found_a="$dir/$libname.$acl_libext"
4808 if test "X$found_dir" != "X"; then
4809 if test -f "$dir/$libname.la"; then
4810 found_la="$dir/$libname.la"
4814 if test "X$found_dir" = "X"; then
4815 for x in $LDFLAGS $LTLIBICONV; do
4817 acl_save_prefix="$prefix"
4818 prefix="$acl_final_prefix"
4819 acl_save_exec_prefix="$exec_prefix"
4820 exec_prefix="$acl_final_exec_prefix"
4822 exec_prefix="$acl_save_exec_prefix"
4823 prefix="$acl_save_prefix"
4827 dir=`echo "X$x" | sed -e 's/^X-L//'`
4828 if test -n "$acl_shlibext"; then
4829 if test -f "$dir/$libname$shrext"; then
4831 found_so="$dir/$libname$shrext"
4833 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4834 ver=`(cd "$dir" && \
4835 for f in "$libname$shrext".*; do echo "$f"; done \
4836 | sed -e "s,^$libname$shrext\\\\.,," \
4837 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4838 | sed 1q ) 2>/dev/null`
4839 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4841 found_so="$dir/$libname$shrext.$ver"
4844 eval library_names=\"$acl_library_names_spec\"
4845 for f in $library_names; do
4846 if test -f "$dir/$f"; then
4855 if test "X$found_dir" = "X"; then
4856 if test -f "$dir/$libname.$acl_libext"; then
4858 found_a="$dir/$libname.$acl_libext"
4861 if test "X$found_dir" != "X"; then
4862 if test -f "$dir/$libname.la"; then
4863 found_la="$dir/$libname.la"
4868 if test "X$found_dir" != "X"; then
4873 if test "X$found_dir" != "X"; then
4874 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4875 if test "X$found_so" != "X"; then
4876 if test "$enable_rpath" = no \
4877 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4878 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4879 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4882 for x in $ltrpathdirs; do
4883 if test "X$x" = "X$found_dir"; then
4888 if test -z "$haveit"; then
4889 ltrpathdirs="$ltrpathdirs $found_dir"
4891 if test "$acl_hardcode_direct" = yes; then
4892 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4894 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4895 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4897 for x in $rpathdirs; do
4898 if test "X$x" = "X$found_dir"; then
4903 if test -z "$haveit"; then
4904 rpathdirs="$rpathdirs $found_dir"
4908 for x in $LDFLAGS $LIBICONV; do
4910 acl_save_prefix="$prefix"
4911 prefix="$acl_final_prefix"
4912 acl_save_exec_prefix="$exec_prefix"
4913 exec_prefix="$acl_final_exec_prefix"
4915 exec_prefix="$acl_save_exec_prefix"
4916 prefix="$acl_save_prefix"
4918 if test "X$x" = "X-L$found_dir"; then
4923 if test -z "$haveit"; then
4924 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4926 if test "$acl_hardcode_minus_L" != no; then
4927 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4929 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4935 if test "X$found_a" != "X"; then
4936 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4938 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4941 additional_includedir=
4942 case "$found_dir" in
4943 */$acl_libdirstem | */$acl_libdirstem/)
4944 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4945 if test "$name" = 'iconv'; then
4946 LIBICONV_PREFIX="$basedir"
4948 additional_includedir="$basedir/include"
4950 */$acl_libdirstem2 | */$acl_libdirstem2/)
4951 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4952 if test "$name" = 'iconv'; then
4953 LIBICONV_PREFIX="$basedir"
4955 additional_includedir="$basedir/include"
4958 if test "X$additional_includedir" != "X"; then
4959 if test "X$additional_includedir" != "X/usr/include"; then
4961 if test "X$additional_includedir" = "X/usr/local/include"; then
4962 if test -n "$GCC"; then
4964 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4968 if test -z "$haveit"; then
4969 for x in $CPPFLAGS $INCICONV; do
4971 acl_save_prefix="$prefix"
4972 prefix="$acl_final_prefix"
4973 acl_save_exec_prefix="$exec_prefix"
4974 exec_prefix="$acl_final_exec_prefix"
4976 exec_prefix="$acl_save_exec_prefix"
4977 prefix="$acl_save_prefix"
4979 if test "X$x" = "X-I$additional_includedir"; then
4984 if test -z "$haveit"; then
4985 if test -d "$additional_includedir"; then
4986 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4992 if test -n "$found_la"; then
4993 save_libdir="$libdir"
4995 */* | *\\*) . "$found_la" ;;
4996 *) . "./$found_la" ;;
4998 libdir="$save_libdir"
4999 for dep in $dependency_libs; do
5002 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5003 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5004 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5006 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5007 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5008 if test -n "$GCC"; then
5010 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5014 if test -z "$haveit"; then
5016 for x in $LDFLAGS $LIBICONV; do
5018 acl_save_prefix="$prefix"
5019 prefix="$acl_final_prefix"
5020 acl_save_exec_prefix="$exec_prefix"
5021 exec_prefix="$acl_final_exec_prefix"
5023 exec_prefix="$acl_save_exec_prefix"
5024 prefix="$acl_save_prefix"
5026 if test "X$x" = "X-L$additional_libdir"; then
5031 if test -z "$haveit"; then
5032 if test -d "$additional_libdir"; then
5033 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5037 for x in $LDFLAGS $LTLIBICONV; do
5039 acl_save_prefix="$prefix"
5040 prefix="$acl_final_prefix"
5041 acl_save_exec_prefix="$exec_prefix"
5042 exec_prefix="$acl_final_exec_prefix"
5044 exec_prefix="$acl_save_exec_prefix"
5045 prefix="$acl_save_prefix"
5047 if test "X$x" = "X-L$additional_libdir"; then
5052 if test -z "$haveit"; then
5053 if test -d "$additional_libdir"; then
5054 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5061 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5062 if test "$enable_rpath" != no; then
5064 for x in $rpathdirs; do
5065 if test "X$x" = "X$dir"; then
5070 if test -z "$haveit"; then
5071 rpathdirs="$rpathdirs $dir"
5074 for x in $ltrpathdirs; do
5075 if test "X$x" = "X$dir"; then
5080 if test -z "$haveit"; then
5081 ltrpathdirs="$ltrpathdirs $dir"
5086 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5089 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5092 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5093 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5099 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5100 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5106 if test "X$rpathdirs" != "X"; then
5107 if test -n "$acl_hardcode_libdir_separator"; then
5109 for found_dir in $rpathdirs; do
5110 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5112 acl_save_libdir="$libdir"
5114 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5115 libdir="$acl_save_libdir"
5116 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5118 for found_dir in $rpathdirs; do
5119 acl_save_libdir="$libdir"
5121 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5122 libdir="$acl_save_libdir"
5123 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5127 if test "X$ltrpathdirs" != "X"; then
5128 for found_dir in $ltrpathdirs; do
5129 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5144 am_save_CPPFLAGS="$CPPFLAGS"
5146 for element in $INCICONV; do
5148 for x in $CPPFLAGS; do
5150 acl_save_prefix="$prefix"
5151 prefix="$acl_final_prefix"
5152 acl_save_exec_prefix="$exec_prefix"
5153 exec_prefix="$acl_final_exec_prefix"
5155 exec_prefix="$acl_save_exec_prefix"
5156 prefix="$acl_save_prefix"
5158 if test "X$x" = "X$element"; then
5163 if test -z "$haveit"; then
5164 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5170 $as_echo_n "checking for iconv... " >&6; }
5171 if ${am_cv_func_iconv+:} false; then :
5172 $as_echo_n "(cached) " >&6
5175 am_cv_func_iconv="no, consider installing GNU libiconv"
5177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5184 iconv_t cd = iconv_open("","");
5185 iconv(cd,NULL,NULL,NULL,NULL);
5191 if ac_fn_c_try_link "$LINENO"; then :
5192 am_cv_func_iconv=yes
5194 rm -f core conftest.err conftest.$ac_objext \
5195 conftest$ac_exeext conftest.$ac_ext
5196 if test "$am_cv_func_iconv" != yes; then
5197 am_save_LIBS="$LIBS"
5198 LIBS="$LIBS $LIBICONV"
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5206 iconv_t cd = iconv_open("","");
5207 iconv(cd,NULL,NULL,NULL,NULL);
5213 if ac_fn_c_try_link "$LINENO"; then :
5215 am_cv_func_iconv=yes
5217 rm -f core conftest.err conftest.$ac_objext \
5218 conftest$ac_exeext conftest.$ac_ext
5219 LIBS="$am_save_LIBS"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5224 $as_echo "$am_cv_func_iconv" >&6; }
5225 if test "$am_cv_func_iconv" = yes; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5227 $as_echo_n "checking for working iconv... " >&6; }
5228 if ${am_cv_func_iconv_works+:} false; then :
5229 $as_echo_n "(cached) " >&6
5232 am_save_LIBS="$LIBS"
5233 if test $am_cv_lib_iconv = yes; then
5234 LIBS="$LIBS $LIBICONV"
5236 if test "$cross_compiling" = yes; then :
5238 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5239 *) am_cv_func_iconv_works="guessing yes" ;;
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5249 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5252 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5253 if (cd_utf8_to_88591 != (iconv_t)(-1))
5255 static const char input[] = "\342\202\254"; /* EURO SIGN */
5257 const char *inptr = input;
5258 size_t inbytesleft = strlen (input);
5260 size_t outbytesleft = sizeof (buf);
5261 size_t res = iconv (cd_utf8_to_88591,
5262 (char **) &inptr, &inbytesleft,
5263 &outptr, &outbytesleft);
5268 /* Test against Solaris 10 bug: Failures are not distinguishable from
5269 successful returns. */
5271 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5272 if (cd_ascii_to_88591 != (iconv_t)(-1))
5274 static const char input[] = "\263";
5276 const char *inptr = input;
5277 size_t inbytesleft = strlen (input);
5279 size_t outbytesleft = sizeof (buf);
5280 size_t res = iconv (cd_ascii_to_88591,
5281 (char **) &inptr, &inbytesleft,
5282 &outptr, &outbytesleft);
5287 #if 0 /* This bug could be worked around by the caller. */
5288 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5290 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5291 if (cd_88591_to_utf8 != (iconv_t)(-1))
5293 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5295 const char *inptr = input;
5296 size_t inbytesleft = strlen (input);
5298 size_t outbytesleft = sizeof (buf);
5299 size_t res = iconv (cd_88591_to_utf8,
5300 (char **) &inptr, &inbytesleft,
5301 &outptr, &outbytesleft);
5307 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5309 if (/* Try standardized names. */
5310 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5311 /* Try IRIX, OSF/1 names. */
5312 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5313 /* Try AIX names. */
5314 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5315 /* Try HP-UX names. */
5316 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5321 if ac_fn_c_try_run "$LINENO"; then :
5322 am_cv_func_iconv_works=yes
5324 am_cv_func_iconv_works=no
5326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5327 conftest.$ac_objext conftest.beam conftest.$ac_ext
5330 LIBS="$am_save_LIBS"
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5334 $as_echo "$am_cv_func_iconv_works" >&6; }
5335 case "$am_cv_func_iconv_works" in
5336 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5337 *) am_func_iconv=yes ;;
5340 am_func_iconv=no am_cv_lib_iconv=no
5342 if test "$am_func_iconv" = yes; then
5344 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5347 if test "$am_cv_lib_iconv" = yes; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5349 $as_echo_n "checking how to link with libiconv... " >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5351 $as_echo "$LIBICONV" >&6; }
5353 CPPFLAGS="$am_save_CPPFLAGS"
5360 if test "$am_cv_func_iconv" = yes; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5362 $as_echo_n "checking for iconv declaration... " >&6; }
5363 if ${am_cv_proto_iconv+:} false; then :
5364 $as_echo_n "(cached) " >&6
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5376 #if defined(__STDC__) || defined(__cplusplus)
5377 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5390 if ac_fn_c_try_compile "$LINENO"; then :
5391 am_cv_proto_iconv_arg1=""
5393 am_cv_proto_iconv_arg1="const"
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
5399 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
5401 $am_cv_proto_iconv" >&5
5403 $am_cv_proto_iconv" >&6; }
5405 cat >>confdefs.h <<_ACEOF
5406 #define ICONV_CONST $am_cv_proto_iconv_arg1
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5413 $as_echo_n "checking for ANSI C header files... " >&6; }
5414 if ${ac_cv_header_stdc+:} false; then :
5415 $as_echo_n "(cached) " >&6
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5432 if ac_fn_c_try_compile "$LINENO"; then :
5433 ac_cv_header_stdc=yes
5435 ac_cv_header_stdc=no
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 if test $ac_cv_header_stdc = yes; then
5440 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5447 $EGREP "memchr" >/dev/null 2>&1; then :
5450 ac_cv_header_stdc=no
5456 if test $ac_cv_header_stdc = yes; then
5457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5464 $EGREP "free" >/dev/null 2>&1; then :
5467 ac_cv_header_stdc=no
5473 if test $ac_cv_header_stdc = yes; then
5474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5475 if test "$cross_compiling" = yes; then :
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5482 #if ((' ' & 0x0FF) == 0x020)
5483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5486 # define ISLOWER(c) \
5487 (('a' <= (c) && (c) <= 'i') \
5488 || ('j' <= (c) && (c) <= 'r') \
5489 || ('s' <= (c) && (c) <= 'z'))
5490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5498 for (i = 0; i < 256; i++)
5499 if (XOR (islower (i), ISLOWER (i))
5500 || toupper (i) != TOUPPER (i))
5505 if ac_fn_c_try_run "$LINENO"; then :
5508 ac_cv_header_stdc=no
5510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5511 conftest.$ac_objext conftest.beam conftest.$ac_ext
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5517 $as_echo "$ac_cv_header_stdc" >&6; }
5518 if test $ac_cv_header_stdc = yes; then
5520 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5525 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5526 inttypes.h stdint.h unistd.h
5528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5529 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5532 cat >>confdefs.h <<_ACEOF
5533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5541 for ac_header in auth.h crypt.h features.h inttypes.h paths.h shadow.h stdint.h utmp.h utmpx.h
5543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5544 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5545 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5546 cat >>confdefs.h <<_ACEOF
5547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5554 for ac_header in wchar.h
5556 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
5557 if test "x$ac_cv_header_wchar_h" = xyes; then :
5558 cat >>confdefs.h <<_ACEOF
5559 #define HAVE_WCHAR_H 1
5561 # The cast to long int works around a bug in the HP C Compiler
5562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5564 # This bug is HP SR number 8606223364.
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
5566 $as_echo_n "checking size of wchar_t... " >&6; }
5567 if ${ac_cv_sizeof_wchar_t+:} false; then :
5568 $as_echo_n "(cached) " >&6
5570 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "#include <stdio.h>
5575 if test "$ac_cv_type_wchar_t" = yes; then
5576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5578 as_fn_error 77 "cannot compute sizeof (wchar_t)
5579 See \`config.log' for more details" "$LINENO" 5; }
5581 ac_cv_sizeof_wchar_t=0
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
5587 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
5591 cat >>confdefs.h <<_ACEOF
5592 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
5596 for ac_header in wctype.h
5598 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
5599 if test "x$ac_cv_header_wctype_h" = xyes; then :
5600 cat >>confdefs.h <<_ACEOF
5601 #define HAVE_WCTYPE_H 1
5613 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5614 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5616 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5617 if eval \${$as_ac_Header+:} false; then :
5618 $as_echo_n "(cached) " >&6
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #include <sys/types.h>
5634 if ac_fn_c_try_compile "$LINENO"; then :
5635 eval "$as_ac_Header=yes"
5637 eval "$as_ac_Header=no"
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 eval ac_res=\$$as_ac_Header
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5643 $as_echo "$ac_res" >&6; }
5644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5645 cat >>confdefs.h <<_ACEOF
5646 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5649 ac_header_dirent=$ac_hdr; break
5653 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5654 if test $ac_header_dirent = dirent.h; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5656 $as_echo_n "checking for library containing opendir... " >&6; }
5657 if ${ac_cv_search_opendir+:} false; then :
5658 $as_echo_n "(cached) " >&6
5660 ac_func_search_save_LIBS=$LIBS
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5664 /* Override any GCC internal prototype to avoid an error.
5665 Use char because int might match the return type of a GCC
5666 builtin and then its argument prototype would still apply. */
5679 for ac_lib in '' dir; do
5680 if test -z "$ac_lib"; then
5681 ac_res="none required"
5684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 ac_cv_search_opendir=$ac_res
5689 rm -f core conftest.err conftest.$ac_objext \
5691 if ${ac_cv_search_opendir+:} false; then :
5695 if ${ac_cv_search_opendir+:} false; then :
5698 ac_cv_search_opendir=no
5701 LIBS=$ac_func_search_save_LIBS
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5704 $as_echo "$ac_cv_search_opendir" >&6; }
5705 ac_res=$ac_cv_search_opendir
5706 if test "$ac_res" != no; then :
5707 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5713 $as_echo_n "checking for library containing opendir... " >&6; }
5714 if ${ac_cv_search_opendir+:} false; then :
5715 $as_echo_n "(cached) " >&6
5717 ac_func_search_save_LIBS=$LIBS
5718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5721 /* Override any GCC internal prototype to avoid an error.
5722 Use char because int might match the return type of a GCC
5723 builtin and then its argument prototype would still apply. */
5736 for ac_lib in '' x; do
5737 if test -z "$ac_lib"; then
5738 ac_res="none required"
5741 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5743 if ac_fn_c_try_link "$LINENO"; then :
5744 ac_cv_search_opendir=$ac_res
5746 rm -f core conftest.err conftest.$ac_objext \
5748 if ${ac_cv_search_opendir+:} false; then :
5752 if ${ac_cv_search_opendir+:} false; then :
5755 ac_cv_search_opendir=no
5758 LIBS=$ac_func_search_save_LIBS
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5761 $as_echo "$ac_cv_search_opendir" >&6; }
5762 ac_res=$ac_cv_search_opendir
5763 if test "$ac_res" != no; then :
5764 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5771 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5772 if ${ac_cv_header_stat_broken+:} false; then :
5773 $as_echo_n "(cached) " >&6
5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h. */
5777 #include <sys/types.h>
5778 #include <sys/stat.h>
5780 #if defined S_ISBLK && defined S_IFDIR
5781 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5784 #if defined S_ISBLK && defined S_IFCHR
5785 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5788 #if defined S_ISLNK && defined S_IFREG
5789 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5792 #if defined S_ISSOCK && defined S_IFREG
5793 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5797 if ac_fn_c_try_compile "$LINENO"; then :
5798 ac_cv_header_stat_broken=no
5800 ac_cv_header_stat_broken=yes
5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5805 $as_echo "$ac_cv_header_stat_broken" >&6; }
5806 if test $ac_cv_header_stat_broken = yes; then
5808 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5813 $as_echo_n "checking for ANSI C header files... " >&6; }
5814 if ${ac_cv_header_stdc+:} false; then :
5815 $as_echo_n "(cached) " >&6
5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5818 /* end confdefs.h. */
5832 if ac_fn_c_try_compile "$LINENO"; then :
5833 ac_cv_header_stdc=yes
5835 ac_cv_header_stdc=no
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 if test $ac_cv_header_stdc = yes; then
5840 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5847 $EGREP "memchr" >/dev/null 2>&1; then :
5850 ac_cv_header_stdc=no
5856 if test $ac_cv_header_stdc = yes; then
5857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5864 $EGREP "free" >/dev/null 2>&1; then :
5867 ac_cv_header_stdc=no
5873 if test $ac_cv_header_stdc = yes; then
5874 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5875 if test "$cross_compiling" = yes; then :
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5882 #if ((' ' & 0x0FF) == 0x020)
5883 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5884 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5886 # define ISLOWER(c) \
5887 (('a' <= (c) && (c) <= 'i') \
5888 || ('j' <= (c) && (c) <= 'r') \
5889 || ('s' <= (c) && (c) <= 'z'))
5890 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5893 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5898 for (i = 0; i < 256; i++)
5899 if (XOR (islower (i), ISLOWER (i))
5900 || toupper (i) != TOUPPER (i))
5905 if ac_fn_c_try_run "$LINENO"; then :
5908 ac_cv_header_stdc=no
5910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5911 conftest.$ac_objext conftest.beam conftest.$ac_ext
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5917 $as_echo "$ac_cv_header_stdc" >&6; }
5918 if test $ac_cv_header_stdc = yes; then
5920 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5925 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
5926 if test "x$ac_cv_type_long_long" = xyes; then :
5928 cat >>confdefs.h <<_ACEOF
5929 #define HAVE_LONG_LONG 1
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5936 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5937 if ${ac_cv_type_uid_t+:} false; then :
5938 $as_echo_n "(cached) " >&6
5940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5942 #include <sys/types.h>
5945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5946 $EGREP "uid_t" >/dev/null 2>&1; then :
5947 ac_cv_type_uid_t=yes
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5955 $as_echo "$ac_cv_type_uid_t" >&6; }
5956 if test $ac_cv_type_uid_t = no; then
5958 $as_echo "#define uid_t int" >>confdefs.h
5961 $as_echo "#define gid_t int" >>confdefs.h
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
5966 $as_echo_n "checking type of array argument to getgroups... " >&6; }
5967 if ${ac_cv_type_getgroups+:} false; then :
5968 $as_echo_n "(cached) " >&6
5970 if test "$cross_compiling" = yes; then :
5971 ac_cv_type_getgroups=cross
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 /* Thanks to Mike Rendell for this test. */
5976 $ac_includes_default
5979 #define MAX(x, y) ((x) > (y) ? (x) : (y))
5986 union { gid_t gval; long int lval; } val;
5989 for (i = 0; i < NGID; i++)
5990 gidset[i] = val.gval;
5991 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5993 /* Exit non-zero if getgroups seems to require an array of ints. This
5994 happens when gid_t is short int but getgroups modifies an array
5996 return n > 0 && gidset[n] != val.gval;
5999 if ac_fn_c_try_run "$LINENO"; then :
6000 ac_cv_type_getgroups=gid_t
6002 ac_cv_type_getgroups=int
6004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6005 conftest.$ac_objext conftest.beam conftest.$ac_ext
6008 if test $ac_cv_type_getgroups = cross; then
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6015 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
6016 ac_cv_type_getgroups=gid_t
6018 ac_cv_type_getgroups=int
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
6025 $as_echo "$ac_cv_type_getgroups" >&6; }
6027 cat >>confdefs.h <<_ACEOF
6028 #define GETGROUPS_T $ac_cv_type_getgroups
6032 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6033 if test "x$ac_cv_type_mode_t" = xyes; then :
6037 cat >>confdefs.h <<_ACEOF
6043 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6044 if test "x$ac_cv_type_size_t" = xyes; then :
6048 cat >>confdefs.h <<_ACEOF
6049 #define size_t unsigned int
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6055 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6056 if ${ac_cv_type_uid_t+:} false; then :
6057 $as_echo_n "(cached) " >&6
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #include <sys/types.h>
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 $EGREP "uid_t" >/dev/null 2>&1; then :
6066 ac_cv_type_uid_t=yes
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6074 $as_echo "$ac_cv_type_uid_t" >&6; }
6075 if test $ac_cv_type_uid_t = no; then
6077 $as_echo "#define uid_t int" >>confdefs.h
6080 $as_echo "#define gid_t int" >>confdefs.h
6084 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
6085 case $ac_cv_c_uint32_t in #(
6089 $as_echo "#define _UINT32_T 1" >>confdefs.h
6092 cat >>confdefs.h <<_ACEOF
6093 #define uint32_t $ac_cv_c_uint32_t
6101 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "
6102 #include <sys/types.h>
6105 if test "x$ac_cv_type_ssize_t" = xyes; then :
6109 $as_echo "#define ssize_t int" >>confdefs.h
6117 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
6118 #include <sys/types.h>
6119 #include <sys/socket.h>
6122 if test "x$ac_cv_type_socklen_t" = xyes; then :
6126 $as_echo "#define socklen_t int" >>confdefs.h
6133 ac_fn_c_check_member "$LINENO" "struct dirent" "d_ino" "ac_cv_member_struct_dirent_d_ino" "#ifdef HAVE_DIRENT_H
6134 # include <dirent.h>
6139 # include <sys/dir.h>
6141 # define dirent direct
6144 if test "x$ac_cv_member_struct_dirent_d_ino" = xyes; then :
6146 cat >>confdefs.h <<_ACEOF
6147 #define HAVE_STRUCT_DIRENT_D_INO 1
6153 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "#include <sys/types.h>
6157 #elif defined HAVE_UTMP_H
6161 if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
6163 cat >>confdefs.h <<_ACEOF
6164 #define HAVE_STRUCT_UTMP_UT_HOST 1
6169 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_user" "ac_cv_member_struct_utmp_ut_user" "#include <sys/types.h>
6173 #elif defined HAVE_UTMP_H
6177 if test "x$ac_cv_member_struct_utmp_ut_user" = xyes; then :
6179 cat >>confdefs.h <<_ACEOF
6180 #define HAVE_STRUCT_UTMP_UT_USER 1
6185 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_tv" "ac_cv_member_struct_utmp_ut_tv" "#include <sys/types.h>
6189 #elif defined HAVE_UTMP_H
6193 if test "x$ac_cv_member_struct_utmp_ut_tv" = xyes; then :
6195 cat >>confdefs.h <<_ACEOF
6196 #define HAVE_STRUCT_UTMP_UT_TV 1
6201 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_xtime" "ac_cv_member_struct_utmp_ut_xtime" "#include <sys/types.h>
6205 #elif defined HAVE_UTMP_H
6209 if test "x$ac_cv_member_struct_utmp_ut_xtime" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_STRUCT_UTMP_UT_XTIME 1
6217 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "#include <sys/types.h>
6221 #elif defined HAVE_UTMP_H
6225 if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then :
6227 cat >>confdefs.h <<_ACEOF
6228 #define HAVE_STRUCT_UTMPX_UT_HOST 1
6233 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_user" "ac_cv_member_struct_utmpx_ut_user" "#include <sys/types.h>
6237 #elif defined HAVE_UTMP_H
6241 if test "x$ac_cv_member_struct_utmpx_ut_user" = xyes; then :
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_STRUCT_UTMPX_UT_USER 1
6249 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_tv" "ac_cv_member_struct_utmpx_ut_tv" "#include <sys/types.h>
6253 #elif defined HAVE_UTMP_H
6257 if test "x$ac_cv_member_struct_utmpx_ut_tv" = xyes; then :
6259 cat >>confdefs.h <<_ACEOF
6260 #define HAVE_STRUCT_UTMPX_UT_TV 1
6265 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_xtime" "ac_cv_member_struct_utmpx_ut_xtime" "#include <sys/types.h>
6269 #elif defined HAVE_UTMP_H
6273 if test "x$ac_cv_member_struct_utmpx_ut_xtime" = xyes; then :
6275 cat >>confdefs.h <<_ACEOF
6276 #define HAVE_STRUCT_UTMPX_UT_XTIME 1
6282 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
6283 #include <sys/socket.h>
6285 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
6287 cat >>confdefs.h <<_ACEOF
6288 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6296 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6297 if ${ac_cv_c_const+:} false; then :
6298 $as_echo_n "(cached) " >&6
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6306 /* FIXME: Include the comments suggested by Paul. */
6308 /* Ultrix mips cc rejects this. */
6309 typedef int charset[2];
6311 /* SunOS 4.1.1 cc rejects this. */
6312 char const *const *pcpcc;
6314 /* NEC SVR4.0.2 mips cc rejects this. */
6315 struct point {int x, y;};
6316 static struct point const zero = {0,0};
6317 /* AIX XL C 1.02.0.0 rejects this.
6318 It does not let you subtract one const X* pointer from another in
6319 an arm of an if-expression whose if-part is not a constant
6321 const char *g = "string";
6322 pcpcc = &g + (g ? g-g : 0);
6323 /* HPUX 7.0 cc rejects these. */
6325 ppc = (char**) pcpcc;
6326 pcpcc = (char const *const *) ppc;
6327 { /* SCO 3.2v4 cc rejects this. */
6329 char const *s = 0 ? (char *) 0 : (char const *) 0;
6334 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6336 const int *foo = &x[0];
6339 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6340 typedef const int *iptr;
6344 { /* AIX XL C 1.02.0.0 rejects this saying
6345 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6346 struct s { int j; const int *ap[3]; };
6347 struct s *b; b->j = 5;
6349 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6353 return !cs[0] && !zero.x;
6360 if ac_fn_c_try_compile "$LINENO"; then :
6365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6368 $as_echo "$ac_cv_c_const" >&6; }
6369 if test $ac_cv_c_const = no; then
6371 $as_echo "#define const /**/" >>confdefs.h
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6376 $as_echo_n "checking for working volatile... " >&6; }
6377 if ${ac_cv_c_volatile+:} false; then :
6378 $as_echo_n "(cached) " >&6
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6388 int * volatile y = (int *) 0;
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 ac_cv_c_volatile=yes
6399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6402 $as_echo "$ac_cv_c_volatile" >&6; }
6403 if test $ac_cv_c_volatile = no; then
6405 $as_echo "#define volatile /**/" >>confdefs.h
6410 ac_fn_c_check_decl "$LINENO" "crypt" "ac_cv_have_decl_crypt" "#include \"config_p.h\"
6411 $ac_includes_default
6417 if test "x$ac_cv_have_decl_crypt" = xyes; then :
6423 cat >>confdefs.h <<_ACEOF
6424 #define HAVE_DECL_CRYPT $ac_have_decl
6426 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "#include \"config_p.h\"
6427 $ac_includes_default
6433 if test "x$ac_cv_have_decl_environ" = xyes; then :
6439 cat >>confdefs.h <<_ACEOF
6440 #define HAVE_DECL_ENVIRON $ac_have_decl
6442 ac_fn_c_check_decl "$LINENO" "gethostname" "ac_cv_have_decl_gethostname" "#include \"config_p.h\"
6443 $ac_includes_default
6449 if test "x$ac_cv_have_decl_gethostname" = xyes; then :
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_DECL_GETHOSTNAME $ac_have_decl
6458 ac_fn_c_check_decl "$LINENO" "getpgrp" "ac_cv_have_decl_getpgrp" "#include \"config_p.h\"
6459 $ac_includes_default
6465 if test "x$ac_cv_have_decl_getpgrp" = xyes; then :
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_DECL_GETPGRP $ac_have_decl
6475 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
6476 if test "x$ac_cv_func_setlocale" = xyes; then :
6482 ac_fn_c_check_func "$LINENO" "catgets" "ac_cv_func_catgets"
6483 if test "x$ac_cv_func_catgets" = xyes; then :
6489 for ac_func in dup2 getauthid getcwd gethostname getpwent getutent getutxent mallinfo memmove memset mkstemp nice nl_langinfo sbrk setpgid setpriority strerror strstr sysconf wcwidth
6491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6494 cat >>confdefs.h <<_ACEOF
6495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
6502 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
6503 if ${ac_cv_func_getpgrp_void+:} false; then :
6504 $as_echo_n "(cached) " >&6
6506 # Use it with a single arg.
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 $ac_includes_default
6518 if ac_fn_c_try_compile "$LINENO"; then :
6519 ac_cv_func_getpgrp_void=no
6521 ac_cv_func_getpgrp_void=yes
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
6527 $as_echo "$ac_cv_func_getpgrp_void" >&6; }
6528 if test $ac_cv_func_getpgrp_void = yes; then
6530 $as_echo "#define GETPGRP_VOID 1" >>confdefs.h
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5
6536 $as_echo_n "checking whether mbrtowc and mbstate_t are properly declared... " >&6; }
6537 if ${ac_cv_func_mbrtowc+:} false; then :
6538 $as_echo_n "(cached) " >&6
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6547 char const s[] = "";
6550 return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
6555 if ac_fn_c_try_link "$LINENO"; then :
6556 ac_cv_func_mbrtowc=yes
6558 ac_cv_func_mbrtowc=no
6560 rm -f core conftest.err conftest.$ac_objext \
6561 conftest$ac_exeext conftest.$ac_ext
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5
6564 $as_echo "$ac_cv_func_mbrtowc" >&6; }
6565 if test $ac_cv_func_mbrtowc = yes; then
6567 $as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h
6571 if test "x${cross_compiling}" != xyes ; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setpgrp takes no argument" >&5
6573 $as_echo_n "checking whether setpgrp takes no argument... " >&6; }
6574 if ${ac_cv_func_setpgrp_void+:} false; then :
6575 $as_echo_n "(cached) " >&6
6577 if test "$cross_compiling" = yes; then :
6578 as_fn_error $? "cannot check setpgrp when cross compiling" "$LINENO" 5
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 $ac_includes_default
6586 /* If this system has a BSD-style setpgrp which takes arguments,
6587 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
6588 exit successfully. */
6589 return setpgrp (1,1) != -1;
6594 if ac_fn_c_try_run "$LINENO"; then :
6595 ac_cv_func_setpgrp_void=no
6597 ac_cv_func_setpgrp_void=yes
6599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6600 conftest.$ac_objext conftest.beam conftest.$ac_ext
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setpgrp_void" >&5
6605 $as_echo "$ac_cv_func_setpgrp_void" >&6; }
6606 if test $ac_cv_func_setpgrp_void = yes; then
6608 $as_echo "#define SETPGRP_VOID 1" >>confdefs.h
6613 ac_cv_func_setpgrp_void=yes
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
6616 $as_echo_n "checking for working strcoll... " >&6; }
6617 if ${ac_cv_func_strcoll_works+:} false; then :
6618 $as_echo_n "(cached) " >&6
6620 if test "$cross_compiling" = yes; then :
6621 ac_cv_func_strcoll_works=no
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 $ac_includes_default
6629 return (strcoll ("abc", "def") >= 0 ||
6630 strcoll ("ABC", "DEF") >= 0 ||
6631 strcoll ("123", "456") >= 0)
6636 if ac_fn_c_try_run "$LINENO"; then :
6637 ac_cv_func_strcoll_works=yes
6639 ac_cv_func_strcoll_works=no
6641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6642 conftest.$ac_objext conftest.beam conftest.$ac_ext
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
6647 $as_echo "$ac_cv_func_strcoll_works" >&6; }
6648 if test $ac_cv_func_strcoll_works = yes; then
6650 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
6658 if test "$have_setlocale" != no; then
6659 # Check whether --enable-nls was given.
6660 if test "${enable_nls+set}" = set; then :
6661 enableval=$enable_nls;
6666 if test "x$enable_nls" != xno; then
6668 $as_echo "#define NLS 1" >>confdefs.h
6673 if test "x$enable_nls" != xno -a "$have_catgets" != no -a -n "$GENCAT" ; then
6674 # Check whether --enable-nls-catalogs was given.
6675 if test "${enable_nls_catalogs+set}" = set; then :
6676 enableval=$enable_nls_catalogs;
6678 enable_nls_catalogs=yes
6681 if test "x$enable_nls_catalogs" != xno; then
6682 BUILD_CATALOGS="yes"
6684 $as_echo "#define NLS_CATALOGS 1" >>confdefs.h
6690 # Check whether --with-hesiod was given.
6691 if test "${with_hesiod+set}" = set; then :
6692 withval=$with_hesiod; hesiod="$withval"
6697 if test "$hesiod" != no; then
6699 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
6700 if test "x$ac_cv_func_res_send" = xyes; then :
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
6704 $as_echo_n "checking for res_send in -lresolv... " >&6; }
6705 if ${ac_cv_lib_resolv_res_send+:} false; then :
6706 $as_echo_n "(cached) " >&6
6708 ac_check_lib_save_LIBS=$LIBS
6709 LIBS="-lresolv $LIBS"
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6713 /* Override any GCC internal prototype to avoid an error.
6714 Use char because int might match the return type of a GCC
6715 builtin and then its argument prototype would still apply. */
6728 if ac_fn_c_try_link "$LINENO"; then :
6729 ac_cv_lib_resolv_res_send=yes
6731 ac_cv_lib_resolv_res_send=no
6733 rm -f core conftest.err conftest.$ac_objext \
6734 conftest$ac_exeext conftest.$ac_ext
6735 LIBS=$ac_check_lib_save_LIBS
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
6738 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
6739 if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
6740 HESLIB="$HESLIB -lresolv"
6746 if test "$hesiod" != yes; then
6747 HESDEF="$HESDEF -I$hesiod/include"
6748 HESLIB="-L$hesiod/lib $HESLIB"
6755 ac_config_files="$ac_config_files Makefile nls/Makefile"
6757 cat >confcache <<\_ACEOF
6758 # This file is a shell script that caches the results of configure
6759 # tests run on this system so they can be shared between configure
6760 # scripts and configure runs, see configure's option --config-cache.
6761 # It is not useful on other systems. If it contains results you don't
6762 # want to keep, you may remove or edit it.
6764 # config.status only pays attention to the cache file if you give it
6765 # the --recheck option to rerun configure.
6767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6773 # The following way of writing the cache mishandles newlines in values,
6774 # but we know of no workaround that is simple, portable, and efficient.
6775 # So, we kill variables containing newlines.
6776 # Ultrix sh set writes to stderr and can't be redirected directly,
6777 # and sets the high bit in the cache file unless we assign to the vars.
6779 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6780 eval ac_val=\$$ac_var
6784 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6785 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6788 _ | IFS | as_nl) ;; #(
6789 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6790 *) { eval $ac_var=; unset $ac_var;} ;;
6796 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6797 *${as_nl}ac_space=\ *)
6798 # `set' does not quote correctly, so add quotes: double-quote
6799 # substitution turns \\\\ into \\, and sed turns \\ into \.
6802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6805 # `set' quotes correctly as required by POSIX, so do not add quotes.
6806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6817 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6819 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6820 if test -w "$cache_file"; then
6821 if test "x$cache_file" != "x/dev/null"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6823 $as_echo "$as_me: updating cache $cache_file" >&6;}
6824 if test ! -f "$cache_file" || test -h "$cache_file"; then
6825 cat confcache >"$cache_file"
6827 case $cache_file in #(
6829 mv -f confcache "$cache_file"$$ &&
6830 mv -f "$cache_file"$$ "$cache_file" ;; #(
6832 mv -f confcache "$cache_file" ;;
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6838 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6843 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6844 # Let make expand exec_prefix.
6845 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6847 DEFS=-DHAVE_CONFIG_H
6852 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6853 # 1. Remove the extension, and $U if already installed.
6854 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6855 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6856 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6857 # will be set to the directory where LIBOBJS objects are built.
6858 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6859 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6863 LTLIBOBJS=$ac_ltlibobjs
6867 : "${CONFIG_STATUS=./config.status}"
6869 ac_clean_files_save=$ac_clean_files
6870 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6872 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6874 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6876 # Generated by $as_me.
6877 # Run this file to recreate the current configuration.
6878 # Compiler output produced by configure, useful for debugging
6879 # configure, is in config.log if it exists.
6885 SHELL=\${CONFIG_SHELL-$SHELL}
6888 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6889 ## -------------------- ##
6890 ## M4sh Initialization. ##
6891 ## -------------------- ##
6893 # Be more Bourne compatible
6894 DUALCASE=1; export DUALCASE # for MKS sh
6895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6898 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6899 # is contrary to our usage. Disable this feature.
6900 alias -g '${1+"$@"}'='"$@"'
6901 setopt NO_GLOB_SUBST
6903 case `(set -o) 2>/dev/null` in #(
6915 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6916 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6919 # Prefer a ksh shell builtin over an external printf program on Solaris,
6920 # but without wasting forks for bash or zsh.
6921 if test -z "$BASH_VERSION$ZSH_VERSION" \
6922 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6923 as_echo='print -r --'
6924 as_echo_n='print -rn --'
6925 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6926 as_echo='printf %s\n'
6927 as_echo_n='printf %s'
6929 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6930 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6931 as_echo_n='/usr/ucb/echo -n'
6933 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6934 as_echo_n_body='eval
6938 expr "X$arg" : "X\\(.*\\)$as_nl";
6939 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6941 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6943 export as_echo_n_body
6944 as_echo_n='sh -c $as_echo_n_body as_echo'
6947 as_echo='sh -c $as_echo_body as_echo'
6950 # The user is always right.
6951 if test "${PATH_SEPARATOR+set}" != set; then
6953 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6954 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6961 # We need space, tab and new line, in precisely that order. Quoting is
6962 # there to prevent editors from complaining about space-tab.
6963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6964 # splitting by setting IFS to empty value.)
6967 # Find who we are. Look in the path if we contain no directory separator.
6970 *[\\/]* ) as_myself=$0 ;;
6971 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6982 # We did not find ourselves, most probably we were run as `sh COMMAND'
6983 # in which case we are not to be found in the path.
6984 if test "x$as_myself" = x; then
6987 if test ! -f "$as_myself"; then
6988 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6992 # Unset variables that we do not need and which cause bugs (e.g. in
6993 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6994 # suppresses any "Segmentation fault" message there. '((' could
6995 # trigger a bug in pdksh 5.2.14.
6996 for as_var in BASH_ENV ENV MAIL MAILPATH
6997 do eval test x\${$as_var+set} = xset \
6998 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7011 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7014 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7015 # ----------------------------------------
7016 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7017 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7018 # script with STATUS, using 1 if that was 0.
7021 as_status=$1; test $as_status -eq 0 && as_status=1
7023 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7024 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7026 $as_echo "$as_me: error: $2" >&2
7027 as_fn_exit $as_status
7031 # as_fn_set_status STATUS
7032 # -----------------------
7033 # Set $? to STATUS, without forking.
7037 } # as_fn_set_status
7041 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7051 # Portably unset VAR.
7054 { eval $1=; unset $1;}
7056 as_unset=as_fn_unset
7057 # as_fn_append VAR VALUE
7058 # ----------------------
7059 # Append the text in VALUE to the end of the definition contained in VAR. Take
7060 # advantage of any shell optimizations that allow amortized linear growth over
7061 # repeated appends, instead of the typical quadratic growth present in naive
7063 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7064 eval 'as_fn_append ()
7075 # as_fn_arith ARG...
7076 # ------------------
7077 # Perform arithmetic evaluation on the ARGs, and store the result in the
7078 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7079 # must be portable across $(()) and expr.
7080 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7081 eval 'as_fn_arith ()
7088 as_val=`expr "$@" || test $? -eq 1`
7093 if expr a : '\(a\)' >/dev/null 2>&1 &&
7094 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7100 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7101 as_basename=basename
7106 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7112 as_me=`$as_basename -- "$0" ||
7113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7114 X"$0" : 'X\(//\)$' \| \
7115 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7117 sed '/^.*\/\([^/][^/]*\)\/*$/{
7131 # Avoid depending upon Character Ranges.
7132 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7133 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7134 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7135 as_cr_digits='0123456789'
7136 as_cr_alnum=$as_cr_Letters$as_cr_digits
7138 ECHO_C= ECHO_N= ECHO_T=
7139 case `echo -n x` in #(((((
7141 case `echo 'xy\c'` in
7142 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7144 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7151 rm -f conf$$ conf$$.exe conf$$.file
7152 if test -d conf$$.dir; then
7153 rm -f conf$$.dir/conf$$.file
7156 mkdir conf$$.dir 2>/dev/null
7158 if (echo >conf$$.file) 2>/dev/null; then
7159 if ln -s conf$$.file conf$$ 2>/dev/null; then
7161 # ... but there are two gotchas:
7162 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7163 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7164 # In both cases, we have to default to `cp -p'.
7165 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7167 elif ln conf$$.file conf$$ 2>/dev/null; then
7175 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7176 rmdir conf$$.dir 2>/dev/null
7181 # Create "$as_dir" as a directory, including parents if necessary.
7186 -*) as_dir=./$as_dir;;
7188 test -d "$as_dir" || eval $as_mkdir_p || {
7192 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7193 *) as_qdir=$as_dir;;
7195 as_dirs="'$as_qdir' $as_dirs"
7196 as_dir=`$as_dirname -- "$as_dir" ||
7197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7198 X"$as_dir" : 'X\(//\)[^/]' \| \
7199 X"$as_dir" : 'X\(//\)$' \| \
7200 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7201 $as_echo X"$as_dir" |
7202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7219 test -d "$as_dir" && break
7221 test -z "$as_dirs" || eval "mkdir $as_dirs"
7222 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7226 if mkdir -p . 2>/dev/null; then
7227 as_mkdir_p='mkdir -p "$as_dir"'
7229 test -d ./-p && rmdir ./-p
7233 if test -x / >/dev/null 2>&1; then
7236 if ls -dL / >/dev/null 2>&1; then
7243 if test -d "$1"; then
7249 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7250 ???[sx]*):;;*)false;;esac;fi
7254 as_executable_p=$as_test_x
7256 # Sed expression to map a string onto a valid CPP name.
7257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7259 # Sed expression to map a string onto a valid variable name.
7260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7264 ## ----------------------------------- ##
7265 ## Main body of $CONFIG_STATUS script. ##
7266 ## ----------------------------------- ##
7268 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7271 # Save the log message, to keep $0 and so on meaningful, and to
7272 # report actual input values of CONFIG_FILES etc. instead of their
7273 # values after options handling.
7275 This file was extended by tcsh $as_me 6.18.01, which was
7276 generated by GNU Autoconf 2.68. Invocation command line was
7278 CONFIG_FILES = $CONFIG_FILES
7279 CONFIG_HEADERS = $CONFIG_HEADERS
7280 CONFIG_LINKS = $CONFIG_LINKS
7281 CONFIG_COMMANDS = $CONFIG_COMMANDS
7284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7289 case $ac_config_files in *"
7290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7293 case $ac_config_headers in *"
7294 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7299 # Files that config.status was made for.
7300 config_files="$ac_config_files"
7301 config_headers="$ac_config_headers"
7302 config_commands="$ac_config_commands"
7306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7308 \`$as_me' instantiates files and other configuration actions
7309 from templates according to the current configuration. Unless the files
7310 and actions are specified as TAGs, all are instantiated by default.
7312 Usage: $0 [OPTION]... [TAG]...
7314 -h, --help print this help, then exit
7315 -V, --version print version number and configuration settings, then exit
7316 --config print configuration, then exit
7317 -q, --quiet, --silent
7318 do not print progress messages
7319 -d, --debug don't remove temporary files
7320 --recheck update $as_me by reconfiguring in the same conditions
7321 --file=FILE[:TEMPLATE]
7322 instantiate the configuration file FILE
7323 --header=FILE[:TEMPLATE]
7324 instantiate the configuration header FILE
7326 Configuration files:
7329 Configuration headers:
7332 Configuration commands:
7335 Report bugs to <http://bugs.gw.com/>."
7338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7339 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7341 tcsh config.status 6.18.01
7342 configured by $0, generated by GNU Autoconf 2.68,
7343 with options \\"\$ac_cs_config\\"
7345 Copyright (C) 2010 Free Software Foundation, Inc.
7346 This config.status script is free software; the Free Software Foundation
7347 gives unlimited permission to copy, distribute and modify it."
7352 test -n "\$AWK" || AWK=awk
7355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7356 # The default lists apply if the user does not specify any file.
7362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7367 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7379 # Handling of the options.
7380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7382 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7383 $as_echo "$ac_cs_version"; exit ;;
7384 --config | --confi | --conf | --con | --co | --c )
7385 $as_echo "$ac_cs_config"; exit ;;
7386 --debug | --debu | --deb | --de | --d | -d )
7388 --file | --fil | --fi | --f )
7391 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7392 '') as_fn_error $? "missing file argument" ;;
7394 as_fn_append CONFIG_FILES " '$ac_optarg'"
7395 ac_need_defaults=false;;
7396 --header | --heade | --head | --hea )
7399 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7401 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7402 ac_need_defaults=false;;
7404 # Conflict between --help and --header
7405 as_fn_error $? "ambiguous option: \`$1'
7406 Try \`$0 --help' for more information.";;
7407 --help | --hel | -h )
7408 $as_echo "$ac_cs_usage"; exit ;;
7409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7410 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7414 -*) as_fn_error $? "unrecognized option: \`$1'
7415 Try \`$0 --help' for more information." ;;
7417 *) as_fn_append ac_config_targets " $1"
7418 ac_need_defaults=false ;;
7424 ac_configure_extra_args=
7426 if $ac_cs_silent; then
7428 ac_configure_extra_args="$ac_configure_extra_args --silent"
7432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7433 if \$ac_cs_recheck; then
7434 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7436 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7437 CONFIG_SHELL='$SHELL'
7443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7448 ## Running $as_me. ##
7454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7464 # Handling of arguments.
7465 for ac_config_target in $ac_config_targets
7467 case $ac_config_target in
7468 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7469 "./atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS ./atconfig" ;;
7470 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7471 "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
7473 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7478 # If the user did not use the arguments to specify the items to instantiate,
7479 # then the envvar interface is used. Set only those that are not.
7480 # We use the long form for the default assignment because of an extremely
7481 # bizarre bug on SunOS 4.1.3.
7482 if $ac_need_defaults; then
7483 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7484 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7485 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7488 # Have a temporary directory for convenience. Make it in the build tree
7489 # simply because there is no reason against having it here, and in addition,
7490 # creating and moving files from /tmp can sometimes cause problems.
7491 # Hook for its removal unless debugging.
7492 # Note that there is a small window in which the directory will not be cleaned:
7493 # after its creation but before its name has been assigned to `$tmp'.
7497 trap 'exit_status=$?
7499 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7501 trap 'as_fn_exit 1' 1 2 13 15
7503 # Create a (secure) tmp directory for tmp files.
7506 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7510 tmp=./conf$$-$RANDOM
7511 (umask 077 && mkdir "$tmp")
7512 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7515 # Set up the scripts for CONFIG_FILES section.
7516 # No need to generate them if there are no CONFIG_FILES.
7517 # This happens for instance with `./config.status config.h'.
7518 if test -n "$CONFIG_FILES"; then
7521 ac_cr=`echo X | tr X '\015'`
7522 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7523 # But we know of no other shell where ac_cr would be empty at this
7524 # point, so we can use a bashism as a fallback.
7525 if test "x$ac_cr" = x; then
7526 eval ac_cr=\$\'\\r\'
7528 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7529 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7535 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7540 echo "cat >conf$$subs.awk <<_ACEOF" &&
7541 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7544 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7545 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7547 for ac_last_try in false false false false false :; do
7548 . ./conf$$subs.sh ||
7549 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7551 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7552 if test $ac_delim_n = $ac_delim_num; then
7554 elif $ac_last_try; then
7555 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7557 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7563 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7567 s/^/S["/; s/!.*/"]=/
7577 s/\(.\{148\}\)..*/\1/
7579 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7584 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7591 s/\(.\{148\}\)..*/\1/
7593 s/["\\]/\\&/g; s/^/"/; s/$/"/
7597 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7602 ' <conf$$subs.awk | sed '
7607 ' >>$CONFIG_STATUS || ac_write_fail=1
7608 rm -f conf$$subs.awk
7609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7611 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7612 for (key in S) S_is_set[key] = 1
7618 nfields = split(line, field, "@")
7620 len = length(field[1])
7621 for (i = 2; i < nfields; i++) {
7623 keylen = length(key)
7624 if (S_is_set[key]) {
7626 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7627 len += length(value) + length(field[++i])
7638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7639 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7640 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7643 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7644 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7647 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7648 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7649 # trailing colons and then remove the whole line if VPATH becomes empty
7650 # (actually we leave an empty line to preserve line numbers).
7651 if test "x$srcdir" = x.; then
7652 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7671 fi # test -n "$CONFIG_FILES"
7673 # Set up the scripts for CONFIG_HEADERS section.
7674 # No need to generate them if there are no CONFIG_HEADERS.
7675 # This happens for instance with `./config.status Makefile'.
7676 if test -n "$CONFIG_HEADERS"; then
7677 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7681 # Transform confdefs.h into an awk script `defines.awk', embedded as
7682 # here-document in config.status, that substitutes the proper values into
7683 # config.h.in to produce config.h.
7685 # Create a delimiter string that does not exist in confdefs.h, to ease
7686 # handling of long lines.
7688 for ac_last_try in false false :; do
7689 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7690 if test -z "$ac_tt"; then
7692 elif $ac_last_try; then
7693 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7695 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7699 # For the awk script, D is an array of macro values keyed by name,
7700 # likewise P contains macro parameters if any. Preserve backslash
7701 # newline sequences.
7703 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7705 s/.\{148\}/&'"$ac_delim"'/g
7708 s/^[ ]*#[ ]*define[ ][ ]*/ /
7715 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7717 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7721 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7722 D["\1"]=" \3\\\\\\n"\\/p
7724 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7729 s/.\{148\}/&'"$ac_delim"'/g
7734 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7737 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7739 ' <confdefs.h | sed '
7740 s/'"$ac_delim"'/"\\\
7741 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7744 for (key in D) D_is_set[key] = 1
7747 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7749 split(line, arg, " ")
7750 if (arg[1] == "#") {
7754 defundef = substr(arg[1], 2)
7757 split(mac1, mac2, "(") #)
7759 prefix = substr(line, 1, index(line, defundef) - 1)
7760 if (D_is_set[macro]) {
7761 # Preserve the white space surrounding the "#".
7762 print prefix "define", macro P[macro] D[macro]
7765 # Replace #undef with comments. This is necessary, for example,
7766 # in the case of _POSIX_SOURCE, which is predefined and required
7767 # on some systems where configure will not decide to define it.
7768 if (defundef == "undef") {
7769 print "/*", prefix defundef, macro, "*/"
7777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7778 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7779 fi # test -n "$CONFIG_HEADERS"
7782 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7787 :[FHLC]) ac_mode=$ac_tag; continue;;
7789 case $ac_mode$ac_tag in
7791 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7792 :[FH]-) ac_tag=-:-;;
7793 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7810 -) ac_f="$ac_tmp/stdin";;
7811 *) # Look for the file first in the build tree, then in the source tree
7812 # (if the path is not absolute). The absolute path cannot be DOS-style,
7813 # because $ac_f cannot contain `:'.
7817 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7819 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7821 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7822 as_fn_append ac_file_inputs " '$ac_f'"
7825 # Let's still pretend it is `configure' which instantiates (i.e., don't
7826 # use $as_me), people would be surprised to read:
7827 # /* config.h. Generated by config.status. */
7828 configure_input='Generated from '`
7829 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7831 if test x"$ac_file" != x-; then
7832 configure_input="$ac_file. $configure_input"
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7834 $as_echo "$as_me: creating $ac_file" >&6;}
7836 # Neutralize special characters interpreted by sed in replacement strings.
7837 case $configure_input in #(
7838 *\&* | *\|* | *\\* )
7839 ac_sed_conf_input=`$as_echo "$configure_input" |
7840 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7841 *) ac_sed_conf_input=$configure_input;;
7845 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7851 ac_dir=`$as_dirname -- "$ac_file" ||
7852 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7853 X"$ac_file" : 'X\(//\)[^/]' \| \
7854 X"$ac_file" : 'X\(//\)$' \| \
7855 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7856 $as_echo X"$ac_file" |
7857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7874 as_dir="$ac_dir"; as_fn_mkdir_p
7878 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7880 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7881 # A ".." for each directory in $ac_dir_suffix.
7882 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7883 case $ac_top_builddir_sub in
7884 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7885 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7888 ac_abs_top_builddir=$ac_pwd
7889 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7890 # for backward compatibility:
7891 ac_top_builddir=$ac_top_build_prefix
7894 .) # We are building in place.
7896 ac_top_srcdir=$ac_top_builddir_sub
7897 ac_abs_top_srcdir=$ac_pwd ;;
7898 [\\/]* | ?:[\\/]* ) # Absolute name.
7899 ac_srcdir=$srcdir$ac_dir_suffix;
7900 ac_top_srcdir=$srcdir
7901 ac_abs_top_srcdir=$srcdir ;;
7903 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7904 ac_top_srcdir=$ac_top_build_prefix$srcdir
7905 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7907 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7917 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7918 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7923 # If the template does not know about datarootdir, expand it.
7924 # FIXME: This hack should be removed a few years after 2.60.
7925 ac_datarootdir_hack=; ac_datarootdir_seen=
7936 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7937 *datarootdir*) ac_datarootdir_seen=yes;;
7938 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7940 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7943 ac_datarootdir_hack='
7944 s&@datadir@&$datadir&g
7945 s&@docdir@&$docdir&g
7946 s&@infodir@&$infodir&g
7947 s&@localedir@&$localedir&g
7948 s&@mandir@&$mandir&g
7949 s&\\\${datarootdir}&$datarootdir&g' ;;
7953 # Neutralize VPATH when `$srcdir' = `.'.
7954 # Shell code in configure.ac might set extrasub.
7955 # FIXME: do we really want to maintain this feature?
7956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7957 ac_sed_extra="$ac_vpsub
7960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7962 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7963 s|@configure_input@|$ac_sed_conf_input|;t t
7964 s&@top_builddir@&$ac_top_builddir_sub&;t t
7965 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7966 s&@srcdir@&$ac_srcdir&;t t
7967 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7968 s&@top_srcdir@&$ac_top_srcdir&;t t
7969 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7970 s&@builddir@&$ac_builddir&;t t
7971 s&@abs_builddir@&$ac_abs_builddir&;t t
7972 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7973 s&@INSTALL@&$ac_INSTALL&;t t
7974 $ac_datarootdir_hack
7976 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7977 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7979 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7980 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7981 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7982 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7984 which seems to be undefined. Please make sure it is defined" >&5
7985 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7986 which seems to be undefined. Please make sure it is defined" >&2;}
7988 rm -f "$ac_tmp/stdin"
7990 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7991 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7999 if test x"$ac_file" != x-; then
8001 $as_echo "/* $configure_input */" \
8002 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8003 } >"$ac_tmp/config.h" \
8004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8005 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8007 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8010 mv "$ac_tmp/config.h" "$ac_file" \
8011 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8014 $as_echo "/* $configure_input */" \
8015 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8016 || as_fn_error $? "could not create -" "$LINENO" 5
8020 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8021 $as_echo "$as_me: executing $ac_file commands" >&6;}
8026 case $ac_file$ac_mode in
8027 "./atconfig":C) cat >./atconfig <<ATEOF
8028 # Configurable variable values for building test suites.
8030 # Copyright (C) 2010 Free Software Foundation, Inc.
8032 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
8034 abs_builddir='$ac_abs_builddir'
8035 at_srcdir='$ac_srcdir'
8036 abs_srcdir='$ac_abs_srcdir'
8037 at_top_srcdir='$ac_top_srcdir'
8038 abs_top_srcdir='$ac_abs_top_srcdir'
8039 at_top_build_prefix='$ac_top_build_prefix'
8040 abs_top_builddir='$ac_abs_top_builddir'
8042 # Backward compatibility with Autotest <= 2.59b:
8043 at_top_builddir=\$at_top_build_prefix
8047 SHELL=\${CONFIG_SHELL-'$SHELL'}
8057 ac_clean_files=$ac_clean_files_save
8059 test $ac_write_fail = 0 ||
8060 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8063 # configure is writing to config.log, and then calls config.status.
8064 # config.status does its own redirection, appending to config.log.
8065 # Unfortunately, on DOS this fails, as config.log is still kept open
8066 # by configure, so config.status won't be able to write to it; its
8067 # output is simply discarded. So we exec the FD to /dev/null,
8068 # effectively closing config.log, so it can be properly (re)opened and
8069 # appended to by config.status. When coming back to configure, we
8070 # need to make the FD available again.
8071 if test "$no_create" != yes; then
8073 ac_config_status_args=
8074 test "$silent" = yes &&
8075 ac_config_status_args="$ac_config_status_args --quiet"
8077 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8079 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8080 # would make configure fail if this is the last instruction.
8081 $ac_cs_success || as_fn_exit 1
8083 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8085 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}