2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="quota.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
647 program_transform_name
660 enable_option_checking
662 enable_strip_binaries
675 ac_precious_vars='build_alias
689 # Initialize some variables set by options.
691 ac_init_version=false
692 ac_unrecognized_opts=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
703 program_transform_name=s,x,x,
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE}'
728 infodir='${datarootdir}/info'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\$ac_option
749 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 # Accept the important Cygnus configure options, so we can diagnose typos.
755 case $ac_dashdash$ac_option in
759 -bindir | --bindir | --bindi | --bind | --bin | --bi)
761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 -build | --build | --buil | --bui | --bu)
765 ac_prev=build_alias ;;
766 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
767 build_alias=$ac_optarg ;;
769 -cache-file | --cache-file | --cache-fil | --cache-fi \
770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
771 ac_prev=cache_file ;;
772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
774 cache_file=$ac_optarg ;;
777 cache_file=config.cache ;;
779 -datadir | --datadir | --datadi | --datad)
781 -datadir=* | --datadir=* | --datadi=* | --datad=*)
782 datadir=$ac_optarg ;;
784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
785 | --dataroo | --dataro | --datar)
786 ac_prev=datarootdir ;;
787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
789 datarootdir=$ac_optarg ;;
791 -disable-* | --disable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
805 eval enable_$ac_useropt=no ;;
807 -docdir | --docdir | --docdi | --doc | --do)
809 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817 -enable-* | --enable-*)
818 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819 # Reject names that are not valid shell variable names.
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821 as_fn_error "invalid feature name: $ac_useropt"
822 ac_useropt_orig=$ac_useropt
823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824 case $ac_user_opts in
828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
829 ac_unrecognized_sep=', ';;
831 eval enable_$ac_useropt=\$ac_optarg ;;
833 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
834 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
835 | --exec | --exe | --ex)
836 ac_prev=exec_prefix ;;
837 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
838 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
839 | --exec=* | --exe=* | --ex=*)
840 exec_prefix=$ac_optarg ;;
842 -gas | --gas | --ga | --g)
843 # Obsolete; use --with-gas.
846 -help | --help | --hel | --he | -h)
848 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
849 ac_init_help=recursive ;;
850 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
851 ac_init_help=short ;;
853 -host | --host | --hos | --ho)
854 ac_prev=host_alias ;;
855 -host=* | --host=* | --hos=* | --ho=*)
856 host_alias=$ac_optarg ;;
858 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
860 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
862 htmldir=$ac_optarg ;;
864 -includedir | --includedir | --includedi | --included | --include \
865 | --includ | --inclu | --incl | --inc)
866 ac_prev=includedir ;;
867 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
868 | --includ=* | --inclu=* | --incl=* | --inc=*)
869 includedir=$ac_optarg ;;
871 -infodir | --infodir | --infodi | --infod | --info | --inf)
873 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
874 infodir=$ac_optarg ;;
876 -libdir | --libdir | --libdi | --libd)
878 -libdir=* | --libdir=* | --libdi=* | --libd=*)
881 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
882 | --libexe | --libex | --libe)
883 ac_prev=libexecdir ;;
884 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
885 | --libexe=* | --libex=* | --libe=*)
886 libexecdir=$ac_optarg ;;
888 -localedir | --localedir | --localedi | --localed | --locale)
890 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
891 localedir=$ac_optarg ;;
893 -localstatedir | --localstatedir | --localstatedi | --localstated \
894 | --localstate | --localstat | --localsta | --localst | --locals)
895 ac_prev=localstatedir ;;
896 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
897 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
898 localstatedir=$ac_optarg ;;
900 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
902 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
906 # Obsolete; use --without-fp.
909 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
910 | --no-cr | --no-c | -n)
913 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
914 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
918 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
919 | --oldin | --oldi | --old | --ol | --o)
920 ac_prev=oldincludedir ;;
921 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
922 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
923 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
924 oldincludedir=$ac_optarg ;;
926 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
928 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931 -program-prefix | --program-prefix | --program-prefi | --program-pref \
932 | --program-pre | --program-pr | --program-p)
933 ac_prev=program_prefix ;;
934 -program-prefix=* | --program-prefix=* | --program-prefi=* \
935 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
936 program_prefix=$ac_optarg ;;
938 -program-suffix | --program-suffix | --program-suffi | --program-suff \
939 | --program-suf | --program-su | --program-s)
940 ac_prev=program_suffix ;;
941 -program-suffix=* | --program-suffix=* | --program-suffi=* \
942 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
943 program_suffix=$ac_optarg ;;
945 -program-transform-name | --program-transform-name \
946 | --program-transform-nam | --program-transform-na \
947 | --program-transform-n | --program-transform- \
948 | --program-transform | --program-transfor \
949 | --program-transfo | --program-transf \
950 | --program-trans | --program-tran \
951 | --progr-tra | --program-tr | --program-t)
952 ac_prev=program_transform_name ;;
953 -program-transform-name=* | --program-transform-name=* \
954 | --program-transform-nam=* | --program-transform-na=* \
955 | --program-transform-n=* | --program-transform-=* \
956 | --program-transform=* | --program-transfor=* \
957 | --program-transfo=* | --program-transf=* \
958 | --program-trans=* | --program-tran=* \
959 | --progr-tra=* | --program-tr=* | --program-t=*)
960 program_transform_name=$ac_optarg ;;
962 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
964 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967 -psdir | --psdir | --psdi | --psd | --ps)
969 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
973 | -silent | --silent | --silen | --sile | --sil)
976 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
978 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
980 sbindir=$ac_optarg ;;
982 -sharedstatedir | --sharedstatedir | --sharedstatedi \
983 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
984 | --sharedst | --shareds | --shared | --share | --shar \
986 ac_prev=sharedstatedir ;;
987 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
988 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
989 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
991 sharedstatedir=$ac_optarg ;;
993 -site | --site | --sit)
995 -site=* | --site=* | --sit=*)
998 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1000 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1001 srcdir=$ac_optarg ;;
1003 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1004 | --syscon | --sysco | --sysc | --sys | --sy)
1005 ac_prev=sysconfdir ;;
1006 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1007 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1008 sysconfdir=$ac_optarg ;;
1010 -target | --target | --targe | --targ | --tar | --ta | --t)
1011 ac_prev=target_alias ;;
1012 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1013 target_alias=$ac_optarg ;;
1015 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018 -version | --version | --versio | --versi | --vers | -V)
1019 ac_init_version=: ;;
1022 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error "invalid package name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1035 eval with_$ac_useropt=\$ac_optarg ;;
1037 -without-* | --without-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error "invalid package name: $ac_useropt"
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1051 eval with_$ac_useropt=no ;;
1054 # Obsolete; use --with-x.
1057 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1058 | --x-incl | --x-inc | --x-in | --x-i)
1059 ac_prev=x_includes ;;
1060 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1061 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1062 x_includes=$ac_optarg ;;
1064 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1065 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1066 ac_prev=x_libraries ;;
1067 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1068 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069 x_libraries=$ac_optarg ;;
1071 -*) as_fn_error "unrecognized option: \`$ac_option'
1072 Try \`$0 --help' for more information."
1076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1077 # Reject names that are not valid shell variable names.
1078 case $ac_envvar in #(
1079 '' | [0-9]* | *[!_$as_cr_alnum]* )
1080 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1082 eval $ac_envvar=\$ac_optarg
1083 export $ac_envvar ;;
1086 # FIXME: should be removed in autoconf 3.0.
1087 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1096 if test -n "$ac_prev"; then
1097 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098 as_fn_error "missing argument to $ac_option"
1101 if test -n "$ac_unrecognized_opts"; then
1102 case $enable_option_checking in
1104 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1105 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1109 # Check all directory arguments for consistency.
1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1115 eval ac_val=\$$ac_var
1116 # Remove trailing slashes.
1119 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1120 eval $ac_var=\$ac_val;;
1122 # Be sure to have absolute directory names.
1124 [\\/$]* | ?:[\\/]* ) continue;;
1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1127 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1130 # There might be people who depend on the old broken behavior: `$host'
1131 # used to hold the argument of --host etc.
1132 # FIXME: To remove some day.
1135 target=$target_alias
1137 # FIXME: To remove some day.
1138 if test "x$host_alias" != x; then
1139 if test "x$build_alias" = x; then
1140 cross_compiling=maybe
1141 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1142 If a cross compiler is detected then cross compile mode will be used." >&2
1143 elif test "x$build_alias" != "x$host_alias"; then
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151 test "$silent" = yes && exec 6>/dev/null
1154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di=`ls -di .` &&
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error "working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error "pwd does not report name of working directory"
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 $as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1194 ac_srcdir_defaulted=no
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222 # Report the --help message.
1224 if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1228 \`configure' configures this package to adapt to many kinds of systems.
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE. See below for descriptions of some of the useful variables.
1235 Defaults for the options are specified in brackets.
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248 Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1259 For better control, use the options below.
1261 Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1287 if test -n "$ac_init_help"; then
1292 --disable-option-checking ignore unrecognized --enable/--with options
1293 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1294 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1295 --enable-static-link=yes/no Link all binaries statically default=no.
1296 --enable-strip-binaries=yes/no Strip binaries while installing them default=yes.
1297 --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no.
1298 --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try.
1299 --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no.
1300 --enable-rpc=yes/no Enable RPC support default=yes.
1301 --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no.
1302 --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no.
1303 --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes.
1304 --enable-libefence=yes/no Use Electric Fence memory checks default=no.
1305 --enable-nls=yes/no Enable gettext default=yes.
1306 --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no.
1307 --enable-proc-mounts=path Use alternate file instead of /etc/mtab default=/proc/mounts.
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1318 PKG_CONFIG path to pkg-config utility
1319 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1320 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to the package provider.
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" ||
1334 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342 # A ".." for each directory in $ac_dir_suffix.
1343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344 case $ac_top_builddir_sub in
1345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349 ac_abs_top_builddir=$ac_pwd
1350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir=$ac_top_build_prefix
1355 .) # We are building in place.
1357 ac_top_srcdir=$ac_top_builddir_sub
1358 ac_abs_top_srcdir=$ac_pwd ;;
1359 [\\/]* | ?:[\\/]* ) # Absolute name.
1360 ac_srcdir=$srcdir$ac_dir_suffix;
1361 ac_top_srcdir=$srcdir
1362 ac_abs_top_srcdir=$srcdir ;;
1364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365 ac_top_srcdir=$ac_top_build_prefix$srcdir
1366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370 cd "$ac_dir" || { ac_status=$?; continue; }
1371 # Check for guested configure.
1372 if test -f "$ac_srcdir/configure.gnu"; then
1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375 elif test -f "$ac_srcdir/configure"; then
1377 $SHELL "$ac_srcdir/configure" --help=recursive
1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 cd "$ac_pwd" || { ac_status=$?; break; }
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1389 generated by GNU Autoconf 2.65
1391 Copyright (C) 2009 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile ()
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext
1409 if { { ac_try="$ac_compile"
1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_compile") 2>conftest.err
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest.$ac_objext; then :
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1436 as_fn_set_status $ac_retval
1438 } # ac_fn_c_try_compile
1440 # ac_fn_c_try_cpp LINENO
1441 # ----------------------
1442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446 if { { ac_try="$ac_cpp conftest.$ac_ext"
1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449 *) ac_try_echo=$ac_try;;
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1455 if test -s conftest.err; then
1456 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } >/dev/null && {
1462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1463 test ! -s conftest.err
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473 as_fn_set_status $ac_retval
1477 # ac_fn_c_try_run LINENO
1478 # ----------------------
1479 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1480 # that executables *can* be run.
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 if { { ac_try="$ac_link"
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;;
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_link") 2>&5
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1495 { { case "(($ac_try" in
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_try") 2>&5
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; }; }; then :
1507 $as_echo "$as_me: program exited with status $ac_status" >&5
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1511 ac_retval=$ac_status
1513 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1514 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1515 as_fn_set_status $ac_retval
1519 # ac_fn_c_try_link LINENO
1520 # -----------------------
1521 # Try to link conftest.$ac_ext, and return whether this succeeded.
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext conftest$ac_exeext
1526 if { { ac_try="$ac_link"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_link") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest$ac_exeext && {
1545 test "$cross_compiling" = yes ||
1546 $as_test_x conftest$ac_exeext
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1555 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1556 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1557 # interfere with the next link command; also delete a directory that is
1558 # left behind by Apple's compiler. We do this before executing the actions.
1559 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_c_try_link
1565 # ac_fn_c_check_decl LINENO SYMBOL VAR
1566 # ------------------------------------
1567 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1568 ac_fn_c_check_decl ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1572 $as_echo_n "checking whether $2 is declared... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574 $as_echo_n "(cached) " >&6
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1590 if ac_fn_c_try_compile "$LINENO"; then :
1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1599 $as_echo "$ac_res" >&6; }
1600 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 } # ac_fn_c_check_decl
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1681 eval "$3=\$ac_header_compiler"
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1692 # -------------------------------------------------------
1693 # Tests whether HEADER exists and can be compiled using the include files in
1694 # INCLUDES, setting the cache variable VAR accordingly.
1695 ac_fn_c_check_header_compile ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701 $as_echo_n "(cached) " >&6
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1708 if ac_fn_c_try_compile "$LINENO"; then :
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 } # ac_fn_c_check_header_compile
1721 cat >config.log <<_ACEOF
1722 This file contains any messages produced by compilers while
1723 running configure, to aid debugging if configure makes a mistake.
1725 It was created by $as_me, which was
1726 generated by GNU Autoconf 2.65. Invocation command line was
1738 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1739 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1740 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1741 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1742 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1744 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1745 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1747 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1748 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1749 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1750 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1751 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1752 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1753 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 $as_echo "PATH: $as_dir"
1778 # Keep a trace of the command line.
1779 # Strip out --no-create and --no-recursion so they do not pile up.
1780 # Strip out --silent because we don't want to record it for future runs.
1781 # Also quote any args containing shell meta-characters.
1782 # Make two passes to allow for proper duplicate-argument suppression.
1786 ac_must_keep_next=false
1792 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1794 | -silent | --silent | --silen | --sile | --sil)
1797 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1800 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1802 as_fn_append ac_configure_args1 " '$ac_arg'"
1803 if test $ac_must_keep_next = true; then
1804 ac_must_keep_next=false # Got value, back to normal.
1807 *=* | --config-cache | -C | -disable-* | --disable-* \
1808 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1809 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1810 | -with-* | --with-* | -without-* | --without-* | --x)
1811 case "$ac_configure_args0 " in
1812 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1815 -* ) ac_must_keep_next=true ;;
1818 as_fn_append ac_configure_args " '$ac_arg'"
1823 { ac_configure_args0=; unset ac_configure_args0;}
1824 { ac_configure_args1=; unset ac_configure_args1;}
1826 # When interrupted or exit'd, cleanup temporary files, and complete
1827 # config.log. We remove comments because anyway the quotes in there
1828 # would cause problems or look ugly.
1829 # WARNING: Use '\'' to represent an apostrophe within the trap.
1830 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1831 trap 'exit_status=$?
1832 # Save into config.log some information that might help in debugging.
1837 ## ---------------- ##
1838 ## Cache variables. ##
1839 ## ---------------- ##
1842 # The following way of writing the cache mishandles newlines in values,
1844 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1845 eval ac_val=\$$ac_var
1849 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1853 _ | IFS | as_nl) ;; #(
1854 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1855 *) { eval $ac_var=; unset $ac_var;} ;;
1860 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1861 *${as_nl}ac_space=\ *)
1863 "s/'\''/'\''\\\\'\'''\''/g;
1864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1867 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1875 ## ----------------- ##
1876 ## Output variables. ##
1877 ## ----------------- ##
1880 for ac_var in $ac_subst_vars
1882 eval ac_val=\$$ac_var
1884 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1886 $as_echo "$ac_var='\''$ac_val'\''"
1890 if test -n "$ac_subst_files"; then
1892 ## ------------------- ##
1893 ## File substitutions. ##
1894 ## ------------------- ##
1897 for ac_var in $ac_subst_files
1899 eval ac_val=\$$ac_var
1901 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1903 $as_echo "$ac_var='\''$ac_val'\''"
1908 if test -s confdefs.h; then
1918 test "$ac_signal" != 0 &&
1919 $as_echo "$as_me: caught signal $ac_signal"
1920 $as_echo "$as_me: exit $exit_status"
1922 rm -f core *.core core.conftest.* &&
1923 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1926 for ac_signal in 1 2 13 15; do
1927 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1931 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1932 rm -f -r conftest* confdefs.h
1934 $as_echo "/* confdefs.h */" > confdefs.h
1936 # Predefined preprocessor variables.
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_NAME "$PACKAGE_NAME"
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1946 cat >>confdefs.h <<_ACEOF
1947 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_STRING "$PACKAGE_STRING"
1954 cat >>confdefs.h <<_ACEOF
1955 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE_URL "$PACKAGE_URL"
1963 # Let the site file select an alternate cache file if it wants to.
1964 # Prefer an explicitly selected file to automatically selected ones.
1967 if test -n "$CONFIG_SITE"; then
1968 ac_site_file1=$CONFIG_SITE
1969 elif test "x$prefix" != xNONE; then
1970 ac_site_file1=$prefix/share/config.site
1971 ac_site_file2=$prefix/etc/config.site
1973 ac_site_file1=$ac_default_prefix/share/config.site
1974 ac_site_file2=$ac_default_prefix/etc/config.site
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1978 test "x$ac_site_file" = xNONE && continue
1979 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982 sed 's/^/| /' "$ac_site_file" >&5
1987 if test -r "$cache_file"; then
1988 # Some versions of bash will fail to source /dev/null (special files
1989 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1990 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1992 $as_echo "$as_me: loading cache $cache_file" >&6;}
1994 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1995 *) . "./$cache_file";;
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2000 $as_echo "$as_me: creating cache $cache_file" >&6;}
2004 # Check that the precious variables saved in the cache have kept the same
2006 ac_cache_corrupted=false
2007 for ac_var in $ac_precious_vars; do
2008 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2009 eval ac_new_set=\$ac_env_${ac_var}_set
2010 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2011 eval ac_new_val=\$ac_env_${ac_var}_value
2012 case $ac_old_set,$ac_new_set in
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2016 ac_cache_corrupted=: ;;
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2019 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2020 ac_cache_corrupted=: ;;
2023 if test "x$ac_old_val" != "x$ac_new_val"; then
2024 # differences in whitespace do not lead to failure.
2025 ac_old_val_w=`echo x $ac_old_val`
2026 ac_new_val_w=`echo x $ac_new_val`
2027 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2029 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2030 ac_cache_corrupted=:
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2033 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2034 eval $ac_var=\$ac_old_val
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2037 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2039 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2042 # Pass precious variables to config.status.
2043 if test "$ac_new_set" = set; then
2045 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2046 *) ac_arg=$ac_var=$ac_new_val ;;
2048 case " $ac_configure_args " in
2049 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2050 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2054 if $ac_cache_corrupted; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2058 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2059 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2061 ## -------------------- ##
2062 ## Main body of script. ##
2063 ## -------------------- ##
2066 ac_cpp='$CPP $CPPFLAGS'
2067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2072 ac_config_headers="$ac_config_headers config.h"
2076 ac_cpp='$CPP $CPPFLAGS'
2077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2080 if test -n "$ac_tool_prefix"; then
2081 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if test "${ac_cv_prog_CC+set}" = set; then :
2086 $as_echo_n "(cached) " >&6
2088 if test -n "$CC"; then
2089 ac_cv_prog_CC="$CC" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test -n "$CC"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2111 $as_echo "$CC" >&6; }
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 $as_echo "no" >&6; }
2119 if test -z "$ac_cv_prog_CC"; then
2121 # Extract the first word of "gcc", so it can be a program name with args.
2122 set dummy gcc; ac_word=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2126 $as_echo_n "(cached) " >&6
2128 if test -n "$ac_ct_CC"; then
2129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_ac_ct_CC="gcc"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2149 if test -n "$ac_ct_CC"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2151 $as_echo "$ac_ct_CC" >&6; }
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2157 if test "x$ac_ct_CC" = x; then
2160 case $cross_compiling:$ac_tool_warned in
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2164 ac_tool_warned=yes ;;
2172 if test -z "$CC"; then
2173 if test -n "$ac_tool_prefix"; then
2174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2175 set dummy ${ac_tool_prefix}cc; ac_word=$2
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2177 $as_echo_n "checking for $ac_word... " >&6; }
2178 if test "${ac_cv_prog_CC+set}" = set; then :
2179 $as_echo_n "(cached) " >&6
2181 if test -n "$CC"; then
2182 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_CC="${ac_tool_prefix}cc"
2192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$CC"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2204 $as_echo "$CC" >&6; }
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2207 $as_echo "no" >&6; }
2213 if test -z "$CC"; then
2214 # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2217 $as_echo_n "checking for $ac_word... " >&6; }
2218 if test "${ac_cv_prog_CC+set}" = set; then :
2219 $as_echo_n "(cached) " >&6
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233 ac_prog_rejected=yes
2237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test $ac_prog_rejected = yes; then
2245 # We found a bogon in the path, so make sure we never use it.
2246 set dummy $ac_cv_prog_CC
2248 if test $# != 0; then
2249 # We chose a different compiler from the bogus one.
2250 # However, it has the same basename, so the bogon will be chosen
2251 # first if we set CC to just the basename; use the full file name.
2253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2259 if test -n "$CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2269 if test -z "$CC"; then
2270 if test -n "$ac_tool_prefix"; then
2271 for ac_prog in cl.exe
2273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2276 $as_echo_n "checking for $ac_word... " >&6; }
2277 if test "${ac_cv_prog_CC+set}" = set; then :
2278 $as_echo_n "(cached) " >&6
2280 if test -n "$CC"; then
2281 ac_cv_prog_CC="$CC" # Let the user override the test.
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 if test -n "$CC"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2303 $as_echo "$CC" >&6; }
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306 $as_echo "no" >&6; }
2310 test -n "$CC" && break
2313 if test -z "$CC"; then
2315 for ac_prog in cl.exe
2317 # Extract the first word of "$ac_prog", so it can be a program name with args.
2318 set dummy $ac_prog; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$ac_ct_CC"; then
2325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_ac_ct_CC="$ac_prog"
2335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2347 $as_echo "$ac_ct_CC" >&6; }
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2354 test -n "$ac_ct_CC" && break
2357 if test "x$ac_ct_CC" = x; then
2360 case $cross_compiling:$ac_tool_warned in
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2364 ac_tool_warned=yes ;;
2373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2375 as_fn_error "no acceptable C compiler found in \$PATH
2376 See \`config.log' for more details." "$LINENO" 5; }
2378 # Provide some information about the compiler.
2379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2382 for ac_option in --version -v -V -qversion; do
2383 { { ac_try="$ac_compiler $ac_option >&5"
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2392 if test -s conftest.err; then
2394 ... rest of stderr output deleted ...
2395 10q' conftest.err >conftest.er1
2396 cat conftest.er1 >&5
2398 rm -f conftest.er1 conftest.err
2399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2400 test $ac_status = 0; }
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2414 ac_clean_files_save=$ac_clean_files
2415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2416 # Try to create an executable without -o first, disregard a.out.
2417 # It will help us diagnose broken compilers, and finding out an intuition
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2420 $as_echo_n "checking whether the C compiler works... " >&6; }
2421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 # The possible output files:
2424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2427 for ac_file in $ac_files
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2436 if { { ac_try="$ac_link_default"
2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439 *) ac_try_echo=$ac_try;;
2441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2442 $as_echo "$ac_try_echo"; } >&5
2443 (eval "$ac_link_default") 2>&5
2445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2446 test $ac_status = 0; }; then :
2447 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2449 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2450 # so that the user can short-circuit this test for compilers unknown to
2452 for ac_file in $ac_files ''
2454 test -f "$ac_file" || continue
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2459 # We found the default executable, but exeext='' is most
2463 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2465 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467 # We set ac_cv_exeext here because the later test for it is not
2468 # safe: cross compilers may not add the suffix if given an `-o'
2469 # argument, so we may need to know it at that point already.
2470 # Even if this section looks crufty: it has the advantage of
2477 test "$ac_cv_exeext" = no && ac_cv_exeext=
2482 if test -z "$ac_file"; then :
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { as_fn_set_status 77
2491 as_fn_error "C compiler cannot create executables
2492 See \`config.log' for more details." "$LINENO" 5; }; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2495 $as_echo "yes" >&6; }
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2498 $as_echo_n "checking for C compiler default output file name... " >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2500 $as_echo "$ac_file" >&6; }
2501 ac_exeext=$ac_cv_exeext
2503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2506 $as_echo_n "checking for suffix of executables... " >&6; }
2507 if { { ac_try="$ac_link"
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514 (eval "$ac_link") 2>&5
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; }; then :
2518 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2519 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2520 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 for ac_file in conftest.exe conftest conftest.*; do
2523 test -f "$ac_file" || continue
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 as_fn_error "cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." "$LINENO" 5; }
2537 rm -f conftest conftest$ac_cv_exeext
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2539 $as_echo "$ac_cv_exeext" >&6; }
2541 rm -f conftest.$ac_ext
2542 EXEEXT=$ac_cv_exeext
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2550 FILE *f = fopen ("conftest.out", "w");
2551 return ferror (f) || fclose (f) != 0;
2557 ac_clean_files="$ac_clean_files conftest.out"
2558 # Check that the compiler produces executables we can run. If not, either
2559 # the compiler is broken, or we cross compile.
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2561 $as_echo_n "checking whether we are cross compiling... " >&6; }
2562 if test "$cross_compiling" != yes; then
2563 { { ac_try="$ac_link"
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_link") 2>&5
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; }
2574 if { ac_try='./conftest$ac_cv_exeext'
2575 { { case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_try") 2>&5
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }; }; then
2587 if test "$cross_compiling" = maybe; then
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error "cannot run C compiled programs.
2593 If you meant to cross compile, use \`--host'.
2594 See \`config.log' for more details." "$LINENO" 5; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2599 $as_echo "$cross_compiling" >&6; }
2601 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2602 ac_clean_files=$ac_clean_files_save
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2604 $as_echo_n "checking for suffix of object files... " >&6; }
2605 if test "${ac_cv_objext+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2619 rm -f conftest.o conftest.obj
2620 if { { ac_try="$ac_compile"
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_compile") 2>&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }; then :
2631 for ac_file in conftest.o conftest.obj conftest.*; do
2632 test -f "$ac_file" || continue;
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645 as_fn_error "cannot compute suffix of object files: cannot compile
2646 See \`config.log' for more details." "$LINENO" 5; }
2648 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2651 $as_echo "$ac_cv_objext" >&6; }
2652 OBJEXT=$ac_cv_objext
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2656 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2657 $as_echo_n "(cached) " >&6
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2673 if ac_fn_c_try_compile "$LINENO"; then :
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2684 if test $ac_compiler_gnu = yes; then
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2693 if test "${ac_cv_prog_cc_g+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 ac_save_c_werror_flag=$ac_c_werror_flag
2697 ac_c_werror_flag=yes
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2711 if ac_fn_c_try_compile "$LINENO"; then :
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2726 if ac_fn_c_try_compile "$LINENO"; then :
2729 ac_c_werror_flag=$ac_save_c_werror_flag
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2742 if ac_fn_c_try_compile "$LINENO"; then :
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 ac_c_werror_flag=$ac_save_c_werror_flag
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2753 $as_echo "$ac_cv_prog_cc_g" >&6; }
2754 if test "$ac_test_CFLAGS" = set; then
2755 CFLAGS=$ac_save_CFLAGS
2756 elif test $ac_cv_prog_cc_g = yes; then
2757 if test "$GCC" = yes; then
2763 if test "$GCC" = yes; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2771 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2774 ac_cv_prog_cc_c89=no
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 #include <sys/types.h>
2781 #include <sys/stat.h>
2782 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2783 struct buf { int x; };
2784 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2785 static char *e (p, i)
2791 static char *f (char * (*g) (char **, int), char **p, ...)
2796 s = g (p, va_arg (v,int));
2801 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2802 function prototypes and stuff, but not '\xHH' hex character constants.
2803 These don't provoke an error unfortunately, instead are silently treated
2804 as 'x'. The following induces an error, until -std is added to get
2805 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2806 array size at least. It's necessary to write '\x00'==0 to get something
2807 that's true only with -std. */
2808 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2810 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2811 inside strings and character constants. */
2813 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2815 int test (int i, double x);
2816 struct s1 {int (*f) (int a);};
2817 struct s2 {int (*f) (double a);};
2818 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2824 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2829 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2830 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2832 CC="$ac_save_CC $ac_arg"
2833 if ac_fn_c_try_compile "$LINENO"; then :
2834 ac_cv_prog_cc_c89=$ac_arg
2836 rm -f core conftest.err conftest.$ac_objext
2837 test "x$ac_cv_prog_cc_c89" != "xno" && break
2839 rm -f conftest.$ac_ext
2844 case "x$ac_cv_prog_cc_c89" in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2847 $as_echo "none needed" >&6; } ;;
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2850 $as_echo "unsupported" >&6; } ;;
2852 CC="$CC $ac_cv_prog_cc_c89"
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2856 if test "x$ac_cv_prog_cc_c89" != xno; then :
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2873 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2874 # On Suns, sometimes $CPP names a directory.
2875 if test -n "$CPP" && test -d "$CPP"; then
2878 if test -z "$CPP"; then
2879 if test "${ac_cv_prog_CPP+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 # Double quotes because CPP needs to be expanded
2883 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2886 for ac_c_preproc_warn_flag in '' yes
2888 # Use a header file that comes with gcc, so configuring glibc
2889 # with a fresh cross-compiler works.
2890 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 # <limits.h> exists even on freestanding compilers.
2892 # On the NeXT, cc -E runs the code through the compiler's parser,
2893 # not just through cpp. "Syntax error" is here to catch this case.
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2897 # include <limits.h>
2899 # include <assert.h>
2903 if ac_fn_c_try_cpp "$LINENO"; then :
2906 # Broken: fails on valid input.
2909 rm -f conftest.err conftest.$ac_ext
2911 # OK, works on sane cases. Now check whether nonexistent headers
2912 # can be detected and how.
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2915 #include <ac_nonexistent.h>
2917 if ac_fn_c_try_cpp "$LINENO"; then :
2918 # Broken: success on invalid input.
2921 # Passes both tests.
2925 rm -f conftest.err conftest.$ac_ext
2928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2929 rm -f conftest.err conftest.$ac_ext
2930 if $ac_preproc_ok; then :
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2943 $as_echo "$CPP" >&6; }
2945 for ac_c_preproc_warn_flag in '' yes
2947 # Use a header file that comes with gcc, so configuring glibc
2948 # with a fresh cross-compiler works.
2949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950 # <limits.h> exists even on freestanding compilers.
2951 # On the NeXT, cc -E runs the code through the compiler's parser,
2952 # not just through cpp. "Syntax error" is here to catch this case.
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2956 # include <limits.h>
2958 # include <assert.h>
2962 if ac_fn_c_try_cpp "$LINENO"; then :
2965 # Broken: fails on valid input.
2968 rm -f conftest.err conftest.$ac_ext
2970 # OK, works on sane cases. Now check whether nonexistent headers
2971 # can be detected and how.
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2974 #include <ac_nonexistent.h>
2976 if ac_fn_c_try_cpp "$LINENO"; then :
2977 # Broken: success on invalid input.
2980 # Passes both tests.
2984 rm -f conftest.err conftest.$ac_ext
2987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2988 rm -f conftest.err conftest.$ac_ext
2989 if $ac_preproc_ok; then :
2992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error "C preprocessor \"$CPP\" fails sanity check
2995 See \`config.log' for more details." "$LINENO" 5; }
2999 ac_cpp='$CPP $CPPFLAGS'
3000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3006 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3007 if test "${ac_cv_path_GREP+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -z "$GREP"; then
3011 ac_path_GREP_found=false
3012 # Loop through the user's path and test for each of PROGNAME-LIST
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3017 test -z "$as_dir" && as_dir=.
3018 for ac_prog in grep ggrep; do
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3021 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3022 # Check for GNU ac_path_GREP and select it if it is found.
3023 # Check for GNU $ac_path_GREP
3024 case `"$ac_path_GREP" --version 2>&1` in
3026 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3029 $as_echo_n 0123456789 >"conftest.in"
3032 cat "conftest.in" "conftest.in" >"conftest.tmp"
3033 mv "conftest.tmp" "conftest.in"
3034 cp "conftest.in" "conftest.nl"
3035 $as_echo 'GREP' >> "conftest.nl"
3036 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3037 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3038 as_fn_arith $ac_count + 1 && ac_count=$as_val
3039 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3040 # Best one so far, save it but keep looking for a better one
3041 ac_cv_path_GREP="$ac_path_GREP"
3042 ac_path_GREP_max=$ac_count
3044 # 10*(2^10) chars as input seems more than enough
3045 test $ac_count -gt 10 && break
3047 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3050 $ac_path_GREP_found && break 3
3055 if test -z "$ac_cv_path_GREP"; then
3056 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3059 ac_cv_path_GREP=$GREP
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3064 $as_echo "$ac_cv_path_GREP" >&6; }
3065 GREP="$ac_cv_path_GREP"
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3069 $as_echo_n "checking for egrep... " >&6; }
3070 if test "${ac_cv_path_EGREP+set}" = set; then :
3071 $as_echo_n "(cached) " >&6
3073 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3074 then ac_cv_path_EGREP="$GREP -E"
3076 if test -z "$EGREP"; then
3077 ac_path_EGREP_found=false
3078 # Loop through the user's path and test for each of PROGNAME-LIST
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3083 test -z "$as_dir" && as_dir=.
3084 for ac_prog in egrep; do
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3087 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3088 # Check for GNU ac_path_EGREP and select it if it is found.
3089 # Check for GNU $ac_path_EGREP
3090 case `"$ac_path_EGREP" --version 2>&1` in
3092 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3095 $as_echo_n 0123456789 >"conftest.in"
3098 cat "conftest.in" "conftest.in" >"conftest.tmp"
3099 mv "conftest.tmp" "conftest.in"
3100 cp "conftest.in" "conftest.nl"
3101 $as_echo 'EGREP' >> "conftest.nl"
3102 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3103 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3104 as_fn_arith $ac_count + 1 && ac_count=$as_val
3105 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3106 # Best one so far, save it but keep looking for a better one
3107 ac_cv_path_EGREP="$ac_path_EGREP"
3108 ac_path_EGREP_max=$ac_count
3110 # 10*(2^10) chars as input seems more than enough
3111 test $ac_count -gt 10 && break
3113 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3116 $ac_path_EGREP_found && break 3
3121 if test -z "$ac_cv_path_EGREP"; then
3122 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3125 ac_cv_path_EGREP=$EGREP
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3131 $as_echo "$ac_cv_path_EGREP" >&6; }
3132 EGREP="$ac_cv_path_EGREP"
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3136 $as_echo_n "checking for ANSI C header files... " >&6; }
3137 if test "${ac_cv_header_stdc+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3155 if ac_fn_c_try_compile "$LINENO"; then :
3156 ac_cv_header_stdc=yes
3158 ac_cv_header_stdc=no
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 if test $ac_cv_header_stdc = yes; then
3163 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3170 $EGREP "memchr" >/dev/null 2>&1; then :
3173 ac_cv_header_stdc=no
3179 if test $ac_cv_header_stdc = yes; then
3180 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3187 $EGREP "free" >/dev/null 2>&1; then :
3190 ac_cv_header_stdc=no
3196 if test $ac_cv_header_stdc = yes; then
3197 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3198 if test "$cross_compiling" = yes; then :
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3205 #if ((' ' & 0x0FF) == 0x020)
3206 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3207 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3209 # define ISLOWER(c) \
3210 (('a' <= (c) && (c) <= 'i') \
3211 || ('j' <= (c) && (c) <= 'r') \
3212 || ('s' <= (c) && (c) <= 'z'))
3213 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3216 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3221 for (i = 0; i < 256; i++)
3222 if (XOR (islower (i), ISLOWER (i))
3223 || toupper (i) != TOUPPER (i))
3228 if ac_fn_c_try_run "$LINENO"; then :
3231 ac_cv_header_stdc=no
3233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3234 conftest.$ac_objext conftest.beam conftest.$ac_ext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3240 $as_echo "$ac_cv_header_stdc" >&6; }
3241 if test $ac_cv_header_stdc = yes; then
3243 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3248 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3249 for ac_t in install-sh install.sh shtool; do
3250 if test -f "$ac_dir/$ac_t"; then
3252 ac_install_sh="$ac_aux_dir/$ac_t -c"
3257 if test -z "$ac_aux_dir"; then
3258 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3261 # These three variables are undocumented and unsupported,
3262 # and are intended to be withdrawn in a future Autoconf release.
3263 # They can cause serious problems if a builder's source tree is in a directory
3264 # whose full name contains unusual characters.
3265 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3266 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3267 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3270 # Find a good install program. We prefer a C program (faster),
3271 # so one script is as good as another. But avoid the broken or
3272 # incompatible versions:
3273 # SysV /etc/install, /usr/sbin/install
3274 # SunOS /usr/etc/install
3275 # IRIX /sbin/install
3277 # AmigaOS /C/install, which installs bootblocks on floppy discs
3278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3281 # OS/2's system install, which has a completely different semantic
3282 # ./install, which can be erroneously created by make from ./install.sh.
3283 # Reject install programs that cannot install multiple files.
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3285 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3286 if test -z "$INSTALL"; then
3287 if test "${ac_cv_path_install+set}" = set; then :
3288 $as_echo_n "(cached) " >&6
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir=.
3295 # Account for people who put trailing slashes in PATH elements.
3296 case $as_dir/ in #((
3297 ./ | .// | /[cC]/* | \
3298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3299 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3302 # OSF1 and SCO ODT 3.0 have their own names for install.
3303 # Don't use installbsd from OSF since it installs stuff as root
3305 for ac_prog in ginstall scoinst install; do
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3308 if test $ac_prog = install &&
3309 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3310 # AIX install. It has an incompatible calling convention.
3312 elif test $ac_prog = install &&
3313 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3314 # program-specific install script used by HP pwplus--don't use.
3317 rm -rf conftest.one conftest.two conftest.dir
3318 echo one > conftest.one
3319 echo two > conftest.two
3321 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3322 test -s conftest.one && test -s conftest.two &&
3323 test -s conftest.dir/conftest.one &&
3324 test -s conftest.dir/conftest.two
3326 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3339 rm -rf conftest.one conftest.two conftest.dir
3342 if test "${ac_cv_path_install+set}" = set; then
3343 INSTALL=$ac_cv_path_install
3345 # As a last resort, use the slow shell script. Don't cache a
3346 # value for INSTALL within a source directory, because that will
3347 # break other packages using the cache if that directory is
3348 # removed, or if the value is a relative name.
3349 INSTALL=$ac_install_sh
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3353 $as_echo "$INSTALL" >&6; }
3355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3356 # It thinks the first close brace ends the variable substitution.
3357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3364 # Check whether --enable-static-link was given.
3365 if test "${enable_static_link+set}" = set; then :
3366 enableval=$enable_static_link;
3368 enable_static_link="no"
3371 if test "x$enable_static_link" != "xyes"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports PIE" >&5
3373 $as_echo_n "checking whether compiler supports PIE... " >&6; }
3375 CFLAGS="$CFLAGS -fPIE"
3376 oldLDFLAGS="$LDFLAGS"
3377 LDFLAGS="$LDFLAGS -pie"
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3389 if ac_fn_c_try_link "$LINENO"; then :
3392 rm -f core conftest.err conftest.$ac_objext \
3393 conftest$ac_exeext conftest.$ac_ext
3394 if test "x$compilepie" != "xyes"; then
3396 LDFLAGS="$oldLDFLAGS"
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 $as_echo "yes" >&6; }
3404 CFLAGS="$CFLAGS -static"
3405 LDFLAGS="$LDFLAGS -static"
3408 # Check whether --enable-strip-binaries was given.
3409 if test "${enable_strip_binaries+set}" = set; then :
3410 enableval=$enable_strip_binaries;
3415 if test "x$enable_strip" = "xyes"; then
3421 # Check whether --enable-ldapmail was given.
3422 if test "${enable_ldapmail+set}" = set; then :
3423 enableval=$enable_ldapmail;
3425 enable_ldapmail="no"
3428 if test "x$enable_ldapmail" != "xno"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
3432 $as_echo_n "checking for ldap_initialize in -lldap... " >&6; }
3433 if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then :
3434 $as_echo_n "(cached) " >&6
3436 ac_check_lib_save_LIBS=$LIBS
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3441 /* Override any GCC internal prototype to avoid an error.
3442 Use char because int might match the return type of a GCC
3443 builtin and then its argument prototype would still apply. */
3447 char ldap_initialize ();
3451 return ldap_initialize ();
3456 if ac_fn_c_try_link "$LINENO"; then :
3457 ac_cv_lib_ldap_ldap_initialize=yes
3459 ac_cv_lib_ldap_ldap_initialize=no
3461 rm -f core conftest.err conftest.$ac_objext \
3462 conftest$ac_exeext conftest.$ac_ext
3463 LIBS=$ac_check_lib_save_LIBS
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
3466 $as_echo "$ac_cv_lib_ldap_ldap_initialize" >&6; }
3467 if test "x$ac_cv_lib_ldap_ldap_initialize" = x""yes; then :
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
3471 $as_echo_n "checking for ldap_init in -lldap... " >&6; }
3472 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_check_lib_save_LIBS=$LIBS
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3480 /* Override any GCC internal prototype to avoid an error.
3481 Use char because int might match the return type of a GCC
3482 builtin and then its argument prototype would still apply. */
3490 return ldap_init ();
3495 if ac_fn_c_try_link "$LINENO"; then :
3496 ac_cv_lib_ldap_ldap_init=yes
3498 ac_cv_lib_ldap_ldap_init=no
3500 rm -f core conftest.err conftest.$ac_objext \
3501 conftest$ac_exeext conftest.$ac_ext
3502 LIBS=$ac_check_lib_save_LIBS
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
3505 $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
3506 if test "x$ac_cv_lib_ldap_ldap_init" = x""yes; then :
3512 if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then
3513 LDAPLIBS="-L/usr/lib -lldap -llber"
3515 $as_echo "#define USE_LDAP_MAIL_LOOKUP 1" >>confdefs.h
3517 COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP"
3518 if test "x$have_new_ldap" = "xyes"; then
3520 $as_echo "#define USE_LDAP_23 1" >>confdefs.h
3522 ac_fn_c_check_decl "$LINENO" "ldap_perror" "ac_cv_have_decl_ldap_perror" "#include <ldap.h>
3524 if test "x$ac_cv_have_decl_ldap_perror" = x""yes; then :
3528 $as_echo "#define NEED_LDAP_PERROR 1" >>confdefs.h
3534 if test "x$enable_ldapmail" = "xyes"; then
3535 as_fn_error "LDAP support required but library not found." "$LINENO" 5;
3542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3543 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3544 inttypes.h stdint.h unistd.h
3546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3549 eval as_val=\$$as_ac_Header
3550 if test "x$as_val" = x""yes; then :
3551 cat >>confdefs.h <<_ACEOF
3552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3560 ac_fn_c_check_header_mongrel "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h" "$ac_includes_default"
3561 if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then :
3566 if test "x$ext2fshead" = "xyes"; then
3568 $as_echo "#define HAVE_EXT2_INCLUDE 1" >>confdefs.h
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t" >&5
3571 $as_echo_n "checking for ext2_ino_t... " >&6; }
3572 have_ext2_ino_t="no"
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3575 #include <ext2fs/ext2fs.h>
3578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3579 $EGREP "ext2_ino_t" >/dev/null 2>&1; then :
3580 have_ext2_ino_t="yes"
3584 if test "x$have_ext2_ino_t" != "xyes"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3586 $as_echo "not found" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3589 $as_echo "found" >&6; }
3591 $as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h
3596 # Check whether --enable-ext2direct was given.
3597 if test "${enable_ext2direct+set}" = set; then :
3598 enableval=$enable_ext2direct;
3600 enable_ext2direct="try"
3603 if test "x$enable_ext2direct" != "xno"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
3605 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
3606 if test "${ac_cv_lib_com_err_com_err+set}" = set; then :
3607 $as_echo_n "(cached) " >&6
3609 ac_check_lib_save_LIBS=$LIBS
3610 LIBS="-lcom_err $LIBS"
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3614 /* Override any GCC internal prototype to avoid an error.
3615 Use char because int might match the return type of a GCC
3616 builtin and then its argument prototype would still apply. */
3629 if ac_fn_c_try_link "$LINENO"; then :
3630 ac_cv_lib_com_err_com_err=yes
3632 ac_cv_lib_com_err_com_err=no
3634 rm -f core conftest.err conftest.$ac_objext \
3635 conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
3639 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
3640 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then :
3641 EXT2LIBS="-lcom_err $EXT2LIBS"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_initialize in -lext2fs" >&5
3645 $as_echo_n "checking for ext2fs_initialize in -lext2fs... " >&6; }
3646 if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then :
3647 $as_echo_n "(cached) " >&6
3649 ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-lext2fs "-lcom_err" $LIBS"
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3654 /* Override any GCC internal prototype to avoid an error.
3655 Use char because int might match the return type of a GCC
3656 builtin and then its argument prototype would still apply. */
3660 char ext2fs_initialize ();
3664 return ext2fs_initialize ();
3669 if ac_fn_c_try_link "$LINENO"; then :
3670 ac_cv_lib_ext2fs_ext2fs_initialize=yes
3672 ac_cv_lib_ext2fs_ext2fs_initialize=no
3674 rm -f core conftest.err conftest.$ac_objext \
3675 conftest$ac_exeext conftest.$ac_ext
3676 LIBS=$ac_check_lib_save_LIBS
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5
3679 $as_echo "$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; }
3680 if test "x$ac_cv_lib_ext2fs_ext2fs_initialize" = x""yes; then :
3681 EXT2LIBS="-lext2fs $EXT2LIBS"
3684 if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then
3685 if test "x$enable_ext2direct" = "xyes"; then
3686 as_fn_error "Ext2 direct support required but libraries not found." "$LINENO" 5
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5
3689 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;}
3691 enable_ext2direct="no"
3694 if test "x$ext2fshead" != "xyes"; then
3695 if test "x$enable_ext2direct" = "xyes"; then
3696 as_fn_error "Ext2 direct support required but header files not found." "$LINENO" 5
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5
3699 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;}
3701 enable_ext2direct="no"
3704 enable_ext2direct="yes"
3707 if test "x$enable_ext2direct" = "xyes"; then
3709 $as_echo "#define EXT2_DIRECT 1" >>confdefs.h
3711 COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT"
3716 # Check whether --enable-netlink was given.
3717 if test "${enable_netlink+set}" = set; then :
3718 enableval=$enable_netlink;
3723 if test "x$enable_netlink" != "xno"; then
3726 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3737 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3759 if test -n "$PKG_CONFIG"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3761 $as_echo "$PKG_CONFIG" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3769 if test -z "$ac_cv_path_PKG_CONFIG"; then
3770 ac_pt_PKG_CONFIG=$PKG_CONFIG
3771 # Extract the first word of "pkg-config", so it can be a program name with args.
3772 set dummy pkg-config; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3776 $as_echo_n "(cached) " >&6
3778 case $ac_pt_PKG_CONFIG in
3780 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3802 if test -n "$ac_pt_PKG_CONFIG"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3804 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3810 if test "x$ac_pt_PKG_CONFIG" = x; then
3813 case $cross_compiling:$ac_tool_warned in
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3819 PKG_CONFIG=$ac_pt_PKG_CONFIG
3822 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3826 if test -n "$PKG_CONFIG"; then
3827 _pkg_min_version=0.9.0
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3829 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3830 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3832 $as_echo "yes" >&6; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
3843 $as_echo_n "checking for DBUS... " >&6; }
3845 if test -n "$DBUS_CFLAGS"; then
3846 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
3847 elif test -n "$PKG_CONFIG"; then
3848 if test -n "$PKG_CONFIG" && \
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
3850 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
3852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853 test $ac_status = 0; }; then
3854 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
3861 if test -n "$DBUS_LIBS"; then
3862 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
3863 elif test -n "$PKG_CONFIG"; then
3864 if test -n "$PKG_CONFIG" && \
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
3866 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }; then
3870 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
3880 if test $pkg_failed = yes; then
3882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3883 _pkg_short_errors_supported=yes
3885 _pkg_short_errors_supported=no
3887 if test $_pkg_short_errors_supported = yes; then
3888 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
3890 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
3892 # Put the nasty error message in config.log where it belongs
3893 echo "$DBUS_PKG_ERRORS" >&5
3895 as_fn_error "Package requirements (dbus-1) were not met:
3899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3900 installed software in a non-standard prefix.
3902 Alternatively, you may set the environment variables DBUS_CFLAGS
3903 and DBUS_LIBS to avoid the need to call pkg-config.
3904 See the pkg-config man page for more details.
3906 elif test $pkg_failed = untried; then
3907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
3910 is in your PATH or set the PKG_CONFIG environment variable to the full
3913 Alternatively, you may set the environment variables DBUS_CFLAGS
3914 and DBUS_LIBS to avoid the need to call pkg-config.
3915 See the pkg-config man page for more details.
3917 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3918 See \`config.log' for more details." "$LINENO" 5; }
3920 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
3921 DBUS_LIBS=$pkg_cv_DBUS_LIBS
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genl_register in -lnl" >&5
3928 $as_echo_n "checking for genl_register in -lnl... " >&6; }
3929 if test "${ac_cv_lib_nl_genl_register+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3932 ac_check_lib_save_LIBS=$LIBS
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3937 /* Override any GCC internal prototype to avoid an error.
3938 Use char because int might match the return type of a GCC
3939 builtin and then its argument prototype would still apply. */
3943 char genl_register ();
3947 return genl_register ();
3952 if ac_fn_c_try_link "$LINENO"; then :
3953 ac_cv_lib_nl_genl_register=yes
3955 ac_cv_lib_nl_genl_register=no
3957 rm -f core conftest.err conftest.$ac_objext \
3958 conftest$ac_exeext conftest.$ac_ext
3959 LIBS=$ac_check_lib_save_LIBS
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_genl_register" >&5
3962 $as_echo "$ac_cv_lib_nl_genl_register" >&6; }
3963 if test "x$ac_cv_lib_nl_genl_register" = x""yes; then :
3964 NETLINKLIBS="-lnl $DBUS_LIBS"
3967 if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then
3968 if test "x$enable_netlink" = "xyes"; then
3969 as_fn_error "Required libraries for quota netlink daemon not found." "$LINENO" 5
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5
3972 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;}
3977 CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS"
3978 if test -z "$DBUS_LIBS"; then
3979 if test "x$enable_netlink" = "xyes"; then
3980 as_fn_error "Required headers for quota netlink daemon not found." "$LINENO" 5
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5
3983 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;}
3988 QUOTA_NETLINK_PROG=quota_nld
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3996 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3997 if test "${ac_cv_search_gethostbyname+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 ac_func_search_save_LIBS=$LIBS
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 /* Override any GCC internal prototype to avoid an error.
4005 Use char because int might match the return type of a GCC
4006 builtin and then its argument prototype would still apply. */
4010 char gethostbyname ();
4014 return gethostbyname ();
4019 for ac_lib in '' nsl; do
4020 if test -z "$ac_lib"; then
4021 ac_res="none required"
4024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4026 if ac_fn_c_try_link "$LINENO"; then :
4027 ac_cv_search_gethostbyname=$ac_res
4029 rm -f core conftest.err conftest.$ac_objext \
4031 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4035 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4038 ac_cv_search_gethostbyname=no
4041 LIBS=$ac_func_search_save_LIBS
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4044 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4045 ac_res=$ac_cv_search_gethostbyname
4046 if test "$ac_res" != no; then :
4047 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host_access in -lwrap" >&5
4052 $as_echo_n "checking for host_access in -lwrap... " >&6; }
4053 if test "${ac_cv_lib_wrap_main+set}" = set; then :
4054 $as_echo_n "(cached) " >&6
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 #include <sys/types.h>
4063 #include <sys/socket.h>
4064 #include <netinet/in.h>
4066 struct request_info request;
4067 int deny_severity, allow_severity;
4071 hosts_access(&request);
4076 if ac_fn_c_try_link "$LINENO"; then :
4077 ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4078 $as_echo "yes" >&6; }
4080 ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4083 rm -f core conftest.err conftest.$ac_objext \
4084 conftest$ac_exeext conftest.$ac_ext
4089 if test ${ac_cv_lib_wrap_main} = yes; then
4090 ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default"
4091 if test "x$ac_cv_header_tcpd_h" = x""yes; then :
4095 echo 'ERROR: could not find tcpd.h - missing TCP wrappers package'
4103 $as_echo "#define HOSTS_ACCESS 1" >>confdefs.h
4105 COMPILE_OPTS="$COMPILE_OPTS HOSTS_ACCESS"
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4109 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4110 if test "${ac_cv_c_const+set}" = set; then :
4111 $as_echo_n "(cached) " >&6
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4119 /* FIXME: Include the comments suggested by Paul. */
4121 /* Ultrix mips cc rejects this. */
4122 typedef int charset[2];
4124 /* SunOS 4.1.1 cc rejects this. */
4125 char const *const *pcpcc;
4127 /* NEC SVR4.0.2 mips cc rejects this. */
4128 struct point {int x, y;};
4129 static struct point const zero = {0,0};
4130 /* AIX XL C 1.02.0.0 rejects this.
4131 It does not let you subtract one const X* pointer from another in
4132 an arm of an if-expression whose if-part is not a constant
4134 const char *g = "string";
4135 pcpcc = &g + (g ? g-g : 0);
4136 /* HPUX 7.0 cc rejects these. */
4138 ppc = (char**) pcpcc;
4139 pcpcc = (char const *const *) ppc;
4140 { /* SCO 3.2v4 cc rejects this. */
4142 char const *s = 0 ? (char *) 0 : (char const *) 0;
4147 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4149 const int *foo = &x[0];
4152 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4153 typedef const int *iptr;
4157 { /* AIX XL C 1.02.0.0 rejects this saying
4158 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4159 struct s { int j; const int *ap[3]; };
4160 struct s *b; b->j = 5;
4162 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4166 return !cs[0] && !zero.x;
4173 if ac_fn_c_try_compile "$LINENO"; then :
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4181 $as_echo "$ac_cv_c_const" >&6; }
4182 if test $ac_cv_c_const = no; then
4184 $as_echo "#define const /**/" >>confdefs.h
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4189 $as_echo_n "checking for inline... " >&6; }
4190 if test "${ac_cv_c_inline+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4194 for ac_kw in inline __inline__ __inline; do
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 static $ac_kw foo_t static_foo () {return 0; }
4200 $ac_kw foo_t foo () {return 0; }
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_c_inline=$ac_kw
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 test "$ac_cv_c_inline" != no && break
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4213 $as_echo "$ac_cv_c_inline" >&6; }
4215 case $ac_cv_c_inline in
4218 case $ac_cv_c_inline in
4220 *) ac_val=$ac_cv_c_inline;;
4222 cat >>confdefs.h <<_ACEOF
4224 #define inline $ac_val
4231 # Check whether --enable-rpc was given.
4232 if test "${enable_rpc+set}" = set; then :
4233 enableval=$enable_rpc;
4238 # Check whether --enable-rpcsetquota was given.
4239 if test "${enable_rpcsetquota+set}" = set; then :
4240 enableval=$enable_rpcsetquota;
4242 enable_rpcsetquota="no"
4245 # Check whether --enable-xfs_roothack was given.
4246 if test "${enable_xfs_roothack+set}" = set; then :
4247 enableval=$enable_xfs_roothack;
4249 enable_xfs_roothack="no"
4252 # Check whether --enable-bsd_behaviour was given.
4253 if test "${enable_bsd_behaviour+set}" = set; then :
4254 enableval=$enable_bsd_behaviour;
4256 enable_bsd_behaviour="yes"
4259 # Check whether --enable-libefence was given.
4260 if test "${enable_libefence+set}" = set; then :
4261 enableval=$enable_libefence;
4263 enable_libefence="no"
4267 # Check whether --enable-nls was given.
4268 if test "${enable_nls+set}" = set; then :
4269 enableval=$enable_nls;
4274 # Check whether --enable-rootsbin was given.
4275 if test "${enable_rootsbin+set}" = set; then :
4276 enableval=$enable_rootsbin;
4278 enable_rootsbin="no"
4281 # Check whether --enable-proc-mounts was given.
4282 if test "${enable_proc_mounts+set}" = set; then :
4283 enableval=$enable_proc_mounts;
4285 enable_proc_mounts="/proc/mounts"
4289 if test "$enable_rpc" = "yes" ; then
4291 $as_echo "#define RPC 1" >>confdefs.h
4293 COMPILE_OPTS="$COMPILE_OPTS RPC"
4295 if test "$enable_rpcsetquota" = "yes" ; then
4297 $as_echo "#define RPC_SETQUOTA 1" >>confdefs.h
4299 COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA"
4301 if test "$enable_xfs_roothack" = "yes" ; then
4303 $as_echo "#define XFS_ROOTHACK 1" >>confdefs.h
4305 COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK"
4307 if test "$enable_bsd_behaviour" = "yes" ; then
4309 $as_echo "#define BSD_BEHAVIOUR 1" >>confdefs.h
4311 COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR"
4313 if test "$enable_libefence" = "yes" ; then
4314 LIBMALLOC="/usr/lib/libefence.a"
4316 if test "$enable_nls" = "yes" ; then
4318 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
4322 if test "$enable_proc_mounts" != "no"; then
4324 cat >>confdefs.h <<_ACEOF
4325 #define ALT_MTAB "$enable_proc_mounts"
4329 if test "$enable_rootsbin" = "yes" ; then
4332 ROOTSBIN='$(prefix)/sbin'
4336 cat >>confdefs.h <<_ACEOF
4337 #define COMPILE_OPTS "$COMPILE_OPTS"
4341 $as_echo "#define PACKAGE_VERSION \"4.01\"" >>confdefs.h
4350 ac_config_files="$ac_config_files Makefile"
4352 cat >confcache <<\_ACEOF
4353 # This file is a shell script that caches the results of configure
4354 # tests run on this system so they can be shared between configure
4355 # scripts and configure runs, see configure's option --config-cache.
4356 # It is not useful on other systems. If it contains results you don't
4357 # want to keep, you may remove or edit it.
4359 # config.status only pays attention to the cache file if you give it
4360 # the --recheck option to rerun configure.
4362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4368 # The following way of writing the cache mishandles newlines in values,
4369 # but we know of no workaround that is simple, portable, and efficient.
4370 # So, we kill variables containing newlines.
4371 # Ultrix sh set writes to stderr and can't be redirected directly,
4372 # and sets the high bit in the cache file unless we assign to the vars.
4374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4375 eval ac_val=\$$ac_var
4379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4383 _ | IFS | as_nl) ;; #(
4384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4385 *) { eval $ac_var=; unset $ac_var;} ;;
4391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4392 *${as_nl}ac_space=\ *)
4393 # `set' does not quote correctly, so add quotes: double-quote
4394 # substitution turns \\\\ into \\, and sed turns \\ into \.
4397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4400 # `set' quotes correctly as required by POSIX, so do not add quotes.
4401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4415 if test -w "$cache_file"; then
4416 test "x$cache_file" != "x/dev/null" &&
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4418 $as_echo "$as_me: updating cache $cache_file" >&6;}
4419 cat confcache >$cache_file
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4422 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4427 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4428 # Let make expand exec_prefix.
4429 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4431 DEFS=-DHAVE_CONFIG_H
4435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4436 # 1. Remove the extension, and $U if already installed.
4437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4438 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4440 # will be set to the directory where LIBOBJS objects are built.
4441 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4442 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4446 LTLIBOBJS=$ac_ltlibobjs
4450 : ${CONFIG_STATUS=./config.status}
4452 ac_clean_files_save=$ac_clean_files
4453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4455 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4457 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4459 # Generated by $as_me.
4460 # Run this file to recreate the current configuration.
4461 # Compiler output produced by configure, useful for debugging
4462 # configure, is in config.log if it exists.
4468 SHELL=\${CONFIG_SHELL-$SHELL}
4471 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4472 ## -------------------- ##
4473 ## M4sh Initialization. ##
4474 ## -------------------- ##
4476 # Be more Bourne compatible
4477 DUALCASE=1; export DUALCASE # for MKS sh
4478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4481 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4482 # is contrary to our usage. Disable this feature.
4483 alias -g '${1+"$@"}'='"$@"'
4484 setopt NO_GLOB_SUBST
4486 case `(set -o) 2>/dev/null` in #(
4498 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4499 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4500 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4501 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4502 # Prefer a ksh shell builtin over an external printf program on Solaris,
4503 # but without wasting forks for bash or zsh.
4504 if test -z "$BASH_VERSION$ZSH_VERSION" \
4505 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4506 as_echo='print -r --'
4507 as_echo_n='print -rn --'
4508 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4509 as_echo='printf %s\n'
4510 as_echo_n='printf %s'
4512 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4513 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4514 as_echo_n='/usr/ucb/echo -n'
4516 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4517 as_echo_n_body='eval
4521 expr "X$arg" : "X\\(.*\\)$as_nl";
4522 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4524 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4526 export as_echo_n_body
4527 as_echo_n='sh -c $as_echo_n_body as_echo'
4530 as_echo='sh -c $as_echo_body as_echo'
4533 # The user is always right.
4534 if test "${PATH_SEPARATOR+set}" != set; then
4536 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4537 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4544 # We need space, tab and new line, in precisely that order. Quoting is
4545 # there to prevent editors from complaining about space-tab.
4546 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4547 # splitting by setting IFS to empty value.)
4550 # Find who we are. Look in the path if we contain no directory separator.
4552 *[\\/]* ) as_myself=$0 ;;
4553 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir=.
4558 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4564 # We did not find ourselves, most probably we were run as `sh COMMAND'
4565 # in which case we are not to be found in the path.
4566 if test "x$as_myself" = x; then
4569 if test ! -f "$as_myself"; then
4570 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4574 # Unset variables that we do not need and which cause bugs (e.g. in
4575 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4576 # suppresses any "Segmentation fault" message there. '((' could
4577 # trigger a bug in pdksh 5.2.14.
4578 for as_var in BASH_ENV ENV MAIL MAILPATH
4579 do eval test x\${$as_var+set} = xset \
4580 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4596 # as_fn_error ERROR [LINENO LOG_FD]
4597 # ---------------------------------
4598 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4599 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4600 # script with status $?, using 1 if that was 0.
4603 as_status=$?; test $as_status -eq 0 && as_status=1
4605 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4606 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4608 $as_echo "$as_me: error: $1" >&2
4609 as_fn_exit $as_status
4613 # as_fn_set_status STATUS
4614 # -----------------------
4615 # Set $? to STATUS, without forking.
4619 } # as_fn_set_status
4623 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4633 # Portably unset VAR.
4636 { eval $1=; unset $1;}
4638 as_unset=as_fn_unset
4639 # as_fn_append VAR VALUE
4640 # ----------------------
4641 # Append the text in VALUE to the end of the definition contained in VAR. Take
4642 # advantage of any shell optimizations that allow amortized linear growth over
4643 # repeated appends, instead of the typical quadratic growth present in naive
4645 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4646 eval 'as_fn_append ()
4657 # as_fn_arith ARG...
4658 # ------------------
4659 # Perform arithmetic evaluation on the ARGs, and store the result in the
4660 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4661 # must be portable across $(()) and expr.
4662 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4663 eval 'as_fn_arith ()
4670 as_val=`expr "$@" || test $? -eq 1`
4675 if expr a : '\(a\)' >/dev/null 2>&1 &&
4676 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4682 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4683 as_basename=basename
4688 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4694 as_me=`$as_basename -- "$0" ||
4695 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4696 X"$0" : 'X\(//\)$' \| \
4697 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4699 sed '/^.*\/\([^/][^/]*\)\/*$/{
4713 # Avoid depending upon Character Ranges.
4714 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4715 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4716 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4717 as_cr_digits='0123456789'
4718 as_cr_alnum=$as_cr_Letters$as_cr_digits
4720 ECHO_C= ECHO_N= ECHO_T=
4721 case `echo -n x` in #(((((
4723 case `echo 'xy\c'` in
4724 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4726 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4733 rm -f conf$$ conf$$.exe conf$$.file
4734 if test -d conf$$.dir; then
4735 rm -f conf$$.dir/conf$$.file
4738 mkdir conf$$.dir 2>/dev/null
4740 if (echo >conf$$.file) 2>/dev/null; then
4741 if ln -s conf$$.file conf$$ 2>/dev/null; then
4743 # ... but there are two gotchas:
4744 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4745 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4746 # In both cases, we have to default to `cp -p'.
4747 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4749 elif ln conf$$.file conf$$ 2>/dev/null; then
4757 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4758 rmdir conf$$.dir 2>/dev/null
4763 # Create "$as_dir" as a directory, including parents if necessary.
4768 -*) as_dir=./$as_dir;;
4770 test -d "$as_dir" || eval $as_mkdir_p || {
4774 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4775 *) as_qdir=$as_dir;;
4777 as_dirs="'$as_qdir' $as_dirs"
4778 as_dir=`$as_dirname -- "$as_dir" ||
4779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780 X"$as_dir" : 'X\(//\)[^/]' \| \
4781 X"$as_dir" : 'X\(//\)$' \| \
4782 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4783 $as_echo X"$as_dir" |
4784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4801 test -d "$as_dir" && break
4803 test -z "$as_dirs" || eval "mkdir $as_dirs"
4804 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4808 if mkdir -p . 2>/dev/null; then
4809 as_mkdir_p='mkdir -p "$as_dir"'
4811 test -d ./-p && rmdir ./-p
4815 if test -x / >/dev/null 2>&1; then
4818 if ls -dL / >/dev/null 2>&1; then
4825 if test -d "$1"; then
4831 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4832 ???[sx]*):;;*)false;;esac;fi
4836 as_executable_p=$as_test_x
4838 # Sed expression to map a string onto a valid CPP name.
4839 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4841 # Sed expression to map a string onto a valid variable name.
4842 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4846 ## ----------------------------------- ##
4847 ## Main body of $CONFIG_STATUS script. ##
4848 ## ----------------------------------- ##
4850 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4853 # Save the log message, to keep $0 and so on meaningful, and to
4854 # report actual input values of CONFIG_FILES etc. instead of their
4855 # values after options handling.
4857 This file was extended by $as_me, which was
4858 generated by GNU Autoconf 2.65. Invocation command line was
4860 CONFIG_FILES = $CONFIG_FILES
4861 CONFIG_HEADERS = $CONFIG_HEADERS
4862 CONFIG_LINKS = $CONFIG_LINKS
4863 CONFIG_COMMANDS = $CONFIG_COMMANDS
4866 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4871 case $ac_config_files in *"
4872 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4875 case $ac_config_headers in *"
4876 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4881 # Files that config.status was made for.
4882 config_files="$ac_config_files"
4883 config_headers="$ac_config_headers"
4887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4889 \`$as_me' instantiates files and other configuration actions
4890 from templates according to the current configuration. Unless the files
4891 and actions are specified as TAGs, all are instantiated by default.
4893 Usage: $0 [OPTION]... [TAG]...
4895 -h, --help print this help, then exit
4896 -V, --version print version number and configuration settings, then exit
4897 --config print configuration, then exit
4898 -q, --quiet, --silent
4899 do not print progress messages
4900 -d, --debug don't remove temporary files
4901 --recheck update $as_me by reconfiguring in the same conditions
4902 --file=FILE[:TEMPLATE]
4903 instantiate the configuration file FILE
4904 --header=FILE[:TEMPLATE]
4905 instantiate the configuration header FILE
4907 Configuration files:
4910 Configuration headers:
4913 Report bugs to the package provider."
4916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4920 configured by $0, generated by GNU Autoconf 2.65,
4921 with options \\"\$ac_cs_config\\"
4923 Copyright (C) 2009 Free Software Foundation, Inc.
4924 This config.status script is free software; the Free Software Foundation
4925 gives unlimited permission to copy, distribute and modify it."
4930 test -n "\$AWK" || AWK=awk
4933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4934 # The default lists apply if the user does not specify any file.
4940 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4941 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4952 # Handling of the options.
4953 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4955 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4956 $as_echo "$ac_cs_version"; exit ;;
4957 --config | --confi | --conf | --con | --co | --c )
4958 $as_echo "$ac_cs_config"; exit ;;
4959 --debug | --debu | --deb | --de | --d | -d )
4961 --file | --fil | --fi | --f )
4964 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4966 as_fn_append CONFIG_FILES " '$ac_optarg'"
4967 ac_need_defaults=false;;
4968 --header | --heade | --head | --hea )
4971 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4973 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4974 ac_need_defaults=false;;
4976 # Conflict between --help and --header
4977 as_fn_error "ambiguous option: \`$1'
4978 Try \`$0 --help' for more information.";;
4979 --help | --hel | -h )
4980 $as_echo "$ac_cs_usage"; exit ;;
4981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4982 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4986 -*) as_fn_error "unrecognized option: \`$1'
4987 Try \`$0 --help' for more information." ;;
4989 *) as_fn_append ac_config_targets " $1"
4990 ac_need_defaults=false ;;
4996 ac_configure_extra_args=
4998 if $ac_cs_silent; then
5000 ac_configure_extra_args="$ac_configure_extra_args --silent"
5004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5005 if \$ac_cs_recheck; then
5006 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5008 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5009 CONFIG_SHELL='$SHELL'
5015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5019 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5020 ## Running $as_me. ##
5026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5031 # Handling of arguments.
5032 for ac_config_target in $ac_config_targets
5034 case $ac_config_target in
5035 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5036 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5038 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5043 # If the user did not use the arguments to specify the items to instantiate,
5044 # then the envvar interface is used. Set only those that are not.
5045 # We use the long form for the default assignment because of an extremely
5046 # bizarre bug on SunOS 4.1.3.
5047 if $ac_need_defaults; then
5048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5052 # Have a temporary directory for convenience. Make it in the build tree
5053 # simply because there is no reason against having it here, and in addition,
5054 # creating and moving files from /tmp can sometimes cause problems.
5055 # Hook for its removal unless debugging.
5056 # Note that there is a small window in which the directory will not be cleaned:
5057 # after its creation but before its name has been assigned to `$tmp'.
5061 trap 'exit_status=$?
5062 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5064 trap 'as_fn_exit 1' 1 2 13 15
5066 # Create a (secure) tmp directory for tmp files.
5069 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5070 test -n "$tmp" && test -d "$tmp"
5073 tmp=./conf$$-$RANDOM
5074 (umask 077 && mkdir "$tmp")
5075 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5077 # Set up the scripts for CONFIG_FILES section.
5078 # No need to generate them if there are no CONFIG_FILES.
5079 # This happens for instance with `./config.status config.h'.
5080 if test -n "$CONFIG_FILES"; then
5083 ac_cr=`echo X | tr X '\015'`
5084 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5085 # But we know of no other shell where ac_cr would be empty at this
5086 # point, so we can use a bashism as a fallback.
5087 if test "x$ac_cr" = x; then
5088 eval ac_cr=\$\'\\r\'
5090 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5091 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5097 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5102 echo "cat >conf$$subs.awk <<_ACEOF" &&
5103 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5106 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5107 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5109 for ac_last_try in false false false false false :; do
5110 . ./conf$$subs.sh ||
5111 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5113 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5114 if test $ac_delim_n = $ac_delim_num; then
5116 elif $ac_last_try; then
5117 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5119 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5129 s/^/S["/; s/!.*/"]=/
5139 s/\(.\{148\}\)..*/\1/
5141 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5146 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5153 s/\(.\{148\}\)..*/\1/
5155 s/["\\]/\\&/g; s/^/"/; s/$/"/
5159 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5164 ' <conf$$subs.awk | sed '
5169 ' >>$CONFIG_STATUS || ac_write_fail=1
5170 rm -f conf$$subs.awk
5171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5173 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5174 for (key in S) S_is_set[key] = 1
5180 nfields = split(line, field, "@")
5182 len = length(field[1])
5183 for (i = 2; i < nfields; i++) {
5185 keylen = length(key)
5186 if (S_is_set[key]) {
5188 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5189 len += length(value) + length(field[++i])
5200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5201 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5202 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5205 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5206 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5211 # trailing colons and then remove the whole line if VPATH becomes empty
5212 # (actually we leave an empty line to preserve line numbers).
5213 if test "x$srcdir" = x.; then
5214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5218 s/^\([^=]*=[ ]*\):*/\1/
5224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5225 fi # test -n "$CONFIG_FILES"
5227 # Set up the scripts for CONFIG_HEADERS section.
5228 # No need to generate them if there are no CONFIG_HEADERS.
5229 # This happens for instance with `./config.status Makefile'.
5230 if test -n "$CONFIG_HEADERS"; then
5231 cat >"$tmp/defines.awk" <<\_ACAWK ||
5235 # Transform confdefs.h into an awk script `defines.awk', embedded as
5236 # here-document in config.status, that substitutes the proper values into
5237 # config.h.in to produce config.h.
5239 # Create a delimiter string that does not exist in confdefs.h, to ease
5240 # handling of long lines.
5242 for ac_last_try in false false :; do
5243 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5244 if test -z "$ac_t"; then
5246 elif $ac_last_try; then
5247 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5253 # For the awk script, D is an array of macro values keyed by name,
5254 # likewise P contains macro parameters if any. Preserve backslash
5255 # newline sequences.
5257 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5259 s/.\{148\}/&'"$ac_delim"'/g
5262 s/^[ ]*#[ ]*define[ ][ ]*/ /
5269 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5271 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5276 D["\1"]=" \3\\\\\\n"\\/p
5278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5283 s/.\{148\}/&'"$ac_delim"'/g
5288 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5291 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5293 ' <confdefs.h | sed '
5294 s/'"$ac_delim"'/"\\\
5295 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5298 for (key in D) D_is_set[key] = 1
5301 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5303 split(line, arg, " ")
5304 if (arg[1] == "#") {
5308 defundef = substr(arg[1], 2)
5311 split(mac1, mac2, "(") #)
5313 prefix = substr(line, 1, index(line, defundef) - 1)
5314 if (D_is_set[macro]) {
5315 # Preserve the white space surrounding the "#".
5316 print prefix "define", macro P[macro] D[macro]
5319 # Replace #undef with comments. This is necessary, for example,
5320 # in the case of _POSIX_SOURCE, which is predefined and required
5321 # on some systems where configure will not decide to define it.
5322 if (defundef == "undef") {
5323 print "/*", prefix defundef, macro, "*/"
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5332 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5333 fi # test -n "$CONFIG_HEADERS"
5336 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5341 :[FHLC]) ac_mode=$ac_tag; continue;;
5343 case $ac_mode$ac_tag in
5345 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5346 :[FH]-) ac_tag=-:-;;
5347 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5364 -) ac_f="$tmp/stdin";;
5365 *) # Look for the file first in the build tree, then in the source tree
5366 # (if the path is not absolute). The absolute path cannot be DOS-style,
5367 # because $ac_f cannot contain `:'.
5371 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5373 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5375 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5376 as_fn_append ac_file_inputs " '$ac_f'"
5379 # Let's still pretend it is `configure' which instantiates (i.e., don't
5380 # use $as_me), people would be surprised to read:
5381 # /* config.h. Generated by config.status. */
5382 configure_input='Generated from '`
5383 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5385 if test x"$ac_file" != x-; then
5386 configure_input="$ac_file. $configure_input"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5388 $as_echo "$as_me: creating $ac_file" >&6;}
5390 # Neutralize special characters interpreted by sed in replacement strings.
5391 case $configure_input in #(
5392 *\&* | *\|* | *\\* )
5393 ac_sed_conf_input=`$as_echo "$configure_input" |
5394 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5395 *) ac_sed_conf_input=$configure_input;;
5399 *:-:* | *:-) cat >"$tmp/stdin" \
5400 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5405 ac_dir=`$as_dirname -- "$ac_file" ||
5406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5407 X"$ac_file" : 'X\(//\)[^/]' \| \
5408 X"$ac_file" : 'X\(//\)$' \| \
5409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5410 $as_echo X"$ac_file" |
5411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5428 as_dir="$ac_dir"; as_fn_mkdir_p
5432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5434 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5435 # A ".." for each directory in $ac_dir_suffix.
5436 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5437 case $ac_top_builddir_sub in
5438 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5439 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5442 ac_abs_top_builddir=$ac_pwd
5443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5444 # for backward compatibility:
5445 ac_top_builddir=$ac_top_build_prefix
5448 .) # We are building in place.
5450 ac_top_srcdir=$ac_top_builddir_sub
5451 ac_abs_top_srcdir=$ac_pwd ;;
5452 [\\/]* | ?:[\\/]* ) # Absolute name.
5453 ac_srcdir=$srcdir$ac_dir_suffix;
5454 ac_top_srcdir=$srcdir
5455 ac_abs_top_srcdir=$srcdir ;;
5457 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5458 ac_top_srcdir=$ac_top_build_prefix$srcdir
5459 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5471 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5472 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5477 # If the template does not know about datarootdir, expand it.
5478 # FIXME: This hack should be removed a few years after 2.60.
5479 ac_datarootdir_hack=; ac_datarootdir_seen=
5490 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5491 *datarootdir*) ac_datarootdir_seen=yes;;
5492 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5494 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5497 ac_datarootdir_hack='
5498 s&@datadir@&$datadir&g
5499 s&@docdir@&$docdir&g
5500 s&@infodir@&$infodir&g
5501 s&@localedir@&$localedir&g
5502 s&@mandir@&$mandir&g
5503 s&\\\${datarootdir}&$datarootdir&g' ;;
5507 # Neutralize VPATH when `$srcdir' = `.'.
5508 # Shell code in configure.ac might set extrasub.
5509 # FIXME: do we really want to maintain this feature?
5510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5511 ac_sed_extra="$ac_vpsub
5514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5517 s|@configure_input@|$ac_sed_conf_input|;t t
5518 s&@top_builddir@&$ac_top_builddir_sub&;t t
5519 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5520 s&@srcdir@&$ac_srcdir&;t t
5521 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5522 s&@top_srcdir@&$ac_top_srcdir&;t t
5523 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5524 s&@builddir@&$ac_builddir&;t t
5525 s&@abs_builddir@&$ac_abs_builddir&;t t
5526 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5527 s&@INSTALL@&$ac_INSTALL&;t t
5528 $ac_datarootdir_hack
5530 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5531 || as_fn_error "could not create $ac_file" "$LINENO" 5
5533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5534 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5537 which seems to be undefined. Please make sure it is defined." >&5
5538 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5539 which seems to be undefined. Please make sure it is defined." >&2;}
5543 -) cat "$tmp/out" && rm -f "$tmp/out";;
5544 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5546 || as_fn_error "could not create $ac_file" "$LINENO" 5
5552 if test x"$ac_file" != x-; then
5554 $as_echo "/* $configure_input */" \
5555 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5556 } >"$tmp/config.h" \
5557 || as_fn_error "could not create $ac_file" "$LINENO" 5
5558 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5560 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5563 mv "$tmp/config.h" "$ac_file" \
5564 || as_fn_error "could not create $ac_file" "$LINENO" 5
5567 $as_echo "/* $configure_input */" \
5568 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5569 || as_fn_error "could not create -" "$LINENO" 5
5581 ac_clean_files=$ac_clean_files_save
5583 test $ac_write_fail = 0 ||
5584 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5587 # configure is writing to config.log, and then calls config.status.
5588 # config.status does its own redirection, appending to config.log.
5589 # Unfortunately, on DOS this fails, as config.log is still kept open
5590 # by configure, so config.status won't be able to write to it; its
5591 # output is simply discarded. So we exec the FD to /dev/null,
5592 # effectively closing config.log, so it can be properly (re)opened and
5593 # appended to by config.status. When coming back to configure, we
5594 # need to make the FD available again.
5595 if test "$no_create" != yes; then
5597 ac_config_status_args=
5598 test "$silent" = yes &&
5599 ac_config_status_args="$ac_config_status_args --quiet"
5601 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5604 # would make configure fail if this is the last instruction.
5605 $ac_cs_success || as_fn_exit $?
5607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}