Update and clean Tomato RAF files
[tomato.git] / release / src / router / pptpd / autom4te.cache / output.1
blobf60f27260db13e74478f84561ab7229221c14ab8
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.67.
4 @%:@ 
5 @%:@ 
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.
9 @%:@ 
10 @%:@ 
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   *) :
31      ;;
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"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
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=';'
80   }
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in @%:@((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in @%:@(
146   *posix*) :
147     set -o posix ;; @%:@(
148   *) :
149      ;;
150 esac
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165   
166 else
167   exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181   
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in @%:@(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 @%:@ as_fn_unset VAR
250 @%:@ ---------------
251 @%:@ Portably unset VAR.
252 as_fn_unset ()
254   { eval $1=; unset $1;}
256 as_unset=as_fn_unset
258 @%:@ as_fn_set_status STATUS
259 @%:@ -----------------------
260 @%:@ Set @S|@? to STATUS, without forking.
261 as_fn_set_status ()
263   return $1
264 } @%:@ as_fn_set_status
266 @%:@ as_fn_exit STATUS
267 @%:@ -----------------
268 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } @%:@ as_fn_exit
276 @%:@ as_fn_mkdir_p
277 @%:@ -------------
278 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322 } @%:@ as_fn_mkdir_p
323 @%:@ as_fn_append VAR VALUE
324 @%:@ ----------------------
325 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326 @%:@ advantage of any shell optimizations that allow amortized linear growth over
327 @%:@ repeated appends, instead of the typical quadratic growth present in naive
328 @%:@ implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
341 @%:@ as_fn_arith ARG...
342 @%:@ ------------------
343 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345 @%:@ must be portable across @S|@(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
359 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
360 @%:@ ----------------------------------------
361 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 @%:@ script with STATUS, using 1 if that was 0.
364 as_fn_error ()
366   as_status=$1; test $as_status -eq 0 && as_status=1
367   if test "$4"; then
368     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370   fi
371   $as_echo "$as_me: error: $2" >&2
372   as_fn_exit $as_status
373 } @%:@ as_fn_error
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in @%:@(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
462   ECHO_N='-n';;
463 esac
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in @%:@(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
532 # Name of the host.
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538 # Initializations.
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIB@&t@OBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
557 ac_unique_file="pptpmanager.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 #  include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 #  include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
594 ac_subst_vars='LTLIBOBJS
595 LIB@&t@OBJS
596 XTRA_PROG
597 HAVE_OPENPTY
598 XTRALIBS_MGR
599 XTRALIBS_CTRL
600 EGREP
601 GREP
603 LN_S
604 RANLIB
605 am__fastdepCC_FALSE
606 am__fastdepCC_TRUE
607 CCDEPMODE
608 AMDEPBACKSLASH
609 AMDEP_FALSE
610 AMDEP_TRUE
611 am__quote
612 am__include
613 DEPDIR
614 OBJEXT
615 EXEEXT
616 ac_ct_CC
617 CPPFLAGS
618 LDFLAGS
619 CFLAGS
621 am__untar
622 am__tar
623 AMTAR
624 am__leading_dot
625 SET_MAKE
627 mkdir_p
628 INSTALL_STRIP_PROGRAM
629 STRIP
630 install_sh
631 MAKEINFO
632 AUTOHEADER
633 AUTOMAKE
634 AUTOCONF
635 ACLOCAL
636 VERSION
637 PACKAGE
638 CYGPATH_W
639 INSTALL_DATA
640 INSTALL_SCRIPT
641 INSTALL_PROGRAM
642 target_alias
643 host_alias
644 build_alias
645 LIBS
646 ECHO_T
647 ECHO_N
648 ECHO_C
649 DEFS
650 mandir
651 localedir
652 libdir
653 psdir
654 pdfdir
655 dvidir
656 htmldir
657 infodir
658 docdir
659 oldincludedir
660 includedir
661 localstatedir
662 sharedstatedir
663 sysconfdir
664 datadir
665 datarootdir
666 libexecdir
667 sbindir
668 bindir
669 program_transform_name
670 prefix
671 exec_prefix
672 PACKAGE_URL
673 PACKAGE_BUGREPORT
674 PACKAGE_STRING
675 PACKAGE_VERSION
676 PACKAGE_TARNAME
677 PACKAGE_NAME
678 PATH_SEPARATOR
679 SHELL'
680 ac_subst_files=''
681 ac_user_opts='
682 enable_option_checking
683 with_bsdppp
684 with_slirp
685 enable_facility
686 enable_bcrelay
687 enable_dependency_tracking
688 with_libwrap
690       ac_precious_vars='build_alias
691 host_alias
692 target_alias
694 CFLAGS
695 LDFLAGS
696 LIBS
697 CPPFLAGS
698 CPP'
701 # Initialize some variables set by options.
702 ac_init_help=
703 ac_init_version=false
704 ac_unrecognized_opts=
705 ac_unrecognized_sep=
706 # The variables have the same names as the options, with
707 # dashes changed to underlines.
708 cache_file=/dev/null
709 exec_prefix=NONE
710 no_create=
711 no_recursion=
712 prefix=NONE
713 program_prefix=NONE
714 program_suffix=NONE
715 program_transform_name=s,x,x,
716 silent=
717 site=
718 srcdir=
719 verbose=
720 x_includes=NONE
721 x_libraries=NONE
723 # Installation directory options.
724 # These are left unexpanded so users can "make install exec_prefix=/foo"
725 # and all the variables that are supposed to be based on exec_prefix
726 # by default will actually change.
727 # Use braces instead of parens because sh, perl, etc. also accept them.
728 # (The list follows the same order as the GNU Coding Standards.)
729 bindir='${exec_prefix}/bin'
730 sbindir='${exec_prefix}/sbin'
731 libexecdir='${exec_prefix}/libexec'
732 datarootdir='${prefix}/share'
733 datadir='${datarootdir}'
734 sysconfdir='${prefix}/etc'
735 sharedstatedir='${prefix}/com'
736 localstatedir='${prefix}/var'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE}'
740 infodir='${datarootdir}/info'
741 htmldir='${docdir}'
742 dvidir='${docdir}'
743 pdfdir='${docdir}'
744 psdir='${docdir}'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
749 ac_prev=
750 ac_dashdash=
751 for ac_option
753   # If the previous option needs an argument, assign it.
754   if test -n "$ac_prev"; then
755     eval $ac_prev=\$ac_option
756     ac_prev=
757     continue
758   fi
760   case $ac_option in
761   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762   *=)   ac_optarg= ;;
763   *)    ac_optarg=yes ;;
764   esac
766   # Accept the important Cygnus configure options, so we can diagnose typos.
768   case $ac_dashdash$ac_option in
769   --)
770     ac_dashdash=yes ;;
772   -bindir | --bindir | --bindi | --bind | --bin | --bi)
773     ac_prev=bindir ;;
774   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775     bindir=$ac_optarg ;;
777   -build | --build | --buil | --bui | --bu)
778     ac_prev=build_alias ;;
779   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780     build_alias=$ac_optarg ;;
782   -cache-file | --cache-file | --cache-fil | --cache-fi \
783   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784     ac_prev=cache_file ;;
785   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787     cache_file=$ac_optarg ;;
789   --config-cache | -C)
790     cache_file=config.cache ;;
792   -datadir | --datadir | --datadi | --datad)
793     ac_prev=datadir ;;
794   -datadir=* | --datadir=* | --datadi=* | --datad=*)
795     datadir=$ac_optarg ;;
797   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798   | --dataroo | --dataro | --datar)
799     ac_prev=datarootdir ;;
800   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802     datarootdir=$ac_optarg ;;
804   -disable-* | --disable-*)
805     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806     # Reject names that are not valid shell variable names.
807     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808       as_fn_error $? "invalid feature name: $ac_useropt"
809     ac_useropt_orig=$ac_useropt
810     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811     case $ac_user_opts in
812       *"
813 "enable_$ac_useropt"
814 "*) ;;
815       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816          ac_unrecognized_sep=', ';;
817     esac
818     eval enable_$ac_useropt=no ;;
820   -docdir | --docdir | --docdi | --doc | --do)
821     ac_prev=docdir ;;
822   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823     docdir=$ac_optarg ;;
825   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826     ac_prev=dvidir ;;
827   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828     dvidir=$ac_optarg ;;
830   -enable-* | --enable-*)
831     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832     # Reject names that are not valid shell variable names.
833     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834       as_fn_error $? "invalid feature name: $ac_useropt"
835     ac_useropt_orig=$ac_useropt
836     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837     case $ac_user_opts in
838       *"
839 "enable_$ac_useropt"
840 "*) ;;
841       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842          ac_unrecognized_sep=', ';;
843     esac
844     eval enable_$ac_useropt=\$ac_optarg ;;
846   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848   | --exec | --exe | --ex)
849     ac_prev=exec_prefix ;;
850   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852   | --exec=* | --exe=* | --ex=*)
853     exec_prefix=$ac_optarg ;;
855   -gas | --gas | --ga | --g)
856     # Obsolete; use --with-gas.
857     with_gas=yes ;;
859   -help | --help | --hel | --he | -h)
860     ac_init_help=long ;;
861   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862     ac_init_help=recursive ;;
863   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864     ac_init_help=short ;;
866   -host | --host | --hos | --ho)
867     ac_prev=host_alias ;;
868   -host=* | --host=* | --hos=* | --ho=*)
869     host_alias=$ac_optarg ;;
871   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872     ac_prev=htmldir ;;
873   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874   | --ht=*)
875     htmldir=$ac_optarg ;;
877   -includedir | --includedir | --includedi | --included | --include \
878   | --includ | --inclu | --incl | --inc)
879     ac_prev=includedir ;;
880   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881   | --includ=* | --inclu=* | --incl=* | --inc=*)
882     includedir=$ac_optarg ;;
884   -infodir | --infodir | --infodi | --infod | --info | --inf)
885     ac_prev=infodir ;;
886   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887     infodir=$ac_optarg ;;
889   -libdir | --libdir | --libdi | --libd)
890     ac_prev=libdir ;;
891   -libdir=* | --libdir=* | --libdi=* | --libd=*)
892     libdir=$ac_optarg ;;
894   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895   | --libexe | --libex | --libe)
896     ac_prev=libexecdir ;;
897   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898   | --libexe=* | --libex=* | --libe=*)
899     libexecdir=$ac_optarg ;;
901   -localedir | --localedir | --localedi | --localed | --locale)
902     ac_prev=localedir ;;
903   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904     localedir=$ac_optarg ;;
906   -localstatedir | --localstatedir | --localstatedi | --localstated \
907   | --localstate | --localstat | --localsta | --localst | --locals)
908     ac_prev=localstatedir ;;
909   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911     localstatedir=$ac_optarg ;;
913   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914     ac_prev=mandir ;;
915   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916     mandir=$ac_optarg ;;
918   -nfp | --nfp | --nf)
919     # Obsolete; use --without-fp.
920     with_fp=no ;;
922   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923   | --no-cr | --no-c | -n)
924     no_create=yes ;;
926   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928     no_recursion=yes ;;
930   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932   | --oldin | --oldi | --old | --ol | --o)
933     ac_prev=oldincludedir ;;
934   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937     oldincludedir=$ac_optarg ;;
939   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940     ac_prev=prefix ;;
941   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942     prefix=$ac_optarg ;;
944   -program-prefix | --program-prefix | --program-prefi | --program-pref \
945   | --program-pre | --program-pr | --program-p)
946     ac_prev=program_prefix ;;
947   -program-prefix=* | --program-prefix=* | --program-prefi=* \
948   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949     program_prefix=$ac_optarg ;;
951   -program-suffix | --program-suffix | --program-suffi | --program-suff \
952   | --program-suf | --program-su | --program-s)
953     ac_prev=program_suffix ;;
954   -program-suffix=* | --program-suffix=* | --program-suffi=* \
955   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956     program_suffix=$ac_optarg ;;
958   -program-transform-name | --program-transform-name \
959   | --program-transform-nam | --program-transform-na \
960   | --program-transform-n | --program-transform- \
961   | --program-transform | --program-transfor \
962   | --program-transfo | --program-transf \
963   | --program-trans | --program-tran \
964   | --progr-tra | --program-tr | --program-t)
965     ac_prev=program_transform_name ;;
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     program_transform_name=$ac_optarg ;;
975   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976     ac_prev=pdfdir ;;
977   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978     pdfdir=$ac_optarg ;;
980   -psdir | --psdir | --psdi | --psd | --ps)
981     ac_prev=psdir ;;
982   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983     psdir=$ac_optarg ;;
985   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986   | -silent | --silent | --silen | --sile | --sil)
987     silent=yes ;;
989   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990     ac_prev=sbindir ;;
991   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992   | --sbi=* | --sb=*)
993     sbindir=$ac_optarg ;;
995   -sharedstatedir | --sharedstatedir | --sharedstatedi \
996   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997   | --sharedst | --shareds | --shared | --share | --shar \
998   | --sha | --sh)
999     ac_prev=sharedstatedir ;;
1000   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003   | --sha=* | --sh=*)
1004     sharedstatedir=$ac_optarg ;;
1006   -site | --site | --sit)
1007     ac_prev=site ;;
1008   -site=* | --site=* | --sit=*)
1009     site=$ac_optarg ;;
1011   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012     ac_prev=srcdir ;;
1013   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014     srcdir=$ac_optarg ;;
1016   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017   | --syscon | --sysco | --sysc | --sys | --sy)
1018     ac_prev=sysconfdir ;;
1019   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021     sysconfdir=$ac_optarg ;;
1023   -target | --target | --targe | --targ | --tar | --ta | --t)
1024     ac_prev=target_alias ;;
1025   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026     target_alias=$ac_optarg ;;
1028   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029     verbose=yes ;;
1031   -version | --version | --versio | --versi | --vers | -V)
1032     ac_init_version=: ;;
1034   -with-* | --with-*)
1035     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036     # Reject names that are not valid shell variable names.
1037     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038       as_fn_error $? "invalid package name: $ac_useropt"
1039     ac_useropt_orig=$ac_useropt
1040     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041     case $ac_user_opts in
1042       *"
1043 "with_$ac_useropt"
1044 "*) ;;
1045       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046          ac_unrecognized_sep=', ';;
1047     esac
1048     eval with_$ac_useropt=\$ac_optarg ;;
1050   -without-* | --without-*)
1051     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052     # Reject names that are not valid shell variable names.
1053     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054       as_fn_error $? "invalid package name: $ac_useropt"
1055     ac_useropt_orig=$ac_useropt
1056     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057     case $ac_user_opts in
1058       *"
1059 "with_$ac_useropt"
1060 "*) ;;
1061       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062          ac_unrecognized_sep=', ';;
1063     esac
1064     eval with_$ac_useropt=no ;;
1066   --x)
1067     # Obsolete; use --with-x.
1068     with_x=yes ;;
1070   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071   | --x-incl | --x-inc | --x-in | --x-i)
1072     ac_prev=x_includes ;;
1073   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075     x_includes=$ac_optarg ;;
1077   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079     ac_prev=x_libraries ;;
1080   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082     x_libraries=$ac_optarg ;;
1084   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085 Try \`$0 --help' for more information"
1086     ;;
1088   *=*)
1089     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090     # Reject names that are not valid shell variable names.
1091     case $ac_envvar in #(
1092       '' | [0-9]* | *[!_$as_cr_alnum]* )
1093       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094     esac
1095     eval $ac_envvar=\$ac_optarg
1096     export $ac_envvar ;;
1098   *)
1099     # FIXME: should be removed in autoconf 3.0.
1100     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104     ;;
1106   esac
1107 done
1109 if test -n "$ac_prev"; then
1110   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111   as_fn_error $? "missing argument to $ac_option"
1114 if test -n "$ac_unrecognized_opts"; then
1115   case $enable_option_checking in
1116     no) ;;
1117     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119   esac
1122 # Check all directory arguments for consistency.
1123 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124                 datadir sysconfdir sharedstatedir localstatedir includedir \
1125                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126                 libdir localedir mandir
1128   eval ac_val=\$$ac_var
1129   # Remove trailing slashes.
1130   case $ac_val in
1131     */ )
1132       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133       eval $ac_var=\$ac_val;;
1134   esac
1135   # Be sure to have absolute directory names.
1136   case $ac_val in
1137     [\\/$]* | ?:[\\/]* )  continue;;
1138     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139   esac
1140   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141 done
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1146 build=$build_alias
1147 host=$host_alias
1148 target=$target_alias
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x; then
1152   if test "x$build_alias" = x; then
1153     cross_compiling=maybe
1154     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1155     If a cross compiler is detected then cross compile mode will be used" >&2
1156   elif test "x$build_alias" != "x$host_alias"; then
1157     cross_compiling=yes
1158   fi
1161 ac_tool_prefix=
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170   as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172   as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177   ac_srcdir_defaulted=yes
1178   # Try the directory containing this script, then the parent directory.
1179   ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181          X"$as_myself" : 'X\(//\)[^/]' \| \
1182          X"$as_myself" : 'X\(//\)$' \| \
1183          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186             s//\1/
1187             q
1188           }
1189           /^X\(\/\/\)[^/].*/{
1190             s//\1/
1191             q
1192           }
1193           /^X\(\/\/\)$/{
1194             s//\1/
1195             q
1196           }
1197           /^X\(\/\).*/{
1198             s//\1/
1199             q
1200           }
1201           s/.*/./; q'`
1202   srcdir=$ac_confdir
1203   if test ! -r "$srcdir/$ac_unique_file"; then
1204     srcdir=..
1205   fi
1206 else
1207   ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216         pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219   srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229   eval ac_env_${ac_var}_value=\$${ac_var}
1230   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238   # Omit some internal or obsolete options to make the list less imposing.
1239   # This message is too long to be a string in the A/UX 3.1 sh.
1240   cat <<_ACEOF
1241 \`configure' configures this package to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE.  See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251   -h, --help              display this help and exit
1252       --help=short        display options specific to this package
1253       --help=recursive    display the short help of all the included packages
1254   -V, --version           display version information and exit
1255   -q, --quiet, --silent   do not print \`checking ...' messages
1256       --cache-file=FILE   cache test results in FILE [disabled]
1257   -C, --config-cache      alias for \`--cache-file=config.cache'
1258   -n, --no-create         do not create output files
1259       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262   --prefix=PREFIX         install architecture-independent files in PREFIX
1263                           @<:@@S|@ac_default_prefix@:>@
1264   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1265                           @<:@PREFIX@:>@
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275   --bindir=DIR            user executables [EPREFIX/bin]
1276   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1277   --libexecdir=DIR        program executables [EPREFIX/libexec]
1278   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1279   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1280   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1281   --libdir=DIR            object code libraries [EPREFIX/lib]
1282   --includedir=DIR        C header files [PREFIX/include]
1283   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1284   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1285   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1286   --infodir=DIR           info documentation [DATAROOTDIR/info]
1287   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1288   --mandir=DIR            man documentation [DATAROOTDIR/man]
1289   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1290   --htmldir=DIR           html documentation [DOCDIR]
1291   --dvidir=DIR            dvi documentation [DOCDIR]
1292   --pdfdir=DIR            pdf documentation [DOCDIR]
1293   --psdir=DIR             ps documentation [DOCDIR]
1294 _ACEOF
1296   cat <<\_ACEOF
1298 Program names:
1299   --program-prefix=PREFIX            prepend PREFIX to installed program names
1300   --program-suffix=SUFFIX            append SUFFIX to installed program names
1301   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1302 _ACEOF
1305 if test -n "$ac_init_help"; then
1307   cat <<\_ACEOF
1309 Optional Features:
1310   --disable-option-checking  ignore unrecognized --enable/--with options
1311   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1312   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1313   --enable-facility=name    Use another syslog facility, default LOG_DAEMON 
1314   --enable-bcrelay          Enable broadcast relay function 
1315   --disable-dependency-tracking  speeds up one-time build
1316   --enable-dependency-tracking   do not reject slow dependency extractors
1318 Optional Packages:
1319   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1320   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1321   --with-bsdppp           Use BSD user-space ppp 
1322   --with-slirp            Use SLIRP instead of pppd 
1323   --with-libwrap          Use libwrap (tcp wrappers) 
1325 Some influential environment variables:
1326   CC          C compiler command
1327   CFLAGS      C compiler flags
1328   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1329               nonstandard directory <lib dir>
1330   LIBS        libraries to pass to the linker, e.g. -l<library>
1331   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1332               you have headers in a nonstandard directory <include dir>
1333   CPP         C preprocessor
1335 Use these variables to override the choices made by `configure' or to help
1336 it to find libraries and programs with nonstandard names/locations.
1338 Report bugs to the package provider.
1339 _ACEOF
1340 ac_status=$?
1343 if test "$ac_init_help" = "recursive"; then
1344   # If there are subdirs, report their specific --help.
1345   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346     test -d "$ac_dir" ||
1347       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1348       continue
1349     ac_builddir=.
1351 case "$ac_dir" in
1352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1355   # A ".." for each directory in $ac_dir_suffix.
1356   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1357   case $ac_top_builddir_sub in
1358   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1360   esac ;;
1361 esac
1362 ac_abs_top_builddir=$ac_pwd
1363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1364 # for backward compatibility:
1365 ac_top_builddir=$ac_top_build_prefix
1367 case $srcdir in
1368   .)  # We are building in place.
1369     ac_srcdir=.
1370     ac_top_srcdir=$ac_top_builddir_sub
1371     ac_abs_top_srcdir=$ac_pwd ;;
1372   [\\/]* | ?:[\\/]* )  # Absolute name.
1373     ac_srcdir=$srcdir$ac_dir_suffix;
1374     ac_top_srcdir=$srcdir
1375     ac_abs_top_srcdir=$srcdir ;;
1376   *) # Relative name.
1377     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1378     ac_top_srcdir=$ac_top_build_prefix$srcdir
1379     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1380 esac
1381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1383     cd "$ac_dir" || { ac_status=$?; continue; }
1384     # Check for guested configure.
1385     if test -f "$ac_srcdir/configure.gnu"; then
1386       echo &&
1387       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1388     elif test -f "$ac_srcdir/configure"; then
1389       echo &&
1390       $SHELL "$ac_srcdir/configure" --help=recursive
1391     else
1392       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393     fi || ac_status=$?
1394     cd "$ac_pwd" || { ac_status=$?; break; }
1395   done
1398 test -n "$ac_init_help" && exit $ac_status
1399 if $ac_init_version; then
1400   cat <<\_ACEOF
1401 configure
1402 generated by GNU Autoconf 2.67
1404 Copyright (C) 2010 Free Software Foundation, Inc.
1405 This configure script is free software; the Free Software Foundation
1406 gives unlimited permission to copy, distribute and modify it.
1407 _ACEOF
1408   exit
1411 ## ------------------------ ##
1412 ## Autoconf initialization. ##
1413 ## ------------------------ ##
1415 @%:@ ac_fn_c_try_compile LINENO
1416 @%:@ --------------------------
1417 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1418 ac_fn_c_try_compile ()
1420   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421   rm -f conftest.$ac_objext
1422   if { { ac_try="$ac_compile"
1423 case "(($ac_try" in
1424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425   *) ac_try_echo=$ac_try;;
1426 esac
1427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429   (eval "$ac_compile") 2>conftest.err
1430   ac_status=$?
1431   if test -s conftest.err; then
1432     grep -v '^ *+' conftest.err >conftest.er1
1433     cat conftest.er1 >&5
1434     mv -f conftest.er1 conftest.err
1435   fi
1436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437   test $ac_status = 0; } && {
1438          test -z "$ac_c_werror_flag" ||
1439          test ! -s conftest.err
1440        } && test -s conftest.$ac_objext; then :
1441   ac_retval=0
1442 else
1443   $as_echo "$as_me: failed program was:" >&5
1444 sed 's/^/| /' conftest.$ac_ext >&5
1446         ac_retval=1
1448   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1449   as_fn_set_status $ac_retval
1451 } @%:@ ac_fn_c_try_compile
1453 @%:@ ac_fn_c_try_link LINENO
1454 @%:@ -----------------------
1455 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1456 ac_fn_c_try_link ()
1458   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1459   rm -f conftest.$ac_objext conftest$ac_exeext
1460   if { { ac_try="$ac_link"
1461 case "(($ac_try" in
1462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1463   *) ac_try_echo=$ac_try;;
1464 esac
1465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1466 $as_echo "$ac_try_echo"; } >&5
1467   (eval "$ac_link") 2>conftest.err
1468   ac_status=$?
1469   if test -s conftest.err; then
1470     grep -v '^ *+' conftest.err >conftest.er1
1471     cat conftest.er1 >&5
1472     mv -f conftest.er1 conftest.err
1473   fi
1474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475   test $ac_status = 0; } && {
1476          test -z "$ac_c_werror_flag" ||
1477          test ! -s conftest.err
1478        } && test -s conftest$ac_exeext && {
1479          test "$cross_compiling" = yes ||
1480          $as_test_x conftest$ac_exeext
1481        }; then :
1482   ac_retval=0
1483 else
1484   $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.$ac_ext >&5
1487         ac_retval=1
1489   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1490   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1491   # interfere with the next link command; also delete a directory that is
1492   # left behind by Apple's compiler.  We do this before executing the actions.
1493   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1494   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1495   as_fn_set_status $ac_retval
1497 } @%:@ ac_fn_c_try_link
1499 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1500 @%:@ ----------------------------------
1501 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1502 ac_fn_c_check_func ()
1504   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1506 $as_echo_n "checking for $2... " >&6; }
1507 if eval "test \"\${$3+set}\"" = set; then :
1508   $as_echo_n "(cached) " >&6
1509 else
1510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511 /* end confdefs.h.  */
1512 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1514 #define $2 innocuous_$2
1516 /* System header to define __stub macros and hopefully few prototypes,
1517     which can conflict with char $2 (); below.
1518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1519     <limits.h> exists even on freestanding compilers.  */
1521 #ifdef __STDC__
1522 # include <limits.h>
1523 #else
1524 # include <assert.h>
1525 #endif
1527 #undef $2
1529 /* Override any GCC internal prototype to avoid an error.
1530    Use char because int might match the return type of a GCC
1531    builtin and then its argument prototype would still apply.  */
1532 #ifdef __cplusplus
1533 extern "C"
1534 #endif
1535 char $2 ();
1536 /* The GNU C library defines this for functions which it implements
1537     to always fail with ENOSYS.  Some functions are actually named
1538     something starting with __ and the normal name is an alias.  */
1539 #if defined __stub_$2 || defined __stub___$2
1540 choke me
1541 #endif
1544 main ()
1546 return $2 ();
1547   ;
1548   return 0;
1550 _ACEOF
1551 if ac_fn_c_try_link "$LINENO"; then :
1552   eval "$3=yes"
1553 else
1554   eval "$3=no"
1556 rm -f core conftest.err conftest.$ac_objext \
1557     conftest$ac_exeext conftest.$ac_ext
1559 eval ac_res=\$$3
1560                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1562   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1564 } @%:@ ac_fn_c_check_func
1566 @%:@ ac_fn_c_try_cpp LINENO
1567 @%:@ ----------------------
1568 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_cpp ()
1571   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572   if { { ac_try="$ac_cpp conftest.$ac_ext"
1573 case "(($ac_try" in
1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575   *) ac_try_echo=$ac_try;;
1576 esac
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580   ac_status=$?
1581   if test -s conftest.err; then
1582     grep -v '^ *+' conftest.err >conftest.er1
1583     cat conftest.er1 >&5
1584     mv -f conftest.er1 conftest.err
1585   fi
1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587   test $ac_status = 0; } > conftest.i && {
1588          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589          test ! -s conftest.err
1590        }; then :
1591   ac_retval=0
1592 else
1593   $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1596     ac_retval=1
1598   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599   as_fn_set_status $ac_retval
1601 } @%:@ ac_fn_c_try_cpp
1603 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604 @%:@ -------------------------------------------------------
1605 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606 @%:@ the include files in INCLUDES and setting the cache variable VAR
1607 @%:@ accordingly.
1608 ac_fn_c_check_header_mongrel ()
1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611   if eval "test \"\${$3+set}\"" = set; then :
1612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval "test \"\${$3+set}\"" = set; then :
1615   $as_echo_n "(cached) " >&6
1617 eval ac_res=\$$3
1618                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620 else
1621   # Is the header compilable?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623 $as_echo_n "checking $2 usability... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h.  */
1627 @%:@include <$2>
1628 _ACEOF
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630   ac_header_compiler=yes
1631 else
1632   ac_header_compiler=no
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636 $as_echo "$ac_header_compiler" >&6; }
1638 # Is the header present?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640 $as_echo_n "checking $2 presence... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h.  */
1643 @%:@include <$2>
1644 _ACEOF
1645 if ac_fn_c_try_cpp "$LINENO"; then :
1646   ac_header_preproc=yes
1647 else
1648   ac_header_preproc=no
1650 rm -f conftest.err conftest.i conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652 $as_echo "$ac_header_preproc" >&6; }
1654 # So?  What about this header?
1655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656   yes:no: )
1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1661     ;;
1662   no:yes:* )
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1666 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1667     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1670 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1673     ;;
1674 esac
1675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval "test \"\${$3+set}\"" = set; then :
1678   $as_echo_n "(cached) " >&6
1679 else
1680   eval "$3=\$ac_header_compiler"
1682 eval ac_res=\$$3
1683                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } @%:@ ac_fn_c_check_header_mongrel
1690 @%:@ ac_fn_c_try_run LINENO
1691 @%:@ ----------------------
1692 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1693 @%:@ that executables *can* be run.
1694 ac_fn_c_try_run ()
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>&5
1705   ac_status=$?
1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708   { { case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_try") 2>&5
1715   ac_status=$?
1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717   test $ac_status = 0; }; }; then :
1718   ac_retval=0
1719 else
1720   $as_echo "$as_me: program exited with status $ac_status" >&5
1721        $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724        ac_retval=$ac_status
1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728   as_fn_set_status $ac_retval
1730 } @%:@ ac_fn_c_try_run
1732 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 @%:@ -------------------------------------------------------
1734 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1735 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval "test \"\${$3+set}\"" = set; then :
1742   $as_echo_n "(cached) " >&6
1743 else
1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h.  */
1747 @%:@include <$2>
1748 _ACEOF
1749 if ac_fn_c_try_compile "$LINENO"; then :
1750   eval "$3=yes"
1751 else
1752   eval "$3=no"
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 eval ac_res=\$$3
1757                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } @%:@ ac_fn_c_check_header_compile
1763 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1764 @%:@ -------------------------------------------
1765 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1766 @%:@ variable VAR accordingly.
1767 ac_fn_c_check_type ()
1769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if eval "test \"\${$3+set}\"" = set; then :
1773   $as_echo_n "(cached) " >&6
1774 else
1775   eval "$3=no"
1776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h.  */
1780 main ()
1782 if (sizeof ($2))
1783          return 0;
1784   ;
1785   return 0;
1787 _ACEOF
1788 if ac_fn_c_try_compile "$LINENO"; then :
1789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h.  */
1793 main ()
1795 if (sizeof (($2)))
1796             return 0;
1797   ;
1798   return 0;
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802   
1803 else
1804   eval "$3=yes"
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 eval ac_res=\$$3
1811                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815 } @%:@ ac_fn_c_check_type
1816 cat >config.log <<_ACEOF
1817 This file contains any messages produced by compilers while
1818 running configure, to aid debugging if configure makes a mistake.
1820 It was created by $as_me, which was
1821 generated by GNU Autoconf 2.67.  Invocation command line was
1823   $ $0 $@
1825 _ACEOF
1826 exec 5>>config.log
1828 cat <<_ASUNAME
1829 ## --------- ##
1830 ## Platform. ##
1831 ## --------- ##
1833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1840 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1842 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1843 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1845 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1846 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1847 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1848 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1850 _ASUNAME
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 for as_dir in $PATH
1855   IFS=$as_save_IFS
1856   test -z "$as_dir" && as_dir=.
1857     $as_echo "PATH: $as_dir"
1858   done
1859 IFS=$as_save_IFS
1861 } >&5
1863 cat >&5 <<_ACEOF
1866 ## ----------- ##
1867 ## Core tests. ##
1868 ## ----------- ##
1870 _ACEOF
1873 # Keep a trace of the command line.
1874 # Strip out --no-create and --no-recursion so they do not pile up.
1875 # Strip out --silent because we don't want to record it for future runs.
1876 # Also quote any args containing shell meta-characters.
1877 # Make two passes to allow for proper duplicate-argument suppression.
1878 ac_configure_args=
1879 ac_configure_args0=
1880 ac_configure_args1=
1881 ac_must_keep_next=false
1882 for ac_pass in 1 2
1884   for ac_arg
1885   do
1886     case $ac_arg in
1887     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1888     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1889     | -silent | --silent | --silen | --sile | --sil)
1890       continue ;;
1891     *\'*)
1892       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1893     esac
1894     case $ac_pass in
1895     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1896     2)
1897       as_fn_append ac_configure_args1 " '$ac_arg'"
1898       if test $ac_must_keep_next = true; then
1899         ac_must_keep_next=false # Got value, back to normal.
1900       else
1901         case $ac_arg in
1902           *=* | --config-cache | -C | -disable-* | --disable-* \
1903           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1904           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1905           | -with-* | --with-* | -without-* | --without-* | --x)
1906             case "$ac_configure_args0 " in
1907               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1908             esac
1909             ;;
1910           -* ) ac_must_keep_next=true ;;
1911         esac
1912       fi
1913       as_fn_append ac_configure_args " '$ac_arg'"
1914       ;;
1915     esac
1916   done
1917 done
1918 { ac_configure_args0=; unset ac_configure_args0;}
1919 { ac_configure_args1=; unset ac_configure_args1;}
1921 # When interrupted or exit'd, cleanup temporary files, and complete
1922 # config.log.  We remove comments because anyway the quotes in there
1923 # would cause problems or look ugly.
1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1926 trap 'exit_status=$?
1927   # Save into config.log some information that might help in debugging.
1928   {
1929     echo
1931     $as_echo "## ---------------- ##
1932 ## Cache variables. ##
1933 ## ---------------- ##"
1934     echo
1935     # The following way of writing the cache mishandles newlines in values,
1937   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1938     eval ac_val=\$$ac_var
1939     case $ac_val in #(
1940     *${as_nl}*)
1941       case $ac_var in #(
1942       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1944       esac
1945       case $ac_var in #(
1946       _ | IFS | as_nl) ;; #(
1947       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1948       *) { eval $ac_var=; unset $ac_var;} ;;
1949       esac ;;
1950     esac
1951   done
1952   (set) 2>&1 |
1953     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1954     *${as_nl}ac_space=\ *)
1955       sed -n \
1956         "s/'\''/'\''\\\\'\'''\''/g;
1957           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1958       ;; #(
1959     *)
1960       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1961       ;;
1962     esac |
1963     sort
1965     echo
1967     $as_echo "## ----------------- ##
1968 ## Output variables. ##
1969 ## ----------------- ##"
1970     echo
1971     for ac_var in $ac_subst_vars
1972     do
1973       eval ac_val=\$$ac_var
1974       case $ac_val in
1975       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1976       esac
1977       $as_echo "$ac_var='\''$ac_val'\''"
1978     done | sort
1979     echo
1981     if test -n "$ac_subst_files"; then
1982       $as_echo "## ------------------- ##
1983 ## File substitutions. ##
1984 ## ------------------- ##"
1985       echo
1986       for ac_var in $ac_subst_files
1987       do
1988         eval ac_val=\$$ac_var
1989         case $ac_val in
1990         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1991         esac
1992         $as_echo "$ac_var='\''$ac_val'\''"
1993       done | sort
1994       echo
1995     fi
1997     if test -s confdefs.h; then
1998       $as_echo "## ----------- ##
1999 ## confdefs.h. ##
2000 ## ----------- ##"
2001       echo
2002       cat confdefs.h
2003       echo
2004     fi
2005     test "$ac_signal" != 0 &&
2006       $as_echo "$as_me: caught signal $ac_signal"
2007     $as_echo "$as_me: exit $exit_status"
2008   } >&5
2009   rm -f core *.core core.conftest.* &&
2010     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2011     exit $exit_status
2012 ' 0
2013 for ac_signal in 1 2 13 15; do
2014   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2015 done
2016 ac_signal=0
2018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2019 rm -f -r conftest* confdefs.h
2021 $as_echo "/* confdefs.h */" > confdefs.h
2023 # Predefined preprocessor variables.
2025 cat >>confdefs.h <<_ACEOF
2026 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2027 _ACEOF
2029 cat >>confdefs.h <<_ACEOF
2030 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2031 _ACEOF
2033 cat >>confdefs.h <<_ACEOF
2034 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2035 _ACEOF
2037 cat >>confdefs.h <<_ACEOF
2038 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2039 _ACEOF
2041 cat >>confdefs.h <<_ACEOF
2042 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2043 _ACEOF
2045 cat >>confdefs.h <<_ACEOF
2046 @%:@define PACKAGE_URL "$PACKAGE_URL"
2047 _ACEOF
2050 # Let the site file select an alternate cache file if it wants to.
2051 # Prefer an explicitly selected file to automatically selected ones.
2052 ac_site_file1=NONE
2053 ac_site_file2=NONE
2054 if test -n "$CONFIG_SITE"; then
2055   # We do not want a PATH search for config.site.
2056   case $CONFIG_SITE in @%:@((
2057     -*)  ac_site_file1=./$CONFIG_SITE;;
2058     */*) ac_site_file1=$CONFIG_SITE;;
2059     *)   ac_site_file1=./$CONFIG_SITE;;
2060   esac
2061 elif test "x$prefix" != xNONE; then
2062   ac_site_file1=$prefix/share/config.site
2063   ac_site_file2=$prefix/etc/config.site
2064 else
2065   ac_site_file1=$ac_default_prefix/share/config.site
2066   ac_site_file2=$ac_default_prefix/etc/config.site
2068 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2070   test "x$ac_site_file" = xNONE && continue
2071   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2072     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2073 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2074     sed 's/^/| /' "$ac_site_file" >&5
2075     . "$ac_site_file" \
2076       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2078 as_fn_error $? "failed to load site script $ac_site_file
2079 See \`config.log' for more details" "$LINENO" 5 ; }
2080   fi
2081 done
2083 if test -r "$cache_file"; then
2084   # Some versions of bash will fail to source /dev/null (special files
2085   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2086   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2087     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2088 $as_echo "$as_me: loading cache $cache_file" >&6;}
2089     case $cache_file in
2090       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2091       *)                      . "./$cache_file";;
2092     esac
2093   fi
2094 else
2095   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2096 $as_echo "$as_me: creating cache $cache_file" >&6;}
2097   >$cache_file
2100 # Check that the precious variables saved in the cache have kept the same
2101 # value.
2102 ac_cache_corrupted=false
2103 for ac_var in $ac_precious_vars; do
2104   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2105   eval ac_new_set=\$ac_env_${ac_var}_set
2106   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2107   eval ac_new_val=\$ac_env_${ac_var}_value
2108   case $ac_old_set,$ac_new_set in
2109     set,)
2110       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2112       ac_cache_corrupted=: ;;
2113     ,set)
2114       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2116       ac_cache_corrupted=: ;;
2117     ,);;
2118     *)
2119       if test "x$ac_old_val" != "x$ac_new_val"; then
2120         # differences in whitespace do not lead to failure.
2121         ac_old_val_w=`echo x $ac_old_val`
2122         ac_new_val_w=`echo x $ac_new_val`
2123         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2124           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2126           ac_cache_corrupted=:
2127         else
2128           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2130           eval $ac_var=\$ac_old_val
2131         fi
2132         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2133 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2134         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2135 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2136       fi;;
2137   esac
2138   # Pass precious variables to config.status.
2139   if test "$ac_new_set" = set; then
2140     case $ac_new_val in
2141     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2142     *) ac_arg=$ac_var=$ac_new_val ;;
2143     esac
2144     case " $ac_configure_args " in
2145       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2146       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2147     esac
2148   fi
2149 done
2150 if $ac_cache_corrupted; then
2151   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2155   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
2157 ## -------------------- ##
2158 ## Main body of script. ##
2159 ## -------------------- ##
2161 ac_ext=c
2162 ac_cpp='$CPP $CPPFLAGS'
2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2169 ac_config_headers="$ac_config_headers config.h"
2171 am__api_version="1.9"
2172 ac_aux_dir=
2173 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2174   if test -f "$ac_dir/install-sh"; then
2175     ac_aux_dir=$ac_dir
2176     ac_install_sh="$ac_aux_dir/install-sh -c"
2177     break
2178   elif test -f "$ac_dir/install.sh"; then
2179     ac_aux_dir=$ac_dir
2180     ac_install_sh="$ac_aux_dir/install.sh -c"
2181     break
2182   elif test -f "$ac_dir/shtool"; then
2183     ac_aux_dir=$ac_dir
2184     ac_install_sh="$ac_aux_dir/shtool install -c"
2185     break
2186   fi
2187 done
2188 if test -z "$ac_aux_dir"; then
2189   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
2192 # These three variables are undocumented and unsupported,
2193 # and are intended to be withdrawn in a future Autoconf release.
2194 # They can cause serious problems if a builder's source tree is in a directory
2195 # whose full name contains unusual characters.
2196 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2197 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2198 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2201 # Find a good install program.  We prefer a C program (faster),
2202 # so one script is as good as another.  But avoid the broken or
2203 # incompatible versions:
2204 # SysV /etc/install, /usr/sbin/install
2205 # SunOS /usr/etc/install
2206 # IRIX /sbin/install
2207 # AIX /bin/install
2208 # AmigaOS /C/install, which installs bootblocks on floppy discs
2209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2212 # OS/2's system install, which has a completely different semantic
2213 # ./install, which can be erroneously created by make from ./install.sh.
2214 # Reject install programs that cannot install multiple files.
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2216 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2217 if test -z "$INSTALL"; then
2218 if test "${ac_cv_path_install+set}" = set; then :
2219   $as_echo_n "(cached) " >&6
2220 else
2221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 for as_dir in $PATH
2224   IFS=$as_save_IFS
2225   test -z "$as_dir" && as_dir=.
2226     # Account for people who put trailing slashes in PATH elements.
2227 case $as_dir/ in @%:@((
2228   ./ | .// | /[cC]/* | \
2229   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2230   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2231   /usr/ucb/* ) ;;
2232   *)
2233     # OSF1 and SCO ODT 3.0 have their own names for install.
2234     # Don't use installbsd from OSF since it installs stuff as root
2235     # by default.
2236     for ac_prog in ginstall scoinst install; do
2237       for ac_exec_ext in '' $ac_executable_extensions; do
2238         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2239           if test $ac_prog = install &&
2240             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2241             # AIX install.  It has an incompatible calling convention.
2242             :
2243           elif test $ac_prog = install &&
2244             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2245             # program-specific install script used by HP pwplus--don't use.
2246             :
2247           else
2248             rm -rf conftest.one conftest.two conftest.dir
2249             echo one > conftest.one
2250             echo two > conftest.two
2251             mkdir conftest.dir
2252             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2253               test -s conftest.one && test -s conftest.two &&
2254               test -s conftest.dir/conftest.one &&
2255               test -s conftest.dir/conftest.two
2256             then
2257               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2258               break 3
2259             fi
2260           fi
2261         fi
2262       done
2263     done
2264     ;;
2265 esac
2267   done
2268 IFS=$as_save_IFS
2270 rm -rf conftest.one conftest.two conftest.dir
2273   if test "${ac_cv_path_install+set}" = set; then
2274     INSTALL=$ac_cv_path_install
2275   else
2276     # As a last resort, use the slow shell script.  Don't cache a
2277     # value for INSTALL within a source directory, because that will
2278     # break other packages using the cache if that directory is
2279     # removed, or if the value is a relative name.
2280     INSTALL=$ac_install_sh
2281   fi
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2284 $as_echo "$INSTALL" >&6; }
2286 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2287 # It thinks the first close brace ends the variable substitution.
2288 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2290 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2292 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2295 $as_echo_n "checking whether build environment is sane... " >&6; }
2296 # Just in case
2297 sleep 1
2298 echo timestamp > conftest.file
2299 # Do `set' in a subshell so we don't clobber the current shell's
2300 # arguments.  Must try -L first in case configure is actually a
2301 # symlink; some systems play weird games with the mod time of symlinks
2302 # (eg FreeBSD returns the mod time of the symlink's containing
2303 # directory).
2304 if (
2305    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2306    if test "$*" = "X"; then
2307       # -L didn't work.
2308       set X `ls -t $srcdir/configure conftest.file`
2309    fi
2310    rm -f conftest.file
2311    if test "$*" != "X $srcdir/configure conftest.file" \
2312       && test "$*" != "X conftest.file $srcdir/configure"; then
2314       # If neither matched, then we have a broken ls.  This can happen
2315       # if, for instance, CONFIG_SHELL is bash and it inherits a
2316       # broken ls alias from the environment.  This has actually
2317       # happened.  Such a system could not be considered "sane".
2318       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2319 alias in your environment" "$LINENO" 5 
2320    fi
2322    test "$2" = conftest.file
2323    )
2324 then
2325    # Ok.
2326    :
2327 else
2328    as_fn_error $? "newly created file is older than distributed files!
2329 Check your system clock" "$LINENO" 5 
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332 $as_echo "yes" >&6; }
2333 test "$program_prefix" != NONE &&
2334   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2335 # Use a double $ so make ignores it.
2336 test "$program_suffix" != NONE &&
2337   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2338 # Double any \ or $.
2339 # By default was `s,x,x', remove it if useless.
2340 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2341 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2343 # expand $ac_aux_dir to an absolute path
2344 am_aux_dir=`cd $ac_aux_dir && pwd`
2346 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2347 # Use eval to expand $SHELL
2348 if eval "$MISSING --run true"; then
2349   am_missing_run="$MISSING --run "
2350 else
2351   am_missing_run=
2352   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2353 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2356 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2357   # We used to keeping the `.' as first argument, in order to
2358   # allow $(mkdir_p) to be used without argument.  As in
2359   #   $(mkdir_p) $(somedir)
2360   # where $(somedir) is conditionally defined.  However this is wrong
2361   # for two reasons:
2362   #  1. if the package is installed by a user who cannot write `.'
2363   #     make install will fail,
2364   #  2. the above comment should most certainly read
2365   #     $(mkdir_p) $(DESTDIR)$(somedir)
2366   #     so it does not work when $(somedir) is undefined and
2367   #     $(DESTDIR) is not.
2368   #  To support the latter case, we have to write
2369   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2370   #  so the `.' trick is pointless.
2371   mkdir_p='mkdir -p --'
2372 else
2373   # On NextStep and OpenStep, the `mkdir' command does not
2374   # recognize any option.  It will interpret all options as
2375   # directories to create, and then abort because `.' already
2376   # exists.
2377   for d in ./-p ./--version;
2378   do
2379     test -d $d && rmdir $d
2380   done
2381   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2382   if test -f "$ac_aux_dir/mkinstalldirs"; then
2383     mkdir_p='$(mkinstalldirs)'
2384   else
2385     mkdir_p='$(install_sh) -d'
2386   fi
2389 for ac_prog in gawk mawk nawk awk
2391   # Extract the first word of "$ac_prog", so it can be a program name with args.
2392 set dummy $ac_prog; ac_word=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_AWK+set}" = set; then :
2396   $as_echo_n "(cached) " >&6
2397 else
2398   if test -n "$AWK"; then
2399   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2400 else
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH
2404   IFS=$as_save_IFS
2405   test -z "$as_dir" && as_dir=.
2406     for ac_exec_ext in '' $ac_executable_extensions; do
2407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408     ac_cv_prog_AWK="$ac_prog"
2409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410     break 2
2411   fi
2412 done
2413   done
2414 IFS=$as_save_IFS
2418 AWK=$ac_cv_prog_AWK
2419 if test -n "$AWK"; then
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2421 $as_echo "$AWK" >&6; }
2422 else
2423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2428   test -n "$AWK" && break
2429 done
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2432 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2433 set x ${MAKE-make}
2434 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2435 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2436   $as_echo_n "(cached) " >&6
2437 else
2438   cat >conftest.make <<\_ACEOF
2439 SHELL = /bin/sh
2440 all:
2441         @echo '@@@%%%=$(MAKE)=@@@%%%'
2442 _ACEOF
2443 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2445   *@@@%%%=?*=@@@%%%*)
2446     eval ac_cv_prog_make_${ac_make}_set=yes;;
2447   *)
2448     eval ac_cv_prog_make_${ac_make}_set=no;;
2449 esac
2450 rm -f conftest.make
2452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2454 $as_echo "yes" >&6; }
2455   SET_MAKE=
2456 else
2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458 $as_echo "no" >&6; }
2459   SET_MAKE="MAKE=${MAKE-make}"
2462 rm -rf .tst 2>/dev/null
2463 mkdir .tst 2>/dev/null
2464 if test -d .tst; then
2465   am__leading_dot=.
2466 else
2467   am__leading_dot=_
2469 rmdir .tst 2>/dev/null
2471 # test to see if srcdir already configured
2472 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2473    test -f $srcdir/config.status; then
2474   as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 
2477 # test whether we have cygpath
2478 if test -z "$CYGPATH_W"; then
2479   if (cygpath --version) >/dev/null 2>/dev/null; then
2480     CYGPATH_W='cygpath -w'
2481   else
2482     CYGPATH_W=echo
2483   fi
2487 # Define the identity of the package.
2488  PACKAGE=pptpd
2489  VERSION=1.3.4
2492 cat >>confdefs.h <<_ACEOF
2493 @%:@define PACKAGE "$PACKAGE"
2494 _ACEOF
2497 cat >>confdefs.h <<_ACEOF
2498 @%:@define VERSION "$VERSION"
2499 _ACEOF
2501 # Some tools Automake needs.
2503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2517 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2519 # Installed binaries are usually stripped using `strip' when the user
2520 # run `make install-strip'.  However `strip' might not be the right
2521 # tool to use in cross-compilation environments, therefore Automake
2522 # will honor the `STRIP' environment variable to overrule this program.
2523 if test "$cross_compiling" != no; then
2524   if test -n "$ac_tool_prefix"; then
2525   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}strip; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_STRIP+set}" = set; then :
2530   $as_echo_n "(cached) " >&6
2531 else
2532   if test -n "$STRIP"; then
2533   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538   IFS=$as_save_IFS
2539   test -z "$as_dir" && as_dir=.
2540     for ac_exec_ext in '' $ac_executable_extensions; do
2541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544     break 2
2545   fi
2546 done
2547   done
2548 IFS=$as_save_IFS
2552 STRIP=$ac_cv_prog_STRIP
2553 if test -n "$STRIP"; then
2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2555 $as_echo "$STRIP" >&6; }
2556 else
2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_STRIP"; then
2564   ac_ct_STRIP=$STRIP
2565   # Extract the first word of "strip", so it can be a program name with args.
2566 set dummy strip; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2570   $as_echo_n "(cached) " >&6
2571 else
2572   if test -n "$ac_ct_STRIP"; then
2573   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2574 else
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 for as_dir in $PATH
2578   IFS=$as_save_IFS
2579   test -z "$as_dir" && as_dir=.
2580     for ac_exec_ext in '' $ac_executable_extensions; do
2581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582     ac_cv_prog_ac_ct_STRIP="strip"
2583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584     break 2
2585   fi
2586 done
2587   done
2588 IFS=$as_save_IFS
2592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2593 if test -n "$ac_ct_STRIP"; then
2594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2595 $as_echo "$ac_ct_STRIP" >&6; }
2596 else
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2601   if test "x$ac_ct_STRIP" = x; then
2602     STRIP=":"
2603   else
2604     case $cross_compiling:$ac_tool_warned in
2605 yes:)
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608 ac_tool_warned=yes ;;
2609 esac
2610     STRIP=$ac_ct_STRIP
2611   fi
2612 else
2613   STRIP="$ac_cv_prog_STRIP"
2617 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2619 # We need awk for the "check" target.  The system "awk" is bad on
2620 # some platforms.
2621 # Always define AMTAR for backward compatibility.
2623 AMTAR=${AMTAR-"${am_missing_run}tar"}
2625 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2632 # check common command line options early
2634 $as_echo "@%:@define PPP_BINARY \"/usr/sbin/pppd\"" >>confdefs.h
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of BSD PPP" >&5
2637 $as_echo_n "checking command line for use of BSD PPP... " >&6; }
2639 @%:@ Check whether --with-bsdppp was given.
2640 if test "${with_bsdppp+set}" = set; then :
2641   withval=$with_bsdppp;  
2642             case "$withval" in
2643                 yes)
2644                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD user-space ppp" >&5
2645 $as_echo "BSD user-space ppp" >&6; }
2646                     $as_echo "@%:@define BSDUSER_PPP 1" >>confdefs.h
2648                     BSDUSER_PPP=$with_bsdppp
2649                     $as_echo "@%:@define PPP_BINARY \"/usr/sbin/ppp\"" >>confdefs.h
2651                     break;
2652                     ;;
2653                 no)
2654                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit standard pppd" >&5
2655 $as_echo "explicit standard pppd" >&6; }
2656                     ;;
2657                 *)
2658                     # only yes or no are expected for this option
2659                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2660 $as_echo "unrecognised... terminating" >&6; }
2661                     exit 1
2662                     ;;
2663             esac
2664         
2665 else
2666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default standard pppd" >&5
2667 $as_echo "default standard pppd" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of SLIRP" >&5
2672 $as_echo_n "checking command line for use of SLIRP... " >&6; }
2674 @%:@ Check whether --with-slirp was given.
2675 if test "${with_slirp+set}" = set; then :
2676   withval=$with_slirp;  
2677             case "$withval" in
2678                 yes)
2679                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2680 $as_echo "yes" >&6; }
2681                     $as_echo "@%:@define SLIRP 1" >>confdefs.h
2683                     SLIRP=$with_slirp
2684                     $as_echo "@%:@define PPP_BINARY \"/bin/slirp\"" >>confdefs.h
2686                     break;
2687                     ;;
2688                 no)
2689                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2690 $as_echo "explicit no" >&6; }
2691                     ;;
2692                 *)
2693                     # only yes or no are expected for this option
2694                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2695 $as_echo "unrecognised... terminating" >&6; }
2696                     exit 1
2697                     ;;
2698             esac
2699         
2700 else
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2702 $as_echo "default no" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for syslog facility name" >&5
2707 $as_echo_n "checking command line for syslog facility name... " >&6; }
2708 @%:@ Check whether --enable-facility was given.
2709 if test "${enable_facility+set}" = set; then :
2710   enableval=$enable_facility; 
2711         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
2712 $as_echo "$enableval" >&6; }
2713         cat >>confdefs.h <<_ACEOF
2714 @%:@define PPTP_FACILITY $enableval
2715 _ACEOF
2717         
2718 else
2719   
2720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LOG_DAEMON" >&5
2721 $as_echo "default LOG_DAEMON" >&6; }
2722         cat >>confdefs.h <<_ACEOF
2723 @%:@define PPTP_FACILITY LOG_DAEMON
2724 _ACEOF
2726     
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for bcrelay build" >&5
2731 $as_echo_n "checking command line for bcrelay build... " >&6; }
2732 @%:@ Check whether --enable-bcrelay was given.
2733 if test "${enable_bcrelay+set}" = set; then :
2734   enableval=$enable_bcrelay;  
2735             case "$enableval" in
2736                 yes)
2737                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2738 $as_echo "yes" >&6; }
2739                     $as_echo "@%:@define BCRELAY 1" >>confdefs.h
2741                     BCRELAY=$enableval
2742                     break;
2743                     ;;
2744                 no)
2745                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2746 $as_echo "explicit no" >&6; }
2747                     ;;
2748                 *)
2749                     # only yes or no are expected for this option
2750                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2751 $as_echo "unrecognised... terminating" >&6; }
2752                     exit 1
2753                     ;;
2754             esac
2755         
2756 else
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2758 $as_echo "default no" >&6; }
2762 ac_ext=c
2763 ac_cpp='$CPP $CPPFLAGS'
2764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767 if test -n "$ac_tool_prefix"; then
2768   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2769 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_CC+set}" = set; then :
2773   $as_echo_n "(cached) " >&6
2774 else
2775   if test -n "$CC"; then
2776   ac_cv_prog_CC="$CC" # Let the user override the test.
2777 else
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH
2781   IFS=$as_save_IFS
2782   test -z "$as_dir" && as_dir=.
2783     for ac_exec_ext in '' $ac_executable_extensions; do
2784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787     break 2
2788   fi
2789 done
2790   done
2791 IFS=$as_save_IFS
2795 CC=$ac_cv_prog_CC
2796 if test -n "$CC"; then
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2798 $as_echo "$CC" >&6; }
2799 else
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_CC"; then
2807   ac_ct_CC=$CC
2808   # Extract the first word of "gcc", so it can be a program name with args.
2809 set dummy gcc; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2813   $as_echo_n "(cached) " >&6
2814 else
2815   if test -n "$ac_ct_CC"; then
2816   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2817 else
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 for as_dir in $PATH
2821   IFS=$as_save_IFS
2822   test -z "$as_dir" && as_dir=.
2823     for ac_exec_ext in '' $ac_executable_extensions; do
2824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825     ac_cv_prog_ac_ct_CC="gcc"
2826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827     break 2
2828   fi
2829 done
2830   done
2831 IFS=$as_save_IFS
2835 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2836 if test -n "$ac_ct_CC"; then
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2838 $as_echo "$ac_ct_CC" >&6; }
2839 else
2840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844   if test "x$ac_ct_CC" = x; then
2845     CC=""
2846   else
2847     case $cross_compiling:$ac_tool_warned in
2848 yes:)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned=yes ;;
2852 esac
2853     CC=$ac_ct_CC
2854   fi
2855 else
2856   CC="$ac_cv_prog_CC"
2859 if test -z "$CC"; then
2860           if test -n "$ac_tool_prefix"; then
2861     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2862 set dummy ${ac_tool_prefix}cc; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then :
2866   $as_echo_n "(cached) " >&6
2867 else
2868   if test -n "$CC"; then
2869   ac_cv_prog_CC="$CC" # Let the user override the test.
2870 else
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 for as_dir in $PATH
2874   IFS=$as_save_IFS
2875   test -z "$as_dir" && as_dir=.
2876     for ac_exec_ext in '' $ac_executable_extensions; do
2877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878     ac_cv_prog_CC="${ac_tool_prefix}cc"
2879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880     break 2
2881   fi
2882 done
2883   done
2884 IFS=$as_save_IFS
2888 CC=$ac_cv_prog_CC
2889 if test -n "$CC"; then
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2891 $as_echo "$CC" >&6; }
2892 else
2893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898   fi
2900 if test -z "$CC"; then
2901   # Extract the first word of "cc", so it can be a program name with args.
2902 set dummy cc; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_CC+set}" = set; then :
2906   $as_echo_n "(cached) " >&6
2907 else
2908   if test -n "$CC"; then
2909   ac_cv_prog_CC="$CC" # Let the user override the test.
2910 else
2911   ac_prog_rejected=no
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2913 for as_dir in $PATH
2915   IFS=$as_save_IFS
2916   test -z "$as_dir" && as_dir=.
2917     for ac_exec_ext in '' $ac_executable_extensions; do
2918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2920        ac_prog_rejected=yes
2921        continue
2922      fi
2923     ac_cv_prog_CC="cc"
2924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925     break 2
2926   fi
2927 done
2928   done
2929 IFS=$as_save_IFS
2931 if test $ac_prog_rejected = yes; then
2932   # We found a bogon in the path, so make sure we never use it.
2933   set dummy $ac_cv_prog_CC
2934   shift
2935   if test $@%:@ != 0; then
2936     # We chose a different compiler from the bogus one.
2937     # However, it has the same basename, so the bogon will be chosen
2938     # first if we set CC to just the basename; use the full file name.
2939     shift
2940     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2941   fi
2945 CC=$ac_cv_prog_CC
2946 if test -n "$CC"; then
2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2949 else
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$CC"; then
2957   if test -n "$ac_tool_prefix"; then
2958   for ac_prog in cl.exe
2959   do
2960     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_CC+set}" = set; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   if test -n "$CC"; then
2968   ac_cv_prog_CC="$CC" # Let the user override the test.
2969 else
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 for as_dir in $PATH
2973   IFS=$as_save_IFS
2974   test -z "$as_dir" && as_dir=.
2975     for ac_exec_ext in '' $ac_executable_extensions; do
2976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979     break 2
2980   fi
2981 done
2982   done
2983 IFS=$as_save_IFS
2987 CC=$ac_cv_prog_CC
2988 if test -n "$CC"; then
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2991 else
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2997     test -n "$CC" && break
2998   done
3000 if test -z "$CC"; then
3001   ac_ct_CC=$CC
3002   for ac_prog in cl.exe
3004   # Extract the first word of "$ac_prog", so it can be a program name with args.
3005 set dummy $ac_prog; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3009   $as_echo_n "(cached) " >&6
3010 else
3011   if test -n "$ac_ct_CC"; then
3012   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017   IFS=$as_save_IFS
3018   test -z "$as_dir" && as_dir=.
3019     for ac_exec_ext in '' $ac_executable_extensions; do
3020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021     ac_cv_prog_ac_ct_CC="$ac_prog"
3022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023     break 2
3024   fi
3025 done
3026   done
3027 IFS=$as_save_IFS
3031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3035 else
3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3041   test -n "$ac_ct_CC" && break
3042 done
3044   if test "x$ac_ct_CC" = x; then
3045     CC=""
3046   else
3047     case $cross_compiling:$ac_tool_warned in
3048 yes:)
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned=yes ;;
3052 esac
3053     CC=$ac_ct_CC
3054   fi
3060 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 as_fn_error $? "no acceptable C compiler found in \$PATH
3063 See \`config.log' for more details" "$LINENO" 5 ; }
3065 # Provide some information about the compiler.
3066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3067 set X $ac_compile
3068 ac_compiler=$2
3069 for ac_option in --version -v -V -qversion; do
3070   { { ac_try="$ac_compiler $ac_option >&5"
3071 case "(($ac_try" in
3072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073   *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3078   ac_status=$?
3079   if test -s conftest.err; then
3080     sed '10a\
3081 ... rest of stderr output deleted ...
3082          10q' conftest.err >conftest.er1
3083     cat conftest.er1 >&5
3084   fi
3085   rm -f conftest.er1 conftest.err
3086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087   test $ac_status = 0; }
3088 done
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h.  */
3094 main ()
3097   ;
3098   return 0;
3100 _ACEOF
3101 ac_clean_files_save=$ac_clean_files
3102 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3103 # Try to create an executable without -o first, disregard a.out.
3104 # It will help us diagnose broken compilers, and finding out an intuition
3105 # of exeext.
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3107 $as_echo_n "checking whether the C compiler works... " >&6; }
3108 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3110 # The possible output files:
3111 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3113 ac_rmfiles=
3114 for ac_file in $ac_files
3116   case $ac_file in
3117     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3118     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3119   esac
3120 done
3121 rm -f $ac_rmfiles
3123 if { { ac_try="$ac_link_default"
3124 case "(($ac_try" in
3125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126   *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130   (eval "$ac_link_default") 2>&5
3131   ac_status=$?
3132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133   test $ac_status = 0; }; then :
3134   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3135 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3136 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3137 # so that the user can short-circuit this test for compilers unknown to
3138 # Autoconf.
3139 for ac_file in $ac_files ''
3141   test -f "$ac_file" || continue
3142   case $ac_file in
3143     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3144         ;;
3145     [ab].out )
3146         # We found the default executable, but exeext='' is most
3147         # certainly right.
3148         break;;
3149     *.* )
3150         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3151         then :; else
3152            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3153         fi
3154         # We set ac_cv_exeext here because the later test for it is not
3155         # safe: cross compilers may not add the suffix if given an `-o'
3156         # argument, so we may need to know it at that point already.
3157         # Even if this section looks crufty: it has the advantage of
3158         # actually working.
3159         break;;
3160     * )
3161         break;;
3162   esac
3163 done
3164 test "$ac_cv_exeext" = no && ac_cv_exeext=
3166 else
3167   ac_file=''
3169 if test -z "$ac_file"; then :
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error 77 "C compiler cannot create executables
3178 See \`config.log' for more details" "$LINENO" 5 ; }
3179 else
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3181 $as_echo "yes" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3184 $as_echo_n "checking for C compiler default output file name... " >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3186 $as_echo "$ac_file" >&6; }
3187 ac_exeext=$ac_cv_exeext
3189 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3190 ac_clean_files=$ac_clean_files_save
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3192 $as_echo_n "checking for suffix of executables... " >&6; }
3193 if { { ac_try="$ac_link"
3194 case "(($ac_try" in
3195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196   *) ac_try_echo=$ac_try;;
3197 esac
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200   (eval "$ac_link") 2>&5
3201   ac_status=$?
3202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203   test $ac_status = 0; }; then :
3204   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3205 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3206 # work properly (i.e., refer to `conftest.exe'), while it won't with
3207 # `rm'.
3208 for ac_file in conftest.exe conftest conftest.*; do
3209   test -f "$ac_file" || continue
3210   case $ac_file in
3211     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3212     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3213           break;;
3214     * ) break;;
3215   esac
3216 done
3217 else
3218   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3221 See \`config.log' for more details" "$LINENO" 5 ; }
3223 rm -f conftest conftest$ac_cv_exeext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3225 $as_echo "$ac_cv_exeext" >&6; }
3227 rm -f conftest.$ac_ext
3228 EXEEXT=$ac_cv_exeext
3229 ac_exeext=$EXEEXT
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h.  */
3232 @%:@include <stdio.h>
3234 main ()
3236 FILE *f = fopen ("conftest.out", "w");
3237  return ferror (f) || fclose (f) != 0;
3239   ;
3240   return 0;
3242 _ACEOF
3243 ac_clean_files="$ac_clean_files conftest.out"
3244 # Check that the compiler produces executables we can run.  If not, either
3245 # the compiler is broken, or we cross compile.
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3247 $as_echo_n "checking whether we are cross compiling... " >&6; }
3248 if test "$cross_compiling" != yes; then
3249   { { ac_try="$ac_link"
3250 case "(($ac_try" in
3251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252   *) ac_try_echo=$ac_try;;
3253 esac
3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256   (eval "$ac_link") 2>&5
3257   ac_status=$?
3258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259   test $ac_status = 0; }
3260   if { ac_try='./conftest$ac_cv_exeext'
3261   { { case "(($ac_try" in
3262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263   *) ac_try_echo=$ac_try;;
3264 esac
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267   (eval "$ac_try") 2>&5
3268   ac_status=$?
3269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270   test $ac_status = 0; }; }; then
3271     cross_compiling=no
3272   else
3273     if test "$cross_compiling" = maybe; then
3274         cross_compiling=yes
3275     else
3276         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "cannot run C compiled programs.
3279 If you meant to cross compile, use \`--host'.
3280 See \`config.log' for more details" "$LINENO" 5 ; }
3281     fi
3282   fi
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3285 $as_echo "$cross_compiling" >&6; }
3287 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3288 ac_clean_files=$ac_clean_files_save
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3290 $as_echo_n "checking for suffix of object files... " >&6; }
3291 if test "${ac_cv_objext+set}" = set; then :
3292   $as_echo_n "(cached) " >&6
3293 else
3294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h.  */
3298 main ()
3301   ;
3302   return 0;
3304 _ACEOF
3305 rm -f conftest.o conftest.obj
3306 if { { ac_try="$ac_compile"
3307 case "(($ac_try" in
3308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309   *) ac_try_echo=$ac_try;;
3310 esac
3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313   (eval "$ac_compile") 2>&5
3314   ac_status=$?
3315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316   test $ac_status = 0; }; then :
3317   for ac_file in conftest.o conftest.obj conftest.*; do
3318   test -f "$ac_file" || continue;
3319   case $ac_file in
3320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3321     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3322        break;;
3323   esac
3324 done
3325 else
3326   $as_echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3331 as_fn_error $? "cannot compute suffix of object files: cannot compile
3332 See \`config.log' for more details" "$LINENO" 5 ; }
3334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3337 $as_echo "$ac_cv_objext" >&6; }
3338 OBJEXT=$ac_cv_objext
3339 ac_objext=$OBJEXT
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3341 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3342 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3343   $as_echo_n "(cached) " >&6
3344 else
3345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h.  */
3349 main ()
3351 #ifndef __GNUC__
3352        choke me
3353 #endif
3355   ;
3356   return 0;
3358 _ACEOF
3359 if ac_fn_c_try_compile "$LINENO"; then :
3360   ac_compiler_gnu=yes
3361 else
3362   ac_compiler_gnu=no
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3369 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3370 if test $ac_compiler_gnu = yes; then
3371   GCC=yes
3372 else
3373   GCC=
3375 ac_test_CFLAGS=${CFLAGS+set}
3376 ac_save_CFLAGS=$CFLAGS
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3378 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3379 if test "${ac_cv_prog_cc_g+set}" = set; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   ac_save_c_werror_flag=$ac_c_werror_flag
3383    ac_c_werror_flag=yes
3384    ac_cv_prog_cc_g=no
3385    CFLAGS="-g"
3386    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h.  */
3390 main ()
3393   ;
3394   return 0;
3396 _ACEOF
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398   ac_cv_prog_cc_g=yes
3399 else
3400   CFLAGS=""
3401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h.  */
3405 main ()
3408   ;
3409   return 0;
3411 _ACEOF
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413   
3414 else
3415   ac_c_werror_flag=$ac_save_c_werror_flag
3416          CFLAGS="-g"
3417          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h.  */
3421 main ()
3424   ;
3425   return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429   ac_cv_prog_cc_g=yes
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436    ac_c_werror_flag=$ac_save_c_werror_flag
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3439 $as_echo "$ac_cv_prog_cc_g" >&6; }
3440 if test "$ac_test_CFLAGS" = set; then
3441   CFLAGS=$ac_save_CFLAGS
3442 elif test $ac_cv_prog_cc_g = yes; then
3443   if test "$GCC" = yes; then
3444     CFLAGS="-g -O2"
3445   else
3446     CFLAGS="-g"
3447   fi
3448 else
3449   if test "$GCC" = yes; then
3450     CFLAGS="-O2"
3451   else
3452     CFLAGS=
3453   fi
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3456 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3457 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3458   $as_echo_n "(cached) " >&6
3459 else
3460   ac_cv_prog_cc_c89=no
3461 ac_save_CC=$CC
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h.  */
3464 #include <stdarg.h>
3465 #include <stdio.h>
3466 #include <sys/types.h>
3467 #include <sys/stat.h>
3468 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3469 struct buf { int x; };
3470 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3471 static char *e (p, i)
3472      char **p;
3473      int i;
3475   return p[i];
3477 static char *f (char * (*g) (char **, int), char **p, ...)
3479   char *s;
3480   va_list v;
3481   va_start (v,p);
3482   s = g (p, va_arg (v,int));
3483   va_end (v);
3484   return s;
3487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3488    function prototypes and stuff, but not '\xHH' hex character constants.
3489    These don't provoke an error unfortunately, instead are silently treated
3490    as 'x'.  The following induces an error, until -std is added to get
3491    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3492    array size at least.  It's necessary to write '\x00'==0 to get something
3493    that's true only with -std.  */
3494 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3496 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3497    inside strings and character constants.  */
3498 #define FOO(x) 'x'
3499 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3501 int test (int i, double x);
3502 struct s1 {int (*f) (int a);};
3503 struct s2 {int (*f) (double a);};
3504 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3505 int argc;
3506 char **argv;
3508 main ()
3510 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3511   ;
3512   return 0;
3514 _ACEOF
3515 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3516         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3518   CC="$ac_save_CC $ac_arg"
3519   if ac_fn_c_try_compile "$LINENO"; then :
3520   ac_cv_prog_cc_c89=$ac_arg
3522 rm -f core conftest.err conftest.$ac_objext
3523   test "x$ac_cv_prog_cc_c89" != "xno" && break
3524 done
3525 rm -f conftest.$ac_ext
3526 CC=$ac_save_CC
3529 # AC_CACHE_VAL
3530 case "x$ac_cv_prog_cc_c89" in
3531   x)
3532     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3533 $as_echo "none needed" >&6; } ;;
3534   xno)
3535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3536 $as_echo "unsupported" >&6; } ;;
3537   *)
3538     CC="$CC $ac_cv_prog_cc_c89"
3539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3540 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3541 esac
3542 if test "x$ac_cv_prog_cc_c89" != xno; then :
3543   
3546 ac_ext=c
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 DEPDIR="${am__leading_dot}deps"
3553 ac_config_commands="$ac_config_commands depfiles"
3556 am_make=${MAKE-make}
3557 cat > confinc << 'END'
3558 am__doit:
3559         @echo done
3560 .PHONY: am__doit
3562 # If we don't find an include directive, just comment out the code.
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3564 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3565 am__include="#"
3566 am__quote=
3567 _am_result=none
3568 # First try GNU make style include.
3569 echo "include confinc" > confmf
3570 # We grep out `Entering directory' and `Leaving directory'
3571 # messages which can occur if `w' ends up in MAKEFLAGS.
3572 # In particular we don't look at `^make:' because GNU make might
3573 # be invoked under some other name (usually "gmake"), in which
3574 # case it prints its new name instead of `make'.
3575 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3576    am__include=include
3577    am__quote=
3578    _am_result=GNU
3580 # Now try BSD make style include.
3581 if test "$am__include" = "#"; then
3582    echo '.include "confinc"' > confmf
3583    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3584       am__include=.include
3585       am__quote="\""
3586       _am_result=BSD
3587    fi
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3592 $as_echo "$_am_result" >&6; }
3593 rm -f confinc confmf
3595 @%:@ Check whether --enable-dependency-tracking was given.
3596 if test "${enable_dependency_tracking+set}" = set; then :
3597   enableval=$enable_dependency_tracking; 
3600 if test "x$enable_dependency_tracking" != xno; then
3601   am_depcomp="$ac_aux_dir/depcomp"
3602   AMDEPBACKSLASH='\'
3606 if test "x$enable_dependency_tracking" != xno; then
3607   AMDEP_TRUE=
3608   AMDEP_FALSE='#'
3609 else
3610   AMDEP_TRUE='#'
3611   AMDEP_FALSE=
3617 depcc="$CC"   am_compiler_list=
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3620 $as_echo_n "checking dependency style of $depcc... " >&6; }
3621 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3622   $as_echo_n "(cached) " >&6
3623 else
3624   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3625   # We make a subdir and do the tests there.  Otherwise we can end up
3626   # making bogus files that we don't know about and never remove.  For
3627   # instance it was reported that on HP-UX the gcc test will end up
3628   # making a dummy file named `D' -- because `-MD' means `put the output
3629   # in D'.
3630   mkdir conftest.dir
3631   # Copy depcomp to subdir because otherwise we won't find it if we're
3632   # using a relative directory.
3633   cp "$am_depcomp" conftest.dir
3634   cd conftest.dir
3635   # We will build objects and dependencies in a subdirectory because
3636   # it helps to detect inapplicable dependency modes.  For instance
3637   # both Tru64's cc and ICC support -MD to output dependencies as a
3638   # side effect of compilation, but ICC will put the dependencies in
3639   # the current directory while Tru64 will put them in the object
3640   # directory.
3641   mkdir sub
3643   am_cv_CC_dependencies_compiler_type=none
3644   if test "$am_compiler_list" = ""; then
3645      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3646   fi
3647   for depmode in $am_compiler_list; do
3648     # Setup a source with many dependencies, because some compilers
3649     # like to wrap large dependency lists on column 80 (with \), and
3650     # we should not choose a depcomp mode which is confused by this.
3651     #
3652     # We need to recreate these files for each test, as the compiler may
3653     # overwrite some of them when testing with obscure command lines.
3654     # This happens at least with the AIX C compiler.
3655     : > sub/conftest.c
3656     for i in 1 2 3 4 5 6; do
3657       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3658       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3659       # Solaris 8's {/usr,}/bin/sh.
3660       touch sub/conftst$i.h
3661     done
3662     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3664     case $depmode in
3665     nosideeffect)
3666       # after this tag, mechanisms are not by side-effect, so they'll
3667       # only be used when explicitly requested
3668       if test "x$enable_dependency_tracking" = xyes; then
3669         continue
3670       else
3671         break
3672       fi
3673       ;;
3674     none) break ;;
3675     esac
3676     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3677     # mode.  It turns out that the SunPro C++ compiler does not properly
3678     # handle `-M -o', and we need to detect this.
3679     if depmode=$depmode \
3680        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3681        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3682        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3683          >/dev/null 2>conftest.err &&
3684        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3685        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3686        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3687       # icc doesn't choke on unknown options, it will just issue warnings
3688       # or remarks (even with -Werror).  So we grep stderr for any message
3689       # that says an option was ignored or not supported.
3690       # When given -MP, icc 7.0 and 7.1 complain thusly:
3691       #   icc: Command line warning: ignoring option '-M'; no argument required
3692       # The diagnosis changed in icc 8.0:
3693       #   icc: Command line remark: option '-MP' not supported
3694       if (grep 'ignoring option' conftest.err ||
3695           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3696         am_cv_CC_dependencies_compiler_type=$depmode
3697         break
3698       fi
3699     fi
3700   done
3702   cd ..
3703   rm -rf conftest.dir
3704 else
3705   am_cv_CC_dependencies_compiler_type=none
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3710 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3711 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3715 if 
3716   test "x$enable_dependency_tracking" != xno \
3717   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3718   am__fastdepCC_TRUE=
3719   am__fastdepCC_FALSE='#'
3720 else
3721   am__fastdepCC_TRUE='#'
3722   am__fastdepCC_FALSE=
3726 if test -n "$ac_tool_prefix"; then
3727   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3732   $as_echo_n "(cached) " >&6
3733 else
3734   if test -n "$RANLIB"; then
3735   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740   IFS=$as_save_IFS
3741   test -z "$as_dir" && as_dir=.
3742     for ac_exec_ext in '' $ac_executable_extensions; do
3743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746     break 2
3747   fi
3748 done
3749   done
3750 IFS=$as_save_IFS
3754 RANLIB=$ac_cv_prog_RANLIB
3755 if test -n "$RANLIB"; then
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3757 $as_echo "$RANLIB" >&6; }
3758 else
3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$ac_cv_prog_RANLIB"; then
3766   ac_ct_RANLIB=$RANLIB
3767   # Extract the first word of "ranlib", so it can be a program name with args.
3768 set dummy ranlib; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3772   $as_echo_n "(cached) " >&6
3773 else
3774   if test -n "$ac_ct_RANLIB"; then
3775   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3780   IFS=$as_save_IFS
3781   test -z "$as_dir" && as_dir=.
3782     for ac_exec_ext in '' $ac_executable_extensions; do
3783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784     ac_cv_prog_ac_ct_RANLIB="ranlib"
3785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786     break 2
3787   fi
3788 done
3789   done
3790 IFS=$as_save_IFS
3794 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3795 if test -n "$ac_ct_RANLIB"; then
3796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3797 $as_echo "$ac_ct_RANLIB" >&6; }
3798 else
3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3803   if test "x$ac_ct_RANLIB" = x; then
3804     RANLIB=":"
3805   else
3806     case $cross_compiling:$ac_tool_warned in
3807 yes:)
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3810 ac_tool_warned=yes ;;
3811 esac
3812     RANLIB=$ac_ct_RANLIB
3813   fi
3814 else
3815   RANLIB="$ac_cv_prog_RANLIB"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3820 $as_echo_n "checking whether ln -s works... " >&6; }
3821 LN_S=$as_ln_s
3822 if test "$LN_S" = "ln -s"; then
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3824 $as_echo "yes" >&6; }
3825 else
3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3827 $as_echo "no, using $LN_S" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3832 set x ${MAKE-make}
3833 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3835   $as_echo_n "(cached) " >&6
3836 else
3837   cat >conftest.make <<\_ACEOF
3838 SHELL = /bin/sh
3839 all:
3840         @echo '@@@%%%=$(MAKE)=@@@%%%'
3841 _ACEOF
3842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3844   *@@@%%%=?*=@@@%%%*)
3845     eval ac_cv_prog_make_${ac_make}_set=yes;;
3846   *)
3847     eval ac_cv_prog_make_${ac_make}_set=no;;
3848 esac
3849 rm -f conftest.make
3851 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3854   SET_MAKE=
3855 else
3856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858   SET_MAKE="MAKE=${MAKE-make}"
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3864 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3865 if test "${ac_cv_c_const+set}" = set; then :
3866   $as_echo_n "(cached) " >&6
3867 else
3868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h.  */
3872 main ()
3874 /* FIXME: Include the comments suggested by Paul. */
3875 #ifndef __cplusplus
3876   /* Ultrix mips cc rejects this.  */
3877   typedef int charset[2];
3878   const charset cs;
3879   /* SunOS 4.1.1 cc rejects this.  */
3880   char const *const *pcpcc;
3881   char **ppc;
3882   /* NEC SVR4.0.2 mips cc rejects this.  */
3883   struct point {int x, y;};
3884   static struct point const zero = {0,0};
3885   /* AIX XL C 1.02.0.0 rejects this.
3886      It does not let you subtract one const X* pointer from another in
3887      an arm of an if-expression whose if-part is not a constant
3888      expression */
3889   const char *g = "string";
3890   pcpcc = &g + (g ? g-g : 0);
3891   /* HPUX 7.0 cc rejects these. */
3892   ++pcpcc;
3893   ppc = (char**) pcpcc;
3894   pcpcc = (char const *const *) ppc;
3895   { /* SCO 3.2v4 cc rejects this.  */
3896     char *t;
3897     char const *s = 0 ? (char *) 0 : (char const *) 0;
3899     *t++ = 0;
3900     if (s) return 0;
3901   }
3902   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3903     int x[] = {25, 17};
3904     const int *foo = &x[0];
3905     ++foo;
3906   }
3907   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3908     typedef const int *iptr;
3909     iptr p = 0;
3910     ++p;
3911   }
3912   { /* AIX XL C 1.02.0.0 rejects this saying
3913        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3914     struct s { int j; const int *ap[3]; };
3915     struct s *b; b->j = 5;
3916   }
3917   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3918     const int foo = 10;
3919     if (!foo) return 0;
3920   }
3921   return !cs[0] && !zero.x;
3922 #endif
3924   ;
3925   return 0;
3927 _ACEOF
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929   ac_cv_c_const=yes
3930 else
3931   ac_cv_c_const=no
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3936 $as_echo "$ac_cv_c_const" >&6; }
3937 if test $ac_cv_c_const = no; then
3938   
3939 $as_echo "@%:@define const /**/" >>confdefs.h
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3944 $as_echo_n "checking for inline... " >&6; }
3945 if test "${ac_cv_c_inline+set}" = set; then :
3946   $as_echo_n "(cached) " >&6
3947 else
3948   ac_cv_c_inline=no
3949 for ac_kw in inline __inline__ __inline; do
3950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h.  */
3952 #ifndef __cplusplus
3953 typedef int foo_t;
3954 static $ac_kw foo_t static_foo () {return 0; }
3955 $ac_kw foo_t foo () {return 0; }
3956 #endif
3958 _ACEOF
3959 if ac_fn_c_try_compile "$LINENO"; then :
3960   ac_cv_c_inline=$ac_kw
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963   test "$ac_cv_c_inline" != no && break
3964 done
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3968 $as_echo "$ac_cv_c_inline" >&6; }
3970 case $ac_cv_c_inline in
3971   inline | yes) ;;
3972   *)
3973     case $ac_cv_c_inline in
3974       no) ac_val=;;
3975       *) ac_val=$ac_cv_c_inline;;
3976     esac
3977     cat >>confdefs.h <<_ACEOF
3978 #ifndef __cplusplus
3979 #define inline $ac_val
3980 #endif
3981 _ACEOF
3982     ;;
3983 esac
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether @%:@! works in shell scripts" >&5
3989 $as_echo_n "checking whether @%:@! works in shell scripts... " >&6; }
3990 if test "${ac_cv_sys_interpreter+set}" = set; then :
3991   $as_echo_n "(cached) " >&6
3992 else
3993   echo '#! /bin/cat
3994 exit 69
3995 ' >conftest
3996 chmod u+x conftest
3997 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
3998 if test $? -ne 69; then
3999    ac_cv_sys_interpreter=yes
4000 else
4001    ac_cv_sys_interpreter=no
4003 rm -f conftest
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
4006 $as_echo "$ac_cv_sys_interpreter" >&6; }
4007 interpval=$ac_cv_sys_interpreter
4010 for ac_func in setsid daemon setproctitle getservbyname strlcpy fork memmove strerror writev
4011 do :
4012   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4014 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4015   cat >>confdefs.h <<_ACEOF
4016 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4017 _ACEOF
4020 done
4023 ac_ext=c
4024 ac_cpp='$CPP $CPPFLAGS'
4025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4029 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4030 # On Suns, sometimes $CPP names a directory.
4031 if test -n "$CPP" && test -d "$CPP"; then
4032   CPP=
4034 if test -z "$CPP"; then
4035   if test "${ac_cv_prog_CPP+set}" = set; then :
4036   $as_echo_n "(cached) " >&6
4037 else
4038       # Double quotes because CPP needs to be expanded
4039     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4040     do
4041       ac_preproc_ok=false
4042 for ac_c_preproc_warn_flag in '' yes
4044   # Use a header file that comes with gcc, so configuring glibc
4045   # with a fresh cross-compiler works.
4046   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4047   # <limits.h> exists even on freestanding compilers.
4048   # On the NeXT, cc -E runs the code through the compiler's parser,
4049   # not just through cpp. "Syntax error" is here to catch this case.
4050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h.  */
4052 @%:@ifdef __STDC__
4053 @%:@ include <limits.h>
4054 @%:@else
4055 @%:@ include <assert.h>
4056 @%:@endif
4057                      Syntax error
4058 _ACEOF
4059 if ac_fn_c_try_cpp "$LINENO"; then :
4060   
4061 else
4062   # Broken: fails on valid input.
4063 continue
4065 rm -f conftest.err conftest.i conftest.$ac_ext
4067   # OK, works on sane cases.  Now check whether nonexistent headers
4068   # can be detected and how.
4069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h.  */
4071 @%:@include <ac_nonexistent.h>
4072 _ACEOF
4073 if ac_fn_c_try_cpp "$LINENO"; then :
4074   # Broken: success on invalid input.
4075 continue
4076 else
4077   # Passes both tests.
4078 ac_preproc_ok=:
4079 break
4081 rm -f conftest.err conftest.i conftest.$ac_ext
4083 done
4084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4085 rm -f conftest.i conftest.err conftest.$ac_ext
4086 if $ac_preproc_ok; then :
4087   break
4090     done
4091     ac_cv_prog_CPP=$CPP
4092   
4094   CPP=$ac_cv_prog_CPP
4095 else
4096   ac_cv_prog_CPP=$CPP
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4099 $as_echo "$CPP" >&6; }
4100 ac_preproc_ok=false
4101 for ac_c_preproc_warn_flag in '' yes
4103   # Use a header file that comes with gcc, so configuring glibc
4104   # with a fresh cross-compiler works.
4105   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106   # <limits.h> exists even on freestanding compilers.
4107   # On the NeXT, cc -E runs the code through the compiler's parser,
4108   # not just through cpp. "Syntax error" is here to catch this case.
4109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h.  */
4111 @%:@ifdef __STDC__
4112 @%:@ include <limits.h>
4113 @%:@else
4114 @%:@ include <assert.h>
4115 @%:@endif
4116                      Syntax error
4117 _ACEOF
4118 if ac_fn_c_try_cpp "$LINENO"; then :
4119   
4120 else
4121   # Broken: fails on valid input.
4122 continue
4124 rm -f conftest.err conftest.i conftest.$ac_ext
4126   # OK, works on sane cases.  Now check whether nonexistent headers
4127   # can be detected and how.
4128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130 @%:@include <ac_nonexistent.h>
4131 _ACEOF
4132 if ac_fn_c_try_cpp "$LINENO"; then :
4133   # Broken: success on invalid input.
4134 continue
4135 else
4136   # Passes both tests.
4137 ac_preproc_ok=:
4138 break
4140 rm -f conftest.err conftest.i conftest.$ac_ext
4142 done
4143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4144 rm -f conftest.i conftest.err conftest.$ac_ext
4145 if $ac_preproc_ok; then :
4146   
4147 else
4148   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4151 See \`config.log' for more details" "$LINENO" 5 ; }
4154 ac_ext=c
4155 ac_cpp='$CPP $CPPFLAGS'
4156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4163 if test "${ac_cv_path_GREP+set}" = set; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   if test -z "$GREP"; then
4167   ac_path_GREP_found=false
4168   # Loop through the user's path and test for each of PROGNAME-LIST
4169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4172   IFS=$as_save_IFS
4173   test -z "$as_dir" && as_dir=.
4174     for ac_prog in grep ggrep; do
4175     for ac_exec_ext in '' $ac_executable_extensions; do
4176       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4177       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4178 # Check for GNU ac_path_GREP and select it if it is found.
4179   # Check for GNU $ac_path_GREP
4180 case `"$ac_path_GREP" --version 2>&1` in
4181 *GNU*)
4182   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4184   ac_count=0
4185   $as_echo_n 0123456789 >"conftest.in"
4186   while :
4187   do
4188     cat "conftest.in" "conftest.in" >"conftest.tmp"
4189     mv "conftest.tmp" "conftest.in"
4190     cp "conftest.in" "conftest.nl"
4191     $as_echo 'GREP' >> "conftest.nl"
4192     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194     as_fn_arith $ac_count + 1 && ac_count=$as_val
4195     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4196       # Best one so far, save it but keep looking for a better one
4197       ac_cv_path_GREP="$ac_path_GREP"
4198       ac_path_GREP_max=$ac_count
4199     fi
4200     # 10*(2^10) chars as input seems more than enough
4201     test $ac_count -gt 10 && break
4202   done
4203   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204 esac
4206       $ac_path_GREP_found && break 3
4207     done
4208   done
4209   done
4210 IFS=$as_save_IFS
4211   if test -z "$ac_cv_path_GREP"; then
4212     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
4213   fi
4214 else
4215   ac_cv_path_GREP=$GREP
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4220 $as_echo "$ac_cv_path_GREP" >&6; }
4221  GREP="$ac_cv_path_GREP"
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4225 $as_echo_n "checking for egrep... " >&6; }
4226 if test "${ac_cv_path_EGREP+set}" = set; then :
4227   $as_echo_n "(cached) " >&6
4228 else
4229   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4230    then ac_cv_path_EGREP="$GREP -E"
4231    else
4232      if test -z "$EGREP"; then
4233   ac_path_EGREP_found=false
4234   # Loop through the user's path and test for each of PROGNAME-LIST
4235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4238   IFS=$as_save_IFS
4239   test -z "$as_dir" && as_dir=.
4240     for ac_prog in egrep; do
4241     for ac_exec_ext in '' $ac_executable_extensions; do
4242       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4243       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4244 # Check for GNU ac_path_EGREP and select it if it is found.
4245   # Check for GNU $ac_path_EGREP
4246 case `"$ac_path_EGREP" --version 2>&1` in
4247 *GNU*)
4248   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4250   ac_count=0
4251   $as_echo_n 0123456789 >"conftest.in"
4252   while :
4253   do
4254     cat "conftest.in" "conftest.in" >"conftest.tmp"
4255     mv "conftest.tmp" "conftest.in"
4256     cp "conftest.in" "conftest.nl"
4257     $as_echo 'EGREP' >> "conftest.nl"
4258     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4259     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4260     as_fn_arith $ac_count + 1 && ac_count=$as_val
4261     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4262       # Best one so far, save it but keep looking for a better one
4263       ac_cv_path_EGREP="$ac_path_EGREP"
4264       ac_path_EGREP_max=$ac_count
4265     fi
4266     # 10*(2^10) chars as input seems more than enough
4267     test $ac_count -gt 10 && break
4268   done
4269   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4270 esac
4272       $ac_path_EGREP_found && break 3
4273     done
4274   done
4275   done
4276 IFS=$as_save_IFS
4277   if test -z "$ac_cv_path_EGREP"; then
4278     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
4279   fi
4280 else
4281   ac_cv_path_EGREP=$EGREP
4284    fi
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4287 $as_echo "$ac_cv_path_EGREP" >&6; }
4288  EGREP="$ac_cv_path_EGREP"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4292 $as_echo_n "checking for ANSI C header files... " >&6; }
4293 if test "${ac_cv_header_stdc+set}" = set; then :
4294   $as_echo_n "(cached) " >&6
4295 else
4296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h.  */
4298 #include <stdlib.h>
4299 #include <stdarg.h>
4300 #include <string.h>
4301 #include <float.h>
4304 main ()
4307   ;
4308   return 0;
4310 _ACEOF
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312   ac_cv_header_stdc=yes
4313 else
4314   ac_cv_header_stdc=no
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 if test $ac_cv_header_stdc = yes; then
4319   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h.  */
4322 #include <string.h>
4324 _ACEOF
4325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326   $EGREP "memchr" >/dev/null 2>&1; then :
4327   
4328 else
4329   ac_cv_header_stdc=no
4331 rm -f conftest*
4335 if test $ac_cv_header_stdc = yes; then
4336   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h.  */
4339 #include <stdlib.h>
4341 _ACEOF
4342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4343   $EGREP "free" >/dev/null 2>&1; then :
4344   
4345 else
4346   ac_cv_header_stdc=no
4348 rm -f conftest*
4352 if test $ac_cv_header_stdc = yes; then
4353   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4354   if test "$cross_compiling" = yes; then :
4355   :
4356 else
4357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h.  */
4359 #include <ctype.h>
4360 #include <stdlib.h>
4361 #if ((' ' & 0x0FF) == 0x020)
4362 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4363 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4364 #else
4365 # define ISLOWER(c) \
4366                    (('a' <= (c) && (c) <= 'i') \
4367                      || ('j' <= (c) && (c) <= 'r') \
4368                      || ('s' <= (c) && (c) <= 'z'))
4369 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4370 #endif
4372 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4374 main ()
4376   int i;
4377   for (i = 0; i < 256; i++)
4378     if (XOR (islower (i), ISLOWER (i))
4379         || toupper (i) != TOUPPER (i))
4380       return 2;
4381   return 0;
4383 _ACEOF
4384 if ac_fn_c_try_run "$LINENO"; then :
4385   
4386 else
4387   ac_cv_header_stdc=no
4389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4390   conftest.$ac_objext conftest.beam conftest.$ac_ext
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4396 $as_echo "$ac_cv_header_stdc" >&6; }
4397 if test $ac_cv_header_stdc = yes; then
4398   
4399 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4403 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4405                   inttypes.h stdint.h unistd.h
4406 do :
4407   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4411   cat >>confdefs.h <<_ACEOF
4412 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4413 _ACEOF
4417 done
4420 for ac_header in pty.h
4421 do :
4422   ac_fn_c_check_header_mongrel "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
4423 if test "x$ac_cv_header_pty_h" = x""yes; then :
4424   cat >>confdefs.h <<_ACEOF
4425 @%:@define HAVE_PTY_H 1
4426 _ACEOF
4430 done
4432 for ac_header in string.h
4433 do :
4434   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4435 if test "x$ac_cv_header_string_h" = x""yes; then :
4436   cat >>confdefs.h <<_ACEOF
4437 @%:@define HAVE_STRING_H 1
4438 _ACEOF
4442 done
4444 for ac_header in syslog.h
4445 do :
4446   ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
4447 if test "x$ac_cv_header_syslog_h" = x""yes; then :
4448   cat >>confdefs.h <<_ACEOF
4449 @%:@define HAVE_SYSLOG_H 1
4450 _ACEOF
4454 done
4456 for ac_header in libintl.h
4457 do :
4458   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4459 if test "x$ac_cv_header_libintl_h" = x""yes; then :
4460   cat >>confdefs.h <<_ACEOF
4461 @%:@define HAVE_LIBINTL_H 1
4462 _ACEOF
4466 done
4468 for ac_header in libutil.h
4469 do :
4470   ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
4471 if test "x$ac_cv_header_libutil_h" = x""yes; then :
4472   cat >>confdefs.h <<_ACEOF
4473 @%:@define HAVE_LIBUTIL_H 1
4474 _ACEOF
4478 done
4480 for ac_header in sys/uio.h
4481 do :
4482   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
4483 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
4484   cat >>confdefs.h <<_ACEOF
4485 @%:@define HAVE_SYS_UIO_H 1
4486 _ACEOF
4490 done
4493 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4494 if test "x$ac_cv_type_size_t" = x""yes; then :
4495   
4496 else
4497   
4498 cat >>confdefs.h <<_ACEOF
4499 @%:@define size_t unsigned int
4500 _ACEOF
4504 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4505 if test "x$ac_cv_type_ssize_t" = x""yes; then :
4506   
4507 else
4508   
4509 cat >>confdefs.h <<_ACEOF
4510 @%:@define ssize_t int
4511 _ACEOF
4515 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
4516 if test "x$ac_cv_type_u_int8_t" = x""yes; then :
4517   
4518 else
4519   
4520 cat >>confdefs.h <<_ACEOF
4521 @%:@define u_int8_t unsigned char
4522 _ACEOF
4526 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
4527 if test "x$ac_cv_type_u_int16_t" = x""yes; then :
4528   
4529 else
4530   
4531 cat >>confdefs.h <<_ACEOF
4532 @%:@define u_int16_t unsigned short
4533 _ACEOF
4537 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
4538 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
4539   
4540 else
4541   
4542 cat >>confdefs.h <<_ACEOF
4543 @%:@define u_int32_t unsigned int
4544 _ACEOF
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
4550 $as_echo_n "checking for socklen_t... " >&6; }
4551 if test "${ac_cv_type_socklen_t+set}" = set; then :
4552   $as_echo_n "(cached) " >&6
4553 else
4554   
4555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h.  */
4557 #include <sys/types.h>
4558 #include <sys/socket.h>
4559 #if STDC_HEADERS
4560 #include <stdlib.h>
4561 #include <stddef.h>
4562 #endif
4563 _ACEOF
4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4565   $EGREP "socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
4566   ac_cv_type_socklen_t=yes
4567 else
4568   ac_cv_type_socklen_t=no
4570 rm -f conftest*
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
4575 $as_echo "$ac_cv_type_socklen_t" >&6; }
4576 if test $ac_cv_type_socklen_t = no; then
4577   $as_echo "@%:@define socklen_t int" >>confdefs.h
4582 @%:@ Check whether --with-libwrap was given.
4583 if test "${with_libwrap+set}" = set; then :
4584   withval=$with_libwrap; 
4585  if test "$with_libwrap" = "yes"; then
4586  XYZZY_LIBS="$LIBS"
4587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap alone" >&5
4588 $as_echo_n "checking for libwrap alone... " >&6; }
4589  LIBS="$XYZZY_LIBS -lwrap"
4590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h.  */
4592  int allow_severity, deny_severity; 
4594 main ()
4596  hosts_access(); 
4597   ;
4598   return 0;
4600 _ACEOF
4601 if ac_fn_c_try_link "$LINENO"; then :
4602    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4603 $as_echo "yes" >&6; }
4604                $as_echo "@%:@define HAVE_LIBWRAP 1" >>confdefs.h
4606                LIBWRAP="yes"
4607                XTRALIBS_MGR="-lwrap" 
4608 else
4609    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4611    LIBS="$XYZZY_LIBS -lwrap -lnsl"
4612    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap with libnsl" >&5
4613 $as_echo_n "checking for libwrap with libnsl... " >&6; }
4614    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h.  */
4616  int allow_severity, deny_severity; 
4618 main ()
4620  hosts_access(); 
4621   ;
4622   return 0;
4624 _ACEOF
4625 if ac_fn_c_try_link "$LINENO"; then :
4626    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4627 $as_echo "yes" >&6; }
4628                  $as_echo "@%:@define HAVE_LIBWRAP 1" >>confdefs.h
4630                  LIBWRAP="yes"
4631                  XTRALIBS_MGR="-lwrap -lnsl" 
4632 else
4633    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; } 
4636 rm -f core conftest.err conftest.$ac_objext \
4637     conftest$ac_exeext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext \
4641     conftest$ac_exeext conftest.$ac_ext
4642  LIBS="$XYZZY_LIBS"
4643  fi
4648 XYZZY_LIBS="$LIBS"
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lc" >&5
4650 $as_echo_n "checking for accept in -lc... " >&6; }
4651 if test "${ac_cv_lib_c_accept+set}" = set; then :
4652   $as_echo_n "(cached) " >&6
4653 else
4654   ac_check_lib_save_LIBS=$LIBS
4655 LIBS="-lc  $LIBS"
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h.  */
4659 /* Override any GCC internal prototype to avoid an error.
4660    Use char because int might match the return type of a GCC
4661    builtin and then its argument prototype would still apply.  */
4662 #ifdef __cplusplus
4663 extern "C"
4664 #endif
4665 char accept ();
4667 main ()
4669 return accept ();
4670   ;
4671   return 0;
4673 _ACEOF
4674 if ac_fn_c_try_link "$LINENO"; then :
4675   ac_cv_lib_c_accept=yes
4676 else
4677   ac_cv_lib_c_accept=no
4679 rm -f core conftest.err conftest.$ac_objext \
4680     conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_accept" >&5
4684 $as_echo "$ac_cv_lib_c_accept" >&6; }
4685 if test "x$ac_cv_lib_c_accept" = x""yes; then :
4686   cat >>confdefs.h <<_ACEOF
4687 @%:@define HAVE_LIBC 1
4688 _ACEOF
4690   LIBS="-lc $LIBS"
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lc" >&5
4695 $as_echo_n "checking for gethostbyname in -lc... " >&6; }
4696 if test "${ac_cv_lib_c_gethostbyname+set}" = set; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   ac_check_lib_save_LIBS=$LIBS
4700 LIBS="-lc  $LIBS"
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h.  */
4704 /* Override any GCC internal prototype to avoid an error.
4705    Use char because int might match the return type of a GCC
4706    builtin and then its argument prototype would still apply.  */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char gethostbyname ();
4712 main ()
4714 return gethostbyname ();
4715   ;
4716   return 0;
4718 _ACEOF
4719 if ac_fn_c_try_link "$LINENO"; then :
4720   ac_cv_lib_c_gethostbyname=yes
4721 else
4722   ac_cv_lib_c_gethostbyname=no
4724 rm -f core conftest.err conftest.$ac_objext \
4725     conftest$ac_exeext conftest.$ac_ext
4726 LIBS=$ac_check_lib_save_LIBS
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname" >&5
4729 $as_echo "$ac_cv_lib_c_gethostbyname" >&6; }
4730 if test "x$ac_cv_lib_c_gethostbyname" = x""yes; then :
4731   cat >>confdefs.h <<_ACEOF
4732 @%:@define HAVE_LIBC 1
4733 _ACEOF
4735   LIBS="-lc $LIBS"
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lc" >&5
4740 $as_echo_n "checking for openpty in -lc... " >&6; }
4741 if test "${ac_cv_lib_c_openpty+set}" = set; then :
4742   $as_echo_n "(cached) " >&6
4743 else
4744   ac_check_lib_save_LIBS=$LIBS
4745 LIBS="-lc  $LIBS"
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h.  */
4749 /* Override any GCC internal prototype to avoid an error.
4750    Use char because int might match the return type of a GCC
4751    builtin and then its argument prototype would still apply.  */
4752 #ifdef __cplusplus
4753 extern "C"
4754 #endif
4755 char openpty ();
4757 main ()
4759 return openpty ();
4760   ;
4761   return 0;
4763 _ACEOF
4764 if ac_fn_c_try_link "$LINENO"; then :
4765   ac_cv_lib_c_openpty=yes
4766 else
4767   ac_cv_lib_c_openpty=no
4769 rm -f core conftest.err conftest.$ac_objext \
4770     conftest$ac_exeext conftest.$ac_ext
4771 LIBS=$ac_check_lib_save_LIBS
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_openpty" >&5
4774 $as_echo "$ac_cv_lib_c_openpty" >&6; }
4775 if test "x$ac_cv_lib_c_openpty" = x""yes; then :
4776   cat >>confdefs.h <<_ACEOF
4777 @%:@define HAVE_LIBC 1
4778 _ACEOF
4780   LIBS="-lc $LIBS"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lc" >&5
4785 $as_echo_n "checking for gettext in -lc... " >&6; }
4786 if test "${ac_cv_lib_c_gettext+set}" = set; then :
4787   $as_echo_n "(cached) " >&6
4788 else
4789   ac_check_lib_save_LIBS=$LIBS
4790 LIBS="-lc  $LIBS"
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h.  */
4794 /* Override any GCC internal prototype to avoid an error.
4795    Use char because int might match the return type of a GCC
4796    builtin and then its argument prototype would still apply.  */
4797 #ifdef __cplusplus
4798 extern "C"
4799 #endif
4800 char gettext ();
4802 main ()
4804 return gettext ();
4805   ;
4806   return 0;
4808 _ACEOF
4809 if ac_fn_c_try_link "$LINENO"; then :
4810   ac_cv_lib_c_gettext=yes
4811 else
4812   ac_cv_lib_c_gettext=no
4814 rm -f core conftest.err conftest.$ac_objext \
4815     conftest$ac_exeext conftest.$ac_ext
4816 LIBS=$ac_check_lib_save_LIBS
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettext" >&5
4819 $as_echo "$ac_cv_lib_c_gettext" >&6; }
4820 if test "x$ac_cv_lib_c_gettext" = x""yes; then :
4821   cat >>confdefs.h <<_ACEOF
4822 @%:@define HAVE_LIBC 1
4823 _ACEOF
4825   LIBS="-lc $LIBS"
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lsocket" >&5
4830 $as_echo_n "checking for accept in -lsocket... " >&6; }
4831 if test "${ac_cv_lib_socket_accept+set}" = set; then :
4832   $as_echo_n "(cached) " >&6
4833 else
4834   ac_check_lib_save_LIBS=$LIBS
4835 LIBS="-lsocket  $LIBS"
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h.  */
4839 /* Override any GCC internal prototype to avoid an error.
4840    Use char because int might match the return type of a GCC
4841    builtin and then its argument prototype would still apply.  */
4842 #ifdef __cplusplus
4843 extern "C"
4844 #endif
4845 char accept ();
4847 main ()
4849 return accept ();
4850   ;
4851   return 0;
4853 _ACEOF
4854 if ac_fn_c_try_link "$LINENO"; then :
4855   ac_cv_lib_socket_accept=yes
4856 else
4857   ac_cv_lib_socket_accept=no
4859 rm -f core conftest.err conftest.$ac_objext \
4860     conftest$ac_exeext conftest.$ac_ext
4861 LIBS=$ac_check_lib_save_LIBS
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_accept" >&5
4864 $as_echo "$ac_cv_lib_socket_accept" >&6; }
4865 if test "x$ac_cv_lib_socket_accept" = x""yes; then :
4866   cat >>confdefs.h <<_ACEOF
4867 @%:@define HAVE_LIBSOCKET 1
4868 _ACEOF
4870   LIBS="-lsocket $LIBS"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4875 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4876 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
4877   $as_echo_n "(cached) " >&6
4878 else
4879   ac_check_lib_save_LIBS=$LIBS
4880 LIBS="-lnsl  $LIBS"
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h.  */
4884 /* Override any GCC internal prototype to avoid an error.
4885    Use char because int might match the return type of a GCC
4886    builtin and then its argument prototype would still apply.  */
4887 #ifdef __cplusplus
4888 extern "C"
4889 #endif
4890 char gethostbyname ();
4892 main ()
4894 return gethostbyname ();
4895   ;
4896   return 0;
4898 _ACEOF
4899 if ac_fn_c_try_link "$LINENO"; then :
4900   ac_cv_lib_nsl_gethostbyname=yes
4901 else
4902   ac_cv_lib_nsl_gethostbyname=no
4904 rm -f core conftest.err conftest.$ac_objext \
4905     conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4909 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4910 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
4911   cat >>confdefs.h <<_ACEOF
4912 @%:@define HAVE_LIBNSL 1
4913 _ACEOF
4915   LIBS="-lnsl $LIBS"
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
4920 $as_echo_n "checking for openpty in -lutil... " >&6; }
4921 if test "${ac_cv_lib_util_openpty+set}" = set; then :
4922   $as_echo_n "(cached) " >&6
4923 else
4924   ac_check_lib_save_LIBS=$LIBS
4925 LIBS="-lutil  $LIBS"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h.  */
4929 /* Override any GCC internal prototype to avoid an error.
4930    Use char because int might match the return type of a GCC
4931    builtin and then its argument prototype would still apply.  */
4932 #ifdef __cplusplus
4933 extern "C"
4934 #endif
4935 char openpty ();
4937 main ()
4939 return openpty ();
4940   ;
4941   return 0;
4943 _ACEOF
4944 if ac_fn_c_try_link "$LINENO"; then :
4945   ac_cv_lib_util_openpty=yes
4946 else
4947   ac_cv_lib_util_openpty=no
4949 rm -f core conftest.err conftest.$ac_objext \
4950     conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
4954 $as_echo "$ac_cv_lib_util_openpty" >&6; }
4955 if test "x$ac_cv_lib_util_openpty" = x""yes; then :
4956   cat >>confdefs.h <<_ACEOF
4957 @%:@define HAVE_LIBUTIL 1
4958 _ACEOF
4960   LIBS="-lutil $LIBS"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
4965 $as_echo_n "checking for gettext in -lintl... " >&6; }
4966 if test "${ac_cv_lib_intl_gettext+set}" = set; then :
4967   $as_echo_n "(cached) " >&6
4968 else
4969   ac_check_lib_save_LIBS=$LIBS
4970 LIBS="-lintl  $LIBS"
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h.  */
4974 /* Override any GCC internal prototype to avoid an error.
4975    Use char because int might match the return type of a GCC
4976    builtin and then its argument prototype would still apply.  */
4977 #ifdef __cplusplus
4978 extern "C"
4979 #endif
4980 char gettext ();
4982 main ()
4984 return gettext ();
4985   ;
4986   return 0;
4988 _ACEOF
4989 if ac_fn_c_try_link "$LINENO"; then :
4990   ac_cv_lib_intl_gettext=yes
4991 else
4992   ac_cv_lib_intl_gettext=no
4994 rm -f core conftest.err conftest.$ac_objext \
4995     conftest$ac_exeext conftest.$ac_ext
4996 LIBS=$ac_check_lib_save_LIBS
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
4999 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5000 if test "x$ac_cv_lib_intl_gettext" = x""yes; then :
5001   cat >>confdefs.h <<_ACEOF
5002 @%:@define HAVE_LIBINTL 1
5003 _ACEOF
5005   LIBS="-lintl $LIBS"
5009 LIBS="$XYZZY_LIBS"
5010 if test "$ac_cv_lib_c_accept" = no; then
5011   if test "$ac_cv_lib_socket_accept" = yes; then
5012         LIBS="$LIBS -lsocket"
5013   else
5014         echo "Couldn't find a usable accept!" 1>&2
5015         exit 1
5016   fi
5018 if test "$ac_cv_lib_c_gethostbyname" = no; then
5019   if test "$ac_cv_lib_nsl_gethostbyname" = yes; then
5020         LIBS="$LIBS -lnsl"
5021         if test "$XTRALIBS_MGR" = "-lwrap -lnsl"; then
5022           XTRALIBS_MGR="-lwrap"
5023         fi
5024   else
5025         echo "Couldn't find a usable gethostbyname!" 1>&2
5026         exit 1
5027   fi
5029 if test "$ac_cv_lib_c_openpty" = yes; then
5030   $as_echo "@%:@define HAVE_OPENPTY 1" >>confdefs.h
5032 else
5033   if test "$ac_cv_lib_util_openpty" = yes; then
5034     $as_echo "@%:@define HAVE_OPENPTY 1" >>confdefs.h
5036     XTRALIBS_CTRL="-lutil"
5037   fi
5039 if test "$ac_cv_header_libintl_h" = yes; then
5040   if test "$ac_cv_lib_c_gettext" = no; then
5041     if test "$ac_cv_lib_intl_gettext" = yes; then
5042       XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
5043     else
5044       echo "Have libintl.h but no usable gettext!" 1>&2
5045       exit 1
5046     fi
5047   fi
5054 if test "$BCRELAY" = "yes"; then
5055   if test "$BCRELAY" = "yes"; then
5056     XTRA_PROG="bcrelay"
5057     true
5058   else
5059     echo "No BCrelay selected." 1>&2
5060   fi
5065 echo '==============================================================================='
5067 echo 'Configuration chosen:'
5069 echo -n '   PPPd:               '
5070 if test "$BSDUSER_PPP" = "yes"; then
5071   echo 'BSD user-space PPPd.'
5072 else
5073   if test "$SLIRP" = "yes"; then
5074     echo 'SLIRP.'
5075   else
5076     echo 'Standard.'
5077   fi
5080 echo -n '   LIBWRAP security:   '
5081 if test "$LIBWRAP" = "yes"; then
5082   echo 'Yes.'
5083 else
5084   echo 'No.'
5087 echo -n '   Broadcast Relay:    '
5088 if test "$BCRELAY" = "yes"; then
5089   echo 'Yes.'
5090 else
5091   echo 'No.'
5094 cat >confcache <<\_ACEOF
5095 # This file is a shell script that caches the results of configure
5096 # tests run on this system so they can be shared between configure
5097 # scripts and configure runs, see configure's option --config-cache.
5098 # It is not useful on other systems.  If it contains results you don't
5099 # want to keep, you may remove or edit it.
5101 # config.status only pays attention to the cache file if you give it
5102 # the --recheck option to rerun configure.
5104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5106 # following values.
5108 _ACEOF
5110 # The following way of writing the cache mishandles newlines in values,
5111 # but we know of no workaround that is simple, portable, and efficient.
5112 # So, we kill variables containing newlines.
5113 # Ultrix sh set writes to stderr and can't be redirected directly,
5114 # and sets the high bit in the cache file unless we assign to the vars.
5116   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5117     eval ac_val=\$$ac_var
5118     case $ac_val in #(
5119     *${as_nl}*)
5120       case $ac_var in #(
5121       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5123       esac
5124       case $ac_var in #(
5125       _ | IFS | as_nl) ;; #(
5126       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5127       *) { eval $ac_var=; unset $ac_var;} ;;
5128       esac ;;
5129     esac
5130   done
5132   (set) 2>&1 |
5133     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5134     *${as_nl}ac_space=\ *)
5135       # `set' does not quote correctly, so add quotes: double-quote
5136       # substitution turns \\\\ into \\, and sed turns \\ into \.
5137       sed -n \
5138         "s/'/'\\\\''/g;
5139           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5140       ;; #(
5141     *)
5142       # `set' quotes correctly as required by POSIX, so do not add quotes.
5143       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5144       ;;
5145     esac |
5146     sort
5147 ) |
5148   sed '
5149      /^ac_cv_env_/b end
5150      t clear
5151      :clear
5152      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5153      t end
5154      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5155      :end' >>confcache
5156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5157   if test -w "$cache_file"; then
5158     test "x$cache_file" != "x/dev/null" &&
5159       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5160 $as_echo "$as_me: updating cache $cache_file" >&6;}
5161     cat confcache >$cache_file
5162   else
5163     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5165   fi
5167 rm -f confcache
5168 ac_config_files="$ac_config_files Makefile"
5170 cat >confcache <<\_ACEOF
5171 # This file is a shell script that caches the results of configure
5172 # tests run on this system so they can be shared between configure
5173 # scripts and configure runs, see configure's option --config-cache.
5174 # It is not useful on other systems.  If it contains results you don't
5175 # want to keep, you may remove or edit it.
5177 # config.status only pays attention to the cache file if you give it
5178 # the --recheck option to rerun configure.
5180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5182 # following values.
5184 _ACEOF
5186 # The following way of writing the cache mishandles newlines in values,
5187 # but we know of no workaround that is simple, portable, and efficient.
5188 # So, we kill variables containing newlines.
5189 # Ultrix sh set writes to stderr and can't be redirected directly,
5190 # and sets the high bit in the cache file unless we assign to the vars.
5192   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5193     eval ac_val=\$$ac_var
5194     case $ac_val in #(
5195     *${as_nl}*)
5196       case $ac_var in #(
5197       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5198 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5199       esac
5200       case $ac_var in #(
5201       _ | IFS | as_nl) ;; #(
5202       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5203       *) { eval $ac_var=; unset $ac_var;} ;;
5204       esac ;;
5205     esac
5206   done
5208   (set) 2>&1 |
5209     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5210     *${as_nl}ac_space=\ *)
5211       # `set' does not quote correctly, so add quotes: double-quote
5212       # substitution turns \\\\ into \\, and sed turns \\ into \.
5213       sed -n \
5214         "s/'/'\\\\''/g;
5215           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5216       ;; #(
5217     *)
5218       # `set' quotes correctly as required by POSIX, so do not add quotes.
5219       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5220       ;;
5221     esac |
5222     sort
5223 ) |
5224   sed '
5225      /^ac_cv_env_/b end
5226      t clear
5227      :clear
5228      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5229      t end
5230      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5231      :end' >>confcache
5232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5233   if test -w "$cache_file"; then
5234     test "x$cache_file" != "x/dev/null" &&
5235       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5236 $as_echo "$as_me: updating cache $cache_file" >&6;}
5237     cat confcache >$cache_file
5238   else
5239     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5240 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5241   fi
5243 rm -f confcache
5245 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5246 # Let make expand exec_prefix.
5247 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5249 DEFS=-DHAVE_CONFIG_H
5251 ac_libobjs=
5252 ac_ltlibobjs=
5254 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5255   # 1. Remove the extension, and $U if already installed.
5256   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5257   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5258   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5259   #    will be set to the directory where LIBOBJS objects are built.
5260   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5261   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5262 done
5263 LIB@&t@OBJS=$ac_libobjs
5265 LTLIBOBJS=$ac_ltlibobjs
5268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5269   as_fn_error $? "conditional \"AMDEP\" was never defined.
5270 Usually this means the macro was only invoked conditionally." "$LINENO" 5 
5272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5273   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5274 Usually this means the macro was only invoked conditionally." "$LINENO" 5 
5277 : ${CONFIG_STATUS=./config.status}
5278 ac_write_fail=0
5279 ac_clean_files_save=$ac_clean_files
5280 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5282 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5283 as_write_fail=0
5284 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5285 #! $SHELL
5286 # Generated by $as_me.
5287 # Run this file to recreate the current configuration.
5288 # Compiler output produced by configure, useful for debugging
5289 # configure, is in config.log if it exists.
5291 debug=false
5292 ac_cs_recheck=false
5293 ac_cs_silent=false
5295 SHELL=\${CONFIG_SHELL-$SHELL}
5296 export SHELL
5297 _ASEOF
5298 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5299 ## -------------------- ##
5300 ## M4sh Initialization. ##
5301 ## -------------------- ##
5303 # Be more Bourne compatible
5304 DUALCASE=1; export DUALCASE # for MKS sh
5305 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5306   emulate sh
5307   NULLCMD=:
5308   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5309   # is contrary to our usage.  Disable this feature.
5310   alias -g '${1+"$@"}'='"$@"'
5311   setopt NO_GLOB_SUBST
5312 else
5313   case `(set -o) 2>/dev/null` in @%:@(
5314   *posix*) :
5315     set -o posix ;; @%:@(
5316   *) :
5317      ;;
5318 esac
5322 as_nl='
5324 export as_nl
5325 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5326 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5329 # Prefer a ksh shell builtin over an external printf program on Solaris,
5330 # but without wasting forks for bash or zsh.
5331 if test -z "$BASH_VERSION$ZSH_VERSION" \
5332     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5333   as_echo='print -r --'
5334   as_echo_n='print -rn --'
5335 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5336   as_echo='printf %s\n'
5337   as_echo_n='printf %s'
5338 else
5339   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5340     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5341     as_echo_n='/usr/ucb/echo -n'
5342   else
5343     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5344     as_echo_n_body='eval
5345       arg=$1;
5346       case $arg in @%:@(
5347       *"$as_nl"*)
5348         expr "X$arg" : "X\\(.*\\)$as_nl";
5349         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5350       esac;
5351       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5352     '
5353     export as_echo_n_body
5354     as_echo_n='sh -c $as_echo_n_body as_echo'
5355   fi
5356   export as_echo_body
5357   as_echo='sh -c $as_echo_body as_echo'
5360 # The user is always right.
5361 if test "${PATH_SEPARATOR+set}" != set; then
5362   PATH_SEPARATOR=:
5363   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5364     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5365       PATH_SEPARATOR=';'
5366   }
5370 # IFS
5371 # We need space, tab and new line, in precisely that order.  Quoting is
5372 # there to prevent editors from complaining about space-tab.
5373 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5374 # splitting by setting IFS to empty value.)
5375 IFS=" ""        $as_nl"
5377 # Find who we are.  Look in the path if we contain no directory separator.
5378 case $0 in @%:@((
5379   *[\\/]* ) as_myself=$0 ;;
5380   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH
5383   IFS=$as_save_IFS
5384   test -z "$as_dir" && as_dir=.
5385     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5386   done
5387 IFS=$as_save_IFS
5389      ;;
5390 esac
5391 # We did not find ourselves, most probably we were run as `sh COMMAND'
5392 # in which case we are not to be found in the path.
5393 if test "x$as_myself" = x; then
5394   as_myself=$0
5396 if test ! -f "$as_myself"; then
5397   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5398   exit 1
5401 # Unset variables that we do not need and which cause bugs (e.g. in
5402 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5403 # suppresses any "Segmentation fault" message there.  '((' could
5404 # trigger a bug in pdksh 5.2.14.
5405 for as_var in BASH_ENV ENV MAIL MAILPATH
5406 do eval test x\${$as_var+set} = xset \
5407   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5408 done
5409 PS1='$ '
5410 PS2='> '
5411 PS4='+ '
5413 # NLS nuisances.
5414 LC_ALL=C
5415 export LC_ALL
5416 LANGUAGE=C
5417 export LANGUAGE
5419 # CDPATH.
5420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5423 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
5424 @%:@ ----------------------------------------
5425 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5426 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5427 @%:@ script with STATUS, using 1 if that was 0.
5428 as_fn_error ()
5430   as_status=$1; test $as_status -eq 0 && as_status=1
5431   if test "$4"; then
5432     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5433     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5434   fi
5435   $as_echo "$as_me: error: $2" >&2
5436   as_fn_exit $as_status
5437 } @%:@ as_fn_error
5440 @%:@ as_fn_set_status STATUS
5441 @%:@ -----------------------
5442 @%:@ Set @S|@? to STATUS, without forking.
5443 as_fn_set_status ()
5445   return $1
5446 } @%:@ as_fn_set_status
5448 @%:@ as_fn_exit STATUS
5449 @%:@ -----------------
5450 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5451 as_fn_exit ()
5453   set +e
5454   as_fn_set_status $1
5455   exit $1
5456 } @%:@ as_fn_exit
5458 @%:@ as_fn_unset VAR
5459 @%:@ ---------------
5460 @%:@ Portably unset VAR.
5461 as_fn_unset ()
5463   { eval $1=; unset $1;}
5465 as_unset=as_fn_unset
5466 @%:@ as_fn_append VAR VALUE
5467 @%:@ ----------------------
5468 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5469 @%:@ advantage of any shell optimizations that allow amortized linear growth over
5470 @%:@ repeated appends, instead of the typical quadratic growth present in naive
5471 @%:@ implementations.
5472 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5473   eval 'as_fn_append ()
5474   {
5475     eval $1+=\$2
5476   }'
5477 else
5478   as_fn_append ()
5479   {
5480     eval $1=\$$1\$2
5481   }
5482 fi # as_fn_append
5484 @%:@ as_fn_arith ARG...
5485 @%:@ ------------------
5486 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5487 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5488 @%:@ must be portable across @S|@(()) and expr.
5489 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5490   eval 'as_fn_arith ()
5491   {
5492     as_val=$(( $* ))
5493   }'
5494 else
5495   as_fn_arith ()
5496   {
5497     as_val=`expr "$@" || test $? -eq 1`
5498   }
5499 fi # as_fn_arith
5502 if expr a : '\(a\)' >/dev/null 2>&1 &&
5503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5504   as_expr=expr
5505 else
5506   as_expr=false
5509 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5510   as_basename=basename
5511 else
5512   as_basename=false
5515 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5516   as_dirname=dirname
5517 else
5518   as_dirname=false
5521 as_me=`$as_basename -- "$0" ||
5522 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5523          X"$0" : 'X\(//\)$' \| \
5524          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5525 $as_echo X/"$0" |
5526     sed '/^.*\/\([^/][^/]*\)\/*$/{
5527             s//\1/
5528             q
5529           }
5530           /^X\/\(\/\/\)$/{
5531             s//\1/
5532             q
5533           }
5534           /^X\/\(\/\).*/{
5535             s//\1/
5536             q
5537           }
5538           s/.*/./; q'`
5540 # Avoid depending upon Character Ranges.
5541 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5542 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5543 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5544 as_cr_digits='0123456789'
5545 as_cr_alnum=$as_cr_Letters$as_cr_digits
5547 ECHO_C= ECHO_N= ECHO_T=
5548 case `echo -n x` in @%:@(((((
5549 -n*)
5550   case `echo 'xy\c'` in
5551   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5552   xy)  ECHO_C='\c';;
5553   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5554        ECHO_T=' ';;
5555   esac;;
5557   ECHO_N='-n';;
5558 esac
5560 rm -f conf$$ conf$$.exe conf$$.file
5561 if test -d conf$$.dir; then
5562   rm -f conf$$.dir/conf$$.file
5563 else
5564   rm -f conf$$.dir
5565   mkdir conf$$.dir 2>/dev/null
5567 if (echo >conf$$.file) 2>/dev/null; then
5568   if ln -s conf$$.file conf$$ 2>/dev/null; then
5569     as_ln_s='ln -s'
5570     # ... but there are two gotchas:
5571     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5572     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5573     # In both cases, we have to default to `cp -p'.
5574     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5575       as_ln_s='cp -p'
5576   elif ln conf$$.file conf$$ 2>/dev/null; then
5577     as_ln_s=ln
5578   else
5579     as_ln_s='cp -p'
5580   fi
5581 else
5582   as_ln_s='cp -p'
5584 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5585 rmdir conf$$.dir 2>/dev/null
5588 @%:@ as_fn_mkdir_p
5589 @%:@ -------------
5590 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5591 as_fn_mkdir_p ()
5594   case $as_dir in #(
5595   -*) as_dir=./$as_dir;;
5596   esac
5597   test -d "$as_dir" || eval $as_mkdir_p || {
5598     as_dirs=
5599     while :; do
5600       case $as_dir in #(
5601       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5602       *) as_qdir=$as_dir;;
5603       esac
5604       as_dirs="'$as_qdir' $as_dirs"
5605       as_dir=`$as_dirname -- "$as_dir" ||
5606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5607          X"$as_dir" : 'X\(//\)[^/]' \| \
5608          X"$as_dir" : 'X\(//\)$' \| \
5609          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5610 $as_echo X"$as_dir" |
5611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5612             s//\1/
5613             q
5614           }
5615           /^X\(\/\/\)[^/].*/{
5616             s//\1/
5617             q
5618           }
5619           /^X\(\/\/\)$/{
5620             s//\1/
5621             q
5622           }
5623           /^X\(\/\).*/{
5624             s//\1/
5625             q
5626           }
5627           s/.*/./; q'`
5628       test -d "$as_dir" && break
5629     done
5630     test -z "$as_dirs" || eval "mkdir $as_dirs"
5631   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5634 } @%:@ as_fn_mkdir_p
5635 if mkdir -p . 2>/dev/null; then
5636   as_mkdir_p='mkdir -p "$as_dir"'
5637 else
5638   test -d ./-p && rmdir ./-p
5639   as_mkdir_p=false
5642 if test -x / >/dev/null 2>&1; then
5643   as_test_x='test -x'
5644 else
5645   if ls -dL / >/dev/null 2>&1; then
5646     as_ls_L_option=L
5647   else
5648     as_ls_L_option=
5649   fi
5650   as_test_x='
5651     eval sh -c '\''
5652       if test -d "$1"; then
5653         test -d "$1/.";
5654       else
5655         case $1 in @%:@(
5656         -*)set "./$1";;
5657         esac;
5658         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5659         ???[sx]*):;;*)false;;esac;fi
5660     '\'' sh
5661   '
5663 as_executable_p=$as_test_x
5665 # Sed expression to map a string onto a valid CPP name.
5666 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5668 # Sed expression to map a string onto a valid variable name.
5669 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5672 exec 6>&1
5673 ## ----------------------------------- ##
5674 ## Main body of $CONFIG_STATUS script. ##
5675 ## ----------------------------------- ##
5676 _ASEOF
5677 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5680 # Save the log message, to keep $0 and so on meaningful, and to
5681 # report actual input values of CONFIG_FILES etc. instead of their
5682 # values after options handling.
5683 ac_log="
5684 This file was extended by $as_me, which was
5685 generated by GNU Autoconf 2.67.  Invocation command line was
5687   CONFIG_FILES    = $CONFIG_FILES
5688   CONFIG_HEADERS  = $CONFIG_HEADERS
5689   CONFIG_LINKS    = $CONFIG_LINKS
5690   CONFIG_COMMANDS = $CONFIG_COMMANDS
5691   $ $0 $@
5693 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5696 _ACEOF
5698 case $ac_config_files in *"
5699 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5700 esac
5702 case $ac_config_headers in *"
5703 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5704 esac
5707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708 # Files that config.status was made for.
5709 config_files="$ac_config_files"
5710 config_headers="$ac_config_headers"
5711 config_commands="$ac_config_commands"
5713 _ACEOF
5715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5716 ac_cs_usage="\
5717 \`$as_me' instantiates files and other configuration actions
5718 from templates according to the current configuration.  Unless the files
5719 and actions are specified as TAGs, all are instantiated by default.
5721 Usage: $0 [OPTION]... [TAG]...
5723   -h, --help       print this help, then exit
5724   -V, --version    print version number and configuration settings, then exit
5725       --config     print configuration, then exit
5726   -q, --quiet, --silent
5727                    do not print progress messages
5728   -d, --debug      don't remove temporary files
5729       --recheck    update $as_me by reconfiguring in the same conditions
5730       --file=FILE[:TEMPLATE] 
5731                    instantiate the configuration file FILE
5732       --header=FILE[:TEMPLATE] 
5733                    instantiate the configuration header FILE
5735 Configuration files:
5736 $config_files
5738 Configuration headers:
5739 $config_headers
5741 Configuration commands:
5742 $config_commands
5744 Report bugs to the package provider."
5746 _ACEOF
5747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5748 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5749 ac_cs_version="\\
5750 config.status
5751 configured by $0, generated by GNU Autoconf 2.67,
5752   with options \\"\$ac_cs_config\\"
5754 Copyright (C) 2010 Free Software Foundation, Inc.
5755 This config.status script is free software; the Free Software Foundation
5756 gives unlimited permission to copy, distribute and modify it."
5758 ac_pwd='$ac_pwd'
5759 srcdir='$srcdir'
5760 INSTALL='$INSTALL'
5761 AWK='$AWK'
5762 test -n "\$AWK" || AWK=awk
5763 _ACEOF
5765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5766 # The default lists apply if the user does not specify any file.
5767 ac_need_defaults=:
5768 while test $# != 0
5770   case $1 in
5771   --*=?*)
5772     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5773     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5774     ac_shift=:
5775     ;;
5776   --*=)
5777     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5778     ac_optarg=
5779     ac_shift=:
5780     ;;
5781   *)
5782     ac_option=$1
5783     ac_optarg=$2
5784     ac_shift=shift
5785     ;;
5786   esac
5788   case $ac_option in
5789   # Handling of the options.
5790   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5791     ac_cs_recheck=: ;;
5792   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5793     $as_echo "$ac_cs_version"; exit ;;
5794   --config | --confi | --conf | --con | --co | --c )
5795     $as_echo "$ac_cs_config"; exit ;;
5796   --debug | --debu | --deb | --de | --d | -d )
5797     debug=: ;;
5798   --file | --fil | --fi | --f )
5799     $ac_shift
5800     case $ac_optarg in
5801     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5802     '') as_fn_error $? "missing file argument" ;;
5803     esac
5804     as_fn_append CONFIG_FILES " '$ac_optarg'"
5805     ac_need_defaults=false;;
5806   --header | --heade | --head | --hea )
5807     $ac_shift
5808     case $ac_optarg in
5809     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5810     esac
5811     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5812     ac_need_defaults=false;;
5813   --he | --h)
5814     # Conflict between --help and --header
5815     as_fn_error $? "ambiguous option: \`$1'
5816 Try \`$0 --help' for more information.";;
5817   --help | --hel | -h )
5818     $as_echo "$ac_cs_usage"; exit ;;
5819   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5820   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5821     ac_cs_silent=: ;;
5823   # This is an error.
5824   -*) as_fn_error $? "unrecognized option: \`$1'
5825 Try \`$0 --help' for more information." ;;
5827   *) as_fn_append ac_config_targets " $1"
5828      ac_need_defaults=false ;;
5830   esac
5831   shift
5832 done
5834 ac_configure_extra_args=
5836 if $ac_cs_silent; then
5837   exec 6>/dev/null
5838   ac_configure_extra_args="$ac_configure_extra_args --silent"
5841 _ACEOF
5842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5843 if \$ac_cs_recheck; then
5844   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5845   shift
5846   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5847   CONFIG_SHELL='$SHELL'
5848   export CONFIG_SHELL
5849   exec "\$@"
5852 _ACEOF
5853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5854 exec 5>>config.log
5856   echo
5857   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5858 @%:@@%:@ Running $as_me. @%:@@%:@
5859 _ASBOX
5860   $as_echo "$ac_log"
5861 } >&5
5863 _ACEOF
5864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5866 # INIT-COMMANDS
5868 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5870 _ACEOF
5872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5874 # Handling of arguments.
5875 for ac_config_target in $ac_config_targets
5877   case $ac_config_target in
5878     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5879     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5880     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5882   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5883   esac
5884 done
5887 # If the user did not use the arguments to specify the items to instantiate,
5888 # then the envvar interface is used.  Set only those that are not.
5889 # We use the long form for the default assignment because of an extremely
5890 # bizarre bug on SunOS 4.1.3.
5891 if $ac_need_defaults; then
5892   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5893   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5894   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5897 # Have a temporary directory for convenience.  Make it in the build tree
5898 # simply because there is no reason against having it here, and in addition,
5899 # creating and moving files from /tmp can sometimes cause problems.
5900 # Hook for its removal unless debugging.
5901 # Note that there is a small window in which the directory will not be cleaned:
5902 # after its creation but before its name has been assigned to `$tmp'.
5903 $debug ||
5905   tmp=
5906   trap 'exit_status=$?
5907   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5908 ' 0
5909   trap 'as_fn_exit 1' 1 2 13 15
5911 # Create a (secure) tmp directory for tmp files.
5914   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5915   test -n "$tmp" && test -d "$tmp"
5916 }  ||
5918   tmp=./conf$$-$RANDOM
5919   (umask 077 && mkdir "$tmp")
5920 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
5922 # Set up the scripts for CONFIG_FILES section.
5923 # No need to generate them if there are no CONFIG_FILES.
5924 # This happens for instance with `./config.status config.h'.
5925 if test -n "$CONFIG_FILES"; then
5928 ac_cr=`echo X | tr X '\015'`
5929 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5930 # But we know of no other shell where ac_cr would be empty at this
5931 # point, so we can use a bashism as a fallback.
5932 if test "x$ac_cr" = x; then
5933   eval ac_cr=\$\'\\r\'
5935 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5936 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5937   ac_cs_awk_cr='\\r'
5938 else
5939   ac_cs_awk_cr=$ac_cr
5942 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5943 _ACEOF
5947   echo "cat >conf$$subs.awk <<_ACEOF" &&
5948   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5949   echo "_ACEOF"
5950 } >conf$$subs.sh ||
5951   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
5952 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5953 ac_delim='%!_!# '
5954 for ac_last_try in false false false false false :; do
5955   . ./conf$$subs.sh ||
5956     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
5958   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5959   if test $ac_delim_n = $ac_delim_num; then
5960     break
5961   elif $ac_last_try; then
5962     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
5963   else
5964     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5965   fi
5966 done
5967 rm -f conf$$subs.sh
5969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5970 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5971 _ACEOF
5972 sed -n '
5974 s/^/S["/; s/!.*/"]=/
5977 s/^[^!]*!//
5978 :repl
5979 t repl
5980 s/'"$ac_delim"'$//
5981 t delim
5984 s/\(.\{148\}\)..*/\1/
5985 t more1
5986 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5989 b repl
5990 :more1
5991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5994 s/.\{148\}//
5995 t nl
5996 :delim
5998 s/\(.\{148\}\)..*/\1/
5999 t more2
6000 s/["\\]/\\&/g; s/^/"/; s/$/"/
6003 :more2
6004 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6007 s/.\{148\}//
6008 t delim
6009 ' <conf$$subs.awk | sed '
6010 /^[^""]/{
6011   N
6012   s/\n//
6014 ' >>$CONFIG_STATUS || ac_write_fail=1
6015 rm -f conf$$subs.awk
6016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6017 _ACAWK
6018 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6019   for (key in S) S_is_set[key] = 1
6020   FS = "\a"
6024   line = $ 0
6025   nfields = split(line, field, "@")
6026   substed = 0
6027   len = length(field[1])
6028   for (i = 2; i < nfields; i++) {
6029     key = field[i]
6030     keylen = length(key)
6031     if (S_is_set[key]) {
6032       value = S[key]
6033       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6034       len += length(value) + length(field[++i])
6035       substed = 1
6036     } else
6037       len += 1 + keylen
6038   }
6040   print line
6043 _ACAWK
6044 _ACEOF
6045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6046 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6047   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6048 else
6049   cat
6050 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6051   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
6052 _ACEOF
6054 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6055 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6056 # trailing colons and then remove the whole line if VPATH becomes empty
6057 # (actually we leave an empty line to preserve line numbers).
6058 if test "x$srcdir" = x.; then
6059   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6061 s///
6062 s/^/:/
6063 s/[      ]*$/:/
6064 s/:\$(srcdir):/:/g
6065 s/:\${srcdir}:/:/g
6066 s/:@srcdir@:/:/g
6067 s/^:*//
6068 s/:*$//
6070 s/\(=[   ]*\).*/\1/
6072 s/\n//
6073 s/^[^=]*=[       ]*$//
6077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6078 fi # test -n "$CONFIG_FILES"
6080 # Set up the scripts for CONFIG_HEADERS section.
6081 # No need to generate them if there are no CONFIG_HEADERS.
6082 # This happens for instance with `./config.status Makefile'.
6083 if test -n "$CONFIG_HEADERS"; then
6084 cat >"$tmp/defines.awk" <<\_ACAWK ||
6085 BEGIN {
6086 _ACEOF
6088 # Transform confdefs.h into an awk script `defines.awk', embedded as
6089 # here-document in config.status, that substitutes the proper values into
6090 # config.h.in to produce config.h.
6092 # Create a delimiter string that does not exist in confdefs.h, to ease
6093 # handling of long lines.
6094 ac_delim='%!_!# '
6095 for ac_last_try in false false :; do
6096   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6097   if test -z "$ac_t"; then
6098     break
6099   elif $ac_last_try; then
6100     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
6101   else
6102     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6103   fi
6104 done
6106 # For the awk script, D is an array of macro values keyed by name,
6107 # likewise P contains macro parameters if any.  Preserve backslash
6108 # newline sequences.
6110 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6111 sed -n '
6112 s/.\{148\}/&'"$ac_delim"'/g
6113 t rset
6114 :rset
6115 s/^[     ]*#[    ]*define[       ][      ]*/ /
6116 t def
6118 :def
6119 s/\\$//
6120 t bsnl
6121 s/["\\]/\\&/g
6122 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6123 D["\1"]=" \3"/p
6124 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6126 :bsnl
6127 s/["\\]/\\&/g
6128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6129 D["\1"]=" \3\\\\\\n"\\/p
6130 t cont
6131 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6132 t cont
6134 :cont
6136 s/.\{148\}/&'"$ac_delim"'/g
6137 t clear
6138 :clear
6139 s/\\$//
6140 t bsnlc
6141 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6143 :bsnlc
6144 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6145 b cont
6146 ' <confdefs.h | sed '
6147 s/'"$ac_delim"'/"\\\
6148 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6151   for (key in D) D_is_set[key] = 1
6152   FS = "\a"
6154 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6155   line = \$ 0
6156   split(line, arg, " ")
6157   if (arg[1] == "#") {
6158     defundef = arg[2]
6159     mac1 = arg[3]
6160   } else {
6161     defundef = substr(arg[1], 2)
6162     mac1 = arg[2]
6163   }
6164   split(mac1, mac2, "(") #)
6165   macro = mac2[1]
6166   prefix = substr(line, 1, index(line, defundef) - 1)
6167   if (D_is_set[macro]) {
6168     # Preserve the white space surrounding the "#".
6169     print prefix "define", macro P[macro] D[macro]
6170     next
6171   } else {
6172     # Replace #undef with comments.  This is necessary, for example,
6173     # in the case of _POSIX_SOURCE, which is predefined and required
6174     # on some systems where configure will not decide to define it.
6175     if (defundef == "undef") {
6176       print "/*", prefix defundef, macro, "*/"
6177       next
6178     }
6179   }
6181 { print }
6182 _ACAWK
6183 _ACEOF
6184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6185   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
6186 fi # test -n "$CONFIG_HEADERS"
6189 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6190 shift
6191 for ac_tag
6193   case $ac_tag in
6194   :[FHLC]) ac_mode=$ac_tag; continue;;
6195   esac
6196   case $ac_mode$ac_tag in
6197   :[FHL]*:*);;
6198   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6199   :[FH]-) ac_tag=-:-;;
6200   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6201   esac
6202   ac_save_IFS=$IFS
6203   IFS=:
6204   set x $ac_tag
6205   IFS=$ac_save_IFS
6206   shift
6207   ac_file=$1
6208   shift
6210   case $ac_mode in
6211   :L) ac_source=$1;;
6212   :[FH])
6213     ac_file_inputs=
6214     for ac_f
6215     do
6216       case $ac_f in
6217       -) ac_f="$tmp/stdin";;
6218       *) # Look for the file first in the build tree, then in the source tree
6219          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6220          # because $ac_f cannot contain `:'.
6221          test -f "$ac_f" ||
6222            case $ac_f in
6223            [\\/$]*) false;;
6224            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6225            esac ||
6226            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6227       esac
6228       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6229       as_fn_append ac_file_inputs " '$ac_f'"
6230     done
6232     # Let's still pretend it is `configure' which instantiates (i.e., don't
6233     # use $as_me), people would be surprised to read:
6234     #    /* config.h.  Generated by config.status.  */
6235     configure_input='Generated from '`
6236           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6237         `' by configure.'
6238     if test x"$ac_file" != x-; then
6239       configure_input="$ac_file.  $configure_input"
6240       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6241 $as_echo "$as_me: creating $ac_file" >&6;}
6242     fi
6243     # Neutralize special characters interpreted by sed in replacement strings.
6244     case $configure_input in #(
6245     *\&* | *\|* | *\\* )
6246        ac_sed_conf_input=`$as_echo "$configure_input" |
6247        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6248     *) ac_sed_conf_input=$configure_input;;
6249     esac
6251     case $ac_tag in
6252     *:-:* | *:-) cat >"$tmp/stdin" \
6253       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
6254     esac
6255     ;;
6256   esac
6258   ac_dir=`$as_dirname -- "$ac_file" ||
6259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6260          X"$ac_file" : 'X\(//\)[^/]' \| \
6261          X"$ac_file" : 'X\(//\)$' \| \
6262          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6263 $as_echo X"$ac_file" |
6264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6265             s//\1/
6266             q
6267           }
6268           /^X\(\/\/\)[^/].*/{
6269             s//\1/
6270             q
6271           }
6272           /^X\(\/\/\)$/{
6273             s//\1/
6274             q
6275           }
6276           /^X\(\/\).*/{
6277             s//\1/
6278             q
6279           }
6280           s/.*/./; q'`
6281   as_dir="$ac_dir"; as_fn_mkdir_p
6282   ac_builddir=.
6284 case "$ac_dir" in
6285 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6287   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6288   # A ".." for each directory in $ac_dir_suffix.
6289   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6290   case $ac_top_builddir_sub in
6291   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6292   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6293   esac ;;
6294 esac
6295 ac_abs_top_builddir=$ac_pwd
6296 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6297 # for backward compatibility:
6298 ac_top_builddir=$ac_top_build_prefix
6300 case $srcdir in
6301   .)  # We are building in place.
6302     ac_srcdir=.
6303     ac_top_srcdir=$ac_top_builddir_sub
6304     ac_abs_top_srcdir=$ac_pwd ;;
6305   [\\/]* | ?:[\\/]* )  # Absolute name.
6306     ac_srcdir=$srcdir$ac_dir_suffix;
6307     ac_top_srcdir=$srcdir
6308     ac_abs_top_srcdir=$srcdir ;;
6309   *) # Relative name.
6310     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6311     ac_top_srcdir=$ac_top_build_prefix$srcdir
6312     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6313 esac
6314 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6317   case $ac_mode in
6318   :F)
6319   #
6320   # CONFIG_FILE
6321   #
6323   case $INSTALL in
6324   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6325   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6326   esac
6327 _ACEOF
6329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6330 # If the template does not know about datarootdir, expand it.
6331 # FIXME: This hack should be removed a few years after 2.60.
6332 ac_datarootdir_hack=; ac_datarootdir_seen=
6333 ac_sed_dataroot='
6334 /datarootdir/ {
6335   p
6336   q
6338 /@datadir@/p
6339 /@docdir@/p
6340 /@infodir@/p
6341 /@localedir@/p
6342 /@mandir@/p'
6343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6344 *datarootdir*) ac_datarootdir_seen=yes;;
6345 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6348 _ACEOF
6349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6350   ac_datarootdir_hack='
6351   s&@datadir@&$datadir&g
6352   s&@docdir@&$docdir&g
6353   s&@infodir@&$infodir&g
6354   s&@localedir@&$localedir&g
6355   s&@mandir@&$mandir&g
6356   s&\\\${datarootdir}&$datarootdir&g' ;;
6357 esac
6358 _ACEOF
6360 # Neutralize VPATH when `$srcdir' = `.'.
6361 # Shell code in configure.ac might set extrasub.
6362 # FIXME: do we really want to maintain this feature?
6363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6364 ac_sed_extra="$ac_vpsub
6365 $extrasub
6366 _ACEOF
6367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6370 s|@configure_input@|$ac_sed_conf_input|;t t
6371 s&@top_builddir@&$ac_top_builddir_sub&;t t
6372 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6373 s&@srcdir@&$ac_srcdir&;t t
6374 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6375 s&@top_srcdir@&$ac_top_srcdir&;t t
6376 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6377 s&@builddir@&$ac_builddir&;t t
6378 s&@abs_builddir@&$ac_abs_builddir&;t t
6379 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6380 s&@INSTALL@&$ac_INSTALL&;t t
6381 $ac_datarootdir_hack
6383 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6384   || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
6386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6387   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6388   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6389   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6390 which seems to be undefined.  Please make sure it is defined" >&5
6391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6392 which seems to be undefined.  Please make sure it is defined" >&2;}
6394   rm -f "$tmp/stdin"
6395   case $ac_file in
6396   -) cat "$tmp/out" && rm -f "$tmp/out";;
6397   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6398   esac \
6399   || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
6400  ;;
6401   :H)
6402   #
6403   # CONFIG_HEADER
6404   #
6405   if test x"$ac_file" != x-; then
6406     {
6407       $as_echo "/* $configure_input  */" \
6408       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6409     } >"$tmp/config.h" \
6410       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
6411     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6412       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6413 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6414     else
6415       rm -f "$ac_file"
6416       mv "$tmp/config.h" "$ac_file" \
6417         || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
6418     fi
6419   else
6420     $as_echo "/* $configure_input  */" \
6421       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6422       || as_fn_error $? "could not create -" "$LINENO" 5 
6423   fi
6424 # Compute "$ac_file"'s index in $config_headers.
6425 _am_stamp_count=1
6426 for _am_header in $config_headers :; do
6427   case $_am_header in
6428     "$ac_file" | "$ac_file":* )
6429       break ;;
6430     * )
6431       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6432   esac
6433 done
6434 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
6435 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436          X"$ac_file" : 'X\(//\)[^/]' \| \
6437          X"$ac_file" : 'X\(//\)$' \| \
6438          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6439 $as_echo X"$ac_file" |
6440     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6441             s//\1/
6442             q
6443           }
6444           /^X\(\/\/\)[^/].*/{
6445             s//\1/
6446             q
6447           }
6448           /^X\(\/\/\)$/{
6449             s//\1/
6450             q
6451           }
6452           /^X\(\/\).*/{
6453             s//\1/
6454             q
6455           }
6456           s/.*/./; q'`/stamp-h$_am_stamp_count
6457  ;;
6458   
6459   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6460 $as_echo "$as_me: executing $ac_file commands" >&6;}
6461  ;;
6462   esac
6465   case $ac_file$ac_mode in
6466     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6467   # Strip MF so we end up with the name of the file.
6468   mf=`echo "$mf" | sed -e 's/:.*$//'`
6469   # Check whether this is an Automake generated Makefile or not.
6470   # We used to match only the files named `Makefile.in', but
6471   # some people rename them; so instead we look at the file content.
6472   # Grep'ing the first line is not enough: some people post-process
6473   # each Makefile.in and add a new line on top of each file to say so.
6474   # So let's grep whole file.
6475   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6476     dirpart=`$as_dirname -- "$mf" ||
6477 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6478          X"$mf" : 'X\(//\)[^/]' \| \
6479          X"$mf" : 'X\(//\)$' \| \
6480          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6481 $as_echo X"$mf" |
6482     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6483             s//\1/
6484             q
6485           }
6486           /^X\(\/\/\)[^/].*/{
6487             s//\1/
6488             q
6489           }
6490           /^X\(\/\/\)$/{
6491             s//\1/
6492             q
6493           }
6494           /^X\(\/\).*/{
6495             s//\1/
6496             q
6497           }
6498           s/.*/./; q'`
6499   else
6500     continue
6501   fi
6502   # Extract the definition of DEPDIR, am__include, and am__quote
6503   # from the Makefile without running `make'.
6504   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6505   test -z "$DEPDIR" && continue
6506   am__include=`sed -n 's/^am__include = //p' < "$mf"`
6507   test -z "am__include" && continue
6508   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6509   # When using ansi2knr, U may be empty or an underscore; expand it
6510   U=`sed -n 's/^U = //p' < "$mf"`
6511   # Find all dependency output files, they are included files with
6512   # $(DEPDIR) in their names.  We invoke sed twice because it is the
6513   # simplest approach to changing $(DEPDIR) to its actual value in the
6514   # expansion.
6515   for file in `sed -n "
6516     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6517        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6518     # Make sure the directory exists.
6519     test -f "$dirpart/$file" && continue
6520     fdir=`$as_dirname -- "$file" ||
6521 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6522          X"$file" : 'X\(//\)[^/]' \| \
6523          X"$file" : 'X\(//\)$' \| \
6524          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6525 $as_echo X"$file" |
6526     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6527             s//\1/
6528             q
6529           }
6530           /^X\(\/\/\)[^/].*/{
6531             s//\1/
6532             q
6533           }
6534           /^X\(\/\/\)$/{
6535             s//\1/
6536             q
6537           }
6538           /^X\(\/\).*/{
6539             s//\1/
6540             q
6541           }
6542           s/.*/./; q'`
6543     as_dir=$dirpart/$fdir; as_fn_mkdir_p
6544     # echo "creating $dirpart/$file"
6545     echo '# dummy' > "$dirpart/$file"
6546   done
6547 done
6548  ;;
6550   esac
6551 done # for ac_tag
6554 as_fn_exit 0
6555 _ACEOF
6556 ac_clean_files=$ac_clean_files_save
6558 test $ac_write_fail = 0 ||
6559   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
6562 # configure is writing to config.log, and then calls config.status.
6563 # config.status does its own redirection, appending to config.log.
6564 # Unfortunately, on DOS this fails, as config.log is still kept open
6565 # by configure, so config.status won't be able to write to it; its
6566 # output is simply discarded.  So we exec the FD to /dev/null,
6567 # effectively closing config.log, so it can be properly (re)opened and
6568 # appended to by config.status.  When coming back to configure, we
6569 # need to make the FD available again.
6570 if test "$no_create" != yes; then
6571   ac_cs_success=:
6572   ac_config_status_args=
6573   test "$silent" = yes &&
6574     ac_config_status_args="$ac_config_status_args --quiet"
6575   exec 5>/dev/null
6576   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6577   exec 5>>config.log
6578   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6579   # would make configure fail if this is the last instruction.
6580   $ac_cs_success || as_fn_exit 1
6582 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6584 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}