0abd9c779db523c8698298bc46453aba55d1c8a1
[debian/dhcpd-pools.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.69-a1ef66 for dhcpd-pools 2.13.
4 #
5 # Report bugs to <kerolasa@iki.fi>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and kerolasa@iki.fi
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
245 $0: have one."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265   { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274   return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
303       as_dirs="'$as_qdir' $as_dirs"
304       as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306          X"$as_dir" : 'X\(//\)[^/]' \| \
307          X"$as_dir" : 'X\(//\)$' \| \
308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
423
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
452   chmod +x "$as_me.lineno" ||
453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455   # Don't try to exec as it changes $[0], causing all sort of problems
456   # (the dirname of $[0] is not the place where we might find the
457   # original and so on.  Autoconf is especially sensitive to this).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
486     # ... but there are two gotchas:
487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489     # In both cases, we have to default to `cp -p'.
490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
532
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
542
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559
560 # Identity of this package.
561 PACKAGE_NAME='dhcpd-pools'
562 PACKAGE_TARNAME='dhcpd-pools'
563 PACKAGE_VERSION='2.13'
564 PACKAGE_STRING='dhcpd-pools 2.13'
565 PACKAGE_BUGREPORT='kerolasa@iki.fi'
566 PACKAGE_URL='http://dhcpd-pools.sourceforge.net/'
567
568 ac_unique_file="config.h.in"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 #  include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #  include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
604
605 ac_subst_vars='am__EXEEXT_FALSE
606 am__EXEEXT_TRUE
607 LTLIBOBJS
608 LIBOBJS
609 EGREP
610 GREP
611 CPP
612 am__fastdepCC_FALSE
613 am__fastdepCC_TRUE
614 CCDEPMODE
615 AMDEPBACKSLASH
616 AMDEP_FALSE
617 AMDEP_TRUE
618 am__quote
619 am__include
620 DEPDIR
621 OBJEXT
622 EXEEXT
623 ac_ct_CC
624 CPPFLAGS
625 LDFLAGS
626 CFLAGS
627 CC
628 am__untar
629 am__tar
630 AMTAR
631 am__leading_dot
632 SET_MAKE
633 AWK
634 mkdir_p
635 MKDIR_P
636 INSTALL_STRIP_PROGRAM
637 STRIP
638 install_sh
639 MAKEINFO
640 AUTOHEADER
641 AUTOMAKE
642 AUTOCONF
643 ACLOCAL
644 VERSION
645 PACKAGE
646 CYGPATH_W
647 am__isrc
648 INSTALL_DATA
649 INSTALL_SCRIPT
650 INSTALL_PROGRAM
651 target_alias
652 host_alias
653 build_alias
654 LIBS
655 ECHO_T
656 ECHO_N
657 ECHO_C
658 DEFS
659 mandir
660 localedir
661 libdir
662 psdir
663 pdfdir
664 dvidir
665 htmldir
666 infodir
667 docdir
668 oldincludedir
669 includedir
670 localstatedir
671 sharedstatedir
672 sysconfdir
673 datadir
674 datarootdir
675 libexecdir
676 sbindir
677 bindir
678 program_transform_name
679 prefix
680 exec_prefix
681 PACKAGE_URL
682 PACKAGE_BUGREPORT
683 PACKAGE_STRING
684 PACKAGE_VERSION
685 PACKAGE_TARNAME
686 PACKAGE_NAME
687 PATH_SEPARATOR
688 SHELL'
689 ac_subst_files=''
690 ac_user_opts='
691 enable_option_checking
692 enable_dependency_tracking
693 with_dhcpd_conf
694 with_dhcpd_leases
695 with_output_format
696 with_output_limit
697 '
698       ac_precious_vars='build_alias
699 host_alias
700 target_alias
701 CC
702 CFLAGS
703 LDFLAGS
704 LIBS
705 CPPFLAGS
706 CPP'
707
708
709 # Initialize some variables set by options.
710 ac_init_help=
711 ac_init_version=false
712 ac_unrecognized_opts=
713 ac_unrecognized_sep=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
716 cache_file=/dev/null
717 exec_prefix=NONE
718 no_create=
719 no_recursion=
720 prefix=NONE
721 program_prefix=NONE
722 program_suffix=NONE
723 program_transform_name=s,x,x,
724 silent=
725 site=
726 srcdir=
727 verbose=
728 x_includes=NONE
729 x_libraries=NONE
730
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir='${datarootdir}/info'
749 htmldir='${docdir}'
750 dvidir='${docdir}'
751 pdfdir='${docdir}'
752 psdir='${docdir}'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
756
757 ac_prev=
758 ac_dashdash=
759 for ac_option
760 do
761   # If the previous option needs an argument, assign it.
762   if test -n "$ac_prev"; then
763     eval $ac_prev=\$ac_option
764     ac_prev=
765     continue
766   fi
767
768   case $ac_option in
769   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770   *=)   ac_optarg= ;;
771   *)    ac_optarg=yes ;;
772   esac
773
774   # Accept the important Cygnus configure options, so we can diagnose typos.
775
776   case $ac_dashdash$ac_option in
777   --)
778     ac_dashdash=yes ;;
779
780   -bindir | --bindir | --bindi | --bind | --bin | --bi)
781     ac_prev=bindir ;;
782   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783     bindir=$ac_optarg ;;
784
785   -build | --build | --buil | --bui | --bu)
786     ac_prev=build_alias ;;
787   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788     build_alias=$ac_optarg ;;
789
790   -cache-file | --cache-file | --cache-fil | --cache-fi \
791   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792     ac_prev=cache_file ;;
793   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795     cache_file=$ac_optarg ;;
796
797   --config-cache | -C)
798     cache_file=config.cache ;;
799
800   -datadir | --datadir | --datadi | --datad)
801     ac_prev=datadir ;;
802   -datadir=* | --datadir=* | --datadi=* | --datad=*)
803     datadir=$ac_optarg ;;
804
805   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806   | --dataroo | --dataro | --datar)
807     ac_prev=datarootdir ;;
808   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810     datarootdir=$ac_optarg ;;
811
812   -disable-* | --disable-*)
813     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814     # Reject names that are not valid shell variable names.
815     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816       as_fn_error $? "invalid feature name: $ac_useropt"
817     ac_useropt_orig=$ac_useropt
818     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819     case $ac_user_opts in
820       *"
821 "enable_$ac_useropt"
822 "*) ;;
823       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824          ac_unrecognized_sep=', ';;
825     esac
826     eval enable_$ac_useropt=no ;;
827
828   -docdir | --docdir | --docdi | --doc | --do)
829     ac_prev=docdir ;;
830   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
831     docdir=$ac_optarg ;;
832
833   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834     ac_prev=dvidir ;;
835   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
836     dvidir=$ac_optarg ;;
837
838   -enable-* | --enable-*)
839     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840     # Reject names that are not valid shell variable names.
841     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842       as_fn_error $? "invalid feature name: $ac_useropt"
843     ac_useropt_orig=$ac_useropt
844     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845     case $ac_user_opts in
846       *"
847 "enable_$ac_useropt"
848 "*) ;;
849       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850          ac_unrecognized_sep=', ';;
851     esac
852     eval enable_$ac_useropt=\$ac_optarg ;;
853
854   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856   | --exec | --exe | --ex)
857     ac_prev=exec_prefix ;;
858   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860   | --exec=* | --exe=* | --ex=*)
861     exec_prefix=$ac_optarg ;;
862
863   -gas | --gas | --ga | --g)
864     # Obsolete; use --with-gas.
865     with_gas=yes ;;
866
867   -help | --help | --hel | --he | -h)
868     ac_init_help=long ;;
869   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870     ac_init_help=recursive ;;
871   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872     ac_init_help=short ;;
873
874   -host | --host | --hos | --ho)
875     ac_prev=host_alias ;;
876   -host=* | --host=* | --hos=* | --ho=*)
877     host_alias=$ac_optarg ;;
878
879   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880     ac_prev=htmldir ;;
881   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882   | --ht=*)
883     htmldir=$ac_optarg ;;
884
885   -includedir | --includedir | --includedi | --included | --include \
886   | --includ | --inclu | --incl | --inc)
887     ac_prev=includedir ;;
888   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889   | --includ=* | --inclu=* | --incl=* | --inc=*)
890     includedir=$ac_optarg ;;
891
892   -infodir | --infodir | --infodi | --infod | --info | --inf)
893     ac_prev=infodir ;;
894   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895     infodir=$ac_optarg ;;
896
897   -libdir | --libdir | --libdi | --libd)
898     ac_prev=libdir ;;
899   -libdir=* | --libdir=* | --libdi=* | --libd=*)
900     libdir=$ac_optarg ;;
901
902   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903   | --libexe | --libex | --libe)
904     ac_prev=libexecdir ;;
905   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906   | --libexe=* | --libex=* | --libe=*)
907     libexecdir=$ac_optarg ;;
908
909   -localedir | --localedir | --localedi | --localed | --locale)
910     ac_prev=localedir ;;
911   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912     localedir=$ac_optarg ;;
913
914   -localstatedir | --localstatedir | --localstatedi | --localstated \
915   | --localstate | --localstat | --localsta | --localst | --locals)
916     ac_prev=localstatedir ;;
917   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919     localstatedir=$ac_optarg ;;
920
921   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922     ac_prev=mandir ;;
923   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
924     mandir=$ac_optarg ;;
925
926   -nfp | --nfp | --nf)
927     # Obsolete; use --without-fp.
928     with_fp=no ;;
929
930   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931   | --no-cr | --no-c | -n)
932     no_create=yes ;;
933
934   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
936     no_recursion=yes ;;
937
938   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940   | --oldin | --oldi | --old | --ol | --o)
941     ac_prev=oldincludedir ;;
942   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945     oldincludedir=$ac_optarg ;;
946
947   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948     ac_prev=prefix ;;
949   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
950     prefix=$ac_optarg ;;
951
952   -program-prefix | --program-prefix | --program-prefi | --program-pref \
953   | --program-pre | --program-pr | --program-p)
954     ac_prev=program_prefix ;;
955   -program-prefix=* | --program-prefix=* | --program-prefi=* \
956   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957     program_prefix=$ac_optarg ;;
958
959   -program-suffix | --program-suffix | --program-suffi | --program-suff \
960   | --program-suf | --program-su | --program-s)
961     ac_prev=program_suffix ;;
962   -program-suffix=* | --program-suffix=* | --program-suffi=* \
963   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964     program_suffix=$ac_optarg ;;
965
966   -program-transform-name | --program-transform-name \
967   | --program-transform-nam | --program-transform-na \
968   | --program-transform-n | --program-transform- \
969   | --program-transform | --program-transfor \
970   | --program-transfo | --program-transf \
971   | --program-trans | --program-tran \
972   | --progr-tra | --program-tr | --program-t)
973     ac_prev=program_transform_name ;;
974   -program-transform-name=* | --program-transform-name=* \
975   | --program-transform-nam=* | --program-transform-na=* \
976   | --program-transform-n=* | --program-transform-=* \
977   | --program-transform=* | --program-transfor=* \
978   | --program-transfo=* | --program-transf=* \
979   | --program-trans=* | --program-tran=* \
980   | --progr-tra=* | --program-tr=* | --program-t=*)
981     program_transform_name=$ac_optarg ;;
982
983   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984     ac_prev=pdfdir ;;
985   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986     pdfdir=$ac_optarg ;;
987
988   -psdir | --psdir | --psdi | --psd | --ps)
989     ac_prev=psdir ;;
990   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991     psdir=$ac_optarg ;;
992
993   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994   | -silent | --silent | --silen | --sile | --sil)
995     silent=yes ;;
996
997   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998     ac_prev=sbindir ;;
999   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000   | --sbi=* | --sb=*)
1001     sbindir=$ac_optarg ;;
1002
1003   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005   | --sharedst | --shareds | --shared | --share | --shar \
1006   | --sha | --sh)
1007     ac_prev=sharedstatedir ;;
1008   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011   | --sha=* | --sh=*)
1012     sharedstatedir=$ac_optarg ;;
1013
1014   -site | --site | --sit)
1015     ac_prev=site ;;
1016   -site=* | --site=* | --sit=*)
1017     site=$ac_optarg ;;
1018
1019   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020     ac_prev=srcdir ;;
1021   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022     srcdir=$ac_optarg ;;
1023
1024   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025   | --syscon | --sysco | --sysc | --sys | --sy)
1026     ac_prev=sysconfdir ;;
1027   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029     sysconfdir=$ac_optarg ;;
1030
1031   -target | --target | --targe | --targ | --tar | --ta | --t)
1032     ac_prev=target_alias ;;
1033   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034     target_alias=$ac_optarg ;;
1035
1036   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1037     verbose=yes ;;
1038
1039   -version | --version | --versio | --versi | --vers | -V)
1040     ac_init_version=: ;;
1041
1042   -with-* | --with-*)
1043     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044     # Reject names that are not valid shell variable names.
1045     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046       as_fn_error $? "invalid package name: $ac_useropt"
1047     ac_useropt_orig=$ac_useropt
1048     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049     case $ac_user_opts in
1050       *"
1051 "with_$ac_useropt"
1052 "*) ;;
1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054          ac_unrecognized_sep=', ';;
1055     esac
1056     eval with_$ac_useropt=\$ac_optarg ;;
1057
1058   -without-* | --without-*)
1059     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060     # Reject names that are not valid shell variable names.
1061     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062       as_fn_error $? "invalid package name: $ac_useropt"
1063     ac_useropt_orig=$ac_useropt
1064     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065     case $ac_user_opts in
1066       *"
1067 "with_$ac_useropt"
1068 "*) ;;
1069       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070          ac_unrecognized_sep=', ';;
1071     esac
1072     eval with_$ac_useropt=no ;;
1073
1074   --x)
1075     # Obsolete; use --with-x.
1076     with_x=yes ;;
1077
1078   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079   | --x-incl | --x-inc | --x-in | --x-i)
1080     ac_prev=x_includes ;;
1081   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083     x_includes=$ac_optarg ;;
1084
1085   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087     ac_prev=x_libraries ;;
1088   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090     x_libraries=$ac_optarg ;;
1091
1092   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1094     ;;
1095
1096   *=*)
1097     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098     # Reject names that are not valid shell variable names.
1099     case $ac_envvar in #(
1100       '' | [0-9]* | *[!_$as_cr_alnum]* )
1101       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1102     esac
1103     eval $ac_envvar=\$ac_optarg
1104     export $ac_envvar ;;
1105
1106   *)
1107     # FIXME: should be removed in autoconf 3.0.
1108     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1112     ;;
1113
1114   esac
1115 done
1116
1117 if test -n "$ac_prev"; then
1118   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119   as_fn_error $? "missing argument to $ac_option"
1120 fi
1121
1122 if test -n "$ac_unrecognized_opts"; then
1123   case $enable_option_checking in
1124     no) ;;
1125     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1126     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127   esac
1128 fi
1129
1130 # Check all directory arguments for consistency.
1131 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132                 datadir sysconfdir sharedstatedir localstatedir includedir \
1133                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134                 libdir localedir mandir
1135 do
1136   eval ac_val=\$$ac_var
1137   # Remove trailing slashes.
1138   case $ac_val in
1139     */ )
1140       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141       eval $ac_var=\$ac_val;;
1142   esac
1143   # Be sure to have absolute directory names.
1144   case $ac_val in
1145     [\\/$]* | ?:[\\/]* )  continue;;
1146     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1147   esac
1148   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1149 done
1150
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1154 build=$build_alias
1155 host=$host_alias
1156 target=$target_alias
1157
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x; then
1160   if test "x$build_alias" = x; then
1161     cross_compiling=maybe
1162     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1163     If a cross compiler is detected then cross compile mode will be used" >&2
1164   elif test "x$build_alias" != "x$host_alias"; then
1165     cross_compiling=yes
1166   fi
1167 fi
1168
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171
1172 test "$silent" = yes && exec 6>/dev/null
1173
1174
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178   as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180   as_fn_error $? "pwd does not report name of working directory"
1181
1182
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185   ac_srcdir_defaulted=yes
1186   # Try the directory containing this script, then the parent directory.
1187   ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189          X"$as_myself" : 'X\(//\)[^/]' \| \
1190          X"$as_myself" : 'X\(//\)$' \| \
1191          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194             s//\1/
1195             q
1196           }
1197           /^X\(\/\/\)[^/].*/{
1198             s//\1/
1199             q
1200           }
1201           /^X\(\/\/\)$/{
1202             s//\1/
1203             q
1204           }
1205           /^X\(\/\).*/{
1206             s//\1/
1207             q
1208           }
1209           s/.*/./; q'`
1210   srcdir=$ac_confdir
1211   if test ! -r "$srcdir/$ac_unique_file"; then
1212     srcdir=..
1213   fi
1214 else
1215   ac_srcdir_defaulted=no
1216 fi
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1220 fi
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224         pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227   srcdir=.
1228 fi
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for ac_var in $ac_precious_vars; do
1236   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237   eval ac_env_${ac_var}_value=\$${ac_var}
1238   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 done
1241
1242 #
1243 # Report the --help message.
1244 #
1245 if test "$ac_init_help" = "long"; then
1246   # Omit some internal or obsolete options to make the list less imposing.
1247   # This message is too long to be a string in the A/UX 3.1 sh.
1248   cat <<_ACEOF
1249 \`configure' configures dhcpd-pools 2.13 to adapt to many kinds of systems.
1250
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1252
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE.  See below for descriptions of some of the useful variables.
1255
1256 Defaults for the options are specified in brackets.
1257
1258 Configuration:
1259   -h, --help              display this help and exit
1260       --help=short        display options specific to this package
1261       --help=recursive    display the short help of all the included packages
1262   -V, --version           display version information and exit
1263   -q, --quiet, --silent   do not print \`checking ...' messages
1264       --cache-file=FILE   cache test results in FILE [disabled]
1265   -C, --config-cache      alias for \`--cache-file=config.cache'
1266   -n, --no-create         do not create output files
1267       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1268
1269 Installation directories:
1270   --prefix=PREFIX         install architecture-independent files in PREFIX
1271                           [$ac_default_prefix]
1272   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1273                           [PREFIX]
1274
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1279
1280 For better control, use the options below.
1281
1282 Fine tuning of the installation directories:
1283   --bindir=DIR            user executables [EPREFIX/bin]
1284   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1285   --libexecdir=DIR        program executables [EPREFIX/libexec]
1286   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1287   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1288   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1289   --libdir=DIR            object code libraries [EPREFIX/lib]
1290   --includedir=DIR        C header files [PREFIX/include]
1291   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1292   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1293   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1294   --infodir=DIR           info documentation [DATAROOTDIR/info]
1295   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1296   --mandir=DIR            man documentation [DATAROOTDIR/man]
1297   --docdir=DIR            documentation root [DATAROOTDIR/doc/dhcpd-pools]
1298   --htmldir=DIR           html documentation [DOCDIR]
1299   --dvidir=DIR            dvi documentation [DOCDIR]
1300   --pdfdir=DIR            pdf documentation [DOCDIR]
1301   --psdir=DIR             ps documentation [DOCDIR]
1302 _ACEOF
1303
1304   cat <<\_ACEOF
1305
1306 Program names:
1307   --program-prefix=PREFIX            prepend PREFIX to installed program names
1308   --program-suffix=SUFFIX            append SUFFIX to installed program names
1309   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1310 _ACEOF
1311 fi
1312
1313 if test -n "$ac_init_help"; then
1314   case $ac_init_help in
1315      short | recursive ) echo "Configuration of dhcpd-pools 2.13:";;
1316    esac
1317   cat <<\_ACEOF
1318
1319 Optional Features:
1320   --disable-option-checking  ignore unrecognized --enable/--with options
1321   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1322   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1323   --disable-dependency-tracking  speeds up one-time build
1324   --enable-dependency-tracking   do not reject slow dependency extractors
1325
1326 Optional Packages:
1327   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1328   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1329   --with-dhcpd-conf       default path of dhcpd.conf
1330   --with-dhcpd-leases     default path of dhcpd.leases
1331   --with-output-format    default output format
1332   --with-output-limit     default output limitations
1333
1334 Some influential environment variables:
1335   CC          C compiler command
1336   CFLAGS      C compiler flags
1337   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1338               nonstandard directory <lib dir>
1339   LIBS        libraries to pass to the linker, e.g. -l<library>
1340   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1341               you have headers in a nonstandard directory <include dir>
1342   CPP         C preprocessor
1343
1344 Use these variables to override the choices made by `configure' or to help
1345 it to find libraries and programs with nonstandard names/locations.
1346
1347 Report bugs to <kerolasa@iki.fi>.
1348 dhcpd-pools home page: <http://dhcpd-pools.sourceforge.net/>.
1349 _ACEOF
1350 ac_status=$?
1351 fi
1352
1353 if test "$ac_init_help" = "recursive"; then
1354   # If there are subdirs, report their specific --help.
1355   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356     test -d "$ac_dir" ||
1357       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358       continue
1359     ac_builddir=.
1360
1361 case "$ac_dir" in
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *)
1364   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365   # A ".." for each directory in $ac_dir_suffix.
1366   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367   case $ac_top_builddir_sub in
1368   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370   esac ;;
1371 esac
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1376
1377 case $srcdir in
1378   .)  # We are building in place.
1379     ac_srcdir=.
1380     ac_top_srcdir=$ac_top_builddir_sub
1381     ac_abs_top_srcdir=$ac_pwd ;;
1382   [\\/]* | ?:[\\/]* )  # Absolute name.
1383     ac_srcdir=$srcdir$ac_dir_suffix;
1384     ac_top_srcdir=$srcdir
1385     ac_abs_top_srcdir=$srcdir ;;
1386   *) # Relative name.
1387     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388     ac_top_srcdir=$ac_top_build_prefix$srcdir
1389     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 esac
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393     cd "$ac_dir" || { ac_status=$?; continue; }
1394     # Check for guested configure.
1395     if test -f "$ac_srcdir/configure.gnu"; then
1396       echo &&
1397       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398     elif test -f "$ac_srcdir/configure"; then
1399       echo &&
1400       $SHELL "$ac_srcdir/configure" --help=recursive
1401     else
1402       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403     fi || ac_status=$?
1404     cd "$ac_pwd" || { ac_status=$?; break; }
1405   done
1406 fi
1407
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1410   cat <<\_ACEOF
1411 dhcpd-pools configure 2.13
1412 generated by GNU Autoconf 2.67.69-a1ef66
1413
1414 Copyright (C) 2010 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418   exit
1419 fi
1420
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1424
1425 # ac_fn_c_try_compile LINENO
1426 # --------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_c_try_compile ()
1429 {
1430   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431   rm -f conftest.$ac_objext
1432   if { { ac_try="$ac_compile"
1433 case "(($ac_try" in
1434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435   *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439   (eval "$ac_compile") 2>conftest.err
1440   ac_status=$?
1441   if test -s conftest.err; then
1442     grep -v '^ *+' conftest.err >conftest.er1
1443     cat conftest.er1 >&5
1444     mv -f conftest.er1 conftest.err
1445   fi
1446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447   test $ac_status = 0; } && {
1448          test -z "$ac_c_werror_flag" ||
1449          test ! -s conftest.err
1450        } && test -s conftest.$ac_objext; then :
1451   ac_retval=0
1452 else
1453   $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1455
1456         ac_retval=1
1457 fi
1458   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459   as_fn_set_status $ac_retval
1460
1461 } # ac_fn_c_try_compile
1462
1463 # ac_fn_c_try_cpp LINENO
1464 # ----------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_cpp ()
1467 {
1468   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469   if { { ac_try="$ac_cpp conftest.$ac_ext"
1470 case "(($ac_try" in
1471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472   *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1477   ac_status=$?
1478   if test -s conftest.err; then
1479     grep -v '^ *+' conftest.err >conftest.er1
1480     cat conftest.er1 >&5
1481     mv -f conftest.er1 conftest.err
1482   fi
1483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484   test $ac_status = 0; } > conftest.i && {
1485          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486          test ! -s conftest.err
1487        }; then :
1488   ac_retval=0
1489 else
1490   $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1492
1493     ac_retval=1
1494 fi
1495   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496   as_fn_set_status $ac_retval
1497
1498 } # ac_fn_c_try_cpp
1499
1500 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1501 # -------------------------------------------------------
1502 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1503 # the include files in INCLUDES and setting the cache variable VAR
1504 # accordingly.
1505 ac_fn_c_check_header_mongrel ()
1506 {
1507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508   if eval \${$3+:} false; then :
1509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1510 $as_echo_n "checking for $2... " >&6; }
1511 if eval \${$3+:} false; then :
1512   $as_echo_n "(cached) " >&6
1513 fi
1514 eval ac_res=\$$3
1515                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1516 $as_echo "$ac_res" >&6; }
1517 else
1518   # Is the header compilable?
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1520 $as_echo_n "checking $2 usability... " >&6; }
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h.  */
1523 $4
1524 #include <$2>
1525 _ACEOF
1526 if ac_fn_c_try_compile "$LINENO"; then :
1527   ac_header_compiler=yes
1528 else
1529   ac_header_compiler=no
1530 fi
1531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1533 $as_echo "$ac_header_compiler" >&6; }
1534
1535 # Is the header present?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1537 $as_echo_n "checking $2 presence... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h.  */
1540 #include <$2>
1541 _ACEOF
1542 if ac_fn_c_try_cpp "$LINENO"; then :
1543   ac_header_preproc=yes
1544 else
1545   ac_header_preproc=no
1546 fi
1547 rm -f conftest.err conftest.i conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1549 $as_echo "$ac_header_preproc" >&6; }
1550
1551 # So?  What about this header?
1552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1553   yes:no: )
1554     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1555 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1556     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558     ;;
1559   no:yes:* )
1560     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1561 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1562     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1563 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1565 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1566     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1567 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1568     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 ( $as_echo "## ------------------------------ ##
1571 ## Report this to kerolasa@iki.fi ##
1572 ## ------------------------------ ##"
1573      ) | sed "s/^/$as_me: WARNING:     /" >&2
1574     ;;
1575 esac
1576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579   $as_echo_n "(cached) " >&6
1580 else
1581   eval "$3=\$ac_header_compiler"
1582 fi
1583 eval ac_res=\$$3
1584                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1586 fi
1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588
1589 } # ac_fn_c_check_header_mongrel
1590
1591 # ac_fn_c_try_run LINENO
1592 # ----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1594 # that executables *can* be run.
1595 ac_fn_c_try_run ()
1596 {
1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598   if { { ac_try="$ac_link"
1599 case "(($ac_try" in
1600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601   *) ac_try_echo=$ac_try;;
1602 esac
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605   (eval "$ac_link") 2>&5
1606   ac_status=$?
1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1609   { { case "(($ac_try" in
1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611   *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615   (eval "$ac_try") 2>&5
1616   ac_status=$?
1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618   test $ac_status = 0; }; }; then :
1619   ac_retval=0
1620 else
1621   $as_echo "$as_me: program exited with status $ac_status" >&5
1622        $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1624
1625        ac_retval=$ac_status
1626 fi
1627   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629   as_fn_set_status $ac_retval
1630
1631 } # ac_fn_c_try_run
1632
1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists and can be compiled using the include files in
1636 # INCLUDES, setting the cache variable VAR accordingly.
1637 ac_fn_c_check_header_compile ()
1638 {
1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if eval \${$3+:} false; then :
1643   $as_echo_n "(cached) " >&6
1644 else
1645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h.  */
1647 $4
1648 #include <$2>
1649 _ACEOF
1650 if ac_fn_c_try_compile "$LINENO"; then :
1651   eval "$3=yes"
1652 else
1653   eval "$3=no"
1654 fi
1655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1656 fi
1657 eval ac_res=\$$3
1658                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1659 $as_echo "$ac_res" >&6; }
1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661
1662 } # ac_fn_c_check_header_compile
1663
1664 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1665 # -------------------------------------------
1666 # Tests whether TYPE exists after having included INCLUDES, setting cache
1667 # variable VAR accordingly.
1668 ac_fn_c_check_type ()
1669 {
1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674   $as_echo_n "(cached) " >&6
1675 else
1676   eval "$3=no"
1677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h.  */
1679 $4
1680 int
1681 main ()
1682 {
1683 if (sizeof ($2))
1684          return 0;
1685   ;
1686   return 0;
1687 }
1688 _ACEOF
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h.  */
1692 $4
1693 int
1694 main ()
1695 {
1696 if (sizeof (($2)))
1697             return 0;
1698   ;
1699   return 0;
1700 }
1701 _ACEOF
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703
1704 else
1705   eval "$3=yes"
1706 fi
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 fi
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 fi
1711 eval ac_res=\$$3
1712                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
1716 } # ac_fn_c_check_type
1717
1718 # ac_fn_c_try_link LINENO
1719 # -----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_link ()
1722 {
1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724   rm -f conftest.$ac_objext conftest$ac_exeext
1725   if { { ac_try="$ac_link"
1726 case "(($ac_try" in
1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728   *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732   (eval "$ac_link") 2>conftest.err
1733   ac_status=$?
1734   if test -s conftest.err; then
1735     grep -v '^ *+' conftest.err >conftest.er1
1736     cat conftest.er1 >&5
1737     mv -f conftest.er1 conftest.err
1738   fi
1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740   test $ac_status = 0; } && {
1741          test -z "$ac_c_werror_flag" ||
1742          test ! -s conftest.err
1743        } && test -s conftest$ac_exeext && {
1744          test "$cross_compiling" = yes ||
1745          $as_test_x conftest$ac_exeext
1746        }; then :
1747   ac_retval=0
1748 else
1749   $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1751
1752         ac_retval=1
1753 fi
1754   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1755   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1756   # interfere with the next link command; also delete a directory that is
1757   # left behind by Apple's compiler.  We do this before executing the actions.
1758   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760   as_fn_set_status $ac_retval
1761
1762 } # ac_fn_c_try_link
1763
1764 # ac_fn_c_check_func LINENO FUNC VAR
1765 # ----------------------------------
1766 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1767 ac_fn_c_check_func ()
1768 {
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 \${$3+:} false; then :
1773   $as_echo_n "(cached) " >&6
1774 else
1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h.  */
1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1779 #define $2 innocuous_$2
1780
1781 /* System header to define __stub macros and hopefully few prototypes,
1782     which can conflict with char $2 (); below.
1783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784     <limits.h> exists even on freestanding compilers.  */
1785
1786 #ifdef __STDC__
1787 # include <limits.h>
1788 #else
1789 # include <assert.h>
1790 #endif
1791
1792 #undef $2
1793
1794 /* Override any GCC internal prototype to avoid an error.
1795    Use char because int might match the return type of a GCC
1796    builtin and then its argument prototype would still apply.  */
1797 #ifdef __cplusplus
1798 extern "C"
1799 #endif
1800 char $2 ();
1801 /* The GNU C library defines this for functions which it implements
1802     to always fail with ENOSYS.  Some functions are actually named
1803     something starting with __ and the normal name is an alias.  */
1804 #if defined __stub_$2 || defined __stub___$2
1805 choke me
1806 #endif
1807
1808 int
1809 main ()
1810 {
1811 return $2 ();
1812   ;
1813   return 0;
1814 }
1815 _ACEOF
1816 if ac_fn_c_try_link "$LINENO"; then :
1817   eval "$3=yes"
1818 else
1819   eval "$3=no"
1820 fi
1821 rm -f core conftest.err conftest.$ac_objext \
1822     conftest$ac_exeext conftest.$ac_ext
1823 fi
1824 eval ac_res=\$$3
1825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829 } # ac_fn_c_check_func
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1833
1834 It was created by dhcpd-pools $as_me 2.13, which was
1835 generated by GNU Autoconf 2.67.69-a1ef66.  Invocation command line was
1836
1837   $ $0 $@
1838
1839 _ACEOF
1840 exec 5>>config.log
1841 {
1842 cat <<_ASUNAME
1843 ## --------- ##
1844 ## Platform. ##
1845 ## --------- ##
1846
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1852
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1855
1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1863
1864 _ASUNAME
1865
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 for as_dir in $PATH
1868 do
1869   IFS=$as_save_IFS
1870   test -z "$as_dir" && as_dir=.
1871     $as_echo "PATH: $as_dir"
1872   done
1873 IFS=$as_save_IFS
1874
1875 } >&5
1876
1877 cat >&5 <<_ACEOF
1878
1879
1880 ## ----------- ##
1881 ## Core tests. ##
1882 ## ----------- ##
1883
1884 _ACEOF
1885
1886
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1892 ac_configure_args=
1893 ac_configure_args0=
1894 ac_configure_args1=
1895 ac_must_keep_next=false
1896 for ac_pass in 1 2
1897 do
1898   for ac_arg
1899   do
1900     case $ac_arg in
1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903     | -silent | --silent | --silen | --sile | --sil)
1904       continue ;;
1905     *\'*)
1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1907     esac
1908     case $ac_pass in
1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1910     2)
1911       as_fn_append ac_configure_args1 " '$ac_arg'"
1912       if test $ac_must_keep_next = true; then
1913         ac_must_keep_next=false # Got value, back to normal.
1914       else
1915         case $ac_arg in
1916           *=* | --config-cache | -C | -disable-* | --disable-* \
1917           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919           | -with-* | --with-* | -without-* | --without-* | --x)
1920             case "$ac_configure_args0 " in
1921               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1922             esac
1923             ;;
1924           -* ) ac_must_keep_next=true ;;
1925         esac
1926       fi
1927       as_fn_append ac_configure_args " '$ac_arg'"
1928       ;;
1929     esac
1930   done
1931 done
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1934
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log.  We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941   # Save into config.log some information that might help in debugging.
1942   {
1943     echo
1944
1945     $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1948     echo
1949     # The following way of writing the cache mishandles newlines in values,
1950 (
1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952     eval ac_val=\$$ac_var
1953     case $ac_val in #(
1954     *${as_nl}*)
1955       case $ac_var in #(
1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1958       esac
1959       case $ac_var in #(
1960       _ | IFS | as_nl) ;; #(
1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962       *) { eval $ac_var=; unset $ac_var;} ;;
1963       esac ;;
1964     esac
1965   done
1966   (set) 2>&1 |
1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968     *${as_nl}ac_space=\ *)
1969       sed -n \
1970         "s/'\''/'\''\\\\'\'''\''/g;
1971           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1972       ;; #(
1973     *)
1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1975       ;;
1976     esac |
1977     sort
1978 )
1979     echo
1980
1981     $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1984     echo
1985     for ac_var in $ac_subst_vars
1986     do
1987       eval ac_val=\$$ac_var
1988       case $ac_val in
1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990       esac
1991       $as_echo "$ac_var='\''$ac_val'\''"
1992     done | sort
1993     echo
1994
1995     if test -n "$ac_subst_files"; then
1996       $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
1999       echo
2000       for ac_var in $ac_subst_files
2001       do
2002         eval ac_val=\$$ac_var
2003         case $ac_val in
2004         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005         esac
2006         $as_echo "$ac_var='\''$ac_val'\''"
2007       done | sort
2008       echo
2009     fi
2010
2011     if test -s confdefs.h; then
2012       $as_echo "## ----------- ##
2013 ## confdefs.h. ##
2014 ## ----------- ##"
2015       echo
2016       cat confdefs.h
2017       echo
2018     fi
2019     test "$ac_signal" != 0 &&
2020       $as_echo "$as_me: caught signal $ac_signal"
2021     $as_echo "$as_me: exit $exit_status"
2022   } >&5
2023   rm -f core *.core core.conftest.* &&
2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2025     exit $exit_status
2026 ' 0
2027 for ac_signal in 1 2 13 15; do
2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029 done
2030 ac_signal=0
2031
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2034
2035 $as_echo "/* confdefs.h */" > confdefs.h
2036
2037 # Predefined preprocessor variables.
2038
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2041 _ACEOF
2042
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2045 _ACEOF
2046
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2049 _ACEOF
2050
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2053 _ACEOF
2054
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2057 _ACEOF
2058
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2061 _ACEOF
2062
2063
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2066 ac_site_file1=NONE
2067 ac_site_file2=NONE
2068 if test -n "$CONFIG_SITE"; then
2069   # We do not want a PATH search for config.site.
2070   case $CONFIG_SITE in #((
2071     -*)  ac_site_file1=./$CONFIG_SITE;;
2072     */*) ac_site_file1=$CONFIG_SITE;;
2073     *)   ac_site_file1=./$CONFIG_SITE;;
2074   esac
2075 elif test "x$prefix" != xNONE; then
2076   ac_site_file1=$prefix/share/config.site
2077   ac_site_file2=$prefix/etc/config.site
2078 else
2079   ac_site_file1=$ac_default_prefix/share/config.site
2080   ac_site_file2=$ac_default_prefix/etc/config.site
2081 fi
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2083 do
2084   test "x$ac_site_file" = xNONE && continue
2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088     sed 's/^/| /' "$ac_site_file" >&5
2089     . "$ac_site_file" \
2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2094   fi
2095 done
2096
2097 if test -r "$cache_file"; then
2098   # Some versions of bash will fail to source /dev/null (special files
2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2103     case $cache_file in
2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105       *)                      . "./$cache_file";;
2106     esac
2107   fi
2108 else
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2111   >$cache_file
2112 fi
2113
2114 # Check that the precious variables saved in the cache have kept the same
2115 # value.
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119   eval ac_new_set=\$ac_env_${ac_var}_set
2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121   eval ac_new_val=\$ac_env_${ac_var}_value
2122   case $ac_old_set,$ac_new_set in
2123     set,)
2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126       ac_cache_corrupted=: ;;
2127     ,set)
2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130       ac_cache_corrupted=: ;;
2131     ,);;
2132     *)
2133       if test "x$ac_old_val" != "x$ac_new_val"; then
2134         # differences in whitespace do not lead to failure.
2135         ac_old_val_w=`echo x $ac_old_val`
2136         ac_new_val_w=`echo x $ac_new_val`
2137         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140           ac_cache_corrupted=:
2141         else
2142           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144           eval $ac_var=\$ac_old_val
2145         fi
2146         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2148         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2150       fi;;
2151   esac
2152   # Pass precious variables to config.status.
2153   if test "$ac_new_set" = set; then
2154     case $ac_new_val in
2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156     *) ac_arg=$ac_var=$ac_new_val ;;
2157     esac
2158     case " $ac_configure_args " in
2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2161     esac
2162   fi
2163 done
2164 if $ac_cache_corrupted; then
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2170 fi
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2174
2175 ac_ext=c
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2180
2181
2182 am__api_version='1.11'
2183
2184 ac_aux_dir=
2185 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2186   if test -f "$ac_dir/install-sh"; then
2187     ac_aux_dir=$ac_dir
2188     ac_install_sh="$ac_aux_dir/install-sh -c"
2189     break
2190   elif test -f "$ac_dir/install.sh"; then
2191     ac_aux_dir=$ac_dir
2192     ac_install_sh="$ac_aux_dir/install.sh -c"
2193     break
2194   elif test -f "$ac_dir/shtool"; then
2195     ac_aux_dir=$ac_dir
2196     ac_install_sh="$ac_aux_dir/shtool install -c"
2197     break
2198   fi
2199 done
2200 if test -z "$ac_aux_dir"; then
2201   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2202 fi
2203
2204 # These three variables are undocumented and unsupported,
2205 # and are intended to be withdrawn in a future Autoconf release.
2206 # They can cause serious problems if a builder's source tree is in a directory
2207 # whose full name contains unusual characters.
2208 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2209 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2210 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2211
2212
2213 # Find a good install program.  We prefer a C program (faster),
2214 # so one script is as good as another.  But avoid the broken or
2215 # incompatible versions:
2216 # SysV /etc/install, /usr/sbin/install
2217 # SunOS /usr/etc/install
2218 # IRIX /sbin/install
2219 # AIX /bin/install
2220 # AmigaOS /C/install, which installs bootblocks on floppy discs
2221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2224 # OS/2's system install, which has a completely different semantic
2225 # ./install, which can be erroneously created by make from ./install.sh.
2226 # Reject install programs that cannot install multiple files.
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2228 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2229 if test -z "$INSTALL"; then
2230 if ${ac_cv_path_install+:} false; then :
2231   $as_echo_n "(cached) " >&6
2232 else
2233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2235 do
2236   IFS=$as_save_IFS
2237   test -z "$as_dir" && as_dir=.
2238     # Account for people who put trailing slashes in PATH elements.
2239 case $as_dir/ in #((
2240   ./ | .// | /[cC]/* | \
2241   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2242   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2243   /usr/ucb/* ) ;;
2244   *)
2245     # OSF1 and SCO ODT 3.0 have their own names for install.
2246     # Don't use installbsd from OSF since it installs stuff as root
2247     # by default.
2248     for ac_prog in ginstall scoinst install; do
2249       for ac_exec_ext in '' $ac_executable_extensions; do
2250         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2251           if test $ac_prog = install &&
2252             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2253             # AIX install.  It has an incompatible calling convention.
2254             :
2255           elif test $ac_prog = install &&
2256             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2257             # program-specific install script used by HP pwplus--don't use.
2258             :
2259           else
2260             rm -rf conftest.one conftest.two conftest.dir
2261             echo one > conftest.one
2262             echo two > conftest.two
2263             mkdir conftest.dir
2264             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2265               test -s conftest.one && test -s conftest.two &&
2266               test -s conftest.dir/conftest.one &&
2267               test -s conftest.dir/conftest.two
2268             then
2269               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2270               break 3
2271             fi
2272           fi
2273         fi
2274       done
2275     done
2276     ;;
2277 esac
2278
2279   done
2280 IFS=$as_save_IFS
2281
2282 rm -rf conftest.one conftest.two conftest.dir
2283
2284 fi
2285   if test "${ac_cv_path_install+set}" = set; then
2286     INSTALL=$ac_cv_path_install
2287   else
2288     # As a last resort, use the slow shell script.  Don't cache a
2289     # value for INSTALL within a source directory, because that will
2290     # break other packages using the cache if that directory is
2291     # removed, or if the value is a relative name.
2292     INSTALL=$ac_install_sh
2293   fi
2294 fi
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2296 $as_echo "$INSTALL" >&6; }
2297
2298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2299 # It thinks the first close brace ends the variable substitution.
2300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2301
2302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2303
2304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2305
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2307 $as_echo_n "checking whether build environment is sane... " >&6; }
2308 # Just in case
2309 sleep 1
2310 echo timestamp > conftest.file
2311 # Reject unsafe characters in $srcdir or the absolute working directory
2312 # name.  Accept space and tab only in the latter.
2313 am_lf='
2314 '
2315 case `pwd` in
2316   *[\\\"\#\$\&\'\`$am_lf]*)
2317     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2318 esac
2319 case $srcdir in
2320   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2321     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2322 esac
2323
2324 # Do `set' in a subshell so we don't clobber the current shell's
2325 # arguments.  Must try -L first in case configure is actually a
2326 # symlink; some systems play weird games with the mod time of symlinks
2327 # (eg FreeBSD returns the mod time of the symlink's containing
2328 # directory).
2329 if (
2330    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2331    if test "$*" = "X"; then
2332       # -L didn't work.
2333       set X `ls -t "$srcdir/configure" conftest.file`
2334    fi
2335    rm -f conftest.file
2336    if test "$*" != "X $srcdir/configure conftest.file" \
2337       && test "$*" != "X conftest.file $srcdir/configure"; then
2338
2339       # If neither matched, then we have a broken ls.  This can happen
2340       # if, for instance, CONFIG_SHELL is bash and it inherits a
2341       # broken ls alias from the environment.  This has actually
2342       # happened.  Such a system could not be considered "sane".
2343       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2344 alias in your environment" "$LINENO" 5
2345    fi
2346
2347    test "$2" = conftest.file
2348    )
2349 then
2350    # Ok.
2351    :
2352 else
2353    as_fn_error $? "newly created file is older than distributed files!
2354 Check your system clock" "$LINENO" 5
2355 fi
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2357 $as_echo "yes" >&6; }
2358 test "$program_prefix" != NONE &&
2359   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2360 # Use a double $ so make ignores it.
2361 test "$program_suffix" != NONE &&
2362   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2363 # Double any \ or $.
2364 # By default was `s,x,x', remove it if useless.
2365 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2366 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2367
2368 # expand $ac_aux_dir to an absolute path
2369 am_aux_dir=`cd $ac_aux_dir && pwd`
2370
2371 if test x"${MISSING+set}" != xset; then
2372   case $am_aux_dir in
2373   *\ * | *\     *)
2374     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2375   *)
2376     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2377   esac
2378 fi
2379 # Use eval to expand $SHELL
2380 if eval "$MISSING --run true"; then
2381   am_missing_run="$MISSING --run "
2382 else
2383   am_missing_run=
2384   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2385 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2386 fi
2387
2388 if test x"${install_sh}" != xset; then
2389   case $am_aux_dir in
2390   *\ * | *\     *)
2391     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2392   *)
2393     install_sh="\${SHELL} $am_aux_dir/install-sh"
2394   esac
2395 fi
2396
2397 # Installed binaries are usually stripped using `strip' when the user
2398 # run `make install-strip'.  However `strip' might not be the right
2399 # tool to use in cross-compilation environments, therefore Automake
2400 # will honor the `STRIP' environment variable to overrule this program.
2401 if test "$cross_compiling" != no; then
2402   if test -n "$ac_tool_prefix"; then
2403   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}strip; ac_word=$2
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if ${ac_cv_prog_STRIP+:} false; then :
2408   $as_echo_n "(cached) " >&6
2409 else
2410   if test -n "$STRIP"; then
2411   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2412 else
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416   IFS=$as_save_IFS
2417   test -z "$as_dir" && as_dir=.
2418     for ac_exec_ext in '' $ac_executable_extensions; do
2419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422     break 2
2423   fi
2424 done
2425   done
2426 IFS=$as_save_IFS
2427
2428 fi
2429 fi
2430 STRIP=$ac_cv_prog_STRIP
2431 if test -n "$STRIP"; then
2432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2433 $as_echo "$STRIP" >&6; }
2434 else
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2437 fi
2438
2439
2440 fi
2441 if test -z "$ac_cv_prog_STRIP"; then
2442   ac_ct_STRIP=$STRIP
2443   # Extract the first word of "strip", so it can be a program name with args.
2444 set dummy strip; ac_word=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2448   $as_echo_n "(cached) " >&6
2449 else
2450   if test -n "$ac_ct_STRIP"; then
2451   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2452 else
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH
2455 do
2456   IFS=$as_save_IFS
2457   test -z "$as_dir" && as_dir=.
2458     for ac_exec_ext in '' $ac_executable_extensions; do
2459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460     ac_cv_prog_ac_ct_STRIP="strip"
2461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462     break 2
2463   fi
2464 done
2465   done
2466 IFS=$as_save_IFS
2467
2468 fi
2469 fi
2470 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2471 if test -n "$ac_ct_STRIP"; then
2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2473 $as_echo "$ac_ct_STRIP" >&6; }
2474 else
2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2477 fi
2478
2479   if test "x$ac_ct_STRIP" = x; then
2480     STRIP=":"
2481   else
2482     case $cross_compiling:$ac_tool_warned in
2483 yes:)
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2486 ac_tool_warned=yes ;;
2487 esac
2488     STRIP=$ac_ct_STRIP
2489   fi
2490 else
2491   STRIP="$ac_cv_prog_STRIP"
2492 fi
2493
2494 fi
2495 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2496
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2498 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2499 if test -z "$MKDIR_P"; then
2500   if ${ac_cv_path_mkdir+:} false; then :
2501   $as_echo_n "(cached) " >&6
2502 else
2503   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2505 do
2506   IFS=$as_save_IFS
2507   test -z "$as_dir" && as_dir=.
2508     for ac_prog in mkdir gmkdir; do
2509          for ac_exec_ext in '' $ac_executable_extensions; do
2510            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2511            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2512              'mkdir (GNU coreutils) '* | \
2513              'mkdir (coreutils) '* | \
2514              'mkdir (fileutils) '4.1*)
2515                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2516                break 3;;
2517            esac
2518          done
2519        done
2520   done
2521 IFS=$as_save_IFS
2522
2523 fi
2524
2525   test -d ./--version && rmdir ./--version
2526   if test "${ac_cv_path_mkdir+set}" = set; then
2527     MKDIR_P="$ac_cv_path_mkdir -p"
2528   else
2529     # As a last resort, use the slow shell script.  Don't cache a
2530     # value for MKDIR_P within a source directory, because that will
2531     # break other packages using the cache if that directory is
2532     # removed, or if the value is a relative name.
2533     MKDIR_P="$ac_install_sh -d"
2534   fi
2535 fi
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2537 $as_echo "$MKDIR_P" >&6; }
2538
2539 mkdir_p="$MKDIR_P"
2540 case $mkdir_p in
2541   [\\/$]* | ?:[\\/]*) ;;
2542   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2543 esac
2544
2545 for ac_prog in gawk mawk nawk awk
2546 do
2547   # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_AWK+:} false; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   if test -n "$AWK"; then
2555   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2556 else
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2559 do
2560   IFS=$as_save_IFS
2561   test -z "$as_dir" && as_dir=.
2562     for ac_exec_ext in '' $ac_executable_extensions; do
2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564     ac_cv_prog_AWK="$ac_prog"
2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566     break 2
2567   fi
2568 done
2569   done
2570 IFS=$as_save_IFS
2571
2572 fi
2573 fi
2574 AWK=$ac_cv_prog_AWK
2575 if test -n "$AWK"; then
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2577 $as_echo "$AWK" >&6; }
2578 else
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2581 fi
2582
2583
2584   test -n "$AWK" && break
2585 done
2586
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2588 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2589 set x ${MAKE-make}
2590 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2591 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2592   $as_echo_n "(cached) " >&6
2593 else
2594   cat >conftest.make <<\_ACEOF
2595 SHELL = /bin/sh
2596 all:
2597         @echo '@@@%%%=$(MAKE)=@@@%%%'
2598 _ACEOF
2599 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2600 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2601   *@@@%%%=?*=@@@%%%*)
2602     eval ac_cv_prog_make_${ac_make}_set=yes;;
2603   *)
2604     eval ac_cv_prog_make_${ac_make}_set=no;;
2605 esac
2606 rm -f conftest.make
2607 fi
2608 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2611   SET_MAKE=
2612 else
2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2615   SET_MAKE="MAKE=${MAKE-make}"
2616 fi
2617
2618 rm -rf .tst 2>/dev/null
2619 mkdir .tst 2>/dev/null
2620 if test -d .tst; then
2621   am__leading_dot=.
2622 else
2623   am__leading_dot=_
2624 fi
2625 rmdir .tst 2>/dev/null
2626
2627 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2628   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2629   # is not polluted with repeated "-I."
2630   am__isrc=' -I$(srcdir)'
2631   # test to see if srcdir already configured
2632   if test -f $srcdir/config.status; then
2633     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2634   fi
2635 fi
2636
2637 # test whether we have cygpath
2638 if test -z "$CYGPATH_W"; then
2639   if (cygpath --version) >/dev/null 2>/dev/null; then
2640     CYGPATH_W='cygpath -w'
2641   else
2642     CYGPATH_W=echo
2643   fi
2644 fi
2645
2646
2647 # Define the identity of the package.
2648  PACKAGE=dhcpd-pools
2649  VERSION=2.13
2650
2651
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE "$PACKAGE"
2654 _ACEOF
2655
2656
2657 cat >>confdefs.h <<_ACEOF
2658 #define VERSION "$VERSION"
2659 _ACEOF
2660
2661 # Some tools Automake needs.
2662
2663 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2664
2665
2666 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2667
2668
2669 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2670
2671
2672 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2673
2674
2675 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2676
2677 # We need awk for the "check" target.  The system "awk" is bad on
2678 # some platforms.
2679 # Always define AMTAR for backward compatibility.
2680
2681 AMTAR=${AMTAR-"${am_missing_run}tar"}
2682
2683 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2684
2685
2686
2687
2688
2689
2690 ac_config_headers="$ac_config_headers config.h"
2691
2692
2693 # Checks for programs.
2694 ac_ext=c
2695 ac_cpp='$CPP $CPPFLAGS'
2696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699 if test -n "$ac_tool_prefix"; then
2700   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2701 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_CC+:} false; then :
2705   $as_echo_n "(cached) " >&6
2706 else
2707   if test -n "$CC"; then
2708   ac_cv_prog_CC="$CC" # Let the user override the test.
2709 else
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 for as_dir in $PATH
2712 do
2713   IFS=$as_save_IFS
2714   test -z "$as_dir" && as_dir=.
2715     for ac_exec_ext in '' $ac_executable_extensions; do
2716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719     break 2
2720   fi
2721 done
2722   done
2723 IFS=$as_save_IFS
2724
2725 fi
2726 fi
2727 CC=$ac_cv_prog_CC
2728 if test -n "$CC"; then
2729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2730 $as_echo "$CC" >&6; }
2731 else
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2734 fi
2735
2736
2737 fi
2738 if test -z "$ac_cv_prog_CC"; then
2739   ac_ct_CC=$CC
2740   # Extract the first word of "gcc", so it can be a program name with args.
2741 set dummy gcc; ac_word=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2745   $as_echo_n "(cached) " >&6
2746 else
2747   if test -n "$ac_ct_CC"; then
2748   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2749 else
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 for as_dir in $PATH
2752 do
2753   IFS=$as_save_IFS
2754   test -z "$as_dir" && as_dir=.
2755     for ac_exec_ext in '' $ac_executable_extensions; do
2756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757     ac_cv_prog_ac_ct_CC="gcc"
2758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759     break 2
2760   fi
2761 done
2762   done
2763 IFS=$as_save_IFS
2764
2765 fi
2766 fi
2767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2768 if test -n "$ac_ct_CC"; then
2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2770 $as_echo "$ac_ct_CC" >&6; }
2771 else
2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2774 fi
2775
2776   if test "x$ac_ct_CC" = x; then
2777     CC=""
2778   else
2779     case $cross_compiling:$ac_tool_warned in
2780 yes:)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2783 ac_tool_warned=yes ;;
2784 esac
2785     CC=$ac_ct_CC
2786   fi
2787 else
2788   CC="$ac_cv_prog_CC"
2789 fi
2790
2791 if test -z "$CC"; then
2792           if test -n "$ac_tool_prefix"; then
2793     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2794 set dummy ${ac_tool_prefix}cc; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_CC+:} false; then :
2798   $as_echo_n "(cached) " >&6
2799 else
2800   if test -n "$CC"; then
2801   ac_cv_prog_CC="$CC" # Let the user override the test.
2802 else
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2805 do
2806   IFS=$as_save_IFS
2807   test -z "$as_dir" && as_dir=.
2808     for ac_exec_ext in '' $ac_executable_extensions; do
2809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810     ac_cv_prog_CC="${ac_tool_prefix}cc"
2811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812     break 2
2813   fi
2814 done
2815   done
2816 IFS=$as_save_IFS
2817
2818 fi
2819 fi
2820 CC=$ac_cv_prog_CC
2821 if test -n "$CC"; then
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823 $as_echo "$CC" >&6; }
2824 else
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2827 fi
2828
2829
2830   fi
2831 fi
2832 if test -z "$CC"; then
2833   # Extract the first word of "cc", so it can be a program name with args.
2834 set dummy cc; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838   $as_echo_n "(cached) " >&6
2839 else
2840   if test -n "$CC"; then
2841   ac_cv_prog_CC="$CC" # Let the user override the test.
2842 else
2843   ac_prog_rejected=no
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 for as_dir in $PATH
2846 do
2847   IFS=$as_save_IFS
2848   test -z "$as_dir" && as_dir=.
2849     for ac_exec_ext in '' $ac_executable_extensions; do
2850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2852        ac_prog_rejected=yes
2853        continue
2854      fi
2855     ac_cv_prog_CC="cc"
2856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857     break 2
2858   fi
2859 done
2860   done
2861 IFS=$as_save_IFS
2862
2863 if test $ac_prog_rejected = yes; then
2864   # We found a bogon in the path, so make sure we never use it.
2865   set dummy $ac_cv_prog_CC
2866   shift
2867   if test $# != 0; then
2868     # We chose a different compiler from the bogus one.
2869     # However, it has the same basename, so the bogon will be chosen
2870     # first if we set CC to just the basename; use the full file name.
2871     shift
2872     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2873   fi
2874 fi
2875 fi
2876 fi
2877 CC=$ac_cv_prog_CC
2878 if test -n "$CC"; then
2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2881 else
2882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 fi
2885
2886
2887 fi
2888 if test -z "$CC"; then
2889   if test -n "$ac_tool_prefix"; then
2890   for ac_prog in cl.exe
2891   do
2892     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2893 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897   $as_echo_n "(cached) " >&6
2898 else
2899   if test -n "$CC"; then
2900   ac_cv_prog_CC="$CC" # Let the user override the test.
2901 else
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 for as_dir in $PATH
2904 do
2905   IFS=$as_save_IFS
2906   test -z "$as_dir" && as_dir=.
2907     for ac_exec_ext in '' $ac_executable_extensions; do
2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911     break 2
2912   fi
2913 done
2914   done
2915 IFS=$as_save_IFS
2916
2917 fi
2918 fi
2919 CC=$ac_cv_prog_CC
2920 if test -n "$CC"; then
2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2923 else
2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2926 fi
2927
2928
2929     test -n "$CC" && break
2930   done
2931 fi
2932 if test -z "$CC"; then
2933   ac_ct_CC=$CC
2934   for ac_prog in cl.exe
2935 do
2936   # Extract the first word of "$ac_prog", so it can be a program name with args.
2937 set dummy $ac_prog; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2941   $as_echo_n "(cached) " >&6
2942 else
2943   if test -n "$ac_ct_CC"; then
2944   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2945 else
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 for as_dir in $PATH
2948 do
2949   IFS=$as_save_IFS
2950   test -z "$as_dir" && as_dir=.
2951     for ac_exec_ext in '' $ac_executable_extensions; do
2952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953     ac_cv_prog_ac_ct_CC="$ac_prog"
2954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955     break 2
2956   fi
2957 done
2958   done
2959 IFS=$as_save_IFS
2960
2961 fi
2962 fi
2963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2967 else
2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 fi
2971
2972
2973   test -n "$ac_ct_CC" && break
2974 done
2975
2976   if test "x$ac_ct_CC" = x; then
2977     CC=""
2978   else
2979     case $cross_compiling:$ac_tool_warned in
2980 yes:)
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2984 esac
2985     CC=$ac_ct_CC
2986   fi
2987 fi
2988
2989 fi
2990
2991
2992 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $? "no acceptable C compiler found in \$PATH
2995 See \`config.log' for more details" "$LINENO" 5; }
2996
2997 # Provide some information about the compiler.
2998 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2999 set X $ac_compile
3000 ac_compiler=$2
3001 for ac_option in --version -v -V -qversion; do
3002   { { ac_try="$ac_compiler $ac_option >&5"
3003 case "(($ac_try" in
3004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005   *) ac_try_echo=$ac_try;;
3006 esac
3007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3008 $as_echo "$ac_try_echo"; } >&5
3009   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3010   ac_status=$?
3011   if test -s conftest.err; then
3012     sed '10a\
3013 ... rest of stderr output deleted ...
3014          10q' conftest.err >conftest.er1
3015     cat conftest.er1 >&5
3016   fi
3017   rm -f conftest.er1 conftest.err
3018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019   test $ac_status = 0; }
3020 done
3021
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h.  */
3024
3025 int
3026 main ()
3027 {
3028
3029   ;
3030   return 0;
3031 }
3032 _ACEOF
3033 ac_clean_files_save=$ac_clean_files
3034 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3035 # Try to create an executable without -o first, disregard a.out.
3036 # It will help us diagnose broken compilers, and finding out an intuition
3037 # of exeext.
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3039 $as_echo_n "checking whether the C compiler works... " >&6; }
3040 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3041
3042 # The possible output files:
3043 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3044
3045 ac_rmfiles=
3046 for ac_file in $ac_files
3047 do
3048   case $ac_file in
3049     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3051   esac
3052 done
3053 rm -f $ac_rmfiles
3054
3055 if { { ac_try="$ac_link_default"
3056 case "(($ac_try" in
3057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058   *) ac_try_echo=$ac_try;;
3059 esac
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062   (eval "$ac_link_default") 2>&5
3063   ac_status=$?
3064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065   test $ac_status = 0; }; then :
3066   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3068 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3069 # so that the user can short-circuit this test for compilers unknown to
3070 # Autoconf.
3071 for ac_file in $ac_files ''
3072 do
3073   test -f "$ac_file" || continue
3074   case $ac_file in
3075     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3076         ;;
3077     [ab].out )
3078         # We found the default executable, but exeext='' is most
3079         # certainly right.
3080         break;;
3081     *.* )
3082         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3083         then :; else
3084            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085         fi
3086         # We set ac_cv_exeext here because the later test for it is not
3087         # safe: cross compilers may not add the suffix if given an `-o'
3088         # argument, so we may need to know it at that point already.
3089         # Even if this section looks crufty: it has the advantage of
3090         # actually working.
3091         break;;
3092     * )
3093         break;;
3094   esac
3095 done
3096 test "$ac_cv_exeext" = no && ac_cv_exeext=
3097
3098 else
3099   ac_file=''
3100 fi
3101 if test -z "$ac_file"; then :
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3106
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 as_fn_error 77 "C compiler cannot create executables
3110 See \`config.log' for more details" "$LINENO" 5; }
3111 else
3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3114 fi
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3116 $as_echo_n "checking for C compiler default output file name... " >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3118 $as_echo "$ac_file" >&6; }
3119 ac_exeext=$ac_cv_exeext
3120
3121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3122 ac_clean_files=$ac_clean_files_save
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3124 $as_echo_n "checking for suffix of executables... " >&6; }
3125 if { { ac_try="$ac_link"
3126 case "(($ac_try" in
3127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128   *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132   (eval "$ac_link") 2>&5
3133   ac_status=$?
3134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135   test $ac_status = 0; }; then :
3136   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3137 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3138 # work properly (i.e., refer to `conftest.exe'), while it won't with
3139 # `rm'.
3140 for ac_file in conftest.exe conftest conftest.*; do
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     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3145           break;;
3146     * ) break;;
3147   esac
3148 done
3149 else
3150   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3153 See \`config.log' for more details" "$LINENO" 5; }
3154 fi
3155 rm -f conftest conftest$ac_cv_exeext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3157 $as_echo "$ac_cv_exeext" >&6; }
3158
3159 rm -f conftest.$ac_ext
3160 EXEEXT=$ac_cv_exeext
3161 ac_exeext=$EXEEXT
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h.  */
3164 #include <stdio.h>
3165 int
3166 main ()
3167 {
3168 FILE *f = fopen ("conftest.out", "w");
3169  return ferror (f) || fclose (f) != 0;
3170
3171   ;
3172   return 0;
3173 }
3174 _ACEOF
3175 ac_clean_files="$ac_clean_files conftest.out"
3176 # Check that the compiler produces executables we can run.  If not, either
3177 # the compiler is broken, or we cross compile.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3179 $as_echo_n "checking whether we are cross compiling... " >&6; }
3180 if test "$cross_compiling" != yes; then
3181   { { ac_try="$ac_link"
3182 case "(($ac_try" in
3183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184   *) ac_try_echo=$ac_try;;
3185 esac
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188   (eval "$ac_link") 2>&5
3189   ac_status=$?
3190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191   test $ac_status = 0; }
3192   if { ac_try='./conftest$ac_cv_exeext'
3193   { { case "(($ac_try" in
3194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195   *) ac_try_echo=$ac_try;;
3196 esac
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199   (eval "$ac_try") 2>&5
3200   ac_status=$?
3201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202   test $ac_status = 0; }; }; then
3203     cross_compiling=no
3204   else
3205     if test "$cross_compiling" = maybe; then
3206         cross_compiling=yes
3207     else
3208         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $? "cannot run C compiled programs.
3211 If you meant to cross compile, use \`--host'.
3212 See \`config.log' for more details" "$LINENO" 5; }
3213     fi
3214   fi
3215 fi
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3217 $as_echo "$cross_compiling" >&6; }
3218
3219 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3220 ac_clean_files=$ac_clean_files_save
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3222 $as_echo_n "checking for suffix of object files... " >&6; }
3223 if ${ac_cv_objext+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h.  */
3228
3229 int
3230 main ()
3231 {
3232
3233   ;
3234   return 0;
3235 }
3236 _ACEOF
3237 rm -f conftest.o conftest.obj
3238 if { { ac_try="$ac_compile"
3239 case "(($ac_try" in
3240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241   *) ac_try_echo=$ac_try;;
3242 esac
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245   (eval "$ac_compile") 2>&5
3246   ac_status=$?
3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248   test $ac_status = 0; }; then :
3249   for ac_file in conftest.o conftest.obj conftest.*; do
3250   test -f "$ac_file" || continue;
3251   case $ac_file in
3252     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3253     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3254        break;;
3255   esac
3256 done
3257 else
3258   $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3260
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $? "cannot compute suffix of object files: cannot compile
3264 See \`config.log' for more details" "$LINENO" 5; }
3265 fi
3266 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3267 fi
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3269 $as_echo "$ac_cv_objext" >&6; }
3270 OBJEXT=$ac_cv_objext
3271 ac_objext=$OBJEXT
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3273 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3274 if ${ac_cv_c_compiler_gnu+:} false; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h.  */
3279
3280 int
3281 main ()
3282 {
3283 #ifndef __GNUC__
3284        choke me
3285 #endif
3286
3287   ;
3288   return 0;
3289 }
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292   ac_compiler_gnu=yes
3293 else
3294   ac_compiler_gnu=no
3295 fi
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3298
3299 fi
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3301 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3302 if test $ac_compiler_gnu = yes; then
3303   GCC=yes
3304 else
3305   GCC=
3306 fi
3307 ac_test_CFLAGS=${CFLAGS+set}
3308 ac_save_CFLAGS=$CFLAGS
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3310 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3311 if ${ac_cv_prog_cc_g+:} false; then :
3312   $as_echo_n "(cached) " >&6
3313 else
3314   ac_save_c_werror_flag=$ac_c_werror_flag
3315    ac_c_werror_flag=yes
3316    ac_cv_prog_cc_g=no
3317    CFLAGS="-g"
3318    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h.  */
3320
3321 int
3322 main ()
3323 {
3324
3325   ;
3326   return 0;
3327 }
3328 _ACEOF
3329 if ac_fn_c_try_compile "$LINENO"; then :
3330   ac_cv_prog_cc_g=yes
3331 else
3332   CFLAGS=""
3333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h.  */
3335
3336 int
3337 main ()
3338 {
3339
3340   ;
3341   return 0;
3342 }
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345
3346 else
3347   ac_c_werror_flag=$ac_save_c_werror_flag
3348          CFLAGS="-g"
3349          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h.  */
3351
3352 int
3353 main ()
3354 {
3355
3356   ;
3357   return 0;
3358 }
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"; then :
3361   ac_cv_prog_cc_g=yes
3362 fi
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 fi
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 fi
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368    ac_c_werror_flag=$ac_save_c_werror_flag
3369 fi
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3371 $as_echo "$ac_cv_prog_cc_g" >&6; }
3372 if test "$ac_test_CFLAGS" = set; then
3373   CFLAGS=$ac_save_CFLAGS
3374 elif test $ac_cv_prog_cc_g = yes; then
3375   if test "$GCC" = yes; then
3376     CFLAGS="-g -O2"
3377   else
3378     CFLAGS="-g"
3379   fi
3380 else
3381   if test "$GCC" = yes; then
3382     CFLAGS="-O2"
3383   else
3384     CFLAGS=
3385   fi
3386 fi
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3388 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3389 if ${ac_cv_prog_cc_c89+:} false; then :
3390   $as_echo_n "(cached) " >&6
3391 else
3392   ac_cv_prog_cc_c89=no
3393 ac_save_CC=$CC
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h.  */
3396 #include <stdarg.h>
3397 #include <stdio.h>
3398 #include <sys/types.h>
3399 #include <sys/stat.h>
3400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3401 struct buf { int x; };
3402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3403 static char *e (p, i)
3404      char **p;
3405      int i;
3406 {
3407   return p[i];
3408 }
3409 static char *f (char * (*g) (char **, int), char **p, ...)
3410 {
3411   char *s;
3412   va_list v;
3413   va_start (v,p);
3414   s = g (p, va_arg (v,int));
3415   va_end (v);
3416   return s;
3417 }
3418
3419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3420    function prototypes and stuff, but not '\xHH' hex character constants.
3421    These don't provoke an error unfortunately, instead are silently treated
3422    as 'x'.  The following induces an error, until -std is added to get
3423    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3424    array size at least.  It's necessary to write '\x00'==0 to get something
3425    that's true only with -std.  */
3426 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3427
3428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3429    inside strings and character constants.  */
3430 #define FOO(x) 'x'
3431 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3432
3433 int test (int i, double x);
3434 struct s1 {int (*f) (int a);};
3435 struct s2 {int (*f) (double a);};
3436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3437 int argc;
3438 char **argv;
3439 int
3440 main ()
3441 {
3442 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3443   ;
3444   return 0;
3445 }
3446 _ACEOF
3447 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3448         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3449 do
3450   CC="$ac_save_CC $ac_arg"
3451   if ac_fn_c_try_compile "$LINENO"; then :
3452   ac_cv_prog_cc_c89=$ac_arg
3453 fi
3454 rm -f core conftest.err conftest.$ac_objext
3455   test "x$ac_cv_prog_cc_c89" != "xno" && break
3456 done
3457 rm -f conftest.$ac_ext
3458 CC=$ac_save_CC
3459
3460 fi
3461 # AC_CACHE_VAL
3462 case "x$ac_cv_prog_cc_c89" in
3463   x)
3464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3465 $as_echo "none needed" >&6; } ;;
3466   xno)
3467     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3468 $as_echo "unsupported" >&6; } ;;
3469   *)
3470     CC="$CC $ac_cv_prog_cc_c89"
3471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3472 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3473 esac
3474 if test "x$ac_cv_prog_cc_c89" != xno; then :
3475
3476 fi
3477
3478 ac_ext=c
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3483 DEPDIR="${am__leading_dot}deps"
3484
3485 ac_config_commands="$ac_config_commands depfiles"
3486
3487
3488 am_make=${MAKE-make}
3489 cat > confinc << 'END'
3490 am__doit:
3491         @echo this is the am__doit target
3492 .PHONY: am__doit
3493 END
3494 # If we don't find an include directive, just comment out the code.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3496 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3497 am__include="#"
3498 am__quote=
3499 _am_result=none
3500 # First try GNU make style include.
3501 echo "include confinc" > confmf
3502 # Ignore all kinds of additional output from `make'.
3503 case `$am_make -s -f confmf 2> /dev/null` in #(
3504 *the\ am__doit\ target*)
3505   am__include=include
3506   am__quote=
3507   _am_result=GNU
3508   ;;
3509 esac
3510 # Now try BSD make style include.
3511 if test "$am__include" = "#"; then
3512    echo '.include "confinc"' > confmf
3513    case `$am_make -s -f confmf 2> /dev/null` in #(
3514    *the\ am__doit\ target*)
3515      am__include=.include
3516      am__quote="\""
3517      _am_result=BSD
3518      ;;
3519    esac
3520 fi
3521
3522
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3524 $as_echo "$_am_result" >&6; }
3525 rm -f confinc confmf
3526
3527 # Check whether --enable-dependency-tracking was given.
3528 if test "${enable_dependency_tracking+set}" = set; then :
3529   enableval=$enable_dependency_tracking;
3530 fi
3531
3532 if test "x$enable_dependency_tracking" != xno; then
3533   am_depcomp="$ac_aux_dir/depcomp"
3534   AMDEPBACKSLASH='\'
3535 fi
3536  if test "x$enable_dependency_tracking" != xno; then
3537   AMDEP_TRUE=
3538   AMDEP_FALSE='#'
3539 else
3540   AMDEP_TRUE='#'
3541   AMDEP_FALSE=
3542 fi
3543
3544
3545
3546 depcc="$CC"   am_compiler_list=
3547
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3549 $as_echo_n "checking dependency style of $depcc... " >&6; }
3550 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3554   # We make a subdir and do the tests there.  Otherwise we can end up
3555   # making bogus files that we don't know about and never remove.  For
3556   # instance it was reported that on HP-UX the gcc test will end up
3557   # making a dummy file named `D' -- because `-MD' means `put the output
3558   # in D'.
3559   mkdir conftest.dir
3560   # Copy depcomp to subdir because otherwise we won't find it if we're
3561   # using a relative directory.
3562   cp "$am_depcomp" conftest.dir
3563   cd conftest.dir
3564   # We will build objects and dependencies in a subdirectory because
3565   # it helps to detect inapplicable dependency modes.  For instance
3566   # both Tru64's cc and ICC support -MD to output dependencies as a
3567   # side effect of compilation, but ICC will put the dependencies in
3568   # the current directory while Tru64 will put them in the object
3569   # directory.
3570   mkdir sub
3571
3572   am_cv_CC_dependencies_compiler_type=none
3573   if test "$am_compiler_list" = ""; then
3574      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3575   fi
3576   am__universal=false
3577   case " $depcc " in #(
3578      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3579      esac
3580
3581   for depmode in $am_compiler_list; do
3582     # Setup a source with many dependencies, because some compilers
3583     # like to wrap large dependency lists on column 80 (with \), and
3584     # we should not choose a depcomp mode which is confused by this.
3585     #
3586     # We need to recreate these files for each test, as the compiler may
3587     # overwrite some of them when testing with obscure command lines.
3588     # This happens at least with the AIX C compiler.
3589     : > sub/conftest.c
3590     for i in 1 2 3 4 5 6; do
3591       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3592       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3593       # Solaris 8's {/usr,}/bin/sh.
3594       touch sub/conftst$i.h
3595     done
3596     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3597
3598     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3599     # mode.  It turns out that the SunPro C++ compiler does not properly
3600     # handle `-M -o', and we need to detect this.  Also, some Intel
3601     # versions had trouble with output in subdirs
3602     am__obj=sub/conftest.${OBJEXT-o}
3603     am__minus_obj="-o $am__obj"
3604     case $depmode in
3605     gcc)
3606       # This depmode causes a compiler race in universal mode.
3607       test "$am__universal" = false || continue
3608       ;;
3609     nosideeffect)
3610       # after this tag, mechanisms are not by side-effect, so they'll
3611       # only be used when explicitly requested
3612       if test "x$enable_dependency_tracking" = xyes; then
3613         continue
3614       else
3615         break
3616       fi
3617       ;;
3618     msvisualcpp | msvcmsys)
3619       # This compiler won't grok `-c -o', but also, the minuso test has
3620       # not run yet.  These depmodes are late enough in the game, and
3621       # so weak that their functioning should not be impacted.
3622       am__obj=conftest.${OBJEXT-o}
3623       am__minus_obj=
3624       ;;
3625     none) break ;;
3626     esac
3627     if depmode=$depmode \
3628        source=sub/conftest.c object=$am__obj \
3629        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3630        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3631          >/dev/null 2>conftest.err &&
3632        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3633        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3634        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3635        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3636       # icc doesn't choke on unknown options, it will just issue warnings
3637       # or remarks (even with -Werror).  So we grep stderr for any message
3638       # that says an option was ignored or not supported.
3639       # When given -MP, icc 7.0 and 7.1 complain thusly:
3640       #   icc: Command line warning: ignoring option '-M'; no argument required
3641       # The diagnosis changed in icc 8.0:
3642       #   icc: Command line remark: option '-MP' not supported
3643       if (grep 'ignoring option' conftest.err ||
3644           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3645         am_cv_CC_dependencies_compiler_type=$depmode
3646         break
3647       fi
3648     fi
3649   done
3650
3651   cd ..
3652   rm -rf conftest.dir
3653 else
3654   am_cv_CC_dependencies_compiler_type=none
3655 fi
3656
3657 fi
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3659 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3660 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3661
3662  if
3663   test "x$enable_dependency_tracking" != xno \
3664   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3665   am__fastdepCC_TRUE=
3666   am__fastdepCC_FALSE='#'
3667 else
3668   am__fastdepCC_TRUE='#'
3669   am__fastdepCC_FALSE=
3670 fi
3671
3672
3673
3674 # Checks for libraries.
3675
3676 # Checks for header files.
3677
3678 ac_ext=c
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3684 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3685 # On Suns, sometimes $CPP names a directory.
3686 if test -n "$CPP" && test -d "$CPP"; then
3687   CPP=
3688 fi
3689 if test -z "$CPP"; then
3690   if ${ac_cv_prog_CPP+:} false; then :
3691   $as_echo_n "(cached) " >&6
3692 else
3693       # Double quotes because CPP needs to be expanded
3694     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3695     do
3696       ac_preproc_ok=false
3697 for ac_c_preproc_warn_flag in '' yes
3698 do
3699   # Use a header file that comes with gcc, so configuring glibc
3700   # with a fresh cross-compiler works.
3701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3702   # <limits.h> exists even on freestanding compilers.
3703   # On the NeXT, cc -E runs the code through the compiler's parser,
3704   # not just through cpp. "Syntax error" is here to catch this case.
3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h.  */
3707 #ifdef __STDC__
3708 # include <limits.h>
3709 #else
3710 # include <assert.h>
3711 #endif
3712                      Syntax error
3713 _ACEOF
3714 if ac_fn_c_try_cpp "$LINENO"; then :
3715
3716 else
3717   # Broken: fails on valid input.
3718 continue
3719 fi
3720 rm -f conftest.err conftest.i conftest.$ac_ext
3721
3722   # OK, works on sane cases.  Now check whether nonexistent headers
3723   # can be detected and how.
3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h.  */
3726 #include <ac_nonexistent.h>
3727 _ACEOF
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3729   # Broken: success on invalid input.
3730 continue
3731 else
3732   # Passes both tests.
3733 ac_preproc_ok=:
3734 break
3735 fi
3736 rm -f conftest.err conftest.i conftest.$ac_ext
3737
3738 done
3739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3740 rm -f conftest.i conftest.err conftest.$ac_ext
3741 if $ac_preproc_ok; then :
3742   break
3743 fi
3744
3745     done
3746     ac_cv_prog_CPP=$CPP
3747
3748 fi
3749   CPP=$ac_cv_prog_CPP
3750 else
3751   ac_cv_prog_CPP=$CPP
3752 fi
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3754 $as_echo "$CPP" >&6; }
3755 ac_preproc_ok=false
3756 for ac_c_preproc_warn_flag in '' yes
3757 do
3758   # Use a header file that comes with gcc, so configuring glibc
3759   # with a fresh cross-compiler works.
3760   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3761   # <limits.h> exists even on freestanding compilers.
3762   # On the NeXT, cc -E runs the code through the compiler's parser,
3763   # not just through cpp. "Syntax error" is here to catch this case.
3764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h.  */
3766 #ifdef __STDC__
3767 # include <limits.h>
3768 #else
3769 # include <assert.h>
3770 #endif
3771                      Syntax error
3772 _ACEOF
3773 if ac_fn_c_try_cpp "$LINENO"; then :
3774
3775 else
3776   # Broken: fails on valid input.
3777 continue
3778 fi
3779 rm -f conftest.err conftest.i conftest.$ac_ext
3780
3781   # OK, works on sane cases.  Now check whether nonexistent headers
3782   # can be detected and how.
3783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h.  */
3785 #include <ac_nonexistent.h>
3786 _ACEOF
3787 if ac_fn_c_try_cpp "$LINENO"; then :
3788   # Broken: success on invalid input.
3789 continue
3790 else
3791   # Passes both tests.
3792 ac_preproc_ok=:
3793 break
3794 fi
3795 rm -f conftest.err conftest.i conftest.$ac_ext
3796
3797 done
3798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3799 rm -f conftest.i conftest.err conftest.$ac_ext
3800 if $ac_preproc_ok; then :
3801
3802 else
3803   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3806 See \`config.log' for more details" "$LINENO" 5; }
3807 fi
3808
3809 ac_ext=c
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814
3815
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3817 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3818 if ${ac_cv_path_GREP+:} false; then :
3819   $as_echo_n "(cached) " >&6
3820 else
3821   if test -z "$GREP"; then
3822   ac_path_GREP_found=false
3823   # Loop through the user's path and test for each of PROGNAME-LIST
3824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3826 do
3827   IFS=$as_save_IFS
3828   test -z "$as_dir" && as_dir=.
3829     for ac_prog in grep ggrep; do
3830     for ac_exec_ext in '' $ac_executable_extensions; do
3831       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3832       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3833 # Check for GNU ac_path_GREP and select it if it is found.
3834   # Check for GNU $ac_path_GREP
3835 case `"$ac_path_GREP" --version 2>&1` in
3836 *GNU*)
3837   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3838 *)
3839   ac_count=0
3840   $as_echo_n 0123456789 >"conftest.in"
3841   while :
3842   do
3843     cat "conftest.in" "conftest.in" >"conftest.tmp"
3844     mv "conftest.tmp" "conftest.in"
3845     cp "conftest.in" "conftest.nl"
3846     $as_echo 'GREP' >> "conftest.nl"
3847     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3848     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3849     as_fn_arith $ac_count + 1 && ac_count=$as_val
3850     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3851       # Best one so far, save it but keep looking for a better one
3852       ac_cv_path_GREP="$ac_path_GREP"
3853       ac_path_GREP_max=$ac_count
3854     fi
3855     # 10*(2^10) chars as input seems more than enough
3856     test $ac_count -gt 10 && break
3857   done
3858   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3859 esac
3860
3861       $ac_path_GREP_found && break 3
3862     done
3863   done
3864   done
3865 IFS=$as_save_IFS
3866   if test -z "$ac_cv_path_GREP"; then
3867     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3868   fi
3869 else
3870   ac_cv_path_GREP=$GREP
3871 fi
3872
3873 fi
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3875 $as_echo "$ac_cv_path_GREP" >&6; }
3876  GREP="$ac_cv_path_GREP"
3877
3878
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3880 $as_echo_n "checking for egrep... " >&6; }
3881 if ${ac_cv_path_EGREP+:} false; then :
3882   $as_echo_n "(cached) " >&6
3883 else
3884   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3885    then ac_cv_path_EGREP="$GREP -E"
3886    else
3887      if test -z "$EGREP"; then
3888   ac_path_EGREP_found=false
3889   # Loop through the user's path and test for each of PROGNAME-LIST
3890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3892 do
3893   IFS=$as_save_IFS
3894   test -z "$as_dir" && as_dir=.
3895     for ac_prog in egrep; do
3896     for ac_exec_ext in '' $ac_executable_extensions; do
3897       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3898       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3899 # Check for GNU ac_path_EGREP and select it if it is found.
3900   # Check for GNU $ac_path_EGREP
3901 case `"$ac_path_EGREP" --version 2>&1` in
3902 *GNU*)
3903   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3904 *)
3905   ac_count=0
3906   $as_echo_n 0123456789 >"conftest.in"
3907   while :
3908   do
3909     cat "conftest.in" "conftest.in" >"conftest.tmp"
3910     mv "conftest.tmp" "conftest.in"
3911     cp "conftest.in" "conftest.nl"
3912     $as_echo 'EGREP' >> "conftest.nl"
3913     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3914     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3915     as_fn_arith $ac_count + 1 && ac_count=$as_val
3916     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3917       # Best one so far, save it but keep looking for a better one
3918       ac_cv_path_EGREP="$ac_path_EGREP"
3919       ac_path_EGREP_max=$ac_count
3920     fi
3921     # 10*(2^10) chars as input seems more than enough
3922     test $ac_count -gt 10 && break
3923   done
3924   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3925 esac
3926
3927       $ac_path_EGREP_found && break 3
3928     done
3929   done
3930   done
3931 IFS=$as_save_IFS
3932   if test -z "$ac_cv_path_EGREP"; then
3933     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3934   fi
3935 else
3936   ac_cv_path_EGREP=$EGREP
3937 fi
3938
3939    fi
3940 fi
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3942 $as_echo "$ac_cv_path_EGREP" >&6; }
3943  EGREP="$ac_cv_path_EGREP"
3944
3945
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3947 $as_echo_n "checking for ANSI C header files... " >&6; }
3948 if ${ac_cv_header_stdc+:} false; then :
3949   $as_echo_n "(cached) " >&6
3950 else
3951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h.  */
3953 #include <stdlib.h>
3954 #include <stdarg.h>
3955 #include <string.h>
3956 #include <float.h>
3957
3958 int
3959 main ()
3960 {
3961
3962   ;
3963   return 0;
3964 }
3965 _ACEOF
3966 if ac_fn_c_try_compile "$LINENO"; then :
3967   ac_cv_header_stdc=yes
3968 else
3969   ac_cv_header_stdc=no
3970 fi
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972
3973 if test $ac_cv_header_stdc = yes; then
3974   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h.  */
3977 #include <string.h>
3978
3979 _ACEOF
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981   $EGREP "memchr" >/dev/null 2>&1; then :
3982
3983 else
3984   ac_cv_header_stdc=no
3985 fi
3986 rm -f conftest*
3987
3988 fi
3989
3990 if test $ac_cv_header_stdc = yes; then
3991   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h.  */
3994 #include <stdlib.h>
3995
3996 _ACEOF
3997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3998   $EGREP "free" >/dev/null 2>&1; then :
3999
4000 else
4001   ac_cv_header_stdc=no
4002 fi
4003 rm -f conftest*
4004
4005 fi
4006
4007 if test $ac_cv_header_stdc = yes; then
4008   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4009   if test "$cross_compiling" = yes; then :
4010   :
4011 else
4012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h.  */
4014 #include <ctype.h>
4015 #include <stdlib.h>
4016 #if ((' ' & 0x0FF) == 0x020)
4017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4019 #else
4020 # define ISLOWER(c) \
4021                    (('a' <= (c) && (c) <= 'i') \
4022                      || ('j' <= (c) && (c) <= 'r') \
4023                      || ('s' <= (c) && (c) <= 'z'))
4024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4025 #endif
4026
4027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4028 int
4029 main ()
4030 {
4031   int i;
4032   for (i = 0; i < 256; i++)
4033     if (XOR (islower (i), ISLOWER (i))
4034         || toupper (i) != TOUPPER (i))
4035       return 2;
4036   return 0;
4037 }
4038 _ACEOF
4039 if ac_fn_c_try_run "$LINENO"; then :
4040
4041 else
4042   ac_cv_header_stdc=no
4043 fi
4044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4045   conftest.$ac_objext conftest.beam conftest.$ac_ext
4046 fi
4047
4048 fi
4049 fi
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4051 $as_echo "$ac_cv_header_stdc" >&6; }
4052 if test $ac_cv_header_stdc = yes; then
4053
4054 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4055
4056 fi
4057
4058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4059 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4060                   inttypes.h stdint.h unistd.h
4061 do :
4062   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4064 "
4065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4066   cat >>confdefs.h <<_ACEOF
4067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4068 _ACEOF
4069
4070 fi
4071
4072 done
4073
4074
4075 for ac_header in arpa/inet.h fcntl.h libintl.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h
4076 do :
4077   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4078 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4079 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4080   cat >>confdefs.h <<_ACEOF
4081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4082 _ACEOF
4083
4084 fi
4085
4086 done
4087
4088
4089 # Checks for typedefs, structures, and compiler characteristics.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4091 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4092 if ${ac_cv_header_stdbool_h+:} false; then :
4093   $as_echo_n "(cached) " >&6
4094 else
4095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h.  */
4097
4098 #include <stdbool.h>
4099 #ifndef bool
4100  "error: bool is not defined"
4101 #endif
4102 #ifndef false
4103  "error: false is not defined"
4104 #endif
4105 #if false
4106  "error: false is not 0"
4107 #endif
4108 #ifndef true
4109  "error: true is not defined"
4110 #endif
4111 #if true != 1
4112  "error: true is not 1"
4113 #endif
4114 #ifndef __bool_true_false_are_defined
4115  "error: __bool_true_false_are_defined is not defined"
4116 #endif
4117
4118         struct s { _Bool s: 1; _Bool t; } s;
4119
4120         char a[true == 1 ? 1 : -1];
4121         char b[false == 0 ? 1 : -1];
4122         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4123         char d[(bool) 0.5 == true ? 1 : -1];
4124         /* See body of main program for 'e'.  */
4125         char f[(_Bool) 0.0 == false ? 1 : -1];
4126         char g[true];
4127         char h[sizeof (_Bool)];
4128         char i[sizeof s.t];
4129         enum { j = false, k = true, l = false * true, m = true * 256 };
4130         /* The following fails for
4131            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4132         _Bool n[m];
4133         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4134         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4135         /* Catch a bug in an HP-UX C compiler.  See
4136            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4137            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4138          */
4139         _Bool q = true;
4140         _Bool *pq = &q;
4141
4142 int
4143 main ()
4144 {
4145
4146         bool e = &s;
4147         *pq |= q;
4148         *pq |= ! q;
4149         /* Refer to every declared value, to avoid compiler optimizations.  */
4150         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4151                 + !m + !n + !o + !p + !q + !pq);
4152
4153   ;
4154   return 0;
4155 }
4156 _ACEOF
4157 if ac_fn_c_try_compile "$LINENO"; then :
4158   ac_cv_header_stdbool_h=yes
4159 else
4160   ac_cv_header_stdbool_h=no
4161 fi
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 fi
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4165 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4166 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4167 if test "x$ac_cv_type__Bool" = xyes; then :
4168
4169 cat >>confdefs.h <<_ACEOF
4170 #define HAVE__BOOL 1
4171 _ACEOF
4172
4173
4174 fi
4175
4176 if test $ac_cv_header_stdbool_h = yes; then
4177
4178 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4179
4180 fi
4181
4182 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4183 if test "x$ac_cv_type_size_t" = xyes; then :
4184
4185 else
4186
4187 cat >>confdefs.h <<_ACEOF
4188 #define size_t unsigned int
4189 _ACEOF
4190
4191 fi
4192
4193
4194 # Checks for library functions.
4195 for ac_header in stdlib.h
4196 do :
4197   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4198 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4199   cat >>confdefs.h <<_ACEOF
4200 #define HAVE_STDLIB_H 1
4201 _ACEOF
4202
4203 fi
4204
4205 done
4206
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4208 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4209 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4210   $as_echo_n "(cached) " >&6
4211 else
4212   if test "$cross_compiling" = yes; then :
4213   ac_cv_func_malloc_0_nonnull=no
4214 else
4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h.  */
4217 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4218 # include <stdlib.h>
4219 #else
4220 char *malloc ();
4221 #endif
4222
4223 int
4224 main ()
4225 {
4226 return ! malloc (0);
4227   ;
4228   return 0;
4229 }
4230 _ACEOF
4231 if ac_fn_c_try_run "$LINENO"; then :
4232   ac_cv_func_malloc_0_nonnull=yes
4233 else
4234   ac_cv_func_malloc_0_nonnull=no
4235 fi
4236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4237   conftest.$ac_objext conftest.beam conftest.$ac_ext
4238 fi
4239
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4242 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4243 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4244
4245 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4246
4247 else
4248   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4249
4250    case " $LIBOBJS " in
4251   *" malloc.$ac_objext "* ) ;;
4252   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4253  ;;
4254 esac
4255
4256
4257 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4258
4259 fi
4260
4261
4262 for ac_func in inet_ntoa memset strerror strstr
4263 do :
4264   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4267   cat >>confdefs.h <<_ACEOF
4268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4269 _ACEOF
4270
4271 fi
4272 done
4273
4274
4275 # GNU commandline parsing in getopt.h present?
4276 for ac_header in getopt.h
4277 do :
4278   ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
4279 if test "x$ac_cv_header_getopt_h" = xyes; then :
4280   cat >>confdefs.h <<_ACEOF
4281 #define HAVE_GETOPT_H 1
4282 _ACEOF
4283  $as_echo "#define HAVE_GETOPT_H 1" >>confdefs.h
4284
4285 else
4286   import_sources="getopt.c getopt1.c $import_sources"
4287 fi
4288
4289 done
4290
4291
4292 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile contrib/Makefile"
4293
4294
4295
4296 # Check whether --with-dhcpd-conf was given.
4297 if test "${with_dhcpd_conf+set}" = set; then :
4298   withval=$with_dhcpd_conf; cat >>confdefs.h <<_ACEOF
4299 #define DHCPDCONF_FILE "$withval"
4300 _ACEOF
4301
4302 else
4303
4304 $as_echo "#define DHCPDCONF_FILE \"/etc/dhcpd.conf\"" >>confdefs.h
4305
4306 fi
4307
4308
4309 # Check whether --with-dhcpd-leases was given.
4310 if test "${with_dhcpd_leases+set}" = set; then :
4311   withval=$with_dhcpd_leases; cat >>confdefs.h <<_ACEOF
4312 #define DHCPDLEASE_FILE "$withval"
4313 _ACEOF
4314
4315 else
4316
4317 $as_echo "#define DHCPDLEASE_FILE \"/var/lib/dhcp/dhcpd.leases\"" >>confdefs.h
4318
4319 fi
4320
4321
4322 # Check whether --with-output-format was given.
4323 if test "${with_output_format+set}" = set; then :
4324   withval=$with_output_format; cat >>confdefs.h <<_ACEOF
4325 #define OUTPUT_FORMAT "$withval"
4326 _ACEOF
4327
4328 else
4329
4330 $as_echo "#define OUTPUT_FORMAT \"text\"" >>confdefs.h
4331
4332 fi
4333
4334
4335 # Check whether --with-output-limit was given.
4336 if test "${with_output_limit+set}" = set; then :
4337   withval=$with_output_limit; cat >>confdefs.h <<_ACEOF
4338 #define OUTPUT_LIMIT "$withval"
4339 _ACEOF
4340
4341 else
4342
4343 $as_echo "#define OUTPUT_LIMIT \"77\"" >>confdefs.h
4344
4345 fi
4346
4347
4348 cat >confcache <<\_ACEOF
4349 # This file is a shell script that caches the results of configure
4350 # tests run on this system so they can be shared between configure
4351 # scripts and configure runs, see configure's option --config-cache.
4352 # It is not useful on other systems.  If it contains results you don't
4353 # want to keep, you may remove or edit it.
4354 #
4355 # config.status only pays attention to the cache file if you give it
4356 # the --recheck option to rerun configure.
4357 #
4358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4360 # following values.
4361
4362 _ACEOF
4363
4364 # The following way of writing the cache mishandles newlines in values,
4365 # but we know of no workaround that is simple, portable, and efficient.
4366 # So, we kill variables containing newlines.
4367 # Ultrix sh set writes to stderr and can't be redirected directly,
4368 # and sets the high bit in the cache file unless we assign to the vars.
4369 (
4370   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4371     eval ac_val=\$$ac_var
4372     case $ac_val in #(
4373     *${as_nl}*)
4374       case $ac_var in #(
4375       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4377       esac
4378       case $ac_var in #(
4379       _ | IFS | as_nl) ;; #(
4380       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4381       *) { eval $ac_var=; unset $ac_var;} ;;
4382       esac ;;
4383     esac
4384   done
4385
4386   (set) 2>&1 |
4387     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4388     *${as_nl}ac_space=\ *)
4389       # `set' does not quote correctly, so add quotes: double-quote
4390       # substitution turns \\\\ into \\, and sed turns \\ into \.
4391       sed -n \
4392         "s/'/'\\\\''/g;
4393           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4394       ;; #(
4395     *)
4396       # `set' quotes correctly as required by POSIX, so do not add quotes.
4397       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4398       ;;
4399     esac |
4400     sort
4401 ) |
4402   sed '
4403      /^ac_cv_env_/b end
4404      t clear
4405      :clear
4406      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4407      t end
4408      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4409      :end' >>confcache
4410 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4411   if test -w "$cache_file"; then
4412     if test "x$cache_file" != "x/dev/null"; then
4413       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4414 $as_echo "$as_me: updating cache $cache_file" >&6;}
4415       if test ! -f "$cache_file" || test -h "$cache_file"; then
4416         cat confcache >"$cache_file"
4417       else
4418         case $cache_file in #(
4419         */* | ?:*)
4420           mv -f confcache "$cache_file"$$ &&
4421           mv -f "$cache_file"$$ "$cache_file" ;; #(
4422         *)
4423           mv -f confcache "$cache_file" ;;
4424         esac
4425       fi
4426     fi
4427   else
4428     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4430   fi
4431 fi
4432 rm -f confcache
4433
4434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4435 # Let make expand exec_prefix.
4436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4437
4438 DEFS=-DHAVE_CONFIG_H
4439
4440 ac_libobjs=
4441 ac_ltlibobjs=
4442 U=
4443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4444   # 1. Remove the extension, and $U if already installed.
4445   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4446   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4447   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4448   #    will be set to the directory where LIBOBJS objects are built.
4449   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4450   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4451 done
4452 LIBOBJS=$ac_libobjs
4453
4454 LTLIBOBJS=$ac_ltlibobjs
4455
4456
4457  if test -n "$EXEEXT"; then
4458   am__EXEEXT_TRUE=
4459   am__EXEEXT_FALSE='#'
4460 else
4461   am__EXEEXT_TRUE='#'
4462   am__EXEEXT_FALSE=
4463 fi
4464
4465 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4466   as_fn_error $? "conditional \"AMDEP\" was never defined.
4467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4468 fi
4469 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4470   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4472 fi
4473
4474 : "${CONFIG_STATUS=./config.status}"
4475 ac_write_fail=0
4476 ac_clean_files_save=$ac_clean_files
4477 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4479 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4480 as_write_fail=0
4481 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4482 #! $SHELL
4483 # Generated by $as_me.
4484 # Run this file to recreate the current configuration.
4485 # Compiler output produced by configure, useful for debugging
4486 # configure, is in config.log if it exists.
4487
4488 debug=false
4489 ac_cs_recheck=false
4490 ac_cs_silent=false
4491
4492 SHELL=\${CONFIG_SHELL-$SHELL}
4493 export SHELL
4494 _ASEOF
4495 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4496 ## -------------------- ##
4497 ## M4sh Initialization. ##
4498 ## -------------------- ##
4499
4500 # Be more Bourne compatible
4501 DUALCASE=1; export DUALCASE # for MKS sh
4502 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4503   emulate sh
4504   NULLCMD=:
4505   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4506   # is contrary to our usage.  Disable this feature.
4507   alias -g '${1+"$@"}'='"$@"'
4508   setopt NO_GLOB_SUBST
4509 else
4510   case `(set -o) 2>/dev/null` in #(
4511   *posix*) :
4512     set -o posix ;; #(
4513   *) :
4514      ;;
4515 esac
4516 fi
4517
4518
4519 as_nl='
4520 '
4521 export as_nl
4522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4526 # Prefer a ksh shell builtin over an external printf program on Solaris,
4527 # but without wasting forks for bash or zsh.
4528 if test -z "$BASH_VERSION$ZSH_VERSION" \
4529     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4530   as_echo='print -r --'
4531   as_echo_n='print -rn --'
4532 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4533   as_echo='printf %s\n'
4534   as_echo_n='printf %s'
4535 else
4536   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4537     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4538     as_echo_n='/usr/ucb/echo -n'
4539   else
4540     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4541     as_echo_n_body='eval
4542       arg=$1;
4543       case $arg in #(
4544       *"$as_nl"*)
4545         expr "X$arg" : "X\\(.*\\)$as_nl";
4546         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4547       esac;
4548       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4549     '
4550     export as_echo_n_body
4551     as_echo_n='sh -c $as_echo_n_body as_echo'
4552   fi
4553   export as_echo_body
4554   as_echo='sh -c $as_echo_body as_echo'
4555 fi
4556
4557 # The user is always right.
4558 if test "${PATH_SEPARATOR+set}" != set; then
4559   PATH_SEPARATOR=:
4560   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4561     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4562       PATH_SEPARATOR=';'
4563   }
4564 fi
4565
4566
4567 # IFS
4568 # We need space, tab and new line, in precisely that order.  Quoting is
4569 # there to prevent editors from complaining about space-tab.
4570 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4571 # splitting by setting IFS to empty value.)
4572 IFS=" ""        $as_nl"
4573
4574 # Find who we are.  Look in the path if we contain no directory separator.
4575 as_myself=
4576 case $0 in #((
4577   *[\\/]* ) as_myself=$0 ;;
4578   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4580 do
4581   IFS=$as_save_IFS
4582   test -z "$as_dir" && as_dir=.
4583     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4584   done
4585 IFS=$as_save_IFS
4586
4587      ;;
4588 esac
4589 # We did not find ourselves, most probably we were run as `sh COMMAND'
4590 # in which case we are not to be found in the path.
4591 if test "x$as_myself" = x; then
4592   as_myself=$0
4593 fi
4594 if test ! -f "$as_myself"; then
4595   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4596   exit 1
4597 fi
4598
4599 # Unset variables that we do not need and which cause bugs (e.g. in
4600 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4601 # suppresses any "Segmentation fault" message there.  '((' could
4602 # trigger a bug in pdksh 5.2.14.
4603 for as_var in BASH_ENV ENV MAIL MAILPATH
4604 do eval test x\${$as_var+set} = xset \
4605   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4606 done
4607 PS1='$ '
4608 PS2='> '
4609 PS4='+ '
4610
4611 # NLS nuisances.
4612 LC_ALL=C
4613 export LC_ALL
4614 LANGUAGE=C
4615 export LANGUAGE
4616
4617 # CDPATH.
4618 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4619
4620
4621 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4622 # ----------------------------------------
4623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4625 # script with STATUS, using 1 if that was 0.
4626 as_fn_error ()
4627 {
4628   as_status=$1; test $as_status -eq 0 && as_status=1
4629   if test "$4"; then
4630     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4631     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4632   fi
4633   $as_echo "$as_me: error: $2" >&2
4634   as_fn_exit $as_status
4635 } # as_fn_error
4636
4637
4638 # as_fn_set_status STATUS
4639 # -----------------------
4640 # Set $? to STATUS, without forking.
4641 as_fn_set_status ()
4642 {
4643   return $1
4644 } # as_fn_set_status
4645
4646 # as_fn_exit STATUS
4647 # -----------------
4648 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4649 as_fn_exit ()
4650 {
4651   set +e
4652   as_fn_set_status $1
4653   exit $1
4654 } # as_fn_exit
4655
4656 # as_fn_unset VAR
4657 # ---------------
4658 # Portably unset VAR.
4659 as_fn_unset ()
4660 {
4661   { eval $1=; unset $1;}
4662 }
4663 as_unset=as_fn_unset
4664 # as_fn_append VAR VALUE
4665 # ----------------------
4666 # Append the text in VALUE to the end of the definition contained in VAR. Take
4667 # advantage of any shell optimizations that allow amortized linear growth over
4668 # repeated appends, instead of the typical quadratic growth present in naive
4669 # implementations.
4670 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4671   eval 'as_fn_append ()
4672   {
4673     eval $1+=\$2
4674   }'
4675 else
4676   as_fn_append ()
4677   {
4678     eval $1=\$$1\$2
4679   }
4680 fi # as_fn_append
4681
4682 # as_fn_arith ARG...
4683 # ------------------
4684 # Perform arithmetic evaluation on the ARGs, and store the result in the
4685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4686 # must be portable across $(()) and expr.
4687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4688   eval 'as_fn_arith ()
4689   {
4690     as_val=$(( $* ))
4691   }'
4692 else
4693   as_fn_arith ()
4694   {
4695     as_val=`expr "$@" || test $? -eq 1`
4696   }
4697 fi # as_fn_arith
4698
4699
4700 if expr a : '\(a\)' >/dev/null 2>&1 &&
4701    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4702   as_expr=expr
4703 else
4704   as_expr=false
4705 fi
4706
4707 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4708   as_basename=basename
4709 else
4710   as_basename=false
4711 fi
4712
4713 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4714   as_dirname=dirname
4715 else
4716   as_dirname=false
4717 fi
4718
4719 as_me=`$as_basename -- "$0" ||
4720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4721          X"$0" : 'X\(//\)$' \| \
4722          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4723 $as_echo X/"$0" |
4724     sed '/^.*\/\([^/][^/]*\)\/*$/{
4725             s//\1/
4726             q
4727           }
4728           /^X\/\(\/\/\)$/{
4729             s//\1/
4730             q
4731           }
4732           /^X\/\(\/\).*/{
4733             s//\1/
4734             q
4735           }
4736           s/.*/./; q'`
4737
4738 # Avoid depending upon Character Ranges.
4739 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4740 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4741 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4742 as_cr_digits='0123456789'
4743 as_cr_alnum=$as_cr_Letters$as_cr_digits
4744
4745 ECHO_C= ECHO_N= ECHO_T=
4746 case `echo -n x` in #(((((
4747 -n*)
4748   case `echo 'xy\c'` in
4749   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4750   xy)  ECHO_C='\c';;
4751   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4752        ECHO_T=' ';;
4753   esac;;
4754 *)
4755   ECHO_N='-n';;
4756 esac
4757
4758 rm -f conf$$ conf$$.exe conf$$.file
4759 if test -d conf$$.dir; then
4760   rm -f conf$$.dir/conf$$.file
4761 else
4762   rm -f conf$$.dir
4763   mkdir conf$$.dir 2>/dev/null
4764 fi
4765 if (echo >conf$$.file) 2>/dev/null; then
4766   if ln -s conf$$.file conf$$ 2>/dev/null; then
4767     as_ln_s='ln -s'
4768     # ... but there are two gotchas:
4769     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4770     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4771     # In both cases, we have to default to `cp -p'.
4772     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4773       as_ln_s='cp -p'
4774   elif ln conf$$.file conf$$ 2>/dev/null; then
4775     as_ln_s=ln
4776   else
4777     as_ln_s='cp -p'
4778   fi
4779 else
4780   as_ln_s='cp -p'
4781 fi
4782 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4783 rmdir conf$$.dir 2>/dev/null
4784
4785
4786 # as_fn_mkdir_p
4787 # -------------
4788 # Create "$as_dir" as a directory, including parents if necessary.
4789 as_fn_mkdir_p ()
4790 {
4791
4792   case $as_dir in #(
4793   -*) as_dir=./$as_dir;;
4794   esac
4795   test -d "$as_dir" || eval $as_mkdir_p || {
4796     as_dirs=
4797     while :; do
4798       case $as_dir in #(
4799       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4800       *) as_qdir=$as_dir;;
4801       esac
4802       as_dirs="'$as_qdir' $as_dirs"
4803       as_dir=`$as_dirname -- "$as_dir" ||
4804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4805          X"$as_dir" : 'X\(//\)[^/]' \| \
4806          X"$as_dir" : 'X\(//\)$' \| \
4807          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4808 $as_echo X"$as_dir" |
4809     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4810             s//\1/
4811             q
4812           }
4813           /^X\(\/\/\)[^/].*/{
4814             s//\1/
4815             q
4816           }
4817           /^X\(\/\/\)$/{
4818             s//\1/
4819             q
4820           }
4821           /^X\(\/\).*/{
4822             s//\1/
4823             q
4824           }
4825           s/.*/./; q'`
4826       test -d "$as_dir" && break
4827     done
4828     test -z "$as_dirs" || eval "mkdir $as_dirs"
4829   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4830
4831
4832 } # as_fn_mkdir_p
4833 if mkdir -p . 2>/dev/null; then
4834   as_mkdir_p='mkdir -p "$as_dir"'
4835 else
4836   test -d ./-p && rmdir ./-p
4837   as_mkdir_p=false
4838 fi
4839
4840 if test -x / >/dev/null 2>&1; then
4841   as_test_x='test -x'
4842 else
4843   if ls -dL / >/dev/null 2>&1; then
4844     as_ls_L_option=L
4845   else
4846     as_ls_L_option=
4847   fi
4848   as_test_x='
4849     eval sh -c '\''
4850       if test -d "$1"; then
4851         test -d "$1/.";
4852       else
4853         case $1 in #(
4854         -*)set "./$1";;
4855         esac;
4856         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4857         ???[sx]*):;;*)false;;esac;fi
4858     '\'' sh
4859   '
4860 fi
4861 as_executable_p=$as_test_x
4862
4863 # Sed expression to map a string onto a valid CPP name.
4864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4865
4866 # Sed expression to map a string onto a valid variable name.
4867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4868
4869
4870 exec 6>&1
4871 ## ----------------------------------- ##
4872 ## Main body of $CONFIG_STATUS script. ##
4873 ## ----------------------------------- ##
4874 _ASEOF
4875 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4876
4877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4878 # Save the log message, to keep $0 and so on meaningful, and to
4879 # report actual input values of CONFIG_FILES etc. instead of their
4880 # values after options handling.
4881 ac_log="
4882 This file was extended by dhcpd-pools $as_me 2.13, which was
4883 generated by GNU Autoconf 2.67.69-a1ef66.  Invocation command line was
4884
4885   CONFIG_FILES    = $CONFIG_FILES
4886   CONFIG_HEADERS  = $CONFIG_HEADERS
4887   CONFIG_LINKS    = $CONFIG_LINKS
4888   CONFIG_COMMANDS = $CONFIG_COMMANDS
4889   $ $0 $@
4890
4891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4892 "
4893
4894 _ACEOF
4895
4896 case $ac_config_files in *"
4897 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4898 esac
4899
4900 case $ac_config_headers in *"
4901 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4902 esac
4903
4904
4905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4906 # Files that config.status was made for.
4907 config_files="$ac_config_files"
4908 config_headers="$ac_config_headers"
4909 config_commands="$ac_config_commands"
4910
4911 _ACEOF
4912
4913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4914 ac_cs_usage="\
4915 \`$as_me' instantiates files and other configuration actions
4916 from templates according to the current configuration.  Unless the files
4917 and actions are specified as TAGs, all are instantiated by default.
4918
4919 Usage: $0 [OPTION]... [TAG]...
4920
4921   -h, --help       print this help, then exit
4922   -V, --version    print version number and configuration settings, then exit
4923       --config     print configuration, then exit
4924   -q, --quiet, --silent
4925                    do not print progress messages
4926   -d, --debug      don't remove temporary files
4927       --recheck    update $as_me by reconfiguring in the same conditions
4928       --file=FILE[:TEMPLATE]
4929                    instantiate the configuration file FILE
4930       --header=FILE[:TEMPLATE]
4931                    instantiate the configuration header FILE
4932
4933 Configuration files:
4934 $config_files
4935
4936 Configuration headers:
4937 $config_headers
4938
4939 Configuration commands:
4940 $config_commands
4941
4942 Report bugs to <kerolasa@iki.fi>.
4943 dhcpd-pools home page: <http://dhcpd-pools.sourceforge.net/>."
4944
4945 _ACEOF
4946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4948 ac_cs_version="\\
4949 dhcpd-pools config.status 2.13
4950 configured by $0, generated by GNU Autoconf 2.67.69-a1ef66,
4951   with options \\"\$ac_cs_config\\"
4952
4953 Copyright (C) 2010 Free Software Foundation, Inc.
4954 This config.status script is free software; the Free Software Foundation
4955 gives unlimited permission to copy, distribute and modify it."
4956
4957 ac_pwd='$ac_pwd'
4958 srcdir='$srcdir'
4959 INSTALL='$INSTALL'
4960 MKDIR_P='$MKDIR_P'
4961 AWK='$AWK'
4962 test -n "\$AWK" || AWK=awk
4963 _ACEOF
4964
4965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4966 # The default lists apply if the user does not specify any file.
4967 ac_need_defaults=:
4968 while test $# != 0
4969 do
4970   case $1 in
4971   --*=?*)
4972     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4973     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4974     ac_shift=:
4975     ;;
4976   --*=)
4977     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4978     ac_optarg=
4979     ac_shift=:
4980     ;;
4981   *)
4982     ac_option=$1
4983     ac_optarg=$2
4984     ac_shift=shift
4985     ;;
4986   esac
4987
4988   case $ac_option in
4989   # Handling of the options.
4990   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4991     ac_cs_recheck=: ;;
4992   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4993     $as_echo "$ac_cs_version"; exit ;;
4994   --config | --confi | --conf | --con | --co | --c )
4995     $as_echo "$ac_cs_config"; exit ;;
4996   --debug | --debu | --deb | --de | --d | -d )
4997     debug=: ;;
4998   --file | --fil | --fi | --f )
4999     $ac_shift
5000     case $ac_optarg in
5001     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5002     '') as_fn_error $? "missing file argument" ;;
5003     esac
5004     as_fn_append CONFIG_FILES " '$ac_optarg'"
5005     ac_need_defaults=false;;
5006   --header | --heade | --head | --hea )
5007     $ac_shift
5008     case $ac_optarg in
5009     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5010     esac
5011     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5012     ac_need_defaults=false;;
5013   --he | --h)
5014     # Conflict between --help and --header
5015     as_fn_error $? "ambiguous option: \`$1'
5016 Try \`$0 --help' for more information.";;
5017   --help | --hel | -h )
5018     $as_echo "$ac_cs_usage"; exit ;;
5019   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5020   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5021     ac_cs_silent=: ;;
5022
5023   # This is an error.
5024   -*) as_fn_error $? "unrecognized option: \`$1'
5025 Try \`$0 --help' for more information." ;;
5026
5027   *) as_fn_append ac_config_targets " $1"
5028      ac_need_defaults=false ;;
5029
5030   esac
5031   shift
5032 done
5033
5034 ac_configure_extra_args=
5035
5036 if $ac_cs_silent; then
5037   exec 6>/dev/null
5038   ac_configure_extra_args="$ac_configure_extra_args --silent"
5039 fi
5040
5041 _ACEOF
5042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5043 if \$ac_cs_recheck; then
5044   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5045   shift
5046   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5047   CONFIG_SHELL='$SHELL'
5048   export CONFIG_SHELL
5049   exec "\$@"
5050 fi
5051
5052 _ACEOF
5053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5054 exec 5>>config.log
5055 {
5056   echo
5057   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5058 ## Running $as_me. ##
5059 _ASBOX
5060   $as_echo "$ac_log"
5061 } >&5
5062
5063 _ACEOF
5064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5065 #
5066 # INIT-COMMANDS
5067 #
5068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5069
5070 _ACEOF
5071
5072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5073
5074 # Handling of arguments.
5075 for ac_config_target in $ac_config_targets
5076 do
5077   case $ac_config_target in
5078     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5079     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5080     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5081     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5082     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5083     "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
5084
5085   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5086   esac
5087 done
5088
5089
5090 # If the user did not use the arguments to specify the items to instantiate,
5091 # then the envvar interface is used.  Set only those that are not.
5092 # We use the long form for the default assignment because of an extremely
5093 # bizarre bug on SunOS 4.1.3.
5094 if $ac_need_defaults; then
5095   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5096   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5097   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5098 fi
5099
5100 # Have a temporary directory for convenience.  Make it in the build tree
5101 # simply because there is no reason against having it here, and in addition,
5102 # creating and moving files from /tmp can sometimes cause problems.
5103 # Hook for its removal unless debugging.
5104 # Note that there is a small window in which the directory will not be cleaned:
5105 # after its creation but before its name has been assigned to `$tmp'.
5106 $debug ||
5107 {
5108   tmp= ac_tmp=
5109   trap 'exit_status=$?
5110   : "${ac_tmp:=$tmp}"
5111   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5112 ' 0
5113   trap 'as_fn_exit 1' 1 2 13 15
5114 }
5115 # Create a (secure) tmp directory for tmp files.
5116
5117 {
5118   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5119   test -d "$tmp"
5120 }  ||
5121 {
5122   tmp=./conf$$-$RANDOM
5123   (umask 077 && mkdir "$tmp")
5124 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5125 ac_tmp=$tmp
5126
5127 # Set up the scripts for CONFIG_FILES section.
5128 # No need to generate them if there are no CONFIG_FILES.
5129 # This happens for instance with `./config.status config.h'.
5130 if test -n "$CONFIG_FILES"; then
5131
5132
5133 ac_cr=`echo X | tr X '\015'`
5134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5135 # But we know of no other shell where ac_cr would be empty at this
5136 # point, so we can use a bashism as a fallback.
5137 if test "x$ac_cr" = x; then
5138   eval ac_cr=\$\'\\r\'
5139 fi
5140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5142   ac_cs_awk_cr='\\r'
5143 else
5144   ac_cs_awk_cr=$ac_cr
5145 fi
5146
5147 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5148 _ACEOF
5149
5150
5151 {
5152   echo "cat >conf$$subs.awk <<_ACEOF" &&
5153   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5154   echo "_ACEOF"
5155 } >conf$$subs.sh ||
5156   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5158 ac_delim='%!_!# '
5159 for ac_last_try in false false false false false :; do
5160   . ./conf$$subs.sh ||
5161     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5162
5163   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5164   if test $ac_delim_n = $ac_delim_num; then
5165     break
5166   elif $ac_last_try; then
5167     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5168   else
5169     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5170   fi
5171 done
5172 rm -f conf$$subs.sh
5173
5174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5175 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5176 _ACEOF
5177 sed -n '
5178 h
5179 s/^/S["/; s/!.*/"]=/
5180 p
5181 g
5182 s/^[^!]*!//
5183 :repl
5184 t repl
5185 s/'"$ac_delim"'$//
5186 t delim
5187 :nl
5188 h
5189 s/\(.\{148\}\)..*/\1/
5190 t more1
5191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5192 p
5193 n
5194 b repl
5195 :more1
5196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5197 p
5198 g
5199 s/.\{148\}//
5200 t nl
5201 :delim
5202 h
5203 s/\(.\{148\}\)..*/\1/
5204 t more2
5205 s/["\\]/\\&/g; s/^/"/; s/$/"/
5206 p
5207 b
5208 :more2
5209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5210 p
5211 g
5212 s/.\{148\}//
5213 t delim
5214 ' <conf$$subs.awk | sed '
5215 /^[^""]/{
5216   N
5217   s/\n//
5218 }
5219 ' >>$CONFIG_STATUS || ac_write_fail=1
5220 rm -f conf$$subs.awk
5221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5222 _ACAWK
5223 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5224   for (key in S) S_is_set[key] = 1
5225   FS = "\a"
5226
5227 }
5228 {
5229   line = $ 0
5230   nfields = split(line, field, "@")
5231   substed = 0
5232   len = length(field[1])
5233   for (i = 2; i < nfields; i++) {
5234     key = field[i]
5235     keylen = length(key)
5236     if (S_is_set[key]) {
5237       value = S[key]
5238       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5239       len += length(value) + length(field[++i])
5240       substed = 1
5241     } else
5242       len += 1 + keylen
5243   }
5244
5245   print line
5246 }
5247
5248 _ACAWK
5249 _ACEOF
5250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5252   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5253 else
5254   cat
5255 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5256   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5257 _ACEOF
5258
5259 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5260 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5261 # trailing colons and then remove the whole line if VPATH becomes empty
5262 # (actually we leave an empty line to preserve line numbers).
5263 if test "x$srcdir" = x.; then
5264   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5265 h
5266 s///
5267 s/^/:/
5268 s/[      ]*$/:/
5269 s/:\$(srcdir):/:/g
5270 s/:\${srcdir}:/:/g
5271 s/:@srcdir@:/:/g
5272 s/^:*//
5273 s/:*$//
5274 x
5275 s/\(=[   ]*\).*/\1/
5276 G
5277 s/\n//
5278 s/^[^=]*=[       ]*$//
5279 }'
5280 fi
5281
5282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 fi # test -n "$CONFIG_FILES"
5284
5285 # Set up the scripts for CONFIG_HEADERS section.
5286 # No need to generate them if there are no CONFIG_HEADERS.
5287 # This happens for instance with `./config.status Makefile'.
5288 if test -n "$CONFIG_HEADERS"; then
5289 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5290 BEGIN {
5291 _ACEOF
5292
5293 # Transform confdefs.h into an awk script `defines.awk', embedded as
5294 # here-document in config.status, that substitutes the proper values into
5295 # config.h.in to produce config.h.
5296
5297 # Create a delimiter string that does not exist in confdefs.h, to ease
5298 # handling of long lines.
5299 ac_delim='%!_!# '
5300 for ac_last_try in false false :; do
5301   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5302   if test -z "$ac_t"; then
5303     break
5304   elif $ac_last_try; then
5305     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5306   else
5307     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5308   fi
5309 done
5310
5311 # For the awk script, D is an array of macro values keyed by name,
5312 # likewise P contains macro parameters if any.  Preserve backslash
5313 # newline sequences.
5314
5315 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5316 sed -n '
5317 s/.\{148\}/&'"$ac_delim"'/g
5318 t rset
5319 :rset
5320 s/^[     ]*#[    ]*define[       ][      ]*/ /
5321 t def
5322 d
5323 :def
5324 s/\\$//
5325 t bsnl
5326 s/["\\]/\\&/g
5327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5328 D["\1"]=" \3"/p
5329 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5330 d
5331 :bsnl
5332 s/["\\]/\\&/g
5333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5334 D["\1"]=" \3\\\\\\n"\\/p
5335 t cont
5336 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5337 t cont
5338 d
5339 :cont
5340 n
5341 s/.\{148\}/&'"$ac_delim"'/g
5342 t clear
5343 :clear
5344 s/\\$//
5345 t bsnlc
5346 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5347 d
5348 :bsnlc
5349 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5350 b cont
5351 ' <confdefs.h | sed '
5352 s/'"$ac_delim"'/"\\\
5353 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5354
5355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5356   for (key in D) D_is_set[key] = 1
5357   FS = "\a"
5358 }
5359 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5360   line = \$ 0
5361   split(line, arg, " ")
5362   if (arg[1] == "#") {
5363     defundef = arg[2]
5364     mac1 = arg[3]
5365   } else {
5366     defundef = substr(arg[1], 2)
5367     mac1 = arg[2]
5368   }
5369   split(mac1, mac2, "(") #)
5370   macro = mac2[1]
5371   prefix = substr(line, 1, index(line, defundef) - 1)
5372   if (D_is_set[macro]) {
5373     # Preserve the white space surrounding the "#".
5374     print prefix "define", macro P[macro] D[macro]
5375     next
5376   } else {
5377     # Replace #undef with comments.  This is necessary, for example,
5378     # in the case of _POSIX_SOURCE, which is predefined and required
5379     # on some systems where configure will not decide to define it.
5380     if (defundef == "undef") {
5381       print "/*", prefix defundef, macro, "*/"
5382       next
5383     }
5384   }
5385 }
5386 { print }
5387 _ACAWK
5388 _ACEOF
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5391 fi # test -n "$CONFIG_HEADERS"
5392
5393
5394 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5395 shift
5396 for ac_tag
5397 do
5398   case $ac_tag in
5399   :[FHLC]) ac_mode=$ac_tag; continue;;
5400   esac
5401   case $ac_mode$ac_tag in
5402   :[FHL]*:*);;
5403   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5404   :[FH]-) ac_tag=-:-;;
5405   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5406   esac
5407   ac_save_IFS=$IFS
5408   IFS=:
5409   set x $ac_tag
5410   IFS=$ac_save_IFS
5411   shift
5412   ac_file=$1
5413   shift
5414
5415   case $ac_mode in
5416   :L) ac_source=$1;;
5417   :[FH])
5418     ac_file_inputs=
5419     for ac_f
5420     do
5421       case $ac_f in
5422       -) ac_f="$ac_tmp/stdin";;
5423       *) # Look for the file first in the build tree, then in the source tree
5424          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5425          # because $ac_f cannot contain `:'.
5426          test -f "$ac_f" ||
5427            case $ac_f in
5428            [\\/$]*) false;;
5429            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5430            esac ||
5431            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5432       esac
5433       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5434       as_fn_append ac_file_inputs " '$ac_f'"
5435     done
5436
5437     # Let's still pretend it is `configure' which instantiates (i.e., don't
5438     # use $as_me), people would be surprised to read:
5439     #    /* config.h.  Generated by config.status.  */
5440     configure_input='Generated from '`
5441           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5442         `' by configure.'
5443     if test x"$ac_file" != x-; then
5444       configure_input="$ac_file.  $configure_input"
5445       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5446 $as_echo "$as_me: creating $ac_file" >&6;}
5447     fi
5448     # Neutralize special characters interpreted by sed in replacement strings.
5449     case $configure_input in #(
5450     *\&* | *\|* | *\\* )
5451        ac_sed_conf_input=`$as_echo "$configure_input" |
5452        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5453     *) ac_sed_conf_input=$configure_input;;
5454     esac
5455
5456     case $ac_tag in
5457     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5458       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5459     esac
5460     ;;
5461   esac
5462
5463   ac_dir=`$as_dirname -- "$ac_file" ||
5464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5465          X"$ac_file" : 'X\(//\)[^/]' \| \
5466          X"$ac_file" : 'X\(//\)$' \| \
5467          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5468 $as_echo X"$ac_file" |
5469     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5470             s//\1/
5471             q
5472           }
5473           /^X\(\/\/\)[^/].*/{
5474             s//\1/
5475             q
5476           }
5477           /^X\(\/\/\)$/{
5478             s//\1/
5479             q
5480           }
5481           /^X\(\/\).*/{
5482             s//\1/
5483             q
5484           }
5485           s/.*/./; q'`
5486   as_dir="$ac_dir"; as_fn_mkdir_p
5487   ac_builddir=.
5488
5489 case "$ac_dir" in
5490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5491 *)
5492   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5493   # A ".." for each directory in $ac_dir_suffix.
5494   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5495   case $ac_top_builddir_sub in
5496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5498   esac ;;
5499 esac
5500 ac_abs_top_builddir=$ac_pwd
5501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5502 # for backward compatibility:
5503 ac_top_builddir=$ac_top_build_prefix
5504
5505 case $srcdir in
5506   .)  # We are building in place.
5507     ac_srcdir=.
5508     ac_top_srcdir=$ac_top_builddir_sub
5509     ac_abs_top_srcdir=$ac_pwd ;;
5510   [\\/]* | ?:[\\/]* )  # Absolute name.
5511     ac_srcdir=$srcdir$ac_dir_suffix;
5512     ac_top_srcdir=$srcdir
5513     ac_abs_top_srcdir=$srcdir ;;
5514   *) # Relative name.
5515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5516     ac_top_srcdir=$ac_top_build_prefix$srcdir
5517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5518 esac
5519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5520
5521
5522   case $ac_mode in
5523   :F)
5524   #
5525   # CONFIG_FILE
5526   #
5527
5528   case $INSTALL in
5529   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5530   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5531   esac
5532   ac_MKDIR_P=$MKDIR_P
5533   case $MKDIR_P in
5534   [\\/$]* | ?:[\\/]* ) ;;
5535   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5536   esac
5537 _ACEOF
5538
5539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5540 # If the template does not know about datarootdir, expand it.
5541 # FIXME: This hack should be removed a few years after 2.60.
5542 ac_datarootdir_hack=; ac_datarootdir_seen=
5543 ac_sed_dataroot='
5544 /datarootdir/ {
5545   p
5546   q
5547 }
5548 /@datadir@/p
5549 /@docdir@/p
5550 /@infodir@/p
5551 /@localedir@/p
5552 /@mandir@/p'
5553 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5554 *datarootdir*) ac_datarootdir_seen=yes;;
5555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5557 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5558 _ACEOF
5559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5560   ac_datarootdir_hack='
5561   s&@datadir@&$datadir&g
5562   s&@docdir@&$docdir&g
5563   s&@infodir@&$infodir&g
5564   s&@localedir@&$localedir&g
5565   s&@mandir@&$mandir&g
5566   s&\\\${datarootdir}&$datarootdir&g' ;;
5567 esac
5568 _ACEOF
5569
5570 # Neutralize VPATH when `$srcdir' = `.'.
5571 # Shell code in configure.ac might set extrasub.
5572 # FIXME: do we really want to maintain this feature?
5573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5574 ac_sed_extra="$ac_vpsub
5575 $extrasub
5576 _ACEOF
5577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5578 :t
5579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5580 s|@configure_input@|$ac_sed_conf_input|;t t
5581 s&@top_builddir@&$ac_top_builddir_sub&;t t
5582 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5583 s&@srcdir@&$ac_srcdir&;t t
5584 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5585 s&@top_srcdir@&$ac_top_srcdir&;t t
5586 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5587 s&@builddir@&$ac_builddir&;t t
5588 s&@abs_builddir@&$ac_abs_builddir&;t t
5589 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5590 s&@INSTALL@&$ac_INSTALL&;t t
5591 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5592 $ac_datarootdir_hack
5593 "
5594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5595   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5596
5597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5598   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5599   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5600       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5602 which seems to be undefined.  Please make sure it is defined" >&5
5603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5604 which seems to be undefined.  Please make sure it is defined" >&2;}
5605
5606   rm -f "$ac_tmp/stdin"
5607   case $ac_file in
5608   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5609   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5610   esac \
5611   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5612  ;;
5613   :H)
5614   #
5615   # CONFIG_HEADER
5616   #
5617   if test x"$ac_file" != x-; then
5618     {
5619       $as_echo "/* $configure_input  */" \
5620       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5621     } >"$ac_tmp/config.h" \
5622       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5623     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5624       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5626     else
5627       rm -f "$ac_file"
5628       mv "$ac_tmp/config.h" "$ac_file" \
5629         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5630     fi
5631   else
5632     $as_echo "/* $configure_input  */" \
5633       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5634       || as_fn_error $? "could not create -" "$LINENO" 5
5635   fi
5636 # Compute "$ac_file"'s index in $config_headers.
5637 _am_arg="$ac_file"
5638 _am_stamp_count=1
5639 for _am_header in $config_headers :; do
5640   case $_am_header in
5641     $_am_arg | $_am_arg:* )
5642       break ;;
5643     * )
5644       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5645   esac
5646 done
5647 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5648 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5649          X"$_am_arg" : 'X\(//\)[^/]' \| \
5650          X"$_am_arg" : 'X\(//\)$' \| \
5651          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5652 $as_echo X"$_am_arg" |
5653     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5654             s//\1/
5655             q
5656           }
5657           /^X\(\/\/\)[^/].*/{
5658             s//\1/
5659             q
5660           }
5661           /^X\(\/\/\)$/{
5662             s//\1/
5663             q
5664           }
5665           /^X\(\/\).*/{
5666             s//\1/
5667             q
5668           }
5669           s/.*/./; q'`/stamp-h$_am_stamp_count
5670  ;;
5671
5672   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5673 $as_echo "$as_me: executing $ac_file commands" >&6;}
5674  ;;
5675   esac
5676
5677
5678   case $ac_file$ac_mode in
5679     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5680   # Autoconf 2.62 quotes --file arguments for eval, but not when files
5681   # are listed without --file.  Let's play safe and only enable the eval
5682   # if we detect the quoting.
5683   case $CONFIG_FILES in
5684   *\'*) eval set x "$CONFIG_FILES" ;;
5685   *)   set x $CONFIG_FILES ;;
5686   esac
5687   shift
5688   for mf
5689   do
5690     # Strip MF so we end up with the name of the file.
5691     mf=`echo "$mf" | sed -e 's/:.*$//'`
5692     # Check whether this is an Automake generated Makefile or not.
5693     # We used to match only the files named `Makefile.in', but
5694     # some people rename them; so instead we look at the file content.
5695     # Grep'ing the first line is not enough: some people post-process
5696     # each Makefile.in and add a new line on top of each file to say so.
5697     # Grep'ing the whole file is not good either: AIX grep has a line
5698     # limit of 2048, but all sed's we know have understand at least 4000.
5699     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5700       dirpart=`$as_dirname -- "$mf" ||
5701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5702          X"$mf" : 'X\(//\)[^/]' \| \
5703          X"$mf" : 'X\(//\)$' \| \
5704          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5705 $as_echo X"$mf" |
5706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5707             s//\1/
5708             q
5709           }
5710           /^X\(\/\/\)[^/].*/{
5711             s//\1/
5712             q
5713           }
5714           /^X\(\/\/\)$/{
5715             s//\1/
5716             q
5717           }
5718           /^X\(\/\).*/{
5719             s//\1/
5720             q
5721           }
5722           s/.*/./; q'`
5723     else
5724       continue
5725     fi
5726     # Extract the definition of DEPDIR, am__include, and am__quote
5727     # from the Makefile without running `make'.
5728     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5729     test -z "$DEPDIR" && continue
5730     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5731     test -z "am__include" && continue
5732     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5733     # When using ansi2knr, U may be empty or an underscore; expand it
5734     U=`sed -n 's/^U = //p' < "$mf"`
5735     # Find all dependency output files, they are included files with
5736     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5737     # simplest approach to changing $(DEPDIR) to its actual value in the
5738     # expansion.
5739     for file in `sed -n "
5740       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5741          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5742       # Make sure the directory exists.
5743       test -f "$dirpart/$file" && continue
5744       fdir=`$as_dirname -- "$file" ||
5745 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5746          X"$file" : 'X\(//\)[^/]' \| \
5747          X"$file" : 'X\(//\)$' \| \
5748          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5749 $as_echo X"$file" |
5750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5751             s//\1/
5752             q
5753           }
5754           /^X\(\/\/\)[^/].*/{
5755             s//\1/
5756             q
5757           }
5758           /^X\(\/\/\)$/{
5759             s//\1/
5760             q
5761           }
5762           /^X\(\/\).*/{
5763             s//\1/
5764             q
5765           }
5766           s/.*/./; q'`
5767       as_dir=$dirpart/$fdir; as_fn_mkdir_p
5768       # echo "creating $dirpart/$file"
5769       echo '# dummy' > "$dirpart/$file"
5770     done
5771   done
5772 }
5773  ;;
5774
5775   esac
5776 done # for ac_tag
5777
5778
5779 as_fn_exit 0
5780 _ACEOF
5781 ac_clean_files=$ac_clean_files_save
5782
5783 test $ac_write_fail = 0 ||
5784   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5785
5786
5787 # configure is writing to config.log, and then calls config.status.
5788 # config.status does its own redirection, appending to config.log.
5789 # Unfortunately, on DOS this fails, as config.log is still kept open
5790 # by configure, so config.status won't be able to write to it; its
5791 # output is simply discarded.  So we exec the FD to /dev/null,
5792 # effectively closing config.log, so it can be properly (re)opened and
5793 # appended to by config.status.  When coming back to configure, we
5794 # need to make the FD available again.
5795 if test "$no_create" != yes; then
5796   ac_cs_success=:
5797   ac_config_status_args=
5798   test "$silent" = yes &&
5799     ac_config_status_args="$ac_config_status_args --quiet"
5800   exec 5>/dev/null
5801   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5802   exec 5>>config.log
5803   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5804   # would make configure fail if this is the last instruction.
5805   $ac_cs_success || as_fn_exit 1
5806 fi
5807 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5808   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5809 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5810 fi
5811