Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / rp-pppoe / src / configure
blob4dc5b81486720394ed542564cfe7985a19eb850f
1 #! /bin/sh
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
8 # Foundation, Inc.
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 :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
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
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
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 || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
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 :
138 emulate sh
139 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
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; }
159 exitcode=0
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 :
166 else
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 :
176 as_have_required=yes
177 else
178 as_have_required=no
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
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 :
199 break 2
202 done;;
203 esac
204 as_found=false
205 done
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
209 fi; }
210 IFS=$as_save_IFS
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.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
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."
230 else
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."
236 exit 1
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
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 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
254 { eval $1=; unset $1;}
256 as_unset=as_fn_unset
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
263 return $1
264 } # as_fn_set_status
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
307 /^X\(\/\/\)$/{
308 s//\1/
311 /^X\(\/\).*/{
312 s//\1/
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322 } # as_fn_mkdir_p
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
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
332 eval $1+=\$2
334 else
335 as_fn_append ()
337 eval $1=\$$1\$2
339 fi # as_fn_append
341 # as_fn_arith ARG...
342 # ------------------
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 :
347 eval 'as_fn_arith ()
349 as_val=$(( $* ))
351 else
352 as_fn_arith ()
354 as_val=`expr "$@" || test $? -eq 1`
356 fi # as_fn_arith
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.
364 as_fn_error ()
366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$4"; then
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
373 } # as_fn_error
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
403 /^X\/\(\/\/\)$/{
404 s//\1/
407 /^X\/\(\/\).*/{
408 s//\1/
411 s/.*/./; q'`
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. :-)
426 sed -n '
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
434 :lineno
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
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).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
462 ECHO_N='-n';;
463 esac
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
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
474 as_ln_s='ln -s'
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 ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
486 else
487 as_ln_s='cp -p'
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"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
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
530 exec 6>&1
532 # Name of the host.
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`
538 # Initializations.
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
557 ac_unique_file="pppoe.c"
558 ac_default_prefix=/usr
559 # Factoring default headers for most tests.
560 ac_includes_default="\
561 #include <stdio.h>
562 #ifdef HAVE_SYS_TYPES_H
563 # include <sys/types.h>
564 #endif
565 #ifdef HAVE_SYS_STAT_H
566 # include <sys/stat.h>
567 #endif
568 #ifdef STDC_HEADERS
569 # include <stdlib.h>
570 # include <stddef.h>
571 #else
572 # ifdef HAVE_STDLIB_H
573 # include <stdlib.h>
574 # endif
575 #endif
576 #ifdef HAVE_STRING_H
577 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 # include <memory.h>
579 # endif
580 # include <string.h>
581 #endif
582 #ifdef HAVE_STRINGS_H
583 # include <strings.h>
584 #endif
585 #ifdef HAVE_INTTYPES_H
586 # include <inttypes.h>
587 #endif
588 #ifdef HAVE_STDINT_H
589 # include <stdint.h>
590 #endif
591 #ifdef HAVE_UNISTD_H
592 # include <unistd.h>
593 #endif"
595 ac_subst_vars='LTLIBOBJS
596 datadir_evaluated
597 LIBEVENT
598 RDYNAMIC
599 PPPOE_SERVER_DEPS
600 LIC_DEFINE
601 LIC_MAKEFILE_INCLUDE
602 LIC_LIB
603 LIC_LIBDIR
604 LIC_INCDIR
605 TARGETS
606 WRAPPER
608 SETSID
609 ECHO
610 PPPD
611 INSTALL_DATA
612 INSTALL_SCRIPT
613 INSTALL_PROGRAM
614 LIBOBJS
615 PPPOE_RELAY
616 PPPD_H
617 PPPD_INCDIR
618 LINUX_KERNELMODE_PLUGIN
619 EGREP
620 GREP
622 RANLIB
623 OBJEXT
624 EXEEXT
625 ac_ct_CC
626 CPPFLAGS
627 LDFLAGS
628 CFLAGS
630 target_alias
631 host_alias
632 build_alias
633 LIBS
634 ECHO_T
635 ECHO_N
636 ECHO_C
637 DEFS
638 mandir
639 localedir
640 libdir
641 psdir
642 pdfdir
643 dvidir
644 htmldir
645 infodir
646 docdir
647 oldincludedir
648 includedir
649 localstatedir
650 sharedstatedir
651 sysconfdir
652 datadir
653 datarootdir
654 libexecdir
655 sbindir
656 bindir
657 program_transform_name
658 prefix
659 exec_prefix
660 PACKAGE_URL
661 PACKAGE_BUGREPORT
662 PACKAGE_STRING
663 PACKAGE_VERSION
664 PACKAGE_TARNAME
665 PACKAGE_NAME
666 PATH_SEPARATOR
667 SHELL'
668 ac_subst_files=''
669 ac_user_opts='
670 enable_option_checking
671 enable_plugin
672 enable_debugging
673 enable_licenses
675 ac_precious_vars='build_alias
676 host_alias
677 target_alias
679 CFLAGS
680 LDFLAGS
681 LIBS
682 CPPFLAGS
683 CPP'
686 # Initialize some variables set by options.
687 ac_init_help=
688 ac_init_version=false
689 ac_unrecognized_opts=
690 ac_unrecognized_sep=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
693 cache_file=/dev/null
694 exec_prefix=NONE
695 no_create=
696 no_recursion=
697 prefix=NONE
698 program_prefix=NONE
699 program_suffix=NONE
700 program_transform_name=s,x,x,
701 silent=
702 site=
703 srcdir=
704 verbose=
705 x_includes=NONE
706 x_libraries=NONE
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'
726 htmldir='${docdir}'
727 dvidir='${docdir}'
728 pdfdir='${docdir}'
729 psdir='${docdir}'
730 libdir='${exec_prefix}/lib'
731 localedir='${datarootdir}/locale'
732 mandir='${datarootdir}/man'
734 ac_prev=
735 ac_dashdash=
736 for ac_option
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\$ac_option
741 ac_prev=
742 continue
745 case $ac_option in
746 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 *=) ac_optarg= ;;
748 *) ac_optarg=yes ;;
749 esac
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
755 ac_dashdash=yes ;;
757 -bindir | --bindir | --bindi | --bind | --bin | --bi)
758 ac_prev=bindir ;;
759 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760 bindir=$ac_optarg ;;
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 ;;
774 --config-cache | -C)
775 cache_file=config.cache ;;
777 -datadir | --datadir | --datadi | --datad)
778 ac_prev=datadir ;;
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
798 "enable_$ac_useropt"
799 "*) ;;
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
802 esac
803 eval enable_$ac_useropt=no ;;
805 -docdir | --docdir | --docdi | --doc | --do)
806 ac_prev=docdir ;;
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 docdir=$ac_optarg ;;
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 ac_prev=dvidir ;;
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 dvidir=$ac_optarg ;;
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
824 "enable_$ac_useropt"
825 "*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
828 esac
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.
842 with_gas=yes ;;
844 -help | --help | --hel | --he | -h)
845 ac_init_help=long ;;
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)
857 ac_prev=htmldir ;;
858 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859 | --ht=*)
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)
870 ac_prev=infodir ;;
871 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872 infodir=$ac_optarg ;;
874 -libdir | --libdir | --libdi | --libd)
875 ac_prev=libdir ;;
876 -libdir=* | --libdir=* | --libdi=* | --libd=*)
877 libdir=$ac_optarg ;;
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)
887 ac_prev=localedir ;;
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)
899 ac_prev=mandir ;;
900 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901 mandir=$ac_optarg ;;
903 -nfp | --nfp | --nf)
904 # Obsolete; use --without-fp.
905 with_fp=no ;;
907 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908 | --no-cr | --no-c | -n)
909 no_create=yes ;;
911 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913 no_recursion=yes ;;
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)
925 ac_prev=prefix ;;
926 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927 prefix=$ac_optarg ;;
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)
961 ac_prev=pdfdir ;;
962 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963 pdfdir=$ac_optarg ;;
965 -psdir | --psdir | --psdi | --psd | --ps)
966 ac_prev=psdir ;;
967 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968 psdir=$ac_optarg ;;
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
972 silent=yes ;;
974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975 ac_prev=sbindir ;;
976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977 | --sbi=* | --sb=*)
978 sbindir=$ac_optarg ;;
980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982 | --sharedst | --shareds | --shared | --share | --shar \
983 | --sha | --sh)
984 ac_prev=sharedstatedir ;;
985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988 | --sha=* | --sh=*)
989 sharedstatedir=$ac_optarg ;;
991 -site | --site | --sit)
992 ac_prev=site ;;
993 -site=* | --site=* | --sit=*)
994 site=$ac_optarg ;;
996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997 ac_prev=srcdir ;;
998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999 srcdir=$ac_optarg ;;
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)
1014 verbose=yes ;;
1016 -version | --version | --versio | --versi | --vers | -V)
1017 ac_init_version=: ;;
1019 -with-* | --with-*)
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
1028 "with_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
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
1044 "with_$ac_useropt"
1045 "*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval with_$ac_useropt=no ;;
1051 --x)
1052 # Obsolete; use --with-x.
1053 with_x=yes ;;
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"
1073 *=*)
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'" ;;
1079 esac
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}
1091 esac
1092 done
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
1101 no) ;;
1102 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 esac
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.
1115 case $ac_val in
1116 */ )
1117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\$ac_val;;
1119 esac
1120 # Be sure to have absolute directory names.
1121 case $ac_val in
1122 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1124 esac
1125 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1126 done
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.
1131 build=$build_alias
1132 host=$host_alias
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
1142 cross_compiling=yes
1146 ac_tool_prefix=
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 s//\1/
1174 /^X\(\/\/\)[^/].*/{
1175 s//\1/
1178 /^X\(\/\/\)$/{
1179 s//\1/
1182 /^X\(\/\).*/{
1183 s//\1/
1186 s/.*/./; q'`
1187 srcdir=$ac_confdir
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 srcdir=..
1191 else
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"
1199 ac_abs_confdir=`(
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1201 pwd)`
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 srcdir=.
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.
1209 case $srcdir in
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 esac
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}
1217 done
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.
1225 cat <<_ACEOF
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.
1235 Configuration:
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
1250 [PREFIX]
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]
1279 _ACEOF
1281 cat <<\_ACEOF
1282 _ACEOF
1285 if test -n "$ac_init_help"; then
1287 cat <<\_ACEOF
1289 Optional Features:
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>
1305 CPP C preprocessor
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.
1311 _ACEOF
1312 ac_status=$?
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"; } ||
1320 continue
1321 ac_builddir=.
1323 case "$ac_dir" in
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/ ;;
1332 esac ;;
1333 esac
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
1339 case $srcdir in
1340 .) # We are building in place.
1341 ac_srcdir=.
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 ;;
1348 *) # Relative name.
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 ;;
1352 esac
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
1358 echo &&
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1363 else
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 fi || ac_status=$?
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1367 done
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1372 cat <<\_ACEOF
1373 configure
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.
1379 _ACEOF
1380 exit
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"
1395 case "(($ac_try" in
1396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1397 *) ac_try_echo=$ac_try;;
1398 esac
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
1402 ac_status=$?
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 :
1413 ac_retval=0
1414 else
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.$ac_ext >&5
1418 ac_retval=1
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.
1428 ac_fn_c_try_cpp ()
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 if { { ac_try="$ac_cpp conftest.$ac_ext"
1432 case "(($ac_try" in
1433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1434 *) ac_try_echo=$ac_try;;
1435 esac
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
1439 ac_status=$?
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
1449 }; then :
1450 ac_retval=0
1451 else
1452 $as_echo "$as_me: failed program was:" >&5
1453 sed 's/^/| /' conftest.$ac_ext >&5
1455 ac_retval=1
1457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1458 as_fn_set_status $ac_retval
1460 } # ac_fn_c_try_cpp
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.
1466 ac_fn_c_try_run ()
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_link"
1470 case "(($ac_try" in
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1473 esac
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
1477 ac_status=$?
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;;
1483 esac
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
1487 ac_status=$?
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; }; }; then :
1490 ac_retval=0
1491 else
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
1502 } # ac_fn_c_try_run
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
1508 # accordingly.
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
1518 eval ac_res=\$$3
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1520 $as_echo "$ac_res" >&6; }
1521 else
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. */
1528 #include <$2>
1529 _ACEOF
1530 if ac_fn_c_try_compile "$LINENO"; then :
1531 ac_header_compiler=yes
1532 else
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. */
1544 #include <$2>
1545 _ACEOF
1546 if ac_fn_c_try_cpp "$LINENO"; then :
1547 ac_header_preproc=yes
1548 else
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 #((
1557 yes:no: )
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;}
1563 no:yes:* )
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;}
1575 esac
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
1580 else
1581 eval "$3=\$ac_header_compiler"
1583 eval ac_res=\$$3
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
1602 else
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1606 #include <$2>
1607 _ACEOF
1608 if ac_fn_c_try_compile "$LINENO"; then :
1609 eval "$3=yes"
1610 else
1611 eval "$3=no"
1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 eval ac_res=\$$3
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
1633 else
1634 eval "$3=no"
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1639 main ()
1641 if (sizeof ($2))
1642 return 0;
1644 return 0;
1646 _ACEOF
1647 if ac_fn_c_try_compile "$LINENO"; then :
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1652 main ()
1654 if (sizeof (($2)))
1655 return 0;
1657 return 0;
1659 _ACEOF
1660 if ac_fn_c_try_compile "$LINENO"; then :
1662 else
1663 eval "$3=yes"
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1669 eval ac_res=\$$3
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.
1679 ac_fn_c_try_link ()
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"
1684 case "(($ac_try" in
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1687 esac
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
1691 ac_status=$?
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
1704 }; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1710 ac_retval=1
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
1732 else
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. */
1744 #ifdef __STDC__
1745 # include <limits.h>
1746 #else
1747 # include <assert.h>
1748 #endif
1750 #undef $2
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. */
1755 #ifdef __cplusplus
1756 extern "C"
1757 #endif
1758 char $2 ();
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
1763 choke me
1764 #endif
1767 main ()
1769 return $2 ();
1771 return 0;
1773 _ACEOF
1774 if ac_fn_c_try_link "$LINENO"; then :
1775 eval "$3=yes"
1776 else
1777 eval "$3=no"
1779 rm -f core conftest.err conftest.$ac_objext \
1780 conftest$ac_exeext conftest.$ac_ext
1782 eval ac_res=\$$3
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
1793 # computed
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. */
1803 main ()
1805 static int test_array [1 - 2 * !(($2) >= 0)];
1806 test_array [0] = 0
1809 return 0;
1811 _ACEOF
1812 if ac_fn_c_try_compile "$LINENO"; then :
1813 ac_lo=0 ac_mid=0
1814 while :; do
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1819 main ()
1821 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1822 test_array [0] = 0
1825 return 0;
1827 _ACEOF
1828 if ac_fn_c_try_compile "$LINENO"; then :
1829 ac_hi=$ac_mid; break
1830 else
1831 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1832 if test $ac_lo -le $ac_mid; then
1833 ac_lo= ac_hi=
1834 break
1836 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1839 done
1840 else
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1845 main ()
1847 static int test_array [1 - 2 * !(($2) < 0)];
1848 test_array [0] = 0
1851 return 0;
1853 _ACEOF
1854 if ac_fn_c_try_compile "$LINENO"; then :
1855 ac_hi=-1 ac_mid=-1
1856 while :; do
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1861 main ()
1863 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1864 test_array [0] = 0
1867 return 0;
1869 _ACEOF
1870 if ac_fn_c_try_compile "$LINENO"; then :
1871 ac_lo=$ac_mid; break
1872 else
1873 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1874 if test $ac_mid -le $ac_hi; then
1875 ac_lo= ac_hi=
1876 break
1878 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 done
1882 else
1883 ac_lo= ac_hi=
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. */
1895 main ()
1897 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1898 test_array [0] = 0
1901 return 0;
1903 _ACEOF
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 ac_hi=$ac_mid
1906 else
1907 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 done
1911 case $ac_lo in #((
1912 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1913 '') ac_retval=1 ;;
1914 esac
1915 else
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; }
1921 #include <stdio.h>
1922 #include <stdlib.h>
1924 main ()
1927 FILE *f = fopen ("conftest.val", "w");
1928 if (! f)
1929 return 1;
1930 if (($2) < 0)
1932 long int i = longval ();
1933 if (i != ($2))
1934 return 1;
1935 fprintf (f, "%ld", i);
1937 else
1939 unsigned long int i = ulongval ();
1940 if (i != ($2))
1941 return 1;
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;
1949 return 0;
1951 _ACEOF
1952 if ac_fn_c_try_run "$LINENO"; then :
1953 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1954 else
1955 ac_retval=1
1957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1958 conftest.$ac_objext conftest.beam conftest.$ac_ext
1959 rm -f conftest.val
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
1973 $ $0 $@
1975 _ACEOF
1976 exec 5>>config.log
1978 cat <<_ASUNAME
1979 ## --------- ##
1980 ## Platform. ##
1981 ## --------- ##
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`
2000 _ASUNAME
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 for as_dir in $PATH
2005 IFS=$as_save_IFS
2006 test -z "$as_dir" && as_dir=.
2007 $as_echo "PATH: $as_dir"
2008 done
2009 IFS=$as_save_IFS
2011 } >&5
2013 cat >&5 <<_ACEOF
2016 ## ----------- ##
2017 ## Core tests. ##
2018 ## ----------- ##
2020 _ACEOF
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.
2028 ac_configure_args=
2029 ac_configure_args0=
2030 ac_configure_args1=
2031 ac_must_keep_next=false
2032 for ac_pass in 1 2
2034 for ac_arg
2036 case $ac_arg in
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)
2040 continue ;;
2041 *\'*)
2042 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2043 esac
2044 case $ac_pass in
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.
2050 else
2051 case $ac_arg in
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 ;;
2058 esac
2060 -* ) ac_must_keep_next=true ;;
2061 esac
2063 as_fn_append ac_configure_args " '$ac_arg'"
2065 esac
2066 done
2067 done
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.
2079 echo
2081 $as_echo "## ---------------- ##
2082 ## Cache variables. ##
2083 ## ---------------- ##"
2084 echo
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
2089 case $ac_val in #(
2090 *${as_nl}*)
2091 case $ac_var in #(
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;} ;;
2094 esac
2095 case $ac_var in #(
2096 _ | IFS | as_nl) ;; #(
2097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2098 *) { eval $ac_var=; unset $ac_var;} ;;
2099 esac ;;
2100 esac
2101 done
2102 (set) 2>&1 |
2103 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2104 *${as_nl}ac_space=\ *)
2105 sed -n \
2106 "s/'\''/'\''\\\\'\'''\''/g;
2107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2108 ;; #(
2110 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2112 esac |
2113 sort
2115 echo
2117 $as_echo "## ----------------- ##
2118 ## Output variables. ##
2119 ## ----------------- ##"
2120 echo
2121 for ac_var in $ac_subst_vars
2123 eval ac_val=\$$ac_var
2124 case $ac_val in
2125 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 esac
2127 $as_echo "$ac_var='\''$ac_val'\''"
2128 done | sort
2129 echo
2131 if test -n "$ac_subst_files"; then
2132 $as_echo "## ------------------- ##
2133 ## File substitutions. ##
2134 ## ------------------- ##"
2135 echo
2136 for ac_var in $ac_subst_files
2138 eval ac_val=\$$ac_var
2139 case $ac_val in
2140 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 esac
2142 $as_echo "$ac_var='\''$ac_val'\''"
2143 done | sort
2144 echo
2147 if test -s confdefs.h; then
2148 $as_echo "## ----------- ##
2149 ## confdefs.h. ##
2150 ## ----------- ##"
2151 echo
2152 cat confdefs.h
2153 echo
2155 test "$ac_signal" != 0 &&
2156 $as_echo "$as_me: caught signal $ac_signal"
2157 $as_echo "$as_me: exit $exit_status"
2158 } >&5
2159 rm -f core *.core core.conftest.* &&
2160 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2161 exit $exit_status
2163 for ac_signal in 1 2 13 15; do
2164 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2165 done
2166 ac_signal=0
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"
2177 _ACEOF
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2181 _ACEOF
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2185 _ACEOF
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_STRING "$PACKAGE_STRING"
2189 _ACEOF
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2193 _ACEOF
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_URL "$PACKAGE_URL"
2197 _ACEOF
2200 # Let the site file select an alternate cache file if it wants to.
2201 # Prefer an explicitly selected file to automatically selected ones.
2202 ac_site_file1=NONE
2203 ac_site_file2=NONE
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;;
2210 esac
2211 elif test "x$prefix" != xNONE; then
2212 ac_site_file1=$prefix/share/config.site
2213 ac_site_file2=$prefix/etc/config.site
2214 else
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
2225 . "$ac_site_file" \
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 ; }
2231 done
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;}
2239 case $cache_file in
2240 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2241 *) . "./$cache_file";;
2242 esac
2244 else
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2246 $as_echo "$as_me: creating cache $cache_file" >&6;}
2247 >$cache_file
2250 # Check that the precious variables saved in the cache have kept the same
2251 # value.
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
2259 set,)
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=: ;;
2263 ,set)
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=: ;;
2267 ,);;
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=:
2277 else
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;}
2286 fi;;
2287 esac
2288 # Pass precious variables to config.status.
2289 if test "$ac_new_set" = set; then
2290 case $ac_new_val in
2291 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2292 *) ac_arg=$ac_var=$ac_new_val ;;
2293 esac
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'" ;;
2297 esac
2299 done
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 ## -------------------- ##
2311 ac_ext=c
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"
2326 ac_ext=c
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
2338 else
2339 if test -n "$CC"; then
2340 ac_cv_prog_CC="$CC" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2345 IFS=$as_save_IFS
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
2351 break 2
2353 done
2354 done
2355 IFS=$as_save_IFS
2359 CC=$ac_cv_prog_CC
2360 if test -n "$CC"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2362 $as_echo "$CC" >&6; }
2363 else
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
2371 ac_ct_CC=$CC
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
2378 else
2379 if test -n "$ac_ct_CC"; then
2380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2385 IFS=$as_save_IFS
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
2391 break 2
2393 done
2394 done
2395 IFS=$as_save_IFS
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; }
2403 else
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
2409 CC=""
2410 else
2411 case $cross_compiling:$ac_tool_warned in
2412 yes:)
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 ;;
2416 esac
2417 CC=$ac_ct_CC
2419 else
2420 CC="$ac_cv_prog_CC"
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
2431 else
2432 if test -n "$CC"; then
2433 ac_cv_prog_CC="$CC" # Let the user override the test.
2434 else
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 for as_dir in $PATH
2438 IFS=$as_save_IFS
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
2444 break 2
2446 done
2447 done
2448 IFS=$as_save_IFS
2452 CC=$ac_cv_prog_CC
2453 if test -n "$CC"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2455 $as_echo "$CC" >&6; }
2456 else
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
2471 else
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 else
2475 ac_prog_rejected=no
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH
2479 IFS=$as_save_IFS
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
2485 continue
2487 ac_cv_prog_CC="cc"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2
2491 done
2492 done
2493 IFS=$as_save_IFS
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
2498 shift
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.
2503 shift
2504 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2509 CC=$ac_cv_prog_CC
2510 if test -n "$CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2512 $as_echo "$CC" >&6; }
2513 else
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
2530 else
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC="$CC" # Let the user override the test.
2533 else
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 for as_dir in $PATH
2537 IFS=$as_save_IFS
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
2543 break 2
2545 done
2546 done
2547 IFS=$as_save_IFS
2551 CC=$ac_cv_prog_CC
2552 if test -n "$CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2555 else
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2561 test -n "$CC" && break
2562 done
2564 if test -z "$CC"; then
2565 ac_ct_CC=$CC
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
2574 else
2575 if test -n "$ac_ct_CC"; then
2576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2581 IFS=$as_save_IFS
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
2587 break 2
2589 done
2590 done
2591 IFS=$as_save_IFS
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; }
2599 else
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2605 test -n "$ac_ct_CC" && break
2606 done
2608 if test "x$ac_ct_CC" = x; then
2609 CC=""
2610 else
2611 case $cross_compiling:$ac_tool_warned in
2612 yes:)
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 ;;
2616 esac
2617 CC=$ac_ct_CC
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
2631 set X $ac_compile
2632 ac_compiler=$2
2633 for ac_option in --version -v -V -qversion; do
2634 { { ac_try="$ac_compiler $ac_option >&5"
2635 case "(($ac_try" in
2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2638 esac
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
2642 ac_status=$?
2643 if test -s conftest.err; then
2644 sed '10a\
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; }
2652 done
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2658 main ()
2662 return 0;
2664 _ACEOF
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
2669 # of exeext.
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.*"
2677 ac_rmfiles=
2678 for ac_file in $ac_files
2680 case $ac_file in
2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2682 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2683 esac
2684 done
2685 rm -f $ac_rmfiles
2687 if { { ac_try="$ac_link_default"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
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
2695 ac_status=$?
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
2702 # Autoconf.
2703 for ac_file in $ac_files ''
2705 test -f "$ac_file" || continue
2706 case $ac_file in
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2709 [ab].out )
2710 # We found the default executable, but exeext='' is most
2711 # certainly right.
2712 break;;
2713 *.* )
2714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2715 then :; else
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
2722 # actually working.
2723 break;;
2725 break;;
2726 esac
2727 done
2728 test "$ac_cv_exeext" = no && ac_cv_exeext=
2730 else
2731 ac_file=''
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 ; }
2743 else
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"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
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
2765 ac_status=$?
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
2771 # `rm'.
2772 for ac_file in conftest.exe conftest conftest.*; do
2773 test -f "$ac_file" || continue
2774 case $ac_file in
2775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2777 break;;
2778 * ) break;;
2779 esac
2780 done
2781 else
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
2793 ac_exeext=$EXEEXT
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2796 #include <stdio.h>
2798 main ()
2800 FILE *f = fopen ("conftest.out", "w");
2801 return ferror (f) || fclose (f) != 0;
2804 return 0;
2806 _ACEOF
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"
2814 case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817 esac
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
2821 ac_status=$?
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;;
2828 esac
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
2832 ac_status=$?
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; }; }; then
2835 cross_compiling=no
2836 else
2837 if test "$cross_compiling" = maybe; then
2838 cross_compiling=yes
2839 else
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
2857 else
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2862 main ()
2866 return 0;
2868 _ACEOF
2869 rm -f conftest.o conftest.obj
2870 if { { ac_try="$ac_compile"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
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
2878 ac_status=$?
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;
2883 case $ac_file in
2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2886 break;;
2887 esac
2888 done
2889 else
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
2903 ac_objext=$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
2908 else
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2913 main ()
2915 #ifndef __GNUC__
2916 choke me
2917 #endif
2920 return 0;
2922 _ACEOF
2923 if ac_fn_c_try_compile "$LINENO"; then :
2924 ac_compiler_gnu=yes
2925 else
2926 ac_compiler_gnu=no
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
2935 GCC=yes
2936 else
2937 GCC=
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
2945 else
2946 ac_save_c_werror_flag=$ac_c_werror_flag
2947 ac_c_werror_flag=yes
2948 ac_cv_prog_cc_g=no
2949 CFLAGS="-g"
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 ac_cv_prog_cc_g=yes
2963 else
2964 CFLAGS=""
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2969 main ()
2973 return 0;
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2978 else
2979 ac_c_werror_flag=$ac_save_c_werror_flag
2980 CFLAGS="-g"
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2985 main ()
2989 return 0;
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 ac_cv_prog_cc_g=yes
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
3008 CFLAGS="-g -O2"
3009 else
3010 CFLAGS="-g"
3012 else
3013 if test "$GCC" = yes; then
3014 CFLAGS="-O2"
3015 else
3016 CFLAGS=
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
3023 else
3024 ac_cv_prog_cc_c89=no
3025 ac_save_CC=$CC
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3028 #include <stdarg.h>
3029 #include <stdio.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)
3036 char **p;
3037 int i;
3039 return p[i];
3041 static char *f (char * (*g) (char **, int), char **p, ...)
3043 char *s;
3044 va_list v;
3045 va_start (v,p);
3046 s = g (p, va_arg (v,int));
3047 va_end (v);
3048 return s;
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. */
3062 #define FOO(x) 'x'
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);
3069 int argc;
3070 char **argv;
3072 main ()
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 return 0;
3078 _ACEOF
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
3088 done
3089 rm -f conftest.$ac_ext
3090 CC=$ac_save_CC
3093 # AC_CACHE_VAL
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; } ;;
3098 xno)
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; } ;;
3105 esac
3106 if test "x$ac_cv_prog_cc_c89" != xno; then :
3110 ac_ext=c
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
3123 else
3124 if test -n "$RANLIB"; then
3125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3126 else
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 for as_dir in $PATH
3130 IFS=$as_save_IFS
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
3136 break 2
3138 done
3139 done
3140 IFS=$as_save_IFS
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; }
3148 else
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
3163 else
3164 if test -n "$ac_ct_RANLIB"; then
3165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3166 else
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 for as_dir in $PATH
3170 IFS=$as_save_IFS
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
3176 break 2
3178 done
3179 done
3180 IFS=$as_save_IFS
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; }
3188 else
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
3194 RANLIB=":"
3195 else
3196 case $cross_compiling:$ac_tool_warned in
3197 yes:)
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 ;;
3201 esac
3202 RANLIB=$ac_ct_RANLIB
3204 else
3205 RANLIB="$ac_cv_prog_RANLIB"
3211 ac_ext=c
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
3220 CPP=
3222 if test -z "$CPP"; then
3223 if test "${ac_cv_prog_CPP+set}" = set; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 # Double quotes because CPP needs to be expanded
3227 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3229 ac_preproc_ok=false
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. */
3240 #ifdef __STDC__
3241 # include <limits.h>
3242 #else
3243 # include <assert.h>
3244 #endif
3245 Syntax error
3246 _ACEOF
3247 if ac_fn_c_try_cpp "$LINENO"; then :
3249 else
3250 # Broken: fails on valid input.
3251 continue
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>
3260 _ACEOF
3261 if ac_fn_c_try_cpp "$LINENO"; then :
3262 # Broken: success on invalid input.
3263 continue
3264 else
3265 # Passes both tests.
3266 ac_preproc_ok=:
3267 break
3269 rm -f conftest.err conftest.i conftest.$ac_ext
3271 done
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 :
3275 break
3278 done
3279 ac_cv_prog_CPP=$CPP
3282 CPP=$ac_cv_prog_CPP
3283 else
3284 ac_cv_prog_CPP=$CPP
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3287 $as_echo "$CPP" >&6; }
3288 ac_preproc_ok=false
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. */
3299 #ifdef __STDC__
3300 # include <limits.h>
3301 #else
3302 # include <assert.h>
3303 #endif
3304 Syntax error
3305 _ACEOF
3306 if ac_fn_c_try_cpp "$LINENO"; then :
3308 else
3309 # Broken: fails on valid input.
3310 continue
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>
3319 _ACEOF
3320 if ac_fn_c_try_cpp "$LINENO"; then :
3321 # Broken: success on invalid input.
3322 continue
3323 else
3324 # Passes both tests.
3325 ac_preproc_ok=:
3326 break
3328 rm -f conftest.err conftest.i conftest.$ac_ext
3330 done
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 :
3335 else
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 ; }
3342 ac_ext=c
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
3353 else
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/xpg4/bin
3360 IFS=$as_save_IFS
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
3369 *GNU*)
3370 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3372 ac_count=0
3373 $as_echo_n 0123456789 >"conftest.in"
3374 while :
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
3390 done
3391 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3392 esac
3394 $ac_path_GREP_found && break 3
3395 done
3396 done
3397 done
3398 IFS=$as_save_IFS
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
3402 else
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
3416 else
3417 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3418 then ac_cv_path_EGREP="$GREP -E"
3419 else
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/xpg4/bin
3426 IFS=$as_save_IFS
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
3435 *GNU*)
3436 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3438 ac_count=0
3439 $as_echo_n 0123456789 >"conftest.in"
3440 while :
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
3456 done
3457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3458 esac
3460 $ac_path_EGREP_found && break 3
3461 done
3462 done
3463 done
3464 IFS=$as_save_IFS
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
3468 else
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
3483 else
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3486 #include <stdlib.h>
3487 #include <stdarg.h>
3488 #include <string.h>
3489 #include <float.h>
3492 main ()
3496 return 0;
3498 _ACEOF
3499 if ac_fn_c_try_compile "$LINENO"; then :
3500 ac_cv_header_stdc=yes
3501 else
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. */
3510 #include <string.h>
3512 _ACEOF
3513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3514 $EGREP "memchr" >/dev/null 2>&1; then :
3516 else
3517 ac_cv_header_stdc=no
3519 rm -f conftest*
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. */
3527 #include <stdlib.h>
3529 _ACEOF
3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3531 $EGREP "free" >/dev/null 2>&1; then :
3533 else
3534 ac_cv_header_stdc=no
3536 rm -f conftest*
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 :
3544 else
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3547 #include <ctype.h>
3548 #include <stdlib.h>
3549 #if ((' ' & 0x0FF) == 0x020)
3550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3552 #else
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))
3558 #endif
3560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3562 main ()
3564 int i;
3565 for (i = 0; i < 256; i++)
3566 if (XOR (islower (i), ISLOWER (i))
3567 || toupper (i) != TOUPPER (i))
3568 return 2;
3569 return 0;
3571 _ACEOF
3572 if ac_fn_c_try_run "$LINENO"; then :
3574 else
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
3595 else
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3598 #include <sys/types.h>
3599 #include <sys/wait.h>
3600 #ifndef WEXITSTATUS
3601 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3602 #endif
3603 #ifndef WIFEXITED
3604 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3605 #endif
3608 main ()
3610 int s;
3611 wait (&s);
3612 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3614 return 0;
3616 _ACEOF
3617 if ac_fn_c_try_compile "$LINENO"; then :
3618 ac_cv_header_sys_wait_h=yes
3619 else
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
3635 do :
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
3642 _ACEOF
3646 done
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
3650 do :
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
3656 _ACEOF
3660 done
3662 for ac_header in linux/if.h
3663 do :
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
3669 _ACEOF
3673 done
3675 for ac_header in linux/if_pppox.h
3676 do :
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
3687 _ACEOF
3691 done
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
3698 else
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3703 main ()
3705 /* FIXME: Include the comments suggested by Paul. */
3706 #ifndef __cplusplus
3707 /* Ultrix mips cc rejects this. */
3708 typedef int charset[2];
3709 const charset cs;
3710 /* SunOS 4.1.1 cc rejects this. */
3711 char const *const *pcpcc;
3712 char **ppc;
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
3719 expression */
3720 const char *g = "string";
3721 pcpcc = &g + (g ? g-g : 0);
3722 /* HPUX 7.0 cc rejects these. */
3723 ++pcpcc;
3724 ppc = (char**) pcpcc;
3725 pcpcc = (char const *const *) ppc;
3726 { /* SCO 3.2v4 cc rejects this. */
3727 char *t;
3728 char const *s = 0 ? (char *) 0 : (char const *) 0;
3730 *t++ = 0;
3731 if (s) return 0;
3733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3734 int x[] = {25, 17};
3735 const int *foo = &x[0];
3736 ++foo;
3738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3739 typedef const int *iptr;
3740 iptr p = 0;
3741 ++p;
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 */
3749 const int foo = 10;
3750 if (!foo) return 0;
3752 return !cs[0] && !zero.x;
3753 #endif
3756 return 0;
3758 _ACEOF
3759 if ac_fn_c_try_compile "$LINENO"; then :
3760 ac_cv_c_const=yes
3761 else
3762 ac_cv_c_const=no
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 :
3777 else
3779 cat >>confdefs.h <<_ACEOF
3780 #define pid_t int
3781 _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
3789 else
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3792 #include <sys/types.h>
3793 #include <sys/time.h>
3794 #include <time.h>
3797 main ()
3799 if ((struct tm *) 0)
3800 return 0;
3802 return 0;
3804 _ACEOF
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806 ac_cv_header_time=yes
3807 else
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
3824 else
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3827 #include <sys/types.h>
3828 #include <time.h>
3831 main ()
3833 struct tm tm;
3834 int *p = &tm.tm_sec;
3835 return !p;
3837 return 0;
3839 _ACEOF
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841 ac_cv_struct_tm=time.h
3842 else
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>
3865 main ()
3867 struct sockaddr_ll sa;
3869 return 0;
3871 _ACEOF
3872 if ac_fn_c_try_compile "$LINENO"; then :
3873 ac_cv_struct_sockaddr_ll=yes
3874 else
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>
3892 main ()
3894 int x = N_HDLC;
3896 return 0;
3898 _ACEOF
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900 ac_cv_n_hdlc=yes
3901 else
3902 ac_cv_n_hdlc=no
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
3915 else
3916 ac_cv_pluginpath=no
3919 # Check whether --enable-debugging was given.
3920 if test "${enable_debugging+set}" = set; then :
3921 enableval=$enable_debugging; ac_cv_debugging=$enableval
3922 else
3923 ac_cv_debugging=yes
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
3930 ac_cv_pluginpath=$i
3932 done
3935 if test "$ac_cv_pluginpath" = "yes" ; then
3936 echo "*** Could not fined pppd/pppd.h anywhere... not building plugin"
3937 ac_cv_pluginpath=no
3940 # Check whether --enable-licenses was given.
3941 if test "${enable_licenses+set}" = set; then :
3942 enableval=$enable_licenses; ac_cv_licpath=$enableval
3943 else
3944 ac_cv_licpath=no
3948 LIC_INCDIR=""
3949 LIC_LIBDIR=""
3950 LIC_LIB=""
3951 LIC_DEFINE=""
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"
3959 else
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=""
3968 PPPD_INCDIR=""
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
3991 PPPOE_RELAY=""
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
4001 else
4002 if test "$cross_compiling" = yes; then :
4003 ac_cv_func_memcmp_working=no
4004 else
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 $ac_includes_default
4009 main ()
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)
4015 return 1;
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. */
4021 char foo[21];
4022 char bar[21];
4023 int i;
4024 for (i = 0; i < 4; i++)
4026 char *a = foo + i;
4027 char *b = bar + i;
4028 strcpy (a, "--------01111111");
4029 strcpy (b, "--------10000000");
4030 if (memcmp (a, b, 16) >= 0)
4031 return 1;
4033 return 0;
4037 return 0;
4039 _ACEOF
4040 if ac_fn_c_try_run "$LINENO"; then :
4041 ac_cv_func_memcmp_working=yes
4042 else
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"
4056 esac
4059 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4061 else
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
4070 else
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073 #include <sys/types.h>
4074 #include <signal.h>
4077 main ()
4079 return *(signal (0, 0)) (0) == 1;
4081 return 0;
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085 ac_cv_type_signal=int
4086 else
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
4096 _ACEOF
4099 for ac_func in select socket strerror strtol
4100 do :
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
4106 _ACEOF
4109 done
4111 ac_aux_dir=
4112 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4113 if test -f "$ac_dir/install-sh"; then
4114 ac_aux_dir=$ac_dir
4115 ac_install_sh="$ac_aux_dir/install-sh -c"
4116 break
4117 elif test -f "$ac_dir/install.sh"; then
4118 ac_aux_dir=$ac_dir
4119 ac_install_sh="$ac_aux_dir/install.sh -c"
4120 break
4121 elif test -f "$ac_dir/shtool"; then
4122 ac_aux_dir=$ac_dir
4123 ac_install_sh="$ac_aux_dir/shtool install -c"
4124 break
4126 done
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
4146 # AIX /bin/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
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4163 IFS=$as_save_IFS
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[\\/]* | \
4170 /usr/ucb/* ) ;;
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
4174 # by default.
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.
4186 else
4187 rm -rf conftest.one conftest.two conftest.dir
4188 echo one > conftest.one
4189 echo two > conftest.two
4190 mkdir conftest.dir
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
4195 then
4196 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4197 break 3
4201 done
4202 done
4204 esac
4206 done
4207 IFS=$as_save_IFS
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
4214 else
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
4242 else
4243 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4245 else
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 ; }
4251 else
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
4264 _ACEOF
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
4275 else
4276 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4278 else
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 ; }
4284 else
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
4297 _ACEOF
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
4308 else
4309 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
4311 else
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 ; }
4317 else
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
4330 _ACEOF
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
4340 else
4341 case $PPPD in
4342 [\\/]* | ?:[\\/]*)
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
4350 IFS=$as_save_IFS
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
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4362 test -z "$ac_cv_path_PPPD" && ac_cv_path_PPPD="NOTFOUND"
4364 esac
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; }
4370 else
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
4382 else
4383 case $ECHO in
4384 [\\/]* | ?:[\\/]*)
4385 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
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
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4403 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4405 esac
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; }
4411 else
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
4424 else
4425 case $SETSID in
4426 [\\/]* | ?:[\\/]*)
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
4434 IFS=$as_save_IFS
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
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4446 test -z "$ac_cv_path_SETSID" && ac_cv_path_SETSID=""""
4448 esac
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; }
4454 else
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
4467 else
4468 case $ID in
4469 [\\/]* | ?:[\\/]*)
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
4477 IFS=$as_save_IFS
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
4483 break 2
4485 done
4486 done
4487 IFS=$as_save_IFS
4489 test -z "$ac_cv_path_ID" && ac_cv_path_ID=""""
4491 esac
4493 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; }
4497 else
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
4508 else
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: "
4521 else
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>
4529 int main()
4531 if (socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OE) >= 0) return 0; else return 1;
4534 _ACEOF
4535 if ac_fn_c_try_run "$LINENO"; then :
4536 ac_cv_linux_kernel_pppoe=yes
4537 else
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
4544 else
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;}
4572 PPPD=pppd
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;}
4588 2.3.7|2.3.8|2.3.9)
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;}
4608 esac
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
4615 else
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4619 union foo {
4620 struct bar {
4621 unsigned int ver:4;
4622 unsigned int type:4;
4623 } bb;
4624 unsigned char baz;
4628 main(void)
4630 union foo x;
4631 x.bb.ver = 1;
4632 x.bb.type = 2;
4633 if (x.baz == 0x21) {
4634 return 1;
4635 } else if (x.baz == 0x12) {
4636 return 0;
4637 } else {
4638 return 2;
4641 _ACEOF
4642 if ac_fn_c_try_run "$LINENO"; then :
4643 rpppoe_cv_pack_bitfields=normal
4644 else
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
4658 else
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
4693 EXTRACONFIGS=""
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"
4700 RDYNAMIC=""
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
4741 # following values.
4743 _ACEOF
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
4753 case $ac_val in #(
4754 *${as_nl}*)
4755 case $ac_var in #(
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;} ;;
4758 esac
4759 case $ac_var in #(
4760 _ | IFS | as_nl) ;; #(
4761 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4762 *) { eval $ac_var=; unset $ac_var;} ;;
4763 esac ;;
4764 esac
4765 done
4767 (set) 2>&1 |
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 \.
4772 sed -n \
4773 "s/'/'\\\\''/g;
4774 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4775 ;; #(
4777 # `set' quotes correctly as required by POSIX, so do not add quotes.
4778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4780 esac |
4781 sort
4783 sed '
4784 /^ac_cv_env_/b end
4785 t clear
4786 :clear
4787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4788 t end
4789 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4790 :end' >>confcache
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
4797 else
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;}
4802 rm -f confcache
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
4810 ac_libobjs=
4811 ac_ltlibobjs=
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'
4821 done
4822 LIBOBJS=$ac_libobjs
4824 LTLIBOBJS=$ac_ltlibobjs
4828 : ${CONFIG_STATUS=./config.status}
4829 ac_write_fail=0
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;}
4834 as_write_fail=0
4835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4836 #! $SHELL
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.
4842 debug=false
4843 ac_cs_recheck=false
4844 ac_cs_silent=false
4846 SHELL=\${CONFIG_SHELL-$SHELL}
4847 export SHELL
4848 _ASEOF
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 :
4857 emulate sh
4858 NULLCMD=:
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
4863 else
4864 case `(set -o) 2>/dev/null` in #(
4865 *posix*) :
4866 set -o posix ;; #(
4867 *) :
4869 esac
4873 as_nl='
4875 export as_nl
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'
4889 else
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'
4893 else
4894 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4895 as_echo_n_body='eval
4896 arg=$1;
4897 case $arg in #(
4898 *"$as_nl"*)
4899 expr "X$arg" : "X\\(.*\\)$as_nl";
4900 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4901 esac;
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'
4907 export as_echo_body
4908 as_echo='sh -c $as_echo_body as_echo'
4911 # The user is always right.
4912 if test "${PATH_SEPARATOR+set}" != set; then
4913 PATH_SEPARATOR=:
4914 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4915 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4916 PATH_SEPARATOR=';'
4921 # IFS
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.)
4926 IFS=" "" $as_nl"
4928 # Find who we are. Look in the path if we contain no directory separator.
4929 case $0 in #((
4930 *[\\/]* ) as_myself=$0 ;;
4931 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4937 done
4938 IFS=$as_save_IFS
4941 esac
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
4945 as_myself=$0
4947 if test ! -f "$as_myself"; then
4948 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4949 exit 1
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 || :
4959 done
4960 PS1='$ '
4961 PS2='> '
4962 PS4='+ '
4964 # NLS nuisances.
4965 LC_ALL=C
4966 export LC_ALL
4967 LANGUAGE=C
4968 export LANGUAGE
4970 # CDPATH.
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.
4979 as_fn_error ()
4981 as_status=$1; test $as_status -eq 0 && as_status=1
4982 if test "$4"; then
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
4988 } # as_fn_error
4991 # as_fn_set_status STATUS
4992 # -----------------------
4993 # Set $? to STATUS, without forking.
4994 as_fn_set_status ()
4996 return $1
4997 } # as_fn_set_status
4999 # as_fn_exit STATUS
5000 # -----------------
5001 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5002 as_fn_exit ()
5004 set +e
5005 as_fn_set_status $1
5006 exit $1
5007 } # as_fn_exit
5009 # as_fn_unset VAR
5010 # ---------------
5011 # Portably unset VAR.
5012 as_fn_unset ()
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
5022 # implementations.
5023 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5024 eval 'as_fn_append ()
5026 eval $1+=\$2
5028 else
5029 as_fn_append ()
5031 eval $1=\$$1\$2
5033 fi # 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 ()
5043 as_val=$(( $* ))
5045 else
5046 as_fn_arith ()
5048 as_val=`expr "$@" || test $? -eq 1`
5050 fi # as_fn_arith
5053 if expr a : '\(a\)' >/dev/null 2>&1 &&
5054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5055 as_expr=expr
5056 else
5057 as_expr=false
5060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5061 as_basename=basename
5062 else
5063 as_basename=false
5066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5067 as_dirname=dirname
5068 else
5069 as_dirname=false
5072 as_me=`$as_basename -- "$0" ||
5073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5074 X"$0" : 'X\(//\)$' \| \
5075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5076 $as_echo X/"$0" |
5077 sed '/^.*\/\([^/][^/]*\)\/*$/{
5078 s//\1/
5081 /^X\/\(\/\/\)$/{
5082 s//\1/
5085 /^X\/\(\/\).*/{
5086 s//\1/
5089 s/.*/./; q'`
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 #(((((
5100 -n*)
5101 case `echo 'xy\c'` in
5102 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5103 xy) ECHO_C='\c';;
5104 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5105 ECHO_T=' ';;
5106 esac;;
5108 ECHO_N='-n';;
5109 esac
5111 rm -f conf$$ conf$$.exe conf$$.file
5112 if test -d conf$$.dir; then
5113 rm -f conf$$.dir/conf$$.file
5114 else
5115 rm -f conf$$.dir
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
5120 as_ln_s='ln -s'
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 ||
5126 as_ln_s='cp -p'
5127 elif ln conf$$.file conf$$ 2>/dev/null; then
5128 as_ln_s=ln
5129 else
5130 as_ln_s='cp -p'
5132 else
5133 as_ln_s='cp -p'
5135 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5136 rmdir conf$$.dir 2>/dev/null
5139 # as_fn_mkdir_p
5140 # -------------
5141 # Create "$as_dir" as a directory, including parents if necessary.
5142 as_fn_mkdir_p ()
5145 case $as_dir in #(
5146 -*) as_dir=./$as_dir;;
5147 esac
5148 test -d "$as_dir" || eval $as_mkdir_p || {
5149 as_dirs=
5150 while :; do
5151 case $as_dir in #(
5152 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5153 *) as_qdir=$as_dir;;
5154 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5163 s//\1/
5166 /^X\(\/\/\)[^/].*/{
5167 s//\1/
5170 /^X\(\/\/\)$/{
5171 s//\1/
5174 /^X\(\/\).*/{
5175 s//\1/
5178 s/.*/./; q'`
5179 test -d "$as_dir" && break
5180 done
5181 test -z "$as_dirs" || eval "mkdir $as_dirs"
5182 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5185 } # as_fn_mkdir_p
5186 if mkdir -p . 2>/dev/null; then
5187 as_mkdir_p='mkdir -p "$as_dir"'
5188 else
5189 test -d ./-p && rmdir ./-p
5190 as_mkdir_p=false
5193 if test -x / >/dev/null 2>&1; then
5194 as_test_x='test -x'
5195 else
5196 if ls -dL / >/dev/null 2>&1; then
5197 as_ls_L_option=L
5198 else
5199 as_ls_L_option=
5201 as_test_x='
5202 eval sh -c '\''
5203 if test -d "$1"; then
5204 test -d "$1/.";
5205 else
5206 case $1 in #(
5207 -*)set "./$1";;
5208 esac;
5209 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5210 ???[sx]*):;;*)false;;esac;fi
5211 '\'' sh
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'"
5223 exec 6>&1
5224 ## ----------------------------------- ##
5225 ## Main body of $CONFIG_STATUS script. ##
5226 ## ----------------------------------- ##
5227 _ASEOF
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.
5234 ac_log="
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
5242 $ $0 $@
5244 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5247 _ACEOF
5249 case $ac_config_files in *"
5250 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5251 esac
5253 case $ac_config_headers in *"
5254 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5255 esac
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"
5263 _ACEOF
5265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5266 ac_cs_usage="\
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:
5286 $config_files
5288 Configuration headers:
5289 $config_headers
5291 Report bugs to the package provider."
5293 _ACEOF
5294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5296 ac_cs_version="\\
5297 config.status
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."
5305 ac_pwd='$ac_pwd'
5306 srcdir='$srcdir'
5307 INSTALL='$INSTALL'
5308 test -n "\$AWK" || AWK=awk
5309 _ACEOF
5311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5312 # The default lists apply if the user does not specify any file.
5313 ac_need_defaults=:
5314 while test $# != 0
5316 case $1 in
5317 --*=?*)
5318 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5319 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5320 ac_shift=:
5322 --*=)
5323 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5324 ac_optarg=
5325 ac_shift=:
5328 ac_option=$1
5329 ac_optarg=$2
5330 ac_shift=shift
5332 esac
5334 case $ac_option in
5335 # Handling of the options.
5336 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5337 ac_cs_recheck=: ;;
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 )
5343 debug=: ;;
5344 --file | --fil | --fi | --f )
5345 $ac_shift
5346 case $ac_optarg in
5347 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5348 '') as_fn_error $? "missing file argument" ;;
5349 esac
5350 as_fn_append CONFIG_FILES " '$ac_optarg'"
5351 ac_need_defaults=false;;
5352 --header | --heade | --head | --hea )
5353 $ac_shift
5354 case $ac_optarg in
5355 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5356 esac
5357 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5358 ac_need_defaults=false;;
5359 --he | --h)
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)
5367 ac_cs_silent=: ;;
5369 # This is an error.
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 ;;
5376 esac
5377 shift
5378 done
5380 ac_configure_extra_args=
5382 if $ac_cs_silent; then
5383 exec 6>/dev/null
5384 ac_configure_extra_args="$ac_configure_extra_args --silent"
5387 _ACEOF
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
5391 shift
5392 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5393 CONFIG_SHELL='$SHELL'
5394 export CONFIG_SHELL
5395 exec "\$@"
5398 _ACEOF
5399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5400 exec 5>>config.log
5402 echo
5403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5404 ## Running $as_me. ##
5405 _ASBOX
5406 $as_echo "$ac_log"
5407 } >&5
5409 _ACEOF
5410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5411 _ACEOF
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 ;;
5434 esac
5435 done
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'.
5453 $debug ||
5455 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"
5466 } ||
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
5487 ac_cs_awk_cr='\\r'
5488 else
5489 ac_cs_awk_cr=$ac_cr
5492 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5493 _ACEOF
5497 echo "cat >conf$$subs.awk <<_ACEOF" &&
5498 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5499 echo "_ACEOF"
5500 } >conf$$subs.sh ||
5501 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5502 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5503 ac_delim='%!_!# '
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
5510 break
5511 elif $ac_last_try; then
5512 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5513 else
5514 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5516 done
5517 rm -f conf$$subs.sh
5519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5520 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5521 _ACEOF
5522 sed -n '
5524 s/^/S["/; s/!.*/"]=/
5527 s/^[^!]*!//
5528 :repl
5529 t repl
5530 s/'"$ac_delim"'$//
5531 t delim
5534 s/\(.\{148\}\)..*/\1/
5535 t more1
5536 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5539 b repl
5540 :more1
5541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5544 s/.\{148\}//
5545 t nl
5546 :delim
5548 s/\(.\{148\}\)..*/\1/
5549 t more2
5550 s/["\\]/\\&/g; s/^/"/; s/$/"/
5553 :more2
5554 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5557 s/.\{148\}//
5558 t delim
5559 ' <conf$$subs.awk | sed '
5560 /^[^""]/{
5562 s/\n//
5564 ' >>$CONFIG_STATUS || ac_write_fail=1
5565 rm -f conf$$subs.awk
5566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5567 _ACAWK
5568 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5569 for (key in S) S_is_set[key] = 1
5570 FS = "\a"
5574 line = $ 0
5575 nfields = split(line, field, "@")
5576 substed = 0
5577 len = length(field[1])
5578 for (i = 2; i < nfields; i++) {
5579 key = field[i]
5580 keylen = length(key)
5581 if (S_is_set[key]) {
5582 value = S[key]
5583 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5584 len += length(value) + length(field[++i])
5585 substed = 1
5586 } else
5587 len += 1 + keylen
5590 print line
5593 _ACAWK
5594 _ACEOF
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"
5598 else
5600 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5601 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5602 _ACEOF
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[ ]*=[ ]*/{
5611 s///
5612 s/^/:/
5613 s/[ ]*$/:/
5614 s/:\$(srcdir):/:/g
5615 s/:\${srcdir}:/:/g
5616 s/:@srcdir@:/:/g
5617 s/^:*//
5618 s/:*$//
5620 s/\(=[ ]*\).*/\1/
5622 s/\n//
5623 s/^[^=]*=[ ]*$//
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 ||
5635 BEGIN {
5636 _ACEOF
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.
5644 ac_delim='%!_!# '
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
5648 break
5649 elif $ac_last_try; then
5650 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5651 else
5652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5654 done
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]*
5661 sed -n '
5662 s/.\{148\}/&'"$ac_delim"'/g
5663 t rset
5664 :rset
5665 s/^[ ]*#[ ]*define[ ][ ]*/ /
5666 t def
5668 :def
5669 s/\\$//
5670 t bsnl
5671 s/["\\]/\\&/g
5672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5673 D["\1"]=" \3"/p
5674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5676 :bsnl
5677 s/["\\]/\\&/g
5678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5679 D["\1"]=" \3\\\\\\n"\\/p
5680 t cont
5681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5682 t cont
5684 :cont
5686 s/.\{148\}/&'"$ac_delim"'/g
5687 t clear
5688 :clear
5689 s/\\$//
5690 t bsnlc
5691 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5693 :bsnlc
5694 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5695 b cont
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
5702 FS = "\a"
5704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5705 line = \$ 0
5706 split(line, arg, " ")
5707 if (arg[1] == "#") {
5708 defundef = arg[2]
5709 mac1 = arg[3]
5710 } else {
5711 defundef = substr(arg[1], 2)
5712 mac1 = arg[2]
5714 split(mac1, mac2, "(") #)
5715 macro = mac2[1]
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]
5720 next
5721 } else {
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, "*/"
5727 next
5731 { print }
5732 _ACAWK
5733 _ACEOF
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 "
5740 shift
5741 for ac_tag
5743 case $ac_tag in
5744 :[FHLC]) ac_mode=$ac_tag; continue;;
5745 esac
5746 case $ac_mode$ac_tag in
5747 :[FHL]*:*);;
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;;
5751 esac
5752 ac_save_IFS=$IFS
5753 IFS=:
5754 set x $ac_tag
5755 IFS=$ac_save_IFS
5756 shift
5757 ac_file=$1
5758 shift
5760 case $ac_mode in
5761 :L) ac_source=$1;;
5762 :[FH])
5763 ac_file_inputs=
5764 for ac_f
5766 case $ac_f 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 `:'.
5771 test -f "$ac_f" ||
5772 case $ac_f in
5773 [\\/$]*) false;;
5774 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5775 esac ||
5776 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5777 esac
5778 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5779 as_fn_append ac_file_inputs " '$ac_f'"
5780 done
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'
5787 `' by configure.'
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;;
5799 esac
5801 case $ac_tag in
5802 *:-:* | *:-) cat >"$tmp/stdin" \
5803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5804 esac
5806 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5815 s//\1/
5818 /^X\(\/\/\)[^/].*/{
5819 s//\1/
5822 /^X\(\/\/\)$/{
5823 s//\1/
5826 /^X\(\/\).*/{
5827 s//\1/
5830 s/.*/./; q'`
5831 as_dir="$ac_dir"; as_fn_mkdir_p
5832 ac_builddir=.
5834 case "$ac_dir" in
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/ ;;
5843 esac ;;
5844 esac
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
5850 case $srcdir in
5851 .) # We are building in place.
5852 ac_srcdir=.
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 ;;
5859 *) # Relative name.
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 ;;
5863 esac
5864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5867 case $ac_mode in
5870 # CONFIG_FILE
5873 case $INSTALL in
5874 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5875 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5876 esac
5877 _ACEOF
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=
5883 ac_sed_dataroot='
5884 /datarootdir/ {
5888 /@datadir@/p
5889 /@docdir@/p
5890 /@infodir@/p
5891 /@localedir@/p
5892 /@mandir@/p'
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;}
5898 _ACEOF
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' ;;
5907 esac
5908 _ACEOF
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
5915 $extrasub
5916 _ACEOF
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;}
5944 rm -f "$tmp/stdin"
5945 case $ac_file in
5946 -) cat "$tmp/out" && rm -f "$tmp/out";;
5947 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5948 esac \
5949 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5953 # CONFIG_HEADER
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;}
5964 else
5965 rm -f "$ac_file"
5966 mv "$tmp/config.h" "$ac_file" \
5967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5969 else
5970 $as_echo "/* $configure_input */" \
5971 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5972 || as_fn_error $? "could not create -" "$LINENO" 5
5977 esac
5979 done # for ac_tag
5982 as_fn_exit 0
5983 _ACEOF
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
5999 ac_cs_success=:
6000 ac_config_status_args=
6001 test "$silent" = yes &&
6002 ac_config_status_args="$ac_config_status_args --quiet"
6003 exec 5>/dev/null
6004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6005 exec 5>>config.log
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; }