2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="pppoe.c"
558 ac_default_prefix
=/usr
559 # Factoring default headers for most tests.
560 ac_includes_default
="\
562 #ifdef HAVE_SYS_TYPES_H
563 # include <sys/types.h>
565 #ifdef HAVE_SYS_STAT_H
566 # include <sys/stat.h>
572 # ifdef HAVE_STDLIB_H
577 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
582 #ifdef HAVE_STRINGS_H
583 # include <strings.h>
585 #ifdef HAVE_INTTYPES_H
586 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
618 LINUX_KERNELMODE_PLUGIN
657 program_transform_name
670 enable_option_checking
675 ac_precious_vars
='build_alias
686 # Initialize some variables set by options.
688 ac_init_version
=false
689 ac_unrecognized_opts
=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
700 program_transform_name
=s
,x
,x
,
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir
='${exec_prefix}/bin'
715 sbindir
='${exec_prefix}/sbin'
716 libexecdir
='${exec_prefix}/libexec'
717 datarootdir
='${prefix}/share'
718 datadir
='${datarootdir}'
719 sysconfdir
='${prefix}/etc'
720 sharedstatedir
='${prefix}/com'
721 localstatedir
='${prefix}/var'
722 includedir
='${prefix}/include'
723 oldincludedir
='/usr/include'
724 docdir
='${datarootdir}/doc/${PACKAGE}'
725 infodir
='${datarootdir}/info'
730 libdir
='${exec_prefix}/lib'
731 localedir
='${datarootdir}/locale'
732 mandir
='${datarootdir}/man'
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\
$ac_option
746 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
759 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
762 -build |
--build |
--buil |
--bui |
--bu)
763 ac_prev
=build_alias
;;
764 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
765 build_alias
=$ac_optarg ;;
767 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
768 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
769 ac_prev
=cache_file
;;
770 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
771 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
772 cache_file
=$ac_optarg ;;
775 cache_file
=config.cache
;;
777 -datadir |
--datadir |
--datadi |
--datad)
779 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
780 datadir
=$ac_optarg ;;
782 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
783 |
--dataroo |
--dataro |
--datar)
784 ac_prev
=datarootdir
;;
785 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
786 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
787 datarootdir
=$ac_optarg ;;
789 -disable-* |
--disable-*)
790 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
793 as_fn_error $?
"invalid feature name: $ac_useropt"
794 ac_useropt_orig
=$ac_useropt
795 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep
=', ';;
803 eval enable_
$ac_useropt=no
;;
805 -docdir |
--docdir |
--docdi |
--doc |
--do)
807 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
810 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
812 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
815 -enable-* |
--enable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error $?
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=\
$ac_optarg ;;
831 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
832 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
833 |
--exec |
--exe |
--ex)
834 ac_prev
=exec_prefix
;;
835 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
836 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
837 |
--exec=* |
--exe=* |
--ex=*)
838 exec_prefix
=$ac_optarg ;;
840 -gas |
--gas |
--ga |
--g)
841 # Obsolete; use --with-gas.
844 -help |
--help |
--hel |
--he |
-h)
846 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
847 ac_init_help
=recursive
;;
848 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
849 ac_init_help
=short
;;
851 -host |
--host |
--hos |
--ho)
852 ac_prev
=host_alias
;;
853 -host=* |
--host=* |
--hos=* |
--ho=*)
854 host_alias
=$ac_optarg ;;
856 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
858 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
860 htmldir
=$ac_optarg ;;
862 -includedir |
--includedir |
--includedi |
--included |
--include \
863 |
--includ |
--inclu |
--incl |
--inc)
864 ac_prev
=includedir
;;
865 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
866 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
867 includedir
=$ac_optarg ;;
869 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
871 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
872 infodir
=$ac_optarg ;;
874 -libdir |
--libdir |
--libdi |
--libd)
876 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
879 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
880 |
--libexe |
--libex |
--libe)
881 ac_prev
=libexecdir
;;
882 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
883 |
--libexe=* |
--libex=* |
--libe=*)
884 libexecdir
=$ac_optarg ;;
886 -localedir |
--localedir |
--localedi |
--localed |
--locale)
888 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
889 localedir
=$ac_optarg ;;
891 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
892 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
893 ac_prev
=localstatedir
;;
894 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
895 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
896 localstatedir
=$ac_optarg ;;
898 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
900 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
904 # Obsolete; use --without-fp.
907 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
908 |
--no-cr |
--no-c |
-n)
911 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
912 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
915 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
916 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
917 |
--oldin |
--oldi |
--old |
--ol |
--o)
918 ac_prev
=oldincludedir
;;
919 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
920 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
921 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
922 oldincludedir
=$ac_optarg ;;
924 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
926 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
929 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
930 |
--program-pre |
--program-pr |
--program-p)
931 ac_prev
=program_prefix
;;
932 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
933 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
934 program_prefix
=$ac_optarg ;;
936 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
937 |
--program-suf |
--program-su |
--program-s)
938 ac_prev
=program_suffix
;;
939 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
940 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
941 program_suffix
=$ac_optarg ;;
943 -program-transform-name |
--program-transform-name \
944 |
--program-transform-nam |
--program-transform-na \
945 |
--program-transform-n |
--program-transform- \
946 |
--program-transform |
--program-transfor \
947 |
--program-transfo |
--program-transf \
948 |
--program-trans |
--program-tran \
949 |
--progr-tra |
--program-tr |
--program-t)
950 ac_prev
=program_transform_name
;;
951 -program-transform-name=* |
--program-transform-name=* \
952 |
--program-transform-nam=* |
--program-transform-na=* \
953 |
--program-transform-n=* |
--program-transform-=* \
954 |
--program-transform=* |
--program-transfor=* \
955 |
--program-transfo=* |
--program-transf=* \
956 |
--program-trans=* |
--program-tran=* \
957 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
958 program_transform_name
=$ac_optarg ;;
960 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
962 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
965 -psdir |
--psdir |
--psdi |
--psd |
--ps)
967 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
971 |
-silent |
--silent |
--silen |
--sile |
--sil)
974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
978 sbindir
=$ac_optarg ;;
980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
984 ac_prev
=sharedstatedir
;;
985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
989 sharedstatedir
=$ac_optarg ;;
991 -site |
--site |
--sit)
993 -site=* |
--site=* |
--sit=*)
996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1003 ac_prev
=sysconfdir
;;
1004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1006 sysconfdir
=$ac_optarg ;;
1008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1009 ac_prev
=target_alias
;;
1010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1011 target_alias
=$ac_optarg ;;
1013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1016 -version |
--version |
--versio |
--versi |
--vers |
-V)
1017 ac_init_version
=: ;;
1020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid package name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval with_
$ac_useropt=\
$ac_optarg ;;
1035 -without-* |
--without-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error $?
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=no
;;
1052 # Obsolete; use --with-x.
1055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1057 ac_prev
=x_includes
;;
1058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1060 x_includes
=$ac_optarg ;;
1062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1064 ac_prev
=x_libraries
;;
1065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1067 x_libraries
=$ac_optarg ;;
1069 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information"
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1078 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\
$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1094 if test -n "$ac_prev"; then
1095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error $?
"missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val
=\$
$ac_var
1114 # Remove trailing slashes.
1117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\
$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$
]* | ?
:[\\/]* ) continue;;
1123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1125 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target
=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x
; then
1137 if test "x$build_alias" = x
; then
1138 cross_compiling
=maybe
1139 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used" >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1147 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1149 test "$silent" = yes && exec 6>/dev
/null
1152 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di
=`ls -di .` &&
1154 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error $?
"working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error $?
"pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted
=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir
=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1192 ac_srcdir_defaulted
=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1196 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var
in $ac_precious_vars; do
1213 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1215 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures this package to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking ...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1285 if test -n "$ac_init_help"; then
1290 --disable-option-checking ignore unrecognized
--enable/--with options
1291 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1292 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1293 --enable-plugin=pppd_src_path build pppd plugin
1294 --disable-debugging disable debugging code
1295 --enable-licenses=lic_path build commercial version
1297 Some influential environment variables
:
1298 CC C compiler
command
1299 CFLAGS C compiler flags
1300 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1301 nonstandard directory
<lib dir
>
1302 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1303 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1304 you have headers
in a nonstandard directory
<include dir
>
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to the package provider.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1340 .) # We are building in place.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1374 generated by GNU Autoconf 2.67
1376 Copyright (C) 2010 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1387 # ac_fn_c_try_compile LINENO
1388 # --------------------------
1389 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1390 ac_fn_c_try_compile ()
1392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1393 rm -f conftest.$ac_objext
1394 if { { ac_try="$ac_compile"
1396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1397 *) ac_try_echo
=$ac_try;;
1399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1400 $as_echo "$ac_try_echo"; } >&5
1401 (eval "$ac_compile") 2>conftest.err
1403 if test -s conftest.err
; then
1404 grep -v '^ *+' conftest.err
>conftest.er1
1405 cat conftest.er1
>&5
1406 mv -f conftest.er1 conftest.err
1408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1409 test $ac_status = 0; } && {
1410 test -z "$ac_c_werror_flag" ||
1411 test ! -s conftest.err
1412 } && test -s conftest.
$ac_objext; then :
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.
$ac_ext >&5
1420 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1421 as_fn_set_status
$ac_retval
1423 } # ac_fn_c_try_compile
1425 # ac_fn_c_try_cpp LINENO
1426 # ----------------------
1427 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1430 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1431 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1434 *) ac_try_echo=$ac_try;;
1436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1437 $as_echo "$ac_try_echo"; } >&5
1438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1440 if test -s conftest.err; then
1441 grep -v '^ *+' conftest.err >conftest.er1
1442 cat conftest.er1 >&5
1443 mv -f conftest.er1 conftest.err
1445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1446 test $ac_status = 0; } > conftest.i && {
1447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1448 test ! -s conftest.err
1452 $as_echo "$as_me: failed program was:" >&5
1453 sed 's/^/| /' conftest.$ac_ext >&5
1457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1458 as_fn_set_status $ac_retval
1462 # ac_fn_c_try_run LINENO
1463 # ----------------------
1464 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1465 # that executables *can* be run.
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_link"
1471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1472 *) ac_try_echo
=$ac_try;;
1474 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_link") 2>&5
1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1480 { { case "(($ac_try" in
1481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1482 *) ac_try_echo=$ac_try;;
1484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_try") 2>&5
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; }; }; then :
1492 $as_echo "$as_me: program exited with status $ac_status" >&5
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1496 ac_retval=$ac_status
1498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1500 as_fn_set_status $ac_retval
1504 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1505 # -------------------------------------------------------
1506 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1507 # the include files in INCLUDES and setting the cache variable VAR
1509 ac_fn_c_check_header_mongrel ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 if eval "test \"\${$3+set}\"" = set; then :
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514 $as_echo_n "checking for $2... " >&6; }
1515 if eval "test \"\${$3+set}\"" = set; then :
1516 $as_echo_n "(cached) " >&6
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1520 $as_echo "$ac_res" >&6; }
1522 # Is the header compilable?
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1524 $as_echo_n "checking $2 usability... " >&6; }
1525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526 /* end confdefs.h. */
1530 if ac_fn_c_try_compile "$LINENO"; then :
1531 ac_header_compiler=yes
1533 ac_header_compiler=no
1535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1537 $as_echo "$ac_header_compiler" >&6; }
1539 # Is the header present?
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1541 $as_echo_n "checking $2 presence... " >&6; }
1542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543 /* end confdefs.h. */
1546 if ac_fn_c_try_cpp "$LINENO"; then :
1547 ac_header_preproc=yes
1549 ac_header_preproc=no
1551 rm -f conftest.err conftest.i conftest.$ac_ext
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1553 $as_echo "$ac_header_preproc" >&6; }
1555 # So? What about this header?
1556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1559 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1561 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1565 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1567 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1569 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1571 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1573 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval "test \"\${$3+set}\"" = set; then :
1579 $as_echo_n "(cached) " >&6
1581 eval "$3=\$ac_header_compiler"
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1587 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1589 } # ac_fn_c_check_header_mongrel
1591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1592 # -------------------------------------------------------
1593 # Tests whether HEADER exists and can be compiled using the include files in
1594 # INCLUDES, setting the cache variable VAR accordingly.
1595 ac_fn_c_check_header_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1599 $as_echo_n "checking for $2... " >&6; }
1600 if eval "test \"\${$3+set}\"" = set; then :
1601 $as_echo_n "(cached) " >&6
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1608 if ac_fn_c_try_compile "$LINENO"; then :
1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1620 } # ac_fn_c_check_header_compile
1622 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1623 # -------------------------------------------
1624 # Tests whether TYPE exists after having included INCLUDES, setting cache
1625 # variable VAR accordingly.
1626 ac_fn_c_check_type ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval "test \"\${$3+set}\"" = set; then :
1632 $as_echo_n "(cached) " >&6
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1647 if ac_fn_c_try_compile "$LINENO"; then :
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 } # ac_fn_c_check_type
1676 # ac_fn_c_try_link LINENO
1677 # -----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext conftest$ac_exeext
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>conftest.err
1692 if test -s conftest.err
; then
1693 grep -v '^ *+' conftest.err
>conftest.er1
1694 cat conftest.er1
>&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest
$ac_exeext && {
1702 test "$cross_compiling" = yes ||
1703 $as_test_x conftest
$ac_exeext
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.
$ac_ext >&5
1712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714 # interfere with the next link command; also delete a directory that is
1715 # left behind by Apple's compiler. We do this before executing the actions.
1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1718 as_fn_set_status
$ac_retval
1720 } # ac_fn_c_try_link
1722 # ac_fn_c_check_func LINENO FUNC VAR
1723 # ----------------------------------
1724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1725 ac_fn_c_check_func
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval "test \"\${$3+set}\"" = set; then :
1731 $as_echo_n "(cached) " >&6
1733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1737 #define $2 innocuous_$2
1739 /* System header to define __stub macros and hopefully few prototypes,
1740 which can conflict with char $2 (); below.
1741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742 <limits.h> exists even on freestanding compilers. */
1745 # include <limits.h>
1747 # include <assert.h>
1752 /* Override any GCC internal prototype to avoid an error.
1753 Use char because int might match the return type of a GCC
1754 builtin and then its argument prototype would still apply. */
1759 /* The GNU C library defines this for functions which it implements
1760 to always fail with ENOSYS. Some functions are actually named
1761 something starting with __ and the normal name is an alias. */
1762 #if defined __stub_$2 || defined __stub___$2
1774 if ac_fn_c_try_link
"$LINENO"; then :
1779 rm -f core conftest.err conftest.
$ac_objext \
1780 conftest
$ac_exeext conftest.
$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1787 } # ac_fn_c_check_func
1789 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1790 # --------------------------------------------
1791 # Tries to find the compile-time value of EXPR in a program that includes
1792 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1794 ac_fn_c_compute_int
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 if test "$cross_compiling" = yes; then
1798 # Depending upon the size, compute the lo and hi bounds.
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1805 static int test_array [1 - 2 * !(($2) >= 0)];
1812 if ac_fn_c_try_compile
"$LINENO"; then :
1815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1821 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1828 if ac_fn_c_try_compile
"$LINENO"; then :
1829 ac_hi
=$ac_mid; break
1831 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1832 if test $ac_lo -le $ac_mid; then
1836 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1847 static int test_array [1 - 2 * !(($2) < 0)];
1854 if ac_fn_c_try_compile
"$LINENO"; then :
1857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1863 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1870 if ac_fn_c_try_compile
"$LINENO"; then :
1871 ac_lo
=$ac_mid; break
1873 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1874 if test $ac_mid -le $ac_hi; then
1878 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1888 # Binary search between lo and hi bounds.
1889 while test "x$ac_lo" != "x$ac_hi"; do
1890 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1897 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1904 if ac_fn_c_try_compile
"$LINENO"; then :
1907 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1912 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1919 static long int longval () { return $2; }
1920 static unsigned long int ulongval () { return $2; }
1927 FILE *f = fopen ("conftest.val", "w");
1932 long int i = longval ();
1935 fprintf (f, "%ld", i);
1939 unsigned long int i = ulongval ();
1942 fprintf (f, "%lu", i);
1944 /* Do not output a trailing newline, as this causes \r\n confusion
1945 on some platforms. */
1946 return ferror (f) || fclose (f) != 0;
1952 if ac_fn_c_try_run
"$LINENO"; then :
1953 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1958 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1963 as_fn_set_status
$ac_retval
1965 } # ac_fn_c_compute_int
1966 cat >config.log
<<_ACEOF
1967 This file contains any messages produced by compilers while
1968 running configure, to aid debugging if configure makes a mistake.
1970 It was created by $as_me, which was
1971 generated by GNU Autoconf 2.67. Invocation command line was
1983 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1984 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1985 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1986 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1987 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1989 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1990 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1992 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1993 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1994 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1995 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1996 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1997 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1998 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 $as_echo "PATH: $as_dir"
2023 # Keep a trace of the command line.
2024 # Strip out --no-create and --no-recursion so they do not pile up.
2025 # Strip out --silent because we don't want to record it for future runs.
2026 # Also quote any args containing shell meta-characters.
2027 # Make two passes to allow for proper duplicate-argument suppression.
2031 ac_must_keep_next
=false
2037 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2039 |
-silent |
--silent |
--silen |
--sile |
--sil)
2042 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2045 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2047 as_fn_append ac_configure_args1
" '$ac_arg'"
2048 if test $ac_must_keep_next = true
; then
2049 ac_must_keep_next
=false
# Got value, back to normal.
2052 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2053 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2054 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2055 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2056 case "$ac_configure_args0 " in
2057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2060 -* ) ac_must_keep_next
=true
;;
2063 as_fn_append ac_configure_args
" '$ac_arg'"
2068 { ac_configure_args0
=; unset ac_configure_args0
;}
2069 { ac_configure_args1
=; unset ac_configure_args1
;}
2071 # When interrupted or exit'd, cleanup temporary files, and complete
2072 # config.log. We remove comments because anyway the quotes in there
2073 # would cause problems or look ugly.
2074 # WARNING: Use '\'' to represent an apostrophe within the trap.
2075 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2076 trap 'exit_status=$?
2077 # Save into config.log some information that might help in debugging.
2081 $as_echo "## ---------------- ##
2082 ## Cache variables. ##
2083 ## ---------------- ##"
2085 # The following way of writing the cache mishandles newlines in values,
2087 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2088 eval ac_val=\$$ac_var
2092 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2096 _ | IFS | as_nl) ;; #(
2097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2098 *) { eval $ac_var=; unset $ac_var;} ;;
2103 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2104 *${as_nl}ac_space=\ *)
2106 "s/'\''/'\''\\\\'\'''\''/g;
2107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2110 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2117 $as_echo "## ----------------- ##
2118 ## Output variables. ##
2119 ## ----------------- ##"
2121 for ac_var in $ac_subst_vars
2123 eval ac_val=\$$ac_var
2125 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -n "$ac_subst_files"; then
2132 $as_echo "## ------------------- ##
2133 ## File substitutions. ##
2134 ## ------------------- ##"
2136 for ac_var
in $ac_subst_files
2138 eval ac_val
=\$
$ac_var
2140 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2142 $as_echo "$ac_var='\''$ac_val'\''"
2147 if test -s confdefs.h; then
2148 $as_echo "## ----------- ##
2155 test "$ac_signal" != 0 &&
2156 $as_echo "$as_me: caught signal $ac_signal"
2157 $as_echo "$as_me: exit $exit_status"
2159 rm -f core *.core core.conftest.* &&
2160 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2163 for ac_signal
in 1 2 13 15; do
2164 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2169 rm -f -r conftest
* confdefs.h
2171 $as_echo "/* confdefs.h */" > confdefs.h
2173 # Predefined preprocessor variables.
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_NAME "$PACKAGE_NAME"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_STRING "$PACKAGE_STRING"
2191 cat >>confdefs.h
<<_ACEOF
2192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2195 cat >>confdefs.h
<<_ACEOF
2196 #define PACKAGE_URL "$PACKAGE_URL"
2200 # Let the site file select an alternate cache file if it wants to.
2201 # Prefer an explicitly selected file to automatically selected ones.
2204 if test -n "$CONFIG_SITE"; then
2205 # We do not want a PATH search for config.site.
2206 case $CONFIG_SITE in #((
2207 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2208 */*) ac_site_file1
=$CONFIG_SITE;;
2209 *) ac_site_file1
=.
/$CONFIG_SITE;;
2211 elif test "x$prefix" != xNONE
; then
2212 ac_site_file1
=$prefix/share
/config.site
2213 ac_site_file2
=$prefix/etc
/config.site
2215 ac_site_file1
=$ac_default_prefix/share
/config.site
2216 ac_site_file2
=$ac_default_prefix/etc
/config.site
2218 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2220 test "x$ac_site_file" = xNONE
&& continue
2221 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224 sed 's/^/| /' "$ac_site_file" >&5
2226 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228 as_fn_error $?
"failed to load site script $ac_site_file
2229 See \`config.log' for more details" "$LINENO" 5 ; }
2233 if test -r "$cache_file"; then
2234 # Some versions of bash will fail to source /dev/null (special files
2235 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2236 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2238 $as_echo "$as_me: loading cache $cache_file" >&6;}
2240 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2241 *) .
"./$cache_file";;
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2246 $as_echo "$as_me: creating cache $cache_file" >&6;}
2250 # Check that the precious variables saved in the cache have kept the same
2252 ac_cache_corrupted
=false
2253 for ac_var
in $ac_precious_vars; do
2254 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2255 eval ac_new_set
=\
$ac_env_${ac_var}_set
2256 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2257 eval ac_new_val
=\
$ac_env_${ac_var}_value
2258 case $ac_old_set,$ac_new_set in
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2261 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2262 ac_cache_corrupted
=: ;;
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2266 ac_cache_corrupted
=: ;;
2269 if test "x$ac_old_val" != "x$ac_new_val"; then
2270 # differences in whitespace do not lead to failure.
2271 ac_old_val_w
=`echo x $ac_old_val`
2272 ac_new_val_w
=`echo x $ac_new_val`
2273 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2275 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2276 ac_cache_corrupted
=:
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2279 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2280 eval $ac_var=\
$ac_old_val
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2283 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2285 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2288 # Pass precious variables to config.status.
2289 if test "$ac_new_set" = set; then
2291 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2292 *) ac_arg
=$ac_var=$ac_new_val ;;
2294 case " $ac_configure_args " in
2295 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2296 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2300 if $ac_cache_corrupted; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2304 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2305 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2307 ## -------------------- ##
2308 ## Main body of script. ##
2309 ## -------------------- ##
2312 ac_cpp
='$CPP $CPPFLAGS'
2313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2319 PPPD_DIR
=ppp-2.4
.1.pppoe2
2321 ac_config_headers
="$ac_config_headers config.h"
2327 ac_cpp
='$CPP $CPPFLAGS'
2328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2331 if test -n "$ac_tool_prefix"; then
2332 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2333 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2335 $as_echo_n "checking for $ac_word... " >&6; }
2336 if test "${ac_cv_prog_CC+set}" = set; then :
2337 $as_echo_n "(cached) " >&6
2339 if test -n "$CC"; then
2340 ac_cv_prog_CC
="$CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 if test -n "$CC"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2362 $as_echo "$CC" >&6; }
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365 $as_echo "no" >&6; }
2370 if test -z "$ac_cv_prog_CC"; then
2372 # Extract the first word of "gcc", so it can be a program name with args.
2373 set dummy gcc
; ac_word
=$2
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2375 $as_echo_n "checking for $ac_word... " >&6; }
2376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2377 $as_echo_n "(cached) " >&6
2379 if test -n "$ac_ct_CC"; then
2380 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_ac_ct_CC
="gcc"
2390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2400 if test -n "$ac_ct_CC"; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2402 $as_echo "$ac_ct_CC" >&6; }
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2408 if test "x$ac_ct_CC" = x
; then
2411 case $cross_compiling:$ac_tool_warned in
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2415 ac_tool_warned
=yes ;;
2423 if test -z "$CC"; then
2424 if test -n "$ac_tool_prefix"; then
2425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2426 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2428 $as_echo_n "checking for $ac_word... " >&6; }
2429 if test "${ac_cv_prog_CC+set}" = set; then :
2430 $as_echo_n "(cached) " >&6
2432 if test -n "$CC"; then
2433 ac_cv_prog_CC
="$CC" # Let the user override the test.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 if test -n "$CC"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2455 $as_echo "$CC" >&6; }
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458 $as_echo "no" >&6; }
2464 if test -z "$CC"; then
2465 # Extract the first word of "cc", so it can be a program name with args.
2466 set dummy cc
; ac_word
=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if test "${ac_cv_prog_CC+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC
="$CC" # Let the user override the test.
2476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir
=.
2481 for ac_exec_ext
in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2484 ac_prog_rejected
=yes
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 if test $ac_prog_rejected = yes; then
2496 # We found a bogon in the path, so make sure we never use it.
2497 set dummy
$ac_cv_prog_CC
2499 if test $# != 0; then
2500 # We chose a different compiler from the bogus one.
2501 # However, it has the same basename, so the bogon will be chosen
2502 # first if we set CC to just the basename; use the full file name.
2504 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2510 if test -n "$CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2512 $as_echo "$CC" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2520 if test -z "$CC"; then
2521 if test -n "$ac_tool_prefix"; then
2522 for ac_prog
in cl.exe
2524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2525 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC
="$CC" # Let the user override the test.
2534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir
=.
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2561 test -n "$CC" && break
2564 if test -z "$CC"; then
2566 for ac_prog
in cl.exe
2568 # Extract the first word of "$ac_prog", so it can be a program name with args.
2569 set dummy
$ac_prog; ac_word
=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$ac_ct_CC"; then
2576 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_ac_ct_CC
="$ac_prog"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2598 $as_echo "$ac_ct_CC" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2605 test -n "$ac_ct_CC" && break
2608 if test "x$ac_ct_CC" = x
; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned
=yes ;;
2624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2626 as_fn_error $?
"no acceptable C compiler found in \$PATH
2627 See \`config.log' for more details" "$LINENO" 5 ; }
2629 # Provide some information about the compiler.
2630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2633 for ac_option
in --version -v -V -qversion; do
2634 { { ac_try
="$ac_compiler $ac_option >&5"
2636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2640 $as_echo "$ac_try_echo"; } >&5
2641 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2643 if test -s conftest.err; then
2645 ... rest of stderr output deleted ...
2646 10q' conftest.err >conftest.er1
2647 cat conftest.er1 >&5
2649 rm -f conftest.er1 conftest.err
2650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2651 test $ac_status = 0; }
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2665 ac_clean_files_save=$ac_clean_files
2666 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2667 # Try to create an executable without -o first, disregard a.out.
2668 # It will help us diagnose broken compilers, and finding out an intuition
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2671 $as_echo_n "checking whether the C compiler works... " >&6; }
2672 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2674 # The possible output files:
2675 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2678 for ac_file in $ac_files
2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2682 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2687 if { { ac_try="$ac_link_default"
2689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2690 *) ac_try_echo
=$ac_try;;
2692 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_link_default") 2>&5
2696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2697 test $ac_status = 0; }; then :
2698 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2700 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2701 # so that the user can short-circuit this test for compilers unknown to
2703 for ac_file
in $ac_files ''
2705 test -f "$ac_file" ||
continue
2707 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2710 # We found the default executable, but exeext='' is most
2714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2716 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2718 # We set ac_cv_exeext here because the later test for it is not
2719 # safe: cross compilers may not add the suffix if given an `-o'
2720 # argument, so we may need to know it at that point already.
2721 # Even if this section looks crufty: it has the advantage of
2728 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2733 if test -z "$ac_file"; then :
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2741 as_fn_error
77 "C compiler cannot create executables
2742 See \`config.log' for more details" "$LINENO" 5 ; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745 $as_echo "yes" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2748 $as_echo_n "checking for C compiler default output file name... " >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2750 $as_echo "$ac_file" >&6; }
2751 ac_exeext
=$ac_cv_exeext
2753 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2754 ac_clean_files
=$ac_clean_files_save
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2756 $as_echo_n "checking for suffix of executables... " >&6; }
2757 if { { ac_try
="$ac_link"
2759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_link") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; then :
2768 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2769 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2770 # work properly (i.e., refer to `conftest.exe'), while it won't with
2772 for ac_file
in conftest.exe conftest conftest.
*; do
2773 test -f "$ac_file" ||
continue
2775 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2776 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details" "$LINENO" 5 ; }
2787 rm -f conftest conftest
$ac_cv_exeext
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2789 $as_echo "$ac_cv_exeext" >&6; }
2791 rm -f conftest.
$ac_ext
2792 EXEEXT
=$ac_cv_exeext
2794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2800 FILE *f = fopen ("conftest.out", "w");
2801 return ferror (f) || fclose (f) != 0;
2807 ac_clean_files
="$ac_clean_files conftest.out"
2808 # Check that the compiler produces executables we can run. If not, either
2809 # the compiler is broken, or we cross compile.
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2811 $as_echo_n "checking whether we are cross compiling... " >&6; }
2812 if test "$cross_compiling" != yes; then
2813 { { ac_try
="$ac_link"
2815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 $as_echo "$ac_try_echo"; } >&5
2820 (eval "$ac_link") 2>&5
2822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; }
2824 if { ac_try='./conftest$ac_cv_exeext'
2825 { { case "(($ac_try" in
2826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2827 *) ac_try_echo
=$ac_try;;
2829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_try") 2>&5
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; }; }; then
2837 if test "$cross_compiling" = maybe
; then
2840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2842 as_fn_error $?
"cannot run C compiled programs.
2843 If you meant to cross compile, use \`--host'.
2844 See \`config.log' for more details" "$LINENO" 5 ; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2849 $as_echo "$cross_compiling" >&6; }
2851 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2852 ac_clean_files
=$ac_clean_files_save
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2854 $as_echo_n "checking for suffix of object files... " >&6; }
2855 if test "${ac_cv_objext+set}" = set; then :
2856 $as_echo_n "(cached) " >&6
2858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2869 rm -f conftest.o conftest.obj
2870 if { { ac_try
="$ac_compile"
2872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_compile") 2>&5
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; }; then :
2881 for ac_file in conftest.o conftest.obj conftest.*; do
2882 test -f "$ac_file" || continue;
2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2890 $as_echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2896 See \
`config.log' for more details" "$LINENO" 5 ; }
2898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2901 $as_echo "$ac_cv_objext" >&6; }
2902 OBJEXT=$ac_cv_objext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2905 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2906 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2907 $as_echo_n "(cached) " >&6
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2923 if ac_fn_c_try_compile "$LINENO"; then :
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2934 if test $ac_compiler_gnu = yes; then
2939 ac_test_CFLAGS=${CFLAGS+set}
2940 ac_save_CFLAGS=$CFLAGS
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2943 if test "${ac_cv_prog_cc_g+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 ac_save_c_werror_flag=$ac_c_werror_flag
2947 ac_c_werror_flag=yes
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 if ac_fn_c_try_compile "$LINENO"; then :
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2976 if ac_fn_c_try_compile "$LINENO"; then :
2979 ac_c_werror_flag=$ac_save_c_werror_flag
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2992 if ac_fn_c_try_compile "$LINENO"; then :
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 ac_c_werror_flag=$ac_save_c_werror_flag
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3003 $as_echo "$ac_cv_prog_cc_g" >&6; }
3004 if test "$ac_test_CFLAGS" = set; then
3005 CFLAGS=$ac_save_CFLAGS
3006 elif test $ac_cv_prog_cc_g = yes; then
3007 if test "$GCC" = yes; then
3013 if test "$GCC" = yes; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3020 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3021 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3022 $as_echo_n "(cached) " >&6
3024 ac_cv_prog_cc_c89=no
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 #include <sys/types.h>
3031 #include <sys/stat.h>
3032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3033 struct buf { int x; };
3034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3035 static char *e (p, i)
3041 static char *f (char * (*g) (char **, int), char **p, ...)
3046 s = g (p, va_arg (v,int));
3051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3052 function prototypes and stuff, but not '\xHH' hex character constants.
3053 These don't provoke an error unfortunately, instead are silently treated
3054 as 'x'. The following induces an error, until -std is added to get
3055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3056 array size at least. It's necessary to write '\x00'==0 to get something
3057 that's true only with -std. */
3058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3061 inside strings and character constants. */
3063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3065 int test (int i, double x);
3066 struct s1 {int (*f) (int a);};
3067 struct s2 {int (*f) (double a);};
3068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3082 CC="$ac_save_CC $ac_arg"
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 ac_cv_prog_cc_c89=$ac_arg
3086 rm -f core conftest.err conftest.$ac_objext
3087 test "x$ac_cv_prog_cc_c89" != "xno" && break
3089 rm -f conftest.$ac_ext
3094 case "x$ac_cv_prog_cc_c89" in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3097 $as_echo "none needed" >&6; } ;;
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3100 $as_echo "unsupported" >&6; } ;;
3102 CC="$CC $ac_cv_prog_cc_c89"
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3104 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3106 if test "x$ac_cv_prog_cc_c89" != xno; then :
3111 ac_cpp='$CPP $CPPFLAGS'
3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3118 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$RANLIB"; then
3125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 RANLIB=$ac_cv_prog_RANLIB
3145 if test -n "$RANLIB"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3147 $as_echo "$RANLIB" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3155 if test -z "$ac_cv_prog_RANLIB"; then
3156 ac_ct_RANLIB=$RANLIB
3157 # Extract the first word of "ranlib", so it can be a program name with args.
3158 set dummy ranlib; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$ac_ct_RANLIB"; then
3165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_ac_ct_RANLIB="ranlib"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3185 if test -n "$ac_ct_RANLIB"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3187 $as_echo "$ac_ct_RANLIB" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3193 if test "x$ac_ct_RANLIB" = x; then
3196 case $cross_compiling:$ac_tool_warned in
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200 ac_tool_warned=yes ;;
3202 RANLIB=$ac_ct_RANLIB
3205 RANLIB="$ac_cv_prog_RANLIB"
3212 ac_cpp='$CPP $CPPFLAGS'
3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3217 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3218 # On Suns, sometimes $CPP names a directory.
3219 if test -n "$CPP" && test -d "$CPP"; then
3222 if test -z "$CPP"; then
3223 if test "${ac_cv_prog_CPP+set}" = set; then :
3224 $as_echo_n "(cached) " >&6
3226 # Double quotes because CPP needs to be expanded
3227 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3230 for ac_c_preproc_warn_flag in '' yes
3232 # Use a header file that comes with gcc, so configuring glibc
3233 # with a fresh cross-compiler works.
3234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235 # <limits.h> exists even on freestanding compilers.
3236 # On the NeXT, cc -E runs the code through the compiler's parser,
3237 # not just through cpp. "Syntax error" is here to catch this case.
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3241 # include <limits.h>
3243 # include <assert.h>
3247 if ac_fn_c_try_cpp "$LINENO"; then :
3250 # Broken: fails on valid input.
3253 rm -f conftest.err conftest.i conftest.$ac_ext
3255 # OK, works on sane cases. Now check whether nonexistent headers
3256 # can be detected and how.
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3259 #include <ac_nonexistent.h>
3261 if ac_fn_c_try_cpp "$LINENO"; then :
3262 # Broken: success on invalid input.
3265 # Passes both tests.
3269 rm -f conftest.err conftest.i conftest.$ac_ext
3272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3273 rm -f conftest.i conftest.err conftest.
$ac_ext
3274 if $ac_preproc_ok; then :
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3287 $as_echo "$CPP" >&6; }
3289 for ac_c_preproc_warn_flag
in '' yes
3291 # Use a header file that comes with gcc, so configuring glibc
3292 # with a fresh cross-compiler works.
3293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 # <limits.h> exists even on freestanding compilers.
3295 # On the NeXT, cc -E runs the code through the compiler's parser,
3296 # not just through cpp. "Syntax error" is here to catch this case.
3297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 # include <limits.h>
3302 # include <assert.h>
3306 if ac_fn_c_try_cpp
"$LINENO"; then :
3309 # Broken: fails on valid input.
3312 rm -f conftest.err conftest.i conftest.
$ac_ext
3314 # OK, works on sane cases. Now check whether nonexistent headers
3315 # can be detected and how.
3316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3318 #include <ac_nonexistent.h>
3320 if ac_fn_c_try_cpp
"$LINENO"; then :
3321 # Broken: success on invalid input.
3324 # Passes both tests.
3328 rm -f conftest.err conftest.i conftest.
$ac_ext
3331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3332 rm -f conftest.i conftest.err conftest.
$ac_ext
3333 if $ac_preproc_ok; then :
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3339 See \`config.log' for more details" "$LINENO" 5 ; }
3343 ac_cpp
='$CPP $CPPFLAGS'
3344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3350 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3351 if test "${ac_cv_path_GREP+set}" = set; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -z "$GREP"; then
3355 ac_path_GREP_found
=false
3356 # Loop through the user's path and test for each of PROGNAME-LIST
3357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3358 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3361 test -z "$as_dir" && as_dir
=.
3362 for ac_prog
in grep ggrep
; do
3363 for ac_exec_ext
in '' $ac_executable_extensions; do
3364 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3365 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3366 # Check for GNU ac_path_GREP and select it if it is found.
3367 # Check for GNU $ac_path_GREP
3368 case `"$ac_path_GREP" --version 2>&1` in
3370 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3373 $as_echo_n 0123456789 >"conftest.in"
3376 cat "conftest.in" "conftest.in" >"conftest.tmp"
3377 mv "conftest.tmp" "conftest.in"
3378 cp "conftest.in" "conftest.nl"
3379 $as_echo 'GREP' >> "conftest.nl"
3380 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3381 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3382 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3383 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3384 # Best one so far, save it but keep looking for a better one
3385 ac_cv_path_GREP
="$ac_path_GREP"
3386 ac_path_GREP_max
=$ac_count
3388 # 10*(2^10) chars as input seems more than enough
3389 test $ac_count -gt 10 && break
3391 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3394 $ac_path_GREP_found && break 3
3399 if test -z "$ac_cv_path_GREP"; then
3400 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3403 ac_cv_path_GREP
=$GREP
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3408 $as_echo "$ac_cv_path_GREP" >&6; }
3409 GREP
="$ac_cv_path_GREP"
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3413 $as_echo_n "checking for egrep... " >&6; }
3414 if test "${ac_cv_path_EGREP+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3418 then ac_cv_path_EGREP
="$GREP -E"
3420 if test -z "$EGREP"; then
3421 ac_path_EGREP_found
=false
3422 # Loop through the user's path and test for each of PROGNAME-LIST
3423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3427 test -z "$as_dir" && as_dir
=.
3428 for ac_prog
in egrep; do
3429 for ac_exec_ext
in '' $ac_executable_extensions; do
3430 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3431 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3432 # Check for GNU ac_path_EGREP and select it if it is found.
3433 # Check for GNU $ac_path_EGREP
3434 case `"$ac_path_EGREP" --version 2>&1` in
3436 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3439 $as_echo_n 0123456789 >"conftest.in"
3442 cat "conftest.in" "conftest.in" >"conftest.tmp"
3443 mv "conftest.tmp" "conftest.in"
3444 cp "conftest.in" "conftest.nl"
3445 $as_echo 'EGREP' >> "conftest.nl"
3446 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3447 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3448 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3449 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3450 # Best one so far, save it but keep looking for a better one
3451 ac_cv_path_EGREP
="$ac_path_EGREP"
3452 ac_path_EGREP_max
=$ac_count
3454 # 10*(2^10) chars as input seems more than enough
3455 test $ac_count -gt 10 && break
3457 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3460 $ac_path_EGREP_found && break 3
3465 if test -z "$ac_cv_path_EGREP"; then
3466 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3469 ac_cv_path_EGREP
=$EGREP
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3475 $as_echo "$ac_cv_path_EGREP" >&6; }
3476 EGREP
="$ac_cv_path_EGREP"
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3480 $as_echo_n "checking for ANSI C header files... " >&6; }
3481 if test "${ac_cv_header_stdc+set}" = set; then :
3482 $as_echo_n "(cached) " >&6
3484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3499 if ac_fn_c_try_compile
"$LINENO"; then :
3500 ac_cv_header_stdc
=yes
3502 ac_cv_header_stdc
=no
3504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3506 if test $ac_cv_header_stdc = yes; then
3507 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3514 $EGREP "memchr" >/dev
/null
2>&1; then :
3517 ac_cv_header_stdc
=no
3523 if test $ac_cv_header_stdc = yes; then
3524 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3531 $EGREP "free" >/dev
/null
2>&1; then :
3534 ac_cv_header_stdc
=no
3540 if test $ac_cv_header_stdc = yes; then
3541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3542 if test "$cross_compiling" = yes; then :
3545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3549 #if ((' ' & 0x0FF) == 0x020)
3550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3553 # define ISLOWER(c) \
3554 (('a' <= (c) && (c) <= 'i') \
3555 || ('j' <= (c) && (c) <= 'r') \
3556 || ('s' <= (c) && (c) <= 'z'))
3557 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3565 for (i = 0; i < 256; i++)
3566 if (XOR (islower (i), ISLOWER (i))
3567 || toupper (i) != TOUPPER (i))
3572 if ac_fn_c_try_run
"$LINENO"; then :
3575 ac_cv_header_stdc
=no
3577 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3578 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3584 $as_echo "$ac_cv_header_stdc" >&6; }
3585 if test $ac_cv_header_stdc = yes; then
3587 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
3592 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3593 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
3594 $as_echo_n "(cached) " >&6
3596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3598 #include <sys/types.h>
3599 #include <sys/wait.h>
3601 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3604 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3612 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3617 if ac_fn_c_try_compile
"$LINENO"; then :
3618 ac_cv_header_sys_wait_h
=yes
3620 ac_cv_header_sys_wait_h
=no
3622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
3625 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3626 if test $ac_cv_header_sys_wait_h = yes; then
3628 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
3632 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3633 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3634 inttypes.h stdint.h unistd.h
3636 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3637 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3639 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3640 cat >>confdefs.h
<<_ACEOF
3641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3649 for ac_header
in fcntl.h sys
/dlpi.h sys
/ioctl.h sys
/time.h syslog.h unistd.h net
/if_arp.h netinet
/if_ether.h getopt.h sys
/uio.h sys
/param.h fcntl.h net
/bpf.h netpacket
/packet.h net
/ethernet.h asm
/types.h linux
/if_packet.h linux
/if_ether.h sys
/socket.h sys
/cdefs.h net
/if.h net
/if_dl.h net
/if_ether.h net
/if_types.h netinet
/if_ether.h net
/if_types.h net
/if_dl.h
3651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3652 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3653 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3654 cat >>confdefs.h
<<_ACEOF
3655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3662 for ac_header
in linux
/if.h
3664 ac_fn_c_check_header_compile
"$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
3666 if test "x$ac_cv_header_linux_if_h" = x
""yes; then :
3667 cat >>confdefs.h
<<_ACEOF
3668 #define HAVE_LINUX_IF_H 1
3675 for ac_header
in linux
/if_pppox.h
3677 ac_fn_c_check_header_compile
"$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
3678 #include<sys/socket.h>
3679 #include<net/ethernet.h>
3680 #include<linux/if.h>
3681 #include<linux/in.h>
3684 if test "x$ac_cv_header_linux_if_pppox_h" = x
""yes; then :
3685 cat >>confdefs.h
<<_ACEOF
3686 #define HAVE_LINUX_IF_PPPOX_H 1
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3695 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3696 if test "${ac_cv_c_const+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3705 /* FIXME: Include the comments suggested by Paul. */
3707 /* Ultrix mips cc rejects this. */
3708 typedef int charset[2];
3710 /* SunOS 4.1.1 cc rejects this. */
3711 char const *const *pcpcc;
3713 /* NEC SVR4.0.2 mips cc rejects this. */
3714 struct point {int x, y;};
3715 static struct point const zero = {0,0};
3716 /* AIX XL C 1.02.0.0 rejects this.
3717 It does not let you subtract one const X* pointer from another in
3718 an arm of an if-expression whose if-part is not a constant
3720 const char *g = "string";
3721 pcpcc = &g + (g ? g-g : 0);
3722 /* HPUX 7.0 cc rejects these. */
3724 ppc = (char**) pcpcc;
3725 pcpcc = (char const *const *) ppc;
3726 { /* SCO 3.2v4 cc rejects this. */
3728 char const *s = 0 ? (char *) 0 : (char const *) 0;
3733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3735 const int *foo = &x[0];
3738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3739 typedef const int *iptr;
3743 { /* AIX XL C 1.02.0.0 rejects this saying
3744 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3745 struct s { int j; const int *ap[3]; };
3746 struct s *b; b->j = 5;
3748 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3752 return !cs[0] && !zero.x;
3759 if ac_fn_c_try_compile
"$LINENO"; then :
3764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3767 $as_echo "$ac_cv_c_const" >&6; }
3768 if test $ac_cv_c_const = no
; then
3770 $as_echo "#define const /**/" >>confdefs.h
3774 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
3775 if test "x$ac_cv_type_pid_t" = x
""yes; then :
3779 cat >>confdefs.h
<<_ACEOF
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3786 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3787 if test "${ac_cv_header_time+set}" = set; then :
3788 $as_echo_n "(cached) " >&6
3790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3792 #include <sys/types.h>
3793 #include <sys/time.h>
3799 if ((struct tm *) 0)
3805 if ac_fn_c_try_compile
"$LINENO"; then :
3806 ac_cv_header_time
=yes
3808 ac_cv_header_time
=no
3810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3813 $as_echo "$ac_cv_header_time" >&6; }
3814 if test $ac_cv_header_time = yes; then
3816 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3821 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3822 if test "${ac_cv_struct_tm+set}" = set; then :
3823 $as_echo_n "(cached) " >&6
3825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3827 #include <sys/types.h>
3834 int *p = &tm.tm_sec;
3840 if ac_fn_c_try_compile
"$LINENO"; then :
3841 ac_cv_struct_tm
=time.h
3843 ac_cv_struct_tm
=sys
/time.h
3845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3848 $as_echo "$ac_cv_struct_tm" >&6; }
3849 if test $ac_cv_struct_tm = sys
/time.h
; then
3851 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_ll" >&5
3857 $as_echo_n "checking for struct sockaddr_ll... " >&6; }
3858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3860 #include <asm/types.h>
3861 #include <linux/if_packet.h>
3862 #include <linux/if_ether.h>
3867 struct sockaddr_ll sa;
3872 if ac_fn_c_try_compile
"$LINENO"; then :
3873 ac_cv_struct_sockaddr_ll
=yes
3875 ac_cv_struct_sockaddr_ll
=no
3877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_ll" >&5
3879 $as_echo "$ac_cv_struct_sockaddr_ll" >&6; }
3881 if test "$ac_cv_struct_sockaddr_ll" = yes ; then
3882 $as_echo "#define HAVE_STRUCT_SOCKADDR_LL 1" >>confdefs.h
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for N_HDLC line discipline" >&5
3887 $as_echo_n "checking for N_HDLC line discipline... " >&6; }
3888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3890 #include <linux/termios.h>
3899 if ac_fn_c_try_compile
"$LINENO"; then :
3904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_n_hdlc" >&5
3906 $as_echo "$ac_cv_n_hdlc" >&6; }
3907 if test "$ac_cv_n_hdlc" = yes ; then
3908 $as_echo "#define HAVE_N_HDLC 1" >>confdefs.h
3912 # Check whether --enable-plugin was given.
3913 if test "${enable_plugin+set}" = set; then :
3914 enableval
=$enable_plugin; ac_cv_pluginpath
=$enableval
3919 # Check whether --enable-debugging was given.
3920 if test "${enable_debugging+set}" = set; then :
3921 enableval
=$enable_debugging; ac_cv_debugging
=$enableval
3927 if test "$ac_cv_pluginpath" = "yes" ; then
3928 for i
in /usr
/include
/usr
/local
/include
; do
3929 if test -r $i/pppd
/pppd.h
; then
3935 if test "$ac_cv_pluginpath" = "yes" ; then
3936 echo "*** Could not fined pppd/pppd.h anywhere... not building plugin"
3940 # Check whether --enable-licenses was given.
3941 if test "${enable_licenses+set}" = set; then :
3942 enableval
=$enable_licenses; ac_cv_licpath
=$enableval
3952 LIC_MAKEFILE_INCLUDE
=""
3953 PPPOE_SERVER_DEPS
=""
3954 if test "$ac_cv_licpath" != "no" ; then
3955 LIC_INCDIR
="-I$ac_cv_licpath"
3956 LIC_LIBDIR
="-L$ac_cv_licpath -Llicensed-only"
3957 if test -d "../../extra-libs" ; then
3958 LIC_LIB
="-L../../extra-libs -ltwofish -llicensed-only -ltcl -ldl"
3960 LIC_LIB
="-ltwofish -llicensed-only -ltcl -ldl"
3962 PPPOE_SERVER_DEPS
="licensed-only/liblicensed-only.a ../../SERVPOET-VERSION"
3963 LIC_DEFINE
="-DHAVE_LICENSE=1 -DSERVPOET_VERSION='\"\$(SERVPOET_VERSION)\"'"
3964 LIC_MAKEFILE_INCLUDE
="include ../../SERVPOET-VERSION"
3967 LINUX_KERNELMODE_PLUGIN
=""
3969 if test "$ac_cv_header_linux_if_pppox_h" = yes ; then
3970 if test "$ac_cv_pluginpath" != no
; then
3971 LINUX_KERNELMODE_PLUGIN
=rp-pppoe.so
3972 $as_echo "#define HAVE_LINUX_KERNEL_PPPOE 1" >>confdefs.h
3974 PPPD_INCDIR
=$ac_cv_pluginpath
3978 if test "$PPPD_INCDIR" = "" ; then
3979 PPPD_INCDIR
=/usr
/include
3982 if test "$ac_cv_debugging" = "yes" ; then
3983 $as_echo "#define DEBUGGING_ENABLED 1" >>confdefs.h
3992 if test "`uname -s`" = "Linux" ; then
3993 PPPOE_RELAY
=pppoe-relay
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
3998 $as_echo_n "checking for working memcmp... " >&6; }
3999 if test "${ac_cv_func_memcmp_working+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4002 if test "$cross_compiling" = yes; then :
4003 ac_cv_func_memcmp_working
=no
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 $ac_includes_default
4012 /* Some versions of memcmp are not 8-bit clean. */
4013 char c0 = '\100', c1 = '\200', c2 = '\201';
4014 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4017 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4018 or more and with at least one buffer not starting on a 4-byte boundary.
4019 William Lewis provided this test program. */
4024 for (i = 0; i < 4; i++)
4028 strcpy (a, "--------01111111");
4029 strcpy (b, "--------10000000");
4030 if (memcmp (a, b, 16) >= 0)
4040 if ac_fn_c_try_run
"$LINENO"; then :
4041 ac_cv_func_memcmp_working
=yes
4043 ac_cv_func_memcmp_working
=no
4045 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4046 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
4051 $as_echo "$ac_cv_func_memcmp_working" >&6; }
4052 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
4053 *" memcmp.$ac_objext "* ) ;;
4054 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
4059 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 ac_cv_func_setvbuf_reversed
=no
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4067 $as_echo_n "checking return type of signal handlers... " >&6; }
4068 if test "${ac_cv_type_signal+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073 #include <sys/types.h>
4079 return *(signal (0, 0)) (0) == 1;
4084 if ac_fn_c_try_compile
"$LINENO"; then :
4085 ac_cv_type_signal
=int
4087 ac_cv_type_signal
=void
4089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4092 $as_echo "$ac_cv_type_signal" >&6; }
4094 cat >>confdefs.h
<<_ACEOF
4095 #define RETSIGTYPE $ac_cv_type_signal
4099 for ac_func
in select socket strerror strtol
4101 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4102 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4103 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4104 cat >>confdefs.h
<<_ACEOF
4105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4112 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4113 if test -f "$ac_dir/install-sh"; then
4115 ac_install_sh
="$ac_aux_dir/install-sh -c"
4117 elif test -f "$ac_dir/install.sh"; then
4119 ac_install_sh
="$ac_aux_dir/install.sh -c"
4121 elif test -f "$ac_dir/shtool"; then
4123 ac_install_sh
="$ac_aux_dir/shtool install -c"
4127 if test -z "$ac_aux_dir"; then
4128 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4131 # These three variables are undocumented and unsupported,
4132 # and are intended to be withdrawn in a future Autoconf release.
4133 # They can cause serious problems if a builder's source tree is in a directory
4134 # whose full name contains unusual characters.
4135 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4136 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4137 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4140 # Find a good install program. We prefer a C program (faster),
4141 # so one script is as good as another. But avoid the broken or
4142 # incompatible versions:
4143 # SysV /etc/install, /usr/sbin/install
4144 # SunOS /usr/etc/install
4145 # IRIX /sbin/install
4147 # AmigaOS /C/install, which installs bootblocks on floppy discs
4148 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4149 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4150 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4151 # OS/2's system install, which has a completely different semantic
4152 # ./install, which can be erroneously created by make from ./install.sh.
4153 # Reject install programs that cannot install multiple files.
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4155 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4156 if test -z "$INSTALL"; then
4157 if test "${ac_cv_path_install+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 # Account for people who put trailing slashes in PATH elements.
4166 case $as_dir/ in #((
4167 .
/ | .
// |
/[cC
]/* | \
4168 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4169 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4172 # OSF1 and SCO ODT 3.0 have their own names for install.
4173 # Don't use installbsd from OSF since it installs stuff as root
4175 for ac_prog
in ginstall scoinst
install; do
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4178 if test $ac_prog = install &&
4179 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4180 # AIX install. It has an incompatible calling convention.
4182 elif test $ac_prog = install &&
4183 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4184 # program-specific install script used by HP pwplus--don't use.
4187 rm -rf conftest.one conftest.two conftest.dir
4188 echo one
> conftest.one
4189 echo two
> conftest.two
4191 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4192 test -s conftest.one
&& test -s conftest.two
&&
4193 test -s conftest.dir
/conftest.one
&&
4194 test -s conftest.dir
/conftest.two
4196 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4209 rm -rf conftest.one conftest.two conftest.dir
4212 if test "${ac_cv_path_install+set}" = set; then
4213 INSTALL
=$ac_cv_path_install
4215 # As a last resort, use the slow shell script. Don't cache a
4216 # value for INSTALL within a source directory, because that will
4217 # break other packages using the cache if that directory is
4218 # removed, or if the value is a relative name.
4219 INSTALL
=$ac_install_sh
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4223 $as_echo "$INSTALL" >&6; }
4225 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4226 # It thinks the first close brace ends the variable substitution.
4227 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4229 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4231 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4234 # The cast to long int works around a bug in the HP C Compiler
4235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4237 # This bug is HP SR number 8606223364.
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4239 $as_echo_n "checking size of unsigned short... " >&6; }
4240 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4246 if test "$ac_cv_type_unsigned_short" = yes; then
4247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error
77 "cannot compute sizeof (unsigned short)
4250 See \`config.log' for more details" "$LINENO" 5 ; }
4252 ac_cv_sizeof_unsigned_short
=0
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4258 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
4262 cat >>confdefs.h
<<_ACEOF
4263 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4267 # The cast to long int works around a bug in the HP C Compiler
4268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4270 # This bug is HP SR number 8606223364.
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4272 $as_echo_n "checking size of unsigned int... " >&6; }
4273 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
4274 $as_echo_n "(cached) " >&6
4276 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4279 if test "$ac_cv_type_unsigned_int" = yes; then
4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error
77 "cannot compute sizeof (unsigned int)
4283 See \`config.log' for more details" "$LINENO" 5 ; }
4285 ac_cv_sizeof_unsigned_int
=0
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4291 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4295 cat >>confdefs.h
<<_ACEOF
4296 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4300 # The cast to long int works around a bug in the HP C Compiler
4301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4303 # This bug is HP SR number 8606223364.
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
4305 $as_echo_n "checking size of unsigned long... " >&6; }
4306 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
4312 if test "$ac_cv_type_unsigned_long" = yes; then
4313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4315 as_fn_error
77 "cannot compute sizeof (unsigned long)
4316 See \`config.log' for more details" "$LINENO" 5 ; }
4318 ac_cv_sizeof_unsigned_long
=0
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
4324 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
4328 cat >>confdefs.h
<<_ACEOF
4329 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
4334 # Extract the first word of "pppd", so it can be a program name with args.
4335 set dummy pppd
; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if test "${ac_cv_path_PPPD+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4343 ac_cv_path_PPPD
="$PPPD" # Let the user override the test with a path.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 as_dummy
="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4348 for as_dir
in $as_dummy
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_path_PPPD
="$as_dir/$ac_word$ac_exec_ext"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 test -z "$ac_cv_path_PPPD" && ac_cv_path_PPPD
="NOTFOUND"
4366 PPPD
=$ac_cv_path_PPPD
4367 if test -n "$PPPD"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPPD" >&5
4369 $as_echo "$PPPD" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4376 # Extract the first word of "echo", so it can be a program name with args.
4377 set dummy
echo; ac_word
=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if test "${ac_cv_path_ECHO+set}" = set; then :
4381 $as_echo_n "(cached) " >&6
4385 ac_cv_path_ECHO
="$ECHO" # Let the user override the test with a path.
4388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir
=.
4393 for ac_exec_ext
in '' $ac_executable_extensions; do
4394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395 ac_cv_path_ECHO
="$as_dir/$ac_word$ac_exec_ext"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO
="echo"
4407 ECHO
=$ac_cv_path_ECHO
4408 if test -n "$ECHO"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4410 $as_echo "$ECHO" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4418 # Extract the first word of "setsid", so it can be a program name with args.
4419 set dummy setsid
; ac_word
=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if test "${ac_cv_path_SETSID+set}" = set; then :
4423 $as_echo_n "(cached) " >&6
4427 ac_cv_path_SETSID
="$SETSID" # Let the user override the test with a path.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4431 as_dummy
="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4432 for as_dir
in $as_dummy
4435 test -z "$as_dir" && as_dir
=.
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_path_SETSID
="$as_dir/$ac_word$ac_exec_ext"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 test -z "$ac_cv_path_SETSID" && ac_cv_path_SETSID
=""""
4450 SETSID
=$ac_cv_path_SETSID
4451 if test -n "$SETSID"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETSID" >&5
4453 $as_echo "$SETSID" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 # Extract the first word of "id", so it can be a program name with args.
4462 set dummy id
; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${ac_cv_path_ID+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4470 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 as_dummy
="/usr/xpg4/bin:$PATH"
4475 for as_dir
in $as_dummy
4478 test -z "$as_dir" && as_dir
=.
4479 for ac_exec_ext
in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=""""
4494 if test -n "$ID"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ID" >&5
4496 $as_echo "$ID" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux 2.4.X kernel-mode PPPoE support" >&5
4505 $as_echo_n "checking for Linux 2.4.X kernel-mode PPPoE support... " >&6; }
4506 if test "${ac_cv_linux_kernel_pppoe+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4510 if test "`uname -s`" = "Linux" ; then
4511 if test $cross_compiling = "no"; then
4513 modprobe ppp_generic
> /dev
/null
2>&1
4514 modprobe ppp_async
> /dev
/null
2>&1
4515 modprobe n_hdlc
> /dev
/null
2>&1
4516 modprobe ppp_synctty
> /dev
/null
2>&1
4517 modprobe pppoe
> /dev
/null
2>&1
4519 if test "$cross_compiling" = yes; then :
4520 ac_cv_linux_kernel_pppoe
=no
; $ECHO "cross-compiling, default: "
4522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524 #include <sys/socket.h>
4525 #include <net/ethernet.h>
4526 #include <linux/if.h>
4527 #include <linux/in.h>
4528 #include <linux/if_pppox.h>
4531 if (socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OE) >= 0) return 0; else return 1;
4535 if ac_fn_c_try_run
"$LINENO"; then :
4536 ac_cv_linux_kernel_pppoe
=yes
4538 ac_cv_linux_kernel_pppoe
=no
4540 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4541 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4545 ac_cv_linux_kernel_pppoe
=no
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_kernel_pppoe" >&5
4552 $as_echo "$ac_cv_linux_kernel_pppoe" >&6; }
4554 if test "$ac_cv_linux_kernel_pppoe" != yes ; then
4555 if test "$LINUX_KERNELMODE_PLUGIN" = rp-pppoe.so
; then
4556 echo "*** Your kernel does not appear to have built-in PPPoE support,"
4557 echo "*** but I will build the kernel-mode plugin anyway."
4561 if test "$GCC" = yes; then
4562 CFLAGS
="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
4565 if test "$PPPD" = "NOTFOUND"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops! I couldn't find pppd, the PPP daemon anywhere." >&5
4567 $as_echo "$as_me: WARNING: *** Oops! I couldn't find pppd, the PPP daemon anywhere." >&2;}
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You must install pppd, version 2.3.10 or later." >&5
4569 $as_echo "$as_me: WARNING: *** You must install pppd, version 2.3.10 or later." >&2;}
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4571 $as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4576 PPPD_VERSION
=`$PPPD --version 2>&1 | awk ' /version/ {print $NF}'`
4578 case "$PPPD_VERSION" in
4579 1.
*|
2.0.
*|
2.1.
*|
2.2.
*|
2.3.0|
2.3.1|
2.3.2|
2.3.3|
2.3.4|
2.3.5|
2.3.6)
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops! Your version of pppd is $PPPD_VERSION, which is too old." >&5
4581 $as_echo "$as_me: WARNING: *** Oops! Your version of pppd is $PPPD_VERSION, which is too old." >&2;}
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You need at least 2.3.7 (2.3.10 or newer recommended." >&5
4583 $as_echo "$as_me: WARNING: *** You need at least 2.3.7 (2.3.10 or newer recommended." >&2;}
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4585 $as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Warning. Your version of pppd is $PPPD_VERSION. You will" >&5
4590 $as_echo "$as_me: WARNING: *** Warning. Your version of pppd is $PPPD_VERSION. You will" >&2;}
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** not be able to use connect-on-demand. Upgrade to pppd" >&5
4592 $as_echo "$as_me: WARNING: *** not be able to use connect-on-demand. Upgrade to pppd" >&2;}
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 2.3.10 or newer if you need connect-on-demand." >&5
4594 $as_echo "$as_me: WARNING: *** 2.3.10 or newer if you need connect-on-demand." >&2;}
4597 2*|
3*|
4*|
5*|
6*|
7*|
8*|
9*)
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Oops. I cannot figure out what version of pppd you have." >&5
4602 $as_echo "$as_me: WARNING: *** Oops. I cannot figure out what version of pppd you have." >&2;}
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** All I got back was '$PPPD_VERSION'" >&5
4604 $as_echo "$as_me: WARNING: *** All I got back was '$PPPD_VERSION'" >&2;}
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** I will keep going, but it may not work." >&5
4606 $as_echo "$as_me: WARNING: *** I will keep going, but it may not work." >&2;}
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking packing order of bit fields" >&5
4611 $as_echo_n "checking packing order of bit fields... " >&6; }
4612 if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
4613 if test "$cross_compiling" = yes; then :
4614 $ECHO "no defaults for cross-compiling"; exit 0
4616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4622 unsigned int type:4;
4633 if (x.baz == 0x21) {
4635 } else if (x.baz == 0x12) {
4642 if ac_fn_c_try_run
"$LINENO"; then :
4643 rpppoe_cv_pack_bitfields
=normal
4645 rpppoe_cv_pack_bitfields
=rev
4647 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4648 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4653 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: reversed" >&5
4655 $as_echo "reversed" >&6; }
4656 $as_echo "#define PACK_BITFIELDS_REVERSED 1" >>confdefs.h
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: normal" >&5
4660 $as_echo "normal" >&6; }
4663 # Sigh... got to fix this up for tcl
4664 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4665 # Let make expand exec_prefix.
4666 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4668 # Fully resolve WRAPPER for Tcl script.
4669 WRAPPER
=${sbindir}/pppoe-wrapper
4670 eval "WRAPPER=${WRAPPER}"
4671 eval "WRAPPER=${WRAPPER}"
4674 # Determine what targets to build
4675 TARGETS
="pppoe pppoe-server"
4677 # pppoe-sniff is built only on Linux and Solaris
4678 if test "$ac_cv_header_linux_if_packet_h" = "yes" -o "$ac_cv_header_sys_dlpi_h" = "yes" ; then
4679 TARGETS
="$TARGETS pppoe-sniff"
4682 # pppoe-relay is built only on Linux
4683 if test "$ac_cv_header_linux_if_packet_h" = "yes" ; then
4684 TARGETS
="$TARGETS pppoe-relay"
4687 # plugin is built only if we have kernel support
4688 if test -n "$LINUX_KERNELMODE_PLUGIN" ; then
4689 TARGETS
="$TARGETS $LINUX_KERNELMODE_PLUGIN"
4690 mkdir plugin
> /dev
/null
2>&1
4694 # Licensed stuff only for commercial distro (for now)
4695 if test -n "$LIC_DEFINE" ; then
4696 TARGETS
="licensed-only $TARGETS"
4697 EXTRACONFIGS
="$EXTRACONFIGS licensed-only/Makefile"
4701 # L2TP is only in commercial distro (for now)
4702 if test -n "$LIC_DEFINE" ; then
4703 TARGETS
="l2tp $TARGETS"
4704 EXTRACONFIGS
="$EXTRACONFIGS l2tp/Makefile l2tp/handlers/Makefile"
4705 LIC_DEFINE
="$LIC_DEFINE -DHAVE_L2TP=1"
4706 LIC_LIB
="$LIC_LIB -Ll2tp -ll2tp"
4707 PPPOE_SERVER_DEPS
="$PPPOE_SERVER_DEPS l2tp/libl2tp.a"
4708 RDYNAMIC
="-rdynamic"
4711 LIBEVENT
=..
/libevent
4724 datadir_evaluated
=`eval echo $datadir`
4727 ac_config_files
="$ac_config_files Makefile libevent/Makefile ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-init-suse ../scripts/pppoe-init-turbolinux ../scripts/pppoe-setup ../gui/Makefile ../gui/tkpppoe $EXTRACONFIGS"
4729 cat >confcache
<<\_ACEOF
4730 # This file is a shell script that caches the results of configure
4731 # tests run on this system so they can be shared between configure
4732 # scripts and configure runs, see configure's option --config-cache.
4733 # It is not useful on other systems. If it contains results you don't
4734 # want to keep, you may remove or edit it.
4736 # config.status only pays attention to the cache file if you give it
4737 # the --recheck option to rerun configure.
4739 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4740 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4745 # The following way of writing the cache mishandles newlines in values,
4746 # but we know of no workaround that is simple, portable, and efficient.
4747 # So, we kill variables containing newlines.
4748 # Ultrix sh set writes to stderr and can't be redirected directly,
4749 # and sets the high bit in the cache file unless we assign to the vars.
4751 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4752 eval ac_val
=\$
$ac_var
4756 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4757 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4760 _ | IFS | as_nl
) ;; #(
4761 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4762 *) { eval $ac_var=; unset $ac_var;} ;;
4768 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4769 *${as_nl}ac_space
=\
*)
4770 # `set' does not quote correctly, so add quotes: double-quote
4771 # substitution turns \\\\ into \\, and sed turns \\ into \.
4774 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4777 # `set' quotes correctly as required by POSIX, so do not add quotes.
4778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4789 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4791 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4792 if test -w "$cache_file"; then
4793 test "x$cache_file" != "x/dev/null" &&
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4795 $as_echo "$as_me: updating cache $cache_file" >&6;}
4796 cat confcache
>$cache_file
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4799 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4804 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4805 # Let make expand exec_prefix.
4806 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4808 DEFS
=-DHAVE_CONFIG_H
4813 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4814 # 1. Remove the extension, and $U if already installed.
4815 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4816 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4817 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4818 # will be set to the directory where LIBOBJS objects are built.
4819 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4820 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4824 LTLIBOBJS
=$ac_ltlibobjs
4828 : ${CONFIG_STATUS=./config.status}
4830 ac_clean_files_save
=$ac_clean_files
4831 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4837 # Generated by $as_me.
4838 # Run this file to recreate the current configuration.
4839 # Compiler output produced by configure, useful for debugging
4840 # configure, is in config.log if it exists.
4846 SHELL=\${CONFIG_SHELL-$SHELL}
4849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4850 ## -------------------- ##
4851 ## M4sh Initialization. ##
4852 ## -------------------- ##
4854 # Be more Bourne compatible
4855 DUALCASE
=1; export DUALCASE
# for MKS sh
4856 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4859 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4860 # is contrary to our usage. Disable this feature.
4861 alias -g '${1+"$@"}'='"$@"'
4862 setopt NO_GLOB_SUBST
4864 case `(set -o) 2>/dev/null` in #(
4876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4877 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4880 # Prefer a ksh shell builtin over an external printf program on Solaris,
4881 # but without wasting forks for bash or zsh.
4882 if test -z "$BASH_VERSION$ZSH_VERSION" \
4883 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4884 as_echo='print
-r --'
4885 as_echo_n='print
-rn --'
4886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4887 as_echo='printf %s
\n'
4888 as_echo_n='printf %s
'
4890 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4891 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4892 as_echo_n='/usr
/ucb
/echo -n'
4894 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4895 as_echo_n_body='eval
4899 expr "X$arg" : "X\\(.*\\)$as_nl";
4900 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4902 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4904 export as_echo_n_body
4905 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4908 as_echo='sh
-c $as_echo_body as_echo
'
4911 # The user is always right.
4912 if test "${PATH_SEPARATOR+set}" != set; then
4914 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4915 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4922 # We need space, tab and new line, in precisely that order. Quoting is
4923 # there to prevent editors from complaining about space-tab.
4924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4925 # splitting by setting IFS to empty value.)
4928 # Find who we are. Look in the path if we contain no directory separator.
4930 *[\\/]* ) as_myself=$0 ;;
4931 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir=.
4936 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4942 # We did not find ourselves, most probably we were run as `sh COMMAND'
4943 # in which case we are not to be found in the path.
4944 if test "x$as_myself" = x
; then
4947 if test ! -f "$as_myself"; then
4948 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4952 # Unset variables that we do not need and which cause bugs (e.g. in
4953 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4954 # suppresses any "Segmentation fault" message there. '((' could
4955 # trigger a bug in pdksh 5.2.14.
4956 for as_var
in BASH_ENV ENV MAIL MAILPATH
4957 do eval test x\
${$as_var+set} = xset \
4958 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4971 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4974 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4975 # ----------------------------------------
4976 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4977 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4978 # script with STATUS, using 1 if that was 0.
4981 as_status
=$1; test $as_status -eq 0 && as_status
=1
4983 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4984 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4986 $as_echo "$as_me: error: $2" >&2
4987 as_fn_exit
$as_status
4991 # as_fn_set_status STATUS
4992 # -----------------------
4993 # Set $? to STATUS, without forking.
4997 } # as_fn_set_status
5001 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5011 # Portably unset VAR.
5014 { eval $1=; unset $1;}
5016 as_unset
=as_fn_unset
5017 # as_fn_append VAR VALUE
5018 # ----------------------
5019 # Append the text in VALUE to the end of the definition contained in VAR. Take
5020 # advantage of any shell optimizations that allow amortized linear growth over
5021 # repeated appends, instead of the typical quadratic growth present in naive
5023 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5024 eval 'as_fn_append ()
5035 # as_fn_arith ARG...
5036 # ------------------
5037 # Perform arithmetic evaluation on the ARGs, and store the result in the
5038 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5039 # must be portable across $(()) and expr.
5040 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5041 eval 'as_fn_arith ()
5048 as_val
=`expr "$@" || test $? -eq 1`
5053 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5054 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5060 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5061 as_basename
=basename
5066 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5072 as_me
=`$as_basename -- "$0" ||
5073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5074 X"$0" : 'X\(//\)$' \| \
5075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5077 sed '/^.*\/\([^/][^/]*\)\/*$/{
5091 # Avoid depending upon Character Ranges.
5092 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5093 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5094 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5095 as_cr_digits
='0123456789'
5096 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5098 ECHO_C
= ECHO_N
= ECHO_T
=
5099 case `echo -n x` in #(((((
5101 case `echo 'xy\c'` in
5102 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5104 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5111 rm -f conf$$ conf$$.exe conf$$.
file
5112 if test -d conf$$.dir
; then
5113 rm -f conf$$.dir
/conf$$.
file
5116 mkdir conf$$.dir
2>/dev
/null
5118 if (echo >conf$$.
file) 2>/dev
/null
; then
5119 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5121 # ... but there are two gotchas:
5122 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5123 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5124 # In both cases, we have to default to `cp -p'.
5125 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5127 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5135 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5136 rmdir conf$$.dir
2>/dev
/null
5141 # Create "$as_dir" as a directory, including parents if necessary.
5146 -*) as_dir
=.
/$as_dir;;
5148 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5152 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5153 *) as_qdir
=$as_dir;;
5155 as_dirs
="'$as_qdir' $as_dirs"
5156 as_dir
=`$as_dirname -- "$as_dir" ||
5157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5158 X"$as_dir" : 'X\(//\)[^/]' \| \
5159 X"$as_dir" : 'X\(//\)$' \| \
5160 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5161 $as_echo X"$as_dir" |
5162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5179 test -d "$as_dir" && break
5181 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5182 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5186 if mkdir
-p .
2>/dev
/null
; then
5187 as_mkdir_p
='mkdir -p "$as_dir"'
5189 test -d .
/-p && rmdir .
/-p
5193 if test -x / >/dev
/null
2>&1; then
5196 if ls -dL / >/dev
/null
2>&1; then
5203 if test -d "$1"; then
5209 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5210 ???[sx]*):;;*)false;;esac;fi
5214 as_executable_p
=$as_test_x
5216 # Sed expression to map a string onto a valid CPP name.
5217 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5219 # Sed expression to map a string onto a valid variable name.
5220 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5224 ## ----------------------------------- ##
5225 ## Main body of $CONFIG_STATUS script. ##
5226 ## ----------------------------------- ##
5228 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5231 # Save the log message, to keep $0 and so on meaningful, and to
5232 # report actual input values of CONFIG_FILES etc. instead of their
5233 # values after options handling.
5235 This file was extended by $as_me, which was
5236 generated by GNU Autoconf 2.67. Invocation command line was
5238 CONFIG_FILES = $CONFIG_FILES
5239 CONFIG_HEADERS = $CONFIG_HEADERS
5240 CONFIG_LINKS = $CONFIG_LINKS
5241 CONFIG_COMMANDS = $CONFIG_COMMANDS
5244 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5249 case $ac_config_files in *"
5250 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5253 case $ac_config_headers in *"
5254 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5259 # Files that config.status was made for.
5260 config_files="$ac_config_files"
5261 config_headers="$ac_config_headers"
5265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5267 \`$as_me' instantiates files and other configuration actions
5268 from templates according to the current configuration. Unless the files
5269 and actions are specified as TAGs, all are instantiated by default.
5271 Usage: $0 [OPTION]... [TAG]...
5273 -h, --help print this help, then exit
5274 -V, --version print version number and configuration settings, then exit
5275 --config print configuration, then exit
5276 -q, --quiet, --silent
5277 do not print progress messages
5278 -d, --debug don't remove temporary files
5279 --recheck update $as_me by reconfiguring in the same conditions
5280 --file=FILE[:TEMPLATE]
5281 instantiate the configuration file FILE
5282 --header=FILE[:TEMPLATE]
5283 instantiate the configuration header FILE
5285 Configuration files:
5288 Configuration headers:
5291 Report bugs to the package provider."
5294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5298 configured by $0, generated by GNU Autoconf 2.67,
5299 with options \\"\$ac_cs_config\\"
5301 Copyright (C) 2010 Free Software Foundation, Inc.
5302 This config.status script is free software; the Free Software Foundation
5303 gives unlimited permission to copy, distribute and modify it."
5308 test -n "\$AWK" || AWK=awk
5311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5312 # The default lists apply if the user does not specify any file.
5318 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5319 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5323 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5335 # Handling of the options.
5336 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5338 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5339 $as_echo "$ac_cs_version"; exit ;;
5340 --config |
--confi |
--conf |
--con |
--co |
--c )
5341 $as_echo "$ac_cs_config"; exit ;;
5342 --debug |
--debu |
--deb |
--de |
--d |
-d )
5344 --file |
--fil |
--fi |
--f )
5347 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5348 '') as_fn_error $?
"missing file argument" ;;
5350 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5351 ac_need_defaults
=false
;;
5352 --header |
--heade |
--head |
--hea )
5355 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5357 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5358 ac_need_defaults
=false
;;
5360 # Conflict between --help and --header
5361 as_fn_error $?
"ambiguous option: \`$1'
5362 Try \`$0 --help' for more information.";;
5363 --help |
--hel |
-h )
5364 $as_echo "$ac_cs_usage"; exit ;;
5365 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5366 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5370 -*) as_fn_error $?
"unrecognized option: \`$1'
5371 Try \`$0 --help' for more information." ;;
5373 *) as_fn_append ac_config_targets
" $1"
5374 ac_need_defaults
=false
;;
5380 ac_configure_extra_args
=
5382 if $ac_cs_silent; then
5384 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5389 if \$ac_cs_recheck; then
5390 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5392 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5393 CONFIG_SHELL='$SHELL'
5399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5404 ## Running $as_me. ##
5410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5415 # Handling of arguments.
5416 for ac_config_target
in $ac_config_targets
5418 case $ac_config_target in
5419 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5420 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5421 "libevent/Makefile") CONFIG_FILES
="$CONFIG_FILES libevent/Makefile" ;;
5422 "../scripts/pppoe-connect") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-connect" ;;
5423 "../scripts/pppoe-start") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-start" ;;
5424 "../scripts/pppoe-stop") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-stop" ;;
5425 "../scripts/pppoe-init") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-init" ;;
5426 "../scripts/pppoe-init-suse") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-init-suse" ;;
5427 "../scripts/pppoe-init-turbolinux") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-init-turbolinux" ;;
5428 "../scripts/pppoe-setup") CONFIG_FILES
="$CONFIG_FILES ../scripts/pppoe-setup" ;;
5429 "../gui/Makefile") CONFIG_FILES
="$CONFIG_FILES ../gui/Makefile" ;;
5430 "../gui/tkpppoe") CONFIG_FILES
="$CONFIG_FILES ../gui/tkpppoe" ;;
5431 "$EXTRACONFIGS") CONFIG_FILES
="$CONFIG_FILES $EXTRACONFIGS" ;;
5433 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5438 # If the user did not use the arguments to specify the items to instantiate,
5439 # then the envvar interface is used. Set only those that are not.
5440 # We use the long form for the default assignment because of an extremely
5441 # bizarre bug on SunOS 4.1.3.
5442 if $ac_need_defaults; then
5443 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5444 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5447 # Have a temporary directory for convenience. Make it in the build tree
5448 # simply because there is no reason against having it here, and in addition,
5449 # creating and moving files from /tmp can sometimes cause problems.
5450 # Hook for its removal unless debugging.
5451 # Note that there is a small window in which the directory will not be cleaned:
5452 # after its creation but before its name has been assigned to `$tmp'.
5456 trap 'exit_status=$?
5457 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5459 trap 'as_fn_exit 1' 1 2 13 15
5461 # Create a (secure) tmp directory for tmp files.
5464 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5465 test -n "$tmp" && test -d "$tmp"
5468 tmp
=.
/conf$$
-$RANDOM
5469 (umask 077 && mkdir
"$tmp")
5470 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5472 # Set up the scripts for CONFIG_FILES section.
5473 # No need to generate them if there are no CONFIG_FILES.
5474 # This happens for instance with `./config.status config.h'.
5475 if test -n "$CONFIG_FILES"; then
5478 ac_cr
=`echo X | tr X '\015'`
5479 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5480 # But we know of no other shell where ac_cr would be empty at this
5481 # point, so we can use a bashism as a fallback.
5482 if test "x$ac_cr" = x
; then
5483 eval ac_cr
=\$
\'\\r
\'
5485 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5486 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5492 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5497 echo "cat >conf$$subs.awk <<_ACEOF" &&
5498 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5501 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5502 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5504 for ac_last_try in false false false false false :; do
5505 . ./conf$$subs.sh ||
5506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5508 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5509 if test $ac_delim_n = $ac_delim_num; then
5511 elif $ac_last_try; then
5512 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5514 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5520 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5524 s/^/S["/; s
/!.
*/"]=/
5534 s/\(.\{148\}\)..*/\1/
5536 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5541 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5548 s/\(.\{148\}\)..*/\1/
5550 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5554 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5559 ' <conf$$subs.awk | sed '
5564 ' >>$CONFIG_STATUS || ac_write_fail=1
5565 rm -f conf$$subs.awk
5566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5568 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5569 for (key in S) S_is_set[key] = 1
5575 nfields = split(line, field, "@
")
5577 len = length(field[1])
5578 for (i = 2; i < nfields; i++) {
5580 keylen = length(key)
5581 if (S_is_set[key]) {
5583 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5584 len += length(value) + length(field[++i])
5595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5596 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5597 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5600 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5601 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5604 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5605 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5606 # trailing colons and then remove the whole line if VPATH becomes empty
5607 # (actually we leave an empty line to preserve line numbers).
5608 if test "x
$srcdir" = x.; then
5609 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5628 fi # test -n "$CONFIG_FILES"
5630 # Set up the scripts for CONFIG_HEADERS section.
5631 # No need to generate them if there are no CONFIG_HEADERS.
5632 # This happens for instance with `./config.status Makefile'.
5633 if test -n "$CONFIG_HEADERS"; then
5634 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5638 # Transform confdefs.h into an awk script `defines.awk', embedded as
5639 # here-document in config.status, that substitutes the proper values into
5640 # config.h.in to produce config.h.
5642 # Create a delimiter string that does not exist in confdefs.h, to ease
5643 # handling of long lines.
5645 for ac_last_try in false false :; do
5646 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5647 if test -z "$ac_t"; then
5649 elif $ac_last_try; then
5650 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5652 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5656 # For the awk script, D is an array of macro values keyed by name,
5657 # likewise P contains macro parameters if any. Preserve backslash
5658 # newline sequences.
5660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5662 s/.\{148\}/&'"$ac_delim"'/g
5665 s/^[ ]*#[ ]*define[ ][ ]*/ /
5672 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5674 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5679 D["\
1"]=" \
3\\\\\\n
"\\/p
5681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5686 s/.\{148\}/&'"$ac_delim"'/g
5691 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5694 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5696 ' <confdefs.h | sed '
5697 s/'"$ac_delim"'/"\\\
5698 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5701 for (key in D) D_is_set[key] = 1
5704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5706 split(line, arg, " ")
5707 if (arg[1] == "#") {
5711 defundef
= substr
(arg
[1], 2)
5714 split(mac1
, mac2
, "(") #)
5716 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5717 if (D_is_set
[macro
]) {
5718 # Preserve the white space surrounding the "#".
5719 print prefix
"define", macro P
[macro
] D
[macro
]
5722 # Replace #undef with comments. This is necessary, for example,
5723 # in the case of _POSIX_SOURCE, which is predefined and required
5724 # on some systems where configure will not decide to define it.
5725 if (defundef
== "undef") {
5726 print
"/*", prefix defundef
, macro
, "*/"
5734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5735 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5736 fi # test -n "$CONFIG_HEADERS"
5739 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5744 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5746 case $ac_mode$ac_tag in
5748 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5749 :[FH
]-) ac_tag
=-:-;;
5750 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5767 -) ac_f
="$tmp/stdin";;
5768 *) # Look for the file first in the build tree, then in the source tree
5769 # (if the path is not absolute). The absolute path cannot be DOS-style,
5770 # because $ac_f cannot contain `:'.
5774 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5776 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5778 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5779 as_fn_append ac_file_inputs
" '$ac_f'"
5782 # Let's still pretend it is `configure' which instantiates (i.e., don't
5783 # use $as_me), people would be surprised to read:
5784 # /* config.h. Generated by config.status. */
5785 configure_input
='Generated from '`
5786 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5788 if test x
"$ac_file" != x-
; then
5789 configure_input
="$ac_file. $configure_input"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5791 $as_echo "$as_me: creating $ac_file" >&6;}
5793 # Neutralize special characters interpreted by sed in replacement strings.
5794 case $configure_input in #(
5795 *\
&* |
*\|
* |
*\\* )
5796 ac_sed_conf_input
=`$as_echo "$configure_input" |
5797 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5798 *) ac_sed_conf_input
=$configure_input;;
5802 *:-:* |
*:-) cat >"$tmp/stdin" \
5803 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5808 ac_dir
=`$as_dirname -- "$ac_file" ||
5809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5810 X"$ac_file" : 'X\(//\)[^/]' \| \
5811 X"$ac_file" : 'X\(//\)$' \| \
5812 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5813 $as_echo X"$ac_file" |
5814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5831 as_dir
="$ac_dir"; as_fn_mkdir_p
5835 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5837 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5838 # A ".." for each directory in $ac_dir_suffix.
5839 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5840 case $ac_top_builddir_sub in
5841 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5842 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5845 ac_abs_top_builddir
=$ac_pwd
5846 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5847 # for backward compatibility:
5848 ac_top_builddir
=$ac_top_build_prefix
5851 .
) # We are building in place.
5853 ac_top_srcdir
=$ac_top_builddir_sub
5854 ac_abs_top_srcdir
=$ac_pwd ;;
5855 [\\/]* | ?
:[\\/]* ) # Absolute name.
5856 ac_srcdir
=$srcdir$ac_dir_suffix;
5857 ac_top_srcdir
=$srcdir
5858 ac_abs_top_srcdir
=$srcdir ;;
5860 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5861 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5862 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5864 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5874 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5875 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5880 # If the template does not know about datarootdir, expand it.
5881 # FIXME: This hack should be removed a few years after 2.60.
5882 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5893 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5894 *datarootdir
*) ac_datarootdir_seen
=yes;;
5895 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5897 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5900 ac_datarootdir_hack='
5901 s&@datadir@&$datadir&g
5902 s&@docdir@&$docdir&g
5903 s&@infodir@&$infodir&g
5904 s&@localedir@&$localedir&g
5905 s&@mandir@&$mandir&g
5906 s&\\\${datarootdir}&$datarootdir&g' ;;
5910 # Neutralize VPATH when `$srcdir' = `.'.
5911 # Shell code in configure.ac might set extrasub.
5912 # FIXME: do we really want to maintain this feature?
5913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5914 ac_sed_extra="$ac_vpsub
5917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5919 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5920 s|@configure_input@|
$ac_sed_conf_input|
;t t
5921 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5922 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5923 s
&@srcdir@
&$ac_srcdir&;t t
5924 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5925 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5926 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5927 s
&@builddir@
&$ac_builddir&;t t
5928 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5929 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5930 s
&@INSTALL@
&$ac_INSTALL&;t t
5931 $ac_datarootdir_hack
5933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5934 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5937 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5938 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5940 which seems to be undefined. Please make sure it is defined" >&5
5941 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5942 which seems to be undefined. Please make sure it is defined" >&2;}
5946 -) cat "$tmp/out" && rm -f "$tmp/out";;
5947 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5949 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5955 if test x"$ac_file" != x-; then
5957 $as_echo "/* $configure_input */" \
5958 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5959 } >"$tmp/config.h" \
5960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5961 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5963 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5966 mv "$tmp/config.h" "$ac_file" \
5967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5970 $as_echo "/* $configure_input */" \
5971 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5972 || as_fn_error $? "could not create -" "$LINENO" 5
5984 ac_clean_files=$ac_clean_files_save
5986 test $ac_write_fail = 0 ||
5987 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5990 # configure is writing to config.log, and then calls config.status.
5991 # config.status does its own redirection, appending to config.log.
5992 # Unfortunately, on DOS this fails, as config.log is still kept open
5993 # by configure, so config.status won't be able to
write to it
; its
5994 # output is simply discarded. So we exec the FD to /dev/null,
5995 # effectively closing config.log, so it can be properly (re)opened and
5996 # appended to by config.status. When coming back to configure, we
5997 # need to make the FD available again.
5998 if test "$no_create" != yes; then
6000 ac_config_status_args
=
6001 test "$silent" = yes &&
6002 ac_config_status_args
="$ac_config_status_args --quiet"
6004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6006 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6007 # would make configure fail if this is the last instruction.
6008 $ac_cs_success || as_fn_exit
1
6010 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6012 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On this platform, the following targets will be built:" >&5
6017 $as_echo "On this platform, the following targets will be built:" >&6; }
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGETS" >&5
6019 $as_echo "$TARGETS" >&6; }
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Type 'make' to compile the software." >&5
6021 $as_echo "Type 'make' to compile the software." >&6; }