2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="pptpmanager.c"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars
='LTLIBOBJS
636 INSTALL_STRIP_PROGRAM
677 program_transform_name
690 enable_option_checking
695 enable_dependency_tracking
698 ac_precious_vars
='build_alias
709 # Initialize some variables set by options.
711 ac_init_version
=false
712 ac_unrecognized_opts
=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name
=s
,x
,x
,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir
='${exec_prefix}/bin'
738 sbindir
='${exec_prefix}/sbin'
739 libexecdir
='${exec_prefix}/libexec'
740 datarootdir
='${prefix}/share'
741 datadir
='${datarootdir}'
742 sysconfdir
='${prefix}/etc'
743 sharedstatedir
='${prefix}/com'
744 localstatedir
='${prefix}/var'
745 includedir
='${prefix}/include'
746 oldincludedir
='/usr/include'
747 docdir
='${datarootdir}/doc/${PACKAGE}'
748 infodir
='${datarootdir}/info'
753 libdir
='${exec_prefix}/lib'
754 localedir
='${datarootdir}/locale'
755 mandir
='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\
$ac_option
769 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
780 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
782 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
785 -build |
--build |
--buil |
--bui |
--bu)
786 ac_prev
=build_alias
;;
787 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
788 build_alias
=$ac_optarg ;;
790 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
791 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
792 ac_prev
=cache_file
;;
793 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
794 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
795 cache_file
=$ac_optarg ;;
798 cache_file
=config.cache
;;
800 -datadir |
--datadir |
--datadi |
--datad)
802 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
803 datadir
=$ac_optarg ;;
805 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
806 |
--dataroo |
--dataro |
--datar)
807 ac_prev
=datarootdir
;;
808 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
809 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
810 datarootdir
=$ac_optarg ;;
812 -disable-* |
--disable-*)
813 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
816 as_fn_error $?
"invalid feature name: $ac_useropt"
817 ac_useropt_orig
=$ac_useropt
818 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
823 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824 ac_unrecognized_sep
=', ';;
826 eval enable_
$ac_useropt=no
;;
828 -docdir |
--docdir |
--docdi |
--doc |
--do)
830 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
833 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
835 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
838 -enable-* |
--enable-*)
839 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
842 as_fn_error $?
"invalid feature name: $ac_useropt"
843 ac_useropt_orig
=$ac_useropt
844 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
849 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep
=', ';;
852 eval enable_
$ac_useropt=\
$ac_optarg ;;
854 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
855 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
856 |
--exec |
--exe |
--ex)
857 ac_prev
=exec_prefix
;;
858 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
859 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
860 |
--exec=* |
--exe=* |
--ex=*)
861 exec_prefix
=$ac_optarg ;;
863 -gas |
--gas |
--ga |
--g)
864 # Obsolete; use --with-gas.
867 -help |
--help |
--hel |
--he |
-h)
869 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
870 ac_init_help
=recursive
;;
871 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
872 ac_init_help
=short
;;
874 -host |
--host |
--hos |
--ho)
875 ac_prev
=host_alias
;;
876 -host=* |
--host=* |
--hos=* |
--ho=*)
877 host_alias
=$ac_optarg ;;
879 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
881 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
883 htmldir
=$ac_optarg ;;
885 -includedir |
--includedir |
--includedi |
--included |
--include \
886 |
--includ |
--inclu |
--incl |
--inc)
887 ac_prev
=includedir
;;
888 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
889 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
890 includedir
=$ac_optarg ;;
892 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
894 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
895 infodir
=$ac_optarg ;;
897 -libdir |
--libdir |
--libdi |
--libd)
899 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
902 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
903 |
--libexe |
--libex |
--libe)
904 ac_prev
=libexecdir
;;
905 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
906 |
--libexe=* |
--libex=* |
--libe=*)
907 libexecdir
=$ac_optarg ;;
909 -localedir |
--localedir |
--localedi |
--localed |
--locale)
911 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
912 localedir
=$ac_optarg ;;
914 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
915 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
916 ac_prev
=localstatedir
;;
917 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
918 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
919 localstatedir
=$ac_optarg ;;
921 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
923 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
927 # Obsolete; use --without-fp.
930 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
931 |
--no-cr |
--no-c |
-n)
934 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
935 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
938 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
939 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
940 |
--oldin |
--oldi |
--old |
--ol |
--o)
941 ac_prev
=oldincludedir
;;
942 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
943 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
944 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
945 oldincludedir
=$ac_optarg ;;
947 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
949 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
952 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
953 |
--program-pre |
--program-pr |
--program-p)
954 ac_prev
=program_prefix
;;
955 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
956 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
957 program_prefix
=$ac_optarg ;;
959 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
960 |
--program-suf |
--program-su |
--program-s)
961 ac_prev
=program_suffix
;;
962 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
963 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
964 program_suffix
=$ac_optarg ;;
966 -program-transform-name |
--program-transform-name \
967 |
--program-transform-nam |
--program-transform-na \
968 |
--program-transform-n |
--program-transform- \
969 |
--program-transform |
--program-transfor \
970 |
--program-transfo |
--program-transf \
971 |
--program-trans |
--program-tran \
972 |
--progr-tra |
--program-tr |
--program-t)
973 ac_prev
=program_transform_name
;;
974 -program-transform-name=* |
--program-transform-name=* \
975 |
--program-transform-nam=* |
--program-transform-na=* \
976 |
--program-transform-n=* |
--program-transform-=* \
977 |
--program-transform=* |
--program-transfor=* \
978 |
--program-transfo=* |
--program-transf=* \
979 |
--program-trans=* |
--program-tran=* \
980 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
981 program_transform_name
=$ac_optarg ;;
983 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
985 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
988 -psdir |
--psdir |
--psdi |
--psd |
--ps)
990 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
993 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
994 |
-silent |
--silent |
--silen |
--sile |
--sil)
997 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
999 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1001 sbindir
=$ac_optarg ;;
1003 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1004 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1005 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1007 ac_prev
=sharedstatedir
;;
1008 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1009 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1010 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1012 sharedstatedir
=$ac_optarg ;;
1014 -site |
--site |
--sit)
1016 -site=* |
--site=* |
--sit=*)
1019 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1021 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1022 srcdir
=$ac_optarg ;;
1024 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1025 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1026 ac_prev
=sysconfdir
;;
1027 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1028 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1029 sysconfdir
=$ac_optarg ;;
1031 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1032 ac_prev
=target_alias
;;
1033 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1034 target_alias
=$ac_optarg ;;
1036 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1039 -version |
--version |
--versio |
--versi |
--vers |
-V)
1040 ac_init_version
=: ;;
1043 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 as_fn_error $?
"invalid package name: $ac_useropt"
1047 ac_useropt_orig
=$ac_useropt
1048 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
1056 eval with_
$ac_useropt=\
$ac_optarg ;;
1058 -without-* |
--without-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error $?
"invalid package name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval with_
$ac_useropt=no
;;
1075 # Obsolete; use --with-x.
1078 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1079 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1080 ac_prev
=x_includes
;;
1081 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1082 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1083 x_includes
=$ac_optarg ;;
1085 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1086 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1087 ac_prev
=x_libraries
;;
1088 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1089 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1090 x_libraries
=$ac_optarg ;;
1092 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1097 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 case $ac_envvar in #(
1100 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1101 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1103 eval $ac_envvar=\
$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1117 if test -n "$ac_prev"; then
1118 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $?
"missing argument to $ac_option"
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1125 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 # Check all directory arguments for consistency.
1131 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val
=\$
$ac_var
1137 # Remove trailing slashes.
1140 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\
$ac_val;;
1143 # Be sure to have absolute directory names.
1145 [\\/$
]* | ?
:[\\/]* ) continue;;
1146 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1148 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1156 target
=$target_alias
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x
; then
1160 if test "x$build_alias" = x
; then
1161 cross_compiling
=maybe
1162 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1163 If a cross compiler is detected then cross compile mode will be used" >&2
1164 elif test "x$build_alias" != "x$host_alias"; then
1170 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1172 test "$silent" = yes && exec 6>/dev
/null
1175 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di
=`ls -di .` &&
1177 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $?
"working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $?
"pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted
=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir
=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1215 ac_srcdir_defaulted
=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1219 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1233 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 for ac_var
in $ac_precious_vars; do
1236 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1238 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1249 \`configure' configures this package to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1313 if test -n "$ac_init_help"; then
1318 --disable-option-checking ignore unrecognized
--enable/--with options
1319 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1320 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1321 --enable-facility=name Use another syslog facility
, default LOG_DAEMON
1322 --enable-bcrelay Enable broadcast relay
function
1323 --disable-dependency-tracking speeds up one-time build
1324 --enable-dependency-tracking do not reject slow dependency extractors
1327 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1328 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1329 --with-bsdppp Use BSD user-space ppp
1330 --with-slirp Use SLIRP instead of pppd
1331 --with-libwrap Use libwrap
(tcp wrappers
)
1333 Some influential environment variables
:
1334 CC C compiler
command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1337 nonstandard directory
<lib dir
>
1338 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1339 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1340 you have headers
in a nonstandard directory
<include dir
>
1343 Use these variables to override the choices made by
`configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1346 Report bugs to the package provider.
1351 if test "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1354 test -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370 ac_abs_top_builddir=$ac_pwd
1371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir=$ac_top_build_prefix
1376 .) # We are building in place.
1378 ac_top_srcdir=$ac_top_builddir_sub
1379 ac_abs_top_srcdir=$ac_pwd ;;
1380 [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir=$srcdir
1383 ac_abs_top_srcdir=$srcdir ;;
1385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391 cd "$ac_dir" || { ac_status=$?; continue; }
1392 # Check for guested configure.
1393 if test -f "$ac_srcdir/configure.gnu"; then
1395 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396 elif test -f "$ac_srcdir/configure"; then
1398 $SHELL "$ac_srcdir/configure" --help=recursive
1400 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 cd "$ac_pwd" || { ac_status=$?; break; }
1406 test -n "$ac_init_help" && exit $ac_status
1407 if $ac_init_version; then
1410 generated by GNU Autoconf 2.68
1412 Copyright (C) 2010 Free Software Foundation, Inc.
1413 This configure script is free software; the Free Software Foundation
1414 gives unlimited permission to copy, distribute and modify it.
1419 ## ------------------------ ##
1420 ## Autoconf initialization. ##
1421 ## ------------------------ ##
1423 # ac_fn_c_try_compile LINENO
1424 # --------------------------
1425 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1426 ac_fn_c_try_compile ()
1428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429 rm -f conftest.$ac_objext
1430 if { { ac_try="$ac_compile"
1432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1433 *) ac_try_echo
=$ac_try;;
1435 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_compile") 2>conftest.err
1439 if test -s conftest.err
; then
1440 grep -v '^ *+' conftest.err
>conftest.er1
1441 cat conftest.er1
>&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest.
$ac_objext; then :
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.
$ac_ext >&5
1456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457 as_fn_set_status
$ac_retval
1459 } # ac_fn_c_try_compile
1461 # ac_fn_c_try_link LINENO
1462 # -----------------------
1463 # Try to link conftest.$ac_ext, and return whether this succeeded.
1466 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1467 rm -f conftest.
$ac_objext conftest
$ac_exeext
1468 if { { ac_try
="$ac_link"
1470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1471 *) ac_try_echo=$ac_try;;
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_link") 2>conftest.err
1477 if test -s conftest.err; then
1478 grep -v '^ *+' conftest.err >conftest.er1
1479 cat conftest.er1 >&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest$ac_exeext && {
1487 test "$cross_compiling" = yes ||
1488 $as_test_x conftest$ac_exeext
1492 $as_echo "$as_me: failed program was:" >&5
1493 sed 's/^/| /' conftest.$ac_ext >&5
1497 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1498 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1499 # interfere with the next link command; also delete a directory that is
1500 # left behind by Apple's compiler. We do this before executing the actions.
1501 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_link
1507 # ac_fn_c_check_func LINENO FUNC VAR
1508 # ----------------------------------
1509 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1510 ac_fn_c_check_func ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514 $as_echo_n "checking for $2... " >&6; }
1515 if eval \${$3+:} false; then :
1516 $as_echo_n "(cached) " >&6
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1520 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1522 #define $2 innocuous_$2
1524 /* System header to define __stub macros and hopefully few prototypes,
1525 which can conflict with char $2 (); below.
1526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1527 <limits.h> exists even on freestanding compilers. */
1530 # include <limits.h>
1532 # include <assert.h>
1537 /* Override any GCC internal prototype to avoid an error.
1538 Use char because int might match the return type of a GCC
1539 builtin and then its argument prototype would still apply. */
1544 /* The GNU C library defines this for functions which it implements
1545 to always fail with ENOSYS. Some functions are actually named
1546 something starting with __ and the normal name is an alias. */
1547 #if defined __stub_$2 || defined __stub___$2
1559 if ac_fn_c_try_link "$LINENO"; then :
1564 rm -f core conftest.err conftest.$ac_objext \
1565 conftest$ac_exeext conftest.$ac_ext
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 } # ac_fn_c_check_func
1574 # ac_fn_c_try_cpp LINENO
1575 # ----------------------
1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { { ac_try="$ac_cpp conftest.$ac_ext"
1582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1583 *) ac_try_echo
=$ac_try;;
1585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589 if test -s conftest.err
; then
1590 grep -v '^ *+' conftest.err
>conftest.er1
1591 cat conftest.er1
>&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } > conftest.i
&& {
1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.
$ac_ext >&5
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status
$ac_retval
1611 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1612 # -------------------------------------------------------
1613 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1614 # the include files in INCLUDES and setting the cache variable VAR
1616 ac_fn_c_check_header_mongrel
()
1618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1619 if eval \
${$3+:} false
; then :
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \
${$3+:} false
; then :
1623 $as_echo_n "(cached) " >&6
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627 $as_echo "$ac_res" >&6; }
1629 # Is the header compilable?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1631 $as_echo_n "checking $2 usability... " >&6; }
1632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1637 if ac_fn_c_try_compile
"$LINENO"; then :
1638 ac_header_compiler
=yes
1640 ac_header_compiler
=no
1642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1644 $as_echo "$ac_header_compiler" >&6; }
1646 # Is the header present?
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1648 $as_echo_n "checking $2 presence... " >&6; }
1649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1653 if ac_fn_c_try_cpp
"$LINENO"; then :
1654 ac_header_preproc
=yes
1656 ac_header_preproc
=no
1658 rm -f conftest.err conftest.i conftest.
$ac_ext
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1660 $as_echo "$ac_header_preproc" >&6; }
1662 # So? What about this header?
1663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1666 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1672 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1674 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1676 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1678 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \
${$3+:} false
; then :
1686 $as_echo_n "(cached) " >&6
1688 eval "$3=\$ac_header_compiler"
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_header_mongrel
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 if { { ac_try
="$ac_link"
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.
$ac_ext >&5
1732 ac_retval
=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1740 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1741 # -------------------------------------------------------
1742 # Tests whether HEADER exists and can be compiled using the include files in
1743 # INCLUDES, setting the cache variable VAR accordingly.
1744 ac_fn_c_check_header_compile
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \
${$3+:} false
; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1757 if ac_fn_c_try_compile
"$LINENO"; then :
1762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_header_compile
1771 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1772 # -------------------------------------------
1773 # Tests whether TYPE exists after having included INCLUDES, setting cache
1774 # variable VAR accordingly.
1775 ac_fn_c_check_type
()
1777 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \
${$3+:} false
; then :
1781 $as_echo_n "(cached) " >&6
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1796 if ac_fn_c_try_compile
"$LINENO"; then :
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1809 if ac_fn_c_try_compile
"$LINENO"; then :
1814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_type
1824 cat >config.log
<<_ACEOF
1825 This file contains any messages produced by compilers while
1826 running configure, to aid debugging if configure makes a mistake.
1828 It was created by $as_me, which was
1829 generated by GNU Autoconf 2.68. Invocation command line was
1841 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1842 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1843 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1844 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1845 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1847 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1848 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1850 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1851 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1852 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1853 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1854 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1855 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1856 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 $as_echo "PATH: $as_dir"
1881 # Keep a trace of the command line.
1882 # Strip out --no-create and --no-recursion so they do not pile up.
1883 # Strip out --silent because we don't want to record it for future runs.
1884 # Also quote any args containing shell meta-characters.
1885 # Make two passes to allow for proper duplicate-argument suppression.
1889 ac_must_keep_next
=false
1895 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1896 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1897 |
-silent |
--silent |
--silen |
--sile |
--sil)
1900 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1903 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1905 as_fn_append ac_configure_args1
" '$ac_arg'"
1906 if test $ac_must_keep_next = true
; then
1907 ac_must_keep_next
=false
# Got value, back to normal.
1910 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1911 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1912 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1913 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1914 case "$ac_configure_args0 " in
1915 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1918 -* ) ac_must_keep_next
=true
;;
1921 as_fn_append ac_configure_args
" '$ac_arg'"
1926 { ac_configure_args0
=; unset ac_configure_args0
;}
1927 { ac_configure_args1
=; unset ac_configure_args1
;}
1929 # When interrupted or exit'd, cleanup temporary files, and complete
1930 # config.log. We remove comments because anyway the quotes in there
1931 # would cause problems or look ugly.
1932 # WARNING: Use '\'' to represent an apostrophe within the trap.
1933 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1934 trap 'exit_status=$?
1935 # Save into config.log some information that might help in debugging.
1939 $as_echo "## ---------------- ##
1940 ## Cache variables. ##
1941 ## ---------------- ##"
1943 # The following way of writing the cache mishandles newlines in values,
1945 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1946 eval ac_val=\$$ac_var
1950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1954 _ | IFS | as_nl) ;; #(
1955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1956 *) { eval $ac_var=; unset $ac_var;} ;;
1961 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1962 *${as_nl}ac_space=\ *)
1964 "s/'\''/'\''\\\\'\'''\''/g;
1965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1975 $as_echo "## ----------------- ##
1976 ## Output variables. ##
1977 ## ----------------- ##"
1979 for ac_var in $ac_subst_vars
1981 eval ac_val=\$$ac_var
1983 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1985 $as_echo "$ac_var='\''$ac_val'\''"
1989 if test -n "$ac_subst_files"; then
1990 $as_echo "## ------------------- ##
1991 ## File substitutions. ##
1992 ## ------------------- ##"
1994 for ac_var
in $ac_subst_files
1996 eval ac_val
=\$
$ac_var
1998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2000 $as_echo "$ac_var='\''$ac_val'\''"
2005 if test -s confdefs.h; then
2006 $as_echo "## ----------- ##
2013 test "$ac_signal" != 0 &&
2014 $as_echo "$as_me: caught signal $ac_signal"
2015 $as_echo "$as_me: exit $exit_status"
2017 rm -f core *.core core.conftest.* &&
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2021 for ac_signal
in 1 2 13 15; do
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2027 rm -f -r conftest
* confdefs.h
2029 $as_echo "/* confdefs.h */" > confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h
<<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2037 cat >>confdefs.h
<<_ACEOF
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2041 cat >>confdefs.h
<<_ACEOF
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2045 cat >>confdefs.h
<<_ACEOF
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
2049 cat >>confdefs.h
<<_ACEOF
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2053 cat >>confdefs.h
<<_ACEOF
2054 #define PACKAGE_URL "$PACKAGE_URL"
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2062 if test -n "$CONFIG_SITE"; then
2063 # We do not want a PATH search for config.site.
2064 case $CONFIG_SITE in #((
2065 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2066 */*) ac_site_file1
=$CONFIG_SITE;;
2067 *) ac_site_file1
=.
/$CONFIG_SITE;;
2069 elif test "x$prefix" != xNONE
; then
2070 ac_site_file1
=$prefix/share
/config.site
2071 ac_site_file2
=$prefix/etc
/config.site
2073 ac_site_file1
=$ac_default_prefix/share
/config.site
2074 ac_site_file2
=$ac_default_prefix/etc
/config.site
2076 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2078 test "x$ac_site_file" = xNONE
&& continue
2079 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2081 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2082 sed 's/^/| /' "$ac_site_file" >&5
2084 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2086 as_fn_error $?
"failed to load site script $ac_site_file
2087 See \`config.log' for more details" "$LINENO" 5; }
2091 if test -r "$cache_file"; then
2092 # Some versions of bash will fail to source /dev/null (special files
2093 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2094 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2096 $as_echo "$as_me: loading cache $cache_file" >&6;}
2098 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2099 *) .
"./$cache_file";;
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2104 $as_echo "$as_me: creating cache $cache_file" >&6;}
2108 # Check that the precious variables saved in the cache have kept the same
2110 ac_cache_corrupted
=false
2111 for ac_var
in $ac_precious_vars; do
2112 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2113 eval ac_new_set
=\
$ac_env_${ac_var}_set
2114 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2115 eval ac_new_val
=\
$ac_env_${ac_var}_value
2116 case $ac_old_set,$ac_new_set in
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2120 ac_cache_corrupted
=: ;;
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2124 ac_cache_corrupted
=: ;;
2127 if test "x$ac_old_val" != "x$ac_new_val"; then
2128 # differences in whitespace do not lead to failure.
2129 ac_old_val_w
=`echo x $ac_old_val`
2130 ac_new_val_w
=`echo x $ac_new_val`
2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2134 ac_cache_corrupted
=:
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2138 eval $ac_var=\
$ac_old_val
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2146 # Pass precious variables to config.status.
2147 if test "$ac_new_set" = set; then
2149 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2150 *) ac_arg
=$ac_var=$ac_new_val ;;
2152 case " $ac_configure_args " in
2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2154 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2158 if $ac_cache_corrupted; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2163 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2165 ## -------------------- ##
2166 ## Main body of script. ##
2167 ## -------------------- ##
2170 ac_cpp
='$CPP $CPPFLAGS'
2171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2177 ac_config_headers
="$ac_config_headers config.h"
2179 am__api_version
="1.9"
2181 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2182 if test -f "$ac_dir/install-sh"; then
2184 ac_install_sh
="$ac_aux_dir/install-sh -c"
2186 elif test -f "$ac_dir/install.sh"; then
2188 ac_install_sh
="$ac_aux_dir/install.sh -c"
2190 elif test -f "$ac_dir/shtool"; then
2192 ac_install_sh
="$ac_aux_dir/shtool install -c"
2196 if test -z "$ac_aux_dir"; then
2197 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2200 # These three variables are undocumented and unsupported,
2201 # and are intended to be withdrawn in a future Autoconf release.
2202 # They can cause serious problems if a builder's source tree is in a directory
2203 # whose full name contains unusual characters.
2204 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2205 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2206 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2209 # Find a good install program. We prefer a C program (faster),
2210 # so one script is as good as another. But avoid the broken or
2211 # incompatible versions:
2212 # SysV /etc/install, /usr/sbin/install
2213 # SunOS /usr/etc/install
2214 # IRIX /sbin/install
2216 # AmigaOS /C/install, which installs bootblocks on floppy discs
2217 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2218 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2219 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2220 # OS/2's system install, which has a completely different semantic
2221 # ./install, which can be erroneously created by make from ./install.sh.
2222 # Reject install programs that cannot install multiple files.
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2224 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2225 if test -z "$INSTALL"; then
2226 if ${ac_cv_path_install+:} false
; then :
2227 $as_echo_n "(cached) " >&6
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 # Account for people who put trailing slashes in PATH elements.
2235 case $as_dir/ in #((
2236 .
/ | .
// |
/[cC
]/* | \
2237 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2238 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2241 # OSF1 and SCO ODT 3.0 have their own names for install.
2242 # Don't use installbsd from OSF since it installs stuff as root
2244 for ac_prog
in ginstall scoinst
install; do
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2247 if test $ac_prog = install &&
2248 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2249 # AIX install. It has an incompatible calling convention.
2251 elif test $ac_prog = install &&
2252 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2253 # program-specific install script used by HP pwplus--don't use.
2256 rm -rf conftest.one conftest.two conftest.dir
2257 echo one
> conftest.one
2258 echo two
> conftest.two
2260 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2261 test -s conftest.one
&& test -s conftest.two
&&
2262 test -s conftest.dir
/conftest.one
&&
2263 test -s conftest.dir
/conftest.two
2265 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2278 rm -rf conftest.one conftest.two conftest.dir
2281 if test "${ac_cv_path_install+set}" = set; then
2282 INSTALL
=$ac_cv_path_install
2284 # As a last resort, use the slow shell script. Don't cache a
2285 # value for INSTALL within a source directory, because that will
2286 # break other packages using the cache if that directory is
2287 # removed, or if the value is a relative name.
2288 INSTALL
=$ac_install_sh
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2292 $as_echo "$INSTALL" >&6; }
2294 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2295 # It thinks the first close brace ends the variable substitution.
2296 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2298 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2300 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2303 $as_echo_n "checking whether build environment is sane... " >&6; }
2306 echo timestamp
> conftest.
file
2307 # Do `set' in a subshell so we don't clobber the current shell's
2308 # arguments. Must try -L first in case configure is actually a
2309 # symlink; some systems play weird games with the mod time of symlinks
2310 # (eg FreeBSD returns the mod time of the symlink's containing
2313 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2314 if test "$*" = "X"; then
2316 set X
`ls -t $srcdir/configure conftest.file`
2319 if test "$*" != "X $srcdir/configure conftest.file" \
2320 && test "$*" != "X conftest.file $srcdir/configure"; then
2322 # If neither matched, then we have a broken ls. This can happen
2323 # if, for instance, CONFIG_SHELL is bash and it inherits a
2324 # broken ls alias from the environment. This has actually
2325 # happened. Such a system could not be considered "sane".
2326 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2327 alias in your environment" "$LINENO" 5
2330 test "$2" = conftest.
file
2336 as_fn_error $?
"newly created file is older than distributed files!
2337 Check your system clock" "$LINENO" 5
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2340 $as_echo "yes" >&6; }
2341 test "$program_prefix" != NONE
&&
2342 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2343 # Use a double $ so make ignores it.
2344 test "$program_suffix" != NONE
&&
2345 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2346 # Double any \ or $.
2347 # By default was `s,x,x', remove it if useless.
2348 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2349 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2351 # expand $ac_aux_dir to an absolute path
2352 am_aux_dir
=`cd $ac_aux_dir && pwd`
2354 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2355 # Use eval to expand $SHELL
2356 if eval "$MISSING --run true"; then
2357 am_missing_run
="$MISSING --run "
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2361 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2364 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2365 # We used to keeping the `.' as first argument, in order to
2366 # allow $(mkdir_p) to be used without argument. As in
2367 # $(mkdir_p) $(somedir)
2368 # where $(somedir) is conditionally defined. However this is wrong
2370 # 1. if the package is installed by a user who cannot write `.'
2371 # make install will fail,
2372 # 2. the above comment should most certainly read
2373 # $(mkdir_p) $(DESTDIR)$(somedir)
2374 # so it does not work when $(somedir) is undefined and
2375 # $(DESTDIR) is not.
2376 # To support the latter case, we have to write
2377 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2378 # so the `.' trick is pointless.
2379 mkdir_p
='mkdir -p --'
2381 # On NextStep and OpenStep, the `mkdir' command does not
2382 # recognize any option. It will interpret all options as
2383 # directories to create, and then abort because `.' already
2385 for d
in .
/-p .
/--version;
2387 test -d $d && rmdir $d
2389 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2390 if test -f "$ac_aux_dir/mkinstalldirs"; then
2391 mkdir_p
='$(mkinstalldirs)'
2393 mkdir_p
='$(install_sh) -d'
2397 for ac_prog
in gawk mawk nawk
awk
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy
$ac_prog; ac_word
=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if ${ac_cv_prog_AWK+:} false
; then :
2404 $as_echo_n "(cached) " >&6
2406 if test -n "$AWK"; then
2407 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir
=.
2414 for ac_exec_ext
in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_AWK
="$ac_prog"
2417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 if test -n "$AWK"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2429 $as_echo "$AWK" >&6; }
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2436 test -n "$AWK" && break
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2440 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2442 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2443 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2444 $as_echo_n "(cached) " >&6
2446 cat >conftest.
make <<\_ACEOF
2449 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2451 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2452 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2454 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2456 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2460 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2462 $as_echo "yes" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2467 SET_MAKE
="MAKE=${MAKE-make}"
2470 rm -rf .tst
2>/dev
/null
2471 mkdir .tst
2>/dev
/null
2472 if test -d .tst
; then
2477 rmdir .tst
2>/dev
/null
2479 # test to see if srcdir already configured
2480 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2481 test -f $srcdir/config.status
; then
2482 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2485 # test whether we have cygpath
2486 if test -z "$CYGPATH_W"; then
2487 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2488 CYGPATH_W
='cygpath -w'
2495 # Define the identity of the package.
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE "$PACKAGE"
2505 cat >>confdefs.h
<<_ACEOF
2506 #define VERSION "$VERSION"
2509 # Some tools Automake needs.
2511 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2514 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2517 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2520 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2523 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2525 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2527 # Installed binaries are usually stripped using `strip' when the user
2528 # run `make install-strip'. However `strip' might not be the right
2529 # tool to use in cross-compilation environments, therefore Automake
2530 # will honor the `STRIP' environment variable to overrule this program.
2531 if test "$cross_compiling" != no
; then
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2534 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_STRIP+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$STRIP"; then
2541 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 STRIP
=$ac_cv_prog_STRIP
2561 if test -n "$STRIP"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2563 $as_echo "$STRIP" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2571 if test -z "$ac_cv_prog_STRIP"; then
2573 # Extract the first word of "strip", so it can be a program name with args.
2574 set dummy strip
; ac_word
=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$ac_ct_STRIP"; then
2581 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_ac_ct_STRIP
="strip"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2601 if test -n "$ac_ct_STRIP"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2603 $as_echo "$ac_ct_STRIP" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2609 if test "x$ac_ct_STRIP" = x
; then
2612 case $cross_compiling:$ac_tool_warned in
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 ac_tool_warned
=yes ;;
2621 STRIP
="$ac_cv_prog_STRIP"
2625 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2627 # We need awk for the "check" target. The system "awk" is bad on
2629 # Always define AMTAR for backward compatibility.
2631 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2633 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2640 # check common command line options early
2642 $as_echo "#define PPP_BINARY \"/usr/sbin/pppd\"" >>confdefs.h
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of BSD PPP" >&5
2645 $as_echo_n "checking command line for use of BSD PPP... " >&6; }
2647 # Check whether --with-bsdppp was given.
2648 if test "${with_bsdppp+set}" = set; then :
2649 withval
=$with_bsdppp;
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD user-space ppp" >&5
2653 $as_echo "BSD user-space ppp" >&6; }
2654 $as_echo "#define BSDUSER_PPP 1" >>confdefs.h
2656 BSDUSER_PPP
=$with_bsdppp
2657 $as_echo "#define PPP_BINARY \"/usr/sbin/ppp\"" >>confdefs.h
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit standard pppd" >&5
2663 $as_echo "explicit standard pppd" >&6; }
2666 # only yes or no are expected for this option
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2668 $as_echo "unrecognised... terminating" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default standard pppd" >&5
2675 $as_echo "default standard pppd" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of SLIRP" >&5
2680 $as_echo_n "checking command line for use of SLIRP... " >&6; }
2682 # Check whether --with-slirp was given.
2683 if test "${with_slirp+set}" = set; then :
2684 withval
=$with_slirp;
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2688 $as_echo "yes" >&6; }
2689 $as_echo "#define SLIRP 1" >>confdefs.h
2692 $as_echo "#define PPP_BINARY \"/bin/slirp\"" >>confdefs.h
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2698 $as_echo "explicit no" >&6; }
2701 # only yes or no are expected for this option
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2703 $as_echo "unrecognised... terminating" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2710 $as_echo "default no" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for syslog facility name" >&5
2715 $as_echo_n "checking command line for syslog facility name... " >&6; }
2716 # Check whether --enable-facility was given.
2717 if test "${enable_facility+set}" = set; then :
2718 enableval
=$enable_facility;
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
2720 $as_echo "$enableval" >&6; }
2721 cat >>confdefs.h
<<_ACEOF
2722 #define PPTP_FACILITY $enableval
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LOG_DAEMON" >&5
2729 $as_echo "default LOG_DAEMON" >&6; }
2730 cat >>confdefs.h
<<_ACEOF
2731 #define PPTP_FACILITY LOG_DAEMON
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for bcrelay build" >&5
2739 $as_echo_n "checking command line for bcrelay build... " >&6; }
2740 # Check whether --enable-bcrelay was given.
2741 if test "${enable_bcrelay+set}" = set; then :
2742 enableval
=$enable_bcrelay;
2743 case "$enableval" in
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2747 $as_echo "#define BCRELAY 1" >>confdefs.h
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2754 $as_echo "explicit no" >&6; }
2757 # only yes or no are expected for this option
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2759 $as_echo "unrecognised... terminating" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2766 $as_echo "default no" >&6; }
2771 ac_cpp
='$CPP $CPPFLAGS'
2772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2777 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_CC+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$CC"; then
2784 ac_cv_prog_CC
="$CC" # Let the user override the test.
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_exec_ext
in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test -n "$CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2814 if test -z "$ac_cv_prog_CC"; then
2816 # Extract the first word of "gcc", so it can be a program name with args.
2817 set dummy gcc
; ac_word
=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$ac_ct_CC"; then
2824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_ac_ct_CC
="gcc"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2844 if test -n "$ac_ct_CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2846 $as_echo "$ac_ct_CC" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2852 if test "x$ac_ct_CC" = x
; then
2855 case $cross_compiling:$ac_tool_warned in
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned
=yes ;;
2867 if test -z "$CC"; then
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2870 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC
="$CC" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2908 if test -z "$CC"; then
2909 # Extract the first word of "cc", so it can be a program name with args.
2910 set dummy cc
; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false
; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC
="$CC" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2928 ac_prog_rejected
=yes
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test $ac_prog_rejected = yes; then
2940 # We found a bogon in the path, so make sure we never use it.
2941 set dummy
$ac_cv_prog_CC
2943 if test $# != 0; then
2944 # We chose a different compiler from the bogus one.
2945 # However, it has the same basename, so the bogon will be chosen
2946 # first if we set CC to just the basename; use the full file name.
2948 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2964 if test -z "$CC"; then
2965 if test -n "$ac_tool_prefix"; then
2966 for ac_prog
in cl.exe
2968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2969 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_CC+:} false
; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC
="$CC" # Let the user override the test.
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3005 test -n "$CC" && break
3008 if test -z "$CC"; then
3010 for ac_prog
in cl.exe
3012 # Extract the first word of "$ac_prog", so it can be a program name with args.
3013 set dummy
$ac_prog; ac_word
=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3017 $as_echo_n "(cached) " >&6
3019 if test -n "$ac_ct_CC"; then
3020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 for ac_exec_ext
in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 ac_cv_prog_ac_ct_CC
="$ac_prog"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3042 $as_echo "$ac_ct_CC" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3049 test -n "$ac_ct_CC" && break
3052 if test "x$ac_ct_CC" = x
; then
3055 case $cross_compiling:$ac_tool_warned in
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3059 ac_tool_warned
=yes ;;
3068 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error $?
"no acceptable C compiler found in \$PATH
3071 See \`config.log' for more details" "$LINENO" 5; }
3073 # Provide some information about the compiler.
3074 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3077 for ac_option
in --version -v -V -qversion; do
3078 { { ac_try
="$ac_compiler $ac_option >&5"
3080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3087 if test -s conftest.err; then
3089 ... rest of stderr output deleted ...
3090 10q' conftest.err >conftest.er1
3091 cat conftest.er1 >&5
3093 rm -f conftest.er1 conftest.err
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; }
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3109 ac_clean_files_save=$ac_clean_files
3110 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3111 # Try to create an executable without -o first, disregard a.out.
3112 # It will help us diagnose broken compilers, and finding out an intuition
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3115 $as_echo_n "checking whether the C compiler works... " >&6; }
3116 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3118 # The possible output files:
3119 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3122 for ac_file in $ac_files
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3131 if { { ac_try="$ac_link_default"
3133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3134 *) ac_try_echo
=$ac_try;;
3136 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link_default") 2>&5
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
3142 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3144 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3145 # so that the user can short-circuit this test for compilers unknown to
3147 for ac_file
in $ac_files ''
3149 test -f "$ac_file" ||
continue
3151 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3154 # We found the default executable, but exeext='' is most
3158 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3160 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3162 # We set ac_cv_exeext here because the later test for it is not
3163 # safe: cross compilers may not add the suffix if given an `-o'
3164 # argument, so we may need to know it at that point already.
3165 # Even if this section looks crufty: it has the advantage of
3172 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3177 if test -z "$ac_file"; then :
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.
$ac_ext >&5
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error
77 "C compiler cannot create executables
3186 See \`config.log' for more details" "$LINENO" 5; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3189 $as_echo "yes" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3192 $as_echo_n "checking for C compiler default output file name... " >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3194 $as_echo "$ac_file" >&6; }
3195 ac_exeext
=$ac_cv_exeext
3197 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3198 ac_clean_files
=$ac_clean_files_save
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3200 $as_echo_n "checking for suffix of executables... " >&6; }
3201 if { { ac_try
="$ac_link"
3203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3213 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3214 # work properly (i.e., refer to `conftest.exe'), while it won't with
3216 for ac_file
in conftest.exe conftest conftest.
*; do
3217 test -f "$ac_file" ||
continue
3219 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3220 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3229 See \`config.log' for more details" "$LINENO" 5; }
3231 rm -f conftest conftest
$ac_cv_exeext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3233 $as_echo "$ac_cv_exeext" >&6; }
3235 rm -f conftest.
$ac_ext
3236 EXEEXT
=$ac_cv_exeext
3238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3244 FILE *f = fopen ("conftest.out", "w");
3245 return ferror (f) || fclose (f) != 0;
3251 ac_clean_files
="$ac_clean_files conftest.out"
3252 # Check that the compiler produces executables we can run. If not, either
3253 # the compiler is broken, or we cross compile.
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3255 $as_echo_n "checking whether we are cross compiling... " >&6; }
3256 if test "$cross_compiling" != yes; then
3257 { { ac_try
="$ac_link"
3259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }
3268 if { ac_try='./conftest$ac_cv_exeext'
3269 { { case "(($ac_try" in
3270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3271 *) ac_try_echo
=$ac_try;;
3273 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_try") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; }; then
3281 if test "$cross_compiling" = maybe
; then
3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error $?
"cannot run C compiled programs.
3287 If you meant to cross compile, use \`--host'.
3288 See \`config.log' for more details" "$LINENO" 5; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3293 $as_echo "$cross_compiling" >&6; }
3295 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3296 ac_clean_files
=$ac_clean_files_save
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3298 $as_echo_n "checking for suffix of object files... " >&6; }
3299 if ${ac_cv_objext+:} false
; then :
3300 $as_echo_n "(cached) " >&6
3302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3313 rm -f conftest.o conftest.obj
3314 if { { ac_try
="$ac_compile"
3316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_compile") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; then :
3325 for ac_file in conftest.o conftest.obj conftest.*; do
3326 test -f "$ac_file" || continue;
3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3329 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3340 See \
`config.log' for more details" "$LINENO" 5; }
3342 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3345 $as_echo "$ac_cv_objext" >&6; }
3346 OBJEXT=$ac_cv_objext
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3349 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3350 if ${ac_cv_c_compiler_gnu+:} false; then :
3351 $as_echo_n "(cached) " >&6
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3367 if ac_fn_c_try_compile "$LINENO"; then :
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3377 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3378 if test $ac_compiler_gnu = yes; then
3383 ac_test_CFLAGS=${CFLAGS+set}
3384 ac_save_CFLAGS=$CFLAGS
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3386 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3387 if ${ac_cv_prog_cc_g+:} false; then :
3388 $as_echo_n "(cached) " >&6
3390 ac_save_c_werror_flag=$ac_c_werror_flag
3391 ac_c_werror_flag=yes
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 if ac_fn_c_try_compile "$LINENO"; then :
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 if ac_fn_c_try_compile "$LINENO"; then :
3423 ac_c_werror_flag=$ac_save_c_werror_flag
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3436 if ac_fn_c_try_compile "$LINENO"; then :
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_c_werror_flag=$ac_save_c_werror_flag
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3447 $as_echo "$ac_cv_prog_cc_g" >&6; }
3448 if test "$ac_test_CFLAGS" = set; then
3449 CFLAGS=$ac_save_CFLAGS
3450 elif test $ac_cv_prog_cc_g = yes; then
3451 if test "$GCC" = yes; then
3457 if test "$GCC" = yes; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3464 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3465 if ${ac_cv_prog_cc_c89+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_cv_prog_cc_c89=no
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3474 #include <sys/types.h>
3475 #include <sys/stat.h>
3476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3477 struct buf { int x; };
3478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3479 static char *e (p, i)
3485 static char *f (char * (*g) (char **, int), char **p, ...)
3490 s = g (p, va_arg (v,int));
3495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3496 function prototypes and stuff, but not '\xHH' hex character constants.
3497 These don't provoke an error unfortunately, instead are silently treated
3498 as 'x'. The following induces an error, until -std is added to get
3499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3500 array size at least. It's necessary to write '\x00'==0 to get something
3501 that's true only with -std. */
3502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3505 inside strings and character constants. */
3507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3509 int test (int i, double x);
3510 struct s1 {int (*f) (int a);};
3511 struct s2 {int (*f) (double a);};
3512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3526 CC="$ac_save_CC $ac_arg"
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528 ac_cv_prog_cc_c89=$ac_arg
3530 rm -f core conftest.err conftest.$ac_objext
3531 test "x$ac_cv_prog_cc_c89" != "xno" && break
3533 rm -f conftest.$ac_ext
3538 case "x$ac_cv_prog_cc_c89" in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3541 $as_echo "none needed" >&6; } ;;
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3544 $as_echo "unsupported" >&6; } ;;
3546 CC="$CC $ac_cv_prog_cc_c89"
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3548 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3550 if test "x$ac_cv_prog_cc_c89" != xno; then :
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559 DEPDIR="${am__leading_dot}deps"
3561 ac_config_commands="$ac_config_commands depfiles"
3564 am_make=${MAKE-make}
3565 cat > confinc << 'END'
3570 # If we don't find an include directive, just comment out the code.
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3572 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3576 # First try GNU make style include.
3577 echo "include confinc" > confmf
3578 # We grep out `Entering directory
' and `Leaving directory'
3579 # messages which can occur if `w' ends up in MAKEFLAGS.
3580 # In particular we don't look at `^make:' because GNU make might
3581 # be invoked under some other name (usually "gmake"), in which
3582 # case it prints its new name instead of `make'.
3583 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3588 # Now try BSD make style include.
3589 if test "$am__include" = "#"; then
3590 echo '.include "confinc"' > confmf
3591 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3592 am__include
=.include
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3600 $as_echo "$_am_result" >&6; }
3601 rm -f confinc confmf
3603 # Check whether --enable-dependency-tracking was given.
3604 if test "${enable_dependency_tracking+set}" = set; then :
3605 enableval
=$enable_dependency_tracking;
3608 if test "x$enable_dependency_tracking" != xno
; then
3609 am_depcomp
="$ac_aux_dir/depcomp"
3614 if test "x$enable_dependency_tracking" != xno; then
3625 depcc
="$CC" am_compiler_list
=
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3628 $as_echo_n "checking dependency style of $depcc... " >&6; }
3629 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3630 $as_echo_n "(cached) " >&6
3632 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3633 # We make a subdir and do the tests there. Otherwise we can end up
3634 # making bogus files that we don't know about and never remove. For
3635 # instance it was reported that on HP-UX the gcc test will end up
3636 # making a dummy file named `D' -- because `-MD' means `put the output
3639 # Copy depcomp to subdir because otherwise we won't find it if we're
3640 # using a relative directory.
3641 cp "$am_depcomp" conftest.dir
3643 # We will build objects and dependencies in a subdirectory because
3644 # it helps to detect inapplicable dependency modes. For instance
3645 # both Tru64's cc and ICC support -MD to output dependencies as a
3646 # side effect of compilation, but ICC will put the dependencies in
3647 # the current directory while Tru64 will put them in the object
3651 am_cv_CC_dependencies_compiler_type
=none
3652 if test "$am_compiler_list" = ""; then
3653 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3655 for depmode
in $am_compiler_list; do
3656 # Setup a source with many dependencies, because some compilers
3657 # like to wrap large dependency lists on column 80 (with \), and
3658 # we should not choose a depcomp mode which is confused by this.
3660 # We need to recreate these files for each test, as the compiler may
3661 # overwrite some of them when testing with obscure command lines.
3662 # This happens at least with the AIX C compiler.
3664 for i
in 1 2 3 4 5 6; do
3665 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3666 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3667 # Solaris 8's {/usr,}/bin/sh.
3668 touch sub
/conftst
$i.h
3670 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3674 # after this tag, mechanisms are not by side-effect, so they'll
3675 # only be used when explicitly requested
3676 if test "x$enable_dependency_tracking" = xyes
; then
3684 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3685 # mode. It turns out that the SunPro C++ compiler does not properly
3686 # handle `-M -o', and we need to detect this.
3687 if depmode
=$depmode \
3688 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3689 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3690 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3691 >/dev
/null
2>conftest.err
&&
3692 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3693 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3694 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3695 # icc doesn't choke on unknown options, it will just issue warnings
3696 # or remarks (even with -Werror). So we grep stderr for any message
3697 # that says an option was ignored or not supported.
3698 # When given -MP, icc 7.0 and 7.1 complain thusly:
3699 # icc: Command line warning: ignoring option '-M'; no argument required
3700 # The diagnosis changed in icc 8.0:
3701 # icc: Command line remark: option '-MP' not supported
3702 if (grep 'ignoring option' conftest.err ||
3703 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3704 am_cv_CC_dependencies_compiler_type
=$depmode
3713 am_cv_CC_dependencies_compiler_type
=none
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3718 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3719 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3724 test "x$enable_dependency_tracking" != xno \
3725 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3727 am__fastdepCC_FALSE
='#'
3729 am__fastdepCC_TRUE
='#'
3730 am__fastdepCC_FALSE
=
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3736 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_RANLIB+:} false
; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$RANLIB"; then
3743 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir
=.
3750 for ac_exec_ext
in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 RANLIB
=$ac_cv_prog_RANLIB
3763 if test -n "$RANLIB"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3765 $as_echo "$RANLIB" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3773 if test -z "$ac_cv_prog_RANLIB"; then
3774 ac_ct_RANLIB
=$RANLIB
3775 # Extract the first word of "ranlib", so it can be a program name with args.
3776 set dummy ranlib
; ac_word
=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$ac_ct_RANLIB"; then
3783 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3803 if test -n "$ac_ct_RANLIB"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3805 $as_echo "$ac_ct_RANLIB" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3811 if test "x$ac_ct_RANLIB" = x
; then
3814 case $cross_compiling:$ac_tool_warned in
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned
=yes ;;
3820 RANLIB
=$ac_ct_RANLIB
3823 RANLIB
="$ac_cv_prog_RANLIB"
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3828 $as_echo_n "checking whether ln -s works... " >&6; }
3830 if test "$LN_S" = "ln -s"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3832 $as_echo "yes" >&6; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3835 $as_echo "no, using $LN_S" >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3841 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3842 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3843 $as_echo_n "(cached) " >&6
3845 cat >conftest.
make <<\_ACEOF
3848 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3853 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3855 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3859 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3861 $as_echo "yes" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3866 SET_MAKE
="MAKE=${MAKE-make}"
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3872 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3873 if ${ac_cv_c_const+:} false
; then :
3874 $as_echo_n "(cached) " >&6
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3882 /* FIXME: Include the comments suggested by Paul. */
3884 /* Ultrix mips cc rejects this. */
3885 typedef int charset[2];
3887 /* SunOS 4.1.1 cc rejects this. */
3888 char const *const *pcpcc;
3890 /* NEC SVR4.0.2 mips cc rejects this. */
3891 struct point {int x, y;};
3892 static struct point const zero = {0,0};
3893 /* AIX XL C 1.02.0.0 rejects this.
3894 It does not let you subtract one const X* pointer from another in
3895 an arm of an if-expression whose if-part is not a constant
3897 const char *g = "string";
3898 pcpcc = &g + (g ? g-g : 0);
3899 /* HPUX 7.0 cc rejects these. */
3901 ppc = (char**) pcpcc;
3902 pcpcc = (char const *const *) ppc;
3903 { /* SCO 3.2v4 cc rejects this. */
3905 char const *s = 0 ? (char *) 0 : (char const *) 0;
3910 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3912 const int *foo = &x[0];
3915 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3916 typedef const int *iptr;
3920 { /* AIX XL C 1.02.0.0 rejects this saying
3921 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3922 struct s { int j; const int *ap[3]; };
3923 struct s *b; b->j = 5;
3925 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3929 return !cs[0] && !zero.x;
3936 if ac_fn_c_try_compile
"$LINENO"; then :
3941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3944 $as_echo "$ac_cv_c_const" >&6; }
3945 if test $ac_cv_c_const = no
; then
3947 $as_echo "#define const /**/" >>confdefs.h
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3952 $as_echo_n "checking for inline... " >&6; }
3953 if ${ac_cv_c_inline+:} false
; then :
3954 $as_echo_n "(cached) " >&6
3957 for ac_kw
in inline __inline__ __inline
; do
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3962 static $ac_kw foo_t static_foo () {return 0; }
3963 $ac_kw foo_t foo () {return 0; }
3967 if ac_fn_c_try_compile
"$LINENO"; then :
3968 ac_cv_c_inline
=$ac_kw
3970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3971 test "$ac_cv_c_inline" != no
&& break
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3976 $as_echo "$ac_cv_c_inline" >&6; }
3978 case $ac_cv_c_inline in
3981 case $ac_cv_c_inline in
3983 *) ac_val
=$ac_cv_c_inline;;
3985 cat >>confdefs.h
<<_ACEOF
3987 #define inline $ac_val
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5
3997 $as_echo_n "checking whether #! works in shell scripts... " >&6; }
3998 if ${ac_cv_sys_interpreter+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4005 (SHELL
=/bin
/sh
; export SHELL
; .
/conftest
>/dev
/null
2>&1)
4006 if test $?
-ne 69; then
4007 ac_cv_sys_interpreter
=yes
4009 ac_cv_sys_interpreter
=no
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
4014 $as_echo "$ac_cv_sys_interpreter" >&6; }
4015 interpval
=$ac_cv_sys_interpreter
4018 for ac_func
in setsid daemon setproctitle getservbyname strlcpy fork memmove strerror writev
4020 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4021 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4022 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4023 cat >>confdefs.h
<<_ACEOF
4024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4032 ac_cpp
='$CPP $CPPFLAGS'
4033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4038 # On Suns, sometimes $CPP names a directory.
4039 if test -n "$CPP" && test -d "$CPP"; then
4042 if test -z "$CPP"; then
4043 if ${ac_cv_prog_CPP+:} false
; then :
4044 $as_echo_n "(cached) " >&6
4046 # Double quotes because CPP needs to be expanded
4047 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4050 for ac_c_preproc_warn_flag
in '' yes
4052 # Use a header file that comes with gcc, so configuring glibc
4053 # with a fresh cross-compiler works.
4054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4055 # <limits.h> exists even on freestanding compilers.
4056 # On the NeXT, cc -E runs the code through the compiler's parser,
4057 # not just through cpp. "Syntax error" is here to catch this case.
4058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4061 # include <limits.h>
4063 # include <assert.h>
4067 if ac_fn_c_try_cpp
"$LINENO"; then :
4070 # Broken: fails on valid input.
4073 rm -f conftest.err conftest.i conftest.
$ac_ext
4075 # OK, works on sane cases. Now check whether nonexistent headers
4076 # can be detected and how.
4077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4079 #include <ac_nonexistent.h>
4081 if ac_fn_c_try_cpp
"$LINENO"; then :
4082 # Broken: success on invalid input.
4085 # Passes both tests.
4089 rm -f conftest.err conftest.i conftest.
$ac_ext
4092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4093 rm -f conftest.i conftest.err conftest.
$ac_ext
4094 if $ac_preproc_ok; then :
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4107 $as_echo "$CPP" >&6; }
4109 for ac_c_preproc_warn_flag
in '' yes
4111 # Use a header file that comes with gcc, so configuring glibc
4112 # with a fresh cross-compiler works.
4113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4114 # <limits.h> exists even on freestanding compilers.
4115 # On the NeXT, cc -E runs the code through the compiler's parser,
4116 # not just through cpp. "Syntax error" is here to catch this case.
4117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4120 # include <limits.h>
4122 # include <assert.h>
4126 if ac_fn_c_try_cpp
"$LINENO"; then :
4129 # Broken: fails on valid input.
4132 rm -f conftest.err conftest.i conftest.
$ac_ext
4134 # OK, works on sane cases. Now check whether nonexistent headers
4135 # can be detected and how.
4136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4138 #include <ac_nonexistent.h>
4140 if ac_fn_c_try_cpp
"$LINENO"; then :
4141 # Broken: success on invalid input.
4144 # Passes both tests.
4148 rm -f conftest.err conftest.i conftest.
$ac_ext
4151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4152 rm -f conftest.i conftest.err conftest.
$ac_ext
4153 if $ac_preproc_ok; then :
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4159 See \`config.log' for more details" "$LINENO" 5; }
4163 ac_cpp
='$CPP $CPPFLAGS'
4164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4171 if ${ac_cv_path_GREP+:} false
; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -z "$GREP"; then
4175 ac_path_GREP_found
=false
4176 # Loop through the user's path and test for each of PROGNAME-LIST
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_prog
in grep ggrep
; do
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4185 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4186 # Check for GNU ac_path_GREP and select it if it is found.
4187 # Check for GNU $ac_path_GREP
4188 case `"$ac_path_GREP" --version 2>&1` in
4190 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4193 $as_echo_n 0123456789 >"conftest.in"
4196 cat "conftest.in" "conftest.in" >"conftest.tmp"
4197 mv "conftest.tmp" "conftest.in"
4198 cp "conftest.in" "conftest.nl"
4199 $as_echo 'GREP' >> "conftest.nl"
4200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4201 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4202 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4203 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4204 # Best one so far, save it but keep looking for a better one
4205 ac_cv_path_GREP
="$ac_path_GREP"
4206 ac_path_GREP_max
=$ac_count
4208 # 10*(2^10) chars as input seems more than enough
4209 test $ac_count -gt 10 && break
4211 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4214 $ac_path_GREP_found && break 3
4219 if test -z "$ac_cv_path_GREP"; then
4220 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4223 ac_cv_path_GREP
=$GREP
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4228 $as_echo "$ac_cv_path_GREP" >&6; }
4229 GREP
="$ac_cv_path_GREP"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4233 $as_echo_n "checking for egrep... " >&6; }
4234 if ${ac_cv_path_EGREP+:} false
; then :
4235 $as_echo_n "(cached) " >&6
4237 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4238 then ac_cv_path_EGREP
="$GREP -E"
4240 if test -z "$EGREP"; then
4241 ac_path_EGREP_found
=false
4242 # Loop through the user's path and test for each of PROGNAME-LIST
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4244 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_prog
in egrep; do
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4251 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4252 # Check for GNU ac_path_EGREP and select it if it is found.
4253 # Check for GNU $ac_path_EGREP
4254 case `"$ac_path_EGREP" --version 2>&1` in
4256 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4259 $as_echo_n 0123456789 >"conftest.in"
4262 cat "conftest.in" "conftest.in" >"conftest.tmp"
4263 mv "conftest.tmp" "conftest.in"
4264 cp "conftest.in" "conftest.nl"
4265 $as_echo 'EGREP' >> "conftest.nl"
4266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4267 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4268 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4270 # Best one so far, save it but keep looking for a better one
4271 ac_cv_path_EGREP
="$ac_path_EGREP"
4272 ac_path_EGREP_max
=$ac_count
4274 # 10*(2^10) chars as input seems more than enough
4275 test $ac_count -gt 10 && break
4277 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4280 $ac_path_EGREP_found && break 3
4285 if test -z "$ac_cv_path_EGREP"; then
4286 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289 ac_cv_path_EGREP
=$EGREP
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4295 $as_echo "$ac_cv_path_EGREP" >&6; }
4296 EGREP
="$ac_cv_path_EGREP"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4300 $as_echo_n "checking for ANSI C header files... " >&6; }
4301 if ${ac_cv_header_stdc+:} false
; then :
4302 $as_echo_n "(cached) " >&6
4304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4319 if ac_fn_c_try_compile
"$LINENO"; then :
4320 ac_cv_header_stdc
=yes
4322 ac_cv_header_stdc
=no
4324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4326 if test $ac_cv_header_stdc = yes; then
4327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4334 $EGREP "memchr" >/dev
/null
2>&1; then :
4337 ac_cv_header_stdc
=no
4343 if test $ac_cv_header_stdc = yes; then
4344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4351 $EGREP "free" >/dev
/null
2>&1; then :
4354 ac_cv_header_stdc
=no
4360 if test $ac_cv_header_stdc = yes; then
4361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4362 if test "$cross_compiling" = yes; then :
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 #if ((' ' & 0x0FF) == 0x020)
4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4373 # define ISLOWER(c) \
4374 (('a' <= (c) && (c) <= 'i') \
4375 || ('j' <= (c) && (c) <= 'r') \
4376 || ('s' <= (c) && (c) <= 'z'))
4377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4385 for (i = 0; i < 256; i++)
4386 if (XOR (islower (i), ISLOWER (i))
4387 || toupper (i) != TOUPPER (i))
4392 if ac_fn_c_try_run
"$LINENO"; then :
4395 ac_cv_header_stdc
=no
4397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4404 $as_echo "$ac_cv_header_stdc" >&6; }
4405 if test $ac_cv_header_stdc = yes; then
4407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4412 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4413 inttypes.h stdint.h unistd.h
4415 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4418 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4419 cat >>confdefs.h
<<_ACEOF
4420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4428 for ac_header
in pty.h
4430 ac_fn_c_check_header_mongrel
"$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
4431 if test "x$ac_cv_header_pty_h" = xyes
; then :
4432 cat >>confdefs.h
<<_ACEOF
4433 #define HAVE_PTY_H 1
4440 for ac_header
in string.h
4442 ac_fn_c_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4443 if test "x$ac_cv_header_string_h" = xyes
; then :
4444 cat >>confdefs.h
<<_ACEOF
4445 #define HAVE_STRING_H 1
4452 for ac_header
in syslog.h
4454 ac_fn_c_check_header_mongrel
"$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
4455 if test "x$ac_cv_header_syslog_h" = xyes
; then :
4456 cat >>confdefs.h
<<_ACEOF
4457 #define HAVE_SYSLOG_H 1
4464 for ac_header
in libintl.h
4466 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4467 if test "x$ac_cv_header_libintl_h" = xyes
; then :
4468 cat >>confdefs.h
<<_ACEOF
4469 #define HAVE_LIBINTL_H 1
4476 for ac_header
in libutil.h
4478 ac_fn_c_check_header_mongrel
"$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
4479 if test "x$ac_cv_header_libutil_h" = xyes
; then :
4480 cat >>confdefs.h
<<_ACEOF
4481 #define HAVE_LIBUTIL_H 1
4488 for ac_header
in sys
/uio.h
4490 ac_fn_c_check_header_mongrel
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
4491 if test "x$ac_cv_header_sys_uio_h" = xyes
; then :
4492 cat >>confdefs.h
<<_ACEOF
4493 #define HAVE_SYS_UIO_H 1
4501 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4502 if test "x$ac_cv_type_size_t" = xyes
; then :
4506 cat >>confdefs.h
<<_ACEOF
4507 #define size_t unsigned int
4512 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4513 if test "x$ac_cv_type_ssize_t" = xyes
; then :
4517 cat >>confdefs.h
<<_ACEOF
4523 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
4524 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
4528 cat >>confdefs.h
<<_ACEOF
4529 #define u_int8_t unsigned char
4534 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
4535 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
4539 cat >>confdefs.h
<<_ACEOF
4540 #define u_int16_t unsigned short
4545 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
4546 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
4550 cat >>confdefs.h
<<_ACEOF
4551 #define u_int32_t unsigned int
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
4558 $as_echo_n "checking for socklen_t... " >&6; }
4559 if ${ac_cv_type_socklen_t+:} false
; then :
4560 $as_echo_n "(cached) " >&6
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565 #include <sys/types.h>
4566 #include <sys/socket.h>
4572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4573 $EGREP "socklen_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
4574 ac_cv_type_socklen_t
=yes
4576 ac_cv_type_socklen_t
=no
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
4583 $as_echo "$ac_cv_type_socklen_t" >&6; }
4584 if test $ac_cv_type_socklen_t = no
; then
4585 $as_echo "#define socklen_t int" >>confdefs.h
4590 # Check whether --with-libwrap was given.
4591 if test "${with_libwrap+set}" = set; then :
4592 withval
=$with_libwrap;
4593 if test "$with_libwrap" = "yes"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap alone" >&5
4596 $as_echo_n "checking for libwrap alone... " >&6; }
4597 LIBS
="$XYZZY_LIBS -lwrap"
4598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4600 int allow_severity, deny_severity;
4609 if ac_fn_c_try_link
"$LINENO"; then :
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4611 $as_echo "yes" >&6; }
4612 $as_echo "#define HAVE_LIBWRAP 1" >>confdefs.h
4615 XTRALIBS_MGR
="-lwrap"
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 LIBS
="$XYZZY_LIBS -lwrap -lnsl"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap with libnsl" >&5
4621 $as_echo_n "checking for libwrap with libnsl... " >&6; }
4622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4624 int allow_severity, deny_severity;
4633 if ac_fn_c_try_link
"$LINENO"; then :
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4635 $as_echo "yes" >&6; }
4636 $as_echo "#define HAVE_LIBWRAP 1" >>confdefs.h
4639 XTRALIBS_MGR
="-lwrap -lnsl"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4644 rm -f core conftest.err conftest.
$ac_objext \
4645 conftest
$ac_exeext conftest.
$ac_ext
4648 rm -f core conftest.err conftest.
$ac_objext \
4649 conftest
$ac_exeext conftest.
$ac_ext
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lc" >&5
4658 $as_echo_n "checking for accept in -lc... " >&6; }
4659 if ${ac_cv_lib_c_accept+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 ac_check_lib_save_LIBS
=$LIBS
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4667 /* Override any GCC internal prototype to avoid an error.
4668 Use char because int might match the return type of a GCC
4669 builtin and then its argument prototype would still apply. */
4682 if ac_fn_c_try_link
"$LINENO"; then :
4683 ac_cv_lib_c_accept
=yes
4685 ac_cv_lib_c_accept
=no
4687 rm -f core conftest.err conftest.
$ac_objext \
4688 conftest
$ac_exeext conftest.
$ac_ext
4689 LIBS
=$ac_check_lib_save_LIBS
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_accept" >&5
4692 $as_echo "$ac_cv_lib_c_accept" >&6; }
4693 if test "x$ac_cv_lib_c_accept" = xyes
; then :
4694 cat >>confdefs.h
<<_ACEOF
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lc" >&5
4703 $as_echo_n "checking for gethostbyname in -lc... " >&6; }
4704 if ${ac_cv_lib_c_gethostbyname+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4707 ac_check_lib_save_LIBS
=$LIBS
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4718 char gethostbyname ();
4722 return gethostbyname ();
4727 if ac_fn_c_try_link
"$LINENO"; then :
4728 ac_cv_lib_c_gethostbyname
=yes
4730 ac_cv_lib_c_gethostbyname
=no
4732 rm -f core conftest.err conftest.
$ac_objext \
4733 conftest
$ac_exeext conftest.
$ac_ext
4734 LIBS
=$ac_check_lib_save_LIBS
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname" >&5
4737 $as_echo "$ac_cv_lib_c_gethostbyname" >&6; }
4738 if test "x$ac_cv_lib_c_gethostbyname" = xyes
; then :
4739 cat >>confdefs.h
<<_ACEOF
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lc" >&5
4748 $as_echo_n "checking for openpty in -lc... " >&6; }
4749 if ${ac_cv_lib_c_openpty+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 ac_check_lib_save_LIBS
=$LIBS
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4757 /* Override any GCC internal prototype to avoid an error.
4758 Use char because int might match the return type of a GCC
4759 builtin and then its argument prototype would still apply. */
4772 if ac_fn_c_try_link
"$LINENO"; then :
4773 ac_cv_lib_c_openpty
=yes
4775 ac_cv_lib_c_openpty
=no
4777 rm -f core conftest.err conftest.
$ac_objext \
4778 conftest
$ac_exeext conftest.
$ac_ext
4779 LIBS
=$ac_check_lib_save_LIBS
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_openpty" >&5
4782 $as_echo "$ac_cv_lib_c_openpty" >&6; }
4783 if test "x$ac_cv_lib_c_openpty" = xyes
; then :
4784 cat >>confdefs.h
<<_ACEOF
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lc" >&5
4793 $as_echo_n "checking for gettext in -lc... " >&6; }
4794 if ${ac_cv_lib_c_gettext+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 ac_check_lib_save_LIBS
=$LIBS
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4817 if ac_fn_c_try_link
"$LINENO"; then :
4818 ac_cv_lib_c_gettext
=yes
4820 ac_cv_lib_c_gettext
=no
4822 rm -f core conftest.err conftest.
$ac_objext \
4823 conftest
$ac_exeext conftest.
$ac_ext
4824 LIBS
=$ac_check_lib_save_LIBS
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettext" >&5
4827 $as_echo "$ac_cv_lib_c_gettext" >&6; }
4828 if test "x$ac_cv_lib_c_gettext" = xyes
; then :
4829 cat >>confdefs.h
<<_ACEOF
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lsocket" >&5
4838 $as_echo_n "checking for accept in -lsocket... " >&6; }
4839 if ${ac_cv_lib_socket_accept+:} false
; then :
4840 $as_echo_n "(cached) " >&6
4842 ac_check_lib_save_LIBS
=$LIBS
4843 LIBS
="-lsocket $LIBS"
4844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4847 /* Override any GCC internal prototype to avoid an error.
4848 Use char because int might match the return type of a GCC
4849 builtin and then its argument prototype would still apply. */
4862 if ac_fn_c_try_link
"$LINENO"; then :
4863 ac_cv_lib_socket_accept
=yes
4865 ac_cv_lib_socket_accept
=no
4867 rm -f core conftest.err conftest.
$ac_objext \
4868 conftest
$ac_exeext conftest.
$ac_ext
4869 LIBS
=$ac_check_lib_save_LIBS
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_accept" >&5
4872 $as_echo "$ac_cv_lib_socket_accept" >&6; }
4873 if test "x$ac_cv_lib_socket_accept" = xyes
; then :
4874 cat >>confdefs.h
<<_ACEOF
4875 #define HAVE_LIBSOCKET 1
4878 LIBS
="-lsocket $LIBS"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4883 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4884 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
4885 $as_echo_n "(cached) " >&6
4887 ac_check_lib_save_LIBS
=$LIBS
4889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4898 char gethostbyname ();
4902 return gethostbyname ();
4907 if ac_fn_c_try_link
"$LINENO"; then :
4908 ac_cv_lib_nsl_gethostbyname
=yes
4910 ac_cv_lib_nsl_gethostbyname
=no
4912 rm -f core conftest.err conftest.
$ac_objext \
4913 conftest
$ac_exeext conftest.
$ac_ext
4914 LIBS
=$ac_check_lib_save_LIBS
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4917 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4918 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
4919 cat >>confdefs.h
<<_ACEOF
4920 #define HAVE_LIBNSL 1
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
4928 $as_echo_n "checking for openpty in -lutil... " >&6; }
4929 if ${ac_cv_lib_util_openpty+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 ac_check_lib_save_LIBS
=$LIBS
4934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4952 if ac_fn_c_try_link
"$LINENO"; then :
4953 ac_cv_lib_util_openpty
=yes
4955 ac_cv_lib_util_openpty
=no
4957 rm -f core conftest.err conftest.
$ac_objext \
4958 conftest
$ac_exeext conftest.
$ac_ext
4959 LIBS
=$ac_check_lib_save_LIBS
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
4962 $as_echo "$ac_cv_lib_util_openpty" >&6; }
4963 if test "x$ac_cv_lib_util_openpty" = xyes
; then :
4964 cat >>confdefs.h
<<_ACEOF
4965 #define HAVE_LIBUTIL 1
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
4973 $as_echo_n "checking for gettext in -lintl... " >&6; }
4974 if ${ac_cv_lib_intl_gettext+:} false
; then :
4975 $as_echo_n "(cached) " >&6
4977 ac_check_lib_save_LIBS
=$LIBS
4979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4982 /* Override any GCC internal prototype to avoid an error.
4983 Use char because int might match the return type of a GCC
4984 builtin and then its argument prototype would still apply. */
4997 if ac_fn_c_try_link
"$LINENO"; then :
4998 ac_cv_lib_intl_gettext
=yes
5000 ac_cv_lib_intl_gettext
=no
5002 rm -f core conftest.err conftest.
$ac_objext \
5003 conftest
$ac_exeext conftest.
$ac_ext
5004 LIBS
=$ac_check_lib_save_LIBS
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5007 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5008 if test "x$ac_cv_lib_intl_gettext" = xyes
; then :
5009 cat >>confdefs.h
<<_ACEOF
5010 #define HAVE_LIBINTL 1
5018 if test "$ac_cv_lib_c_accept" = no
; then
5019 if test "$ac_cv_lib_socket_accept" = yes; then
5020 LIBS
="$LIBS -lsocket"
5022 echo "Couldn't find a usable accept!" 1>&2
5026 if test "$ac_cv_lib_c_gethostbyname" = no
; then
5027 if test "$ac_cv_lib_nsl_gethostbyname" = yes; then
5029 if test "$XTRALIBS_MGR" = "-lwrap -lnsl"; then
5030 XTRALIBS_MGR
="-lwrap"
5033 echo "Couldn't find a usable gethostbyname!" 1>&2
5037 if test "$ac_cv_lib_c_openpty" = yes; then
5038 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
5041 if test "$ac_cv_lib_util_openpty" = yes; then
5042 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
5044 XTRALIBS_CTRL
="-lutil"
5047 if test "$ac_cv_header_libintl_h" = yes; then
5048 if test "$ac_cv_lib_c_gettext" = no
; then
5049 if test "$ac_cv_lib_intl_gettext" = yes; then
5050 XTRALIBS_MGR
= "$XTRALIBS_MGR -lintl"
5052 echo "Have libintl.h but no usable gettext!" 1>&2
5062 if test "$BCRELAY" = "yes"; then
5063 if test "$BCRELAY" = "yes"; then
5067 echo "No BCrelay selected." 1>&2
5073 echo '==============================================================================='
5075 echo 'Configuration chosen:'
5078 if test "$BSDUSER_PPP" = "yes"; then
5079 echo 'BSD user-space PPPd.'
5081 if test "$SLIRP" = "yes"; then
5088 echo -n ' LIBWRAP security: '
5089 if test "$LIBWRAP" = "yes"; then
5095 echo -n ' Broadcast Relay: '
5096 if test "$BCRELAY" = "yes"; then
5102 cat >confcache
<<\_ACEOF
5103 # This file is a shell script that caches the results of configure
5104 # tests run on this system so they can be shared between configure
5105 # scripts and configure runs, see configure's option --config-cache.
5106 # It is not useful on other systems. If it contains results you don't
5107 # want to keep, you may remove or edit it.
5109 # config.status only pays attention to the cache file if you give it
5110 # the --recheck option to rerun configure.
5112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5118 # The following way of writing the cache mishandles newlines in values,
5119 # but we know of no workaround that is simple, portable, and efficient.
5120 # So, we kill variables containing newlines.
5121 # Ultrix sh set writes to stderr and can't be redirected directly,
5122 # and sets the high bit in the cache file unless we assign to the vars.
5124 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5125 eval ac_val
=\$
$ac_var
5129 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5130 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5133 _ | IFS | as_nl
) ;; #(
5134 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5135 *) { eval $ac_var=; unset $ac_var;} ;;
5141 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5142 *${as_nl}ac_space
=\
*)
5143 # `set' does not quote correctly, so add quotes: double-quote
5144 # substitution turns \\\\ into \\, and sed turns \\ into \.
5147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5150 # `set' quotes correctly as required by POSIX, so do not add quotes.
5151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5162 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5164 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5165 if test -w "$cache_file"; then
5166 if test "x$cache_file" != "x/dev/null"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5168 $as_echo "$as_me: updating cache $cache_file" >&6;}
5169 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5170 cat confcache
>"$cache_file"
5172 case $cache_file in #(
5174 mv -f confcache
"$cache_file"$$
&&
5175 mv -f "$cache_file"$$
"$cache_file" ;; #(
5177 mv -f confcache
"$cache_file" ;;
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5183 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5187 ac_config_files
="$ac_config_files Makefile"
5189 cat >confcache
<<\_ACEOF
5190 # This file is a shell script that caches the results of configure
5191 # tests run on this system so they can be shared between configure
5192 # scripts and configure runs, see configure's option --config-cache.
5193 # It is not useful on other systems. If it contains results you don't
5194 # want to keep, you may remove or edit it.
5196 # config.status only pays attention to the cache file if you give it
5197 # the --recheck option to rerun configure.
5199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5205 # The following way of writing the cache mishandles newlines in values,
5206 # but we know of no workaround that is simple, portable, and efficient.
5207 # So, we kill variables containing newlines.
5208 # Ultrix sh set writes to stderr and can't be redirected directly,
5209 # and sets the high bit in the cache file unless we assign to the vars.
5211 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5212 eval ac_val
=\$
$ac_var
5216 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5220 _ | IFS | as_nl
) ;; #(
5221 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5222 *) { eval $ac_var=; unset $ac_var;} ;;
5228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5229 *${as_nl}ac_space
=\
*)
5230 # `set' does not quote correctly, so add quotes: double-quote
5231 # substitution turns \\\\ into \\, and sed turns \\ into \.
5234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5237 # `set' quotes correctly as required by POSIX, so do not add quotes.
5238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5251 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5252 if test -w "$cache_file"; then
5253 if test "x$cache_file" != "x/dev/null"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5255 $as_echo "$as_me: updating cache $cache_file" >&6;}
5256 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5257 cat confcache
>"$cache_file"
5259 case $cache_file in #(
5261 mv -f confcache
"$cache_file"$$
&&
5262 mv -f "$cache_file"$$
"$cache_file" ;; #(
5264 mv -f confcache
"$cache_file" ;;
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5275 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5276 # Let make expand exec_prefix.
5277 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5279 DEFS
=-DHAVE_CONFIG_H
5284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5285 # 1. Remove the extension, and $U if already installed.
5286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5287 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5289 # will be set to the directory where LIBOBJS objects are built.
5290 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5291 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5295 LTLIBOBJS
=$ac_ltlibobjs
5298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5299 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5303 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5307 : "${CONFIG_STATUS=./config.status}"
5309 ac_clean_files_save
=$ac_clean_files
5310 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5316 # Generated by $as_me.
5317 # Run this file to recreate the current configuration.
5318 # Compiler output produced by configure, useful for debugging
5319 # configure, is in config.log if it exists.
5325 SHELL=\${CONFIG_SHELL-$SHELL}
5328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5329 ## -------------------- ##
5330 ## M4sh Initialization. ##
5331 ## -------------------- ##
5333 # Be more Bourne compatible
5334 DUALCASE
=1; export DUALCASE
# for MKS sh
5335 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5339 # is contrary to our usage. Disable this feature.
5340 alias -g '${1+"$@"}'='"$@"'
5341 setopt NO_GLOB_SUBST
5343 case `(set -o) 2>/dev/null` in #(
5355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5356 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5359 # Prefer a ksh shell builtin over an external printf program on Solaris,
5360 # but without wasting forks for bash or zsh.
5361 if test -z "$BASH_VERSION$ZSH_VERSION" \
5362 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5363 as_echo='print
-r --'
5364 as_echo_n='print
-rn --'
5365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5366 as_echo='printf %s
\n'
5367 as_echo_n='printf %s
'
5369 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5370 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5371 as_echo_n='/usr
/ucb
/echo -n'
5373 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5374 as_echo_n_body='eval
5378 expr "X$arg" : "X\\(.*\\)$as_nl";
5379 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5381 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5383 export as_echo_n_body
5384 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5387 as_echo='sh
-c $as_echo_body as_echo
'
5390 # The user is always right.
5391 if test "${PATH_SEPARATOR+set}" != set; then
5393 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5394 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5401 # We need space, tab and new line, in precisely that order. Quoting is
5402 # there to prevent editors from complaining about space-tab.
5403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5404 # splitting by setting IFS to empty value.)
5407 # Find who we are. Look in the path if we contain no directory separator.
5410 *[\\/]* ) as_myself=$0 ;;
5411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir=.
5416 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5422 # We did not find ourselves, most probably we were run as `sh COMMAND'
5423 # in which case we are not to be found in the path.
5424 if test "x$as_myself" = x
; then
5427 if test ! -f "$as_myself"; then
5428 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5432 # Unset variables that we do not need and which cause bugs (e.g. in
5433 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5434 # suppresses any "Segmentation fault" message there. '((' could
5435 # trigger a bug in pdksh 5.2.14.
5436 for as_var
in BASH_ENV ENV MAIL MAILPATH
5437 do eval test x\
${$as_var+set} = xset \
5438 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5451 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5454 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5455 # ----------------------------------------
5456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5458 # script with STATUS, using 1 if that was 0.
5461 as_status
=$1; test $as_status -eq 0 && as_status
=1
5463 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5464 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5466 $as_echo "$as_me: error: $2" >&2
5467 as_fn_exit
$as_status
5471 # as_fn_set_status STATUS
5472 # -----------------------
5473 # Set $? to STATUS, without forking.
5477 } # as_fn_set_status
5481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5491 # Portably unset VAR.
5494 { eval $1=; unset $1;}
5496 as_unset
=as_fn_unset
5497 # as_fn_append VAR VALUE
5498 # ----------------------
5499 # Append the text in VALUE to the end of the definition contained in VAR. Take
5500 # advantage of any shell optimizations that allow amortized linear growth over
5501 # repeated appends, instead of the typical quadratic growth present in naive
5503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5504 eval 'as_fn_append ()
5515 # as_fn_arith ARG...
5516 # ------------------
5517 # Perform arithmetic evaluation on the ARGs, and store the result in the
5518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5519 # must be portable across $(()) and expr.
5520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5521 eval 'as_fn_arith ()
5528 as_val
=`expr "$@" || test $? -eq 1`
5533 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5534 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5540 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5541 as_basename
=basename
5546 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5552 as_me
=`$as_basename -- "$0" ||
5553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5554 X"$0" : 'X\(//\)$' \| \
5555 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5557 sed '/^.*\/\([^/][^/]*\)\/*$/{
5571 # Avoid depending upon Character Ranges.
5572 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5573 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5574 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5575 as_cr_digits
='0123456789'
5576 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5578 ECHO_C
= ECHO_N
= ECHO_T
=
5579 case `echo -n x` in #(((((
5581 case `echo 'xy\c'` in
5582 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5584 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5591 rm -f conf$$ conf$$.exe conf$$.
file
5592 if test -d conf$$.dir
; then
5593 rm -f conf$$.dir
/conf$$.
file
5596 mkdir conf$$.dir
2>/dev
/null
5598 if (echo >conf$$.
file) 2>/dev
/null
; then
5599 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5601 # ... but there are two gotchas:
5602 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5603 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5604 # In both cases, we have to default to `cp -p'.
5605 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5607 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5615 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5616 rmdir conf$$.dir
2>/dev
/null
5621 # Create "$as_dir" as a directory, including parents if necessary.
5626 -*) as_dir
=.
/$as_dir;;
5628 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5632 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5633 *) as_qdir
=$as_dir;;
5635 as_dirs
="'$as_qdir' $as_dirs"
5636 as_dir
=`$as_dirname -- "$as_dir" ||
5637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5638 X"$as_dir" : 'X\(//\)[^/]' \| \
5639 X"$as_dir" : 'X\(//\)$' \| \
5640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5641 $as_echo X"$as_dir" |
5642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5659 test -d "$as_dir" && break
5661 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5662 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5666 if mkdir
-p .
2>/dev
/null
; then
5667 as_mkdir_p
='mkdir -p "$as_dir"'
5669 test -d .
/-p && rmdir .
/-p
5673 if test -x / >/dev
/null
2>&1; then
5676 if ls -dL / >/dev
/null
2>&1; then
5683 if test -d "$1"; then
5689 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5690 ???[sx]*):;;*)false;;esac;fi
5694 as_executable_p
=$as_test_x
5696 # Sed expression to map a string onto a valid CPP name.
5697 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5699 # Sed expression to map a string onto a valid variable name.
5700 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5704 ## ----------------------------------- ##
5705 ## Main body of $CONFIG_STATUS script. ##
5706 ## ----------------------------------- ##
5708 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5711 # Save the log message, to keep $0 and so on meaningful, and to
5712 # report actual input values of CONFIG_FILES etc. instead of their
5713 # values after options handling.
5715 This file was extended by $as_me, which was
5716 generated by GNU Autoconf 2.68. Invocation command line was
5718 CONFIG_FILES = $CONFIG_FILES
5719 CONFIG_HEADERS = $CONFIG_HEADERS
5720 CONFIG_LINKS = $CONFIG_LINKS
5721 CONFIG_COMMANDS = $CONFIG_COMMANDS
5724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5729 case $ac_config_files in *"
5730 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5733 case $ac_config_headers in *"
5734 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5739 # Files that config.status was made for.
5740 config_files="$ac_config_files"
5741 config_headers="$ac_config_headers"
5742 config_commands="$ac_config_commands"
5746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5748 \`$as_me' instantiates files and other configuration actions
5749 from templates according to the current configuration. Unless the files
5750 and actions are specified as TAGs, all are instantiated by default.
5752 Usage: $0 [OPTION]... [TAG]...
5754 -h, --help print this help, then exit
5755 -V, --version print version number and configuration settings, then exit
5756 --config print configuration, then exit
5757 -q, --quiet, --silent
5758 do not print progress messages
5759 -d, --debug don't remove temporary files
5760 --recheck update $as_me by reconfiguring in the same conditions
5761 --file=FILE[:TEMPLATE]
5762 instantiate the configuration file FILE
5763 --header=FILE[:TEMPLATE]
5764 instantiate the configuration header FILE
5766 Configuration files:
5769 Configuration headers:
5772 Configuration commands:
5775 Report bugs to the package provider."
5778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5782 configured by $0, generated by GNU Autoconf 2.68,
5783 with options \\"\$ac_cs_config\\"
5785 Copyright (C) 2010 Free Software Foundation, Inc.
5786 This config.status script is free software; the Free Software Foundation
5787 gives unlimited permission to copy, distribute and modify it."
5793 test -n "\$AWK" || AWK=awk
5796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5797 # The default lists apply if the user does not specify any file.
5803 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5804 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5808 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5820 # Handling of the options.
5821 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5823 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5824 $as_echo "$ac_cs_version"; exit ;;
5825 --config |
--confi |
--conf |
--con |
--co |
--c )
5826 $as_echo "$ac_cs_config"; exit ;;
5827 --debug |
--debu |
--deb |
--de |
--d |
-d )
5829 --file |
--fil |
--fi |
--f )
5832 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5833 '') as_fn_error $?
"missing file argument" ;;
5835 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5836 ac_need_defaults
=false
;;
5837 --header |
--heade |
--head |
--hea )
5840 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5842 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5843 ac_need_defaults
=false
;;
5845 # Conflict between --help and --header
5846 as_fn_error $?
"ambiguous option: \`$1'
5847 Try \`$0 --help' for more information.";;
5848 --help |
--hel |
-h )
5849 $as_echo "$ac_cs_usage"; exit ;;
5850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5855 -*) as_fn_error $?
"unrecognized option: \`$1'
5856 Try \`$0 --help' for more information." ;;
5858 *) as_fn_append ac_config_targets
" $1"
5859 ac_need_defaults
=false
;;
5865 ac_configure_extra_args
=
5867 if $ac_cs_silent; then
5869 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5874 if \$ac_cs_recheck; then
5875 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5878 CONFIG_SHELL='$SHELL'
5884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5889 ## Running $as_me. ##
5895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5899 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5905 # Handling of arguments.
5906 for ac_config_target
in $ac_config_targets
5908 case $ac_config_target in
5909 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5910 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5911 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5913 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5918 # If the user did not use the arguments to specify the items to instantiate,
5919 # then the envvar interface is used. Set only those that are not.
5920 # We use the long form for the default assignment because of an extremely
5921 # bizarre bug on SunOS 4.1.3.
5922 if $ac_need_defaults; then
5923 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5924 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5925 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5928 # Have a temporary directory for convenience. Make it in the build tree
5929 # simply because there is no reason against having it here, and in addition,
5930 # creating and moving files from /tmp can sometimes cause problems.
5931 # Hook for its removal unless debugging.
5932 # Note that there is a small window in which the directory will not be cleaned:
5933 # after its creation but before its name has been assigned to `$tmp'.
5937 trap 'exit_status=$?
5939 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5941 trap 'as_fn_exit 1' 1 2 13 15
5943 # Create a (secure) tmp directory for tmp files.
5946 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5950 tmp
=.
/conf$$
-$RANDOM
5951 (umask 077 && mkdir
"$tmp")
5952 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5955 # Set up the scripts for CONFIG_FILES section.
5956 # No need to generate them if there are no CONFIG_FILES.
5957 # This happens for instance with `./config.status config.h'.
5958 if test -n "$CONFIG_FILES"; then
5961 ac_cr
=`echo X | tr X '\015'`
5962 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5963 # But we know of no other shell where ac_cr would be empty at this
5964 # point, so we can use a bashism as a fallback.
5965 if test "x$ac_cr" = x
; then
5966 eval ac_cr
=\$
\'\\r
\'
5968 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5969 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5975 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5980 echo "cat >conf$$subs.awk <<_ACEOF" &&
5981 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5984 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5985 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5987 for ac_last_try in false false false false false :; do
5988 . ./conf$$subs.sh ||
5989 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5991 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5992 if test $ac_delim_n = $ac_delim_num; then
5994 elif $ac_last_try; then
5995 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5997 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6003 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6007 s/^/S["/; s
/!.
*/"]=/
6017 s/\(.\{148\}\)..*/\1/
6019 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6024 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6031 s/\(.\{148\}\)..*/\1/
6033 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6037 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6042 ' <conf$$subs.awk | sed '
6047 ' >>$CONFIG_STATUS || ac_write_fail=1
6048 rm -f conf$$subs.awk
6049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6051 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6052 for (key in S) S_is_set[key] = 1
6058 nfields = split(line, field, "@
")
6060 len = length(field[1])
6061 for (i = 2; i < nfields; i++) {
6063 keylen = length(key)
6064 if (S_is_set[key]) {
6066 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6067 len += length(value) + length(field[++i])
6078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6079 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6080 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6083 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6084 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6087 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6088 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6089 # trailing colons and then remove the whole line if VPATH becomes empty
6090 # (actually we leave an empty line to preserve line numbers).
6091 if test "x
$srcdir" = x.; then
6092 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6111 fi # test -n "$CONFIG_FILES"
6113 # Set up the scripts for CONFIG_HEADERS section.
6114 # No need to generate them if there are no CONFIG_HEADERS.
6115 # This happens for instance with `./config.status Makefile'.
6116 if test -n "$CONFIG_HEADERS"; then
6117 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6121 # Transform confdefs.h into an awk script `defines.awk', embedded as
6122 # here-document in config.status, that substitutes the proper values into
6123 # config.h.in to produce config.h.
6125 # Create a delimiter string that does not exist in confdefs.h, to ease
6126 # handling of long lines.
6128 for ac_last_try in false false :; do
6129 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6130 if test -z "$ac_tt"; then
6132 elif $ac_last_try; then
6133 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6135 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6139 # For the awk script, D is an array of macro values keyed by name,
6140 # likewise P contains macro parameters if any. Preserve backslash
6141 # newline sequences.
6143 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6145 s/.\{148\}/&'"$ac_delim"'/g
6148 s/^[ ]*#[ ]*define[ ][ ]*/ /
6155 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6157 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6161 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6162 D["\
1"]=" \
3\\\\\\n
"\\/p
6164 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6169 s/.\{148\}/&'"$ac_delim"'/g
6174 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6177 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6179 ' <confdefs.h | sed '
6180 s/'"$ac_delim"'/"\\\
6181 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6184 for (key in D) D_is_set[key] = 1
6187 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6189 split(line, arg, " ")
6190 if (arg[1] == "#") {
6194 defundef
= substr
(arg
[1], 2)
6197 split(mac1
, mac2
, "(") #)
6199 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6200 if (D_is_set
[macro
]) {
6201 # Preserve the white space surrounding the "#".
6202 print prefix
"define", macro P
[macro
] D
[macro
]
6205 # Replace #undef with comments. This is necessary, for example,
6206 # in the case of _POSIX_SOURCE, which is predefined and required
6207 # on some systems where configure will not decide to define it.
6208 if (defundef
== "undef") {
6209 print
"/*", prefix defundef
, macro
, "*/"
6217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6218 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6219 fi # test -n "$CONFIG_HEADERS"
6222 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6227 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6229 case $ac_mode$ac_tag in
6231 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6232 :[FH
]-) ac_tag
=-:-;;
6233 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6250 -) ac_f
="$ac_tmp/stdin";;
6251 *) # Look for the file first in the build tree, then in the source tree
6252 # (if the path is not absolute). The absolute path cannot be DOS-style,
6253 # because $ac_f cannot contain `:'.
6257 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6259 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6261 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6262 as_fn_append ac_file_inputs
" '$ac_f'"
6265 # Let's still pretend it is `configure' which instantiates (i.e., don't
6266 # use $as_me), people would be surprised to read:
6267 # /* config.h. Generated by config.status. */
6268 configure_input
='Generated from '`
6269 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6271 if test x
"$ac_file" != x-
; then
6272 configure_input
="$ac_file. $configure_input"
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6274 $as_echo "$as_me: creating $ac_file" >&6;}
6276 # Neutralize special characters interpreted by sed in replacement strings.
6277 case $configure_input in #(
6278 *\
&* |
*\|
* |
*\\* )
6279 ac_sed_conf_input
=`$as_echo "$configure_input" |
6280 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6281 *) ac_sed_conf_input
=$configure_input;;
6285 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6286 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6291 ac_dir
=`$as_dirname -- "$ac_file" ||
6292 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6293 X"$ac_file" : 'X\(//\)[^/]' \| \
6294 X"$ac_file" : 'X\(//\)$' \| \
6295 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6296 $as_echo X"$ac_file" |
6297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6314 as_dir
="$ac_dir"; as_fn_mkdir_p
6318 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6320 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6321 # A ".." for each directory in $ac_dir_suffix.
6322 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6323 case $ac_top_builddir_sub in
6324 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6325 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6328 ac_abs_top_builddir
=$ac_pwd
6329 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6330 # for backward compatibility:
6331 ac_top_builddir
=$ac_top_build_prefix
6334 .
) # We are building in place.
6336 ac_top_srcdir
=$ac_top_builddir_sub
6337 ac_abs_top_srcdir
=$ac_pwd ;;
6338 [\\/]* | ?
:[\\/]* ) # Absolute name.
6339 ac_srcdir
=$srcdir$ac_dir_suffix;
6340 ac_top_srcdir
=$srcdir
6341 ac_abs_top_srcdir
=$srcdir ;;
6343 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6344 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6345 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6347 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6357 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6358 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6363 # If the template does not know about datarootdir, expand it.
6364 # FIXME: This hack should be removed a few years after 2.60.
6365 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6376 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6377 *datarootdir
*) ac_datarootdir_seen
=yes;;
6378 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6380 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6383 ac_datarootdir_hack='
6384 s&@datadir@&$datadir&g
6385 s&@docdir@&$docdir&g
6386 s&@infodir@&$infodir&g
6387 s&@localedir@&$localedir&g
6388 s&@mandir@&$mandir&g
6389 s&\\\${datarootdir}&$datarootdir&g' ;;
6393 # Neutralize VPATH when `$srcdir' = `.'.
6394 # Shell code in configure.ac might set extrasub.
6395 # FIXME: do we really want to maintain this feature?
6396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6397 ac_sed_extra="$ac_vpsub
6400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6402 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6403 s|@configure_input@|
$ac_sed_conf_input|
;t t
6404 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6405 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6406 s
&@srcdir@
&$ac_srcdir&;t t
6407 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6408 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6409 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6410 s
&@builddir@
&$ac_builddir&;t t
6411 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6412 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6413 s
&@INSTALL@
&$ac_INSTALL&;t t
6414 $ac_datarootdir_hack
6416 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6417 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6420 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6421 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6422 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6424 which seems to be undefined. Please make sure it is defined" >&5
6425 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6426 which seems to be undefined. Please make sure it is defined" >&2;}
6428 rm -f "$ac_tmp/stdin"
6430 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6431 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6439 if test x"$ac_file" != x-; then
6441 $as_echo "/* $configure_input */" \
6442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6443 } >"$ac_tmp/config.h" \
6444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6447 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6450 mv "$ac_tmp/config.h" "$ac_file" \
6451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6454 $as_echo "/* $configure_input */" \
6455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6456 || as_fn_error $? "could not create -" "$LINENO" 5
6458 # Compute "$ac_file"'s index
in $config_headers.
6460 for _am_header
in $config_headers :; do
6462 "$ac_file" |
"$ac_file":* )
6465 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6468 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
6469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6470 X"$ac_file" : 'X\(//\)[^/]' \| \
6471 X"$ac_file" : 'X\(//\)$' \| \
6472 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6473 $as_echo X"$ac_file" |
6474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6490 s/.*/./; q'`/stamp-h
$_am_stamp_count
6493 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6494 $as_echo "$as_me: executing $ac_file commands" >&6;}
6499 case $ac_file$ac_mode in
6500 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6501 # Strip MF so we end up with the name of the file.
6502 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6503 # Check whether this is an Automake generated Makefile or not.
6504 # We used to match only the files named `Makefile.in', but
6505 # some people rename them; so instead we look at the file content.
6506 # Grep'ing the first line is not enough: some people post-process
6507 # each Makefile.in and add a new line on top of each file to say so.
6508 # So let's grep whole file.
6509 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6510 dirpart
=`$as_dirname -- "$mf" ||
6511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6512 X"$mf" : 'X\(//\)[^/]' \| \
6513 X"$mf" : 'X\(//\)$' \| \
6514 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6536 # Extract the definition of DEPDIR, am__include, and am__quote
6537 # from the Makefile without running `make'.
6538 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6539 test -z "$DEPDIR" && continue
6540 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6541 test -z "am__include" && continue
6542 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6543 # When using ansi2knr, U may be empty or an underscore; expand it
6544 U
=`sed -n 's/^U = //p' < "$mf"`
6545 # Find all dependency output files, they are included files with
6546 # $(DEPDIR) in their names. We invoke sed twice because it is the
6547 # simplest approach to changing $(DEPDIR) to its actual value in the
6549 for file in `sed -n "
6550 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6551 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6552 # Make sure the directory exists.
6553 test -f "$dirpart/$file" && continue
6554 fdir
=`$as_dirname -- "$file" ||
6555 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6556 X"$file" : 'X\(//\)[^/]' \| \
6557 X"$file" : 'X\(//\)$' \| \
6558 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6577 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6578 # echo "creating $dirpart/$file"
6579 echo '# dummy' > "$dirpart/$file"
6590 ac_clean_files
=$ac_clean_files_save
6592 test $ac_write_fail = 0 ||
6593 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6596 # configure is writing to config.log, and then calls config.status.
6597 # config.status does its own redirection, appending to config.log.
6598 # Unfortunately, on DOS this fails, as config.log is still kept open
6599 # by configure, so config.status won't be able to write to it; its
6600 # output is simply discarded. So we exec the FD to /dev/null,
6601 # effectively closing config.log, so it can be properly (re)opened and
6602 # appended to by config.status. When coming back to configure, we
6603 # need to make the FD available again.
6604 if test "$no_create" != yes; then
6606 ac_config_status_args
=
6607 test "$silent" = yes &&
6608 ac_config_status_args
="$ac_config_status_args --quiet"
6610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6613 # would make configure fail if this is the last instruction.
6614 $ac_cs_success || as_fn_exit
1
6616 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6618 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}