2 # From configure.in Id: configure.in,v 1.156 2010/07/28 05:39:50 psmith Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65 for GNU make 3.82.
6 # Report bugs to <bug-make@gnu.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # 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.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-make@gnu.org
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
370 as_status=$?; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375 $as_echo "$as_me: error: $1" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev/null
537 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
554 PACKAGE_NAME='GNU make'
555 PACKAGE_TARNAME='make'
556 PACKAGE_VERSION='3.82'
557 PACKAGE_STRING='GNU make 3.82'
558 PACKAGE_BUGREPORT='bug-make@gnu.org'
559 PACKAGE_URL='http://www.gnu.org/software/make/'
561 ac_unique_file="vpath.c"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 ac_subst_vars='am__EXEEXT_FALSE
666 INSTALL_STRIP_PROGRAM
708 program_transform_name
719 ac_subst_files='MAINT_MAKEFILE'
721 enable_option_checking
722 enable_dependency_tracking
730 enable_case_insensitive_file_system
734 ac_precious_vars='build_alias
745 # Initialize some variables set by options.
747 ac_init_version=false
748 ac_unrecognized_opts=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name=s,x,x,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir='${datarootdir}/info'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
805 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 -build | --build | --buil | --bui | --bu)
821 ac_prev=build_alias ;;
822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
823 build_alias=$ac_optarg ;;
825 -cache-file | --cache-file | --cache-fil | --cache-fi \
826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827 ac_prev=cache_file ;;
828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830 cache_file=$ac_optarg ;;
833 cache_file=config.cache ;;
835 -datadir | --datadir | --datadi | --datad)
837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
838 datadir=$ac_optarg ;;
840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841 | --dataroo | --dataro | --datar)
842 ac_prev=datarootdir ;;
843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845 datarootdir=$ac_optarg ;;
847 -disable-* | --disable-*)
848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851 as_fn_error "invalid feature name: $ac_useropt"
852 ac_useropt_orig=$ac_useropt
853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
859 ac_unrecognized_sep=', ';;
861 eval enable_$ac_useropt=no ;;
863 -docdir | --docdir | --docdi | --doc | --do)
865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873 -enable-* | --enable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
887 eval enable_$ac_useropt=\$ac_optarg ;;
889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
891 | --exec | --exe | --ex)
892 ac_prev=exec_prefix ;;
893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
895 | --exec=* | --exe=* | --ex=*)
896 exec_prefix=$ac_optarg ;;
898 -gas | --gas | --ga | --g)
899 # Obsolete; use --with-gas.
902 -help | --help | --hel | --he | -h)
904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
905 ac_init_help=recursive ;;
906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
907 ac_init_help=short ;;
909 -host | --host | --hos | --ho)
910 ac_prev=host_alias ;;
911 -host=* | --host=* | --hos=* | --ho=*)
912 host_alias=$ac_optarg ;;
914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
918 htmldir=$ac_optarg ;;
920 -includedir | --includedir | --includedi | --included | --include \
921 | --includ | --inclu | --incl | --inc)
922 ac_prev=includedir ;;
923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
924 | --includ=* | --inclu=* | --incl=* | --inc=*)
925 includedir=$ac_optarg ;;
927 -infodir | --infodir | --infodi | --infod | --info | --inf)
929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
930 infodir=$ac_optarg ;;
932 -libdir | --libdir | --libdi | --libd)
934 -libdir=* | --libdir=* | --libdi=* | --libd=*)
937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
938 | --libexe | --libex | --libe)
939 ac_prev=libexecdir ;;
940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
941 | --libexe=* | --libex=* | --libe=*)
942 libexecdir=$ac_optarg ;;
944 -localedir | --localedir | --localedi | --localed | --locale)
946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
947 localedir=$ac_optarg ;;
949 -localstatedir | --localstatedir | --localstatedi | --localstated \
950 | --localstate | --localstat | --localsta | --localst | --locals)
951 ac_prev=localstatedir ;;
952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
954 localstatedir=$ac_optarg ;;
956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962 # Obsolete; use --without-fp.
965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
966 | --no-cr | --no-c | -n)
969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
975 | --oldin | --oldi | --old | --ol | --o)
976 ac_prev=oldincludedir ;;
977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
980 oldincludedir=$ac_optarg ;;
982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
987 -program-prefix | --program-prefix | --program-prefi | --program-pref \
988 | --program-pre | --program-pr | --program-p)
989 ac_prev=program_prefix ;;
990 -program-prefix=* | --program-prefix=* | --program-prefi=* \
991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
992 program_prefix=$ac_optarg ;;
994 -program-suffix | --program-suffix | --program-suffi | --program-suff \
995 | --program-suf | --program-su | --program-s)
996 ac_prev=program_suffix ;;
997 -program-suffix=* | --program-suffix=* | --program-suffi=* \
998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
999 program_suffix=$ac_optarg ;;
1001 -program-transform-name | --program-transform-name \
1002 | --program-transform-nam | --program-transform-na \
1003 | --program-transform-n | --program-transform- \
1004 | --program-transform | --program-transfor \
1005 | --program-transfo | --program-transf \
1006 | --program-trans | --program-tran \
1007 | --progr-tra | --program-tr | --program-t)
1008 ac_prev=program_transform_name ;;
1009 -program-transform-name=* | --program-transform-name=* \
1010 | --program-transform-nam=* | --program-transform-na=* \
1011 | --program-transform-n=* | --program-transform-=* \
1012 | --program-transform=* | --program-transfor=* \
1013 | --program-transfo=* | --program-transf=* \
1014 | --program-trans=* | --program-tran=* \
1015 | --progr-tra=* | --program-tr=* | --program-t=*)
1016 program_transform_name=$ac_optarg ;;
1018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1021 pdfdir=$ac_optarg ;;
1023 -psdir | --psdir | --psdi | --psd | --ps)
1025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1029 | -silent | --silent | --silen | --sile | --sil)
1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1036 sbindir=$ac_optarg ;;
1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1040 | --sharedst | --shareds | --shared | --share | --shar \
1042 ac_prev=sharedstatedir ;;
1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1047 sharedstatedir=$ac_optarg ;;
1049 -site | --site | --sit)
1051 -site=* | --site=* | --sit=*)
1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1057 srcdir=$ac_optarg ;;
1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1060 | --syscon | --sysco | --sysc | --sys | --sy)
1061 ac_prev=sysconfdir ;;
1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1064 sysconfdir=$ac_optarg ;;
1066 -target | --target | --targe | --targ | --tar | --ta | --t)
1067 ac_prev=target_alias ;;
1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1069 target_alias=$ac_optarg ;;
1071 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1074 -version | --version | --versio | --versi | --vers | -V)
1075 ac_init_version=: ;;
1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=\$ac_optarg ;;
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval with_$ac_useropt=no ;;
1110 # Obsolete; use --with-x.
1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1114 | --x-incl | --x-inc | --x-in | --x-i)
1115 ac_prev=x_includes ;;
1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1118 x_includes=$ac_optarg ;;
1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1122 ac_prev=x_libraries ;;
1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1125 x_libraries=$ac_optarg ;;
1127 -*) as_fn_error "unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information."
1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' | [0-9]* | *[!_$as_cr_alnum]* )
1136 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1138 eval $ac_envvar=\$ac_optarg
1139 export $ac_envvar ;;
1142 # FIXME: should be removed in autoconf 3.0.
1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1152 if test -n "$ac_prev"; then
1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error "missing argument to $ac_option"
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1160 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1178 # Be sure to have absolute directory names.
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1191 target=$target_alias
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x; then
1195 if test "x$build_alias" = x; then
1196 cross_compiling=maybe
1197 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1198 If a cross compiler is detected then cross compile mode will be used." >&2
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207 test "$silent" = yes && exec 6>/dev/null
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error "pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var in $ac_precious_vars; do
1271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_${ac_var}_value=\$${ac_var}
1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures GNU make 3.82 to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/make]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --program-prefix=PREFIX prepend PREFIX to installed program names
1343 --program-suffix=SUFFIX append SUFFIX to installed program names
1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347 --build=BUILD configure for building on BUILD [guessed]
1348 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1352 if test -n "$ac_init_help"; then
1353 case $ac_init_help in
1354 short | recursive ) echo "Configuration of GNU make 3.82:";;
1359 --disable-option-checking ignore unrecognized --enable/--with options
1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1362 --disable-dependency-tracking speeds up one-time build
1363 --enable-dependency-tracking do not reject slow dependency extractors
1364 --disable-nls do not use Native Language Support
1365 --disable-rpath do not hardcode runtime library paths
1366 --disable-largefile omit support for large files
1367 --enable-case-insensitive-file-system
1368 assume file systems are case insensitive
1369 --disable-job-server disallow recursive make communication during -jN
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --with-gnu-ld assume the C compiler uses GNU ld default=no
1375 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1376 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1377 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1378 --without-libintl-prefix don't search for libintl in includedir and libdir
1379 --with-customs=DIR enable remote jobs via Customs--see README.customs
1380 --with-dmalloc use dmalloc, as in
1381 http://www.dmalloc.com/dmalloc.tar.gz
1383 Some influential environment variables:
1384 CC C compiler command
1385 CFLAGS C compiler flags
1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1387 nonstandard directory <lib dir>
1388 LIBS libraries to pass to the linker, e.g. -l<library>
1389 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1390 you have headers in a nonstandard directory <include dir>
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1396 Report bugs to <bug-make@gnu.org>.
1397 GNU make home page: <http://www.gnu.org/software/make/>.
1398 General help using GNU software: <http://www.gnu.org/gethelp/>.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" ||
1407 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1415 # A ".." for each directory in $ac_dir_suffix.
1416 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1417 case $ac_top_builddir_sub in
1418 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1422 ac_abs_top_builddir=$ac_pwd
1423 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir=$ac_top_build_prefix
1428 .) # We are building in place.
1430 ac_top_srcdir=$ac_top_builddir_sub
1431 ac_abs_top_srcdir=$ac_pwd ;;
1432 [\\/]* | ?:[\\/]* ) # Absolute name.
1433 ac_srcdir=$srcdir$ac_dir_suffix;
1434 ac_top_srcdir=$srcdir
1435 ac_abs_top_srcdir=$srcdir ;;
1437 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438 ac_top_srcdir=$ac_top_build_prefix$srcdir
1439 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1441 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" || { ac_status=$?; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 cd "$ac_pwd" || { ac_status=$?; break; }
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1461 GNU make configure 3.82
1462 generated by GNU Autoconf 2.65
1464 Copyright (C) 2009 Free Software Foundation, Inc.
1465 This configure script is free software; the Free Software Foundation
1466 gives unlimited permission to copy, distribute and modify it.
1471 ## ------------------------ ##
1472 ## Autoconf initialization. ##
1473 ## ------------------------ ##
1475 # ac_fn_c_try_compile LINENO
1476 # --------------------------
1477 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1478 ac_fn_c_try_compile ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext
1482 if { { ac_try="$ac_compile"
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_compile") 2>conftest.err
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest.$ac_objext; then :
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509 as_fn_set_status $ac_retval
1511 } # ac_fn_c_try_compile
1513 # ac_fn_c_try_cpp LINENO
1514 # ----------------------
1515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if { { ac_try="$ac_cpp conftest.$ac_ext"
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } >/dev/null && {
1535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1545 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546 as_fn_set_status $ac_retval
1550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1551 # -------------------------------------------------------
1552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1553 # the include files in INCLUDES and setting the cache variable VAR
1555 ac_fn_c_check_header_mongrel ()
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1560 $as_echo_n "checking for $2... " >&6; }
1561 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1562 $as_echo_n "(cached) " >&6
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1566 $as_echo "$ac_res" >&6; }
1568 # Is the header compilable?
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1570 $as_echo_n "checking $2 usability... " >&6; }
1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1572 /* end confdefs.h. */
1576 if ac_fn_c_try_compile "$LINENO"; then :
1577 ac_header_compiler=yes
1579 ac_header_compiler=no
1581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1583 $as_echo "$ac_header_compiler" >&6; }
1585 # Is the header present?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1587 $as_echo_n "checking $2 presence... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h. */
1592 if ac_fn_c_try_cpp "$LINENO"; then :
1593 ac_header_preproc=yes
1595 ac_header_preproc=no
1597 rm -f conftest.err conftest.$ac_ext
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1599 $as_echo "$ac_header_preproc" >&6; }
1601 # So? What about this header?
1602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1621 ## ------------------------------- ##
1622 ## Report this to bug-make@gnu.org ##
1623 ## ------------------------------- ##
1625 ) | sed "s/^/$as_me: WARNING: /" >&2
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1631 $as_echo_n "(cached) " >&6
1633 eval "$3=\$ac_header_compiler"
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637 $as_echo "$ac_res" >&6; }
1639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1641 } # ac_fn_c_check_header_mongrel
1643 # ac_fn_c_try_run LINENO
1644 # ----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1646 # that executables *can* be run.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_link"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>&5
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1661 { { case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_try") 2>&5
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; }; }; then :
1673 $as_echo "$as_me: program exited with status $ac_status" >&5
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1677 ac_retval=$ac_status
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 as_fn_set_status $ac_retval
1685 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1686 # -------------------------------------------------------
1687 # Tests whether HEADER exists and can be compiled using the include files in
1688 # INCLUDES, setting the cache variable VAR accordingly.
1689 ac_fn_c_check_header_compile ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1695 $as_echo_n "(cached) " >&6
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711 $as_echo "$ac_res" >&6; }
1712 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1714 } # ac_fn_c_check_header_compile
1716 # ac_fn_c_try_link LINENO
1717 # -----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext conftest$ac_exeext
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>conftest.err
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest$ac_exeext && {
1742 test "$cross_compiling" = yes ||
1743 $as_test_x conftest$ac_exeext
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1753 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1754 # interfere with the next link command; also delete a directory that is
1755 # left behind by Apple's compiler. We do this before executing the actions.
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 as_fn_set_status $ac_retval
1760 } # ac_fn_c_try_link
1762 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1763 # -------------------------------------------
1764 # Tests whether TYPE exists after having included INCLUDES, setting cache
1765 # variable VAR accordingly.
1766 ac_fn_c_check_type ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1772 $as_echo_n "(cached) " >&6
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1787 if ac_fn_c_try_compile "$LINENO"; then :
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1800 if ac_fn_c_try_compile "$LINENO"; then :
1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1814 } # ac_fn_c_check_type
1816 # ac_fn_c_check_func LINENO FUNC VAR
1817 # ----------------------------------
1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1819 ac_fn_c_check_func ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link "$LINENO"; then :
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 } # ac_fn_c_check_func
1883 # ac_fn_c_check_decl LINENO SYMBOL VAR
1884 # ------------------------------------
1885 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1886 ac_fn_c_check_decl ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1890 $as_echo_n "checking whether $2 is declared... " >&6; }
1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1908 if ac_fn_c_try_compile "$LINENO"; then :
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 } # ac_fn_c_check_decl
1922 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1923 # ----------------------------------------------------
1924 # Tries to find if the field MEMBER exists in type AGGR, after including
1925 # INCLUDES, setting cache variable VAR accordingly.
1926 ac_fn_c_check_member ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1930 $as_echo_n "checking for $2.$3... " >&6; }
1931 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1947 if ac_fn_c_try_compile "$LINENO"; then :
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1957 if (sizeof ac_aggr.$3)
1963 if ac_fn_c_try_compile "$LINENO"; then :
1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 } # ac_fn_c_check_member
1978 cat >config.log <<_ACEOF
1979 This file contains any messages produced by compilers while
1980 running configure, to aid debugging if configure makes a mistake.
1982 It was created by GNU make $as_me 3.82, which was
1983 generated by GNU Autoconf 2.65. Invocation command line was
1995 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1996 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1997 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1998 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1999 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2001 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2002 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2004 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2005 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2006 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2007 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2008 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2009 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2010 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 $as_echo "PATH: $as_dir"
2035 # Keep a trace of the command line.
2036 # Strip out --no-create and --no-recursion so they do not pile up.
2037 # Strip out --silent because we don't want to record it for future runs.
2038 # Also quote any args containing shell meta-characters.
2039 # Make two passes to allow for proper duplicate-argument suppression.
2043 ac_must_keep_next=false
2049 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2051 | -silent | --silent | --silen | --sile | --sil)
2054 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2057 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2059 as_fn_append ac_configure_args1 " '$ac_arg'"
2060 if test $ac_must_keep_next = true; then
2061 ac_must_keep_next=false # Got value, back to normal.
2064 *=* | --config-cache | -C | -disable-* | --disable-* \
2065 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2066 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2067 | -with-* | --with-* | -without-* | --without-* | --x)
2068 case "$ac_configure_args0 " in
2069 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2072 -* ) ac_must_keep_next=true ;;
2075 as_fn_append ac_configure_args " '$ac_arg'"
2080 { ac_configure_args0=; unset ac_configure_args0;}
2081 { ac_configure_args1=; unset ac_configure_args1;}
2083 # When interrupted or exit'd, cleanup temporary files, and complete
2084 # config.log. We remove comments because anyway the quotes in there
2085 # would cause problems or look ugly.
2086 # WARNING: Use '\'' to represent an apostrophe within the trap.
2087 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2088 trap 'exit_status=$?
2089 # Save into config.log some information that might help in debugging.
2094 ## ---------------- ##
2095 ## Cache variables. ##
2096 ## ---------------- ##
2099 # The following way of writing the cache mishandles newlines in values,
2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102 eval ac_val=\$$ac_var
2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110 _ | IFS | as_nl) ;; #(
2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112 *) { eval $ac_var=; unset $ac_var;} ;;
2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118 *${as_nl}ac_space=\ *)
2120 "s/'\''/'\''\\\\'\'''\''/g;
2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2132 ## ----------------- ##
2133 ## Output variables. ##
2134 ## ----------------- ##
2137 for ac_var in $ac_subst_vars
2139 eval ac_val=\$$ac_var
2141 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2143 $as_echo "$ac_var='\''$ac_val'\''"
2147 if test -n "$ac_subst_files"; then
2149 ## ------------------- ##
2150 ## File substitutions. ##
2151 ## ------------------- ##
2154 for ac_var in $ac_subst_files
2156 eval ac_val=\$$ac_var
2158 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 $as_echo "$ac_var='\''$ac_val'\''"
2165 if test -s confdefs.h; then
2175 test "$ac_signal" != 0 &&
2176 $as_echo "$as_me: caught signal $ac_signal"
2177 $as_echo "$as_me: exit $exit_status"
2179 rm -f core *.core core.conftest.* &&
2180 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2183 for ac_signal in 1 2 13 15; do
2184 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2189 rm -f -r conftest* confdefs.h
2191 $as_echo "/* confdefs.h */" > confdefs.h
2193 # Predefined preprocessor variables.
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_NAME "$PACKAGE_NAME"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_STRING "$PACKAGE_STRING"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_URL "$PACKAGE_URL"
2220 # Let the site file select an alternate cache file if it wants to.
2221 # Prefer an explicitly selected file to automatically selected ones.
2224 if test -n "$CONFIG_SITE"; then
2225 ac_site_file1=$CONFIG_SITE
2226 elif test "x$prefix" != xNONE; then
2227 ac_site_file1=$prefix/share/config.site
2228 ac_site_file2=$prefix/etc/config.site
2230 ac_site_file1=$ac_default_prefix/share/config.site
2231 ac_site_file2=$ac_default_prefix/etc/config.site
2233 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2235 test "x$ac_site_file" = xNONE && continue
2236 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2238 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2239 sed 's/^/| /' "$ac_site_file" >&5
2244 if test -r "$cache_file"; then
2245 # Some versions of bash will fail to source /dev/null (special files
2246 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2247 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2249 $as_echo "$as_me: loading cache $cache_file" >&6;}
2251 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2252 *) . "./$cache_file";;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2257 $as_echo "$as_me: creating cache $cache_file" >&6;}
2261 # Check that the precious variables saved in the cache have kept the same
2263 ac_cache_corrupted=false
2264 for ac_var in $ac_precious_vars; do
2265 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2266 eval ac_new_set=\$ac_env_${ac_var}_set
2267 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2268 eval ac_new_val=\$ac_env_${ac_var}_value
2269 case $ac_old_set,$ac_new_set in
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2272 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2273 ac_cache_corrupted=: ;;
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2276 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2277 ac_cache_corrupted=: ;;
2280 if test "x$ac_old_val" != "x$ac_new_val"; then
2281 # differences in whitespace do not lead to failure.
2282 ac_old_val_w=`echo x $ac_old_val`
2283 ac_new_val_w=`echo x $ac_new_val`
2284 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2286 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2287 ac_cache_corrupted=:
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2290 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2291 eval $ac_var=\$ac_old_val
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2294 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2296 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2299 # Pass precious variables to config.status.
2300 if test "$ac_new_set" = set; then
2302 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 *) ac_arg=$ac_var=$ac_new_val ;;
2305 case " $ac_configure_args " in
2306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2307 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2311 if $ac_cache_corrupted; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2315 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2316 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2318 ## -------------------- ##
2319 ## Main body of script. ##
2320 ## -------------------- ##
2323 ac_cpp='$CPP $CPPFLAGS'
2324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2335 for ac_dir in config "$srcdir"/config; do
2336 for ac_t in install-sh install.sh shtool; do
2337 if test -f "$ac_dir/$ac_t"; then
2339 ac_install_sh="$ac_aux_dir/$ac_t -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2358 ac_config_headers="$ac_config_headers config.h"
2362 am__api_version='1.11'
2364 # Find a good install program. We prefer a C program (faster),
2365 # so one script is as good as another. But avoid the broken or
2366 # incompatible versions:
2367 # SysV /etc/install, /usr/sbin/install
2368 # SunOS /usr/etc/install
2369 # IRIX /sbin/install
2371 # AmigaOS /C/install, which installs bootblocks on floppy discs
2372 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2373 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2374 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2375 # OS/2's system install, which has a completely different semantic
2376 # ./install, which can be erroneously created by make from ./install.sh.
2377 # Reject install programs that cannot install multiple files.
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2379 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2380 if test -z "$INSTALL"; then
2381 if test "${ac_cv_path_install+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 test -z "$as_dir" && as_dir=.
2389 # Account for people who put trailing slashes in PATH elements.
2390 case $as_dir/ in #((
2391 ./ | .// | /[cC]/* | \
2392 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2393 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2396 # OSF1 and SCO ODT 3.0 have their own names for install.
2397 # Don't use installbsd from OSF since it installs stuff as root
2399 for ac_prog in ginstall scoinst install; do
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2402 if test $ac_prog = install &&
2403 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2404 # AIX install. It has an incompatible calling convention.
2406 elif test $ac_prog = install &&
2407 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2408 # program-specific install script used by HP pwplus--don't use.
2411 rm -rf conftest.one conftest.two conftest.dir
2412 echo one > conftest.one
2413 echo two > conftest.two
2415 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2416 test -s conftest.one && test -s conftest.two &&
2417 test -s conftest.dir/conftest.one &&
2418 test -s conftest.dir/conftest.two
2420 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2433 rm -rf conftest.one conftest.two conftest.dir
2436 if test "${ac_cv_path_install+set}" = set; then
2437 INSTALL=$ac_cv_path_install
2439 # As a last resort, use the slow shell script. Don't cache a
2440 # value for INSTALL within a source directory, because that will
2441 # break other packages using the cache if that directory is
2442 # removed, or if the value is a relative name.
2443 INSTALL=$ac_install_sh
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2447 $as_echo "$INSTALL" >&6; }
2449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2450 # It thinks the first close brace ends the variable substitution.
2451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2455 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2458 $as_echo_n "checking whether build environment is sane... " >&6; }
2461 echo timestamp > conftest.file
2462 # Reject unsafe characters in $srcdir or the absolute working directory
2463 # name. Accept space and tab only in the latter.
2467 *[\\\"\#\$\&\'\`$am_lf]*)
2468 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2471 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2472 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2475 # Do `set' in a subshell so we don't clobber the current shell's
2476 # arguments. Must try -L first in case configure is actually a
2477 # symlink; some systems play weird games with the mod time of symlinks
2478 # (eg FreeBSD returns the mod time of the symlink's containing
2481 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2482 if test "$*" = "X"; then
2484 set X `ls -t "$srcdir/configure" conftest.file`
2487 if test "$*" != "X $srcdir/configure conftest.file" \
2488 && test "$*" != "X conftest.file $srcdir/configure"; then
2490 # If neither matched, then we have a broken ls. This can happen
2491 # if, for instance, CONFIG_SHELL is bash and it inherits a
2492 # broken ls alias from the environment. This has actually
2493 # happened. Such a system could not be considered "sane".
2494 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2495 alias in your environment" "$LINENO" 5
2498 test "$2" = conftest.file
2504 as_fn_error "newly created file is older than distributed files!
2505 Check your system clock" "$LINENO" 5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508 $as_echo "yes" >&6; }
2509 test "$program_prefix" != NONE &&
2510 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2511 # Use a double $ so make ignores it.
2512 test "$program_suffix" != NONE &&
2513 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2514 # Double any \ or $.
2515 # By default was `s,x,x', remove it if useless.
2516 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2517 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2519 # expand $ac_aux_dir to an absolute path
2520 am_aux_dir=`cd $ac_aux_dir && pwd`
2522 if test x"${MISSING+set}" != xset; then
2525 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2527 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2530 # Use eval to expand $SHELL
2531 if eval "$MISSING --run true"; then
2532 am_missing_run="$MISSING --run "
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2536 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2539 if test x"${install_sh}" != xset; then
2542 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2544 install_sh="\${SHELL} $am_aux_dir/install-sh"
2548 # Installed binaries are usually stripped using `strip' when the user
2549 # run `make install-strip'. However `strip' might not be the right
2550 # tool to use in cross-compilation environments, therefore Automake
2551 # will honor the `STRIP' environment variable to overrule this program.
2552 if test "$cross_compiling" != no; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}strip; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_STRIP+set}" = set; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$STRIP"; then
2562 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 STRIP=$ac_cv_prog_STRIP
2582 if test -n "$STRIP"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2584 $as_echo "$STRIP" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2592 if test -z "$ac_cv_prog_STRIP"; then
2594 # Extract the first word of "strip", so it can be a program name with args.
2595 set dummy strip; ac_word=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$ac_ct_STRIP"; then
2602 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 ac_cv_prog_ac_ct_STRIP="strip"
2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2622 if test -n "$ac_ct_STRIP"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2624 $as_echo "$ac_ct_STRIP" >&6; }
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2630 if test "x$ac_ct_STRIP" = x; then
2633 case $cross_compiling:$ac_tool_warned in
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2637 ac_tool_warned=yes ;;
2642 STRIP="$ac_cv_prog_STRIP"
2646 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2649 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2650 if test -z "$MKDIR_P"; then
2651 if test "${ac_cv_path_mkdir+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2658 test -z "$as_dir" && as_dir=.
2659 for ac_prog in mkdir gmkdir; do
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2662 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2663 'mkdir (GNU coreutils) '* | \
2664 'mkdir (coreutils) '* | \
2665 'mkdir (fileutils) '4.1*)
2666 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676 test -d ./--version && rmdir ./--version
2677 if test "${ac_cv_path_mkdir+set}" = set; then
2678 MKDIR_P="$ac_cv_path_mkdir -p"
2680 # As a last resort, use the slow shell script. Don't cache a
2681 # value for MKDIR_P within a source directory, because that will
2682 # break other packages using the cache if that directory is
2683 # removed, or if the value is a relative name.
2684 MKDIR_P="$ac_install_sh -d"
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2688 $as_echo "$MKDIR_P" >&6; }
2692 [\\/$]* | ?:[\\/]*) ;;
2693 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2696 for ac_prog in gawk mawk nawk awk
2698 # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy $ac_prog; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if test "${ac_cv_prog_AWK+set}" = set; then :
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$AWK"; then
2706 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_AWK="$ac_prog"
2716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 if test -n "$AWK"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2728 $as_echo "$AWK" >&6; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2735 test -n "$AWK" && break
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2739 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2741 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2742 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2743 $as_echo_n "(cached) " >&6
2745 cat >conftest.make <<\_ACEOF
2748 @echo '@@@%%%=$(MAKE)=@@@%%%'
2750 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2751 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2753 eval ac_cv_prog_make_${ac_make}_set=yes;;
2755 eval ac_cv_prog_make_${ac_make}_set=no;;
2759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761 $as_echo "yes" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2766 SET_MAKE="MAKE=${MAKE-make}"
2769 rm -rf .tst 2>/dev/null
2770 mkdir .tst 2>/dev/null
2771 if test -d .tst; then
2776 rmdir .tst 2>/dev/null
2778 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2779 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2780 # is not polluted with repeated "-I."
2781 am__isrc=' -I$(srcdir)'
2782 # test to see if srcdir already configured
2783 if test -f $srcdir/config.status; then
2784 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2788 # test whether we have cygpath
2789 if test -z "$CYGPATH_W"; then
2790 if (cygpath --version) >/dev/null 2>/dev/null; then
2791 CYGPATH_W='cygpath -w'
2798 # Define the identity of the package.
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE "$PACKAGE"
2808 cat >>confdefs.h <<_ACEOF
2809 #define VERSION "$VERSION"
2812 # Some tools Automake needs.
2814 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2817 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2820 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2823 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2826 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2828 # We need awk for the "check" target. The system "awk" is bad on
2830 # Always define AMTAR for backward compatibility.
2832 AMTAR=${AMTAR-"${am_missing_run}tar"}
2834 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2841 # Checks for programs.
2843 ac_cpp='$CPP $CPPFLAGS'
2844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2847 if test -n "$ac_tool_prefix"; then
2848 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2849 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if test "${ac_cv_prog_CC+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2855 if test -n "$CC"; then
2856 ac_cv_prog_CC="$CC" # Let the user override the test.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$CC"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2878 $as_echo "$CC" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2886 if test -z "$ac_cv_prog_CC"; then
2888 # Extract the first word of "gcc", so it can be a program name with args.
2889 set dummy gcc; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2893 $as_echo_n "(cached) " >&6
2895 if test -n "$ac_ct_CC"; then
2896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905 ac_cv_prog_ac_ct_CC="gcc"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2916 if test -n "$ac_ct_CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2918 $as_echo "$ac_ct_CC" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2924 if test "x$ac_ct_CC" = x; then
2927 case $cross_compiling:$ac_tool_warned in
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931 ac_tool_warned=yes ;;
2939 if test -z "$CC"; then
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2942 set dummy ${ac_tool_prefix}cc; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_CC+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC="$CC" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_CC="${ac_tool_prefix}cc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 if test -n "$CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2980 if test -z "$CC"; then
2981 # Extract the first word of "cc", so it can be a program name with args.
2982 set dummy cc; ac_word=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if test "${ac_cv_prog_CC+set}" = set; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$CC"; then
2989 ac_cv_prog_CC="$CC" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3000 ac_prog_rejected=yes
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 if test $ac_prog_rejected = yes; then
3012 # We found a bogon in the path, so make sure we never use it.
3013 set dummy $ac_cv_prog_CC
3015 if test $# != 0; then
3016 # We chose a different compiler from the bogus one.
3017 # However, it has the same basename, so the bogon will be chosen
3018 # first if we set CC to just the basename; use the full file name.
3020 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3026 if test -n "$CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3028 $as_echo "$CC" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3036 if test -z "$CC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 for ac_prog in cl.exe
3040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if test "${ac_cv_prog_CC+set}" = set; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$CC"; then
3048 ac_cv_prog_CC="$CC" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$CC"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 $as_echo "$CC" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3077 test -n "$CC" && break
3080 if test -z "$CC"; then
3082 for ac_prog in cl.exe
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$ac_ct_CC"; then
3092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CC="$ac_prog"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3112 if test -n "$ac_ct_CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3114 $as_echo "$ac_ct_CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3121 test -n "$ac_ct_CC" && break
3124 if test "x$ac_ct_CC" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3140 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error "no acceptable C compiler found in \$PATH
3143 See \`config.log' for more details." "$LINENO" 5; }
3145 # Provide some information about the compiler.
3146 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3149 for ac_option in --version -v -V -qversion; do
3150 { { ac_try="$ac_compiler $ac_option >&5"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3159 if test -s conftest.err; then
3161 ... rest of stderr output deleted ...
3162 10q' conftest.err >conftest.er1
3163 cat conftest.er1 >&5
3165 rm -f conftest.er1 conftest.err
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3181 ac_clean_files_save=$ac_clean_files
3182 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3183 # Try to create an executable without -o first, disregard a.out.
3184 # It will help us diagnose broken compilers, and finding out an intuition
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3187 $as_echo_n "checking whether the C compiler works... " >&6; }
3188 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3190 # The possible output files:
3191 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3194 for ac_file in $ac_files
3197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3198 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3203 if { { ac_try="$ac_link_default"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_link_default") 2>&5
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }; then :
3214 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3215 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3216 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3217 # so that the user can short-circuit this test for compilers unknown to
3219 for ac_file in $ac_files ''
3221 test -f "$ac_file" || continue
3223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3226 # We found the default executable, but exeext='' is most
3230 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3232 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 # We set ac_cv_exeext here because the later test for it is not
3235 # safe: cross compilers may not add the suffix if given an `-o'
3236 # argument, so we may need to know it at that point already.
3237 # Even if this section looks crufty: it has the advantage of
3244 test "$ac_cv_exeext" = no && ac_cv_exeext=
3249 if test -z "$ac_file"; then :
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3257 { as_fn_set_status 77
3258 as_fn_error "C compiler cannot create executables
3259 See \`config.log' for more details." "$LINENO" 5; }; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3262 $as_echo "yes" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3265 $as_echo_n "checking for C compiler default output file name... " >&6; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3267 $as_echo "$ac_file" >&6; }
3268 ac_exeext=$ac_cv_exeext
3270 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3271 ac_clean_files=$ac_clean_files_save
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3273 $as_echo_n "checking for suffix of executables... " >&6; }
3274 if { { ac_try="$ac_link"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_link") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }; then :
3285 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3286 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3287 # work properly (i.e., refer to `conftest.exe'), while it won't with
3289 for ac_file in conftest.exe conftest conftest.*; do
3290 test -f "$ac_file" || continue
3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3293 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error "cannot compute suffix of executables: cannot compile and link
3302 See \`config.log' for more details." "$LINENO" 5; }
3304 rm -f conftest conftest$ac_cv_exeext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3306 $as_echo "$ac_cv_exeext" >&6; }
3308 rm -f conftest.$ac_ext
3309 EXEEXT=$ac_cv_exeext
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3317 FILE *f = fopen ("conftest.out", "w");
3318 return ferror (f) || fclose (f) != 0;
3324 ac_clean_files="$ac_clean_files conftest.out"
3325 # Check that the compiler produces executables we can run. If not, either
3326 # the compiler is broken, or we cross compile.
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3328 $as_echo_n "checking whether we are cross compiling... " >&6; }
3329 if test "$cross_compiling" != yes; then
3330 { { ac_try="$ac_link"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }
3341 if { ac_try='./conftest$ac_cv_exeext'
3342 { { case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_try") 2>&5
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }; }; then
3354 if test "$cross_compiling" = maybe; then
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error "cannot run C compiled programs.
3360 If you meant to cross compile, use \`--host'.
3361 See \`config.log' for more details." "$LINENO" 5; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3366 $as_echo "$cross_compiling" >&6; }
3368 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3369 ac_clean_files=$ac_clean_files_save
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3371 $as_echo_n "checking for suffix of object files... " >&6; }
3372 if test "${ac_cv_objext+set}" = set; then :
3373 $as_echo_n "(cached) " >&6
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 rm -f conftest.o conftest.obj
3387 if { { ac_try="$ac_compile"
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_compile") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 for ac_file in conftest.o conftest.obj conftest.*; do
3399 test -f "$ac_file" || continue;
3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error "cannot compute suffix of object files: cannot compile
3413 See \`config.log' for more details." "$LINENO" 5; }
3415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3418 $as_echo "$ac_cv_objext" >&6; }
3419 OBJEXT=$ac_cv_objext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3422 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3423 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3440 if ac_fn_c_try_compile "$LINENO"; then :
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3450 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3451 if test $ac_compiler_gnu = yes; then
3456 ac_test_CFLAGS=${CFLAGS+set}
3457 ac_save_CFLAGS=$CFLAGS
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3460 if test "${ac_cv_prog_cc_g+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 ac_save_c_werror_flag=$ac_c_werror_flag
3464 ac_c_werror_flag=yes
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3478 if ac_fn_c_try_compile "$LINENO"; then :
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3496 ac_c_werror_flag=$ac_save_c_werror_flag
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3520 $as_echo "$ac_cv_prog_cc_g" >&6; }
3521 if test "$ac_test_CFLAGS" = set; then
3522 CFLAGS=$ac_save_CFLAGS
3523 elif test $ac_cv_prog_cc_g = yes; then
3524 if test "$GCC" = yes; then
3530 if test "$GCC" = yes; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3537 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3538 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3539 $as_echo_n "(cached) " >&6
3541 ac_cv_prog_cc_c89=no
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3563 s = g (p, va_arg (v,int));
3568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3569 function prototypes and stuff, but not '\xHH' hex character constants.
3570 These don't provoke an error unfortunately, instead are silently treated
3571 as 'x'. The following induces an error, until -std is added to get
3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3573 array size at least. It's necessary to write '\x00'==0 to get something
3574 that's true only with -std. */
3575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3578 inside strings and character constants. */
3580 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582 int test (int i, double x);
3583 struct s1 {int (*f) (int a);};
3584 struct s2 {int (*f) (double a);};
3585 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3591 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3597 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 CC="$ac_save_CC $ac_arg"
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_prog_cc_c89=$ac_arg
3603 rm -f core conftest.err conftest.$ac_objext
3604 test "x$ac_cv_prog_cc_c89" != "xno" && break
3606 rm -f conftest.$ac_ext
3611 case "x$ac_cv_prog_cc_c89" in
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3614 $as_echo "none needed" >&6; } ;;
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3617 $as_echo "unsupported" >&6; } ;;
3619 CC="$CC $ac_cv_prog_cc_c89"
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3621 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3623 if test "x$ac_cv_prog_cc_c89" != xno; then :
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 DEPDIR="${am__leading_dot}deps"
3634 ac_config_commands="$ac_config_commands depfiles"
3637 am_make=${MAKE-make}
3638 cat > confinc << 'END'
3640 @echo this is the am__doit target
3643 # If we don't find an include directive, just comment out the code.
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3645 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 # First try GNU make style include.
3650 echo "include confinc" > confmf
3651 # Ignore all kinds of additional output from `make'.
3652 case `$am_make -s -f confmf 2> /dev/null` in #(
3653 *the\ am__doit\ target*)
3659 # Now try BSD make style include.
3660 if test "$am__include" = "#"; then
3661 echo '.include "confinc"' > confmf
3662 case `$am_make -s -f confmf 2> /dev/null` in #(
3663 *the\ am__doit\ target*)
3664 am__include=.include
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3673 $as_echo "$_am_result" >&6; }
3674 rm -f confinc confmf
3676 # Check whether --enable-dependency-tracking was given.
3677 if test "${enable_dependency_tracking+set}" = set; then :
3678 enableval=$enable_dependency_tracking;
3681 if test "x$enable_dependency_tracking" != xno; then
3682 am_depcomp="$ac_aux_dir/depcomp"
3685 if test "x$enable_dependency_tracking" != xno; then
3695 depcc="$CC" am_compiler_list=
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698 $as_echo_n "checking dependency style of $depcc... " >&6; }
3699 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3703 # We make a subdir and do the tests there. Otherwise we can end up
3704 # making bogus files that we don't know about and never remove. For
3705 # instance it was reported that on HP-UX the gcc test will end up
3706 # making a dummy file named `D' -- because `-MD' means `put the output
3709 # Copy depcomp to subdir because otherwise we won't find it if we're
3710 # using a relative directory.
3711 cp "$am_depcomp" conftest.dir
3713 # We will build objects and dependencies in a subdirectory because
3714 # it helps to detect inapplicable dependency modes. For instance
3715 # both Tru64's cc and ICC support -MD to output dependencies as a
3716 # side effect of compilation, but ICC will put the dependencies in
3717 # the current directory while Tru64 will put them in the object
3721 am_cv_CC_dependencies_compiler_type=none
3722 if test "$am_compiler_list" = ""; then
3723 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3726 case " $depcc " in #(
3727 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3730 for depmode in $am_compiler_list; do
3731 # Setup a source with many dependencies, because some compilers
3732 # like to wrap large dependency lists on column 80 (with \), and
3733 # we should not choose a depcomp mode which is confused by this.
3735 # We need to recreate these files for each test, as the compiler may
3736 # overwrite some of them when testing with obscure command lines.
3737 # This happens at least with the AIX C compiler.
3739 for i in 1 2 3 4 5 6; do
3740 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3741 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3742 # Solaris 8's {/usr,}/bin/sh.
3743 touch sub/conftst$i.h
3745 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3748 # mode. It turns out that the SunPro C++ compiler does not properly
3749 # handle `-M -o', and we need to detect this. Also, some Intel
3750 # versions had trouble with output in subdirs
3751 am__obj=sub/conftest.${OBJEXT-o}
3752 am__minus_obj="-o $am__obj"
3755 # This depmode causes a compiler race in universal mode.
3756 test "$am__universal" = false || continue
3759 # after this tag, mechanisms are not by side-effect, so they'll
3760 # only be used when explicitly requested
3761 if test "x$enable_dependency_tracking" = xyes; then
3767 msvisualcpp | msvcmsys)
3768 # This compiler won't grok `-c -o', but also, the minuso test has
3769 # not run yet. These depmodes are late enough in the game, and
3770 # so weak that their functioning should not be impacted.
3771 am__obj=conftest.${OBJEXT-o}
3776 if depmode=$depmode \
3777 source=sub/conftest.c object=$am__obj \
3778 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3779 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3780 >/dev/null 2>conftest.err &&
3781 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3782 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3783 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3784 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3785 # icc doesn't choke on unknown options, it will just issue warnings
3786 # or remarks (even with -Werror). So we grep stderr for any message
3787 # that says an option was ignored or not supported.
3788 # When given -MP, icc 7.0 and 7.1 complain thusly:
3789 # icc: Command line warning: ignoring option '-M'; no argument required
3790 # The diagnosis changed in icc 8.0:
3791 # icc: Command line remark: option '-MP' not supported
3792 if (grep 'ignoring option' conftest.err ||
3793 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3794 am_cv_CC_dependencies_compiler_type=$depmode
3803 am_cv_CC_dependencies_compiler_type=none
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3808 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3809 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3812 test "x$enable_dependency_tracking" != xno \
3813 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3815 am__fastdepCC_FALSE='#'
3817 am__fastdepCC_TRUE='#'
3818 am__fastdepCC_FALSE=
3823 if test -n "$ac_tool_prefix"; then
3824 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3825 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -n "$RANLIB"; then
3832 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 RANLIB=$ac_cv_prog_RANLIB
3852 if test -n "$RANLIB"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3854 $as_echo "$RANLIB" >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3862 if test -z "$ac_cv_prog_RANLIB"; then
3863 ac_ct_RANLIB=$RANLIB
3864 # Extract the first word of "ranlib", so it can be a program name with args.
3865 set dummy ranlib; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 if test -n "$ac_ct_RANLIB"; then
3872 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881 ac_cv_prog_ac_ct_RANLIB="ranlib"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3892 if test -n "$ac_ct_RANLIB"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3894 $as_echo "$ac_ct_RANLIB" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3900 if test "x$ac_ct_RANLIB" = x; then
3903 case $cross_compiling:$ac_tool_warned in
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3907 ac_tool_warned=yes ;;
3909 RANLIB=$ac_ct_RANLIB
3912 RANLIB="$ac_cv_prog_RANLIB"
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3921 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3922 # On Suns, sometimes $CPP names a directory.
3923 if test -n "$CPP" && test -d "$CPP"; then
3926 if test -z "$CPP"; then
3927 if test "${ac_cv_prog_CPP+set}" = set; then :
3928 $as_echo_n "(cached) " >&6
3930 # Double quotes because CPP needs to be expanded
3931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3934 for ac_c_preproc_warn_flag in '' yes
3936 # Use a header file that comes with gcc, so configuring glibc
3937 # with a fresh cross-compiler works.
3938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3939 # <limits.h> exists even on freestanding compilers.
3940 # On the NeXT, cc -E runs the code through the compiler's parser,
3941 # not just through cpp. "Syntax error" is here to catch this case.
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3945 # include <limits.h>
3947 # include <assert.h>
3951 if ac_fn_c_try_cpp "$LINENO"; then :
3954 # Broken: fails on valid input.
3957 rm -f conftest.err conftest.$ac_ext
3959 # OK, works on sane cases. Now check whether nonexistent headers
3960 # can be detected and how.
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963 #include <ac_nonexistent.h>
3965 if ac_fn_c_try_cpp "$LINENO"; then :
3966 # Broken: success on invalid input.
3969 # Passes both tests.
3973 rm -f conftest.err conftest.$ac_ext
3976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3977 rm -f conftest.err conftest.$ac_ext
3978 if $ac_preproc_ok; then :
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3991 $as_echo "$CPP" >&6; }
3993 for ac_c_preproc_warn_flag in '' yes
3995 # Use a header file that comes with gcc, so configuring glibc
3996 # with a fresh cross-compiler works.
3997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998 # <limits.h> exists even on freestanding compilers.
3999 # On the NeXT, cc -E runs the code through the compiler's parser,
4000 # not just through cpp. "Syntax error" is here to catch this case.
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 # include <limits.h>
4006 # include <assert.h>
4010 if ac_fn_c_try_cpp "$LINENO"; then :
4013 # Broken: fails on valid input.
4016 rm -f conftest.err conftest.$ac_ext
4018 # OK, works on sane cases. Now check whether nonexistent headers
4019 # can be detected and how.
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <ac_nonexistent.h>
4024 if ac_fn_c_try_cpp "$LINENO"; then :
4025 # Broken: success on invalid input.
4028 # Passes both tests.
4032 rm -f conftest.err conftest.$ac_ext
4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036 rm -f conftest.err conftest.$ac_ext
4037 if $ac_preproc_ok; then :
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4043 See \`config.log' for more details." "$LINENO" 5; }
4047 ac_cpp='$CPP $CPPFLAGS'
4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4052 # Extract the first word of "ar", so it can be a program name with args.
4053 set dummy ar; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if test "${ac_cv_prog_AR+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if test -n "$AR"; then
4060 ac_cv_prog_AR="$AR" # Let the user override the test.
4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir=.
4067 for ac_exec_ext in '' $ac_executable_extensions; do
4068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
4081 if test -n "$AR"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4083 $as_echo "$AR" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4090 # Perl is needed for the test suite (only)
4091 # Extract the first word of "perl", so it can be a program name with args.
4092 set dummy perl; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if test "${ac_cv_prog_PERL+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$PERL"; then
4099 ac_cv_prog_PERL="$PERL" # Let the user override the test.
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_PERL="perl"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="perl"
4119 PERL=$ac_cv_prog_PERL
4120 if test -n "$PERL"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4122 $as_echo "$PERL" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4130 # Specialized system macros
4131 # Make sure we can run config.sub.
4132 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4133 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4136 $as_echo_n "checking build system type... " >&6; }
4137 if test "${ac_cv_build+set}" = set; then :
4138 $as_echo_n "(cached) " >&6
4140 ac_build_alias=$build_alias
4141 test "x$ac_build_alias" = x &&
4142 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4143 test "x$ac_build_alias" = x &&
4144 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4145 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4146 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4150 $as_echo "$ac_cv_build" >&6; }
4151 case $ac_cv_build in
4153 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4156 ac_save_IFS=$IFS; IFS='-'
4162 # Remember, the first character of IFS is used to create $*,
4163 # except with old shells:
4166 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4170 $as_echo_n "checking host system type... " >&6; }
4171 if test "${ac_cv_host+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4174 if test "x$host_alias" = x; then
4175 ac_cv_host=$ac_cv_build
4177 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4178 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4183 $as_echo "$ac_cv_host" >&6; }
4186 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4189 ac_save_IFS=$IFS; IFS='-'
4195 # Remember, the first character of IFS is used to create $*,
4196 # except with old shells:
4199 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4205 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4206 if test "${ac_cv_path_GREP+set}" = set; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -z "$GREP"; then
4210 ac_path_GREP_found=false
4211 # Loop through the user's path and test for each of PROGNAME-LIST
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4216 test -z "$as_dir" && as_dir=.
4217 for ac_prog in grep ggrep; do
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4220 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4221 # Check for GNU ac_path_GREP and select it if it is found.
4222 # Check for GNU $ac_path_GREP
4223 case `"$ac_path_GREP" --version 2>&1` in
4225 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4228 $as_echo_n 0123456789 >"conftest.in"
4231 cat "conftest.in" "conftest.in" >"conftest.tmp"
4232 mv "conftest.tmp" "conftest.in"
4233 cp "conftest.in" "conftest.nl"
4234 $as_echo 'GREP' >> "conftest.nl"
4235 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4236 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4237 as_fn_arith $ac_count + 1 && ac_count=$as_val
4238 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4239 # Best one so far, save it but keep looking for a better one
4240 ac_cv_path_GREP="$ac_path_GREP"
4241 ac_path_GREP_max=$ac_count
4243 # 10*(2^10) chars as input seems more than enough
4244 test $ac_count -gt 10 && break
4246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4249 $ac_path_GREP_found && break 3
4254 if test -z "$ac_cv_path_GREP"; then
4255 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4258 ac_cv_path_GREP=$GREP
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4263 $as_echo "$ac_cv_path_GREP" >&6; }
4264 GREP="$ac_cv_path_GREP"
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4268 $as_echo_n "checking for egrep... " >&6; }
4269 if test "${ac_cv_path_EGREP+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4273 then ac_cv_path_EGREP="$GREP -E"
4275 if test -z "$EGREP"; then
4276 ac_path_EGREP_found=false
4277 # Loop through the user's path and test for each of PROGNAME-LIST
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4282 test -z "$as_dir" && as_dir=.
4283 for ac_prog in egrep; do
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4286 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4287 # Check for GNU ac_path_EGREP and select it if it is found.
4288 # Check for GNU $ac_path_EGREP
4289 case `"$ac_path_EGREP" --version 2>&1` in
4291 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4294 $as_echo_n 0123456789 >"conftest.in"
4297 cat "conftest.in" "conftest.in" >"conftest.tmp"
4298 mv "conftest.tmp" "conftest.in"
4299 cp "conftest.in" "conftest.nl"
4300 $as_echo 'EGREP' >> "conftest.nl"
4301 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4302 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4303 as_fn_arith $ac_count + 1 && ac_count=$as_val
4304 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4305 # Best one so far, save it but keep looking for a better one
4306 ac_cv_path_EGREP="$ac_path_EGREP"
4307 ac_path_EGREP_max=$ac_count
4309 # 10*(2^10) chars as input seems more than enough
4310 test $ac_count -gt 10 && break
4312 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4315 $ac_path_EGREP_found && break 3
4320 if test -z "$ac_cv_path_EGREP"; then
4321 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4324 ac_cv_path_EGREP=$EGREP
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4330 $as_echo "$ac_cv_path_EGREP" >&6; }
4331 EGREP="$ac_cv_path_EGREP"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4335 $as_echo_n "checking for ANSI C header files... " >&6; }
4336 if test "${ac_cv_header_stdc+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_header_stdc=yes
4357 ac_cv_header_stdc=no
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361 if test $ac_cv_header_stdc = yes; then
4362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4369 $EGREP "memchr" >/dev/null 2>&1; then :
4372 ac_cv_header_stdc=no
4378 if test $ac_cv_header_stdc = yes; then
4379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4386 $EGREP "free" >/dev/null 2>&1; then :
4389 ac_cv_header_stdc=no
4395 if test $ac_cv_header_stdc = yes; then
4396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4397 if test "$cross_compiling" = yes; then :
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4404 #if ((' ' & 0x0FF) == 0x020)
4405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4408 # define ISLOWER(c) \
4409 (('a' <= (c) && (c) <= 'i') \
4410 || ('j' <= (c) && (c) <= 'r') \
4411 || ('s' <= (c) && (c) <= 'z'))
4412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4420 for (i = 0; i < 256; i++)
4421 if (XOR (islower (i), ISLOWER (i))
4422 || toupper (i) != TOUPPER (i))
4427 if ac_fn_c_try_run "$LINENO"; then :
4430 ac_cv_header_stdc=no
4432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4433 conftest.$ac_objext conftest.beam conftest.$ac_ext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4439 $as_echo "$ac_cv_header_stdc" >&6; }
4440 if test $ac_cv_header_stdc = yes; then
4442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4447 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4448 inttypes.h stdint.h unistd.h
4450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4453 eval as_val=\$$as_ac_Header
4454 if test "x$as_val" = x""yes; then :
4455 cat >>confdefs.h <<_ACEOF
4456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4465 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4466 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4473 if test "$MINIX" = yes; then
4475 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4478 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4481 $as_echo "#define _MINIX 1" >>confdefs.h
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4487 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4488 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4489 $as_echo_n "(cached) " >&6
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4494 # define __EXTENSIONS__ 1
4495 $ac_includes_default
4504 if ac_fn_c_try_compile "$LINENO"; then :
4505 ac_cv_safe_to_define___extensions__=yes
4507 ac_cv_safe_to_define___extensions__=no
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4512 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4513 test $ac_cv_safe_to_define___extensions__ = yes &&
4514 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4516 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4518 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4520 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4522 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
4528 $as_echo_n "checking for strerror in -lcposix... " >&6; }
4529 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
4532 ac_check_lib_save_LIBS=$LIBS
4533 LIBS="-lcposix $LIBS"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4552 if ac_fn_c_try_link "$LINENO"; then :
4553 ac_cv_lib_cposix_strerror=yes
4555 ac_cv_lib_cposix_strerror=no
4557 rm -f core conftest.err conftest.$ac_objext \
4558 conftest$ac_exeext conftest.$ac_ext
4559 LIBS=$ac_check_lib_save_LIBS
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
4562 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
4563 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
4564 LIBS="$LIBS -lcposix"
4571 # Enable gettext, in "external" mode.
4576 if test -n "$ac_aux_dir"; then
4577 case "$ac_aux_dir" in
4578 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
4579 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4582 if test -z "$MKINSTALLDIRS"; then
4583 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4589 $as_echo_n "checking whether NLS is requested... " >&6; }
4590 # Check whether --enable-nls was given.
4591 if test "${enable_nls+set}" = set; then :
4592 enableval=$enable_nls; USE_NLS=$enableval
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4598 $as_echo "$USE_NLS" >&6; }
4605 # Prepare PATH_SEPARATOR.
4606 # The user is always right.
4607 if test "${PATH_SEPARATOR+set}" != set; then
4608 echo "#! /bin/sh" >conf$$.sh
4609 echo "exit 0" >>conf$$.sh
4611 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4619 # Find out how to test for executable files. Don't use a zero-byte file,
4620 # as systems may use methods other than mode bits to determine executability.
4621 cat >conf$$.file <<_ASEOF
4625 chmod +x conf$$.file
4626 if test -x conf$$.file >/dev/null 2>&1; then
4627 ac_executable_p="test -x"
4629 ac_executable_p="test -f"
4633 # Extract the first word of "msgfmt", so it can be a program name with args.
4634 set dummy msgfmt; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4642 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4645 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4646 for ac_dir in $PATH; do
4648 test -z "$ac_dir" && ac_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4651 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4652 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4653 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4660 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4664 MSGFMT="$ac_cv_path_MSGFMT"
4665 if test "$MSGFMT" != ":"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4667 $as_echo "$MSGFMT" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4673 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4674 set dummy gmsgfmt; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4682 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4704 GMSGFMT=$ac_cv_path_GMSGFMT
4705 if test -n "$GMSGFMT"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4707 $as_echo "$GMSGFMT" >&6; }
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4716 # Prepare PATH_SEPARATOR.
4717 # The user is always right.
4718 if test "${PATH_SEPARATOR+set}" != set; then
4719 echo "#! /bin/sh" >conf$$.sh
4720 echo "exit 0" >>conf$$.sh
4722 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4730 # Find out how to test for executable files. Don't use a zero-byte file,
4731 # as systems may use methods other than mode bits to determine executability.
4732 cat >conf$$.file <<_ASEOF
4736 chmod +x conf$$.file
4737 if test -x conf$$.file >/dev/null 2>&1; then
4738 ac_executable_p="test -x"
4740 ac_executable_p="test -f"
4744 # Extract the first word of "xgettext", so it can be a program name with args.
4745 set dummy xgettext; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4753 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4756 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4757 for ac_dir in $PATH; do
4759 test -z "$ac_dir" && ac_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4762 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4763 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4764 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4771 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4775 XGETTEXT="$ac_cv_path_XGETTEXT"
4776 if test "$XGETTEXT" != ":"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4778 $as_echo "$XGETTEXT" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4787 # Prepare PATH_SEPARATOR.
4788 # The user is always right.
4789 if test "${PATH_SEPARATOR+set}" != set; then
4790 echo "#! /bin/sh" >conf$$.sh
4791 echo "exit 0" >>conf$$.sh
4793 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4801 # Find out how to test for executable files. Don't use a zero-byte file,
4802 # as systems may use methods other than mode bits to determine executability.
4803 cat >conf$$.file <<_ASEOF
4807 chmod +x conf$$.file
4808 if test -x conf$$.file >/dev/null 2>&1; then
4809 ac_executable_p="test -x"
4811 ac_executable_p="test -f"
4815 # Extract the first word of "msgmerge", so it can be a program name with args.
4816 set dummy msgmerge; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4820 $as_echo_n "(cached) " >&6
4824 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4827 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4828 for ac_dir in $PATH; do
4830 test -z "$ac_dir" && ac_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4833 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4834 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4841 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4845 MSGMERGE="$ac_cv_path_MSGMERGE"
4846 if test "$MSGMERGE" != ":"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4848 $as_echo "$MSGMERGE" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 if test "$GMSGFMT" != ":"; then
4856 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4857 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4860 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4862 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4867 if test "$XGETTEXT" != ":"; then
4868 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4869 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4873 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4879 ac_config_commands="$ac_config_commands default-1"
4883 if test "X$prefix" = "XNONE"; then
4884 acl_final_prefix="$ac_default_prefix"
4886 acl_final_prefix="$prefix"
4888 if test "X$exec_prefix" = "XNONE"; then
4889 acl_final_exec_prefix='${prefix}'
4891 acl_final_exec_prefix="$exec_prefix"
4893 acl_save_prefix="$prefix"
4894 prefix="$acl_final_prefix"
4895 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4896 prefix="$acl_save_prefix"
4899 # Check whether --with-gnu-ld was given.
4900 if test "${with_gnu_ld+set}" = set; then :
4901 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4906 # Prepare PATH_SEPARATOR.
4907 # The user is always right.
4908 if test "${PATH_SEPARATOR+set}" != set; then
4909 echo "#! /bin/sh" >conf$$.sh
4910 echo "exit 0" >>conf$$.sh
4912 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4920 if test "$GCC" = yes; then
4921 # Check if gcc -print-prog-name=ld gives a path.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4923 $as_echo_n "checking for ld used by GCC... " >&6; }
4926 # gcc leaves a trailing carriage return which upsets mingw
4927 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4929 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4932 # Accept absolute paths.
4933 [\\/]* | [A-Za-z]:[\\/]*)
4934 re_direlt='/[^/][^/]*/\.\./'
4935 # Canonicalize the path of ld
4936 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4937 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4938 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4940 test -z "$LD" && LD="$ac_prog"
4943 # If it fails, then pretend we aren't using GCC.
4947 # If it is relative, then search for the first ld in PATH.
4951 elif test "$with_gnu_ld" = yes; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4953 $as_echo_n "checking for GNU ld... " >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4956 $as_echo_n "checking for non-GNU ld... " >&6; }
4958 if test "${acl_cv_path_LD+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -z "$LD"; then
4962 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4963 for ac_dir in $PATH; do
4964 test -z "$ac_dir" && ac_dir=.
4965 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4966 acl_cv_path_LD="$ac_dir/$ac_prog"
4967 # Check to see if the program is GNU ld. I'd rather use --version,
4968 # but apparently some GNU ld's only accept -v.
4969 # Break only if it was the GNU/non-GNU ld that we prefer.
4970 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4971 *GNU* | *'with BFD'*)
4972 test "$with_gnu_ld" != no && break ;;
4974 test "$with_gnu_ld" != yes && break ;;
4980 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4984 LD="$acl_cv_path_LD"
4985 if test -n "$LD"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4987 $as_echo "$LD" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4992 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4994 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4995 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4999 case `$LD -v 2>&1 </dev/null` in
5000 *GNU* | *'with BFD'*)
5001 acl_cv_prog_gnu_ld=yes ;;
5003 acl_cv_prog_gnu_ld=no ;;
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5007 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5008 with_gnu_ld=$acl_cv_prog_gnu_ld
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5013 $as_echo_n "checking for shared library run path origin... " >&6; }
5014 if test "${acl_cv_rpath+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5018 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5019 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5026 $as_echo "$acl_cv_rpath" >&6; }
5028 libext="$acl_cv_libext"
5029 shlibext="$acl_cv_shlibext"
5030 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5031 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5032 hardcode_direct="$acl_cv_hardcode_direct"
5033 hardcode_minus_L="$acl_cv_hardcode_minus_L"
5034 # Check whether --enable-rpath was given.
5035 if test "${enable_rpath+set}" = set; then :
5036 enableval=$enable_rpath; :
5050 acl_save_prefix="$prefix"
5051 prefix="$acl_final_prefix"
5052 acl_save_exec_prefix="$exec_prefix"
5053 exec_prefix="$acl_final_exec_prefix"
5055 eval additional_includedir=\"$includedir\"
5056 eval additional_libdir=\"$libdir\"
5058 exec_prefix="$acl_save_exec_prefix"
5059 prefix="$acl_save_prefix"
5062 # Check whether --with-libiconv-prefix was given.
5063 if test "${with_libiconv_prefix+set}" = set; then :
5064 withval=$with_libiconv_prefix;
5065 if test "X$withval" = "Xno"; then
5068 if test "X$withval" = "X"; then
5070 acl_save_prefix="$prefix"
5071 prefix="$acl_final_prefix"
5072 acl_save_exec_prefix="$exec_prefix"
5073 exec_prefix="$acl_final_exec_prefix"
5075 eval additional_includedir=\"$includedir\"
5076 eval additional_libdir=\"$libdir\"
5078 exec_prefix="$acl_save_exec_prefix"
5079 prefix="$acl_save_prefix"
5082 additional_includedir="$withval/include"
5083 additional_libdir="$withval/lib"
5094 names_already_handled=
5095 names_next_round='iconv '
5096 while test -n "$names_next_round"; do
5097 names_this_round="$names_next_round"
5099 for name in $names_this_round; do
5101 for n in $names_already_handled; do
5102 if test "$n" = "$name"; then
5107 if test -z "$already_handled"; then
5108 names_already_handled="$names_already_handled $name"
5109 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5110 eval value=\"\$HAVE_LIB$uppername\"
5111 if test -n "$value"; then
5112 if test "$value" = yes; then
5113 eval value=\"\$LIB$uppername\"
5114 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5115 eval value=\"\$LTLIB$uppername\"
5116 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5125 if test $use_additional = yes; then
5126 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5127 found_dir="$additional_libdir"
5128 found_so="$additional_libdir/lib$name.$shlibext"
5129 if test -f "$additional_libdir/lib$name.la"; then
5130 found_la="$additional_libdir/lib$name.la"
5133 if test -f "$additional_libdir/lib$name.$libext"; then
5134 found_dir="$additional_libdir"
5135 found_a="$additional_libdir/lib$name.$libext"
5136 if test -f "$additional_libdir/lib$name.la"; then
5137 found_la="$additional_libdir/lib$name.la"
5142 if test "X$found_dir" = "X"; then
5143 for x in $LDFLAGS $LTLIBICONV; do
5145 acl_save_prefix="$prefix"
5146 prefix="$acl_final_prefix"
5147 acl_save_exec_prefix="$exec_prefix"
5148 exec_prefix="$acl_final_exec_prefix"
5150 exec_prefix="$acl_save_exec_prefix"
5151 prefix="$acl_save_prefix"
5155 dir=`echo "X$x" | sed -e 's/^X-L//'`
5156 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5158 found_so="$dir/lib$name.$shlibext"
5159 if test -f "$dir/lib$name.la"; then
5160 found_la="$dir/lib$name.la"
5163 if test -f "$dir/lib$name.$libext"; then
5165 found_a="$dir/lib$name.$libext"
5166 if test -f "$dir/lib$name.la"; then
5167 found_la="$dir/lib$name.la"
5173 if test "X$found_dir" != "X"; then
5178 if test "X$found_dir" != "X"; then
5179 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5180 if test "X$found_so" != "X"; then
5181 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5182 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5185 for x in $ltrpathdirs; do
5186 if test "X$x" = "X$found_dir"; then
5191 if test -z "$haveit"; then
5192 ltrpathdirs="$ltrpathdirs $found_dir"
5194 if test "$hardcode_direct" = yes; then
5195 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5197 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5198 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5200 for x in $rpathdirs; do
5201 if test "X$x" = "X$found_dir"; then
5206 if test -z "$haveit"; then
5207 rpathdirs="$rpathdirs $found_dir"
5211 for x in $LDFLAGS $LIBICONV; do
5213 acl_save_prefix="$prefix"
5214 prefix="$acl_final_prefix"
5215 acl_save_exec_prefix="$exec_prefix"
5216 exec_prefix="$acl_final_exec_prefix"
5218 exec_prefix="$acl_save_exec_prefix"
5219 prefix="$acl_save_prefix"
5221 if test "X$x" = "X-L$found_dir"; then
5226 if test -z "$haveit"; then
5227 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5229 if test "$hardcode_minus_L" != no; then
5230 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5232 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5238 if test "X$found_a" != "X"; then
5239 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5241 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5244 additional_includedir=
5245 case "$found_dir" in
5247 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5248 additional_includedir="$basedir/include"
5251 if test "X$additional_includedir" != "X"; then
5252 if test "X$additional_includedir" != "X/usr/include"; then
5254 if test "X$additional_includedir" = "X/usr/local/include"; then
5255 if test -n "$GCC"; then
5257 linux*) haveit=yes;;
5261 if test -z "$haveit"; then
5262 for x in $CPPFLAGS $INCICONV; do
5264 acl_save_prefix="$prefix"
5265 prefix="$acl_final_prefix"
5266 acl_save_exec_prefix="$exec_prefix"
5267 exec_prefix="$acl_final_exec_prefix"
5269 exec_prefix="$acl_save_exec_prefix"
5270 prefix="$acl_save_prefix"
5272 if test "X$x" = "X-I$additional_includedir"; then
5277 if test -z "$haveit"; then
5278 if test -d "$additional_includedir"; then
5279 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5285 if test -n "$found_la"; then
5286 save_libdir="$libdir"
5288 */* | *\\*) . "$found_la" ;;
5289 *) . "./$found_la" ;;
5291 libdir="$save_libdir"
5292 for dep in $dependency_libs; do
5295 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5296 if test "X$additional_libdir" != "X/usr/lib"; then
5298 if test "X$additional_libdir" = "X/usr/local/lib"; then
5299 if test -n "$GCC"; then
5301 linux*) haveit=yes;;
5305 if test -z "$haveit"; then
5307 for x in $LDFLAGS $LIBICONV; do
5309 acl_save_prefix="$prefix"
5310 prefix="$acl_final_prefix"
5311 acl_save_exec_prefix="$exec_prefix"
5312 exec_prefix="$acl_final_exec_prefix"
5314 exec_prefix="$acl_save_exec_prefix"
5315 prefix="$acl_save_prefix"
5317 if test "X$x" = "X-L$additional_libdir"; then
5322 if test -z "$haveit"; then
5323 if test -d "$additional_libdir"; then
5324 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5328 for x in $LDFLAGS $LTLIBICONV; do
5330 acl_save_prefix="$prefix"
5331 prefix="$acl_final_prefix"
5332 acl_save_exec_prefix="$exec_prefix"
5333 exec_prefix="$acl_final_exec_prefix"
5335 exec_prefix="$acl_save_exec_prefix"
5336 prefix="$acl_save_prefix"
5338 if test "X$x" = "X-L$additional_libdir"; then
5343 if test -z "$haveit"; then
5344 if test -d "$additional_libdir"; then
5345 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5352 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5353 if test "$enable_rpath" != no; then
5355 for x in $rpathdirs; do
5356 if test "X$x" = "X$dir"; then
5361 if test -z "$haveit"; then
5362 rpathdirs="$rpathdirs $dir"
5365 for x in $ltrpathdirs; do
5366 if test "X$x" = "X$dir"; then
5371 if test -z "$haveit"; then
5372 ltrpathdirs="$ltrpathdirs $dir"
5377 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5380 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5383 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5384 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5390 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5391 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5397 if test "X$rpathdirs" != "X"; then
5398 if test -n "$hardcode_libdir_separator"; then
5400 for found_dir in $rpathdirs; do
5401 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5403 acl_save_libdir="$libdir"
5405 eval flag=\"$hardcode_libdir_flag_spec\"
5406 libdir="$acl_save_libdir"
5407 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5409 for found_dir in $rpathdirs; do
5410 acl_save_libdir="$libdir"
5412 eval flag=\"$hardcode_libdir_flag_spec\"
5413 libdir="$acl_save_libdir"
5414 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5418 if test "X$ltrpathdirs" != "X"; then
5419 for found_dir in $ltrpathdirs; do
5420 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5442 $as_echo_n "checking whether NLS is requested... " >&6; }
5443 # Check whether --enable-nls was given.
5444 if test "${enable_nls+set}" = set; then :
5445 enableval=$enable_nls; USE_NLS=$enableval
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5451 $as_echo "$USE_NLS" >&6; }
5460 if test "$USE_NLS" = "yes"; then
5461 gt_use_preinstalled_gnugettext=no
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5469 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5470 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5475 #include <libintl.h>
5476 extern int _nl_msg_cat_cntr;
5477 extern int *_nl_domain_bindings;
5481 bindtextdomain ("", "");
5482 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5487 if ac_fn_c_try_link "$LINENO"; then :
5488 gt_cv_func_gnugettext1_libc=yes
5490 gt_cv_func_gnugettext1_libc=no
5492 rm -f core conftest.err conftest.$ac_objext \
5493 conftest$ac_exeext conftest.$ac_ext
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
5496 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
5498 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5504 am_save_CPPFLAGS="$CPPFLAGS"
5506 for element in $INCICONV; do
5508 for x in $CPPFLAGS; do
5510 acl_save_prefix="$prefix"
5511 prefix="$acl_final_prefix"
5512 acl_save_exec_prefix="$exec_prefix"
5513 exec_prefix="$acl_final_exec_prefix"
5515 exec_prefix="$acl_save_exec_prefix"
5516 prefix="$acl_save_prefix"
5518 if test "X$x" = "X$element"; then
5523 if test -z "$haveit"; then
5524 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5530 $as_echo_n "checking for iconv... " >&6; }
5531 if test "${am_cv_func_iconv+set}" = set; then :
5532 $as_echo_n "(cached) " >&6
5535 am_cv_func_iconv="no, consider installing GNU libiconv"
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5544 iconv_t cd = iconv_open("","");
5545 iconv(cd,NULL,NULL,NULL,NULL);
5551 if ac_fn_c_try_link "$LINENO"; then :
5552 am_cv_func_iconv=yes
5554 rm -f core conftest.err conftest.$ac_objext \
5555 conftest$ac_exeext conftest.$ac_ext
5556 if test "$am_cv_func_iconv" != yes; then
5557 am_save_LIBS="$LIBS"
5558 LIBS="$LIBS $LIBICONV"
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5566 iconv_t cd = iconv_open("","");
5567 iconv(cd,NULL,NULL,NULL,NULL);
5573 if ac_fn_c_try_link "$LINENO"; then :
5575 am_cv_func_iconv=yes
5577 rm -f core conftest.err conftest.$ac_objext \
5578 conftest$ac_exeext conftest.$ac_ext
5579 LIBS="$am_save_LIBS"
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5584 $as_echo "$am_cv_func_iconv" >&6; }
5585 if test "$am_cv_func_iconv" = yes; then
5587 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5590 if test "$am_cv_lib_iconv" = yes; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5592 $as_echo_n "checking how to link with libiconv... " >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5594 $as_echo "$LIBICONV" >&6; }
5596 CPPFLAGS="$am_save_CPPFLAGS"
5608 acl_save_prefix="$prefix"
5609 prefix="$acl_final_prefix"
5610 acl_save_exec_prefix="$exec_prefix"
5611 exec_prefix="$acl_final_exec_prefix"
5613 eval additional_includedir=\"$includedir\"
5614 eval additional_libdir=\"$libdir\"
5616 exec_prefix="$acl_save_exec_prefix"
5617 prefix="$acl_save_prefix"
5620 # Check whether --with-libintl-prefix was given.
5621 if test "${with_libintl_prefix+set}" = set; then :
5622 withval=$with_libintl_prefix;
5623 if test "X$withval" = "Xno"; then
5626 if test "X$withval" = "X"; then
5628 acl_save_prefix="$prefix"
5629 prefix="$acl_final_prefix"
5630 acl_save_exec_prefix="$exec_prefix"
5631 exec_prefix="$acl_final_exec_prefix"
5633 eval additional_includedir=\"$includedir\"
5634 eval additional_libdir=\"$libdir\"
5636 exec_prefix="$acl_save_exec_prefix"
5637 prefix="$acl_save_prefix"
5640 additional_includedir="$withval/include"
5641 additional_libdir="$withval/lib"
5652 names_already_handled=
5653 names_next_round='intl '
5654 while test -n "$names_next_round"; do
5655 names_this_round="$names_next_round"
5657 for name in $names_this_round; do
5659 for n in $names_already_handled; do
5660 if test "$n" = "$name"; then
5665 if test -z "$already_handled"; then
5666 names_already_handled="$names_already_handled $name"
5667 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5668 eval value=\"\$HAVE_LIB$uppername\"
5669 if test -n "$value"; then
5670 if test "$value" = yes; then
5671 eval value=\"\$LIB$uppername\"
5672 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5673 eval value=\"\$LTLIB$uppername\"
5674 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5683 if test $use_additional = yes; then
5684 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5685 found_dir="$additional_libdir"
5686 found_so="$additional_libdir/lib$name.$shlibext"
5687 if test -f "$additional_libdir/lib$name.la"; then
5688 found_la="$additional_libdir/lib$name.la"
5691 if test -f "$additional_libdir/lib$name.$libext"; then
5692 found_dir="$additional_libdir"
5693 found_a="$additional_libdir/lib$name.$libext"
5694 if test -f "$additional_libdir/lib$name.la"; then
5695 found_la="$additional_libdir/lib$name.la"
5700 if test "X$found_dir" = "X"; then
5701 for x in $LDFLAGS $LTLIBINTL; do
5703 acl_save_prefix="$prefix"
5704 prefix="$acl_final_prefix"
5705 acl_save_exec_prefix="$exec_prefix"
5706 exec_prefix="$acl_final_exec_prefix"
5708 exec_prefix="$acl_save_exec_prefix"
5709 prefix="$acl_save_prefix"
5713 dir=`echo "X$x" | sed -e 's/^X-L//'`
5714 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5716 found_so="$dir/lib$name.$shlibext"
5717 if test -f "$dir/lib$name.la"; then
5718 found_la="$dir/lib$name.la"
5721 if test -f "$dir/lib$name.$libext"; then
5723 found_a="$dir/lib$name.$libext"
5724 if test -f "$dir/lib$name.la"; then
5725 found_la="$dir/lib$name.la"
5731 if test "X$found_dir" != "X"; then
5736 if test "X$found_dir" != "X"; then
5737 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5738 if test "X$found_so" != "X"; then
5739 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5740 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5743 for x in $ltrpathdirs; do
5744 if test "X$x" = "X$found_dir"; then
5749 if test -z "$haveit"; then
5750 ltrpathdirs="$ltrpathdirs $found_dir"
5752 if test "$hardcode_direct" = yes; then
5753 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5755 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5756 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5758 for x in $rpathdirs; do
5759 if test "X$x" = "X$found_dir"; then
5764 if test -z "$haveit"; then
5765 rpathdirs="$rpathdirs $found_dir"
5769 for x in $LDFLAGS $LIBINTL; do
5771 acl_save_prefix="$prefix"
5772 prefix="$acl_final_prefix"
5773 acl_save_exec_prefix="$exec_prefix"
5774 exec_prefix="$acl_final_exec_prefix"
5776 exec_prefix="$acl_save_exec_prefix"
5777 prefix="$acl_save_prefix"
5779 if test "X$x" = "X-L$found_dir"; then
5784 if test -z "$haveit"; then
5785 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5787 if test "$hardcode_minus_L" != no; then
5788 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5790 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5796 if test "X$found_a" != "X"; then
5797 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5799 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5802 additional_includedir=
5803 case "$found_dir" in
5805 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5806 additional_includedir="$basedir/include"
5809 if test "X$additional_includedir" != "X"; then
5810 if test "X$additional_includedir" != "X/usr/include"; then
5812 if test "X$additional_includedir" = "X/usr/local/include"; then
5813 if test -n "$GCC"; then
5815 linux*) haveit=yes;;
5819 if test -z "$haveit"; then
5820 for x in $CPPFLAGS $INCINTL; do
5822 acl_save_prefix="$prefix"
5823 prefix="$acl_final_prefix"
5824 acl_save_exec_prefix="$exec_prefix"
5825 exec_prefix="$acl_final_exec_prefix"
5827 exec_prefix="$acl_save_exec_prefix"
5828 prefix="$acl_save_prefix"
5830 if test "X$x" = "X-I$additional_includedir"; then
5835 if test -z "$haveit"; then
5836 if test -d "$additional_includedir"; then
5837 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5843 if test -n "$found_la"; then
5844 save_libdir="$libdir"
5846 */* | *\\*) . "$found_la" ;;
5847 *) . "./$found_la" ;;
5849 libdir="$save_libdir"
5850 for dep in $dependency_libs; do
5853 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5854 if test "X$additional_libdir" != "X/usr/lib"; then
5856 if test "X$additional_libdir" = "X/usr/local/lib"; then
5857 if test -n "$GCC"; then
5859 linux*) haveit=yes;;
5863 if test -z "$haveit"; then
5865 for x in $LDFLAGS $LIBINTL; do
5867 acl_save_prefix="$prefix"
5868 prefix="$acl_final_prefix"
5869 acl_save_exec_prefix="$exec_prefix"
5870 exec_prefix="$acl_final_exec_prefix"
5872 exec_prefix="$acl_save_exec_prefix"
5873 prefix="$acl_save_prefix"
5875 if test "X$x" = "X-L$additional_libdir"; then
5880 if test -z "$haveit"; then
5881 if test -d "$additional_libdir"; then
5882 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5886 for x in $LDFLAGS $LTLIBINTL; do
5888 acl_save_prefix="$prefix"
5889 prefix="$acl_final_prefix"
5890 acl_save_exec_prefix="$exec_prefix"
5891 exec_prefix="$acl_final_exec_prefix"
5893 exec_prefix="$acl_save_exec_prefix"
5894 prefix="$acl_save_prefix"
5896 if test "X$x" = "X-L$additional_libdir"; then
5901 if test -z "$haveit"; then
5902 if test -d "$additional_libdir"; then
5903 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5910 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5911 if test "$enable_rpath" != no; then
5913 for x in $rpathdirs; do
5914 if test "X$x" = "X$dir"; then
5919 if test -z "$haveit"; then
5920 rpathdirs="$rpathdirs $dir"
5923 for x in $ltrpathdirs; do
5924 if test "X$x" = "X$dir"; then
5929 if test -z "$haveit"; then
5930 ltrpathdirs="$ltrpathdirs $dir"
5935 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5938 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5941 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5942 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5948 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5949 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5955 if test "X$rpathdirs" != "X"; then
5956 if test -n "$hardcode_libdir_separator"; then
5958 for found_dir in $rpathdirs; do
5959 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5961 acl_save_libdir="$libdir"
5963 eval flag=\"$hardcode_libdir_flag_spec\"
5964 libdir="$acl_save_libdir"
5965 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5967 for found_dir in $rpathdirs; do
5968 acl_save_libdir="$libdir"
5970 eval flag=\"$hardcode_libdir_flag_spec\"
5971 libdir="$acl_save_libdir"
5972 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5976 if test "X$ltrpathdirs" != "X"; then
5977 for found_dir in $ltrpathdirs; do
5978 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5983 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
5984 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
5985 $as_echo_n "(cached) " >&6
5987 gt_save_CPPFLAGS="$CPPFLAGS"
5988 CPPFLAGS="$CPPFLAGS $INCINTL"
5989 gt_save_LIBS="$LIBS"
5990 LIBS="$LIBS $LIBINTL"
5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993 #include <libintl.h>
5994 extern int _nl_msg_cat_cntr;
5999 const char *_nl_expand_alias ();
6003 bindtextdomain ("", "");
6004 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6009 if ac_fn_c_try_link "$LINENO"; then :
6010 gt_cv_func_gnugettext1_libintl=yes
6012 gt_cv_func_gnugettext1_libintl=no
6014 rm -f core conftest.err conftest.$ac_objext \
6015 conftest$ac_exeext conftest.$ac_ext
6016 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6017 LIBS="$LIBS $LIBICONV"
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #include <libintl.h>
6021 extern int _nl_msg_cat_cntr;
6026 const char *_nl_expand_alias ();
6030 bindtextdomain ("", "");
6031 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6036 if ac_fn_c_try_link "$LINENO"; then :
6037 LIBINTL="$LIBINTL $LIBICONV"
6038 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6039 gt_cv_func_gnugettext1_libintl=yes
6042 rm -f core conftest.err conftest.$ac_objext \
6043 conftest$ac_exeext conftest.$ac_ext
6045 CPPFLAGS="$gt_save_CPPFLAGS"
6046 LIBS="$gt_save_LIBS"
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
6049 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
6052 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6053 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6054 && test "$PACKAGE" != gettext-runtime \
6055 && test "$PACKAGE" != gettext-tools; }; then
6056 gt_use_preinstalled_gnugettext=yes
6065 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6066 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6068 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6076 $as_echo_n "checking whether to use NLS... " >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6078 $as_echo "$USE_NLS" >&6; }
6079 if test "$USE_NLS" = "yes"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6081 $as_echo_n "checking where the gettext function comes from... " >&6; }
6082 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6083 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6084 gt_source="external libintl"
6089 gt_source="included intl directory"
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6092 $as_echo "$gt_source" >&6; }
6095 if test "$USE_NLS" = "yes"; then
6097 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6098 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6100 $as_echo_n "checking how to link with libintl... " >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6102 $as_echo "$LIBINTL" >&6; }
6104 for element in $INCINTL; do
6106 for x in $CPPFLAGS; do
6108 acl_save_prefix="$prefix"
6109 prefix="$acl_final_prefix"
6110 acl_save_exec_prefix="$exec_prefix"
6111 exec_prefix="$acl_final_exec_prefix"
6113 exec_prefix="$acl_save_exec_prefix"
6114 prefix="$acl_save_prefix"
6116 if test "X$x" = "X$element"; then
6121 if test -z "$haveit"; then
6122 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6129 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6132 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6149 # This test must come as early as possible after the compiler configuration
6150 # tests, because the choice of the file model can (in principle) affect
6151 # whether functions and headers are available, whether they work, etc.
6152 # Check whether --enable-largefile was given.
6153 if test "${enable_largefile+set}" = set; then :
6154 enableval=$enable_largefile;
6157 if test "$enable_largefile" != no; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6160 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6161 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6164 ac_cv_sys_largefile_CC=no
6165 if test "$GCC" != yes; then
6168 # IRIX 6.2 and later do not support large files by default,
6169 # so use the C compiler's -n32 option if that helps.
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 #include <sys/types.h>
6173 /* Check that off_t can represent 2**63 - 1 correctly.
6174 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6175 since some C++ compilers masquerading as C compilers
6176 incorrectly reject 9223372036854775807. */
6177 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6178 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6179 && LARGE_OFF_T % 2147483647 == 1)
6189 if ac_fn_c_try_compile "$LINENO"; then :
6192 rm -f core conftest.err conftest.$ac_objext
6194 if ac_fn_c_try_compile "$LINENO"; then :
6195 ac_cv_sys_largefile_CC=' -n32'; break
6197 rm -f core conftest.err conftest.$ac_objext
6201 rm -f conftest.$ac_ext
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6205 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6206 if test "$ac_cv_sys_largefile_CC" != no; then
6207 CC=$CC$ac_cv_sys_largefile_CC
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6211 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6212 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
6213 $as_echo_n "(cached) " >&6
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 #include <sys/types.h>
6219 /* Check that off_t can represent 2**63 - 1 correctly.
6220 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6221 since some C++ compilers masquerading as C compilers
6222 incorrectly reject 9223372036854775807. */
6223 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6224 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6225 && LARGE_OFF_T % 2147483647 == 1)
6235 if ac_fn_c_try_compile "$LINENO"; then :
6236 ac_cv_sys_file_offset_bits=no; break
6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #define _FILE_OFFSET_BITS 64
6242 #include <sys/types.h>
6243 /* Check that off_t can represent 2**63 - 1 correctly.
6244 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6245 since some C++ compilers masquerading as C compilers
6246 incorrectly reject 9223372036854775807. */
6247 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6248 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6249 && LARGE_OFF_T % 2147483647 == 1)
6259 if ac_fn_c_try_compile "$LINENO"; then :
6260 ac_cv_sys_file_offset_bits=64; break
6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6263 ac_cv_sys_file_offset_bits=unknown
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6268 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6269 case $ac_cv_sys_file_offset_bits in #(
6272 cat >>confdefs.h <<_ACEOF
6273 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6278 if test $ac_cv_sys_file_offset_bits = unknown; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6280 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6281 if test "${ac_cv_sys_large_files+set}" = set; then :
6282 $as_echo_n "(cached) " >&6
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #include <sys/types.h>
6288 /* Check that off_t can represent 2**63 - 1 correctly.
6289 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6290 since some C++ compilers masquerading as C compilers
6291 incorrectly reject 9223372036854775807. */
6292 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6293 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6294 && LARGE_OFF_T % 2147483647 == 1)
6304 if ac_fn_c_try_compile "$LINENO"; then :
6305 ac_cv_sys_large_files=no; break
6307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6310 #define _LARGE_FILES 1
6311 #include <sys/types.h>
6312 /* Check that off_t can represent 2**63 - 1 correctly.
6313 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6314 since some C++ compilers masquerading as C compilers
6315 incorrectly reject 9223372036854775807. */
6316 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6317 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6318 && LARGE_OFF_T % 2147483647 == 1)
6328 if ac_fn_c_try_compile "$LINENO"; then :
6329 ac_cv_sys_large_files=1; break
6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6332 ac_cv_sys_large_files=unknown
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6337 $as_echo "$ac_cv_sys_large_files" >&6; }
6338 case $ac_cv_sys_large_files in #(
6341 cat >>confdefs.h <<_ACEOF
6342 #define _LARGE_FILES $ac_cv_sys_large_files
6351 # Checks for libraries.
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getpwnam" >&5
6353 $as_echo_n "checking for library containing getpwnam... " >&6; }
6354 if test "${ac_cv_search_getpwnam+set}" = set; then :
6355 $as_echo_n "(cached) " >&6
6357 ac_func_search_save_LIBS=$LIBS
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6361 /* Override any GCC internal prototype to avoid an error.
6362 Use char because int might match the return type of a GCC
6363 builtin and then its argument prototype would still apply. */
6376 for ac_lib in '' sun; do
6377 if test -z "$ac_lib"; then
6378 ac_res="none required"
6381 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6383 if ac_fn_c_try_link "$LINENO"; then :
6384 ac_cv_search_getpwnam=$ac_res
6386 rm -f core conftest.err conftest.$ac_objext \
6388 if test "${ac_cv_search_getpwnam+set}" = set; then :
6392 if test "${ac_cv_search_getpwnam+set}" = set; then :
6395 ac_cv_search_getpwnam=no
6398 LIBS=$ac_func_search_save_LIBS
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getpwnam" >&5
6401 $as_echo "$ac_cv_search_getpwnam" >&6; }
6402 ac_res=$ac_cv_search_getpwnam
6403 if test "$ac_res" != no; then :
6404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6409 # Checks for header files.
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6411 $as_echo_n "checking for ANSI C header files... " >&6; }
6412 if test "${ac_cv_header_stdc+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431 ac_cv_header_stdc=yes
6433 ac_cv_header_stdc=no
6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6437 if test $ac_cv_header_stdc = yes; then
6438 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6445 $EGREP "memchr" >/dev/null 2>&1; then :
6448 ac_cv_header_stdc=no
6454 if test $ac_cv_header_stdc = yes; then
6455 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h. */
6461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6462 $EGREP "free" >/dev/null 2>&1; then :
6465 ac_cv_header_stdc=no
6471 if test $ac_cv_header_stdc = yes; then
6472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6473 if test "$cross_compiling" = yes; then :
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6480 #if ((' ' & 0x0FF) == 0x020)
6481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6484 # define ISLOWER(c) \
6485 (('a' <= (c) && (c) <= 'i') \
6486 || ('j' <= (c) && (c) <= 'r') \
6487 || ('s' <= (c) && (c) <= 'z'))
6488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6496 for (i = 0; i < 256; i++)
6497 if (XOR (islower (i), ISLOWER (i))
6498 || toupper (i) != TOUPPER (i))
6503 if ac_fn_c_try_run "$LINENO"; then :
6506 ac_cv_header_stdc=no
6508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6509 conftest.$ac_objext conftest.beam conftest.$ac_ext
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6515 $as_echo "$ac_cv_header_stdc" >&6; }
6516 if test $ac_cv_header_stdc = yes; then
6518 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6523 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6524 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6526 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
6528 $as_echo_n "(cached) " >&6
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <sys/types.h>
6544 if ac_fn_c_try_compile "$LINENO"; then :
6545 eval "$as_ac_Header=yes"
6547 eval "$as_ac_Header=no"
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6551 eval ac_res=\$$as_ac_Header
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6553 $as_echo "$ac_res" >&6; }
6554 eval as_val=\$$as_ac_Header
6555 if test "x$as_val" = x""yes; then :
6556 cat >>confdefs.h <<_ACEOF
6557 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6560 ac_header_dirent=$ac_hdr; break
6564 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6565 if test $ac_header_dirent = dirent.h; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6567 $as_echo_n "checking for library containing opendir... " >&6; }
6568 if test "${ac_cv_search_opendir+set}" = set; then :
6569 $as_echo_n "(cached) " >&6
6571 ac_func_search_save_LIBS=$LIBS
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6575 /* Override any GCC internal prototype to avoid an error.
6576 Use char because int might match the return type of a GCC
6577 builtin and then its argument prototype would still apply. */
6590 for ac_lib in '' dir; do
6591 if test -z "$ac_lib"; then
6592 ac_res="none required"
6595 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6597 if ac_fn_c_try_link "$LINENO"; then :
6598 ac_cv_search_opendir=$ac_res
6600 rm -f core conftest.err conftest.$ac_objext \
6602 if test "${ac_cv_search_opendir+set}" = set; then :
6606 if test "${ac_cv_search_opendir+set}" = set; then :
6609 ac_cv_search_opendir=no
6612 LIBS=$ac_func_search_save_LIBS
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6615 $as_echo "$ac_cv_search_opendir" >&6; }
6616 ac_res=$ac_cv_search_opendir
6617 if test "$ac_res" != no; then :
6618 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6624 $as_echo_n "checking for library containing opendir... " >&6; }
6625 if test "${ac_cv_search_opendir+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6628 ac_func_search_save_LIBS=$LIBS
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6632 /* Override any GCC internal prototype to avoid an error.
6633 Use char because int might match the return type of a GCC
6634 builtin and then its argument prototype would still apply. */
6647 for ac_lib in '' x; do
6648 if test -z "$ac_lib"; then
6649 ac_res="none required"
6652 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6654 if ac_fn_c_try_link "$LINENO"; then :
6655 ac_cv_search_opendir=$ac_res
6657 rm -f core conftest.err conftest.$ac_objext \
6659 if test "${ac_cv_search_opendir+set}" = set; then :
6663 if test "${ac_cv_search_opendir+set}" = set; then :
6666 ac_cv_search_opendir=no
6669 LIBS=$ac_func_search_save_LIBS
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6672 $as_echo "$ac_cv_search_opendir" >&6; }
6673 ac_res=$ac_cv_search_opendir
6674 if test "$ac_res" != no; then :
6675 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6682 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6683 if test "${ac_cv_header_stat_broken+set}" = set; then :
6684 $as_echo_n "(cached) " >&6
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 #include <sys/stat.h>
6691 #if defined S_ISBLK && defined S_IFDIR
6692 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6695 #if defined S_ISBLK && defined S_IFCHR
6696 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6699 #if defined S_ISLNK && defined S_IFREG
6700 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6703 #if defined S_ISSOCK && defined S_IFREG
6704 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6708 if ac_fn_c_try_compile "$LINENO"; then :
6709 ac_cv_header_stat_broken=no
6711 ac_cv_header_stat_broken=yes
6713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6716 $as_echo "$ac_cv_header_stat_broken" >&6; }
6717 if test $ac_cv_header_stat_broken = yes; then
6719 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6724 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6725 if test "${ac_cv_header_time+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #include <sys/types.h>
6731 #include <sys/time.h>
6737 if ((struct tm *) 0)
6743 if ac_fn_c_try_compile "$LINENO"; then :
6744 ac_cv_header_time=yes
6746 ac_cv_header_time=no
6748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6751 $as_echo "$ac_cv_header_time" >&6; }
6752 if test $ac_cv_header_time = yes; then
6754 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6758 for ac_header in stdlib.h locale.h unistd.h limits.h fcntl.h string.h \
6759 memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h
6761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6762 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6763 eval as_val=\$$as_ac_Header
6764 if test "x$as_val" = x""yes; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 # Set a flag if we have an ANSI C compiler
6775 if test "$ac_cv_prog_cc_stdc" != no; then
6777 $as_echo "#define HAVE_ANSI_COMPILER 1" >>confdefs.h
6782 # Determine what kind of variadic function calls we support
6783 for ac_header in stdarg.h varargs.h
6785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6787 eval as_val=\$$as_ac_Header
6788 if test "x$as_val" = x""yes; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6798 if test "x$CC" != xcc; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6800 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6803 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6805 set dummy $CC; ac_cc=`$as_echo "$2" |
6806 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6807 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6808 $as_echo_n "(cached) " >&6
6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h. */
6821 # Make sure it works both with $CC and with simple cc.
6822 # We do the test twice because some compilers refuse to overwrite an
6823 # existing .o file with -o, though they will create one.
6824 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6826 if { { case "(($ac_try" in
6827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6828 *) ac_try_echo=$ac_try;;
6830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6831 $as_echo "$ac_try_echo"; } >&5
6832 (eval "$ac_try") 2>&5
6834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6835 test $ac_status = 0; } &&
6836 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6838 *) ac_try_echo=$ac_try;;
6840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6841 $as_echo "$ac_try_echo"; } >&5
6842 (eval "$ac_try") 2>&5
6844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6845 test $ac_status = 0; };
6847 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6848 if test "x$CC" != xcc; then
6849 # Test first that cc exists at all.
6850 if { ac_try='cc -c conftest.$ac_ext >&5'
6851 { { case "(($ac_try" in
6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6853 *) ac_try_echo=$ac_try;;
6855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6856 $as_echo "$ac_try_echo"; } >&5
6857 (eval "$ac_try") 2>&5
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6860 test $ac_status = 0; }; }; then
6861 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6863 if { { case "(($ac_try" in
6864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6865 *) ac_try_echo=$ac_try;;
6867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6868 $as_echo "$ac_try_echo"; } >&5
6869 (eval "$ac_try") 2>&5
6871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6872 test $ac_status = 0; } &&
6873 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6878 $as_echo "$ac_try_echo"; } >&5
6879 (eval "$ac_try") 2>&5
6881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882 test $ac_status = 0; };
6887 # cc exists but doesn't like -o.
6888 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6893 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6895 rm -f core conftest*
6898 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6900 $as_echo "yes" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6905 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6909 # FIXME: we rely on the cache variable name because
6910 # there is no other way.
6912 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6913 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6914 if test "$am_t" != yes; then
6915 # Losing compiler, so override with the script.
6916 # FIXME: It is wrong to rewrite CC.
6917 # But if we don't then we get into trouble of one sort or another.
6918 # A longer-term fix would be to have automake use am__CC in this case,
6919 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6920 CC="$am_aux_dir/compile $CC"
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6925 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6926 if test "${ac_cv_c_const+set}" = set; then :
6927 $as_echo_n "(cached) " >&6
6929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6935 /* FIXME: Include the comments suggested by Paul. */
6937 /* Ultrix mips cc rejects this. */
6938 typedef int charset[2];
6940 /* SunOS 4.1.1 cc rejects this. */
6941 char const *const *pcpcc;
6943 /* NEC SVR4.0.2 mips cc rejects this. */
6944 struct point {int x, y;};
6945 static struct point const zero = {0,0};
6946 /* AIX XL C 1.02.0.0 rejects this.
6947 It does not let you subtract one const X* pointer from another in
6948 an arm of an if-expression whose if-part is not a constant
6950 const char *g = "string";
6951 pcpcc = &g + (g ? g-g : 0);
6952 /* HPUX 7.0 cc rejects these. */
6954 ppc = (char**) pcpcc;
6955 pcpcc = (char const *const *) ppc;
6956 { /* SCO 3.2v4 cc rejects this. */
6958 char const *s = 0 ? (char *) 0 : (char const *) 0;
6963 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6965 const int *foo = &x[0];
6968 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6969 typedef const int *iptr;
6973 { /* AIX XL C 1.02.0.0 rejects this saying
6974 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6975 struct s { int j; const int *ap[3]; };
6976 struct s *b; b->j = 5;
6978 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6982 return !cs[0] && !zero.x;
6989 if ac_fn_c_try_compile "$LINENO"; then :
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6997 $as_echo "$ac_cv_c_const" >&6; }
6998 if test $ac_cv_c_const = no; then
7000 $as_echo "#define const /**/" >>confdefs.h
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7005 $as_echo_n "checking return type of signal handlers... " >&6; }
7006 if test "${ac_cv_type_signal+set}" = set; then :
7007 $as_echo_n "(cached) " >&6
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7017 return *(signal (0, 0)) (0) == 1;
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_type_signal=int
7025 ac_cv_type_signal=void
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7030 $as_echo "$ac_cv_type_signal" >&6; }
7032 cat >>confdefs.h <<_ACEOF
7033 #define RETSIGTYPE $ac_cv_type_signal
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7038 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7039 if test "${ac_cv_type_uid_t+set}" = set; then :
7040 $as_echo_n "(cached) " >&6
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7044 #include <sys/types.h>
7047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7048 $EGREP "uid_t" >/dev/null 2>&1; then :
7049 ac_cv_type_uid_t=yes
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7057 $as_echo "$ac_cv_type_uid_t" >&6; }
7058 if test $ac_cv_type_uid_t = no; then
7060 $as_echo "#define uid_t int" >>confdefs.h
7063 $as_echo "#define gid_t int" >>confdefs.h
7067 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7068 if test "x$ac_cv_type_pid_t" = x""yes; then :
7072 cat >>confdefs.h <<_ACEOF
7079 # Find some definition for uintmax_t
7081 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
7082 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
7086 uintmax_t="unsigned long"
7087 ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
7088 if test "x$ac_cv_type_unsigned_long_long" = x""yes; then :
7089 uintmax_t="unsigned long long"
7093 cat >>confdefs.h <<_ACEOF
7094 #define uintmax_t $uintmax_t
7100 # Find out whether our struct stat returns nanosecond resolution timestamps.
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanoseconds field of struct stat.st_mtim" >&5
7103 $as_echo_n "checking for nanoseconds field of struct stat.st_mtim... " >&6; }
7104 if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then :
7105 $as_echo_n "(cached) " >&6
7107 ac_save_CPPFLAGS="$CPPFLAGS"
7108 ac_cv_struct_st_mtim_nsec=no
7109 # tv_nsec -- the usual case
7110 # _tv_nsec -- Solaris 2.6, if
7111 # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1
7112 # && !defined __EXTENSIONS__)
7113 # st__tim.tv_nsec -- UnixWare 2.1.2
7114 for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do
7115 CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val"
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 #include <sys/types.h>
7119 #include <sys/stat.h>
7124 struct stat s; s.st_mtim.ST_MTIM_NSEC;
7129 if ac_fn_c_try_compile "$LINENO"; then :
7130 ac_cv_struct_st_mtim_nsec=$ac_val; break
7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 CPPFLAGS="$ac_save_CPPFLAGS"
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_st_mtim_nsec" >&5
7138 $as_echo "$ac_cv_struct_st_mtim_nsec" >&6; }
7140 if test $ac_cv_struct_st_mtim_nsec != no; then
7142 cat >>confdefs.h <<_ACEOF
7143 #define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use high resolution file timestamps" >&5
7150 $as_echo_n "checking whether to use high resolution file timestamps... " >&6; }
7151 if test "${make_cv_file_timestamp_hi_res+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7155 make_cv_file_timestamp_hi_res=no
7156 if test "$ac_cv_struct_st_mtim_nsec" != no; then
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7160 # if HAVE_INTTYPES_H
7161 # include <inttypes.h>
7166 char a[0x7fffffff < (uintmax_t)-1 >> 30 ? 1 : -1];
7171 if ac_fn_c_try_compile "$LINENO"; then :
7172 make_cv_file_timestamp_hi_res=yes
7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_file_timestamp_hi_res" >&5
7179 $as_echo "$make_cv_file_timestamp_hi_res" >&6; }
7180 if test "$make_cv_file_timestamp_hi_res" = yes; then
7186 cat >>confdefs.h <<_ACEOF
7187 #define FILE_TIMESTAMP_HI_RES $val
7191 if test "$make_cv_file_timestamp_hi_res" = yes; then
7192 # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
7193 # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
7195 $as_echo_n "checking for library containing clock_gettime... " >&6; }
7196 if test "${ac_cv_search_clock_gettime+set}" = set; then :
7197 $as_echo_n "(cached) " >&6
7199 ac_func_search_save_LIBS=$LIBS
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7203 /* Override any GCC internal prototype to avoid an error.
7204 Use char because int might match the return type of a GCC
7205 builtin and then its argument prototype would still apply. */
7209 char clock_gettime ();
7213 return clock_gettime ();
7218 for ac_lib in '' rt posix4; do
7219 if test -z "$ac_lib"; then
7220 ac_res="none required"
7223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7225 if ac_fn_c_try_link "$LINENO"; then :
7226 ac_cv_search_clock_gettime=$ac_res
7228 rm -f core conftest.err conftest.$ac_objext \
7230 if test "${ac_cv_search_clock_gettime+set}" = set; then :
7234 if test "${ac_cv_search_clock_gettime+set}" = set; then :
7237 ac_cv_search_clock_gettime=no
7240 LIBS=$ac_func_search_save_LIBS
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
7243 $as_echo "$ac_cv_search_clock_gettime" >&6; }
7244 ac_res=$ac_cv_search_clock_gettime
7245 if test "$ac_res" != no; then :
7246 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7250 if test "$ac_cv_search_clock_gettime" != no; then
7252 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
7257 # Check for DOS-style pathnames.
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system uses MSDOS-style paths" >&5
7260 $as_echo_n "checking whether system uses MSDOS-style paths... " >&6; }
7261 if test "${ac_cv_dos_paths+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7268 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __EMX__ && !defined __MSYS__ && !defined __CYGWIN__
7269 neither MSDOS nor Windows nor OS2
7273 if ac_fn_c_try_compile "$LINENO"; then :
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dos_paths" >&5
7282 $as_echo "$ac_cv_dos_paths" >&6; }
7284 if test x"$ac_cv_dos_paths" = xyes; then
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_DOS_PATHS 1
7293 # See if we have a standard version of gettimeofday(). Since actual
7294 # implementations can differ, just make sure we have the most common
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for standard gettimeofday" >&5
7297 $as_echo_n "checking for standard gettimeofday... " >&6; }
7298 if test "${ac_cv_func_gettimeofday+set}" = set; then :
7299 $as_echo_n "(cached) " >&6
7301 ac_cv_func_gettimeofday=no
7302 if test "$cross_compiling" = yes; then :
7303 ac_cv_func_gettimeofday="no (cross-compiling)"
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7307 #include <sys/time.h>
7310 struct timeval t; t.tv_sec = -1; t.tv_usec = -1;
7311 exit (gettimeofday (&t, 0) != 0
7312 || t.tv_sec < 0 || t.tv_usec < 0);
7315 if ac_fn_c_try_run "$LINENO"; then :
7316 ac_cv_func_gettimeofday=yes
7318 ac_cv_func_gettimeofday=no
7320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7321 conftest.$ac_objext conftest.beam conftest.$ac_ext
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gettimeofday" >&5
7326 $as_echo "$ac_cv_func_gettimeofday" >&6; }
7327 if test "$ac_cv_func_gettimeofday" = yes; then
7329 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
7333 for ac_func in strdup strndup mkstemp mktemp fdopen fileno \
7334 dup2 getcwd realpath sigsetmask sigaction \
7335 getgroups seteuid setegid setlinebuf setreuid setregid \
7336 getrlimit setrlimit setvbuf pipe strerror strsignal \
7337 lstat readlink atexit
7339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7341 eval as_val=\$$as_ac_var
7342 if test "x$as_val" = x""yes; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7351 # We need to check declarations, not just existence, because on Tru64 this
7352 # function is not declared without special flags, which themselves cause
7353 # other problems. We'll just use our own.
7354 ac_fn_c_check_decl "$LINENO" "bsd_signal" "ac_cv_have_decl_bsd_signal" "#include <signal.h>
7356 if test "x$ac_cv_have_decl_bsd_signal" = x""yes; then :
7362 cat >>confdefs.h <<_ACEOF
7363 #define HAVE_DECL_BSD_SIGNAL $ac_have_decl
7367 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7370 ac_cv_func_setvbuf_reversed=no
7375 # Rumor has it that strcasecmp lives in -lresolv on some odd systems.
7376 # It doesn't hurt much to use our own if we can't find it so I don't
7377 # make the effort here.
7378 for ac_func in strcasecmp strncasecmp strcmpi strncmpi stricmp strnicmp
7380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7382 eval as_val=\$$as_ac_var
7383 if test "x$as_val" = x""yes; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7392 # strcoll() is used by the GNU glob library
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
7394 $as_echo_n "checking for working strcoll... " >&6; }
7395 if test "${ac_cv_func_strcoll_works+set}" = set; then :
7396 $as_echo_n "(cached) " >&6
7398 if test "$cross_compiling" = yes; then :
7399 ac_cv_func_strcoll_works=no
7401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7402 /* end confdefs.h. */
7403 $ac_includes_default
7407 return (strcoll ("abc", "def") >= 0 ||
7408 strcoll ("ABC", "DEF") >= 0 ||
7409 strcoll ("123", "456") >= 0)
7414 if ac_fn_c_try_run "$LINENO"; then :
7415 ac_cv_func_strcoll_works=yes
7417 ac_cv_func_strcoll_works=no
7419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7420 conftest.$ac_objext conftest.beam conftest.$ac_ext
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
7425 $as_echo "$ac_cv_func_strcoll_works" >&6; }
7426 if test $ac_cv_func_strcoll_works = yes; then
7428 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
7433 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7434 # for constant arguments. Useless!
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7436 $as_echo_n "checking for working alloca.h... " >&6; }
7437 if test "${ac_cv_working_alloca_h+set}" = set; then :
7438 $as_echo_n "(cached) " >&6
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */
7446 char *p = (char *) alloca (2 * sizeof (int));
7452 if ac_fn_c_try_link "$LINENO"; then :
7453 ac_cv_working_alloca_h=yes
7455 ac_cv_working_alloca_h=no
7457 rm -f core conftest.err conftest.$ac_objext \
7458 conftest$ac_exeext conftest.$ac_ext
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7461 $as_echo "$ac_cv_working_alloca_h" >&6; }
7462 if test $ac_cv_working_alloca_h = yes; then
7464 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7469 $as_echo_n "checking for alloca... " >&6; }
7470 if test "${ac_cv_func_alloca_works+set}" = set; then :
7471 $as_echo_n "(cached) " >&6
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7476 # define alloca __builtin_alloca
7479 # include <malloc.h>
7480 # define alloca _alloca
7482 # ifdef HAVE_ALLOCA_H
7483 # include <alloca.h>
7488 # ifndef alloca /* predefined by HP cc +Olibcalls */
7499 char *p = (char *) alloca (1);
7505 if ac_fn_c_try_link "$LINENO"; then :
7506 ac_cv_func_alloca_works=yes
7508 ac_cv_func_alloca_works=no
7510 rm -f core conftest.err conftest.$ac_objext \
7511 conftest$ac_exeext conftest.$ac_ext
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7514 $as_echo "$ac_cv_func_alloca_works" >&6; }
7516 if test $ac_cv_func_alloca_works = yes; then
7518 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7521 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7522 # that cause trouble. Some versions do not even contain alloca or
7523 # contain a buggy version. If you still want to use their alloca,
7524 # use ar to extract alloca.o from them instead of compiling alloca.c.
7526 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7528 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7532 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7533 if test "${ac_cv_os_cray+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7538 #if defined CRAY && ! defined CRAY2
7545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7546 $EGREP "webecray" >/dev/null 2>&1; then :
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7555 $as_echo "$ac_cv_os_cray" >&6; }
7556 if test $ac_cv_os_cray = yes; then
7557 for ac_func in _getb67 GETB67 getb67; do
7558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7560 eval as_val=\$$as_ac_var
7561 if test "x$as_val" = x""yes; then :
7563 cat >>confdefs.h <<_ACEOF
7564 #define CRAY_STACKSEG_END $ac_func
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7574 $as_echo_n "checking stack direction for C alloca... " >&6; }
7575 if test "${ac_cv_c_stack_direction+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7578 if test "$cross_compiling" = yes; then :
7579 ac_cv_c_stack_direction=0
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7583 $ac_includes_default
7585 find_stack_direction ()
7587 static char *addr = 0;
7592 return find_stack_direction ();
7595 return (&dummy > addr) ? 1 : -1;
7601 return find_stack_direction () < 0;
7604 if ac_fn_c_try_run "$LINENO"; then :
7605 ac_cv_c_stack_direction=1
7607 ac_cv_c_stack_direction=-1
7609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7610 conftest.$ac_objext conftest.beam conftest.$ac_ext
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7615 $as_echo "$ac_cv_c_stack_direction" >&6; }
7616 cat >>confdefs.h <<_ACEOF
7617 #define STACK_DIRECTION $ac_cv_c_stack_direction
7623 for ac_header in vfork.h
7625 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
7626 if test "x$ac_cv_header_vfork_h" = x""yes; then :
7627 cat >>confdefs.h <<_ACEOF
7628 #define HAVE_VFORK_H 1
7635 for ac_func in fork vfork
7637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7639 eval as_val=\$$as_ac_var
7640 if test "x$as_val" = x""yes; then :
7641 cat >>confdefs.h <<_ACEOF
7642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7648 if test "x$ac_cv_func_fork" = xyes; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
7650 $as_echo_n "checking for working fork... " >&6; }
7651 if test "${ac_cv_func_fork_works+set}" = set; then :
7652 $as_echo_n "(cached) " >&6
7654 if test "$cross_compiling" = yes; then :
7655 ac_cv_func_fork_works=cross
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7659 $ac_includes_default
7664 /* By Ruediger Kuhlmann. */
7671 if ac_fn_c_try_run "$LINENO"; then :
7672 ac_cv_func_fork_works=yes
7674 ac_cv_func_fork_works=no
7676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7677 conftest.$ac_objext conftest.beam conftest.$ac_ext
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
7682 $as_echo "$ac_cv_func_fork_works" >&6; }
7685 ac_cv_func_fork_works=$ac_cv_func_fork
7687 if test "x$ac_cv_func_fork_works" = xcross; then
7689 *-*-amigaos* | *-*-msdosdjgpp*)
7690 # Override, as these systems have only a dummy fork() stub
7691 ac_cv_func_fork_works=no
7694 ac_cv_func_fork_works=yes
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7698 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7700 ac_cv_func_vfork_works=$ac_cv_func_vfork
7701 if test "x$ac_cv_func_vfork" = xyes; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
7703 $as_echo_n "checking for working vfork... " >&6; }
7704 if test "${ac_cv_func_vfork_works+set}" = set; then :
7705 $as_echo_n "(cached) " >&6
7707 if test "$cross_compiling" = yes; then :
7708 ac_cv_func_vfork_works=cross
7710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h. */
7712 /* Thanks to Paul Eggert for this test. */
7713 $ac_includes_default
7714 #include <sys/wait.h>
7718 /* On some sparc systems, changes by the child to local and incoming
7719 argument registers are propagated back to the parent. The compiler
7720 is told about this with #include <vfork.h>, but some compilers
7721 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7722 static variable whose address is put into a register that is
7723 clobbered by the vfork. */
7726 sparc_address_test (int arg)
7728 sparc_address_test (arg) int arg;
7749 pid_t parent = getpid ();
7752 sparc_address_test (0);
7757 /* Here is another test for sparc vfork register problems. This
7758 test uses lots of local variables, at least as many local
7759 variables as main has allocated so far including compiler
7760 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7761 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7762 reuse the register of parent for one of the local variables,
7763 since it will think that parent can't possibly be used any more
7764 in this routine. Assigning to the local variable will thus
7765 munge parent in the parent process. */
7767 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7768 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7769 /* Convince the compiler that p..p7 are live; otherwise, it might
7770 use the same hardware register for all 8 local variables. */
7771 if (p != p1 || p != p2 || p != p3 || p != p4
7772 || p != p5 || p != p6 || p != p7)
7775 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7776 from child file descriptors. If the child closes a descriptor
7777 before it execs or exits, this munges the parent's descriptor
7778 as well. Test for this by closing stdout in the child. */
7779 _exit(close(fileno(stdout)) != 0);
7784 while (wait(&status) != child)
7787 /* Was there some problem with vforking? */
7790 /* Did the child fail? (This shouldn't happen.) */
7793 /* Did the vfork/compiler bug occur? */
7794 || parent != getpid()
7796 /* Did the file descriptor bug occur? */
7797 || fstat(fileno(stdout), &st) != 0
7802 if ac_fn_c_try_run "$LINENO"; then :
7803 ac_cv_func_vfork_works=yes
7805 ac_cv_func_vfork_works=no
7807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7808 conftest.$ac_objext conftest.beam conftest.$ac_ext
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
7813 $as_echo "$ac_cv_func_vfork_works" >&6; }
7816 if test "x$ac_cv_func_fork_works" = xcross; then
7817 ac_cv_func_vfork_works=$ac_cv_func_vfork
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7819 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7822 if test "x$ac_cv_func_vfork_works" = xyes; then
7824 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
7828 $as_echo "#define vfork fork" >>confdefs.h
7831 if test "x$ac_cv_func_fork_works" = xyes; then
7833 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
7837 for ac_func in vprintf
7839 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
7840 if test "x$ac_cv_func_vprintf" = x""yes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_VPRINTF 1
7845 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
7846 if test "x$ac_cv_func__doprnt" = x""yes; then :
7848 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
7857 $as_echo_n "checking whether closedir returns void... " >&6; }
7858 if test "${ac_cv_func_closedir_void+set}" = set; then :
7859 $as_echo_n "(cached) " >&6
7861 if test "$cross_compiling" = yes; then :
7862 ac_cv_func_closedir_void=yes
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7866 $ac_includes_default
7867 #include <$ac_header_dirent>
7875 return closedir (opendir (".")) != 0;
7880 if ac_fn_c_try_run "$LINENO"; then :
7881 ac_cv_func_closedir_void=no
7883 ac_cv_func_closedir_void=yes
7885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7886 conftest.$ac_objext conftest.beam conftest.$ac_ext
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
7891 $as_echo "$ac_cv_func_closedir_void" >&6; }
7892 if test $ac_cv_func_closedir_void = yes; then
7894 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
7899 ac_have_func=no # yes means we've found a way to get the load average.
7901 # Make sure getloadavg.c is where it belongs, at configure-time.
7902 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
7903 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
7907 # Check for getloadavg, but be sure not to touch the cache variable.
7908 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
7909 if test "x$ac_cv_func_getloadavg" = x""yes; then :
7914 ) && ac_have_func=yes
7916 # On HPUX9, an unprivileged user can get load averages through this function.
7917 for ac_func in pstat_getdynamic
7919 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
7920 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_PSTAT_GETDYNAMIC 1
7929 # Solaris has libkstat which does not require root.
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
7931 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
7932 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
7933 $as_echo_n "(cached) " >&6
7935 ac_check_lib_save_LIBS=$LIBS
7936 LIBS="-lkstat $LIBS"
7937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7938 /* end confdefs.h. */
7940 /* Override any GCC internal prototype to avoid an error.
7941 Use char because int might match the return type of a GCC
7942 builtin and then its argument prototype would still apply. */
7950 return kstat_open ();
7955 if ac_fn_c_try_link "$LINENO"; then :
7956 ac_cv_lib_kstat_kstat_open=yes
7958 ac_cv_lib_kstat_kstat_open=no
7960 rm -f core conftest.err conftest.$ac_objext \
7961 conftest$ac_exeext conftest.$ac_ext
7962 LIBS=$ac_check_lib_save_LIBS
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
7965 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
7966 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
7967 cat >>confdefs.h <<_ACEOF
7968 #define HAVE_LIBKSTAT 1
7971 LIBS="-lkstat $LIBS"
7975 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
7977 # Some systems with -lutil have (and need) -lkvm as well, some do not.
7978 # On Solaris, -lkvm requires nlist from -lelf, so check that first
7979 # to get the right answer into the cache.
7980 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
7981 if test $ac_have_func = no; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
7983 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
7984 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
7985 $as_echo_n "(cached) " >&6
7987 ac_check_lib_save_LIBS=$LIBS
7989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7990 /* end confdefs.h. */
7992 /* Override any GCC internal prototype to avoid an error.
7993 Use char because int might match the return type of a GCC
7994 builtin and then its argument prototype would still apply. */
8002 return elf_begin ();
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 ac_cv_lib_elf_elf_begin=yes
8010 ac_cv_lib_elf_elf_begin=no
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 LIBS=$ac_check_lib_save_LIBS
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
8017 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
8018 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then :
8023 if test $ac_have_func = no; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
8025 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
8026 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8029 ac_check_lib_save_LIBS=$LIBS
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8034 /* Override any GCC internal prototype to avoid an error.
8035 Use char because int might match the return type of a GCC
8036 builtin and then its argument prototype would still apply. */
8049 if ac_fn_c_try_link "$LINENO"; then :
8050 ac_cv_lib_kvm_kvm_open=yes
8052 ac_cv_lib_kvm_kvm_open=no
8054 rm -f core conftest.err conftest.$ac_objext \
8055 conftest$ac_exeext conftest.$ac_ext
8056 LIBS=$ac_check_lib_save_LIBS
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
8059 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
8060 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then :
8064 # Check for the 4.4BSD definition of getloadavg.
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
8066 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
8067 if test "${ac_cv_lib_util_getloadavg+set}" = set; then :
8068 $as_echo_n "(cached) " >&6
8070 ac_check_lib_save_LIBS=$LIBS
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8075 /* Override any GCC internal prototype to avoid an error.
8076 Use char because int might match the return type of a GCC
8077 builtin and then its argument prototype would still apply. */
8085 return getloadavg ();
8090 if ac_fn_c_try_link "$LINENO"; then :
8091 ac_cv_lib_util_getloadavg=yes
8093 ac_cv_lib_util_getloadavg=no
8095 rm -f core conftest.err conftest.$ac_objext \
8096 conftest$ac_exeext conftest.$ac_ext
8097 LIBS=$ac_check_lib_save_LIBS
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
8100 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
8101 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
8102 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8107 if test $ac_have_func = no; then
8108 # There is a commonly available library for RS/6000 AIX.
8109 # Since it is not a standard part of AIX, it might be installed locally.
8110 ac_getloadavg_LIBS=$LIBS
8111 LIBS="-L/usr/local/lib $LIBS"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
8113 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
8114 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :
8115 $as_echo_n "(cached) " >&6
8117 ac_check_lib_save_LIBS=$LIBS
8118 LIBS="-lgetloadavg $LIBS"
8119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8122 /* Override any GCC internal prototype to avoid an error.
8123 Use char because int might match the return type of a GCC
8124 builtin and then its argument prototype would still apply. */
8132 return getloadavg ();
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 ac_cv_lib_getloadavg_getloadavg=yes
8140 ac_cv_lib_getloadavg_getloadavg=no
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 LIBS=$ac_check_lib_save_LIBS
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
8147 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
8148 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
8149 LIBS="-lgetloadavg $LIBS"
8151 LIBS=$ac_getloadavg_LIBS
8156 # Make sure it is really in the library, if we think we found it,
8157 # otherwise set up the replacement function.
8158 for ac_func in getloadavg
8160 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
8161 if test "x$ac_cv_func_getloadavg" = x""yes; then :
8162 cat >>confdefs.h <<_ACEOF
8163 #define HAVE_GETLOADAVG 1
8167 case " $LIBOBJS " in
8168 *" getloadavg.$ac_objext "* ) ;;
8169 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
8174 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
8176 # Figure out what our getloadavg.c needs.
8178 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
8182 $as_echo "#define DGUX 1" >>confdefs.h
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
8185 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
8186 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8189 ac_check_lib_save_LIBS=$LIBS
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8194 /* Override any GCC internal prototype to avoid an error.
8195 Use char because int might match the return type of a GCC
8196 builtin and then its argument prototype would still apply. */
8200 char dg_sys_info ();
8204 return dg_sys_info ();
8209 if ac_fn_c_try_link "$LINENO"; then :
8210 ac_cv_lib_dgc_dg_sys_info=yes
8212 ac_cv_lib_dgc_dg_sys_info=no
8214 rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 LIBS=$ac_check_lib_save_LIBS
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
8219 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
8220 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then :
8221 cat >>confdefs.h <<_ACEOF
8222 #define HAVE_LIBDGC 1
8233 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_locale_h" = x""yes; then :
8239 for ac_func in setlocale
8241 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
8242 if test "x$ac_cv_func_setlocale" = x""yes; then :
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_SETLOCALE 1
8251 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
8252 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
8253 # Irix 4.0.5F has the header but not the library.
8254 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
8257 $as_echo "#define SVR4 1" >>confdefs.h
8261 if test $ac_have_func = no; then
8262 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
8266 $as_echo "#define UMAX 1" >>confdefs.h
8269 $as_echo "#define UMAX4_3 1" >>confdefs.h
8276 if test $ac_have_func = no; then
8277 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
8279 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
8286 if test $ac_have_func = no; then
8287 for ac_header in mach/mach.h
8289 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
8291 cat >>confdefs.h <<_ACEOF
8292 #define HAVE_MACH_MACH_H 1
8301 for ac_header in nlist.h
8303 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_nlist_h" = x""yes; then :
8305 cat >>confdefs.h <<_ACEOF
8306 #define HAVE_NLIST_H 1
8308 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
8310 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then :
8312 cat >>confdefs.h <<_ACEOF
8313 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
8317 $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h
8330 # Some definitions of getloadavg require that the program be installed setgid.
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
8332 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
8333 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
8339 #ifdef LDAV_PRIVILEGED
8340 Yowza Am I SETGID yet
8343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8344 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then :
8345 ac_cv_func_getloadavg_setgid=yes
8347 ac_cv_func_getloadavg_setgid=no
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5
8353 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
8354 if test $ac_cv_func_getloadavg_setgid = yes; then
8357 $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h
8363 if test $ac_cv_func_getloadavg_setgid = yes; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
8365 $as_echo_n "checking group of /dev/kmem... " >&6; }
8366 if test "${ac_cv_group_kmem+set}" = set; then :
8367 $as_echo_n "(cached) " >&6
8369 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
8370 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
8371 # If we got an error (system does not support symlinks), try without -L.
8372 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
8373 ac_cv_group_kmem=`$as_echo "$ac_ls_output" \
8374 | sed -ne 's/[ ][ ]*/ /g;
8375 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5
8380 $as_echo "$ac_cv_group_kmem" >&6; }
8381 KMEM_GROUP=$ac_cv_group_kmem
8383 if test "x$ac_save_LIBS" = x; then
8384 GETLOADAVG_LIBS=$LIBS
8386 GETLOADAVG_LIBS=`$as_echo "$LIBS" | sed "s|$ac_save_LIBS||"`
8392 # AC_FUNC_GETLOADAVG is documented to set the NLIST_STRUCT value, but it
8393 # doesn't. So, we will.
8395 if test "$ac_cv_header_nlist_h" = yes; then
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8403 nl.n_name = "string";
8409 if ac_fn_c_try_compile "$LINENO"; then :
8410 make_cv_nlist_struct=yes
8412 make_cv_nlist_struct=no
8414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415 if test "$make_cv_nlist_struct" = yes; then
8417 $as_echo "#define NLIST_STRUCT 1" >>confdefs.h
8422 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default
8424 /* NetBSD declares sys_siglist in unistd.h. */
8426 # include <unistd.h>
8430 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
8436 cat >>confdefs.h <<_ACEOF
8437 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl
8439 ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "$ac_includes_default
8441 /* NetBSD declares sys_siglist in unistd.h. */
8443 # include <unistd.h>
8447 if test "x$ac_cv_have_decl__sys_siglist" = x""yes; then :
8453 cat >>confdefs.h <<_ACEOF
8454 #define HAVE_DECL__SYS_SIGLIST $ac_have_decl
8456 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default
8458 /* NetBSD declares sys_siglist in unistd.h. */
8460 # include <unistd.h>
8464 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then :
8470 cat >>confdefs.h <<_ACEOF
8471 #define HAVE_DECL___SYS_SIGLIST $ac_have_decl
8476 # Check out the wait reality.
8477 for ac_header in sys/wait.h
8479 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "#include <sys/types.h>
8481 if test "x$ac_cv_header_sys_wait_h" = x""yes; then :
8482 cat >>confdefs.h <<_ACEOF
8483 #define HAVE_SYS_WAIT_H 1
8490 for ac_func in waitpid wait3
8492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8494 eval as_val=\$$as_ac_var
8495 if test "x$as_val" = x""yes; then :
8496 cat >>confdefs.h <<_ACEOF
8497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union wait" >&5
8504 $as_echo_n "checking for union wait... " >&6; }
8505 if test "${make_cv_union_wait+set}" = set; then :
8506 $as_echo_n "(cached) " >&6
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 #include <sys/types.h>
8511 #include <sys/wait.h>
8515 union wait status; int pid; pid = wait (&status);
8517 /* Some POSIXoid systems have both the new-style macros and the old
8518 union wait type, and they do not work together. If union wait
8519 conflicts with WEXITSTATUS et al, we don't want to use it at all. */
8520 if (WEXITSTATUS (status) != 0) pid = -1;
8522 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
8523 -- blow chunks here --
8527 /* Make sure union wait works with waitpid. */
8528 pid = waitpid (-1, &status, 0);
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 make_cv_union_wait=yes
8538 make_cv_union_wait=no
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8544 if test "$make_cv_union_wait" = yes; then
8546 $as_echo "#define HAVE_UNION_WAIT 1" >>confdefs.h
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_union_wait" >&5
8550 $as_echo "$make_cv_union_wait" >&6; }
8553 # If we're building on Windows/DOS/OS/2, add some support for DOS drive specs.
8554 if test "$PATH_SEPARATOR" = ';'; then
8556 $as_echo "#define HAVE_DOS_PATHS 1" >>confdefs.h
8561 # See if the user wants to use pmake's "customs" distributed build capability
8566 # Check whether --with-customs was given.
8567 if test "${with_customs+set}" = set; then :
8568 withval=$with_customs; case $withval in
8570 *) make_cppflags="$CPPFLAGS"
8573 *) CPPFLAGS="$CPPFLAGS -I$with_customs/include/customs"
8574 make_ldflags="$LDFLAGS -L$with_customs/lib" ;;
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for network libraries" >&5
8579 $as_echo_n "checking for network libraries... " >&6; }
8580 if test "${cf_cv_netlibs+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: working..." >&5
8585 $as_echo "working..." >&6; }
8588 for ac_func in gethostname
8590 ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
8591 if test "x$ac_cv_func_gethostname" = x""yes; then :
8592 cat >>confdefs.h <<_ACEOF
8593 #define HAVE_GETHOSTNAME 1
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5
8600 $as_echo_n "checking for gethostname in -lnsl... " >&6; }
8601 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then :
8602 $as_echo_n "(cached) " >&6
8604 ac_check_lib_save_LIBS=$LIBS
8605 LIBS="-lnsl $cf_cv_netlibs $LIBS"
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8609 /* Override any GCC internal prototype to avoid an error.
8610 Use char because int might match the return type of a GCC
8611 builtin and then its argument prototype would still apply. */
8615 char gethostname ();
8619 return gethostname ();
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 ac_cv_lib_nsl_gethostname=yes
8627 ac_cv_lib_nsl_gethostname=no
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 LIBS=$ac_check_lib_save_LIBS
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5
8634 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; }
8635 if test "x$ac_cv_lib_nsl_gethostname" = x""yes; then :
8638 cf_tr_func=`echo gethostname | tr '[a-z]' '[A-Z]'`
8641 cat >>confdefs.h <<_ACEOF
8642 #define HAVE_$cf_tr_func 1
8645 ac_cv_func_gethostname=yes
8646 cf_cv_netlibs="-lnsl $cf_cv_netlibs"
8649 ac_cv_func_gethostname=unknown
8650 unset ac_cv_func_gethostname 2>/dev/null
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
8654 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
8655 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
8656 $as_echo_n "(cached) " >&6
8658 ac_check_lib_save_LIBS=$LIBS
8659 LIBS="-lsocket $cf_cv_netlibs $LIBS"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8663 /* Override any GCC internal prototype to avoid an error.
8664 Use char because int might match the return type of a GCC
8665 builtin and then its argument prototype would still apply. */
8669 char gethostname ();
8673 return gethostname ();
8678 if ac_fn_c_try_link "$LINENO"; then :
8679 ac_cv_lib_socket_gethostname=yes
8681 ac_cv_lib_socket_gethostname=no
8683 rm -f core conftest.err conftest.$ac_objext \
8684 conftest$ac_exeext conftest.$ac_ext
8685 LIBS=$ac_check_lib_save_LIBS
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
8688 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
8689 if test "x$ac_cv_lib_socket_gethostname" = x""yes; then :
8692 cf_tr_func=`echo gethostname | tr '[a-z]' '[A-Z]'`
8695 cat >>confdefs.h <<_ACEOF
8696 #define HAVE_$cf_tr_func 1
8699 ac_cv_func_gethostname=yes
8700 cf_cv_netlibs="-lsocket $cf_cv_netlibs"
8703 ac_cv_func_gethostname=unknown
8704 unset ac_cv_func_gethostname 2>/dev/null
8716 # FIXME: sequent needs this library (i.e., -lsocket -linet -lnsl), but
8717 # I don't know the entrypoints - 97/7/22 TD
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5
8719 $as_echo_n "checking for main in -linet... " >&6; }
8720 if test "${ac_cv_lib_inet_main+set}" = set; then :
8721 $as_echo_n "(cached) " >&6
8723 ac_check_lib_save_LIBS=$LIBS
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_lib_inet_main=yes
8740 ac_cv_lib_inet_main=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 LIBS=$ac_check_lib_save_LIBS
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5
8747 $as_echo "$ac_cv_lib_inet_main" >&6; }
8748 if test "x$ac_cv_lib_inet_main" = x""yes; then :
8749 cf_cv_netlibs="-linet $cf_cv_netlibs"
8753 if test "$ac_cv_func_lsocket" != no ; then
8754 for ac_func in socket
8756 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
8757 if test "x$ac_cv_func_socket" = x""yes; then :
8758 cat >>confdefs.h <<_ACEOF
8759 #define HAVE_SOCKET 1
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
8766 $as_echo_n "checking for socket in -lsocket... " >&6; }
8767 if test "${ac_cv_lib_socket_socket+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8770 ac_check_lib_save_LIBS=$LIBS
8771 LIBS="-lsocket $cf_cv_netlibs $LIBS"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8775 /* Override any GCC internal prototype to avoid an error.
8776 Use char because int might match the return type of a GCC
8777 builtin and then its argument prototype would still apply. */
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 ac_cv_lib_socket_socket=yes
8793 ac_cv_lib_socket_socket=no
8795 rm -f core conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8797 LIBS=$ac_check_lib_save_LIBS
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
8800 $as_echo "$ac_cv_lib_socket_socket" >&6; }
8801 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
8804 cf_tr_func=`echo socket | tr '[a-z]' '[A-Z]'`
8807 cat >>confdefs.h <<_ACEOF
8808 #define HAVE_$cf_tr_func 1
8811 ac_cv_func_socket=yes
8812 cf_cv_netlibs="-lsocket $cf_cv_netlibs"
8815 ac_cv_func_socket=unknown
8816 unset ac_cv_func_socket 2>/dev/null
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lbsd" >&5
8820 $as_echo_n "checking for socket in -lbsd... " >&6; }
8821 if test "${ac_cv_lib_bsd_socket+set}" = set; then :
8822 $as_echo_n "(cached) " >&6
8824 ac_check_lib_save_LIBS=$LIBS
8825 LIBS="-lbsd $cf_cv_netlibs $LIBS"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8829 /* Override any GCC internal prototype to avoid an error.
8830 Use char because int might match the return type of a GCC
8831 builtin and then its argument prototype would still apply. */
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_lib_bsd_socket=yes
8847 ac_cv_lib_bsd_socket=no
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_socket" >&5
8854 $as_echo "$ac_cv_lib_bsd_socket" >&6; }
8855 if test "x$ac_cv_lib_bsd_socket" = x""yes; then :
8858 cf_tr_func=`echo socket | tr '[a-z]' '[A-Z]'`
8861 cat >>confdefs.h <<_ACEOF
8862 #define HAVE_$cf_tr_func 1
8865 ac_cv_func_socket=yes
8866 cf_cv_netlibs="-lbsd $cf_cv_netlibs"
8869 ac_cv_func_socket=unknown
8870 unset ac_cv_func_socket 2>/dev/null
8883 for ac_func in gethostbyname
8885 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8886 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
8887 cat >>confdefs.h <<_ACEOF
8888 #define HAVE_GETHOSTBYNAME 1
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8895 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8896 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
8897 $as_echo_n "(cached) " >&6
8899 ac_check_lib_save_LIBS=$LIBS
8900 LIBS="-lnsl $cf_cv_netlibs $LIBS"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8910 char gethostbyname ();
8914 return gethostbyname ();
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 ac_cv_lib_nsl_gethostbyname=yes
8922 ac_cv_lib_nsl_gethostbyname=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 LIBS=$ac_check_lib_save_LIBS
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8929 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8930 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
8933 cf_tr_func=`echo gethostbyname | tr '[a-z]' '[A-Z]'`
8936 cat >>confdefs.h <<_ACEOF
8937 #define HAVE_$cf_tr_func 1
8940 ac_cv_func_gethostbyname=yes
8941 cf_cv_netlibs="-lnsl $cf_cv_netlibs"
8944 ac_cv_func_gethostbyname=unknown
8945 unset ac_cv_func_gethostbyname 2>/dev/null
8956 LIBS="$LIBS $cf_cv_netlibs"
8957 test $cf_test_netlibs = no && echo "$cf_cv_netlibs" >&6
8959 ac_fn_c_check_header_mongrel "$LINENO" "customs.h" "ac_cv_header_customs_h" "$ac_includes_default"
8960 if test "x$ac_cv_header_customs_h" = x""yes; then :
8963 LIBS="$LIBS -lcustoms" LDFLAGS="$make_ldflags"
8966 CPPFLAGS="$make_cppflags" make_badcust=yes
8974 # Tell automake about this, so it can include the right .c files.
8975 if test "$use_customs" = true; then
8977 USE_CUSTOMS_FALSE='#'
8979 USE_CUSTOMS_TRUE='#'
8984 # See if the user asked to handle case insensitive file systems.
8987 # Check whether --enable-case-insensitive-file-system was given.
8988 if test "${enable_case_insensitive_file_system+set}" = set; then :
8989 enableval=$enable_case_insensitive_file_system; case $enableval in
8990 yes) $as_echo "#define HAVE_CASE_INSENSITIVE_FS 1" >>confdefs.h
8996 # See if we can handle the job server feature, and if the user wants it.
8998 # Check whether --enable-job-server was given.
8999 if test "${enable_job_server+set}" = set; then :
9000 enableval=$enable_job_server; make_cv_job_server="$enableval" user_job_server="$enableval"
9002 make_cv_job_server="yes"
9007 case "$ac_cv_func_waitpid/$ac_cv_func_wait3" in
9008 no/no) has_wait_nohang=no ;;
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTART" >&5
9012 $as_echo_n "checking for SA_RESTART... " >&6; }
9013 if test "${make_cv_sa_restart+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9028 if ac_fn_c_try_compile "$LINENO"; then :
9029 make_cv_sa_restart=yes
9031 make_cv_sa_restart=no
9033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_sa_restart" >&5
9036 $as_echo "$make_cv_sa_restart" >&6; }
9038 if test "$make_cv_sa_restart" != no; then
9040 $as_echo "#define HAVE_SA_RESTART 1" >>confdefs.h
9044 # enable make_cv_sa_restart for OS/2 so that the jobserver will be enabled,
9045 # but do it after HAVE_SA_RESTART has been defined.
9047 os2*) make_cv_sa_restart=yes ;;
9050 case "$ac_cv_func_pipe/$ac_cv_func_sigaction/$make_cv_sa_restart/$has_wait_nohang/$make_cv_job_server" in
9051 yes/yes/yes/yes/yes)
9053 $as_echo "#define MAKE_JOBSERVER 1" >>confdefs.h
9057 # if we have both lstat() and readlink() then we can support symlink
9059 case "$ac_cv_func_lstat/$ac_cv_func_readlink" in
9062 $as_echo "#define MAKE_SYMLINKS 1" >>confdefs.h
9066 # Find the SCCS commands, so we can include them in our default rules.
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of SCCS get command" >&5
9069 $as_echo_n "checking for location of SCCS get command... " >&6; }
9070 if test "${make_cv_path_sccs_get+set}" = set; then :
9071 $as_echo_n "(cached) " >&6
9074 if test -f /usr/sccs/get; then
9075 make_cv_path_sccs_get=/usr/sccs/get
9077 make_cv_path_sccs_get=get
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_path_sccs_get" >&5
9081 $as_echo "$make_cv_path_sccs_get" >&6; }
9083 cat >>confdefs.h <<_ACEOF
9084 #define SCCS_GET "$make_cv_path_sccs_get"
9088 ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
9089 if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
9090 test -f s.conftest; then
9091 # We successfully created an SCCS file.
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SCCS get command understands -G" >&5
9093 $as_echo_n "checking if SCCS get command understands -G... " >&6; }
9094 if test "${make_cv_sys_get_minus_G+set}" = set; then :
9095 $as_echo_n "(cached) " >&6
9098 if $make_cv_path_sccs_get -Gconftoast s.conftest >/dev/null 2>&1 &&
9099 test -f conftoast; then
9100 make_cv_sys_get_minus_G=yes
9102 make_cv_sys_get_minus_G=no
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_sys_get_minus_G" >&5
9106 $as_echo "$make_cv_sys_get_minus_G" >&6; }
9107 case "$make_cv_sys_get_minus_G" in
9109 $as_echo "#define SCCS_GET_MINUS_G 1" >>confdefs.h
9113 rm -f s.conftest conftoast
9115 # Check the system to see if it provides GNU glob. If not, use our
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if system libc has GNU glob" >&5
9118 $as_echo_n "checking if system libc has GNU glob... " >&6; }
9119 if test "${make_cv_sys_gnu_glob+set}" = set; then :
9120 $as_echo_n "(cached) " >&6
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 #include <features.h>
9128 #include <fnmatch.h>
9130 #define GLOB_INTERFACE_VERSION 1
9131 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
9132 # include <gnu-versions.h>
9133 # if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
9139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9140 $EGREP "gnu glob" >/dev/null 2>&1; then :
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9142 $as_echo "yes" >&6; }
9143 make_cv_sys_gnu_glob=yes
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; using local copy" >&5
9146 $as_echo "no; using local copy" >&6; }
9147 make_cv_sys_gnu_glob=no
9153 if test "$make_cv_sys_gnu_glob" = no; then
9154 GLOBINC='-I$(srcdir)/glob'
9155 GLOBLIB=glob/libglob.a
9160 # Tell automake about this, so it can build the right .c files.
9161 if test "$make_cv_sys_gnu_glob" = no; then
9162 USE_LOCAL_GLOB_TRUE=
9163 USE_LOCAL_GLOB_FALSE='#'
9165 USE_LOCAL_GLOB_TRUE='#'
9166 USE_LOCAL_GLOB_FALSE=
9170 # Let the makefile know what our build host is
9173 cat >>confdefs.h <<_ACEOF
9174 #define MAKE_HOST "$host"
9183 WINDOWSENV_FALSE='#'
9194 WINDOWSENV_FALSE='#'
9202 $as_echo "#define WINDOWS32 1" >>confdefs.h
9205 $as_echo "#define HAVE_DOS_PATHS 1" >>confdefs.h
9211 cat >>confdefs.h <<_ACEOF
9212 #define PATH_SEPARATOR_CHAR '$PATH_SEPARATOR'
9216 # Include the Maintainer's Makefile section, if it's here.
9218 MAINT_MAKEFILE=/dev/null
9219 if test -r "$srcdir/maintMakefile"; then
9220 MAINT_MAKEFILE="$srcdir/maintMakefile"
9224 # Allow building with dmalloc
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
9226 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
9228 # Check whether --with-dmalloc was given.
9229 if test "${with_dmalloc+set}" = set; then :
9230 withval=$with_dmalloc; if test "$withval" = yes; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9232 $as_echo "yes" >&6; }
9234 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
9236 LIBS="$LIBS -ldmalloc"
9237 LDFLAGS="$LDFLAGS -g"
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 $as_echo "no" >&6; }
9249 # Forcibly disable SET_MAKE. If it's set it breaks things like the test
9253 # Sanity check and inform the user of what we found
9255 case "$make_badcust" in
9257 echo "WARNING: --with-customs specified but no customs.h could be found;"
9258 echo " disabling Customs support."
9262 case "$with_customs" in
9263 ""|n|no|y|ye|yes) ;;
9264 *) if test -f "$with_customs/lib/libcustoms.a"; then
9268 echo "WARNING: '$with_customs/lib' does not appear to contain the"
9269 echo " Customs library. You must build and install Customs"
9270 echo " before compiling GNU make."
9275 case "$has_wait_nohang" in
9277 echo "WARNING: Your system has neither waitpid() nor wait3()."
9278 echo " Without one of these, signal handling is unreliable."
9279 echo " You should be aware that running GNU make with -j"
9280 echo " could result in erratic behavior."
9284 case "$make_cv_job_server/$user_job_server" in
9286 echo "WARNING: Make job server requires a POSIX-ish system that"
9287 echo " supports the pipe(), sigaction(), and either"
9288 echo " waitpid() or wait3() functions. Your system doesn't"
9289 echo " appear to provide one or more of those."
9290 echo " Disabling job server support."
9295 # Specify what files are to be created.
9296 ac_config_files="$ac_config_files Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile w32/Makefile"
9301 cat >confcache <<\_ACEOF
9302 # This file is a shell script that caches the results of configure
9303 # tests run on this system so they can be shared between configure
9304 # scripts and configure runs, see configure's option --config-cache.
9305 # It is not useful on other systems. If it contains results you don't
9306 # want to keep, you may remove or edit it.
9308 # config.status only pays attention to the cache file if you give it
9309 # the --recheck option to rerun configure.
9311 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9312 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9317 # The following way of writing the cache mishandles newlines in values,
9318 # but we know of no workaround that is simple, portable, and efficient.
9319 # So, we kill variables containing newlines.
9320 # Ultrix sh set writes to stderr and can't be redirected directly,
9321 # and sets the high bit in the cache file unless we assign to the vars.
9323 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9324 eval ac_val=\$$ac_var
9328 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9332 _ | IFS | as_nl) ;; #(
9333 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9334 *) { eval $ac_var=; unset $ac_var;} ;;
9340 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9341 *${as_nl}ac_space=\ *)
9342 # `set' does not quote correctly, so add quotes: double-quote
9343 # substitution turns \\\\ into \\, and sed turns \\ into \.
9346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9349 # `set' quotes correctly as required by POSIX, so do not add quotes.
9350 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9359 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9361 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9363 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9364 if test -w "$cache_file"; then
9365 test "x$cache_file" != "x/dev/null" &&
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9367 $as_echo "$as_me: updating cache $cache_file" >&6;}
9368 cat confcache >$cache_file
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9371 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9376 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9377 # Let make expand exec_prefix.
9378 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9380 DEFS=-DHAVE_CONFIG_H
9384 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9385 # 1. Remove the extension, and $U if already installed.
9386 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9387 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9389 # will be set to the directory where LIBOBJS objects are built.
9390 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9391 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9395 LTLIBOBJS=$ac_ltlibobjs
9398 if test -n "$EXEEXT"; then
9400 am__EXEEXT_FALSE='#'
9406 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9407 as_fn_error "conditional \"AMDEP\" was never defined.
9408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9410 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9411 as_fn_error "conditional \"am__fastdepCC\" was never defined.
9412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9414 if test -z "${USE_CUSTOMS_TRUE}" && test -z "${USE_CUSTOMS_FALSE}"; then
9415 as_fn_error "conditional \"USE_CUSTOMS\" was never defined.
9416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9418 if test -z "${USE_LOCAL_GLOB_TRUE}" && test -z "${USE_LOCAL_GLOB_FALSE}"; then
9419 as_fn_error "conditional \"USE_LOCAL_GLOB\" was never defined.
9420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9422 if test -z "${WINDOWSENV_TRUE}" && test -z "${WINDOWSENV_FALSE}"; then
9423 as_fn_error "conditional \"WINDOWSENV\" was never defined.
9424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9426 if test -z "${WINDOWSENV_TRUE}" && test -z "${WINDOWSENV_FALSE}"; then
9427 as_fn_error "conditional \"WINDOWSENV\" was never defined.
9428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9431 : ${CONFIG_STATUS=./config.status}
9433 ac_clean_files_save=$ac_clean_files
9434 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9436 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9438 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9440 # Generated by $as_me.
9441 # Run this file to recreate the current configuration.
9442 # Compiler output produced by configure, useful for debugging
9443 # configure, is in config.log if it exists.
9449 SHELL=\${CONFIG_SHELL-$SHELL}
9452 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9453 ## -------------------- ##
9454 ## M4sh Initialization. ##
9455 ## -------------------- ##
9457 # Be more Bourne compatible
9458 DUALCASE=1; export DUALCASE # for MKS sh
9459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9462 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9463 # is contrary to our usage. Disable this feature.
9464 alias -g '${1+"$@"}'='"$@"'
9465 setopt NO_GLOB_SUBST
9467 case `(set -o) 2>/dev/null` in #(
9479 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9480 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9483 # Prefer a ksh shell builtin over an external printf program on Solaris,
9484 # but without wasting forks for bash or zsh.
9485 if test -z "$BASH_VERSION$ZSH_VERSION" \
9486 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9487 as_echo='print -r --'
9488 as_echo_n='print -rn --'
9489 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9490 as_echo='printf %s\n'
9491 as_echo_n='printf %s'
9493 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9494 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9495 as_echo_n='/usr/ucb/echo -n'
9497 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9498 as_echo_n_body='eval
9502 expr "X$arg" : "X\\(.*\\)$as_nl";
9503 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9505 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9507 export as_echo_n_body
9508 as_echo_n='sh -c $as_echo_n_body as_echo'
9511 as_echo='sh -c $as_echo_body as_echo'
9514 # The user is always right.
9515 if test "${PATH_SEPARATOR+set}" != set; then
9517 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9518 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9525 # We need space, tab and new line, in precisely that order. Quoting is
9526 # there to prevent editors from complaining about space-tab.
9527 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9528 # splitting by setting IFS to empty value.)
9531 # Find who we are. Look in the path if we contain no directory separator.
9533 *[\\/]* ) as_myself=$0 ;;
9534 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir=.
9539 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9545 # We did not find ourselves, most probably we were run as `sh COMMAND'
9546 # in which case we are not to be found in the path.
9547 if test "x$as_myself" = x; then
9550 if test ! -f "$as_myself"; then
9551 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9555 # Unset variables that we do not need and which cause bugs (e.g. in
9556 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9557 # suppresses any "Segmentation fault" message there. '((' could
9558 # trigger a bug in pdksh 5.2.14.
9559 for as_var in BASH_ENV ENV MAIL MAILPATH
9560 do eval test x\${$as_var+set} = xset \
9561 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9577 # as_fn_error ERROR [LINENO LOG_FD]
9578 # ---------------------------------
9579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9581 # script with status $?, using 1 if that was 0.
9584 as_status=$?; test $as_status -eq 0 && as_status=1
9586 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9587 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
9589 $as_echo "$as_me: error: $1" >&2
9590 as_fn_exit $as_status
9594 # as_fn_set_status STATUS
9595 # -----------------------
9596 # Set $? to STATUS, without forking.
9600 } # as_fn_set_status
9604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9614 # Portably unset VAR.
9617 { eval $1=; unset $1;}
9619 as_unset=as_fn_unset
9620 # as_fn_append VAR VALUE
9621 # ----------------------
9622 # Append the text in VALUE to the end of the definition contained in VAR. Take
9623 # advantage of any shell optimizations that allow amortized linear growth over
9624 # repeated appends, instead of the typical quadratic growth present in naive
9626 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9627 eval 'as_fn_append ()
9638 # as_fn_arith ARG...
9639 # ------------------
9640 # Perform arithmetic evaluation on the ARGs, and store the result in the
9641 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9642 # must be portable across $(()) and expr.
9643 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9644 eval 'as_fn_arith ()
9651 as_val=`expr "$@" || test $? -eq 1`
9656 if expr a : '\(a\)' >/dev/null 2>&1 &&
9657 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9664 as_basename=basename
9669 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9675 as_me=`$as_basename -- "$0" ||
9676 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9677 X"$0" : 'X\(//\)$' \| \
9678 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9680 sed '/^.*\/\([^/][^/]*\)\/*$/{
9694 # Avoid depending upon Character Ranges.
9695 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9696 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9697 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9698 as_cr_digits='0123456789'
9699 as_cr_alnum=$as_cr_Letters$as_cr_digits
9701 ECHO_C= ECHO_N= ECHO_T=
9702 case `echo -n x` in #(((((
9704 case `echo 'xy\c'` in
9705 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9707 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9714 rm -f conf$$ conf$$.exe conf$$.file
9715 if test -d conf$$.dir; then
9716 rm -f conf$$.dir/conf$$.file
9719 mkdir conf$$.dir 2>/dev/null
9721 if (echo >conf$$.file) 2>/dev/null; then
9722 if ln -s conf$$.file conf$$ 2>/dev/null; then
9724 # ... but there are two gotchas:
9725 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9726 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9727 # In both cases, we have to default to `cp -p'.
9728 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9730 elif ln conf$$.file conf$$ 2>/dev/null; then
9738 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9739 rmdir conf$$.dir 2>/dev/null
9744 # Create "$as_dir" as a directory, including parents if necessary.
9749 -*) as_dir=./$as_dir;;
9751 test -d "$as_dir" || eval $as_mkdir_p || {
9755 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9756 *) as_qdir=$as_dir;;
9758 as_dirs="'$as_qdir' $as_dirs"
9759 as_dir=`$as_dirname -- "$as_dir" ||
9760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9761 X"$as_dir" : 'X\(//\)[^/]' \| \
9762 X"$as_dir" : 'X\(//\)$' \| \
9763 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9764 $as_echo X"$as_dir" |
9765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9782 test -d "$as_dir" && break
9784 test -z "$as_dirs" || eval "mkdir $as_dirs"
9785 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9789 if mkdir -p . 2>/dev/null; then
9790 as_mkdir_p='mkdir -p "$as_dir"'
9792 test -d ./-p && rmdir ./-p
9796 if test -x / >/dev/null 2>&1; then
9799 if ls -dL / >/dev/null 2>&1; then
9806 if test -d "$1"; then
9812 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9813 ???[sx]*):;;*)false;;esac;fi
9817 as_executable_p=$as_test_x
9819 # Sed expression to map a string onto a valid CPP name.
9820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9822 # Sed expression to map a string onto a valid variable name.
9823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9827 ## ----------------------------------- ##
9828 ## Main body of $CONFIG_STATUS script. ##
9829 ## ----------------------------------- ##
9831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9834 # Save the log message, to keep $0 and so on meaningful, and to
9835 # report actual input values of CONFIG_FILES etc. instead of their
9836 # values after options handling.
9838 This file was extended by GNU make $as_me 3.82, which was
9839 generated by GNU Autoconf 2.65. Invocation command line was
9841 CONFIG_FILES = $CONFIG_FILES
9842 CONFIG_HEADERS = $CONFIG_HEADERS
9843 CONFIG_LINKS = $CONFIG_LINKS
9844 CONFIG_COMMANDS = $CONFIG_COMMANDS
9847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9852 case $ac_config_files in *"
9853 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9856 case $ac_config_headers in *"
9857 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9862 # Files that config.status was made for.
9863 config_files="$ac_config_files"
9864 config_headers="$ac_config_headers"
9865 config_commands="$ac_config_commands"
9869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9871 \`$as_me' instantiates files and other configuration actions
9872 from templates according to the current configuration. Unless the files
9873 and actions are specified as TAGs, all are instantiated by default.
9875 Usage: $0 [OPTION]... [TAG]...
9877 -h, --help print this help, then exit
9878 -V, --version print version number and configuration settings, then exit
9879 --config print configuration, then exit
9880 -q, --quiet, --silent
9881 do not print progress messages
9882 -d, --debug don't remove temporary files
9883 --recheck update $as_me by reconfiguring in the same conditions
9884 --file=FILE[:TEMPLATE]
9885 instantiate the configuration file FILE
9886 --header=FILE[:TEMPLATE]
9887 instantiate the configuration header FILE
9889 Configuration files:
9892 Configuration headers:
9895 Configuration commands:
9898 Report bugs to <bug-make@gnu.org>.
9899 GNU make home page: <http://www.gnu.org/software/make/>.
9900 General help using GNU software: <http://www.gnu.org/gethelp/>."
9903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9906 GNU make config.status 3.82
9907 configured by $0, generated by GNU Autoconf 2.65,
9908 with options \\"\$ac_cs_config\\"
9910 Copyright (C) 2009 Free Software Foundation, Inc.
9911 This config.status script is free software; the Free Software Foundation
9912 gives unlimited permission to copy, distribute and modify it."
9919 test -n "\$AWK" || AWK=awk
9922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9923 # The default lists apply if the user does not specify any file.
9929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9930 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9941 # Handling of the options.
9942 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9944 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9945 $as_echo "$ac_cs_version"; exit ;;
9946 --config | --confi | --conf | --con | --co | --c )
9947 $as_echo "$ac_cs_config"; exit ;;
9948 --debug | --debu | --deb | --de | --d | -d )
9950 --file | --fil | --fi | --f )
9953 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9955 as_fn_append CONFIG_FILES " '$ac_optarg'"
9956 ac_need_defaults=false;;
9957 --header | --heade | --head | --hea )
9960 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9962 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9963 ac_need_defaults=false;;
9965 # Conflict between --help and --header
9966 as_fn_error "ambiguous option: \`$1'
9967 Try \`$0 --help' for more information.";;
9968 --help | --hel | -h )
9969 $as_echo "$ac_cs_usage"; exit ;;
9970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9971 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9975 -*) as_fn_error "unrecognized option: \`$1'
9976 Try \`$0 --help' for more information." ;;
9978 *) as_fn_append ac_config_targets " $1"
9979 ac_need_defaults=false ;;
9985 ac_configure_extra_args=
9987 if $ac_cs_silent; then
9989 ac_configure_extra_args="$ac_configure_extra_args --silent"
9993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9994 if \$ac_cs_recheck; then
9995 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9997 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9998 CONFIG_SHELL='$SHELL'
10004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10008 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10009 ## Running $as_me. ##
10015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10019 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10020 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10021 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10023 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10024 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10025 LINGUAS="${LINGUAS-%UNSET%}"
10030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10032 # Handling of arguments.
10033 for ac_config_target in $ac_config_targets
10035 case $ac_config_target in
10036 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10037 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10038 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10039 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10040 "glob/Makefile") CONFIG_FILES="$CONFIG_FILES glob/Makefile" ;;
10041 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10042 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
10043 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10044 "w32/Makefile") CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;;
10046 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10051 # If the user did not use the arguments to specify the items to instantiate,
10052 # then the envvar interface is used. Set only those that are not.
10053 # We use the long form for the default assignment because of an extremely
10054 # bizarre bug on SunOS 4.1.3.
10055 if $ac_need_defaults; then
10056 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10057 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10058 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10061 # Have a temporary directory for convenience. Make it in the build tree
10062 # simply because there is no reason against having it here, and in addition,
10063 # creating and moving files from /tmp can sometimes cause problems.
10064 # Hook for its removal unless debugging.
10065 # Note that there is a small window in which the directory will not be cleaned:
10066 # after its creation but before its name has been assigned to `$tmp'.
10070 trap 'exit_status=$?
10071 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10073 trap 'as_fn_exit 1' 1 2 13 15
10075 # Create a (secure) tmp directory for tmp files.
10078 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10079 test -n "$tmp" && test -d "$tmp"
10082 tmp=./conf$$-$RANDOM
10083 (umask 077 && mkdir "$tmp")
10084 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
10086 # Set up the scripts for CONFIG_FILES section.
10087 # No need to generate them if there are no CONFIG_FILES.
10088 # This happens for instance with `./config.status config.h'.
10089 if test -n "$CONFIG_FILES"; then
10091 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
10092 ac_cs_awk_getline=:
10093 ac_cs_awk_pipe_init=
10094 ac_cs_awk_read_file='
10095 while ((getline aline < (F[key])) > 0)
10098 ac_cs_awk_pipe_fini=
10100 ac_cs_awk_getline=false
10101 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
10102 ac_cs_awk_read_file='
10104 print "cat " F[key] " &&"
10105 '$ac_cs_awk_pipe_init
10106 # The final `:' finishes the AND list.
10107 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
10109 ac_cr=`echo X | tr X '\015'`
10110 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10111 # But we know of no other shell where ac_cr would be empty at this
10112 # point, so we can use a bashism as a fallback.
10113 if test "x$ac_cr" = x; then
10114 eval ac_cr=\$\'\\r\'
10116 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10117 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10120 ac_cs_awk_cr=$ac_cr
10123 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10126 # Create commands to substitute file output variables.
10128 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
10129 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
10130 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
10133 } >conf$$files.sh &&
10134 . ./conf$$files.sh ||
10135 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10136 rm -f conf$$files.sh
10139 echo "cat >conf$$subs.awk <<_ACEOF" &&
10140 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10142 } >conf$$subs.sh ||
10143 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10144 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10146 for ac_last_try in false false false false false :; do
10147 . ./conf$$subs.sh ||
10148 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10150 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10151 if test $ac_delim_n = $ac_delim_num; then
10153 elif $ac_last_try; then
10154 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10159 rm -f conf$$subs.sh
10161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10162 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10166 s/^/S["/; s/!.*/"]=/
10176 s/\(.\{148\}\)..*/\1/
10178 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10190 s/\(.\{148\}\)..*/\1/
10192 s/["\\]/\\&/g; s/^/"/; s/$/"/
10196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10201 ' <conf$$subs.awk | sed '
10206 ' >>$CONFIG_STATUS || ac_write_fail=1
10207 rm -f conf$$subs.awk
10208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10210 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10211 for (key in S) S_is_set[key] = 1
10213 \$ac_cs_awk_pipe_init
10217 nfields = split(line, field, "@")
10219 len = length(field[1])
10220 for (i = 2; i < nfields; i++) {
10222 keylen = length(key)
10223 if (S_is_set[key]) {
10225 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10226 len += length(value) + length(field[++i])
10231 if (nfields == 3 && !substed) {
10233 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
10234 \$ac_cs_awk_read_file
10240 \$ac_cs_awk_pipe_fini
10243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10244 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10245 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10248 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10249 || as_fn_error "could not setup config files machinery" "$LINENO" 5
10252 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10253 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10254 # trailing colons and then remove the whole line if VPATH becomes empty
10255 # (actually we leave an empty line to preserve line numbers).
10256 if test "x$srcdir" = x.; then
10257 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10258 s/:*\$(srcdir):*/:/
10259 s/:*\${srcdir}:*/:/
10261 s/^\([^=]*=[ ]*\):*/\1/
10267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10268 fi # test -n "$CONFIG_FILES"
10270 # Set up the scripts for CONFIG_HEADERS section.
10271 # No need to generate them if there are no CONFIG_HEADERS.
10272 # This happens for instance with `./config.status Makefile'.
10273 if test -n "$CONFIG_HEADERS"; then
10274 cat >"$tmp/defines.awk" <<\_ACAWK ||
10278 # Transform confdefs.h into an awk script `defines.awk', embedded as
10279 # here-document in config.status, that substitutes the proper values into
10280 # config.h.in to produce config.h.
10282 # Create a delimiter string that does not exist in confdefs.h, to ease
10283 # handling of long lines.
10285 for ac_last_try in false false :; do
10286 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10287 if test -z "$ac_t"; then
10289 elif $ac_last_try; then
10290 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10296 # For the awk script, D is an array of macro values keyed by name,
10297 # likewise P contains macro parameters if any. Preserve backslash
10298 # newline sequences.
10300 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10302 s/.\{148\}/&'"$ac_delim"'/g
10305 s/^[ ]*#[ ]*define[ ][ ]*/ /
10312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10314 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10319 D["\1"]=" \3\\\\\\n"\\/p
10321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10326 s/.\{148\}/&'"$ac_delim"'/g
10331 s/["\\]/\\&/g; s/^/"/; s/$/"/p
10334 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10336 ' <confdefs.h | sed '
10337 s/'"$ac_delim"'/"\\\
10338 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10341 for (key in D) D_is_set[key] = 1
10344 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10346 split(line, arg, " ")
10347 if (arg[1] == "#") {
10351 defundef = substr(arg[1], 2)
10354 split(mac1, mac2, "(") #)
10356 prefix = substr(line, 1, index(line, defundef) - 1)
10357 if (D_is_set[macro]) {
10358 # Preserve the white space surrounding the "#".
10359 print prefix "define", macro P[macro] D[macro]
10362 # Replace #undef with comments. This is necessary, for example,
10363 # in the case of _POSIX_SOURCE, which is predefined and required
10364 # on some systems where configure will not decide to define it.
10365 if (defundef == "undef") {
10366 print "/*", prefix defundef, macro, "*/"
10374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10375 as_fn_error "could not setup config headers machinery" "$LINENO" 5
10376 fi # test -n "$CONFIG_HEADERS"
10379 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10384 :[FHLC]) ac_mode=$ac_tag; continue;;
10386 case $ac_mode$ac_tag in
10388 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10389 :[FH]-) ac_tag=-:-;;
10390 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10407 -) ac_f="$tmp/stdin";;
10408 *) # Look for the file first in the build tree, then in the source tree
10409 # (if the path is not absolute). The absolute path cannot be DOS-style,
10410 # because $ac_f cannot contain `:'.
10414 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10416 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10418 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10419 as_fn_append ac_file_inputs " '$ac_f'"
10422 # Let's still pretend it is `configure' which instantiates (i.e., don't
10423 # use $as_me), people would be surprised to read:
10424 # /* config.h. Generated by config.status. */
10425 configure_input='Generated from '`
10426 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10428 if test x"$ac_file" != x-; then
10429 configure_input="$ac_file. $configure_input"
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10431 $as_echo "$as_me: creating $ac_file" >&6;}
10433 # Neutralize special characters interpreted by sed in replacement strings.
10434 case $configure_input in #(
10435 *\&* | *\|* | *\\* )
10436 ac_sed_conf_input=`$as_echo "$configure_input" |
10437 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10438 *) ac_sed_conf_input=$configure_input;;
10442 *:-:* | *:-) cat >"$tmp/stdin" \
10443 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10448 ac_dir=`$as_dirname -- "$ac_file" ||
10449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10450 X"$ac_file" : 'X\(//\)[^/]' \| \
10451 X"$ac_file" : 'X\(//\)$' \| \
10452 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10453 $as_echo X"$ac_file" |
10454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10458 /^X\(\/\/\)[^/].*/{
10471 as_dir="$ac_dir"; as_fn_mkdir_p
10475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10478 # A ".." for each directory in $ac_dir_suffix.
10479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10480 case $ac_top_builddir_sub in
10481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10485 ac_abs_top_builddir=$ac_pwd
10486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10487 # for backward compatibility:
10488 ac_top_builddir=$ac_top_build_prefix
10491 .) # We are building in place.
10493 ac_top_srcdir=$ac_top_builddir_sub
10494 ac_abs_top_srcdir=$ac_pwd ;;
10495 [\\/]* | ?:[\\/]* ) # Absolute name.
10496 ac_srcdir=$srcdir$ac_dir_suffix;
10497 ac_top_srcdir=$srcdir
10498 ac_abs_top_srcdir=$srcdir ;;
10499 *) # Relative name.
10500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10501 ac_top_srcdir=$ac_top_build_prefix$srcdir
10502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10514 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10515 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10517 ac_MKDIR_P=$MKDIR_P
10519 [\\/$]* | ?:[\\/]* ) ;;
10520 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10525 # If the template does not know about datarootdir, expand it.
10526 # FIXME: This hack should be removed a few years after 2.60.
10527 ac_datarootdir_hack=; ac_datarootdir_seen=
10538 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10539 *datarootdir*) ac_datarootdir_seen=yes;;
10540 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10542 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10545 ac_datarootdir_hack='
10546 s&@datadir@&$datadir&g
10547 s&@docdir@&$docdir&g
10548 s&@infodir@&$infodir&g
10549 s&@localedir@&$localedir&g
10550 s&@mandir@&$mandir&g
10551 s&\\\${datarootdir}&$datarootdir&g' ;;
10555 # Neutralize VPATH when `$srcdir' = `.'.
10556 # Shell code in configure.ac might set extrasub.
10557 # FIXME: do we really want to maintain this feature?
10558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10559 ac_sed_extra="$ac_vpsub
10562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10564 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10565 s|@configure_input@|$ac_sed_conf_input|;t t
10566 s&@top_builddir@&$ac_top_builddir_sub&;t t
10567 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10568 s&@srcdir@&$ac_srcdir&;t t
10569 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10570 s&@top_srcdir@&$ac_top_srcdir&;t t
10571 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10572 s&@builddir@&$ac_builddir&;t t
10573 s&@abs_builddir@&$ac_abs_builddir&;t t
10574 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10575 s&@INSTALL@&$ac_INSTALL&;t t
10576 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10577 $ac_datarootdir_hack
10579 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
10580 if $ac_cs_awk_getline; then
10581 $AWK -f "$tmp/subs.awk"
10583 $AWK -f "$tmp/subs.awk" | $SHELL
10585 || as_fn_error "could not create $ac_file" "$LINENO" 5
10587 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10588 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10589 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10591 which seems to be undefined. Please make sure it is defined." >&5
10592 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10593 which seems to be undefined. Please make sure it is defined." >&2;}
10597 -) cat "$tmp/out" && rm -f "$tmp/out";;
10598 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10600 || as_fn_error "could not create $ac_file" "$LINENO" 5
10606 if test x"$ac_file" != x-; then
10608 $as_echo "/* $configure_input */" \
10609 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10610 } >"$tmp/config.h" \
10611 || as_fn_error "could not create $ac_file" "$LINENO" 5
10612 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10614 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10617 mv "$tmp/config.h" "$ac_file" \
10618 || as_fn_error "could not create $ac_file" "$LINENO" 5
10621 $as_echo "/* $configure_input */" \
10622 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10623 || as_fn_error "could not create -" "$LINENO" 5
10625 # Compute "$ac_file"'s index in $config_headers.
10628 for _am_header in $config_headers :; do
10629 case $_am_header in
10630 $_am_arg | $_am_arg:* )
10633 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10636 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10637 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10638 X"$_am_arg" : 'X\(//\)[^/]' \| \
10639 X"$_am_arg" : 'X\(//\)$' \| \
10640 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10641 $as_echo X"$_am_arg" |
10642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10646 /^X\(\/\/\)[^/].*/{
10658 s/.*/./; q'`/stamp-h$_am_stamp_count
10661 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10662 $as_echo "$as_me: executing $ac_file commands" >&6;}
10667 case $ac_file$ac_mode in
10668 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10669 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10670 # are listed without --file. Let's play safe and only enable the eval
10671 # if we detect the quoting.
10672 case $CONFIG_FILES in
10673 *\'*) eval set x "$CONFIG_FILES" ;;
10674 *) set x $CONFIG_FILES ;;
10679 # Strip MF so we end up with the name of the file.
10680 mf=`echo "$mf" | sed -e 's/:.*$//'`
10681 # Check whether this is an Automake generated Makefile or not.
10682 # We used to match only the files named `Makefile.in', but
10683 # some people rename them; so instead we look at the file content.
10684 # Grep'ing the first line is not enough: some people post-process
10685 # each Makefile.in and add a new line on top of each file to say so.
10686 # Grep'ing the whole file is not good either: AIX grep has a line
10687 # limit of 2048, but all sed's we know have understand at least 4000.
10688 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10689 dirpart=`$as_dirname -- "$mf" ||
10690 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10691 X"$mf" : 'X\(//\)[^/]' \| \
10692 X"$mf" : 'X\(//\)$' \| \
10693 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10699 /^X\(\/\/\)[^/].*/{
10715 # Extract the definition of DEPDIR, am__include, and am__quote
10716 # from the Makefile without running `make'.
10717 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10718 test -z "$DEPDIR" && continue
10719 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10720 test -z "am__include" && continue
10721 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10722 # When using ansi2knr, U may be empty or an underscore; expand it
10723 U=`sed -n 's/^U = //p' < "$mf"`
10724 # Find all dependency output files, they are included files with
10725 # $(DEPDIR) in their names. We invoke sed twice because it is the
10726 # simplest approach to changing $(DEPDIR) to its actual value in the
10728 for file in `sed -n "
10729 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10730 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10731 # Make sure the directory exists.
10732 test -f "$dirpart/$file" && continue
10733 fdir=`$as_dirname -- "$file" ||
10734 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10735 X"$file" : 'X\(//\)[^/]' \| \
10736 X"$file" : 'X\(//\)$' \| \
10737 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10738 $as_echo X"$file" |
10739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10743 /^X\(\/\/\)[^/].*/{
10756 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10757 # echo "creating $dirpart/$file"
10758 echo '# dummy' > "$dirpart/$file"
10764 for ac_file in $CONFIG_FILES; do
10765 # Support "outfile[:infile[:infile...]]"
10767 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10769 # PO directories have a Makefile.in generated from Makefile.in.in.
10770 case "$ac_file" in */Makefile.in)
10771 # Adjust a relative srcdir.
10772 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10773 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10774 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10775 # In autoconf-2.13 it is called $ac_given_srcdir.
10776 # In autoconf-2.50 it is called $srcdir.
10777 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10778 case "$ac_given_srcdir" in
10779 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10780 /*) top_srcdir="$ac_given_srcdir" ;;
10781 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10783 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10784 rm -f "$ac_dir/POTFILES"
10785 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10786 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10787 POMAKEFILEDEPS="POTFILES.in"
10788 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10789 # on $ac_dir but don't depend on user-specified configuration
10791 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10792 # The LINGUAS file contains the set of available languages.
10793 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10794 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10796 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10797 # Hide the ALL_LINGUAS assigment from automake.
10798 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10799 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10801 # The set of available languages was given in configure.in.
10802 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10805 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10806 # Compute UPDATEPOFILES
10807 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10808 # Compute DUMMYPOFILES
10809 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10811 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10812 case "$ac_given_srcdir" in
10814 *) srcdirpre='$(srcdir)/' ;;
10820 for lang in $ALL_LINGUAS; do
10821 POFILES="$POFILES $srcdirpre$lang.po"
10822 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10823 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10824 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10826 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10827 # environment variable.
10829 if test -n "$ALL_LINGUAS"; then
10830 for presentlang in $ALL_LINGUAS; do
10832 if test "%UNSET%" != "$LINGUAS"; then
10833 desiredlanguages="$LINGUAS"
10835 desiredlanguages="$ALL_LINGUAS"
10837 for desiredlang in $desiredlanguages; do
10838 # Use the presentlang catalog if desiredlang is
10839 # a. equal to presentlang, or
10840 # b. a variant of presentlang (because in this case,
10841 # presentlang can be used as a fallback for messages
10842 # which are not translated in the desiredlang catalog).
10843 case "$desiredlang" in
10844 "$presentlang"*) useit=yes;;
10847 if test $useit = yes; then
10848 INST_LINGUAS="$INST_LINGUAS $presentlang"
10853 if test -n "$INST_LINGUAS"; then
10854 for lang in $INST_LINGUAS; do
10855 CATALOGS="$CATALOGS $lang.gmo"
10858 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10859 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10860 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10861 if test -f "$f"; then
10863 *.orig | *.bak | *~) ;;
10864 *) cat "$f" >> "$ac_dir/Makefile" ;;
10879 ac_clean_files=$ac_clean_files_save
10881 test $ac_write_fail = 0 ||
10882 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10885 # configure is writing to config.log, and then calls config.status.
10886 # config.status does its own redirection, appending to config.log.
10887 # Unfortunately, on DOS this fails, as config.log is still kept open
10888 # by configure, so config.status won't be able to write to it; its
10889 # output is simply discarded. So we exec the FD to /dev/null,
10890 # effectively closing config.log, so it can be properly (re)opened and
10891 # appended to by config.status. When coming back to configure, we
10892 # need to make the FD available again.
10893 if test "$no_create" != yes; then
10895 ac_config_status_args=
10896 test "$silent" = yes &&
10897 ac_config_status_args="$ac_config_status_args --quiet"
10899 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10901 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10902 # would make configure fail if this is the last instruction.
10903 $ac_cs_success || as_fn_exit $?
10905 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10907 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10911 # We only generate the build.sh if we have a build.sh.in; we won't have
10912 # one before we've created a distribution.
10913 if test -f "$srcdir/build.sh.in"; then
10914 ./config.status --file build.sh