2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 ac_unique_file="src/adns.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
675 program_transform_name
688 enable_option_checking
691 ac_precious_vars='build_alias
702 # Initialize some variables set by options.
704 ac_init_version=false
705 ac_unrecognized_opts=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
716 program_transform_name=s,x,x,
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir='${exec_prefix}/bin'
731 sbindir='${exec_prefix}/sbin'
732 libexecdir='${exec_prefix}/libexec'
733 datarootdir='${prefix}/share'
734 datadir='${datarootdir}'
735 sysconfdir='${prefix}/etc'
736 sharedstatedir='${prefix}/com'
737 localstatedir='${prefix}/var'
738 includedir='${prefix}/include'
739 oldincludedir='/usr/include'
740 docdir='${datarootdir}/doc/${PACKAGE}'
741 infodir='${datarootdir}/info'
746 libdir='${exec_prefix}/lib'
747 localedir='${datarootdir}/locale'
748 mandir='${datarootdir}/man'
754 # If the previous option needs an argument, assign it.
755 if test -n "$ac_prev"; then
756 eval $ac_prev=\$ac_option
762 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 # Accept the important Cygnus configure options, so we can diagnose typos.
769 case $ac_dashdash$ac_option in
773 -bindir | --bindir | --bindi | --bind | --bin | --bi)
775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
778 -build | --build | --buil | --bui | --bu)
779 ac_prev=build_alias ;;
780 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
781 build_alias=$ac_optarg ;;
783 -cache-file | --cache-file | --cache-fil | --cache-fi \
784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
785 ac_prev=cache_file ;;
786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
788 cache_file=$ac_optarg ;;
791 cache_file=config.cache ;;
793 -datadir | --datadir | --datadi | --datad)
795 -datadir=* | --datadir=* | --datadi=* | --datad=*)
796 datadir=$ac_optarg ;;
798 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
799 | --dataroo | --dataro | --datar)
800 ac_prev=datarootdir ;;
801 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
802 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
803 datarootdir=$ac_optarg ;;
805 -disable-* | --disable-*)
806 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809 as_fn_error $? "invalid feature name: $ac_useropt"
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
819 eval enable_$ac_useropt=no ;;
821 -docdir | --docdir | --docdi | --doc | --do)
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
831 -enable-* | --enable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error $? "invalid feature name: $ac_useropt"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
845 eval enable_$ac_useropt=\$ac_optarg ;;
847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
849 | --exec | --exe | --ex)
850 ac_prev=exec_prefix ;;
851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
853 | --exec=* | --exe=* | --ex=*)
854 exec_prefix=$ac_optarg ;;
856 -gas | --gas | --ga | --g)
857 # Obsolete; use --with-gas.
860 -help | --help | --hel | --he | -h)
862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
863 ac_init_help=recursive ;;
864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
865 ac_init_help=short ;;
867 -host | --host | --hos | --ho)
868 ac_prev=host_alias ;;
869 -host=* | --host=* | --hos=* | --ho=*)
870 host_alias=$ac_optarg ;;
872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876 htmldir=$ac_optarg ;;
878 -includedir | --includedir | --includedi | --included | --include \
879 | --includ | --inclu | --incl | --inc)
880 ac_prev=includedir ;;
881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
882 | --includ=* | --inclu=* | --incl=* | --inc=*)
883 includedir=$ac_optarg ;;
885 -infodir | --infodir | --infodi | --infod | --info | --inf)
887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888 infodir=$ac_optarg ;;
890 -libdir | --libdir | --libdi | --libd)
892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
896 | --libexe | --libex | --libe)
897 ac_prev=libexecdir ;;
898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
899 | --libexe=* | --libex=* | --libe=*)
900 libexecdir=$ac_optarg ;;
902 -localedir | --localedir | --localedi | --localed | --locale)
904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
905 localedir=$ac_optarg ;;
907 -localstatedir | --localstatedir | --localstatedi | --localstated \
908 | --localstate | --localstat | --localsta | --localst | --locals)
909 ac_prev=localstatedir ;;
910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
912 localstatedir=$ac_optarg ;;
914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 # Obsolete; use --without-fp.
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c | -n)
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
933 | --oldin | --oldi | --old | --ol | --o)
934 ac_prev=oldincludedir ;;
935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
938 oldincludedir=$ac_optarg ;;
940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
945 -program-prefix | --program-prefix | --program-prefi | --program-pref \
946 | --program-pre | --program-pr | --program-p)
947 ac_prev=program_prefix ;;
948 -program-prefix=* | --program-prefix=* | --program-prefi=* \
949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
950 program_prefix=$ac_optarg ;;
952 -program-suffix | --program-suffix | --program-suffi | --program-suff \
953 | --program-suf | --program-su | --program-s)
954 ac_prev=program_suffix ;;
955 -program-suffix=* | --program-suffix=* | --program-suffi=* \
956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
957 program_suffix=$ac_optarg ;;
959 -program-transform-name | --program-transform-name \
960 | --program-transform-nam | --program-transform-na \
961 | --program-transform-n | --program-transform- \
962 | --program-transform | --program-transfor \
963 | --program-transfo | --program-transf \
964 | --program-trans | --program-tran \
965 | --progr-tra | --program-tr | --program-t)
966 ac_prev=program_transform_name ;;
967 -program-transform-name=* | --program-transform-name=* \
968 | --program-transform-nam=* | --program-transform-na=* \
969 | --program-transform-n=* | --program-transform-=* \
970 | --program-transform=* | --program-transfor=* \
971 | --program-transfo=* | --program-transf=* \
972 | --program-trans=* | --program-tran=* \
973 | --progr-tra=* | --program-tr=* | --program-t=*)
974 program_transform_name=$ac_optarg ;;
976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
981 -psdir | --psdir | --psdi | --psd | --ps)
983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 sbindir=$ac_optarg ;;
996 -sharedstatedir | --sharedstatedir | --sharedstatedi \
997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998 | --sharedst | --shareds | --shared | --share | --shar \
1000 ac_prev=sharedstatedir ;;
1001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 sharedstatedir=$ac_optarg ;;
1007 -site | --site | --sit)
1009 -site=* | --site=* | --sit=*)
1012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1015 srcdir=$ac_optarg ;;
1017 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1018 | --syscon | --sysco | --sysc | --sys | --sy)
1019 ac_prev=sysconfdir ;;
1020 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1021 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1022 sysconfdir=$ac_optarg ;;
1024 -target | --target | --targe | --targ | --tar | --ta | --t)
1025 ac_prev=target_alias ;;
1026 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1027 target_alias=$ac_optarg ;;
1029 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1032 -version | --version | --versio | --versi | --vers | -V)
1033 ac_init_version=: ;;
1036 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error $? "invalid package name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1049 eval with_$ac_useropt=\$ac_optarg ;;
1051 -without-* | --without-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error $? "invalid package name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1065 eval with_$ac_useropt=no ;;
1068 # Obsolete; use --with-x.
1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072 | --x-incl | --x-inc | --x-in | --x-i)
1073 ac_prev=x_includes ;;
1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076 x_includes=$ac_optarg ;;
1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080 ac_prev=x_libraries ;;
1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083 x_libraries=$ac_optarg ;;
1085 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1086 Try \`$0 --help' for more information"
1090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 case $ac_envvar in #(
1093 '' | [0-9]* | *[!_$as_cr_alnum]* )
1094 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1096 eval $ac_envvar=\$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 if test -n "$ac_prev"; then
1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112 as_fn_error $? "missing argument to $ac_option"
1115 if test -n "$ac_unrecognized_opts"; then
1116 case $enable_option_checking in
1118 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 # Check all directory arguments for consistency.
1124 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val=\$$ac_var
1130 # Remove trailing slashes.
1133 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134 eval $ac_var=\$ac_val;;
1136 # Be sure to have absolute directory names.
1138 [\\/$]* | ?:[\\/]* ) continue;;
1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1144 # There might be people who depend on the old broken behavior: `$host'
1145 # used to hold the argument of --host etc.
1146 # FIXME: To remove some day.
1149 target=$target_alias
1151 # FIXME: To remove some day.
1152 if test "x$host_alias" != x; then
1153 if test "x$build_alias" = x; then
1154 cross_compiling=maybe
1155 elif test "x$build_alias" != "x$host_alias"; then
1161 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1163 test "$silent" = yes && exec 6>/dev/null
1166 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1167 ac_ls_di=`ls -di .` &&
1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1169 as_fn_error $? "working directory cannot be determined"
1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171 as_fn_error $? "pwd does not report name of working directory"
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir=`$as_dirname -- "$as_myself" ||
1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 X"$as_myself" : 'X\(//\)$' \| \
1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$as_myself" |
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1206 ac_srcdir_defaulted=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1224 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 for ac_var in $ac_precious_vars; do
1227 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1228 eval ac_env_${ac_var}_value=\$${ac_var}
1229 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1240 \`configure' configures this package to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking ...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1299 if test -n "$ac_init_help"; then
1304 --disable-option-checking ignore unrecognized --enable/--with options
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1307 --disable-dynamic use static linking
1308 --enable-dynamic=elf create and use ELF dynamic library (default)
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to the package provider.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" ||
1332 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347 ac_abs_top_builddir=$ac_pwd
1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349 # for backward compatibility:
1350 ac_top_builddir=$ac_top_build_prefix
1353 .) # We are building in place.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1383 test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1387 generated by GNU Autoconf 2.69
1389 Copyright (C) 2012 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1396 ## ------------------------ ##
1397 ## Autoconf initialization. ##
1398 ## ------------------------ ##
1400 # ac_fn_c_try_compile LINENO
1401 # --------------------------
1402 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1403 ac_fn_c_try_compile ()
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406 rm -f conftest.$ac_objext
1407 if { { ac_try="$ac_compile"
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413 $as_echo "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1416 if test -s conftest.err; then
1417 grep -v '^ *+' conftest.err >conftest.er1
1418 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1425 } && test -s conftest.$ac_objext; then :
1428 $as_echo "$as_me: failed program was:" >&5
1429 sed 's/^/| /' conftest.$ac_ext >&5
1433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1434 as_fn_set_status $ac_retval
1436 } # ac_fn_c_try_compile
1438 # ac_fn_c_try_cpp LINENO
1439 # ----------------------
1440 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 if { { ac_try="$ac_cpp conftest.$ac_ext"
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } > conftest.i && {
1460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.$ac_ext >&5
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status $ac_retval
1475 # ac_fn_c_try_link LINENO
1476 # -----------------------
1477 # Try to link conftest.$ac_ext, and return whether this succeeded.
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext conftest$ac_exeext
1482 if { { ac_try="$ac_link"
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_link") 2>conftest.err
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest$ac_exeext && {
1501 test "$cross_compiling" = yes ||
1502 test -x conftest$ac_exeext
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1511 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1512 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1513 # interfere with the next link command; also delete a directory that is
1514 # left behind by Apple's compiler. We do this before executing the actions.
1515 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519 } # ac_fn_c_try_link
1521 # ac_fn_c_check_func LINENO FUNC VAR
1522 # ----------------------------------
1523 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1524 ac_fn_c_check_func ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1528 $as_echo_n "checking for $2... " >&6; }
1529 if eval \${$3+:} false; then :
1530 $as_echo_n "(cached) " >&6
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1534 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1536 #define $2 innocuous_$2
1538 /* System header to define __stub macros and hopefully few prototypes,
1539 which can conflict with char $2 (); below.
1540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1541 <limits.h> exists even on freestanding compilers. */
1544 # include <limits.h>
1546 # include <assert.h>
1551 /* Override any GCC internal prototype to avoid an error.
1552 Use char because int might match the return type of a GCC
1553 builtin and then its argument prototype would still apply. */
1558 /* The GNU C library defines this for functions which it implements
1559 to always fail with ENOSYS. Some functions are actually named
1560 something starting with __ and the normal name is an alias. */
1561 #if defined __stub_$2 || defined __stub___$2
1573 if ac_fn_c_try_link "$LINENO"; then :
1578 rm -f core conftest.err conftest.$ac_objext \
1579 conftest$ac_exeext conftest.$ac_ext
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 } # ac_fn_c_check_func
1588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1589 # -------------------------------------------------------
1590 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1591 # the include files in INCLUDES and setting the cache variable VAR
1593 ac_fn_c_check_header_mongrel ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 if eval \${$3+:} false; then :
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604 $as_echo "$ac_res" >&6; }
1606 # Is the header compilable?
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1608 $as_echo_n "checking $2 usability... " >&6; }
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615 ac_header_compiler=yes
1617 ac_header_compiler=no
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1621 $as_echo "$ac_header_compiler" >&6; }
1623 # Is the header present?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1625 $as_echo_n "checking $2 presence... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1630 if ac_fn_c_try_cpp "$LINENO"; then :
1631 ac_header_preproc=yes
1633 ac_header_preproc=no
1635 rm -f conftest.err conftest.i conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1637 $as_echo "$ac_header_preproc" >&6; }
1639 # So? What about this header?
1640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1643 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1649 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1651 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if eval \${$3+:} false; then :
1663 $as_echo_n "(cached) " >&6
1665 eval "$3=\$ac_header_compiler"
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 } # ac_fn_c_check_header_mongrel
1675 # ac_fn_c_try_run LINENO
1676 # ----------------------
1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1678 # that executables *can* be run.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 if { { ac_try="$ac_link"
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_link") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1693 { { case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_try") 2>&5
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; }; }; then :
1705 $as_echo "$as_me: program exited with status $ac_status" >&5
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1709 ac_retval=$ac_status
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists and can be compiled using the include files in
1720 # INCLUDES, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 } # ac_fn_c_check_header_compile
1747 cat >config.log <<_ACEOF
1748 This file contains any messages produced by compilers while
1749 running configure, to aid debugging if configure makes a mistake.
1751 It was created by $as_me, which was
1752 generated by GNU Autoconf 2.69. Invocation command line was
1764 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1765 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1766 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1767 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1768 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1771 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1773 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1774 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1775 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1776 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1777 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1778 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1779 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787 test -z "$as_dir" && as_dir=.
1788 $as_echo "PATH: $as_dir"
1804 # Keep a trace of the command line.
1805 # Strip out --no-create and --no-recursion so they do not pile up.
1806 # Strip out --silent because we don't want to record it for future runs.
1807 # Also quote any args containing shell meta-characters.
1808 # Make two passes to allow for proper duplicate-argument suppression.
1812 ac_must_keep_next=false
1818 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1820 | -silent | --silent | --silen | --sile | --sil)
1823 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1826 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1828 as_fn_append ac_configure_args1 " '$ac_arg'"
1829 if test $ac_must_keep_next = true; then
1830 ac_must_keep_next=false # Got value, back to normal.
1833 *=* | --config-cache | -C | -disable-* | --disable-* \
1834 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1835 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1836 | -with-* | --with-* | -without-* | --without-* | --x)
1837 case "$ac_configure_args0 " in
1838 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1841 -* ) ac_must_keep_next=true ;;
1844 as_fn_append ac_configure_args " '$ac_arg'"
1849 { ac_configure_args0=; unset ac_configure_args0;}
1850 { ac_configure_args1=; unset ac_configure_args1;}
1852 # When interrupted or exit'd, cleanup temporary files, and complete
1853 # config.log. We remove comments because anyway the quotes in there
1854 # would cause problems or look ugly.
1855 # WARNING: Use '\'' to represent an apostrophe within the trap.
1856 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1857 trap 'exit_status=$?
1858 # Save into config.log some information that might help in debugging.
1862 $as_echo "## ---------------- ##
1863 ## Cache variables. ##
1864 ## ---------------- ##"
1866 # The following way of writing the cache mishandles newlines in values,
1868 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1869 eval ac_val=\$$ac_var
1873 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1874 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1877 _ | IFS | as_nl) ;; #(
1878 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1879 *) { eval $ac_var=; unset $ac_var;} ;;
1884 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1885 *${as_nl}ac_space=\ *)
1887 "s/'\''/'\''\\\\'\'''\''/g;
1888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1898 $as_echo "## ----------------- ##
1899 ## Output variables. ##
1900 ## ----------------- ##"
1902 for ac_var in $ac_subst_vars
1904 eval ac_val=\$$ac_var
1906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1908 $as_echo "$ac_var='\''$ac_val'\''"
1912 if test -n "$ac_subst_files"; then
1913 $as_echo "## ------------------- ##
1914 ## File substitutions. ##
1915 ## ------------------- ##"
1917 for ac_var in $ac_subst_files
1919 eval ac_val=\$$ac_var
1921 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1923 $as_echo "$ac_var='\''$ac_val'\''"
1928 if test -s confdefs.h; then
1929 $as_echo "## ----------- ##
1936 test "$ac_signal" != 0 &&
1937 $as_echo "$as_me: caught signal $ac_signal"
1938 $as_echo "$as_me: exit $exit_status"
1940 rm -f core *.core core.conftest.* &&
1941 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1944 for ac_signal in 1 2 13 15; do
1945 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1949 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1950 rm -f -r conftest* confdefs.h
1952 $as_echo "/* confdefs.h */" > confdefs.h
1954 # Predefined preprocessor variables.
1956 cat >>confdefs.h <<_ACEOF
1957 #define PACKAGE_NAME "$PACKAGE_NAME"
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1964 cat >>confdefs.h <<_ACEOF
1965 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1968 cat >>confdefs.h <<_ACEOF
1969 #define PACKAGE_STRING "$PACKAGE_STRING"
1972 cat >>confdefs.h <<_ACEOF
1973 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_URL "$PACKAGE_URL"
1981 # Let the site file select an alternate cache file if it wants to.
1982 # Prefer an explicitly selected file to automatically selected ones.
1985 if test -n "$CONFIG_SITE"; then
1986 # We do not want a PATH search for config.site.
1987 case $CONFIG_SITE in #((
1988 -*) ac_site_file1=./$CONFIG_SITE;;
1989 */*) ac_site_file1=$CONFIG_SITE;;
1990 *) ac_site_file1=./$CONFIG_SITE;;
1992 elif test "x$prefix" != xNONE; then
1993 ac_site_file1=$prefix/share/config.site
1994 ac_site_file2=$prefix/etc/config.site
1996 ac_site_file1=$ac_default_prefix/share/config.site
1997 ac_site_file2=$ac_default_prefix/etc/config.site
1999 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2001 test "x$ac_site_file" = xNONE && continue
2002 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2004 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2005 sed 's/^/| /' "$ac_site_file" >&5
2007 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2009 as_fn_error $? "failed to load site script $ac_site_file
2010 See \`config.log' for more details" "$LINENO" 5; }
2014 if test -r "$cache_file"; then
2015 # Some versions of bash will fail to source /dev/null (special files
2016 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2017 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2019 $as_echo "$as_me: loading cache $cache_file" >&6;}
2021 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2022 *) . "./$cache_file";;
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2027 $as_echo "$as_me: creating cache $cache_file" >&6;}
2031 # Check that the precious variables saved in the cache have kept the same
2033 ac_cache_corrupted=false
2034 for ac_var in $ac_precious_vars; do
2035 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2036 eval ac_new_set=\$ac_env_${ac_var}_set
2037 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2038 eval ac_new_val=\$ac_env_${ac_var}_value
2039 case $ac_old_set,$ac_new_set in
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2042 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2043 ac_cache_corrupted=: ;;
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2046 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2047 ac_cache_corrupted=: ;;
2050 if test "x$ac_old_val" != "x$ac_new_val"; then
2051 # differences in whitespace do not lead to failure.
2052 ac_old_val_w=`echo x $ac_old_val`
2053 ac_new_val_w=`echo x $ac_new_val`
2054 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2056 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2057 ac_cache_corrupted=:
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2060 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2061 eval $ac_var=\$ac_old_val
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2064 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2066 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2069 # Pass precious variables to config.status.
2070 if test "$ac_new_set" = set; then
2072 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2073 *) ac_arg=$ac_var=$ac_new_val ;;
2075 case " $ac_configure_args " in
2076 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2077 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2081 if $ac_cache_corrupted; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2085 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2086 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2088 ## -------------------- ##
2089 ## Main body of script. ##
2090 ## -------------------- ##
2093 ac_cpp='$CPP $CPPFLAGS'
2094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2099 ac_config_headers="$ac_config_headers src/config.h"
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you requested dynamic linking" >&5
2105 $as_echo_n "checking whether you requested dynamic linking... " >&6; }
2107 # Check whether --enable-dynamic was given.
2108 if test "${enable_dynamic+set}" = set; then :
2109 enableval=$enable_dynamic; case "$enableval" in
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (ELF)" >&5
2113 $as_echo "yes (ELF)" >&6; }
2115 no) ENABLE_DYNAMIC=no
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2117 $as_echo "no" >&6; }
2119 *) as_fn_error $? "\"invalid value $enableval for --enable-dynamic, try yes or elf\"" "$LINENO" 5
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, by default" >&5
2127 $as_echo "yes, by default" >&6; }
2133 ac_cpp='$CPP $CPPFLAGS'
2134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2139 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2141 $as_echo_n "checking for $ac_word... " >&6; }
2142 if ${ac_cv_prog_CC+:} false; then :
2143 $as_echo_n "(cached) " >&6
2145 if test -n "$CC"; then
2146 ac_cv_prog_CC="$CC" # Let the user override the test.
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 if test -n "$CC"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2168 $as_echo "$CC" >&6; }
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2171 $as_echo "no" >&6; }
2176 if test -z "$ac_cv_prog_CC"; then
2178 # Extract the first word of "gcc", so it can be a program name with args.
2179 set dummy gcc; ac_word=$2
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2181 $as_echo_n "checking for $ac_word... " >&6; }
2182 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2183 $as_echo_n "(cached) " >&6
2185 if test -n "$ac_ct_CC"; then
2186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195 ac_cv_prog_ac_ct_CC="gcc"
2196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2208 $as_echo "$ac_ct_CC" >&6; }
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2211 $as_echo "no" >&6; }
2214 if test "x$ac_ct_CC" = x; then
2217 case $cross_compiling:$ac_tool_warned in
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2221 ac_tool_warned=yes ;;
2229 if test -z "$CC"; then
2230 if test -n "$ac_tool_prefix"; then
2231 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2232 set dummy ${ac_tool_prefix}cc; ac_word=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_prog_CC+:} false; then :
2236 $as_echo_n "(cached) " >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC="$CC" # Let the user override the test.
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC="${ac_tool_prefix}cc"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
2270 if test -z "$CC"; then
2271 # Extract the first word of "cc", so it can be a program name with args.
2272 set dummy cc; ac_word=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if ${ac_cv_prog_CC+:} false; then :
2276 $as_echo_n "(cached) " >&6
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2290 ac_prog_rejected=yes
2294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 if test $ac_prog_rejected = yes; then
2302 # We found a bogon in the path, so make sure we never use it.
2303 set dummy $ac_cv_prog_CC
2305 if test $# != 0; then
2306 # We chose a different compiler from the bogus one.
2307 # However, it has the same basename, so the bogon will be chosen
2308 # first if we set CC to just the basename; use the full file name.
2310 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2326 if test -z "$CC"; then
2327 if test -n "$ac_tool_prefix"; then
2328 for ac_prog in cl.exe
2330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC="$CC" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2367 test -n "$CC" && break
2370 if test -z "$CC"; then
2372 for ac_prog in cl.exe
2374 # Extract the first word of "$ac_prog", so it can be a program name with args.
2375 set dummy $ac_prog; ac_word=$2
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377 $as_echo_n "checking for $ac_word... " >&6; }
2378 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2379 $as_echo_n "(cached) " >&6
2381 if test -n "$ac_ct_CC"; then
2382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 ac_cv_prog_ac_ct_CC="$ac_prog"
2392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2402 if test -n "$ac_ct_CC"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2404 $as_echo "$ac_ct_CC" >&6; }
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407 $as_echo "no" >&6; }
2411 test -n "$ac_ct_CC" && break
2414 if test "x$ac_ct_CC" = x; then
2417 case $cross_compiling:$ac_tool_warned in
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2421 ac_tool_warned=yes ;;
2430 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 as_fn_error $? "no acceptable C compiler found in \$PATH
2433 See \`config.log' for more details" "$LINENO" 5; }
2435 # Provide some information about the compiler.
2436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2439 for ac_option in --version -v -V -qversion; do
2440 { { ac_try="$ac_compiler $ac_option >&5"
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2446 $as_echo "$ac_try_echo"; } >&5
2447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2449 if test -s conftest.err; then
2451 ... rest of stderr output deleted ...
2452 10q' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2455 rm -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; }
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2471 ac_clean_files_save=$ac_clean_files
2472 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2473 # Try to create an executable without -o first, disregard a.out.
2474 # It will help us diagnose broken compilers, and finding out an intuition
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2477 $as_echo_n "checking whether the C compiler works... " >&6; }
2478 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2480 # The possible output files:
2481 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2484 for ac_file in $ac_files
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2488 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2493 if { { ac_try="$ac_link_default"
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_link_default") 2>&5
2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2503 test $ac_status = 0; }; then :
2504 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2505 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2506 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2507 # so that the user can short-circuit this test for compilers unknown to
2509 for ac_file in $ac_files ''
2511 test -f "$ac_file" || continue
2513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2516 # We found the default executable, but exeext='' is most
2520 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2522 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2524 # We set ac_cv_exeext here because the later test for it is not
2525 # safe: cross compilers may not add the suffix if given an `-o'
2526 # argument, so we may need to know it at that point already.
2527 # Even if this section looks crufty: it has the advantage of
2534 test "$ac_cv_exeext" = no && ac_cv_exeext=
2539 if test -z "$ac_file"; then :
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2542 $as_echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2547 as_fn_error 77 "C compiler cannot create executables
2548 See \`config.log' for more details" "$LINENO" 5; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2554 $as_echo_n "checking for C compiler default output file name... " >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2556 $as_echo "$ac_file" >&6; }
2557 ac_exeext=$ac_cv_exeext
2559 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2560 ac_clean_files=$ac_clean_files_save
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2562 $as_echo_n "checking for suffix of executables... " >&6; }
2563 if { { 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; }; then :
2574 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2575 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2576 # work properly (i.e., refer to `conftest.exe'), while it won't with
2578 for ac_file in conftest.exe conftest conftest.*; do
2579 test -f "$ac_file" || continue
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2582 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2591 See \`config.log' for more details" "$LINENO" 5; }
2593 rm -f conftest conftest$ac_cv_exeext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2595 $as_echo "$ac_cv_exeext" >&6; }
2597 rm -f conftest.$ac_ext
2598 EXEEXT=$ac_cv_exeext
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2606 FILE *f = fopen ("conftest.out", "w");
2607 return ferror (f) || fclose (f) != 0;
2613 ac_clean_files="$ac_clean_files conftest.out"
2614 # Check that the compiler produces executables we can run. If not, either
2615 # the compiler is broken, or we cross compile.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2617 $as_echo_n "checking whether we are cross compiling... " >&6; }
2618 if test "$cross_compiling" != yes; then
2619 { { ac_try="$ac_link"
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>&5
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }
2630 if { ac_try='./conftest$ac_cv_exeext'
2631 { { case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_try") 2>&5
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }; }; then
2643 if test "$cross_compiling" = maybe; then
2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 as_fn_error $? "cannot run C compiled programs.
2649 If you meant to cross compile, use \`--host'.
2650 See \`config.log' for more details" "$LINENO" 5; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2655 $as_echo "$cross_compiling" >&6; }
2657 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2658 ac_clean_files=$ac_clean_files_save
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2660 $as_echo_n "checking for suffix of object files... " >&6; }
2661 if ${ac_cv_objext+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2675 rm -f conftest.o conftest.obj
2676 if { { ac_try="$ac_compile"
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_compile") 2>&5
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; }; then :
2687 for ac_file in conftest.o conftest.obj conftest.*; do
2688 test -f "$ac_file" || continue;
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2691 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701 as_fn_error $? "cannot compute suffix of object files: cannot compile
2702 See \`config.log' for more details" "$LINENO" 5; }
2704 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2707 $as_echo "$ac_cv_objext" >&6; }
2708 OBJEXT=$ac_cv_objext
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2711 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2712 if ${ac_cv_c_compiler_gnu+:} false; then :
2713 $as_echo_n "(cached) " >&6
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2729 if ac_fn_c_try_compile "$LINENO"; then :
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2739 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2740 if test $ac_compiler_gnu = yes; then
2745 ac_test_CFLAGS=${CFLAGS+set}
2746 ac_save_CFLAGS=$CFLAGS
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2748 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2749 if ${ac_cv_prog_cc_g+:} false; then :
2750 $as_echo_n "(cached) " >&6
2752 ac_save_c_werror_flag=$ac_c_werror_flag
2753 ac_c_werror_flag=yes
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2767 if ac_fn_c_try_compile "$LINENO"; then :
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2782 if ac_fn_c_try_compile "$LINENO"; then :
2785 ac_c_werror_flag=$ac_save_c_werror_flag
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2798 if ac_fn_c_try_compile "$LINENO"; then :
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2809 $as_echo "$ac_cv_prog_cc_g" >&6; }
2810 if test "$ac_test_CFLAGS" = set; then
2811 CFLAGS=$ac_save_CFLAGS
2812 elif test $ac_cv_prog_cc_g = yes; then
2813 if test "$GCC" = yes; then
2819 if test "$GCC" = yes; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2826 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2827 if ${ac_cv_prog_cc_c89+:} false; then :
2828 $as_echo_n "(cached) " >&6
2830 ac_cv_prog_cc_c89=no
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2838 struct buf { int x; };
2839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2840 static char *e (p, i)
2846 static char *f (char * (*g) (char **, int), char **p, ...)
2851 s = g (p, va_arg (v,int));
2856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2857 function prototypes and stuff, but not '\xHH' hex character constants.
2858 These don't provoke an error unfortunately, instead are silently treated
2859 as 'x'. The following induces an error, until -std is added to get
2860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2861 array size at least. It's necessary to write '\x00'==0 to get something
2862 that's true only with -std. */
2863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2866 inside strings and character constants. */
2868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2870 int test (int i, double x);
2871 struct s1 {int (*f) (int a);};
2872 struct s2 {int (*f) (double a);};
2873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2887 CC="$ac_save_CC $ac_arg"
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 ac_cv_prog_cc_c89=$ac_arg
2891 rm -f core conftest.err conftest.$ac_objext
2892 test "x$ac_cv_prog_cc_c89" != "xno" && break
2894 rm -f conftest.$ac_ext
2899 case "x$ac_cv_prog_cc_c89" in
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2902 $as_echo "none needed" >&6; } ;;
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2905 $as_echo "unsupported" >&6; } ;;
2907 CC="$CC $ac_cv_prog_cc_c89"
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2909 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2911 if test "x$ac_cv_prog_cc_c89" != xno; then :
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2927 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2928 # On Suns, sometimes $CPP names a directory.
2929 if test -n "$CPP" && test -d "$CPP"; then
2932 if test -z "$CPP"; then
2933 if ${ac_cv_prog_CPP+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 # Double quotes because CPP needs to be expanded
2937 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2940 for ac_c_preproc_warn_flag in '' yes
2942 # Use a header file that comes with gcc, so configuring glibc
2943 # with a fresh cross-compiler works.
2944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2945 # <limits.h> exists even on freestanding compilers.
2946 # On the NeXT, cc -E runs the code through the compiler's parser,
2947 # not just through cpp. "Syntax error" is here to catch this case.
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2951 # include <limits.h>
2953 # include <assert.h>
2957 if ac_fn_c_try_cpp "$LINENO"; then :
2960 # Broken: fails on valid input.
2963 rm -f conftest.err conftest.i conftest.$ac_ext
2965 # OK, works on sane cases. Now check whether nonexistent headers
2966 # can be detected and how.
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2969 #include <ac_nonexistent.h>
2971 if ac_fn_c_try_cpp "$LINENO"; then :
2972 # Broken: success on invalid input.
2975 # Passes both tests.
2979 rm -f conftest.err conftest.i conftest.$ac_ext
2982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2983 rm -f conftest.i conftest.err conftest.$ac_ext
2984 if $ac_preproc_ok; then :
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2997 $as_echo "$CPP" >&6; }
2999 for ac_c_preproc_warn_flag in '' yes
3001 # Use a header file that comes with gcc, so configuring glibc
3002 # with a fresh cross-compiler works.
3003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3004 # <limits.h> exists even on freestanding compilers.
3005 # On the NeXT, cc -E runs the code through the compiler's parser,
3006 # not just through cpp. "Syntax error" is here to catch this case.
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3010 # include <limits.h>
3012 # include <assert.h>
3016 if ac_fn_c_try_cpp "$LINENO"; then :
3019 # Broken: fails on valid input.
3022 rm -f conftest.err conftest.i conftest.$ac_ext
3024 # OK, works on sane cases. Now check whether nonexistent headers
3025 # can be detected and how.
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3028 #include <ac_nonexistent.h>
3030 if ac_fn_c_try_cpp "$LINENO"; then :
3031 # Broken: success on invalid input.
3034 # Passes both tests.
3038 rm -f conftest.err conftest.i conftest.$ac_ext
3041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3042 rm -f conftest.i conftest.err conftest.$ac_ext
3043 if $ac_preproc_ok; then :
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3049 See \`config.log' for more details" "$LINENO" 5; }
3053 ac_cpp='$CPP $CPPFLAGS'
3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_RANLIB+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$RANLIB"; then
3067 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 RANLIB=$ac_cv_prog_RANLIB
3087 if test -n "$RANLIB"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3089 $as_echo "$RANLIB" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3097 if test -z "$ac_cv_prog_RANLIB"; then
3098 ac_ct_RANLIB=$RANLIB
3099 # Extract the first word of "ranlib", so it can be a program name with args.
3100 set dummy ranlib; ac_word=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$ac_ct_RANLIB"; then
3107 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_ac_ct_RANLIB="ranlib"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3127 if test -n "$ac_ct_RANLIB"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3129 $as_echo "$ac_ct_RANLIB" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3135 if test "x$ac_ct_RANLIB" = x; then
3138 case $cross_compiling:$ac_tool_warned in
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142 ac_tool_warned=yes ;;
3144 RANLIB=$ac_ct_RANLIB
3147 RANLIB="$ac_cv_prog_RANLIB"
3151 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3152 if test -f "$ac_dir/install-sh"; then
3154 ac_install_sh="$ac_aux_dir/install-sh -c"
3156 elif test -f "$ac_dir/install.sh"; then
3158 ac_install_sh="$ac_aux_dir/install.sh -c"
3160 elif test -f "$ac_dir/shtool"; then
3162 ac_install_sh="$ac_aux_dir/shtool install -c"
3166 if test -z "$ac_aux_dir"; then
3167 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3170 # These three variables are undocumented and unsupported,
3171 # and are intended to be withdrawn in a future Autoconf release.
3172 # They can cause serious problems if a builder's source tree is in a directory
3173 # whose full name contains unusual characters.
3174 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3175 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3176 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3179 # Find a good install program. We prefer a C program (faster),
3180 # so one script is as good as another. But avoid the broken or
3181 # incompatible versions:
3182 # SysV /etc/install, /usr/sbin/install
3183 # SunOS /usr/etc/install
3184 # IRIX /sbin/install
3186 # AmigaOS /C/install, which installs bootblocks on floppy discs
3187 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3188 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3189 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3190 # OS/2's system install, which has a completely different semantic
3191 # ./install, which can be erroneously created by make from ./install.sh.
3192 # Reject install programs that cannot install multiple files.
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3194 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3195 if test -z "$INSTALL"; then
3196 if ${ac_cv_path_install+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 # Account for people who put trailing slashes in PATH elements.
3205 case $as_dir/ in #((
3206 ./ | .// | /[cC]/* | \
3207 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3208 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3211 # OSF1 and SCO ODT 3.0 have their own names for install.
3212 # Don't use installbsd from OSF since it installs stuff as root
3214 for ac_prog in ginstall scoinst install; do
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3217 if test $ac_prog = install &&
3218 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3219 # AIX install. It has an incompatible calling convention.
3221 elif test $ac_prog = install &&
3222 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3223 # program-specific install script used by HP pwplus--don't use.
3226 rm -rf conftest.one conftest.two conftest.dir
3227 echo one > conftest.one
3228 echo two > conftest.two
3230 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3231 test -s conftest.one && test -s conftest.two &&
3232 test -s conftest.dir/conftest.one &&
3233 test -s conftest.dir/conftest.two
3235 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3248 rm -rf conftest.one conftest.two conftest.dir
3251 if test "${ac_cv_path_install+set}" = set; then
3252 INSTALL=$ac_cv_path_install
3254 # As a last resort, use the slow shell script. Don't cache a
3255 # value for INSTALL within a source directory, because that will
3256 # break other packages using the cache if that directory is
3257 # removed, or if the value is a relative name.
3258 INSTALL=$ac_install_sh
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3262 $as_echo "$INSTALL" >&6; }
3264 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3265 # It thinks the first close brace ends the variable substitution.
3266 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3268 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3270 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3276 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
3277 if test "x$ac_cv_func_poll" = xyes; then :
3278 cat >>confdefs.h <<_ACEOF
3286 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
3287 if test "x$ac_cv_func_socket" = xyes; then :
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3292 $as_echo_n "checking for socket in -lsocket... " >&6; }
3293 if ${ac_cv_lib_socket_socket+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 ac_check_lib_save_LIBS=$LIBS
3297 LIBS="-lsocket $LIBS"
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3301 /* Override any GCC internal prototype to avoid an error.
3302 Use char because int might match the return type of a GCC
3303 builtin and then its argument prototype would still apply. */
3316 if ac_fn_c_try_link "$LINENO"; then :
3317 ac_cv_lib_socket_socket=yes
3319 ac_cv_lib_socket_socket=no
3321 rm -f core conftest.err conftest.$ac_objext \
3322 conftest$ac_exeext conftest.$ac_ext
3323 LIBS=$ac_check_lib_save_LIBS
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3326 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3327 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3328 cat >>confdefs.h <<_ACEOF
3329 #define HAVE_LIBSOCKET 1
3332 LIBS="-lsocket $LIBS"
3336 as_fn_error $? "cannot find library function socket" "$LINENO" 5
3345 ac_fn_c_check_func "$LINENO" "inet_ntoa" "ac_cv_func_inet_ntoa"
3346 if test "x$ac_cv_func_inet_ntoa" = xyes; then :
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
3351 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
3352 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
3353 $as_echo_n "(cached) " >&6
3355 ac_check_lib_save_LIBS=$LIBS
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3360 /* Override any GCC internal prototype to avoid an error.
3361 Use char because int might match the return type of a GCC
3362 builtin and then its argument prototype would still apply. */
3370 return inet_ntoa ();
3375 if ac_fn_c_try_link "$LINENO"; then :
3376 ac_cv_lib_nsl_inet_ntoa=yes
3378 ac_cv_lib_nsl_inet_ntoa=no
3380 rm -f core conftest.err conftest.$ac_objext \
3381 conftest$ac_exeext conftest.$ac_ext
3382 LIBS=$ac_check_lib_save_LIBS
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
3385 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
3386 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
3387 cat >>confdefs.h <<_ACEOF
3388 #define HAVE_LIBNSL 1
3395 as_fn_error $? "cannot find library function inet_ntoa" "$LINENO" 5
3404 PROGS_IF_TSEARCH=adnsresfilter
3406 ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
3407 if test "x$ac_cv_func_tsearch" = xyes; then :
3409 PROGS_HAVE_TSEARCH=$PROGS_IF_TSEARCH
3413 PROGS_HAVE_TSEARCH='';
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: tsearch missing - not building client program(s) $PROGS_IF_TSEARCH" >&5
3415 $as_echo "$as_me: WARNING: tsearch missing - not building client program(s) $PROGS_IF_TSEARCH" >&2;}
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_LOOPBACK" >&5
3421 $as_echo_n "checking for INADDR_LOOPBACK... " >&6; }
3422 if ${adns_cv_decl_inaddrloopback+:} false; then :
3423 $as_echo_n "(cached) " >&6
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3429 #include <sys/socket.h>
3430 #include <netinet/in.h>
3431 #include <arpa/inet.h>
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 adns_cv_decl_inaddrloopback=yes
3446 adns_cv_decl_inaddrloopback=no
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 if test "$adns_cv_decl_inaddrloopback" = yes; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3453 $as_echo "found" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not in standard headers, urgh..." >&5
3456 $as_echo "not in standard headers, urgh..." >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3459 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3460 if ${ac_cv_path_GREP+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 if test -z "$GREP"; then
3464 ac_path_GREP_found=false
3465 # Loop through the user's path and test for each of PROGNAME-LIST
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3470 test -z "$as_dir" && as_dir=.
3471 for ac_prog in grep ggrep; do
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3474 as_fn_executable_p "$ac_path_GREP" || continue
3475 # Check for GNU ac_path_GREP and select it if it is found.
3476 # Check for GNU $ac_path_GREP
3477 case `"$ac_path_GREP" --version 2>&1` in
3479 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3482 $as_echo_n 0123456789 >"conftest.in"
3485 cat "conftest.in" "conftest.in" >"conftest.tmp"
3486 mv "conftest.tmp" "conftest.in"
3487 cp "conftest.in" "conftest.nl"
3488 $as_echo 'GREP' >> "conftest.nl"
3489 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3491 as_fn_arith $ac_count + 1 && ac_count=$as_val
3492 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3493 # Best one so far, save it but keep looking for a better one
3494 ac_cv_path_GREP="$ac_path_GREP"
3495 ac_path_GREP_max=$ac_count
3497 # 10*(2^10) chars as input seems more than enough
3498 test $ac_count -gt 10 && break
3500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3503 $ac_path_GREP_found && break 3
3508 if test -z "$ac_cv_path_GREP"; then
3509 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3512 ac_cv_path_GREP=$GREP
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3517 $as_echo "$ac_cv_path_GREP" >&6; }
3518 GREP="$ac_cv_path_GREP"
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3522 $as_echo_n "checking for egrep... " >&6; }
3523 if ${ac_cv_path_EGREP+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3527 then ac_cv_path_EGREP="$GREP -E"
3529 if test -z "$EGREP"; then
3530 ac_path_EGREP_found=false
3531 # Loop through the user's path and test for each of PROGNAME-LIST
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3536 test -z "$as_dir" && as_dir=.
3537 for ac_prog in egrep; do
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3540 as_fn_executable_p "$ac_path_EGREP" || continue
3541 # Check for GNU ac_path_EGREP and select it if it is found.
3542 # Check for GNU $ac_path_EGREP
3543 case `"$ac_path_EGREP" --version 2>&1` in
3545 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3548 $as_echo_n 0123456789 >"conftest.in"
3551 cat "conftest.in" "conftest.in" >"conftest.tmp"
3552 mv "conftest.tmp" "conftest.in"
3553 cp "conftest.in" "conftest.nl"
3554 $as_echo 'EGREP' >> "conftest.nl"
3555 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3556 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3557 as_fn_arith $ac_count + 1 && ac_count=$as_val
3558 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3559 # Best one so far, save it but keep looking for a better one
3560 ac_cv_path_EGREP="$ac_path_EGREP"
3561 ac_path_EGREP_max=$ac_count
3563 # 10*(2^10) chars as input seems more than enough
3564 test $ac_count -gt 10 && break
3566 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3569 $ac_path_EGREP_found && break 3
3574 if test -z "$ac_cv_path_EGREP"; then
3575 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3578 ac_cv_path_EGREP=$EGREP
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3584 $as_echo "$ac_cv_path_EGREP" >&6; }
3585 EGREP="$ac_cv_path_EGREP"
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3589 $as_echo_n "checking for ANSI C header files... " >&6; }
3590 if ${ac_cv_header_stdc+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3608 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_cv_header_stdc=yes
3611 ac_cv_header_stdc=no
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 if test $ac_cv_header_stdc = yes; then
3616 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3623 $EGREP "memchr" >/dev/null 2>&1; then :
3626 ac_cv_header_stdc=no
3632 if test $ac_cv_header_stdc = yes; then
3633 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3640 $EGREP "free" >/dev/null 2>&1; then :
3643 ac_cv_header_stdc=no
3649 if test $ac_cv_header_stdc = yes; then
3650 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3651 if test "$cross_compiling" = yes; then :
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3658 #if ((' ' & 0x0FF) == 0x020)
3659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3662 # define ISLOWER(c) \
3663 (('a' <= (c) && (c) <= 'i') \
3664 || ('j' <= (c) && (c) <= 'r') \
3665 || ('s' <= (c) && (c) <= 'z'))
3666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3674 for (i = 0; i < 256; i++)
3675 if (XOR (islower (i), ISLOWER (i))
3676 || toupper (i) != TOUPPER (i))
3681 if ac_fn_c_try_run "$LINENO"; then :
3684 ac_cv_header_stdc=no
3686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3687 conftest.$ac_objext conftest.beam conftest.$ac_ext
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3693 $as_echo "$ac_cv_header_stdc" >&6; }
3694 if test $ac_cv_header_stdc = yes; then
3696 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3700 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3701 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3702 inttypes.h stdint.h unistd.h
3704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3708 cat >>confdefs.h <<_ACEOF
3709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3717 ac_fn_c_check_header_mongrel "$LINENO" "rpc/types.h" "ac_cv_header_rpc_types_h" "$ac_includes_default"
3718 if test "x$ac_cv_header_rpc_types_h" = xyes; then :
3720 $as_echo "#define HAVEUSE_RPCTYPES_H 1" >>confdefs.h
3725 as_fn_error $? "cannot find INADDR_LOOPBACK or rpc/types.h" "$LINENO" 5
3733 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
3734 if test "x$ac_cv_func_inet_aton" = xyes; then :
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
3739 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
3740 if ${ac_cv_lib_resolv_inet_aton+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 ac_check_lib_save_LIBS=$LIBS
3744 LIBS="-lresolv $LIBS"
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3748 /* Override any GCC internal prototype to avoid an error.
3749 Use char because int might match the return type of a GCC
3750 builtin and then its argument prototype would still apply. */
3758 return inet_aton ();
3763 if ac_fn_c_try_link "$LINENO"; then :
3764 ac_cv_lib_resolv_inet_aton=yes
3766 ac_cv_lib_resolv_inet_aton=no
3768 rm -f core conftest.err conftest.$ac_objext \
3769 conftest$ac_exeext conftest.$ac_ext
3770 LIBS=$ac_check_lib_save_LIBS
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
3773 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
3774 if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
3776 LIBS="-lresolv $LIBS";
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&5
3778 $as_echo "$as_me: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&2;}
3782 as_fn_error $? "cannot find library function inet_aton" "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking inlines" >&5
3793 $as_echo_n "checking inlines... " >&6; }
3794 if ${dpkg_cv_c_inline+:} false; then :
3795 $as_echo_n "(cached) " >&6
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3804 } inline int foo (int x) {
3809 if ac_fn_c_try_compile "$LINENO"; then :
3810 dpkg_cv_c_inline=yes
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 if test "x$dpkg_cv_c_inline" = xyes; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3821 $as_echo "yes" >&6; }
3822 $as_echo "#define HAVE_INLINE 1" >>confdefs.h
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3833 if test "${GCC-no}" = yes; then
3834 WARNS="-Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith"
3835 saved_cflags="$CFLAGS"
3836 CFLAGS="$CFLAGS -Wno-pointer-sign"
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking -Wno-pointer-sign" >&5
3839 $as_echo_n "checking -Wno-pointer-sign... " >&6; }
3840 if ${adns_cv_c_wnoptrsign+:} false; then :
3841 $as_echo_n "(cached) " >&6
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856 adns_cv_c_wnoptrsign=yes
3858 adns_cv_c_wnoptrsign=no
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 if test "x$adns_cv_c_wnoptrsign" = xyes; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3867 $as_echo "yes" >&6; }
3868 WARNS="$WARNS -Wno-pointer-sign"
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3875 CFLAGS="$saved_cflags"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
3883 $as_echo_n "checking __attribute__((,,))... " >&6; }
3884 if ${adns_cv_c_attribute_supported+:} false; then :
3885 $as_echo_n "(cached) " >&6
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3894 extern int testfunction(int x) __attribute__((,,))
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900 adns_cv_c_attribute_supported=yes
3902 adns_cv_c_attribute_supported=no
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 if test "x$adns_cv_c_attribute_supported" = xyes; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3911 $as_echo "yes" >&6; }
3912 $as_echo "#define HAVE_GNUC25_ATTRIB 1" >>confdefs.h
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((noreturn))" >&5
3916 $as_echo_n "checking __attribute__((noreturn))... " >&6; }
3917 if ${adns_cv_c_attribute_noreturn+:} false; then :
3918 $as_echo_n "(cached) " >&6
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3927 extern int testfunction(int x) __attribute__((noreturn))
3932 if ac_fn_c_try_compile "$LINENO"; then :
3933 adns_cv_c_attribute_noreturn=yes
3935 adns_cv_c_attribute_noreturn=no
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941 if test "x$adns_cv_c_attribute_noreturn" = xyes; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944 $as_echo "yes" >&6; }
3945 $as_echo "#define HAVE_GNUC25_NORETURN 1" >>confdefs.h
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((const))" >&5
3955 $as_echo_n "checking __attribute__((const))... " >&6; }
3956 if ${adns_cv_c_attribute_const+:} false; then :
3957 $as_echo_n "(cached) " >&6
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3966 extern int testfunction(int x) __attribute__((const))
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 adns_cv_c_attribute_const=yes
3974 adns_cv_c_attribute_const=no
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 if test "x$adns_cv_c_attribute_const" = xyes; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3983 $as_echo "yes" >&6; }
3984 $as_echo "#define HAVE_GNUC25_CONST 1" >>confdefs.h
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((format...))" >&5
3994 $as_echo_n "checking __attribute__((format...))... " >&6; }
3995 if ${adns_cv_attribute_format+:} false; then :
3996 $as_echo_n "(cached) " >&6
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4005 extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))
4010 if ac_fn_c_try_compile "$LINENO"; then :
4011 adns_cv_attribute_format=yes
4013 adns_cv_attribute_format=no
4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 if test "x$adns_cv_attribute_format" = xyes; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4023 $as_echo "#define HAVE_GNUC25_PRINTFFORMAT 1" >>confdefs.h
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4048 SHLIBFORLINK='libadns.so'
4049 SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
4050 SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
4052 SHLIBCC='$(CC) $(CFLAGS) -fpic'
4053 MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
4057 ac_config_files="$ac_config_files common.make settings.make Makefile src/Makefile client/Makefile dynamic/Makefile regress/Makefile"
4059 cat >confcache <<\_ACEOF
4060 # This file is a shell script that caches the results of configure
4061 # tests run on this system so they can be shared between configure
4062 # scripts and configure runs, see configure's option --config-cache.
4063 # It is not useful on other systems. If it contains results you don't
4064 # want to keep, you may remove or edit it.
4066 # config.status only pays attention to the cache file if you give it
4067 # the --recheck option to rerun configure.
4069 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4075 # The following way of writing the cache mishandles newlines in values,
4076 # but we know of no workaround that is simple, portable, and efficient.
4077 # So, we kill variables containing newlines.
4078 # Ultrix sh set writes to stderr and can't be redirected directly,
4079 # and sets the high bit in the cache file unless we assign to the vars.
4081 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4082 eval ac_val=\$$ac_var
4086 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4090 _ | IFS | as_nl) ;; #(
4091 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4092 *) { eval $ac_var=; unset $ac_var;} ;;
4098 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4099 *${as_nl}ac_space=\ *)
4100 # `set' does not quote correctly, so add quotes: double-quote
4101 # substitution turns \\\\ into \\, and sed turns \\ into \.
4104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4107 # `set' quotes correctly as required by POSIX, so do not add quotes.
4108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4119 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4121 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4122 if test -w "$cache_file"; then
4123 if test "x$cache_file" != "x/dev/null"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4125 $as_echo "$as_me: updating cache $cache_file" >&6;}
4126 if test ! -f "$cache_file" || test -h "$cache_file"; then
4127 cat confcache >"$cache_file"
4129 case $cache_file in #(
4131 mv -f confcache "$cache_file"$$ &&
4132 mv -f "$cache_file"$$ "$cache_file" ;; #(
4134 mv -f confcache "$cache_file" ;;
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4140 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4145 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4146 # Let make expand exec_prefix.
4147 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4149 DEFS=-DHAVE_CONFIG_H
4154 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4155 # 1. Remove the extension, and $U if already installed.
4156 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4157 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4158 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4159 # will be set to the directory where LIBOBJS objects are built.
4160 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4161 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4165 LTLIBOBJS=$ac_ltlibobjs
4169 : "${CONFIG_STATUS=./config.status}"
4171 ac_clean_files_save=$ac_clean_files
4172 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4178 # Generated by $as_me.
4179 # Run this file to recreate the current configuration.
4180 # Compiler output produced by configure, useful for debugging
4181 # configure, is in config.log if it exists.
4187 SHELL=\${CONFIG_SHELL-$SHELL}
4190 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4191 ## -------------------- ##
4192 ## M4sh Initialization. ##
4193 ## -------------------- ##
4195 # Be more Bourne compatible
4196 DUALCASE=1; export DUALCASE # for MKS sh
4197 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4200 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4201 # is contrary to our usage. Disable this feature.
4202 alias -g '${1+"$@"}'='"$@"'
4203 setopt NO_GLOB_SUBST
4205 case `(set -o) 2>/dev/null` in #(
4217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4221 # Prefer a ksh shell builtin over an external printf program on Solaris,
4222 # but without wasting forks for bash or zsh.
4223 if test -z "$BASH_VERSION$ZSH_VERSION" \
4224 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4225 as_echo='print -r --'
4226 as_echo_n='print -rn --'
4227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4228 as_echo='printf %s\n'
4229 as_echo_n='printf %s'
4231 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4232 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4233 as_echo_n='/usr/ucb/echo -n'
4235 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4236 as_echo_n_body='eval
4240 expr "X$arg" : "X\\(.*\\)$as_nl";
4241 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4243 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4245 export as_echo_n_body
4246 as_echo_n='sh -c $as_echo_n_body as_echo'
4249 as_echo='sh -c $as_echo_body as_echo'
4252 # The user is always right.
4253 if test "${PATH_SEPARATOR+set}" != set; then
4255 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4256 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4263 # We need space, tab and new line, in precisely that order. Quoting is
4264 # there to prevent editors from complaining about space-tab.
4265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4266 # splitting by setting IFS to empty value.)
4269 # Find who we are. Look in the path if we contain no directory separator.
4272 *[\\/]* ) as_myself=$0 ;;
4273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4284 # We did not find ourselves, most probably we were run as `sh COMMAND'
4285 # in which case we are not to be found in the path.
4286 if test "x$as_myself" = x; then
4289 if test ! -f "$as_myself"; then
4290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4294 # Unset variables that we do not need and which cause bugs (e.g. in
4295 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4296 # suppresses any "Segmentation fault" message there. '((' could
4297 # trigger a bug in pdksh 5.2.14.
4298 for as_var in BASH_ENV ENV MAIL MAILPATH
4299 do eval test x\${$as_var+set} = xset \
4300 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4313 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4316 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4317 # ----------------------------------------
4318 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4319 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4320 # script with STATUS, using 1 if that was 0.
4323 as_status=$1; test $as_status -eq 0 && as_status=1
4325 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4326 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4328 $as_echo "$as_me: error: $2" >&2
4329 as_fn_exit $as_status
4333 # as_fn_set_status STATUS
4334 # -----------------------
4335 # Set $? to STATUS, without forking.
4339 } # as_fn_set_status
4343 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4353 # Portably unset VAR.
4356 { eval $1=; unset $1;}
4358 as_unset=as_fn_unset
4359 # as_fn_append VAR VALUE
4360 # ----------------------
4361 # Append the text in VALUE to the end of the definition contained in VAR. Take
4362 # advantage of any shell optimizations that allow amortized linear growth over
4363 # repeated appends, instead of the typical quadratic growth present in naive
4365 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4366 eval 'as_fn_append ()
4377 # as_fn_arith ARG...
4378 # ------------------
4379 # Perform arithmetic evaluation on the ARGs, and store the result in the
4380 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4381 # must be portable across $(()) and expr.
4382 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4383 eval 'as_fn_arith ()
4390 as_val=`expr "$@" || test $? -eq 1`
4395 if expr a : '\(a\)' >/dev/null 2>&1 &&
4396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4403 as_basename=basename
4408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4414 as_me=`$as_basename -- "$0" ||
4415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4416 X"$0" : 'X\(//\)$' \| \
4417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4419 sed '/^.*\/\([^/][^/]*\)\/*$/{
4433 # Avoid depending upon Character Ranges.
4434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4437 as_cr_digits='0123456789'
4438 as_cr_alnum=$as_cr_Letters$as_cr_digits
4440 ECHO_C= ECHO_N= ECHO_T=
4441 case `echo -n x` in #(((((
4443 case `echo 'xy\c'` in
4444 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4446 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4453 rm -f conf$$ conf$$.exe conf$$.file
4454 if test -d conf$$.dir; then
4455 rm -f conf$$.dir/conf$$.file
4458 mkdir conf$$.dir 2>/dev/null
4460 if (echo >conf$$.file) 2>/dev/null; then
4461 if ln -s conf$$.file conf$$ 2>/dev/null; then
4463 # ... but there are two gotchas:
4464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4466 # In both cases, we have to default to `cp -pR'.
4467 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4469 elif ln conf$$.file conf$$ 2>/dev/null; then
4477 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4478 rmdir conf$$.dir 2>/dev/null
4483 # Create "$as_dir" as a directory, including parents if necessary.
4488 -*) as_dir=./$as_dir;;
4490 test -d "$as_dir" || eval $as_mkdir_p || {
4494 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4495 *) as_qdir=$as_dir;;
4497 as_dirs="'$as_qdir' $as_dirs"
4498 as_dir=`$as_dirname -- "$as_dir" ||
4499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4500 X"$as_dir" : 'X\(//\)[^/]' \| \
4501 X"$as_dir" : 'X\(//\)$' \| \
4502 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4503 $as_echo X"$as_dir" |
4504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4521 test -d "$as_dir" && break
4523 test -z "$as_dirs" || eval "mkdir $as_dirs"
4524 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4528 if mkdir -p . 2>/dev/null; then
4529 as_mkdir_p='mkdir -p "$as_dir"'
4531 test -d ./-p && rmdir ./-p
4536 # as_fn_executable_p FILE
4537 # -----------------------
4538 # Test if FILE is an executable regular file.
4539 as_fn_executable_p ()
4541 test -f "$1" && test -x "$1"
4542 } # as_fn_executable_p
4544 as_executable_p=as_fn_executable_p
4546 # Sed expression to map a string onto a valid CPP name.
4547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4549 # Sed expression to map a string onto a valid variable name.
4550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4554 ## ----------------------------------- ##
4555 ## Main body of $CONFIG_STATUS script. ##
4556 ## ----------------------------------- ##
4558 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4561 # Save the log message, to keep $0 and so on meaningful, and to
4562 # report actual input values of CONFIG_FILES etc. instead of their
4563 # values after options handling.
4565 This file was extended by $as_me, which was
4566 generated by GNU Autoconf 2.69. Invocation command line was
4568 CONFIG_FILES = $CONFIG_FILES
4569 CONFIG_HEADERS = $CONFIG_HEADERS
4570 CONFIG_LINKS = $CONFIG_LINKS
4571 CONFIG_COMMANDS = $CONFIG_COMMANDS
4574 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4579 case $ac_config_files in *"
4580 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4583 case $ac_config_headers in *"
4584 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4589 # Files that config.status was made for.
4590 config_files="$ac_config_files"
4591 config_headers="$ac_config_headers"
4595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4597 \`$as_me' instantiates files and other configuration actions
4598 from templates according to the current configuration. Unless the files
4599 and actions are specified as TAGs, all are instantiated by default.
4601 Usage: $0 [OPTION]... [TAG]...
4603 -h, --help print this help, then exit
4604 -V, --version print version number and configuration settings, then exit
4605 --config print configuration, then exit
4606 -q, --quiet, --silent
4607 do not print progress messages
4608 -d, --debug don't remove temporary files
4609 --recheck update $as_me by reconfiguring in the same conditions
4610 --file=FILE[:TEMPLATE]
4611 instantiate the configuration file FILE
4612 --header=FILE[:TEMPLATE]
4613 instantiate the configuration header FILE
4615 Configuration files:
4618 Configuration headers:
4621 Report bugs to the package provider."
4624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4625 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4628 configured by $0, generated by GNU Autoconf 2.69,
4629 with options \\"\$ac_cs_config\\"
4631 Copyright (C) 2012 Free Software Foundation, Inc.
4632 This config.status script is free software; the Free Software Foundation
4633 gives unlimited permission to copy, distribute and modify it."
4638 test -n "\$AWK" || AWK=awk
4641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4642 # The default lists apply if the user does not specify any file.
4648 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4649 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4653 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4665 # Handling of the options.
4666 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4668 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4669 $as_echo "$ac_cs_version"; exit ;;
4670 --config | --confi | --conf | --con | --co | --c )
4671 $as_echo "$ac_cs_config"; exit ;;
4672 --debug | --debu | --deb | --de | --d | -d )
4674 --file | --fil | --fi | --f )
4677 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4678 '') as_fn_error $? "missing file argument" ;;
4680 as_fn_append CONFIG_FILES " '$ac_optarg'"
4681 ac_need_defaults=false;;
4682 --header | --heade | --head | --hea )
4685 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4687 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4688 ac_need_defaults=false;;
4690 # Conflict between --help and --header
4691 as_fn_error $? "ambiguous option: \`$1'
4692 Try \`$0 --help' for more information.";;
4693 --help | --hel | -h )
4694 $as_echo "$ac_cs_usage"; exit ;;
4695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4696 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4700 -*) as_fn_error $? "unrecognized option: \`$1'
4701 Try \`$0 --help' for more information." ;;
4703 *) as_fn_append ac_config_targets " $1"
4704 ac_need_defaults=false ;;
4710 ac_configure_extra_args=
4712 if $ac_cs_silent; then
4714 ac_configure_extra_args="$ac_configure_extra_args --silent"
4718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4719 if \$ac_cs_recheck; then
4720 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4722 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4723 CONFIG_SHELL='$SHELL'
4729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4733 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4734 ## Running $as_me. ##
4740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4745 # Handling of arguments.
4746 for ac_config_target in $ac_config_targets
4748 case $ac_config_target in
4749 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4750 "common.make") CONFIG_FILES="$CONFIG_FILES common.make" ;;
4751 "settings.make") CONFIG_FILES="$CONFIG_FILES settings.make" ;;
4752 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4753 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4754 "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
4755 "dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES dynamic/Makefile" ;;
4756 "regress/Makefile") CONFIG_FILES="$CONFIG_FILES regress/Makefile" ;;
4758 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4763 # If the user did not use the arguments to specify the items to instantiate,
4764 # then the envvar interface is used. Set only those that are not.
4765 # We use the long form for the default assignment because of an extremely
4766 # bizarre bug on SunOS 4.1.3.
4767 if $ac_need_defaults; then
4768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4772 # Have a temporary directory for convenience. Make it in the build tree
4773 # simply because there is no reason against having it here, and in addition,
4774 # creating and moving files from /tmp can sometimes cause problems.
4775 # Hook for its removal unless debugging.
4776 # Note that there is a small window in which the directory will not be cleaned:
4777 # after its creation but before its name has been assigned to `$tmp'.
4781 trap 'exit_status=$?
4783 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4785 trap 'as_fn_exit 1' 1 2 13 15
4787 # Create a (secure) tmp directory for tmp files.
4790 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4794 tmp=./conf$$-$RANDOM
4795 (umask 077 && mkdir "$tmp")
4796 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4799 # Set up the scripts for CONFIG_FILES section.
4800 # No need to generate them if there are no CONFIG_FILES.
4801 # This happens for instance with `./config.status config.h'.
4802 if test -n "$CONFIG_FILES"; then
4805 ac_cr=`echo X | tr X '\015'`
4806 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4807 # But we know of no other shell where ac_cr would be empty at this
4808 # point, so we can use a bashism as a fallback.
4809 if test "x$ac_cr" = x; then
4810 eval ac_cr=\$\'\\r\'
4812 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4813 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4819 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4824 echo "cat >conf$$subs.awk <<_ACEOF" &&
4825 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4828 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4829 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4831 for ac_last_try in false false false false false :; do
4832 . ./conf$$subs.sh ||
4833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4835 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4836 if test $ac_delim_n = $ac_delim_num; then
4838 elif $ac_last_try; then
4839 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4841 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4847 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4851 s/^/S["/; s/!.*/"]=/
4861 s/\(.\{148\}\)..*/\1/
4863 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4868 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4875 s/\(.\{148\}\)..*/\1/
4877 s/["\\]/\\&/g; s/^/"/; s/$/"/
4881 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4886 ' <conf$$subs.awk | sed '
4891 ' >>$CONFIG_STATUS || ac_write_fail=1
4892 rm -f conf$$subs.awk
4893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4895 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4896 for (key in S) S_is_set[key] = 1
4902 nfields = split(line, field, "@")
4904 len = length(field[1])
4905 for (i = 2; i < nfields; i++) {
4907 keylen = length(key)
4908 if (S_is_set[key]) {
4910 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4911 len += length(value) + length(field[++i])
4922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4923 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4924 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4927 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4928 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4931 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4932 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4933 # trailing colons and then remove the whole line if VPATH becomes empty
4934 # (actually we leave an empty line to preserve line numbers).
4935 if test "x$srcdir" = x.; then
4936 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4955 fi # test -n "$CONFIG_FILES"
4957 # Set up the scripts for CONFIG_HEADERS section.
4958 # No need to generate them if there are no CONFIG_HEADERS.
4959 # This happens for instance with `./config.status Makefile'.
4960 if test -n "$CONFIG_HEADERS"; then
4961 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4965 # Transform confdefs.h into an awk script `defines.awk', embedded as
4966 # here-document in config.status, that substitutes the proper values into
4967 # config.h.in to produce config.h.
4969 # Create a delimiter string that does not exist in confdefs.h, to ease
4970 # handling of long lines.
4972 for ac_last_try in false false :; do
4973 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4974 if test -z "$ac_tt"; then
4976 elif $ac_last_try; then
4977 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4983 # For the awk script, D is an array of macro values keyed by name,
4984 # likewise P contains macro parameters if any. Preserve backslash
4985 # newline sequences.
4987 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4989 s/.\{148\}/&'"$ac_delim"'/g
4992 s/^[ ]*#[ ]*define[ ][ ]*/ /
4999 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5001 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5006 D["\1"]=" \3\\\\\\n"\\/p
5008 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5013 s/.\{148\}/&'"$ac_delim"'/g
5018 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5021 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5023 ' <confdefs.h | sed '
5024 s/'"$ac_delim"'/"\\\
5025 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5028 for (key in D) D_is_set[key] = 1
5031 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5033 split(line, arg, " ")
5034 if (arg[1] == "#") {
5038 defundef = substr(arg[1], 2)
5041 split(mac1, mac2, "(") #)
5043 prefix = substr(line, 1, index(line, defundef) - 1)
5044 if (D_is_set[macro]) {
5045 # Preserve the white space surrounding the "#".
5046 print prefix "define", macro P[macro] D[macro]
5049 # Replace #undef with comments. This is necessary, for example,
5050 # in the case of _POSIX_SOURCE, which is predefined and required
5051 # on some systems where configure will not decide to define it.
5052 if (defundef == "undef") {
5053 print "/*", prefix defundef, macro, "*/"
5061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5062 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5063 fi # test -n "$CONFIG_HEADERS"
5066 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5071 :[FHLC]) ac_mode=$ac_tag; continue;;
5073 case $ac_mode$ac_tag in
5075 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5076 :[FH]-) ac_tag=-:-;;
5077 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5094 -) ac_f="$ac_tmp/stdin";;
5095 *) # Look for the file first in the build tree, then in the source tree
5096 # (if the path is not absolute). The absolute path cannot be DOS-style,
5097 # because $ac_f cannot contain `:'.
5101 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5103 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5105 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5106 as_fn_append ac_file_inputs " '$ac_f'"
5109 # Let's still pretend it is `configure' which instantiates (i.e., don't
5110 # use $as_me), people would be surprised to read:
5111 # /* config.h. Generated by config.status. */
5112 configure_input='Generated from '`
5113 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5115 if test x"$ac_file" != x-; then
5116 configure_input="$ac_file. $configure_input"
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5118 $as_echo "$as_me: creating $ac_file" >&6;}
5120 # Neutralize special characters interpreted by sed in replacement strings.
5121 case $configure_input in #(
5122 *\&* | *\|* | *\\* )
5123 ac_sed_conf_input=`$as_echo "$configure_input" |
5124 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5125 *) ac_sed_conf_input=$configure_input;;
5129 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5135 ac_dir=`$as_dirname -- "$ac_file" ||
5136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5137 X"$ac_file" : 'X\(//\)[^/]' \| \
5138 X"$ac_file" : 'X\(//\)$' \| \
5139 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5140 $as_echo X"$ac_file" |
5141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5158 as_dir="$ac_dir"; as_fn_mkdir_p
5162 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5164 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5165 # A ".." for each directory in $ac_dir_suffix.
5166 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5167 case $ac_top_builddir_sub in
5168 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5169 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5172 ac_abs_top_builddir=$ac_pwd
5173 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5174 # for backward compatibility:
5175 ac_top_builddir=$ac_top_build_prefix
5178 .) # We are building in place.
5180 ac_top_srcdir=$ac_top_builddir_sub
5181 ac_abs_top_srcdir=$ac_pwd ;;
5182 [\\/]* | ?:[\\/]* ) # Absolute name.
5183 ac_srcdir=$srcdir$ac_dir_suffix;
5184 ac_top_srcdir=$srcdir
5185 ac_abs_top_srcdir=$srcdir ;;
5187 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5188 ac_top_srcdir=$ac_top_build_prefix$srcdir
5189 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5191 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5201 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5202 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5207 # If the template does not know about datarootdir, expand it.
5208 # FIXME: This hack should be removed a few years after 2.60.
5209 ac_datarootdir_hack=; ac_datarootdir_seen=
5220 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5221 *datarootdir*) ac_datarootdir_seen=yes;;
5222 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5224 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5227 ac_datarootdir_hack='
5228 s&@datadir@&$datadir&g
5229 s&@docdir@&$docdir&g
5230 s&@infodir@&$infodir&g
5231 s&@localedir@&$localedir&g
5232 s&@mandir@&$mandir&g
5233 s&\\\${datarootdir}&$datarootdir&g' ;;
5237 # Neutralize VPATH when `$srcdir' = `.'.
5238 # Shell code in configure.ac might set extrasub.
5239 # FIXME: do we really want to maintain this feature?
5240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5241 ac_sed_extra="$ac_vpsub
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5247 s|@configure_input@|$ac_sed_conf_input|;t t
5248 s&@top_builddir@&$ac_top_builddir_sub&;t t
5249 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5250 s&@srcdir@&$ac_srcdir&;t t
5251 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5252 s&@top_srcdir@&$ac_top_srcdir&;t t
5253 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5254 s&@builddir@&$ac_builddir&;t t
5255 s&@abs_builddir@&$ac_abs_builddir&;t t
5256 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5257 s&@INSTALL@&$ac_INSTALL&;t t
5258 $ac_datarootdir_hack
5260 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5261 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5263 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5264 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5265 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5266 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5268 which seems to be undefined. Please make sure it is defined" >&5
5269 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5270 which seems to be undefined. Please make sure it is defined" >&2;}
5272 rm -f "$ac_tmp/stdin"
5274 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5275 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5277 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5283 if test x"$ac_file" != x-; then
5285 $as_echo "/* $configure_input */" \
5286 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5287 } >"$ac_tmp/config.h" \
5288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5289 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5291 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5294 mv "$ac_tmp/config.h" "$ac_file" \
5295 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5298 $as_echo "/* $configure_input */" \
5299 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5300 || as_fn_error $? "could not create -" "$LINENO" 5
5312 ac_clean_files=$ac_clean_files_save
5314 test $ac_write_fail = 0 ||
5315 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5318 # configure is writing to config.log, and then calls config.status.
5319 # config.status does its own redirection, appending to config.log.
5320 # Unfortunately, on DOS this fails, as config.log is still kept open
5321 # by configure, so config.status won't be able to write to it; its
5322 # output is simply discarded. So we exec the FD to /dev/null,
5323 # effectively closing config.log, so it can be properly (re)opened and
5324 # appended to by config.status. When coming back to configure, we
5325 # need to make the FD available again.
5326 if test "$no_create" != yes; then
5328 ac_config_status_args=
5329 test "$silent" = yes &&
5330 ac_config_status_args="$ac_config_status_args --quiet"
5332 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5334 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5335 # would make configure fail if this is the last instruction.
5336 $ac_cs_success || as_fn_exit 1
5338 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5340 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}