Merge remote-tracking branch 'origin/tomato-shibby-RT-AC' into arrmo-RT-AC
[tomato.git] / release / src / router / pptpd / configure
blob94008be8e9119ee249305eea6009c24abeff38af
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
151 esac
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 else
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
244 exit 1
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
262 { eval $1=; unset $1;}
264 as_unset=as_fn_unset
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
271 return $1
272 } # as_fn_set_status
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
315 /^X\(\/\/\)$/{
316 s//\1/
319 /^X\(\/\).*/{
320 s//\1/
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330 } # as_fn_mkdir_p
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
336 # implementations.
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
340 eval $1+=\$2
342 else
343 as_fn_append ()
345 eval $1=\$$1\$2
347 fi # as_fn_append
349 # as_fn_arith ARG...
350 # ------------------
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
357 as_val=$(( $* ))
359 else
360 as_fn_arith ()
362 as_val=`expr "$@" || test $? -eq 1`
364 fi # as_fn_arith
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
372 as_fn_error ()
374 as_status=$1; test $as_status -eq 0 && as_status=1
375 if test "$4"; then
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
381 } # as_fn_error
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 $as_echo X/"$0" |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
408 s//\1/
411 /^X\/\(\/\/\)$/{
412 s//\1/
415 /^X\/\(\/\).*/{
416 s//\1/
419 s/.*/./; q'`
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
456 # Exit status is that of the last command.
457 exit
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
462 -n*)
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 xy) ECHO_C='\c';;
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 ECHO_T=' ';;
468 esac;;
470 ECHO_N='-n';;
471 esac
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s='ln -s'
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'
489 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln
491 else
492 as_ln_s='cp -p'
494 else
495 as_ln_s='cp -p'
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 6>&1
540 # Name of the host.
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546 # Initializations.
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
557 # Identity of this package.
558 PACKAGE_NAME=
559 PACKAGE_TARNAME=
560 PACKAGE_VERSION=
561 PACKAGE_STRING=
562 PACKAGE_BUGREPORT=
563 PACKAGE_URL=
565 ac_unique_file="pptpmanager.c"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
568 #include <stdio.h>
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
571 #endif
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
574 #endif
575 #ifdef STDC_HEADERS
576 # include <stdlib.h>
577 # include <stddef.h>
578 #else
579 # ifdef HAVE_STDLIB_H
580 # include <stdlib.h>
581 # endif
582 #endif
583 #ifdef HAVE_STRING_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 # include <memory.h>
586 # endif
587 # include <string.h>
588 #endif
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
591 #endif
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
594 #endif
595 #ifdef HAVE_STDINT_H
596 # include <stdint.h>
597 #endif
598 #ifdef HAVE_UNISTD_H
599 # include <unistd.h>
600 #endif"
602 ac_subst_vars='LTLIBOBJS
603 LIBOBJS
604 XTRA_PROG
605 HAVE_OPENPTY
606 XTRALIBS_MGR
607 XTRALIBS_CTRL
608 EGREP
609 GREP
611 LN_S
612 RANLIB
613 am__fastdepCC_FALSE
614 am__fastdepCC_TRUE
615 CCDEPMODE
616 AMDEPBACKSLASH
617 AMDEP_FALSE
618 AMDEP_TRUE
619 am__quote
620 am__include
621 DEPDIR
622 OBJEXT
623 EXEEXT
624 ac_ct_CC
625 CPPFLAGS
626 LDFLAGS
627 CFLAGS
629 am__untar
630 am__tar
631 AMTAR
632 am__leading_dot
633 SET_MAKE
635 mkdir_p
636 INSTALL_STRIP_PROGRAM
637 STRIP
638 install_sh
639 MAKEINFO
640 AUTOHEADER
641 AUTOMAKE
642 AUTOCONF
643 ACLOCAL
644 VERSION
645 PACKAGE
646 CYGPATH_W
647 INSTALL_DATA
648 INSTALL_SCRIPT
649 INSTALL_PROGRAM
650 target_alias
651 host_alias
652 build_alias
653 LIBS
654 ECHO_T
655 ECHO_N
656 ECHO_C
657 DEFS
658 mandir
659 localedir
660 libdir
661 psdir
662 pdfdir
663 dvidir
664 htmldir
665 infodir
666 docdir
667 oldincludedir
668 includedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_URL
681 PACKAGE_BUGREPORT
682 PACKAGE_STRING
683 PACKAGE_VERSION
684 PACKAGE_TARNAME
685 PACKAGE_NAME
686 PATH_SEPARATOR
687 SHELL'
688 ac_subst_files=''
689 ac_user_opts='
690 enable_option_checking
691 with_bsdppp
692 with_slirp
693 enable_facility
694 enable_bcrelay
695 enable_dependency_tracking
696 with_libwrap
698 ac_precious_vars='build_alias
699 host_alias
700 target_alias
702 CFLAGS
703 LDFLAGS
704 LIBS
705 CPPFLAGS
706 CPP'
709 # Initialize some variables set by options.
710 ac_init_help=
711 ac_init_version=false
712 ac_unrecognized_opts=
713 ac_unrecognized_sep=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
716 cache_file=/dev/null
717 exec_prefix=NONE
718 no_create=
719 no_recursion=
720 prefix=NONE
721 program_prefix=NONE
722 program_suffix=NONE
723 program_transform_name=s,x,x,
724 silent=
725 site=
726 srcdir=
727 verbose=
728 x_includes=NONE
729 x_libraries=NONE
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE}'
748 infodir='${datarootdir}/info'
749 htmldir='${docdir}'
750 dvidir='${docdir}'
751 pdfdir='${docdir}'
752 psdir='${docdir}'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
757 ac_prev=
758 ac_dashdash=
759 for ac_option
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\$ac_option
764 ac_prev=
765 continue
768 case $ac_option in
769 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 *=) ac_optarg= ;;
771 *) ac_optarg=yes ;;
772 esac
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
778 ac_dashdash=yes ;;
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 ac_prev=bindir ;;
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 bindir=$ac_optarg ;;
785 -build | --build | --buil | --bui | --bu)
786 ac_prev=build_alias ;;
787 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788 build_alias=$ac_optarg ;;
790 -cache-file | --cache-file | --cache-fil | --cache-fi \
791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792 ac_prev=cache_file ;;
793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795 cache_file=$ac_optarg ;;
797 --config-cache | -C)
798 cache_file=config.cache ;;
800 -datadir | --datadir | --datadi | --datad)
801 ac_prev=datadir ;;
802 -datadir=* | --datadir=* | --datadi=* | --datad=*)
803 datadir=$ac_optarg ;;
805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806 | --dataroo | --dataro | --datar)
807 ac_prev=datarootdir ;;
808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810 datarootdir=$ac_optarg ;;
812 -disable-* | --disable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error $? "invalid feature name: $ac_useropt"
817 ac_useropt_orig=$ac_useropt
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
821 "enable_$ac_useropt"
822 "*) ;;
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';;
825 esac
826 eval enable_$ac_useropt=no ;;
828 -docdir | --docdir | --docdi | --doc | --do)
829 ac_prev=docdir ;;
830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
831 docdir=$ac_optarg ;;
833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834 ac_prev=dvidir ;;
835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
836 dvidir=$ac_optarg ;;
838 -enable-* | --enable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 as_fn_error $? "invalid feature name: $ac_useropt"
843 ac_useropt_orig=$ac_useropt
844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
847 "enable_$ac_useropt"
848 "*) ;;
849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep=', ';;
851 esac
852 eval enable_$ac_useropt=\$ac_optarg ;;
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;;
858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860 | --exec=* | --exe=* | --ex=*)
861 exec_prefix=$ac_optarg ;;
863 -gas | --gas | --ga | --g)
864 # Obsolete; use --with-gas.
865 with_gas=yes ;;
867 -help | --help | --hel | --he | -h)
868 ac_init_help=long ;;
869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870 ac_init_help=recursive ;;
871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872 ac_init_help=short ;;
874 -host | --host | --hos | --ho)
875 ac_prev=host_alias ;;
876 -host=* | --host=* | --hos=* | --ho=*)
877 host_alias=$ac_optarg ;;
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 ac_prev=htmldir ;;
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 | --ht=*)
883 htmldir=$ac_optarg ;;
885 -includedir | --includedir | --includedi | --included | --include \
886 | --includ | --inclu | --incl | --inc)
887 ac_prev=includedir ;;
888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889 | --includ=* | --inclu=* | --incl=* | --inc=*)
890 includedir=$ac_optarg ;;
892 -infodir | --infodir | --infodi | --infod | --info | --inf)
893 ac_prev=infodir ;;
894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895 infodir=$ac_optarg ;;
897 -libdir | --libdir | --libdi | --libd)
898 ac_prev=libdir ;;
899 -libdir=* | --libdir=* | --libdi=* | --libd=*)
900 libdir=$ac_optarg ;;
902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903 | --libexe | --libex | --libe)
904 ac_prev=libexecdir ;;
905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906 | --libexe=* | --libex=* | --libe=*)
907 libexecdir=$ac_optarg ;;
909 -localedir | --localedir | --localedi | --localed | --locale)
910 ac_prev=localedir ;;
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
914 -localstatedir | --localstatedir | --localstatedi | --localstated \
915 | --localstate | --localstat | --localsta | --localst | --locals)
916 ac_prev=localstatedir ;;
917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919 localstatedir=$ac_optarg ;;
921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922 ac_prev=mandir ;;
923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
924 mandir=$ac_optarg ;;
926 -nfp | --nfp | --nf)
927 # Obsolete; use --without-fp.
928 with_fp=no ;;
930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931 | --no-cr | --no-c | -n)
932 no_create=yes ;;
934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
936 no_recursion=yes ;;
938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940 | --oldin | --oldi | --old | --ol | --o)
941 ac_prev=oldincludedir ;;
942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945 oldincludedir=$ac_optarg ;;
947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948 ac_prev=prefix ;;
949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
950 prefix=$ac_optarg ;;
952 -program-prefix | --program-prefix | --program-prefi | --program-pref \
953 | --program-pre | --program-pr | --program-p)
954 ac_prev=program_prefix ;;
955 -program-prefix=* | --program-prefix=* | --program-prefi=* \
956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957 program_prefix=$ac_optarg ;;
959 -program-suffix | --program-suffix | --program-suffi | --program-suff \
960 | --program-suf | --program-su | --program-s)
961 ac_prev=program_suffix ;;
962 -program-suffix=* | --program-suffix=* | --program-suffi=* \
963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964 program_suffix=$ac_optarg ;;
966 -program-transform-name | --program-transform-name \
967 | --program-transform-nam | --program-transform-na \
968 | --program-transform-n | --program-transform- \
969 | --program-transform | --program-transfor \
970 | --program-transfo | --program-transf \
971 | --program-trans | --program-tran \
972 | --progr-tra | --program-tr | --program-t)
973 ac_prev=program_transform_name ;;
974 -program-transform-name=* | --program-transform-name=* \
975 | --program-transform-nam=* | --program-transform-na=* \
976 | --program-transform-n=* | --program-transform-=* \
977 | --program-transform=* | --program-transfor=* \
978 | --program-transfo=* | --program-transf=* \
979 | --program-trans=* | --program-tran=* \
980 | --progr-tra=* | --program-tr=* | --program-t=*)
981 program_transform_name=$ac_optarg ;;
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 ac_prev=pdfdir ;;
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986 pdfdir=$ac_optarg ;;
988 -psdir | --psdir | --psdi | --psd | --ps)
989 ac_prev=psdir ;;
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991 psdir=$ac_optarg ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
995 silent=yes ;;
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998 ac_prev=sbindir ;;
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000 | --sbi=* | --sb=*)
1001 sbindir=$ac_optarg ;;
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1006 | --sha | --sh)
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011 | --sha=* | --sh=*)
1012 sharedstatedir=$ac_optarg ;;
1014 -site | --site | --sit)
1015 ac_prev=site ;;
1016 -site=* | --site=* | --sit=*)
1017 site=$ac_optarg ;;
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020 ac_prev=srcdir ;;
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1037 verbose=yes ;;
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1042 -with-* | --with-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "with_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval with_$ac_useropt=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "with_$ac_useropt"
1068 "*) ;;
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1071 esac
1072 eval with_$ac_useropt=no ;;
1074 --x)
1075 # Obsolete; use --with-x.
1076 with_x=yes ;;
1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079 | --x-incl | --x-inc | --x-in | --x-i)
1080 ac_prev=x_includes ;;
1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083 x_includes=$ac_optarg ;;
1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087 ac_prev=x_libraries ;;
1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090 x_libraries=$ac_optarg ;;
1092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1096 *=*)
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 case $ac_envvar in #(
1100 '' | [0-9]* | *[!_$as_cr_alnum]* )
1101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1102 esac
1103 eval $ac_envvar=\$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114 esac
1115 done
1117 if test -n "$ac_prev"; then
1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $? "missing argument to $ac_option"
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1124 no) ;;
1125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127 esac
1130 # Check all directory arguments for consistency.
1131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val=\$$ac_var
1137 # Remove trailing slashes.
1138 case $ac_val in
1139 */ )
1140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\$ac_val;;
1142 esac
1143 # Be sure to have absolute directory names.
1144 case $ac_val in
1145 [\\/$]* | ?:[\\/]* ) continue;;
1146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1147 esac
1148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1149 done
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1154 build=$build_alias
1155 host=$host_alias
1156 target=$target_alias
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x; then
1160 if test "x$build_alias" = x; then
1161 cross_compiling=maybe
1162 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1163 If a cross compiler is detected then cross compile mode will be used" >&2
1164 elif test "x$build_alias" != "x$host_alias"; then
1165 cross_compiling=yes
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 s//\1/
1197 /^X\(\/\/\)[^/].*/{
1198 s//\1/
1201 /^X\(\/\/\)$/{
1202 s//\1/
1205 /^X\(\/\).*/{
1206 s//\1/
1209 s/.*/./; q'`
1210 srcdir=$ac_confdir
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 srcdir=..
1214 else
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 srcdir=.
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 done
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1248 cat <<_ACEOF
1249 \`configure' configures this package to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1258 Configuration:
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 [PREFIX]
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1302 _ACEOF
1304 cat <<\_ACEOF
1306 Program names:
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1310 _ACEOF
1313 if test -n "$ac_init_help"; then
1315 cat <<\_ACEOF
1317 Optional Features:
1318 --disable-option-checking ignore unrecognized --enable/--with options
1319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1321 --enable-facility=name Use another syslog facility, default LOG_DAEMON
1322 --enable-bcrelay Enable broadcast relay function
1323 --disable-dependency-tracking speeds up one-time build
1324 --enable-dependency-tracking do not reject slow dependency extractors
1326 Optional Packages:
1327 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1328 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1329 --with-bsdppp Use BSD user-space ppp
1330 --with-slirp Use SLIRP instead of pppd
1331 --with-libwrap Use libwrap (tcp wrappers)
1333 Some influential environment variables:
1334 CC C compiler command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1337 nonstandard directory <lib dir>
1338 LIBS libraries to pass to the linker, e.g. -l<library>
1339 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1340 you have headers in a nonstandard directory <include dir>
1341 CPP C preprocessor
1343 Use these variables to override the choices made by `configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1346 Report bugs to the package provider.
1347 _ACEOF
1348 ac_status=$?
1351 if test "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1354 test -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1356 continue
1357 ac_builddir=.
1359 case "$ac_dir" in
1360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368 esac ;;
1369 esac
1370 ac_abs_top_builddir=$ac_pwd
1371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir=$ac_top_build_prefix
1375 case $srcdir in
1376 .) # We are building in place.
1377 ac_srcdir=.
1378 ac_top_srcdir=$ac_top_builddir_sub
1379 ac_abs_top_srcdir=$ac_pwd ;;
1380 [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir=$srcdir
1383 ac_abs_top_srcdir=$srcdir ;;
1384 *) # Relative name.
1385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1388 esac
1389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391 cd "$ac_dir" || { ac_status=$?; continue; }
1392 # Check for guested configure.
1393 if test -f "$ac_srcdir/configure.gnu"; then
1394 echo &&
1395 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396 elif test -f "$ac_srcdir/configure"; then
1397 echo &&
1398 $SHELL "$ac_srcdir/configure" --help=recursive
1399 else
1400 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1401 fi || ac_status=$?
1402 cd "$ac_pwd" || { ac_status=$?; break; }
1403 done
1406 test -n "$ac_init_help" && exit $ac_status
1407 if $ac_init_version; then
1408 cat <<\_ACEOF
1409 configure
1410 generated by GNU Autoconf 2.68
1412 Copyright (C) 2010 Free Software Foundation, Inc.
1413 This configure script is free software; the Free Software Foundation
1414 gives unlimited permission to copy, distribute and modify it.
1415 _ACEOF
1416 exit
1419 ## ------------------------ ##
1420 ## Autoconf initialization. ##
1421 ## ------------------------ ##
1423 # ac_fn_c_try_compile LINENO
1424 # --------------------------
1425 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1426 ac_fn_c_try_compile ()
1428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429 rm -f conftest.$ac_objext
1430 if { { ac_try="$ac_compile"
1431 case "(($ac_try" in
1432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1434 esac
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_compile") 2>conftest.err
1438 ac_status=$?
1439 if test -s conftest.err; then
1440 grep -v '^ *+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest.$ac_objext; then :
1449 ac_retval=0
1450 else
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1454 ac_retval=1
1456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457 as_fn_set_status $ac_retval
1459 } # ac_fn_c_try_compile
1461 # ac_fn_c_try_link LINENO
1462 # -----------------------
1463 # Try to link conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_link ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext conftest$ac_exeext
1468 if { { ac_try="$ac_link"
1469 case "(($ac_try" in
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1471 *) ac_try_echo=$ac_try;;
1472 esac
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_link") 2>conftest.err
1476 ac_status=$?
1477 if test -s conftest.err; then
1478 grep -v '^ *+' conftest.err >conftest.er1
1479 cat conftest.er1 >&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest$ac_exeext && {
1487 test "$cross_compiling" = yes ||
1488 $as_test_x conftest$ac_exeext
1489 }; then :
1490 ac_retval=0
1491 else
1492 $as_echo "$as_me: failed program was:" >&5
1493 sed 's/^/| /' conftest.$ac_ext >&5
1495 ac_retval=1
1497 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1498 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1499 # interfere with the next link command; also delete a directory that is
1500 # left behind by Apple's compiler. We do this before executing the actions.
1501 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_link
1507 # ac_fn_c_check_func LINENO FUNC VAR
1508 # ----------------------------------
1509 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1510 ac_fn_c_check_func ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514 $as_echo_n "checking for $2... " >&6; }
1515 if eval \${$3+:} false; then :
1516 $as_echo_n "(cached) " >&6
1517 else
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1520 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1522 #define $2 innocuous_$2
1524 /* System header to define __stub macros and hopefully few prototypes,
1525 which can conflict with char $2 (); below.
1526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1527 <limits.h> exists even on freestanding compilers. */
1529 #ifdef __STDC__
1530 # include <limits.h>
1531 #else
1532 # include <assert.h>
1533 #endif
1535 #undef $2
1537 /* Override any GCC internal prototype to avoid an error.
1538 Use char because int might match the return type of a GCC
1539 builtin and then its argument prototype would still apply. */
1540 #ifdef __cplusplus
1541 extern "C"
1542 #endif
1543 char $2 ();
1544 /* The GNU C library defines this for functions which it implements
1545 to always fail with ENOSYS. Some functions are actually named
1546 something starting with __ and the normal name is an alias. */
1547 #if defined __stub_$2 || defined __stub___$2
1548 choke me
1549 #endif
1552 main ()
1554 return $2 ();
1556 return 0;
1558 _ACEOF
1559 if ac_fn_c_try_link "$LINENO"; then :
1560 eval "$3=yes"
1561 else
1562 eval "$3=no"
1564 rm -f core conftest.err conftest.$ac_objext \
1565 conftest$ac_exeext conftest.$ac_ext
1567 eval ac_res=\$$3
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 } # ac_fn_c_check_func
1574 # ac_fn_c_try_cpp LINENO
1575 # ----------------------
1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_c_try_cpp ()
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { { ac_try="$ac_cpp conftest.$ac_ext"
1581 case "(($ac_try" in
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1584 esac
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1588 ac_status=$?
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } > conftest.i && {
1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 }; then :
1599 ac_retval=0
1600 else
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1604 ac_retval=1
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1609 } # ac_fn_c_try_cpp
1611 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1612 # -------------------------------------------------------
1613 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1614 # the include files in INCLUDES and setting the cache variable VAR
1615 # accordingly.
1616 ac_fn_c_check_header_mongrel ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if eval \${$3+:} false; then :
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \${$3+:} false; then :
1623 $as_echo_n "(cached) " >&6
1625 eval ac_res=\$$3
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627 $as_echo "$ac_res" >&6; }
1628 else
1629 # Is the header compilable?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1631 $as_echo_n "checking $2 usability... " >&6; }
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_c_try_compile "$LINENO"; then :
1638 ac_header_compiler=yes
1639 else
1640 ac_header_compiler=no
1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1644 $as_echo "$ac_header_compiler" >&6; }
1646 # Is the header present?
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1648 $as_echo_n "checking $2 presence... " >&6; }
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1651 #include <$2>
1652 _ACEOF
1653 if ac_fn_c_try_cpp "$LINENO"; then :
1654 ac_header_preproc=yes
1655 else
1656 ac_header_preproc=no
1658 rm -f conftest.err conftest.i conftest.$ac_ext
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1660 $as_echo "$ac_header_preproc" >&6; }
1662 # So? What about this header?
1663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1664 yes:no: )
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1666 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1670 no:yes:* )
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1672 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1674 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1676 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1678 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1682 esac
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6
1687 else
1688 eval "$3=\$ac_header_compiler"
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_header_mongrel
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1702 ac_fn_c_try_run ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { { ac_try="$ac_link"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1713 ac_status=$?
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1719 esac
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1723 ac_status=$?
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1726 ac_retval=0
1727 else
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1732 ac_retval=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1738 } # ac_fn_c_try_run
1740 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1741 # -------------------------------------------------------
1742 # Tests whether HEADER exists and can be compiled using the include files in
1743 # INCLUDES, setting the cache variable VAR accordingly.
1744 ac_fn_c_check_header_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1751 else
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1755 #include <$2>
1756 _ACEOF
1757 if ac_fn_c_try_compile "$LINENO"; then :
1758 eval "$3=yes"
1759 else
1760 eval "$3=no"
1762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 eval ac_res=\$$3
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_header_compile
1771 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1772 # -------------------------------------------
1773 # Tests whether TYPE exists after having included INCLUDES, setting cache
1774 # variable VAR accordingly.
1775 ac_fn_c_check_type ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1782 else
1783 eval "$3=no"
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1788 main ()
1790 if (sizeof ($2))
1791 return 0;
1793 return 0;
1795 _ACEOF
1796 if ac_fn_c_try_compile "$LINENO"; then :
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1801 main ()
1803 if (sizeof (($2)))
1804 return 0;
1806 return 0;
1808 _ACEOF
1809 if ac_fn_c_try_compile "$LINENO"; then :
1811 else
1812 eval "$3=yes"
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 eval ac_res=\$$3
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_type
1824 cat >config.log <<_ACEOF
1825 This file contains any messages produced by compilers while
1826 running configure, to aid debugging if configure makes a mistake.
1828 It was created by $as_me, which was
1829 generated by GNU Autoconf 2.68. Invocation command line was
1831 $ $0 $@
1833 _ACEOF
1834 exec 5>>config.log
1836 cat <<_ASUNAME
1837 ## --------- ##
1838 ## Platform. ##
1839 ## --------- ##
1841 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1842 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1843 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1844 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1845 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1847 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1848 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1850 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1851 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1852 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1853 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1854 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1855 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1856 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1858 _ASUNAME
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 for as_dir in $PATH
1863 IFS=$as_save_IFS
1864 test -z "$as_dir" && as_dir=.
1865 $as_echo "PATH: $as_dir"
1866 done
1867 IFS=$as_save_IFS
1869 } >&5
1871 cat >&5 <<_ACEOF
1874 ## ----------- ##
1875 ## Core tests. ##
1876 ## ----------- ##
1878 _ACEOF
1881 # Keep a trace of the command line.
1882 # Strip out --no-create and --no-recursion so they do not pile up.
1883 # Strip out --silent because we don't want to record it for future runs.
1884 # Also quote any args containing shell meta-characters.
1885 # Make two passes to allow for proper duplicate-argument suppression.
1886 ac_configure_args=
1887 ac_configure_args0=
1888 ac_configure_args1=
1889 ac_must_keep_next=false
1890 for ac_pass in 1 2
1892 for ac_arg
1894 case $ac_arg in
1895 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1897 | -silent | --silent | --silen | --sile | --sil)
1898 continue ;;
1899 *\'*)
1900 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1901 esac
1902 case $ac_pass in
1903 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1905 as_fn_append ac_configure_args1 " '$ac_arg'"
1906 if test $ac_must_keep_next = true; then
1907 ac_must_keep_next=false # Got value, back to normal.
1908 else
1909 case $ac_arg in
1910 *=* | --config-cache | -C | -disable-* | --disable-* \
1911 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1912 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1913 | -with-* | --with-* | -without-* | --without-* | --x)
1914 case "$ac_configure_args0 " in
1915 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1916 esac
1918 -* ) ac_must_keep_next=true ;;
1919 esac
1921 as_fn_append ac_configure_args " '$ac_arg'"
1923 esac
1924 done
1925 done
1926 { ac_configure_args0=; unset ac_configure_args0;}
1927 { ac_configure_args1=; unset ac_configure_args1;}
1929 # When interrupted or exit'd, cleanup temporary files, and complete
1930 # config.log. We remove comments because anyway the quotes in there
1931 # would cause problems or look ugly.
1932 # WARNING: Use '\'' to represent an apostrophe within the trap.
1933 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1934 trap 'exit_status=$?
1935 # Save into config.log some information that might help in debugging.
1937 echo
1939 $as_echo "## ---------------- ##
1940 ## Cache variables. ##
1941 ## ---------------- ##"
1942 echo
1943 # The following way of writing the cache mishandles newlines in values,
1945 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1946 eval ac_val=\$$ac_var
1947 case $ac_val in #(
1948 *${as_nl}*)
1949 case $ac_var in #(
1950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1952 esac
1953 case $ac_var in #(
1954 _ | IFS | as_nl) ;; #(
1955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1956 *) { eval $ac_var=; unset $ac_var;} ;;
1957 esac ;;
1958 esac
1959 done
1960 (set) 2>&1 |
1961 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1962 *${as_nl}ac_space=\ *)
1963 sed -n \
1964 "s/'\''/'\''\\\\'\'''\''/g;
1965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1966 ;; #(
1968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1970 esac |
1971 sort
1973 echo
1975 $as_echo "## ----------------- ##
1976 ## Output variables. ##
1977 ## ----------------- ##"
1978 echo
1979 for ac_var in $ac_subst_vars
1981 eval ac_val=\$$ac_var
1982 case $ac_val in
1983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 esac
1985 $as_echo "$ac_var='\''$ac_val'\''"
1986 done | sort
1987 echo
1989 if test -n "$ac_subst_files"; then
1990 $as_echo "## ------------------- ##
1991 ## File substitutions. ##
1992 ## ------------------- ##"
1993 echo
1994 for ac_var in $ac_subst_files
1996 eval ac_val=\$$ac_var
1997 case $ac_val in
1998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1999 esac
2000 $as_echo "$ac_var='\''$ac_val'\''"
2001 done | sort
2002 echo
2005 if test -s confdefs.h; then
2006 $as_echo "## ----------- ##
2007 ## confdefs.h. ##
2008 ## ----------- ##"
2009 echo
2010 cat confdefs.h
2011 echo
2013 test "$ac_signal" != 0 &&
2014 $as_echo "$as_me: caught signal $ac_signal"
2015 $as_echo "$as_me: exit $exit_status"
2016 } >&5
2017 rm -f core *.core core.conftest.* &&
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2019 exit $exit_status
2021 for ac_signal in 1 2 13 15; do
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2023 done
2024 ac_signal=0
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2027 rm -f -r conftest* confdefs.h
2029 $as_echo "/* confdefs.h */" > confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2035 _ACEOF
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2039 _ACEOF
2041 cat >>confdefs.h <<_ACEOF
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2043 _ACEOF
2045 cat >>confdefs.h <<_ACEOF
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
2047 _ACEOF
2049 cat >>confdefs.h <<_ACEOF
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2051 _ACEOF
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_URL "$PACKAGE_URL"
2055 _ACEOF
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2060 ac_site_file1=NONE
2061 ac_site_file2=NONE
2062 if test -n "$CONFIG_SITE"; then
2063 # We do not want a PATH search for config.site.
2064 case $CONFIG_SITE in #((
2065 -*) ac_site_file1=./$CONFIG_SITE;;
2066 */*) ac_site_file1=$CONFIG_SITE;;
2067 *) ac_site_file1=./$CONFIG_SITE;;
2068 esac
2069 elif test "x$prefix" != xNONE; then
2070 ac_site_file1=$prefix/share/config.site
2071 ac_site_file2=$prefix/etc/config.site
2072 else
2073 ac_site_file1=$ac_default_prefix/share/config.site
2074 ac_site_file2=$ac_default_prefix/etc/config.site
2076 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2078 test "x$ac_site_file" = xNONE && continue
2079 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2081 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2082 sed 's/^/| /' "$ac_site_file" >&5
2083 . "$ac_site_file" \
2084 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2086 as_fn_error $? "failed to load site script $ac_site_file
2087 See \`config.log' for more details" "$LINENO" 5; }
2089 done
2091 if test -r "$cache_file"; then
2092 # Some versions of bash will fail to source /dev/null (special files
2093 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2094 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2096 $as_echo "$as_me: loading cache $cache_file" >&6;}
2097 case $cache_file in
2098 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2099 *) . "./$cache_file";;
2100 esac
2102 else
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2104 $as_echo "$as_me: creating cache $cache_file" >&6;}
2105 >$cache_file
2108 # Check that the precious variables saved in the cache have kept the same
2109 # value.
2110 ac_cache_corrupted=false
2111 for ac_var in $ac_precious_vars; do
2112 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2113 eval ac_new_set=\$ac_env_${ac_var}_set
2114 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2115 eval ac_new_val=\$ac_env_${ac_var}_value
2116 case $ac_old_set,$ac_new_set in
2117 set,)
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2120 ac_cache_corrupted=: ;;
2121 ,set)
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2124 ac_cache_corrupted=: ;;
2125 ,);;
2127 if test "x$ac_old_val" != "x$ac_new_val"; then
2128 # differences in whitespace do not lead to failure.
2129 ac_old_val_w=`echo x $ac_old_val`
2130 ac_new_val_w=`echo x $ac_new_val`
2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2134 ac_cache_corrupted=:
2135 else
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2138 eval $ac_var=\$ac_old_val
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2144 fi;;
2145 esac
2146 # Pass precious variables to config.status.
2147 if test "$ac_new_set" = set; then
2148 case $ac_new_val in
2149 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2150 *) ac_arg=$ac_var=$ac_new_val ;;
2151 esac
2152 case " $ac_configure_args " in
2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2154 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2155 esac
2157 done
2158 if $ac_cache_corrupted; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2163 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2165 ## -------------------- ##
2166 ## Main body of script. ##
2167 ## -------------------- ##
2169 ac_ext=c
2170 ac_cpp='$CPP $CPPFLAGS'
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177 ac_config_headers="$ac_config_headers config.h"
2179 am__api_version="1.9"
2180 ac_aux_dir=
2181 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2182 if test -f "$ac_dir/install-sh"; then
2183 ac_aux_dir=$ac_dir
2184 ac_install_sh="$ac_aux_dir/install-sh -c"
2185 break
2186 elif test -f "$ac_dir/install.sh"; then
2187 ac_aux_dir=$ac_dir
2188 ac_install_sh="$ac_aux_dir/install.sh -c"
2189 break
2190 elif test -f "$ac_dir/shtool"; then
2191 ac_aux_dir=$ac_dir
2192 ac_install_sh="$ac_aux_dir/shtool install -c"
2193 break
2195 done
2196 if test -z "$ac_aux_dir"; then
2197 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2200 # These three variables are undocumented and unsupported,
2201 # and are intended to be withdrawn in a future Autoconf release.
2202 # They can cause serious problems if a builder's source tree is in a directory
2203 # whose full name contains unusual characters.
2204 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2205 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2206 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2209 # Find a good install program. We prefer a C program (faster),
2210 # so one script is as good as another. But avoid the broken or
2211 # incompatible versions:
2212 # SysV /etc/install, /usr/sbin/install
2213 # SunOS /usr/etc/install
2214 # IRIX /sbin/install
2215 # AIX /bin/install
2216 # AmigaOS /C/install, which installs bootblocks on floppy discs
2217 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2218 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2219 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2220 # OS/2's system install, which has a completely different semantic
2221 # ./install, which can be erroneously created by make from ./install.sh.
2222 # Reject install programs that cannot install multiple files.
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2224 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2225 if test -z "$INSTALL"; then
2226 if ${ac_cv_path_install+:} false; then :
2227 $as_echo_n "(cached) " >&6
2228 else
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 # Account for people who put trailing slashes in PATH elements.
2235 case $as_dir/ in #((
2236 ./ | .// | /[cC]/* | \
2237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2238 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2239 /usr/ucb/* ) ;;
2241 # OSF1 and SCO ODT 3.0 have their own names for install.
2242 # Don't use installbsd from OSF since it installs stuff as root
2243 # by default.
2244 for ac_prog in ginstall scoinst install; do
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2247 if test $ac_prog = install &&
2248 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2249 # AIX install. It has an incompatible calling convention.
2251 elif test $ac_prog = install &&
2252 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2253 # program-specific install script used by HP pwplus--don't use.
2255 else
2256 rm -rf conftest.one conftest.two conftest.dir
2257 echo one > conftest.one
2258 echo two > conftest.two
2259 mkdir conftest.dir
2260 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2261 test -s conftest.one && test -s conftest.two &&
2262 test -s conftest.dir/conftest.one &&
2263 test -s conftest.dir/conftest.two
2264 then
2265 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2266 break 3
2270 done
2271 done
2273 esac
2275 done
2276 IFS=$as_save_IFS
2278 rm -rf conftest.one conftest.two conftest.dir
2281 if test "${ac_cv_path_install+set}" = set; then
2282 INSTALL=$ac_cv_path_install
2283 else
2284 # As a last resort, use the slow shell script. Don't cache a
2285 # value for INSTALL within a source directory, because that will
2286 # break other packages using the cache if that directory is
2287 # removed, or if the value is a relative name.
2288 INSTALL=$ac_install_sh
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2292 $as_echo "$INSTALL" >&6; }
2294 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2295 # It thinks the first close brace ends the variable substitution.
2296 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2298 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2300 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2303 $as_echo_n "checking whether build environment is sane... " >&6; }
2304 # Just in case
2305 sleep 1
2306 echo timestamp > conftest.file
2307 # Do `set' in a subshell so we don't clobber the current shell's
2308 # arguments. Must try -L first in case configure is actually a
2309 # symlink; some systems play weird games with the mod time of symlinks
2310 # (eg FreeBSD returns the mod time of the symlink's containing
2311 # directory).
2312 if (
2313 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2314 if test "$*" = "X"; then
2315 # -L didn't work.
2316 set X `ls -t $srcdir/configure conftest.file`
2318 rm -f conftest.file
2319 if test "$*" != "X $srcdir/configure conftest.file" \
2320 && test "$*" != "X conftest.file $srcdir/configure"; then
2322 # If neither matched, then we have a broken ls. This can happen
2323 # if, for instance, CONFIG_SHELL is bash and it inherits a
2324 # broken ls alias from the environment. This has actually
2325 # happened. Such a system could not be considered "sane".
2326 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2327 alias in your environment" "$LINENO" 5
2330 test "$2" = conftest.file
2332 then
2333 # Ok.
2335 else
2336 as_fn_error $? "newly created file is older than distributed files!
2337 Check your system clock" "$LINENO" 5
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2340 $as_echo "yes" >&6; }
2341 test "$program_prefix" != NONE &&
2342 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2343 # Use a double $ so make ignores it.
2344 test "$program_suffix" != NONE &&
2345 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2346 # Double any \ or $.
2347 # By default was `s,x,x', remove it if useless.
2348 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2349 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2351 # expand $ac_aux_dir to an absolute path
2352 am_aux_dir=`cd $ac_aux_dir && pwd`
2354 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2355 # Use eval to expand $SHELL
2356 if eval "$MISSING --run true"; then
2357 am_missing_run="$MISSING --run "
2358 else
2359 am_missing_run=
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2361 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2364 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2365 # We used to keeping the `.' as first argument, in order to
2366 # allow $(mkdir_p) to be used without argument. As in
2367 # $(mkdir_p) $(somedir)
2368 # where $(somedir) is conditionally defined. However this is wrong
2369 # for two reasons:
2370 # 1. if the package is installed by a user who cannot write `.'
2371 # make install will fail,
2372 # 2. the above comment should most certainly read
2373 # $(mkdir_p) $(DESTDIR)$(somedir)
2374 # so it does not work when $(somedir) is undefined and
2375 # $(DESTDIR) is not.
2376 # To support the latter case, we have to write
2377 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2378 # so the `.' trick is pointless.
2379 mkdir_p='mkdir -p --'
2380 else
2381 # On NextStep and OpenStep, the `mkdir' command does not
2382 # recognize any option. It will interpret all options as
2383 # directories to create, and then abort because `.' already
2384 # exists.
2385 for d in ./-p ./--version;
2387 test -d $d && rmdir $d
2388 done
2389 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2390 if test -f "$ac_aux_dir/mkinstalldirs"; then
2391 mkdir_p='$(mkinstalldirs)'
2392 else
2393 mkdir_p='$(install_sh) -d'
2397 for ac_prog in gawk mawk nawk awk
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy $ac_prog; ac_word=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if ${ac_cv_prog_AWK+:} false; then :
2404 $as_echo_n "(cached) " >&6
2405 else
2406 if test -n "$AWK"; then
2407 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2408 else
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 for as_dir in $PATH
2412 IFS=$as_save_IFS
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_AWK="$ac_prog"
2417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 break 2
2420 done
2421 done
2422 IFS=$as_save_IFS
2426 AWK=$ac_cv_prog_AWK
2427 if test -n "$AWK"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2429 $as_echo "$AWK" >&6; }
2430 else
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2436 test -n "$AWK" && break
2437 done
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2440 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2441 set x ${MAKE-make}
2442 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2443 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445 else
2446 cat >conftest.make <<\_ACEOF
2447 SHELL = /bin/sh
2448 all:
2449 @echo '@@@%%%=$(MAKE)=@@@%%%'
2450 _ACEOF
2451 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2452 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2453 *@@@%%%=?*=@@@%%%*)
2454 eval ac_cv_prog_make_${ac_make}_set=yes;;
2456 eval ac_cv_prog_make_${ac_make}_set=no;;
2457 esac
2458 rm -f conftest.make
2460 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2462 $as_echo "yes" >&6; }
2463 SET_MAKE=
2464 else
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2467 SET_MAKE="MAKE=${MAKE-make}"
2470 rm -rf .tst 2>/dev/null
2471 mkdir .tst 2>/dev/null
2472 if test -d .tst; then
2473 am__leading_dot=.
2474 else
2475 am__leading_dot=_
2477 rmdir .tst 2>/dev/null
2479 # test to see if srcdir already configured
2480 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2481 test -f $srcdir/config.status; then
2482 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2485 # test whether we have cygpath
2486 if test -z "$CYGPATH_W"; then
2487 if (cygpath --version) >/dev/null 2>/dev/null; then
2488 CYGPATH_W='cygpath -w'
2489 else
2490 CYGPATH_W=echo
2495 # Define the identity of the package.
2496 PACKAGE=pptpd
2497 VERSION=1.3.4
2500 cat >>confdefs.h <<_ACEOF
2501 #define PACKAGE "$PACKAGE"
2502 _ACEOF
2505 cat >>confdefs.h <<_ACEOF
2506 #define VERSION "$VERSION"
2507 _ACEOF
2509 # Some tools Automake needs.
2511 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2514 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2517 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2520 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2523 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2525 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2527 # Installed binaries are usually stripped using `strip' when the user
2528 # run `make install-strip'. However `strip' might not be the right
2529 # tool to use in cross-compilation environments, therefore Automake
2530 # will honor the `STRIP' environment variable to overrule this program.
2531 if test "$cross_compiling" != no; then
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2534 set dummy ${ac_tool_prefix}strip; ac_word=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_STRIP+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 if test -n "$STRIP"; then
2541 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2542 else
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 for as_dir in $PATH
2546 IFS=$as_save_IFS
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 break 2
2554 done
2555 done
2556 IFS=$as_save_IFS
2560 STRIP=$ac_cv_prog_STRIP
2561 if test -n "$STRIP"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2563 $as_echo "$STRIP" >&6; }
2564 else
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2571 if test -z "$ac_cv_prog_STRIP"; then
2572 ac_ct_STRIP=$STRIP
2573 # Extract the first word of "strip", so it can be a program name with args.
2574 set dummy strip; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2578 $as_echo_n "(cached) " >&6
2579 else
2580 if test -n "$ac_ct_STRIP"; then
2581 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2582 else
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 for as_dir in $PATH
2586 IFS=$as_save_IFS
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_ac_ct_STRIP="strip"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 break 2
2594 done
2595 done
2596 IFS=$as_save_IFS
2600 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2601 if test -n "$ac_ct_STRIP"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2603 $as_echo "$ac_ct_STRIP" >&6; }
2604 else
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2609 if test "x$ac_ct_STRIP" = x; then
2610 STRIP=":"
2611 else
2612 case $cross_compiling:$ac_tool_warned in
2613 yes:)
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 ac_tool_warned=yes ;;
2617 esac
2618 STRIP=$ac_ct_STRIP
2620 else
2621 STRIP="$ac_cv_prog_STRIP"
2625 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2627 # We need awk for the "check" target. The system "awk" is bad on
2628 # some platforms.
2629 # Always define AMTAR for backward compatibility.
2631 AMTAR=${AMTAR-"${am_missing_run}tar"}
2633 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2640 # check common command line options early
2642 $as_echo "#define PPP_BINARY \"/usr/sbin/pppd\"" >>confdefs.h
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of BSD PPP" >&5
2645 $as_echo_n "checking command line for use of BSD PPP... " >&6; }
2647 # Check whether --with-bsdppp was given.
2648 if test "${with_bsdppp+set}" = set; then :
2649 withval=$with_bsdppp;
2650 case "$withval" in
2651 yes)
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD user-space ppp" >&5
2653 $as_echo "BSD user-space ppp" >&6; }
2654 $as_echo "#define BSDUSER_PPP 1" >>confdefs.h
2656 BSDUSER_PPP=$with_bsdppp
2657 $as_echo "#define PPP_BINARY \"/usr/sbin/ppp\"" >>confdefs.h
2659 break;
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit standard pppd" >&5
2663 $as_echo "explicit standard pppd" >&6; }
2666 # only yes or no are expected for this option
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2668 $as_echo "unrecognised... terminating" >&6; }
2669 exit 1
2671 esac
2673 else
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default standard pppd" >&5
2675 $as_echo "default standard pppd" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of SLIRP" >&5
2680 $as_echo_n "checking command line for use of SLIRP... " >&6; }
2682 # Check whether --with-slirp was given.
2683 if test "${with_slirp+set}" = set; then :
2684 withval=$with_slirp;
2685 case "$withval" in
2686 yes)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2688 $as_echo "yes" >&6; }
2689 $as_echo "#define SLIRP 1" >>confdefs.h
2691 SLIRP=$with_slirp
2692 $as_echo "#define PPP_BINARY \"/bin/slirp\"" >>confdefs.h
2694 break;
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2698 $as_echo "explicit no" >&6; }
2701 # only yes or no are expected for this option
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2703 $as_echo "unrecognised... terminating" >&6; }
2704 exit 1
2706 esac
2708 else
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2710 $as_echo "default no" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for syslog facility name" >&5
2715 $as_echo_n "checking command line for syslog facility name... " >&6; }
2716 # Check whether --enable-facility was given.
2717 if test "${enable_facility+set}" = set; then :
2718 enableval=$enable_facility;
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
2720 $as_echo "$enableval" >&6; }
2721 cat >>confdefs.h <<_ACEOF
2722 #define PPTP_FACILITY $enableval
2723 _ACEOF
2726 else
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LOG_DAEMON" >&5
2729 $as_echo "default LOG_DAEMON" >&6; }
2730 cat >>confdefs.h <<_ACEOF
2731 #define PPTP_FACILITY LOG_DAEMON
2732 _ACEOF
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for bcrelay build" >&5
2739 $as_echo_n "checking command line for bcrelay build... " >&6; }
2740 # Check whether --enable-bcrelay was given.
2741 if test "${enable_bcrelay+set}" = set; then :
2742 enableval=$enable_bcrelay;
2743 case "$enableval" in
2744 yes)
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2747 $as_echo "#define BCRELAY 1" >>confdefs.h
2749 BCRELAY=$enableval
2750 break;
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2754 $as_echo "explicit no" >&6; }
2757 # only yes or no are expected for this option
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2759 $as_echo "unrecognised... terminating" >&6; }
2760 exit 1
2762 esac
2764 else
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2766 $as_echo "default no" >&6; }
2770 ac_ext=c
2771 ac_cpp='$CPP $CPPFLAGS'
2772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2777 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_CC+:} false; then :
2781 $as_echo_n "(cached) " >&6
2782 else
2783 if test -n "$CC"; then
2784 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 else
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2789 IFS=$as_save_IFS
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 break 2
2797 done
2798 done
2799 IFS=$as_save_IFS
2803 CC=$ac_cv_prog_CC
2804 if test -n "$CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2807 else
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2814 if test -z "$ac_cv_prog_CC"; then
2815 ac_ct_CC=$CC
2816 # Extract the first word of "gcc", so it can be a program name with args.
2817 set dummy gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 if test -n "$ac_ct_CC"; then
2824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_ac_ct_CC="gcc"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 break 2
2837 done
2838 done
2839 IFS=$as_save_IFS
2843 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2844 if test -n "$ac_ct_CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2846 $as_echo "$ac_ct_CC" >&6; }
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2852 if test "x$ac_ct_CC" = x; then
2853 CC=""
2854 else
2855 case $cross_compiling:$ac_tool_warned in
2856 yes:)
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned=yes ;;
2860 esac
2861 CC=$ac_ct_CC
2863 else
2864 CC="$ac_cv_prog_CC"
2867 if test -z "$CC"; then
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2870 set dummy ${ac_tool_prefix}cc; ac_word=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 else
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH
2882 IFS=$as_save_IFS
2883 test -z "$as_dir" && as_dir=.
2884 for ac_exec_ext in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 ac_cv_prog_CC="${ac_tool_prefix}cc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 break 2
2890 done
2891 done
2892 IFS=$as_save_IFS
2896 CC=$ac_cv_prog_CC
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2900 else
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2908 if test -z "$CC"; then
2909 # Extract the first word of "cc", so it can be a program name with args.
2910 set dummy cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919 ac_prog_rejected=no
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2923 IFS=$as_save_IFS
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2928 ac_prog_rejected=yes
2929 continue
2931 ac_cv_prog_CC="cc"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 break 2
2935 done
2936 done
2937 IFS=$as_save_IFS
2939 if test $ac_prog_rejected = yes; then
2940 # We found a bogon in the path, so make sure we never use it.
2941 set dummy $ac_cv_prog_CC
2942 shift
2943 if test $# != 0; then
2944 # We chose a different compiler from the bogus one.
2945 # However, it has the same basename, so the bogon will be chosen
2946 # first if we set CC to just the basename; use the full file name.
2947 shift
2948 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2957 else
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2964 if test -z "$CC"; then
2965 if test -n "$ac_tool_prefix"; then
2966 for ac_prog in cl.exe
2968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_CC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 else
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2
2989 done
2990 done
2991 IFS=$as_save_IFS
2995 CC=$ac_cv_prog_CC
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
2999 else
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3005 test -n "$CC" && break
3006 done
3008 if test -z "$CC"; then
3009 ac_ct_CC=$CC
3010 for ac_prog in cl.exe
3012 # Extract the first word of "$ac_prog", so it can be a program name with args.
3013 set dummy $ac_prog; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 if test -n "$ac_ct_CC"; then
3020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 ac_cv_prog_ac_ct_CC="$ac_prog"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 break 2
3033 done
3034 done
3035 IFS=$as_save_IFS
3039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3042 $as_echo "$ac_ct_CC" >&6; }
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3049 test -n "$ac_ct_CC" && break
3050 done
3052 if test "x$ac_ct_CC" = x; then
3053 CC=""
3054 else
3055 case $cross_compiling:$ac_tool_warned in
3056 yes:)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3059 ac_tool_warned=yes ;;
3060 esac
3061 CC=$ac_ct_CC
3068 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error $? "no acceptable C compiler found in \$PATH
3071 See \`config.log' for more details" "$LINENO" 5; }
3073 # Provide some information about the compiler.
3074 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3075 set X $ac_compile
3076 ac_compiler=$2
3077 for ac_option in --version -v -V -qversion; do
3078 { { ac_try="$ac_compiler $ac_option >&5"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086 ac_status=$?
3087 if test -s conftest.err; then
3088 sed '10a\
3089 ... rest of stderr output deleted ...
3090 10q' conftest.err >conftest.er1
3091 cat conftest.er1 >&5
3093 rm -f conftest.er1 conftest.err
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; }
3096 done
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3102 main ()
3106 return 0;
3108 _ACEOF
3109 ac_clean_files_save=$ac_clean_files
3110 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3111 # Try to create an executable without -o first, disregard a.out.
3112 # It will help us diagnose broken compilers, and finding out an intuition
3113 # of exeext.
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3115 $as_echo_n "checking whether the C compiler works... " >&6; }
3116 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3118 # The possible output files:
3119 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3121 ac_rmfiles=
3122 for ac_file in $ac_files
3124 case $ac_file in
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3127 esac
3128 done
3129 rm -f $ac_rmfiles
3131 if { { ac_try="$ac_link_default"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link_default") 2>&5
3139 ac_status=$?
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
3142 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3144 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3145 # so that the user can short-circuit this test for compilers unknown to
3146 # Autoconf.
3147 for ac_file in $ac_files ''
3149 test -f "$ac_file" || continue
3150 case $ac_file in
3151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3153 [ab].out )
3154 # We found the default executable, but exeext='' is most
3155 # certainly right.
3156 break;;
3157 *.* )
3158 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3159 then :; else
3160 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3162 # We set ac_cv_exeext here because the later test for it is not
3163 # safe: cross compilers may not add the suffix if given an `-o'
3164 # argument, so we may need to know it at that point already.
3165 # Even if this section looks crufty: it has the advantage of
3166 # actually working.
3167 break;;
3169 break;;
3170 esac
3171 done
3172 test "$ac_cv_exeext" = no && ac_cv_exeext=
3174 else
3175 ac_file=''
3177 if test -z "$ac_file"; then :
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error 77 "C compiler cannot create executables
3186 See \`config.log' for more details" "$LINENO" 5; }
3187 else
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3189 $as_echo "yes" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3192 $as_echo_n "checking for C compiler default output file name... " >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3194 $as_echo "$ac_file" >&6; }
3195 ac_exeext=$ac_cv_exeext
3197 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3198 ac_clean_files=$ac_clean_files_save
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3200 $as_echo_n "checking for suffix of executables... " >&6; }
3201 if { { ac_try="$ac_link"
3202 case "(($ac_try" in
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link") 2>&5
3209 ac_status=$?
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3213 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3214 # work properly (i.e., refer to `conftest.exe'), while it won't with
3215 # `rm'.
3216 for ac_file in conftest.exe conftest conftest.*; do
3217 test -f "$ac_file" || continue
3218 case $ac_file in
3219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3220 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 break;;
3222 * ) break;;
3223 esac
3224 done
3225 else
3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3229 See \`config.log' for more details" "$LINENO" 5; }
3231 rm -f conftest conftest$ac_cv_exeext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3233 $as_echo "$ac_cv_exeext" >&6; }
3235 rm -f conftest.$ac_ext
3236 EXEEXT=$ac_cv_exeext
3237 ac_exeext=$EXEEXT
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3240 #include <stdio.h>
3242 main ()
3244 FILE *f = fopen ("conftest.out", "w");
3245 return ferror (f) || fclose (f) != 0;
3248 return 0;
3250 _ACEOF
3251 ac_clean_files="$ac_clean_files conftest.out"
3252 # Check that the compiler produces executables we can run. If not, either
3253 # the compiler is broken, or we cross compile.
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3255 $as_echo_n "checking whether we are cross compiling... " >&6; }
3256 if test "$cross_compiling" != yes; then
3257 { { ac_try="$ac_link"
3258 case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link") 2>&5
3265 ac_status=$?
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }
3268 if { ac_try='./conftest$ac_cv_exeext'
3269 { { case "(($ac_try" in
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3272 esac
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_try") 2>&5
3276 ac_status=$?
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; }; then
3279 cross_compiling=no
3280 else
3281 if test "$cross_compiling" = maybe; then
3282 cross_compiling=yes
3283 else
3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error $? "cannot run C compiled programs.
3287 If you meant to cross compile, use \`--host'.
3288 See \`config.log' for more details" "$LINENO" 5; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3293 $as_echo "$cross_compiling" >&6; }
3295 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3296 ac_clean_files=$ac_clean_files_save
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3298 $as_echo_n "checking for suffix of object files... " >&6; }
3299 if ${ac_cv_objext+:} false; then :
3300 $as_echo_n "(cached) " >&6
3301 else
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3306 main ()
3310 return 0;
3312 _ACEOF
3313 rm -f conftest.o conftest.obj
3314 if { { ac_try="$ac_compile"
3315 case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_compile") 2>&5
3322 ac_status=$?
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; then :
3325 for ac_file in conftest.o conftest.obj conftest.*; do
3326 test -f "$ac_file" || continue;
3327 case $ac_file in
3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3329 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3330 break;;
3331 esac
3332 done
3333 else
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error $? "cannot compute suffix of object files: cannot compile
3340 See \`config.log' for more details" "$LINENO" 5; }
3342 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3345 $as_echo "$ac_cv_objext" >&6; }
3346 OBJEXT=$ac_cv_objext
3347 ac_objext=$OBJEXT
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3349 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3350 if ${ac_cv_c_compiler_gnu+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main ()
3359 #ifndef __GNUC__
3360 choke me
3361 #endif
3364 return 0;
3366 _ACEOF
3367 if ac_fn_c_try_compile "$LINENO"; then :
3368 ac_compiler_gnu=yes
3369 else
3370 ac_compiler_gnu=no
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3377 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3378 if test $ac_compiler_gnu = yes; then
3379 GCC=yes
3380 else
3381 GCC=
3383 ac_test_CFLAGS=${CFLAGS+set}
3384 ac_save_CFLAGS=$CFLAGS
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3386 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3387 if ${ac_cv_prog_cc_g+:} false; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 ac_save_c_werror_flag=$ac_c_werror_flag
3391 ac_c_werror_flag=yes
3392 ac_cv_prog_cc_g=no
3393 CFLAGS="-g"
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 main ()
3402 return 0;
3404 _ACEOF
3405 if ac_fn_c_try_compile "$LINENO"; then :
3406 ac_cv_prog_cc_g=yes
3407 else
3408 CFLAGS=""
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3422 else
3423 ac_c_werror_flag=$ac_save_c_werror_flag
3424 CFLAGS="-g"
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 main ()
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 ac_cv_prog_cc_g=yes
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_c_werror_flag=$ac_save_c_werror_flag
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3447 $as_echo "$ac_cv_prog_cc_g" >&6; }
3448 if test "$ac_test_CFLAGS" = set; then
3449 CFLAGS=$ac_save_CFLAGS
3450 elif test $ac_cv_prog_cc_g = yes; then
3451 if test "$GCC" = yes; then
3452 CFLAGS="-g -O2"
3453 else
3454 CFLAGS="-g"
3456 else
3457 if test "$GCC" = yes; then
3458 CFLAGS="-O2"
3459 else
3460 CFLAGS=
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3464 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3465 if ${ac_cv_prog_cc_c89+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 ac_cv_prog_cc_c89=no
3469 ac_save_CC=$CC
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3472 #include <stdarg.h>
3473 #include <stdio.h>
3474 #include <sys/types.h>
3475 #include <sys/stat.h>
3476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3477 struct buf { int x; };
3478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3479 static char *e (p, i)
3480 char **p;
3481 int i;
3483 return p[i];
3485 static char *f (char * (*g) (char **, int), char **p, ...)
3487 char *s;
3488 va_list v;
3489 va_start (v,p);
3490 s = g (p, va_arg (v,int));
3491 va_end (v);
3492 return s;
3495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3496 function prototypes and stuff, but not '\xHH' hex character constants.
3497 These don't provoke an error unfortunately, instead are silently treated
3498 as 'x'. The following induces an error, until -std is added to get
3499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3500 array size at least. It's necessary to write '\x00'==0 to get something
3501 that's true only with -std. */
3502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3505 inside strings and character constants. */
3506 #define FOO(x) 'x'
3507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3509 int test (int i, double x);
3510 struct s1 {int (*f) (int a);};
3511 struct s2 {int (*f) (double a);};
3512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3513 int argc;
3514 char **argv;
3516 main ()
3518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3520 return 0;
3522 _ACEOF
3523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3526 CC="$ac_save_CC $ac_arg"
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528 ac_cv_prog_cc_c89=$ac_arg
3530 rm -f core conftest.err conftest.$ac_objext
3531 test "x$ac_cv_prog_cc_c89" != "xno" && break
3532 done
3533 rm -f conftest.$ac_ext
3534 CC=$ac_save_CC
3537 # AC_CACHE_VAL
3538 case "x$ac_cv_prog_cc_c89" in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3541 $as_echo "none needed" >&6; } ;;
3542 xno)
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3544 $as_echo "unsupported" >&6; } ;;
3546 CC="$CC $ac_cv_prog_cc_c89"
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3548 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3549 esac
3550 if test "x$ac_cv_prog_cc_c89" != xno; then :
3554 ac_ext=c
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559 DEPDIR="${am__leading_dot}deps"
3561 ac_config_commands="$ac_config_commands depfiles"
3564 am_make=${MAKE-make}
3565 cat > confinc << 'END'
3566 am__doit:
3567 @echo done
3568 .PHONY: am__doit
3570 # If we don't find an include directive, just comment out the code.
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3572 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3573 am__include="#"
3574 am__quote=
3575 _am_result=none
3576 # First try GNU make style include.
3577 echo "include confinc" > confmf
3578 # We grep out `Entering directory' and `Leaving directory'
3579 # messages which can occur if `w' ends up in MAKEFLAGS.
3580 # In particular we don't look at `^make:' because GNU make might
3581 # be invoked under some other name (usually "gmake"), in which
3582 # case it prints its new name instead of `make'.
3583 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3584 am__include=include
3585 am__quote=
3586 _am_result=GNU
3588 # Now try BSD make style include.
3589 if test "$am__include" = "#"; then
3590 echo '.include "confinc"' > confmf
3591 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3592 am__include=.include
3593 am__quote="\""
3594 _am_result=BSD
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3600 $as_echo "$_am_result" >&6; }
3601 rm -f confinc confmf
3603 # Check whether --enable-dependency-tracking was given.
3604 if test "${enable_dependency_tracking+set}" = set; then :
3605 enableval=$enable_dependency_tracking;
3608 if test "x$enable_dependency_tracking" != xno; then
3609 am_depcomp="$ac_aux_dir/depcomp"
3610 AMDEPBACKSLASH='\'
3614 if test "x$enable_dependency_tracking" != xno; then
3615 AMDEP_TRUE=
3616 AMDEP_FALSE='#'
3617 else
3618 AMDEP_TRUE='#'
3619 AMDEP_FALSE=
3625 depcc="$CC" am_compiler_list=
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3628 $as_echo_n "checking dependency style of $depcc... " >&6; }
3629 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3630 $as_echo_n "(cached) " >&6
3631 else
3632 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3633 # We make a subdir and do the tests there. Otherwise we can end up
3634 # making bogus files that we don't know about and never remove. For
3635 # instance it was reported that on HP-UX the gcc test will end up
3636 # making a dummy file named `D' -- because `-MD' means `put the output
3637 # in D'.
3638 mkdir conftest.dir
3639 # Copy depcomp to subdir because otherwise we won't find it if we're
3640 # using a relative directory.
3641 cp "$am_depcomp" conftest.dir
3642 cd conftest.dir
3643 # We will build objects and dependencies in a subdirectory because
3644 # it helps to detect inapplicable dependency modes. For instance
3645 # both Tru64's cc and ICC support -MD to output dependencies as a
3646 # side effect of compilation, but ICC will put the dependencies in
3647 # the current directory while Tru64 will put them in the object
3648 # directory.
3649 mkdir sub
3651 am_cv_CC_dependencies_compiler_type=none
3652 if test "$am_compiler_list" = ""; then
3653 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3655 for depmode in $am_compiler_list; do
3656 # Setup a source with many dependencies, because some compilers
3657 # like to wrap large dependency lists on column 80 (with \), and
3658 # we should not choose a depcomp mode which is confused by this.
3660 # We need to recreate these files for each test, as the compiler may
3661 # overwrite some of them when testing with obscure command lines.
3662 # This happens at least with the AIX C compiler.
3663 : > sub/conftest.c
3664 for i in 1 2 3 4 5 6; do
3665 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3666 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3667 # Solaris 8's {/usr,}/bin/sh.
3668 touch sub/conftst$i.h
3669 done
3670 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3672 case $depmode in
3673 nosideeffect)
3674 # after this tag, mechanisms are not by side-effect, so they'll
3675 # only be used when explicitly requested
3676 if test "x$enable_dependency_tracking" = xyes; then
3677 continue
3678 else
3679 break
3682 none) break ;;
3683 esac
3684 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3685 # mode. It turns out that the SunPro C++ compiler does not properly
3686 # handle `-M -o', and we need to detect this.
3687 if depmode=$depmode \
3688 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3689 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3690 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3691 >/dev/null 2>conftest.err &&
3692 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3693 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3694 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3695 # icc doesn't choke on unknown options, it will just issue warnings
3696 # or remarks (even with -Werror). So we grep stderr for any message
3697 # that says an option was ignored or not supported.
3698 # When given -MP, icc 7.0 and 7.1 complain thusly:
3699 # icc: Command line warning: ignoring option '-M'; no argument required
3700 # The diagnosis changed in icc 8.0:
3701 # icc: Command line remark: option '-MP' not supported
3702 if (grep 'ignoring option' conftest.err ||
3703 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3704 am_cv_CC_dependencies_compiler_type=$depmode
3705 break
3708 done
3710 cd ..
3711 rm -rf conftest.dir
3712 else
3713 am_cv_CC_dependencies_compiler_type=none
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3718 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3719 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3724 test "x$enable_dependency_tracking" != xno \
3725 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3726 am__fastdepCC_TRUE=
3727 am__fastdepCC_FALSE='#'
3728 else
3729 am__fastdepCC_TRUE='#'
3730 am__fastdepCC_FALSE=
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_RANLIB+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$RANLIB"; then
3743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 RANLIB=$ac_cv_prog_RANLIB
3763 if test -n "$RANLIB"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3765 $as_echo "$RANLIB" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3773 if test -z "$ac_cv_prog_RANLIB"; then
3774 ac_ct_RANLIB=$RANLIB
3775 # Extract the first word of "ranlib", so it can be a program name with args.
3776 set dummy ranlib; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$ac_ct_RANLIB"; then
3783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_ac_ct_RANLIB="ranlib"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3796 done
3797 done
3798 IFS=$as_save_IFS
3802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3803 if test -n "$ac_ct_RANLIB"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3805 $as_echo "$ac_ct_RANLIB" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3811 if test "x$ac_ct_RANLIB" = x; then
3812 RANLIB=":"
3813 else
3814 case $cross_compiling:$ac_tool_warned in
3815 yes:)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned=yes ;;
3819 esac
3820 RANLIB=$ac_ct_RANLIB
3822 else
3823 RANLIB="$ac_cv_prog_RANLIB"
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3828 $as_echo_n "checking whether ln -s works... " >&6; }
3829 LN_S=$as_ln_s
3830 if test "$LN_S" = "ln -s"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3832 $as_echo "yes" >&6; }
3833 else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3835 $as_echo "no, using $LN_S" >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3840 set x ${MAKE-make}
3841 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3842 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 cat >conftest.make <<\_ACEOF
3846 SHELL = /bin/sh
3847 all:
3848 @echo '@@@%%%=$(MAKE)=@@@%%%'
3849 _ACEOF
3850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3852 *@@@%%%=?*=@@@%%%*)
3853 eval ac_cv_prog_make_${ac_make}_set=yes;;
3855 eval ac_cv_prog_make_${ac_make}_set=no;;
3856 esac
3857 rm -f conftest.make
3859 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3861 $as_echo "yes" >&6; }
3862 SET_MAKE=
3863 else
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3866 SET_MAKE="MAKE=${MAKE-make}"
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3872 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3873 if ${ac_cv_c_const+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3880 main ()
3882 /* FIXME: Include the comments suggested by Paul. */
3883 #ifndef __cplusplus
3884 /* Ultrix mips cc rejects this. */
3885 typedef int charset[2];
3886 const charset cs;
3887 /* SunOS 4.1.1 cc rejects this. */
3888 char const *const *pcpcc;
3889 char **ppc;
3890 /* NEC SVR4.0.2 mips cc rejects this. */
3891 struct point {int x, y;};
3892 static struct point const zero = {0,0};
3893 /* AIX XL C 1.02.0.0 rejects this.
3894 It does not let you subtract one const X* pointer from another in
3895 an arm of an if-expression whose if-part is not a constant
3896 expression */
3897 const char *g = "string";
3898 pcpcc = &g + (g ? g-g : 0);
3899 /* HPUX 7.0 cc rejects these. */
3900 ++pcpcc;
3901 ppc = (char**) pcpcc;
3902 pcpcc = (char const *const *) ppc;
3903 { /* SCO 3.2v4 cc rejects this. */
3904 char *t;
3905 char const *s = 0 ? (char *) 0 : (char const *) 0;
3907 *t++ = 0;
3908 if (s) return 0;
3910 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3911 int x[] = {25, 17};
3912 const int *foo = &x[0];
3913 ++foo;
3915 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3916 typedef const int *iptr;
3917 iptr p = 0;
3918 ++p;
3920 { /* AIX XL C 1.02.0.0 rejects this saying
3921 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3922 struct s { int j; const int *ap[3]; };
3923 struct s *b; b->j = 5;
3925 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3926 const int foo = 10;
3927 if (!foo) return 0;
3929 return !cs[0] && !zero.x;
3930 #endif
3933 return 0;
3935 _ACEOF
3936 if ac_fn_c_try_compile "$LINENO"; then :
3937 ac_cv_c_const=yes
3938 else
3939 ac_cv_c_const=no
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3944 $as_echo "$ac_cv_c_const" >&6; }
3945 if test $ac_cv_c_const = no; then
3947 $as_echo "#define const /**/" >>confdefs.h
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3952 $as_echo_n "checking for inline... " >&6; }
3953 if ${ac_cv_c_inline+:} false; then :
3954 $as_echo_n "(cached) " >&6
3955 else
3956 ac_cv_c_inline=no
3957 for ac_kw in inline __inline__ __inline; do
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960 #ifndef __cplusplus
3961 typedef int foo_t;
3962 static $ac_kw foo_t static_foo () {return 0; }
3963 $ac_kw foo_t foo () {return 0; }
3964 #endif
3966 _ACEOF
3967 if ac_fn_c_try_compile "$LINENO"; then :
3968 ac_cv_c_inline=$ac_kw
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 test "$ac_cv_c_inline" != no && break
3972 done
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3976 $as_echo "$ac_cv_c_inline" >&6; }
3978 case $ac_cv_c_inline in
3979 inline | yes) ;;
3981 case $ac_cv_c_inline in
3982 no) ac_val=;;
3983 *) ac_val=$ac_cv_c_inline;;
3984 esac
3985 cat >>confdefs.h <<_ACEOF
3986 #ifndef __cplusplus
3987 #define inline $ac_val
3988 #endif
3989 _ACEOF
3991 esac
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5
3997 $as_echo_n "checking whether #! works in shell scripts... " >&6; }
3998 if ${ac_cv_sys_interpreter+:} false; then :
3999 $as_echo_n "(cached) " >&6
4000 else
4001 echo '#! /bin/cat
4002 exit 69
4003 ' >conftest
4004 chmod u+x conftest
4005 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
4006 if test $? -ne 69; then
4007 ac_cv_sys_interpreter=yes
4008 else
4009 ac_cv_sys_interpreter=no
4011 rm -f conftest
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
4014 $as_echo "$ac_cv_sys_interpreter" >&6; }
4015 interpval=$ac_cv_sys_interpreter
4018 for ac_func in setsid daemon setproctitle getservbyname strlcpy fork memmove strerror writev
4019 do :
4020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4022 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4023 cat >>confdefs.h <<_ACEOF
4024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4025 _ACEOF
4028 done
4031 ac_ext=c
4032 ac_cpp='$CPP $CPPFLAGS'
4033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4038 # On Suns, sometimes $CPP names a directory.
4039 if test -n "$CPP" && test -d "$CPP"; then
4040 CPP=
4042 if test -z "$CPP"; then
4043 if ${ac_cv_prog_CPP+:} false; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 # Double quotes because CPP needs to be expanded
4047 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4049 ac_preproc_ok=false
4050 for ac_c_preproc_warn_flag in '' yes
4052 # Use a header file that comes with gcc, so configuring glibc
4053 # with a fresh cross-compiler works.
4054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4055 # <limits.h> exists even on freestanding compilers.
4056 # On the NeXT, cc -E runs the code through the compiler's parser,
4057 # not just through cpp. "Syntax error" is here to catch this case.
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4060 #ifdef __STDC__
4061 # include <limits.h>
4062 #else
4063 # include <assert.h>
4064 #endif
4065 Syntax error
4066 _ACEOF
4067 if ac_fn_c_try_cpp "$LINENO"; then :
4069 else
4070 # Broken: fails on valid input.
4071 continue
4073 rm -f conftest.err conftest.i conftest.$ac_ext
4075 # OK, works on sane cases. Now check whether nonexistent headers
4076 # can be detected and how.
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4079 #include <ac_nonexistent.h>
4080 _ACEOF
4081 if ac_fn_c_try_cpp "$LINENO"; then :
4082 # Broken: success on invalid input.
4083 continue
4084 else
4085 # Passes both tests.
4086 ac_preproc_ok=:
4087 break
4089 rm -f conftest.err conftest.i conftest.$ac_ext
4091 done
4092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4093 rm -f conftest.i conftest.err conftest.$ac_ext
4094 if $ac_preproc_ok; then :
4095 break
4098 done
4099 ac_cv_prog_CPP=$CPP
4102 CPP=$ac_cv_prog_CPP
4103 else
4104 ac_cv_prog_CPP=$CPP
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4107 $as_echo "$CPP" >&6; }
4108 ac_preproc_ok=false
4109 for ac_c_preproc_warn_flag in '' yes
4111 # Use a header file that comes with gcc, so configuring glibc
4112 # with a fresh cross-compiler works.
4113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4114 # <limits.h> exists even on freestanding compilers.
4115 # On the NeXT, cc -E runs the code through the compiler's parser,
4116 # not just through cpp. "Syntax error" is here to catch this case.
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4119 #ifdef __STDC__
4120 # include <limits.h>
4121 #else
4122 # include <assert.h>
4123 #endif
4124 Syntax error
4125 _ACEOF
4126 if ac_fn_c_try_cpp "$LINENO"; then :
4128 else
4129 # Broken: fails on valid input.
4130 continue
4132 rm -f conftest.err conftest.i conftest.$ac_ext
4134 # OK, works on sane cases. Now check whether nonexistent headers
4135 # can be detected and how.
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4138 #include <ac_nonexistent.h>
4139 _ACEOF
4140 if ac_fn_c_try_cpp "$LINENO"; then :
4141 # Broken: success on invalid input.
4142 continue
4143 else
4144 # Passes both tests.
4145 ac_preproc_ok=:
4146 break
4148 rm -f conftest.err conftest.i conftest.$ac_ext
4150 done
4151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4152 rm -f conftest.i conftest.err conftest.$ac_ext
4153 if $ac_preproc_ok; then :
4155 else
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4159 See \`config.log' for more details" "$LINENO" 5; }
4162 ac_ext=c
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4171 if ${ac_cv_path_GREP+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 if test -z "$GREP"; then
4175 ac_path_GREP_found=false
4176 # Loop through the user's path and test for each of PROGNAME-LIST
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4180 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_prog in grep ggrep; do
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4185 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4186 # Check for GNU ac_path_GREP and select it if it is found.
4187 # Check for GNU $ac_path_GREP
4188 case `"$ac_path_GREP" --version 2>&1` in
4189 *GNU*)
4190 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4192 ac_count=0
4193 $as_echo_n 0123456789 >"conftest.in"
4194 while :
4196 cat "conftest.in" "conftest.in" >"conftest.tmp"
4197 mv "conftest.tmp" "conftest.in"
4198 cp "conftest.in" "conftest.nl"
4199 $as_echo 'GREP' >> "conftest.nl"
4200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4201 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4202 as_fn_arith $ac_count + 1 && ac_count=$as_val
4203 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4204 # Best one so far, save it but keep looking for a better one
4205 ac_cv_path_GREP="$ac_path_GREP"
4206 ac_path_GREP_max=$ac_count
4208 # 10*(2^10) chars as input seems more than enough
4209 test $ac_count -gt 10 && break
4210 done
4211 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4212 esac
4214 $ac_path_GREP_found && break 3
4215 done
4216 done
4217 done
4218 IFS=$as_save_IFS
4219 if test -z "$ac_cv_path_GREP"; then
4220 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4222 else
4223 ac_cv_path_GREP=$GREP
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4228 $as_echo "$ac_cv_path_GREP" >&6; }
4229 GREP="$ac_cv_path_GREP"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4233 $as_echo_n "checking for egrep... " >&6; }
4234 if ${ac_cv_path_EGREP+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4238 then ac_cv_path_EGREP="$GREP -E"
4239 else
4240 if test -z "$EGREP"; then
4241 ac_path_EGREP_found=false
4242 # Loop through the user's path and test for each of PROGNAME-LIST
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4246 IFS=$as_save_IFS
4247 test -z "$as_dir" && as_dir=.
4248 for ac_prog in egrep; do
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4251 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4252 # Check for GNU ac_path_EGREP and select it if it is found.
4253 # Check for GNU $ac_path_EGREP
4254 case `"$ac_path_EGREP" --version 2>&1` in
4255 *GNU*)
4256 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4258 ac_count=0
4259 $as_echo_n 0123456789 >"conftest.in"
4260 while :
4262 cat "conftest.in" "conftest.in" >"conftest.tmp"
4263 mv "conftest.tmp" "conftest.in"
4264 cp "conftest.in" "conftest.nl"
4265 $as_echo 'EGREP' >> "conftest.nl"
4266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4268 as_fn_arith $ac_count + 1 && ac_count=$as_val
4269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4270 # Best one so far, save it but keep looking for a better one
4271 ac_cv_path_EGREP="$ac_path_EGREP"
4272 ac_path_EGREP_max=$ac_count
4274 # 10*(2^10) chars as input seems more than enough
4275 test $ac_count -gt 10 && break
4276 done
4277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4278 esac
4280 $ac_path_EGREP_found && break 3
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 if test -z "$ac_cv_path_EGREP"; then
4286 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4288 else
4289 ac_cv_path_EGREP=$EGREP
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4295 $as_echo "$ac_cv_path_EGREP" >&6; }
4296 EGREP="$ac_cv_path_EGREP"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4300 $as_echo_n "checking for ANSI C header files... " >&6; }
4301 if ${ac_cv_header_stdc+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #include <stdlib.h>
4307 #include <stdarg.h>
4308 #include <string.h>
4309 #include <float.h>
4312 main ()
4316 return 0;
4318 _ACEOF
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_header_stdc=yes
4321 else
4322 ac_cv_header_stdc=no
4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4326 if test $ac_cv_header_stdc = yes; then
4327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330 #include <string.h>
4332 _ACEOF
4333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4334 $EGREP "memchr" >/dev/null 2>&1; then :
4336 else
4337 ac_cv_header_stdc=no
4339 rm -f conftest*
4343 if test $ac_cv_header_stdc = yes; then
4344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4347 #include <stdlib.h>
4349 _ACEOF
4350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4351 $EGREP "free" >/dev/null 2>&1; then :
4353 else
4354 ac_cv_header_stdc=no
4356 rm -f conftest*
4360 if test $ac_cv_header_stdc = yes; then
4361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4362 if test "$cross_compiling" = yes; then :
4364 else
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #include <ctype.h>
4368 #include <stdlib.h>
4369 #if ((' ' & 0x0FF) == 0x020)
4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4372 #else
4373 # define ISLOWER(c) \
4374 (('a' <= (c) && (c) <= 'i') \
4375 || ('j' <= (c) && (c) <= 'r') \
4376 || ('s' <= (c) && (c) <= 'z'))
4377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4378 #endif
4380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4382 main ()
4384 int i;
4385 for (i = 0; i < 256; i++)
4386 if (XOR (islower (i), ISLOWER (i))
4387 || toupper (i) != TOUPPER (i))
4388 return 2;
4389 return 0;
4391 _ACEOF
4392 if ac_fn_c_try_run "$LINENO"; then :
4394 else
4395 ac_cv_header_stdc=no
4397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4398 conftest.$ac_objext conftest.beam conftest.$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4404 $as_echo "$ac_cv_header_stdc" >&6; }
4405 if test $ac_cv_header_stdc = yes; then
4407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4412 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4413 inttypes.h stdint.h unistd.h
4414 do :
4415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4419 cat >>confdefs.h <<_ACEOF
4420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4421 _ACEOF
4425 done
4428 for ac_header in pty.h
4429 do :
4430 ac_fn_c_check_header_mongrel "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
4431 if test "x$ac_cv_header_pty_h" = xyes; then :
4432 cat >>confdefs.h <<_ACEOF
4433 #define HAVE_PTY_H 1
4434 _ACEOF
4438 done
4440 for ac_header in string.h
4441 do :
4442 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4443 if test "x$ac_cv_header_string_h" = xyes; then :
4444 cat >>confdefs.h <<_ACEOF
4445 #define HAVE_STRING_H 1
4446 _ACEOF
4450 done
4452 for ac_header in syslog.h
4453 do :
4454 ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
4455 if test "x$ac_cv_header_syslog_h" = xyes; then :
4456 cat >>confdefs.h <<_ACEOF
4457 #define HAVE_SYSLOG_H 1
4458 _ACEOF
4462 done
4464 for ac_header in libintl.h
4465 do :
4466 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4467 if test "x$ac_cv_header_libintl_h" = xyes; then :
4468 cat >>confdefs.h <<_ACEOF
4469 #define HAVE_LIBINTL_H 1
4470 _ACEOF
4474 done
4476 for ac_header in libutil.h
4477 do :
4478 ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
4479 if test "x$ac_cv_header_libutil_h" = xyes; then :
4480 cat >>confdefs.h <<_ACEOF
4481 #define HAVE_LIBUTIL_H 1
4482 _ACEOF
4486 done
4488 for ac_header in sys/uio.h
4489 do :
4490 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
4491 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
4492 cat >>confdefs.h <<_ACEOF
4493 #define HAVE_SYS_UIO_H 1
4494 _ACEOF
4498 done
4501 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4502 if test "x$ac_cv_type_size_t" = xyes; then :
4504 else
4506 cat >>confdefs.h <<_ACEOF
4507 #define size_t unsigned int
4508 _ACEOF
4512 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4513 if test "x$ac_cv_type_ssize_t" = xyes; then :
4515 else
4517 cat >>confdefs.h <<_ACEOF
4518 #define ssize_t int
4519 _ACEOF
4523 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
4524 if test "x$ac_cv_type_u_int8_t" = xyes; then :
4526 else
4528 cat >>confdefs.h <<_ACEOF
4529 #define u_int8_t unsigned char
4530 _ACEOF
4534 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
4535 if test "x$ac_cv_type_u_int16_t" = xyes; then :
4537 else
4539 cat >>confdefs.h <<_ACEOF
4540 #define u_int16_t unsigned short
4541 _ACEOF
4545 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
4546 if test "x$ac_cv_type_u_int32_t" = xyes; then :
4548 else
4550 cat >>confdefs.h <<_ACEOF
4551 #define u_int32_t unsigned int
4552 _ACEOF
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
4558 $as_echo_n "checking for socklen_t... " >&6; }
4559 if ${ac_cv_type_socklen_t+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565 #include <sys/types.h>
4566 #include <sys/socket.h>
4567 #if STDC_HEADERS
4568 #include <stdlib.h>
4569 #include <stddef.h>
4570 #endif
4571 _ACEOF
4572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4573 $EGREP "socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
4574 ac_cv_type_socklen_t=yes
4575 else
4576 ac_cv_type_socklen_t=no
4578 rm -f conftest*
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
4583 $as_echo "$ac_cv_type_socklen_t" >&6; }
4584 if test $ac_cv_type_socklen_t = no; then
4585 $as_echo "#define socklen_t int" >>confdefs.h
4590 # Check whether --with-libwrap was given.
4591 if test "${with_libwrap+set}" = set; then :
4592 withval=$with_libwrap;
4593 if test "$with_libwrap" = "yes"; then
4594 XYZZY_LIBS="$LIBS"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap alone" >&5
4596 $as_echo_n "checking for libwrap alone... " >&6; }
4597 LIBS="$XYZZY_LIBS -lwrap"
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4600 int allow_severity, deny_severity;
4602 main ()
4604 hosts_access();
4606 return 0;
4608 _ACEOF
4609 if ac_fn_c_try_link "$LINENO"; then :
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4611 $as_echo "yes" >&6; }
4612 $as_echo "#define HAVE_LIBWRAP 1" >>confdefs.h
4614 LIBWRAP="yes"
4615 XTRALIBS_MGR="-lwrap"
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 LIBS="$XYZZY_LIBS -lwrap -lnsl"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap with libnsl" >&5
4621 $as_echo_n "checking for libwrap with libnsl... " >&6; }
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4624 int allow_severity, deny_severity;
4626 main ()
4628 hosts_access();
4630 return 0;
4632 _ACEOF
4633 if ac_fn_c_try_link "$LINENO"; then :
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4635 $as_echo "yes" >&6; }
4636 $as_echo "#define HAVE_LIBWRAP 1" >>confdefs.h
4638 LIBWRAP="yes"
4639 XTRALIBS_MGR="-lwrap -lnsl"
4640 else
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4644 rm -f core conftest.err conftest.$ac_objext \
4645 conftest$ac_exeext conftest.$ac_ext
4648 rm -f core conftest.err conftest.$ac_objext \
4649 conftest$ac_exeext conftest.$ac_ext
4650 LIBS="$XYZZY_LIBS"
4656 XYZZY_LIBS="$LIBS"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lc" >&5
4658 $as_echo_n "checking for accept in -lc... " >&6; }
4659 if ${ac_cv_lib_c_accept+:} false; then :
4660 $as_echo_n "(cached) " >&6
4661 else
4662 ac_check_lib_save_LIBS=$LIBS
4663 LIBS="-lc $LIBS"
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4667 /* Override any GCC internal prototype to avoid an error.
4668 Use char because int might match the return type of a GCC
4669 builtin and then its argument prototype would still apply. */
4670 #ifdef __cplusplus
4671 extern "C"
4672 #endif
4673 char accept ();
4675 main ()
4677 return accept ();
4679 return 0;
4681 _ACEOF
4682 if ac_fn_c_try_link "$LINENO"; then :
4683 ac_cv_lib_c_accept=yes
4684 else
4685 ac_cv_lib_c_accept=no
4687 rm -f core conftest.err conftest.$ac_objext \
4688 conftest$ac_exeext conftest.$ac_ext
4689 LIBS=$ac_check_lib_save_LIBS
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_accept" >&5
4692 $as_echo "$ac_cv_lib_c_accept" >&6; }
4693 if test "x$ac_cv_lib_c_accept" = xyes; then :
4694 cat >>confdefs.h <<_ACEOF
4695 #define HAVE_LIBC 1
4696 _ACEOF
4698 LIBS="-lc $LIBS"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lc" >&5
4703 $as_echo_n "checking for gethostbyname in -lc... " >&6; }
4704 if ${ac_cv_lib_c_gethostbyname+:} false; then :
4705 $as_echo_n "(cached) " >&6
4706 else
4707 ac_check_lib_save_LIBS=$LIBS
4708 LIBS="-lc $LIBS"
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4715 #ifdef __cplusplus
4716 extern "C"
4717 #endif
4718 char gethostbyname ();
4720 main ()
4722 return gethostbyname ();
4724 return 0;
4726 _ACEOF
4727 if ac_fn_c_try_link "$LINENO"; then :
4728 ac_cv_lib_c_gethostbyname=yes
4729 else
4730 ac_cv_lib_c_gethostbyname=no
4732 rm -f core conftest.err conftest.$ac_objext \
4733 conftest$ac_exeext conftest.$ac_ext
4734 LIBS=$ac_check_lib_save_LIBS
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname" >&5
4737 $as_echo "$ac_cv_lib_c_gethostbyname" >&6; }
4738 if test "x$ac_cv_lib_c_gethostbyname" = xyes; then :
4739 cat >>confdefs.h <<_ACEOF
4740 #define HAVE_LIBC 1
4741 _ACEOF
4743 LIBS="-lc $LIBS"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lc" >&5
4748 $as_echo_n "checking for openpty in -lc... " >&6; }
4749 if ${ac_cv_lib_c_openpty+:} false; then :
4750 $as_echo_n "(cached) " >&6
4751 else
4752 ac_check_lib_save_LIBS=$LIBS
4753 LIBS="-lc $LIBS"
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4757 /* Override any GCC internal prototype to avoid an error.
4758 Use char because int might match the return type of a GCC
4759 builtin and then its argument prototype would still apply. */
4760 #ifdef __cplusplus
4761 extern "C"
4762 #endif
4763 char openpty ();
4765 main ()
4767 return openpty ();
4769 return 0;
4771 _ACEOF
4772 if ac_fn_c_try_link "$LINENO"; then :
4773 ac_cv_lib_c_openpty=yes
4774 else
4775 ac_cv_lib_c_openpty=no
4777 rm -f core conftest.err conftest.$ac_objext \
4778 conftest$ac_exeext conftest.$ac_ext
4779 LIBS=$ac_check_lib_save_LIBS
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_openpty" >&5
4782 $as_echo "$ac_cv_lib_c_openpty" >&6; }
4783 if test "x$ac_cv_lib_c_openpty" = xyes; then :
4784 cat >>confdefs.h <<_ACEOF
4785 #define HAVE_LIBC 1
4786 _ACEOF
4788 LIBS="-lc $LIBS"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lc" >&5
4793 $as_echo_n "checking for gettext in -lc... " >&6; }
4794 if ${ac_cv_lib_c_gettext+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 ac_check_lib_save_LIBS=$LIBS
4798 LIBS="-lc $LIBS"
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4805 #ifdef __cplusplus
4806 extern "C"
4807 #endif
4808 char gettext ();
4810 main ()
4812 return gettext ();
4814 return 0;
4816 _ACEOF
4817 if ac_fn_c_try_link "$LINENO"; then :
4818 ac_cv_lib_c_gettext=yes
4819 else
4820 ac_cv_lib_c_gettext=no
4822 rm -f core conftest.err conftest.$ac_objext \
4823 conftest$ac_exeext conftest.$ac_ext
4824 LIBS=$ac_check_lib_save_LIBS
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettext" >&5
4827 $as_echo "$ac_cv_lib_c_gettext" >&6; }
4828 if test "x$ac_cv_lib_c_gettext" = xyes; then :
4829 cat >>confdefs.h <<_ACEOF
4830 #define HAVE_LIBC 1
4831 _ACEOF
4833 LIBS="-lc $LIBS"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lsocket" >&5
4838 $as_echo_n "checking for accept in -lsocket... " >&6; }
4839 if ${ac_cv_lib_socket_accept+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 ac_check_lib_save_LIBS=$LIBS
4843 LIBS="-lsocket $LIBS"
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4847 /* Override any GCC internal prototype to avoid an error.
4848 Use char because int might match the return type of a GCC
4849 builtin and then its argument prototype would still apply. */
4850 #ifdef __cplusplus
4851 extern "C"
4852 #endif
4853 char accept ();
4855 main ()
4857 return accept ();
4859 return 0;
4861 _ACEOF
4862 if ac_fn_c_try_link "$LINENO"; then :
4863 ac_cv_lib_socket_accept=yes
4864 else
4865 ac_cv_lib_socket_accept=no
4867 rm -f core conftest.err conftest.$ac_objext \
4868 conftest$ac_exeext conftest.$ac_ext
4869 LIBS=$ac_check_lib_save_LIBS
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_accept" >&5
4872 $as_echo "$ac_cv_lib_socket_accept" >&6; }
4873 if test "x$ac_cv_lib_socket_accept" = xyes; then :
4874 cat >>confdefs.h <<_ACEOF
4875 #define HAVE_LIBSOCKET 1
4876 _ACEOF
4878 LIBS="-lsocket $LIBS"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4883 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4884 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 ac_check_lib_save_LIBS=$LIBS
4888 LIBS="-lnsl $LIBS"
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4895 #ifdef __cplusplus
4896 extern "C"
4897 #endif
4898 char gethostbyname ();
4900 main ()
4902 return gethostbyname ();
4904 return 0;
4906 _ACEOF
4907 if ac_fn_c_try_link "$LINENO"; then :
4908 ac_cv_lib_nsl_gethostbyname=yes
4909 else
4910 ac_cv_lib_nsl_gethostbyname=no
4912 rm -f core conftest.err conftest.$ac_objext \
4913 conftest$ac_exeext conftest.$ac_ext
4914 LIBS=$ac_check_lib_save_LIBS
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4917 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4918 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
4919 cat >>confdefs.h <<_ACEOF
4920 #define HAVE_LIBNSL 1
4921 _ACEOF
4923 LIBS="-lnsl $LIBS"
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
4928 $as_echo_n "checking for openpty in -lutil... " >&6; }
4929 if ${ac_cv_lib_util_openpty+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lutil $LIBS"
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char openpty ();
4945 main ()
4947 return openpty ();
4949 return 0;
4951 _ACEOF
4952 if ac_fn_c_try_link "$LINENO"; then :
4953 ac_cv_lib_util_openpty=yes
4954 else
4955 ac_cv_lib_util_openpty=no
4957 rm -f core conftest.err conftest.$ac_objext \
4958 conftest$ac_exeext conftest.$ac_ext
4959 LIBS=$ac_check_lib_save_LIBS
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
4962 $as_echo "$ac_cv_lib_util_openpty" >&6; }
4963 if test "x$ac_cv_lib_util_openpty" = xyes; then :
4964 cat >>confdefs.h <<_ACEOF
4965 #define HAVE_LIBUTIL 1
4966 _ACEOF
4968 LIBS="-lutil $LIBS"
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
4973 $as_echo_n "checking for gettext in -lintl... " >&6; }
4974 if ${ac_cv_lib_intl_gettext+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 ac_check_lib_save_LIBS=$LIBS
4978 LIBS="-lintl $LIBS"
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4982 /* Override any GCC internal prototype to avoid an error.
4983 Use char because int might match the return type of a GCC
4984 builtin and then its argument prototype would still apply. */
4985 #ifdef __cplusplus
4986 extern "C"
4987 #endif
4988 char gettext ();
4990 main ()
4992 return gettext ();
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_link "$LINENO"; then :
4998 ac_cv_lib_intl_gettext=yes
4999 else
5000 ac_cv_lib_intl_gettext=no
5002 rm -f core conftest.err conftest.$ac_objext \
5003 conftest$ac_exeext conftest.$ac_ext
5004 LIBS=$ac_check_lib_save_LIBS
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5007 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5008 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
5009 cat >>confdefs.h <<_ACEOF
5010 #define HAVE_LIBINTL 1
5011 _ACEOF
5013 LIBS="-lintl $LIBS"
5017 LIBS="$XYZZY_LIBS"
5018 if test "$ac_cv_lib_c_accept" = no; then
5019 if test "$ac_cv_lib_socket_accept" = yes; then
5020 LIBS="$LIBS -lsocket"
5021 else
5022 echo "Couldn't find a usable accept!" 1>&2
5023 exit 1
5026 if test "$ac_cv_lib_c_gethostbyname" = no; then
5027 if test "$ac_cv_lib_nsl_gethostbyname" = yes; then
5028 LIBS="$LIBS -lnsl"
5029 if test "$XTRALIBS_MGR" = "-lwrap -lnsl"; then
5030 XTRALIBS_MGR="-lwrap"
5032 else
5033 echo "Couldn't find a usable gethostbyname!" 1>&2
5034 exit 1
5037 if test "$ac_cv_lib_c_openpty" = yes; then
5038 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
5040 else
5041 if test "$ac_cv_lib_util_openpty" = yes; then
5042 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
5044 XTRALIBS_CTRL="-lutil"
5047 if test "$ac_cv_header_libintl_h" = yes; then
5048 if test "$ac_cv_lib_c_gettext" = no; then
5049 if test "$ac_cv_lib_intl_gettext" = yes; then
5050 XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
5051 else
5052 echo "Have libintl.h but no usable gettext!" 1>&2
5053 exit 1
5062 if test "$BCRELAY" = "yes"; then
5063 if test "$BCRELAY" = "yes"; then
5064 XTRA_PROG="bcrelay"
5065 true
5066 else
5067 echo "No BCrelay selected." 1>&2
5073 echo '==============================================================================='
5075 echo 'Configuration chosen:'
5077 echo -n ' PPPd: '
5078 if test "$BSDUSER_PPP" = "yes"; then
5079 echo 'BSD user-space PPPd.'
5080 else
5081 if test "$SLIRP" = "yes"; then
5082 echo 'SLIRP.'
5083 else
5084 echo 'Standard.'
5088 echo -n ' LIBWRAP security: '
5089 if test "$LIBWRAP" = "yes"; then
5090 echo 'Yes.'
5091 else
5092 echo 'No.'
5095 echo -n ' Broadcast Relay: '
5096 if test "$BCRELAY" = "yes"; then
5097 echo 'Yes.'
5098 else
5099 echo 'No.'
5102 cat >confcache <<\_ACEOF
5103 # This file is a shell script that caches the results of configure
5104 # tests run on this system so they can be shared between configure
5105 # scripts and configure runs, see configure's option --config-cache.
5106 # It is not useful on other systems. If it contains results you don't
5107 # want to keep, you may remove or edit it.
5109 # config.status only pays attention to the cache file if you give it
5110 # the --recheck option to rerun configure.
5112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5114 # following values.
5116 _ACEOF
5118 # The following way of writing the cache mishandles newlines in values,
5119 # but we know of no workaround that is simple, portable, and efficient.
5120 # So, we kill variables containing newlines.
5121 # Ultrix sh set writes to stderr and can't be redirected directly,
5122 # and sets the high bit in the cache file unless we assign to the vars.
5124 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5125 eval ac_val=\$$ac_var
5126 case $ac_val in #(
5127 *${as_nl}*)
5128 case $ac_var in #(
5129 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5130 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5131 esac
5132 case $ac_var in #(
5133 _ | IFS | as_nl) ;; #(
5134 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5135 *) { eval $ac_var=; unset $ac_var;} ;;
5136 esac ;;
5137 esac
5138 done
5140 (set) 2>&1 |
5141 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5142 *${as_nl}ac_space=\ *)
5143 # `set' does not quote correctly, so add quotes: double-quote
5144 # substitution turns \\\\ into \\, and sed turns \\ into \.
5145 sed -n \
5146 "s/'/'\\\\''/g;
5147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5148 ;; #(
5150 # `set' quotes correctly as required by POSIX, so do not add quotes.
5151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5153 esac |
5154 sort
5156 sed '
5157 /^ac_cv_env_/b end
5158 t clear
5159 :clear
5160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5161 t end
5162 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5163 :end' >>confcache
5164 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5165 if test -w "$cache_file"; then
5166 if test "x$cache_file" != "x/dev/null"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5168 $as_echo "$as_me: updating cache $cache_file" >&6;}
5169 if test ! -f "$cache_file" || test -h "$cache_file"; then
5170 cat confcache >"$cache_file"
5171 else
5172 case $cache_file in #(
5173 */* | ?:*)
5174 mv -f confcache "$cache_file"$$ &&
5175 mv -f "$cache_file"$$ "$cache_file" ;; #(
5177 mv -f confcache "$cache_file" ;;
5178 esac
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5183 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5186 rm -f confcache
5187 ac_config_files="$ac_config_files Makefile"
5189 cat >confcache <<\_ACEOF
5190 # This file is a shell script that caches the results of configure
5191 # tests run on this system so they can be shared between configure
5192 # scripts and configure runs, see configure's option --config-cache.
5193 # It is not useful on other systems. If it contains results you don't
5194 # want to keep, you may remove or edit it.
5196 # config.status only pays attention to the cache file if you give it
5197 # the --recheck option to rerun configure.
5199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5201 # following values.
5203 _ACEOF
5205 # The following way of writing the cache mishandles newlines in values,
5206 # but we know of no workaround that is simple, portable, and efficient.
5207 # So, we kill variables containing newlines.
5208 # Ultrix sh set writes to stderr and can't be redirected directly,
5209 # and sets the high bit in the cache file unless we assign to the vars.
5211 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5212 eval ac_val=\$$ac_var
5213 case $ac_val in #(
5214 *${as_nl}*)
5215 case $ac_var in #(
5216 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5218 esac
5219 case $ac_var in #(
5220 _ | IFS | as_nl) ;; #(
5221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5222 *) { eval $ac_var=; unset $ac_var;} ;;
5223 esac ;;
5224 esac
5225 done
5227 (set) 2>&1 |
5228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5229 *${as_nl}ac_space=\ *)
5230 # `set' does not quote correctly, so add quotes: double-quote
5231 # substitution turns \\\\ into \\, and sed turns \\ into \.
5232 sed -n \
5233 "s/'/'\\\\''/g;
5234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5235 ;; #(
5237 # `set' quotes correctly as required by POSIX, so do not add quotes.
5238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5240 esac |
5241 sort
5243 sed '
5244 /^ac_cv_env_/b end
5245 t clear
5246 :clear
5247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5248 t end
5249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5250 :end' >>confcache
5251 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5252 if test -w "$cache_file"; then
5253 if test "x$cache_file" != "x/dev/null"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5255 $as_echo "$as_me: updating cache $cache_file" >&6;}
5256 if test ! -f "$cache_file" || test -h "$cache_file"; then
5257 cat confcache >"$cache_file"
5258 else
5259 case $cache_file in #(
5260 */* | ?:*)
5261 mv -f confcache "$cache_file"$$ &&
5262 mv -f "$cache_file"$$ "$cache_file" ;; #(
5264 mv -f confcache "$cache_file" ;;
5265 esac
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5273 rm -f confcache
5275 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5276 # Let make expand exec_prefix.
5277 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5279 DEFS=-DHAVE_CONFIG_H
5281 ac_libobjs=
5282 ac_ltlibobjs=
5284 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5285 # 1. Remove the extension, and $U if already installed.
5286 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5287 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5289 # will be set to the directory where LIBOBJS objects are built.
5290 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5291 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5292 done
5293 LIBOBJS=$ac_libobjs
5295 LTLIBOBJS=$ac_ltlibobjs
5298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5299 as_fn_error $? "conditional \"AMDEP\" was never defined.
5300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5303 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5307 : "${CONFIG_STATUS=./config.status}"
5308 ac_write_fail=0
5309 ac_clean_files_save=$ac_clean_files
5310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5313 as_write_fail=0
5314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5315 #! $SHELL
5316 # Generated by $as_me.
5317 # Run this file to recreate the current configuration.
5318 # Compiler output produced by configure, useful for debugging
5319 # configure, is in config.log if it exists.
5321 debug=false
5322 ac_cs_recheck=false
5323 ac_cs_silent=false
5325 SHELL=\${CONFIG_SHELL-$SHELL}
5326 export SHELL
5327 _ASEOF
5328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5329 ## -------------------- ##
5330 ## M4sh Initialization. ##
5331 ## -------------------- ##
5333 # Be more Bourne compatible
5334 DUALCASE=1; export DUALCASE # for MKS sh
5335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5336 emulate sh
5337 NULLCMD=:
5338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5339 # is contrary to our usage. Disable this feature.
5340 alias -g '${1+"$@"}'='"$@"'
5341 setopt NO_GLOB_SUBST
5342 else
5343 case `(set -o) 2>/dev/null` in #(
5344 *posix*) :
5345 set -o posix ;; #(
5346 *) :
5348 esac
5352 as_nl='
5354 export as_nl
5355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5356 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5359 # Prefer a ksh shell builtin over an external printf program on Solaris,
5360 # but without wasting forks for bash or zsh.
5361 if test -z "$BASH_VERSION$ZSH_VERSION" \
5362 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5363 as_echo='print -r --'
5364 as_echo_n='print -rn --'
5365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5366 as_echo='printf %s\n'
5367 as_echo_n='printf %s'
5368 else
5369 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5370 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5371 as_echo_n='/usr/ucb/echo -n'
5372 else
5373 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5374 as_echo_n_body='eval
5375 arg=$1;
5376 case $arg in #(
5377 *"$as_nl"*)
5378 expr "X$arg" : "X\\(.*\\)$as_nl";
5379 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5380 esac;
5381 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5383 export as_echo_n_body
5384 as_echo_n='sh -c $as_echo_n_body as_echo'
5386 export as_echo_body
5387 as_echo='sh -c $as_echo_body as_echo'
5390 # The user is always right.
5391 if test "${PATH_SEPARATOR+set}" != set; then
5392 PATH_SEPARATOR=:
5393 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5394 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5395 PATH_SEPARATOR=';'
5400 # IFS
5401 # We need space, tab and new line, in precisely that order. Quoting is
5402 # there to prevent editors from complaining about space-tab.
5403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5404 # splitting by setting IFS to empty value.)
5405 IFS=" "" $as_nl"
5407 # Find who we are. Look in the path if we contain no directory separator.
5408 as_myself=
5409 case $0 in #((
5410 *[\\/]* ) as_myself=$0 ;;
5411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5417 done
5418 IFS=$as_save_IFS
5421 esac
5422 # We did not find ourselves, most probably we were run as `sh COMMAND'
5423 # in which case we are not to be found in the path.
5424 if test "x$as_myself" = x; then
5425 as_myself=$0
5427 if test ! -f "$as_myself"; then
5428 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5429 exit 1
5432 # Unset variables that we do not need and which cause bugs (e.g. in
5433 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5434 # suppresses any "Segmentation fault" message there. '((' could
5435 # trigger a bug in pdksh 5.2.14.
5436 for as_var in BASH_ENV ENV MAIL MAILPATH
5437 do eval test x\${$as_var+set} = xset \
5438 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5439 done
5440 PS1='$ '
5441 PS2='> '
5442 PS4='+ '
5444 # NLS nuisances.
5445 LC_ALL=C
5446 export LC_ALL
5447 LANGUAGE=C
5448 export LANGUAGE
5450 # CDPATH.
5451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5454 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5455 # ----------------------------------------
5456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5458 # script with STATUS, using 1 if that was 0.
5459 as_fn_error ()
5461 as_status=$1; test $as_status -eq 0 && as_status=1
5462 if test "$4"; then
5463 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5464 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5466 $as_echo "$as_me: error: $2" >&2
5467 as_fn_exit $as_status
5468 } # as_fn_error
5471 # as_fn_set_status STATUS
5472 # -----------------------
5473 # Set $? to STATUS, without forking.
5474 as_fn_set_status ()
5476 return $1
5477 } # as_fn_set_status
5479 # as_fn_exit STATUS
5480 # -----------------
5481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5482 as_fn_exit ()
5484 set +e
5485 as_fn_set_status $1
5486 exit $1
5487 } # as_fn_exit
5489 # as_fn_unset VAR
5490 # ---------------
5491 # Portably unset VAR.
5492 as_fn_unset ()
5494 { eval $1=; unset $1;}
5496 as_unset=as_fn_unset
5497 # as_fn_append VAR VALUE
5498 # ----------------------
5499 # Append the text in VALUE to the end of the definition contained in VAR. Take
5500 # advantage of any shell optimizations that allow amortized linear growth over
5501 # repeated appends, instead of the typical quadratic growth present in naive
5502 # implementations.
5503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5504 eval 'as_fn_append ()
5506 eval $1+=\$2
5508 else
5509 as_fn_append ()
5511 eval $1=\$$1\$2
5513 fi # as_fn_append
5515 # as_fn_arith ARG...
5516 # ------------------
5517 # Perform arithmetic evaluation on the ARGs, and store the result in the
5518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5519 # must be portable across $(()) and expr.
5520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5521 eval 'as_fn_arith ()
5523 as_val=$(( $* ))
5525 else
5526 as_fn_arith ()
5528 as_val=`expr "$@" || test $? -eq 1`
5530 fi # as_fn_arith
5533 if expr a : '\(a\)' >/dev/null 2>&1 &&
5534 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5535 as_expr=expr
5536 else
5537 as_expr=false
5540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5541 as_basename=basename
5542 else
5543 as_basename=false
5546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5547 as_dirname=dirname
5548 else
5549 as_dirname=false
5552 as_me=`$as_basename -- "$0" ||
5553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5554 X"$0" : 'X\(//\)$' \| \
5555 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5556 $as_echo X/"$0" |
5557 sed '/^.*\/\([^/][^/]*\)\/*$/{
5558 s//\1/
5561 /^X\/\(\/\/\)$/{
5562 s//\1/
5565 /^X\/\(\/\).*/{
5566 s//\1/
5569 s/.*/./; q'`
5571 # Avoid depending upon Character Ranges.
5572 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5573 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5574 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5575 as_cr_digits='0123456789'
5576 as_cr_alnum=$as_cr_Letters$as_cr_digits
5578 ECHO_C= ECHO_N= ECHO_T=
5579 case `echo -n x` in #(((((
5580 -n*)
5581 case `echo 'xy\c'` in
5582 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5583 xy) ECHO_C='\c';;
5584 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5585 ECHO_T=' ';;
5586 esac;;
5588 ECHO_N='-n';;
5589 esac
5591 rm -f conf$$ conf$$.exe conf$$.file
5592 if test -d conf$$.dir; then
5593 rm -f conf$$.dir/conf$$.file
5594 else
5595 rm -f conf$$.dir
5596 mkdir conf$$.dir 2>/dev/null
5598 if (echo >conf$$.file) 2>/dev/null; then
5599 if ln -s conf$$.file conf$$ 2>/dev/null; then
5600 as_ln_s='ln -s'
5601 # ... but there are two gotchas:
5602 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5603 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5604 # In both cases, we have to default to `cp -p'.
5605 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5606 as_ln_s='cp -p'
5607 elif ln conf$$.file conf$$ 2>/dev/null; then
5608 as_ln_s=ln
5609 else
5610 as_ln_s='cp -p'
5612 else
5613 as_ln_s='cp -p'
5615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5616 rmdir conf$$.dir 2>/dev/null
5619 # as_fn_mkdir_p
5620 # -------------
5621 # Create "$as_dir" as a directory, including parents if necessary.
5622 as_fn_mkdir_p ()
5625 case $as_dir in #(
5626 -*) as_dir=./$as_dir;;
5627 esac
5628 test -d "$as_dir" || eval $as_mkdir_p || {
5629 as_dirs=
5630 while :; do
5631 case $as_dir in #(
5632 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5633 *) as_qdir=$as_dir;;
5634 esac
5635 as_dirs="'$as_qdir' $as_dirs"
5636 as_dir=`$as_dirname -- "$as_dir" ||
5637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5638 X"$as_dir" : 'X\(//\)[^/]' \| \
5639 X"$as_dir" : 'X\(//\)$' \| \
5640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5641 $as_echo X"$as_dir" |
5642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5643 s//\1/
5646 /^X\(\/\/\)[^/].*/{
5647 s//\1/
5650 /^X\(\/\/\)$/{
5651 s//\1/
5654 /^X\(\/\).*/{
5655 s//\1/
5658 s/.*/./; q'`
5659 test -d "$as_dir" && break
5660 done
5661 test -z "$as_dirs" || eval "mkdir $as_dirs"
5662 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5665 } # as_fn_mkdir_p
5666 if mkdir -p . 2>/dev/null; then
5667 as_mkdir_p='mkdir -p "$as_dir"'
5668 else
5669 test -d ./-p && rmdir ./-p
5670 as_mkdir_p=false
5673 if test -x / >/dev/null 2>&1; then
5674 as_test_x='test -x'
5675 else
5676 if ls -dL / >/dev/null 2>&1; then
5677 as_ls_L_option=L
5678 else
5679 as_ls_L_option=
5681 as_test_x='
5682 eval sh -c '\''
5683 if test -d "$1"; then
5684 test -d "$1/.";
5685 else
5686 case $1 in #(
5687 -*)set "./$1";;
5688 esac;
5689 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5690 ???[sx]*):;;*)false;;esac;fi
5691 '\'' sh
5694 as_executable_p=$as_test_x
5696 # Sed expression to map a string onto a valid CPP name.
5697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5699 # Sed expression to map a string onto a valid variable name.
5700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5703 exec 6>&1
5704 ## ----------------------------------- ##
5705 ## Main body of $CONFIG_STATUS script. ##
5706 ## ----------------------------------- ##
5707 _ASEOF
5708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711 # Save the log message, to keep $0 and so on meaningful, and to
5712 # report actual input values of CONFIG_FILES etc. instead of their
5713 # values after options handling.
5714 ac_log="
5715 This file was extended by $as_me, which was
5716 generated by GNU Autoconf 2.68. Invocation command line was
5718 CONFIG_FILES = $CONFIG_FILES
5719 CONFIG_HEADERS = $CONFIG_HEADERS
5720 CONFIG_LINKS = $CONFIG_LINKS
5721 CONFIG_COMMANDS = $CONFIG_COMMANDS
5722 $ $0 $@
5724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5727 _ACEOF
5729 case $ac_config_files in *"
5730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5731 esac
5733 case $ac_config_headers in *"
5734 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5735 esac
5738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5739 # Files that config.status was made for.
5740 config_files="$ac_config_files"
5741 config_headers="$ac_config_headers"
5742 config_commands="$ac_config_commands"
5744 _ACEOF
5746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5747 ac_cs_usage="\
5748 \`$as_me' instantiates files and other configuration actions
5749 from templates according to the current configuration. Unless the files
5750 and actions are specified as TAGs, all are instantiated by default.
5752 Usage: $0 [OPTION]... [TAG]...
5754 -h, --help print this help, then exit
5755 -V, --version print version number and configuration settings, then exit
5756 --config print configuration, then exit
5757 -q, --quiet, --silent
5758 do not print progress messages
5759 -d, --debug don't remove temporary files
5760 --recheck update $as_me by reconfiguring in the same conditions
5761 --file=FILE[:TEMPLATE]
5762 instantiate the configuration file FILE
5763 --header=FILE[:TEMPLATE]
5764 instantiate the configuration header FILE
5766 Configuration files:
5767 $config_files
5769 Configuration headers:
5770 $config_headers
5772 Configuration commands:
5773 $config_commands
5775 Report bugs to the package provider."
5777 _ACEOF
5778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5780 ac_cs_version="\\
5781 config.status
5782 configured by $0, generated by GNU Autoconf 2.68,
5783 with options \\"\$ac_cs_config\\"
5785 Copyright (C) 2010 Free Software Foundation, Inc.
5786 This config.status script is free software; the Free Software Foundation
5787 gives unlimited permission to copy, distribute and modify it."
5789 ac_pwd='$ac_pwd'
5790 srcdir='$srcdir'
5791 INSTALL='$INSTALL'
5792 AWK='$AWK'
5793 test -n "\$AWK" || AWK=awk
5794 _ACEOF
5796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5797 # The default lists apply if the user does not specify any file.
5798 ac_need_defaults=:
5799 while test $# != 0
5801 case $1 in
5802 --*=?*)
5803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5804 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5805 ac_shift=:
5807 --*=)
5808 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5809 ac_optarg=
5810 ac_shift=:
5813 ac_option=$1
5814 ac_optarg=$2
5815 ac_shift=shift
5817 esac
5819 case $ac_option in
5820 # Handling of the options.
5821 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5822 ac_cs_recheck=: ;;
5823 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5824 $as_echo "$ac_cs_version"; exit ;;
5825 --config | --confi | --conf | --con | --co | --c )
5826 $as_echo "$ac_cs_config"; exit ;;
5827 --debug | --debu | --deb | --de | --d | -d )
5828 debug=: ;;
5829 --file | --fil | --fi | --f )
5830 $ac_shift
5831 case $ac_optarg in
5832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5833 '') as_fn_error $? "missing file argument" ;;
5834 esac
5835 as_fn_append CONFIG_FILES " '$ac_optarg'"
5836 ac_need_defaults=false;;
5837 --header | --heade | --head | --hea )
5838 $ac_shift
5839 case $ac_optarg in
5840 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5841 esac
5842 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5843 ac_need_defaults=false;;
5844 --he | --h)
5845 # Conflict between --help and --header
5846 as_fn_error $? "ambiguous option: \`$1'
5847 Try \`$0 --help' for more information.";;
5848 --help | --hel | -h )
5849 $as_echo "$ac_cs_usage"; exit ;;
5850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5851 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5852 ac_cs_silent=: ;;
5854 # This is an error.
5855 -*) as_fn_error $? "unrecognized option: \`$1'
5856 Try \`$0 --help' for more information." ;;
5858 *) as_fn_append ac_config_targets " $1"
5859 ac_need_defaults=false ;;
5861 esac
5862 shift
5863 done
5865 ac_configure_extra_args=
5867 if $ac_cs_silent; then
5868 exec 6>/dev/null
5869 ac_configure_extra_args="$ac_configure_extra_args --silent"
5872 _ACEOF
5873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5874 if \$ac_cs_recheck; then
5875 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5876 shift
5877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5878 CONFIG_SHELL='$SHELL'
5879 export CONFIG_SHELL
5880 exec "\$@"
5883 _ACEOF
5884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5885 exec 5>>config.log
5887 echo
5888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5889 ## Running $as_me. ##
5890 _ASBOX
5891 $as_echo "$ac_log"
5892 } >&5
5894 _ACEOF
5895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5897 # INIT-COMMANDS
5899 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5901 _ACEOF
5903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5905 # Handling of arguments.
5906 for ac_config_target in $ac_config_targets
5908 case $ac_config_target in
5909 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5910 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5911 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5913 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5914 esac
5915 done
5918 # If the user did not use the arguments to specify the items to instantiate,
5919 # then the envvar interface is used. Set only those that are not.
5920 # We use the long form for the default assignment because of an extremely
5921 # bizarre bug on SunOS 4.1.3.
5922 if $ac_need_defaults; then
5923 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5924 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5925 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5928 # Have a temporary directory for convenience. Make it in the build tree
5929 # simply because there is no reason against having it here, and in addition,
5930 # creating and moving files from /tmp can sometimes cause problems.
5931 # Hook for its removal unless debugging.
5932 # Note that there is a small window in which the directory will not be cleaned:
5933 # after its creation but before its name has been assigned to `$tmp'.
5934 $debug ||
5936 tmp= ac_tmp=
5937 trap 'exit_status=$?
5938 : "${ac_tmp:=$tmp}"
5939 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5941 trap 'as_fn_exit 1' 1 2 13 15
5943 # Create a (secure) tmp directory for tmp files.
5946 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5947 test -d "$tmp"
5948 } ||
5950 tmp=./conf$$-$RANDOM
5951 (umask 077 && mkdir "$tmp")
5952 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5953 ac_tmp=$tmp
5955 # Set up the scripts for CONFIG_FILES section.
5956 # No need to generate them if there are no CONFIG_FILES.
5957 # This happens for instance with `./config.status config.h'.
5958 if test -n "$CONFIG_FILES"; then
5961 ac_cr=`echo X | tr X '\015'`
5962 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5963 # But we know of no other shell where ac_cr would be empty at this
5964 # point, so we can use a bashism as a fallback.
5965 if test "x$ac_cr" = x; then
5966 eval ac_cr=\$\'\\r\'
5968 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5969 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5970 ac_cs_awk_cr='\\r'
5971 else
5972 ac_cs_awk_cr=$ac_cr
5975 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5976 _ACEOF
5980 echo "cat >conf$$subs.awk <<_ACEOF" &&
5981 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5982 echo "_ACEOF"
5983 } >conf$$subs.sh ||
5984 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5985 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5986 ac_delim='%!_!# '
5987 for ac_last_try in false false false false false :; do
5988 . ./conf$$subs.sh ||
5989 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5991 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5992 if test $ac_delim_n = $ac_delim_num; then
5993 break
5994 elif $ac_last_try; then
5995 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5996 else
5997 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5999 done
6000 rm -f conf$$subs.sh
6002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6003 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6004 _ACEOF
6005 sed -n '
6007 s/^/S["/; s/!.*/"]=/
6010 s/^[^!]*!//
6011 :repl
6012 t repl
6013 s/'"$ac_delim"'$//
6014 t delim
6017 s/\(.\{148\}\)..*/\1/
6018 t more1
6019 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6022 b repl
6023 :more1
6024 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6027 s/.\{148\}//
6028 t nl
6029 :delim
6031 s/\(.\{148\}\)..*/\1/
6032 t more2
6033 s/["\\]/\\&/g; s/^/"/; s/$/"/
6036 :more2
6037 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6040 s/.\{148\}//
6041 t delim
6042 ' <conf$$subs.awk | sed '
6043 /^[^""]/{
6045 s/\n//
6047 ' >>$CONFIG_STATUS || ac_write_fail=1
6048 rm -f conf$$subs.awk
6049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6050 _ACAWK
6051 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6052 for (key in S) S_is_set[key] = 1
6053 FS = "\a"
6057 line = $ 0
6058 nfields = split(line, field, "@")
6059 substed = 0
6060 len = length(field[1])
6061 for (i = 2; i < nfields; i++) {
6062 key = field[i]
6063 keylen = length(key)
6064 if (S_is_set[key]) {
6065 value = S[key]
6066 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6067 len += length(value) + length(field[++i])
6068 substed = 1
6069 } else
6070 len += 1 + keylen
6073 print line
6076 _ACAWK
6077 _ACEOF
6078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6079 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6080 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6081 else
6083 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6084 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6085 _ACEOF
6087 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6088 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6089 # trailing colons and then remove the whole line if VPATH becomes empty
6090 # (actually we leave an empty line to preserve line numbers).
6091 if test "x$srcdir" = x.; then
6092 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6094 s///
6095 s/^/:/
6096 s/[ ]*$/:/
6097 s/:\$(srcdir):/:/g
6098 s/:\${srcdir}:/:/g
6099 s/:@srcdir@:/:/g
6100 s/^:*//
6101 s/:*$//
6103 s/\(=[ ]*\).*/\1/
6105 s/\n//
6106 s/^[^=]*=[ ]*$//
6110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6111 fi # test -n "$CONFIG_FILES"
6113 # Set up the scripts for CONFIG_HEADERS section.
6114 # No need to generate them if there are no CONFIG_HEADERS.
6115 # This happens for instance with `./config.status Makefile'.
6116 if test -n "$CONFIG_HEADERS"; then
6117 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6118 BEGIN {
6119 _ACEOF
6121 # Transform confdefs.h into an awk script `defines.awk', embedded as
6122 # here-document in config.status, that substitutes the proper values into
6123 # config.h.in to produce config.h.
6125 # Create a delimiter string that does not exist in confdefs.h, to ease
6126 # handling of long lines.
6127 ac_delim='%!_!# '
6128 for ac_last_try in false false :; do
6129 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6130 if test -z "$ac_tt"; then
6131 break
6132 elif $ac_last_try; then
6133 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6134 else
6135 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6137 done
6139 # For the awk script, D is an array of macro values keyed by name,
6140 # likewise P contains macro parameters if any. Preserve backslash
6141 # newline sequences.
6143 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6144 sed -n '
6145 s/.\{148\}/&'"$ac_delim"'/g
6146 t rset
6147 :rset
6148 s/^[ ]*#[ ]*define[ ][ ]*/ /
6149 t def
6151 :def
6152 s/\\$//
6153 t bsnl
6154 s/["\\]/\\&/g
6155 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6156 D["\1"]=" \3"/p
6157 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6159 :bsnl
6160 s/["\\]/\\&/g
6161 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6162 D["\1"]=" \3\\\\\\n"\\/p
6163 t cont
6164 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6165 t cont
6167 :cont
6169 s/.\{148\}/&'"$ac_delim"'/g
6170 t clear
6171 :clear
6172 s/\\$//
6173 t bsnlc
6174 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6176 :bsnlc
6177 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6178 b cont
6179 ' <confdefs.h | sed '
6180 s/'"$ac_delim"'/"\\\
6181 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6184 for (key in D) D_is_set[key] = 1
6185 FS = "\a"
6187 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6188 line = \$ 0
6189 split(line, arg, " ")
6190 if (arg[1] == "#") {
6191 defundef = arg[2]
6192 mac1 = arg[3]
6193 } else {
6194 defundef = substr(arg[1], 2)
6195 mac1 = arg[2]
6197 split(mac1, mac2, "(") #)
6198 macro = mac2[1]
6199 prefix = substr(line, 1, index(line, defundef) - 1)
6200 if (D_is_set[macro]) {
6201 # Preserve the white space surrounding the "#".
6202 print prefix "define", macro P[macro] D[macro]
6203 next
6204 } else {
6205 # Replace #undef with comments. This is necessary, for example,
6206 # in the case of _POSIX_SOURCE, which is predefined and required
6207 # on some systems where configure will not decide to define it.
6208 if (defundef == "undef") {
6209 print "/*", prefix defundef, macro, "*/"
6210 next
6214 { print }
6215 _ACAWK
6216 _ACEOF
6217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6218 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6219 fi # test -n "$CONFIG_HEADERS"
6222 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6223 shift
6224 for ac_tag
6226 case $ac_tag in
6227 :[FHLC]) ac_mode=$ac_tag; continue;;
6228 esac
6229 case $ac_mode$ac_tag in
6230 :[FHL]*:*);;
6231 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6232 :[FH]-) ac_tag=-:-;;
6233 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6234 esac
6235 ac_save_IFS=$IFS
6236 IFS=:
6237 set x $ac_tag
6238 IFS=$ac_save_IFS
6239 shift
6240 ac_file=$1
6241 shift
6243 case $ac_mode in
6244 :L) ac_source=$1;;
6245 :[FH])
6246 ac_file_inputs=
6247 for ac_f
6249 case $ac_f in
6250 -) ac_f="$ac_tmp/stdin";;
6251 *) # Look for the file first in the build tree, then in the source tree
6252 # (if the path is not absolute). The absolute path cannot be DOS-style,
6253 # because $ac_f cannot contain `:'.
6254 test -f "$ac_f" ||
6255 case $ac_f in
6256 [\\/$]*) false;;
6257 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6258 esac ||
6259 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6260 esac
6261 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6262 as_fn_append ac_file_inputs " '$ac_f'"
6263 done
6265 # Let's still pretend it is `configure' which instantiates (i.e., don't
6266 # use $as_me), people would be surprised to read:
6267 # /* config.h. Generated by config.status. */
6268 configure_input='Generated from '`
6269 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6270 `' by configure.'
6271 if test x"$ac_file" != x-; then
6272 configure_input="$ac_file. $configure_input"
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6274 $as_echo "$as_me: creating $ac_file" >&6;}
6276 # Neutralize special characters interpreted by sed in replacement strings.
6277 case $configure_input in #(
6278 *\&* | *\|* | *\\* )
6279 ac_sed_conf_input=`$as_echo "$configure_input" |
6280 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6281 *) ac_sed_conf_input=$configure_input;;
6282 esac
6284 case $ac_tag in
6285 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6286 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6287 esac
6289 esac
6291 ac_dir=`$as_dirname -- "$ac_file" ||
6292 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6293 X"$ac_file" : 'X\(//\)[^/]' \| \
6294 X"$ac_file" : 'X\(//\)$' \| \
6295 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6296 $as_echo X"$ac_file" |
6297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6298 s//\1/
6301 /^X\(\/\/\)[^/].*/{
6302 s//\1/
6305 /^X\(\/\/\)$/{
6306 s//\1/
6309 /^X\(\/\).*/{
6310 s//\1/
6313 s/.*/./; q'`
6314 as_dir="$ac_dir"; as_fn_mkdir_p
6315 ac_builddir=.
6317 case "$ac_dir" in
6318 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6320 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6321 # A ".." for each directory in $ac_dir_suffix.
6322 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6323 case $ac_top_builddir_sub in
6324 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6325 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6326 esac ;;
6327 esac
6328 ac_abs_top_builddir=$ac_pwd
6329 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6330 # for backward compatibility:
6331 ac_top_builddir=$ac_top_build_prefix
6333 case $srcdir in
6334 .) # We are building in place.
6335 ac_srcdir=.
6336 ac_top_srcdir=$ac_top_builddir_sub
6337 ac_abs_top_srcdir=$ac_pwd ;;
6338 [\\/]* | ?:[\\/]* ) # Absolute name.
6339 ac_srcdir=$srcdir$ac_dir_suffix;
6340 ac_top_srcdir=$srcdir
6341 ac_abs_top_srcdir=$srcdir ;;
6342 *) # Relative name.
6343 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6344 ac_top_srcdir=$ac_top_build_prefix$srcdir
6345 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6346 esac
6347 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6350 case $ac_mode in
6353 # CONFIG_FILE
6356 case $INSTALL in
6357 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6358 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6359 esac
6360 _ACEOF
6362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6363 # If the template does not know about datarootdir, expand it.
6364 # FIXME: This hack should be removed a few years after 2.60.
6365 ac_datarootdir_hack=; ac_datarootdir_seen=
6366 ac_sed_dataroot='
6367 /datarootdir/ {
6371 /@datadir@/p
6372 /@docdir@/p
6373 /@infodir@/p
6374 /@localedir@/p
6375 /@mandir@/p'
6376 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6377 *datarootdir*) ac_datarootdir_seen=yes;;
6378 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6380 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6381 _ACEOF
6382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6383 ac_datarootdir_hack='
6384 s&@datadir@&$datadir&g
6385 s&@docdir@&$docdir&g
6386 s&@infodir@&$infodir&g
6387 s&@localedir@&$localedir&g
6388 s&@mandir@&$mandir&g
6389 s&\\\${datarootdir}&$datarootdir&g' ;;
6390 esac
6391 _ACEOF
6393 # Neutralize VPATH when `$srcdir' = `.'.
6394 # Shell code in configure.ac might set extrasub.
6395 # FIXME: do we really want to maintain this feature?
6396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6397 ac_sed_extra="$ac_vpsub
6398 $extrasub
6399 _ACEOF
6400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6403 s|@configure_input@|$ac_sed_conf_input|;t t
6404 s&@top_builddir@&$ac_top_builddir_sub&;t t
6405 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6406 s&@srcdir@&$ac_srcdir&;t t
6407 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6408 s&@top_srcdir@&$ac_top_srcdir&;t t
6409 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6410 s&@builddir@&$ac_builddir&;t t
6411 s&@abs_builddir@&$ac_abs_builddir&;t t
6412 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6413 s&@INSTALL@&$ac_INSTALL&;t t
6414 $ac_datarootdir_hack
6416 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6417 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6420 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6421 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6422 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6424 which seems to be undefined. Please make sure it is defined" >&5
6425 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6426 which seems to be undefined. Please make sure it is defined" >&2;}
6428 rm -f "$ac_tmp/stdin"
6429 case $ac_file in
6430 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6431 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6432 esac \
6433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6437 # CONFIG_HEADER
6439 if test x"$ac_file" != x-; then
6441 $as_echo "/* $configure_input */" \
6442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6443 } >"$ac_tmp/config.h" \
6444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6447 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6448 else
6449 rm -f "$ac_file"
6450 mv "$ac_tmp/config.h" "$ac_file" \
6451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6453 else
6454 $as_echo "/* $configure_input */" \
6455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6456 || as_fn_error $? "could not create -" "$LINENO" 5
6458 # Compute "$ac_file"'s index in $config_headers.
6459 _am_stamp_count=1
6460 for _am_header in $config_headers :; do
6461 case $_am_header in
6462 "$ac_file" | "$ac_file":* )
6463 break ;;
6465 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6466 esac
6467 done
6468 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
6469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6470 X"$ac_file" : 'X\(//\)[^/]' \| \
6471 X"$ac_file" : 'X\(//\)$' \| \
6472 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6473 $as_echo X"$ac_file" |
6474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6475 s//\1/
6478 /^X\(\/\/\)[^/].*/{
6479 s//\1/
6482 /^X\(\/\/\)$/{
6483 s//\1/
6486 /^X\(\/\).*/{
6487 s//\1/
6490 s/.*/./; q'`/stamp-h$_am_stamp_count
6493 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6494 $as_echo "$as_me: executing $ac_file commands" >&6;}
6496 esac
6499 case $ac_file$ac_mode in
6500 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6501 # Strip MF so we end up with the name of the file.
6502 mf=`echo "$mf" | sed -e 's/:.*$//'`
6503 # Check whether this is an Automake generated Makefile or not.
6504 # We used to match only the files named `Makefile.in', but
6505 # some people rename them; so instead we look at the file content.
6506 # Grep'ing the first line is not enough: some people post-process
6507 # each Makefile.in and add a new line on top of each file to say so.
6508 # So let's grep whole file.
6509 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6510 dirpart=`$as_dirname -- "$mf" ||
6511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6512 X"$mf" : 'X\(//\)[^/]' \| \
6513 X"$mf" : 'X\(//\)$' \| \
6514 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6515 $as_echo X"$mf" |
6516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6517 s//\1/
6520 /^X\(\/\/\)[^/].*/{
6521 s//\1/
6524 /^X\(\/\/\)$/{
6525 s//\1/
6528 /^X\(\/\).*/{
6529 s//\1/
6532 s/.*/./; q'`
6533 else
6534 continue
6536 # Extract the definition of DEPDIR, am__include, and am__quote
6537 # from the Makefile without running `make'.
6538 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6539 test -z "$DEPDIR" && continue
6540 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6541 test -z "am__include" && continue
6542 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6543 # When using ansi2knr, U may be empty or an underscore; expand it
6544 U=`sed -n 's/^U = //p' < "$mf"`
6545 # Find all dependency output files, they are included files with
6546 # $(DEPDIR) in their names. We invoke sed twice because it is the
6547 # simplest approach to changing $(DEPDIR) to its actual value in the
6548 # expansion.
6549 for file in `sed -n "
6550 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6551 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6552 # Make sure the directory exists.
6553 test -f "$dirpart/$file" && continue
6554 fdir=`$as_dirname -- "$file" ||
6555 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6556 X"$file" : 'X\(//\)[^/]' \| \
6557 X"$file" : 'X\(//\)$' \| \
6558 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6559 $as_echo X"$file" |
6560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6561 s//\1/
6564 /^X\(\/\/\)[^/].*/{
6565 s//\1/
6568 /^X\(\/\/\)$/{
6569 s//\1/
6572 /^X\(\/\).*/{
6573 s//\1/
6576 s/.*/./; q'`
6577 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6578 # echo "creating $dirpart/$file"
6579 echo '# dummy' > "$dirpart/$file"
6580 done
6581 done
6584 esac
6585 done # for ac_tag
6588 as_fn_exit 0
6589 _ACEOF
6590 ac_clean_files=$ac_clean_files_save
6592 test $ac_write_fail = 0 ||
6593 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6596 # configure is writing to config.log, and then calls config.status.
6597 # config.status does its own redirection, appending to config.log.
6598 # Unfortunately, on DOS this fails, as config.log is still kept open
6599 # by configure, so config.status won't be able to write to it; its
6600 # output is simply discarded. So we exec the FD to /dev/null,
6601 # effectively closing config.log, so it can be properly (re)opened and
6602 # appended to by config.status. When coming back to configure, we
6603 # need to make the FD available again.
6604 if test "$no_create" != yes; then
6605 ac_cs_success=:
6606 ac_config_status_args=
6607 test "$silent" = yes &&
6608 ac_config_status_args="$ac_config_status_args --quiet"
6609 exec 5>/dev/null
6610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6611 exec 5>>config.log
6612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6613 # would make configure fail if this is the last instruction.
6614 $ac_cs_success || as_fn_exit 1
6616 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6618 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}