Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dhcp_probe 1.3.1.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='dhcp_probe'
579 PACKAGE_TARNAME='dhcp_probe'
580 PACKAGE_VERSION='1.3.1'
581 PACKAGE_STRING='dhcp_probe 1.3.1'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="src/dhcp_probe.c"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 EGREP
627 GREP
628 CPP
629 RANLIB
630 am__fastdepCC_FALSE
631 am__fastdepCC_TRUE
632 CCDEPMODE
633 am__nodep
634 AMDEPBACKSLASH
635 AMDEP_FALSE
636 AMDEP_TRUE
637 am__include
638 DEPDIR
639 OBJEXT
640 EXEEXT
641 ac_ct_CC
642 CPPFLAGS
643 LDFLAGS
644 CFLAGS
645 CC
646 host_os
647 host_vendor
648 host_cpu
649 host
650 build_os
651 build_vendor
652 build_cpu
653 build
654 AM_BACKSLASH
655 AM_DEFAULT_VERBOSITY
656 AM_DEFAULT_V
657 AM_V
658 am__untar
659 am__tar
660 AMTAR
661 am__leading_dot
662 SET_MAKE
663 AWK
664 mkdir_p
665 MKDIR_P
666 INSTALL_STRIP_PROGRAM
667 STRIP
668 install_sh
669 MAKEINFO
670 AUTOHEADER
671 AUTOMAKE
672 AUTOCONF
673 ACLOCAL
674 VERSION
675 PACKAGE
676 CYGPATH_W
677 am__isrc
678 INSTALL_DATA
679 INSTALL_SCRIPT
680 INSTALL_PROGRAM
681 target_alias
682 host_alias
683 build_alias
684 LIBS
685 ECHO_T
686 ECHO_N
687 ECHO_C
688 DEFS
689 mandir
690 localedir
691 libdir
692 psdir
693 pdfdir
694 dvidir
695 htmldir
696 infodir
697 docdir
698 oldincludedir
699 includedir
700 localstatedir
701 sharedstatedir
702 sysconfdir
703 datadir
704 datarootdir
705 libexecdir
706 sbindir
707 bindir
708 program_transform_name
709 prefix
710 exec_prefix
711 PACKAGE_URL
712 PACKAGE_BUGREPORT
713 PACKAGE_STRING
714 PACKAGE_VERSION
715 PACKAGE_TARNAME
716 PACKAGE_NAME
717 PATH_SEPARATOR
718 SHELL
719 am__quote'
720 ac_subst_files=''
721 ac_user_opts='
722 enable_option_checking
723 enable_silent_rules
724 enable_dependency_tracking
725 with_pcap
726 with_pcap_include
727 with_pcap_lib
728 with_libnet
729 with_libnet_include
730 with_libnet_lib
731 '
732 ac_precious_vars='build_alias
733 host_alias
734 target_alias
735 CC
736 CFLAGS
737 LDFLAGS
738 LIBS
739 CPPFLAGS
740 CPP'
741
742
743 # Initialize some variables set by options.
744 ac_init_help=
745 ac_init_version=false
746 ac_unrecognized_opts=
747 ac_unrecognized_sep=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
750 cache_file=/dev/null
751 exec_prefix=NONE
752 no_create=
753 no_recursion=
754 prefix=NONE
755 program_prefix=NONE
756 program_suffix=NONE
757 program_transform_name=s,x,x,
758 silent=
759 site=
760 srcdir=
761 verbose=
762 x_includes=NONE
763 x_libraries=NONE
764
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir='${exec_prefix}/bin'
772 sbindir='${exec_prefix}/sbin'
773 libexecdir='${exec_prefix}/libexec'
774 datarootdir='${prefix}/share'
775 datadir='${datarootdir}'
776 sysconfdir='${prefix}/etc'
777 sharedstatedir='${prefix}/com'
778 localstatedir='${prefix}/var'
779 includedir='${prefix}/include'
780 oldincludedir='/usr/include'
781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir='${datarootdir}/info'
783 htmldir='${docdir}'
784 dvidir='${docdir}'
785 pdfdir='${docdir}'
786 psdir='${docdir}'
787 libdir='${exec_prefix}/lib'
788 localedir='${datarootdir}/locale'
789 mandir='${datarootdir}/man'
790
791 ac_prev=
792 ac_dashdash=
793 for ac_option
794 do
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\$ac_option
798 ac_prev=
799 continue
800 fi
801
802 case $ac_option in
803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 *=) ac_optarg= ;;
805 *) ac_optarg=yes ;;
806 esac
807
808 # Accept the important Cygnus configure options, so we can diagnose typos.
809
810 case $ac_dashdash$ac_option in
811 --)
812 ac_dashdash=yes ;;
813
814 -bindir | --bindir | --bindi | --bind | --bin | --bi)
815 ac_prev=bindir ;;
816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 bindir=$ac_optarg ;;
818
819 -build | --build | --buil | --bui | --bu)
820 ac_prev=build_alias ;;
821 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822 build_alias=$ac_optarg ;;
823
824 -cache-file | --cache-file | --cache-fil | --cache-fi \
825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826 ac_prev=cache_file ;;
827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829 cache_file=$ac_optarg ;;
830
831 --config-cache | -C)
832 cache_file=config.cache ;;
833
834 -datadir | --datadir | --datadi | --datad)
835 ac_prev=datadir ;;
836 -datadir=* | --datadir=* | --datadi=* | --datad=*)
837 datadir=$ac_optarg ;;
838
839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
840 | --dataroo | --dataro | --datar)
841 ac_prev=datarootdir ;;
842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
844 datarootdir=$ac_optarg ;;
845
846 -disable-* | --disable-*)
847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850 as_fn_error $? "invalid feature name: $ac_useropt"
851 ac_useropt_orig=$ac_useropt
852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
854 *"
855 "enable_$ac_useropt"
856 "*) ;;
857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep=', ';;
859 esac
860 eval enable_$ac_useropt=no ;;
861
862 -docdir | --docdir | --docdi | --doc | --do)
863 ac_prev=docdir ;;
864 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865 docdir=$ac_optarg ;;
866
867 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868 ac_prev=dvidir ;;
869 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870 dvidir=$ac_optarg ;;
871
872 -enable-* | --enable-*)
873 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876 as_fn_error $? "invalid feature name: $ac_useropt"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
880 *"
881 "enable_$ac_useropt"
882 "*) ;;
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
885 esac
886 eval enable_$ac_useropt=\$ac_optarg ;;
887
888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890 | --exec | --exe | --ex)
891 ac_prev=exec_prefix ;;
892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894 | --exec=* | --exe=* | --ex=*)
895 exec_prefix=$ac_optarg ;;
896
897 -gas | --gas | --ga | --g)
898 # Obsolete; use --with-gas.
899 with_gas=yes ;;
900
901 -help | --help | --hel | --he | -h)
902 ac_init_help=long ;;
903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904 ac_init_help=recursive ;;
905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906 ac_init_help=short ;;
907
908 -host | --host | --hos | --ho)
909 ac_prev=host_alias ;;
910 -host=* | --host=* | --hos=* | --ho=*)
911 host_alias=$ac_optarg ;;
912
913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914 ac_prev=htmldir ;;
915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916 | --ht=*)
917 htmldir=$ac_optarg ;;
918
919 -includedir | --includedir | --includedi | --included | --include \
920 | --includ | --inclu | --incl | --inc)
921 ac_prev=includedir ;;
922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923 | --includ=* | --inclu=* | --incl=* | --inc=*)
924 includedir=$ac_optarg ;;
925
926 -infodir | --infodir | --infodi | --infod | --info | --inf)
927 ac_prev=infodir ;;
928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929 infodir=$ac_optarg ;;
930
931 -libdir | --libdir | --libdi | --libd)
932 ac_prev=libdir ;;
933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
934 libdir=$ac_optarg ;;
935
936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937 | --libexe | --libex | --libe)
938 ac_prev=libexecdir ;;
939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940 | --libexe=* | --libex=* | --libe=*)
941 libexecdir=$ac_optarg ;;
942
943 -localedir | --localedir | --localedi | --localed | --locale)
944 ac_prev=localedir ;;
945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946 localedir=$ac_optarg ;;
947
948 -localstatedir | --localstatedir | --localstatedi | --localstated \
949 | --localstate | --localstat | --localsta | --localst | --locals)
950 ac_prev=localstatedir ;;
951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953 localstatedir=$ac_optarg ;;
954
955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956 ac_prev=mandir ;;
957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958 mandir=$ac_optarg ;;
959
960 -nfp | --nfp | --nf)
961 # Obsolete; use --without-fp.
962 with_fp=no ;;
963
964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965 | --no-cr | --no-c | -n)
966 no_create=yes ;;
967
968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970 no_recursion=yes ;;
971
972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974 | --oldin | --oldi | --old | --ol | --o)
975 ac_prev=oldincludedir ;;
976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979 oldincludedir=$ac_optarg ;;
980
981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982 ac_prev=prefix ;;
983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984 prefix=$ac_optarg ;;
985
986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
987 | --program-pre | --program-pr | --program-p)
988 ac_prev=program_prefix ;;
989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991 program_prefix=$ac_optarg ;;
992
993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
994 | --program-suf | --program-su | --program-s)
995 ac_prev=program_suffix ;;
996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998 program_suffix=$ac_optarg ;;
999
1000 -program-transform-name | --program-transform-name \
1001 | --program-transform-nam | --program-transform-na \
1002 | --program-transform-n | --program-transform- \
1003 | --program-transform | --program-transfor \
1004 | --program-transfo | --program-transf \
1005 | --program-trans | --program-tran \
1006 | --progr-tra | --program-tr | --program-t)
1007 ac_prev=program_transform_name ;;
1008 -program-transform-name=* | --program-transform-name=* \
1009 | --program-transform-nam=* | --program-transform-na=* \
1010 | --program-transform-n=* | --program-transform-=* \
1011 | --program-transform=* | --program-transfor=* \
1012 | --program-transfo=* | --program-transf=* \
1013 | --program-trans=* | --program-tran=* \
1014 | --progr-tra=* | --program-tr=* | --program-t=*)
1015 program_transform_name=$ac_optarg ;;
1016
1017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018 ac_prev=pdfdir ;;
1019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020 pdfdir=$ac_optarg ;;
1021
1022 -psdir | --psdir | --psdi | --psd | --ps)
1023 ac_prev=psdir ;;
1024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025 psdir=$ac_optarg ;;
1026
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1029 silent=yes ;;
1030
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032 ac_prev=sbindir ;;
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034 | --sbi=* | --sb=*)
1035 sbindir=$ac_optarg ;;
1036
1037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039 | --sharedst | --shareds | --shared | --share | --shar \
1040 | --sha | --sh)
1041 ac_prev=sharedstatedir ;;
1042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1045 | --sha=* | --sh=*)
1046 sharedstatedir=$ac_optarg ;;
1047
1048 -site | --site | --sit)
1049 ac_prev=site ;;
1050 -site=* | --site=* | --sit=*)
1051 site=$ac_optarg ;;
1052
1053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1054 ac_prev=srcdir ;;
1055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056 srcdir=$ac_optarg ;;
1057
1058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059 | --syscon | --sysco | --sysc | --sys | --sy)
1060 ac_prev=sysconfdir ;;
1061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063 sysconfdir=$ac_optarg ;;
1064
1065 -target | --target | --targe | --targ | --tar | --ta | --t)
1066 ac_prev=target_alias ;;
1067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068 target_alias=$ac_optarg ;;
1069
1070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 verbose=yes ;;
1072
1073 -version | --version | --versio | --versi | --vers | -V)
1074 ac_init_version=: ;;
1075
1076 -with-* | --with-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid package name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1084 *"
1085 "with_$ac_useropt"
1086 "*) ;;
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1089 esac
1090 eval with_$ac_useropt=\$ac_optarg ;;
1091
1092 -without-* | --without-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid package name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1100 *"
1101 "with_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval with_$ac_useropt=no ;;
1107
1108 --x)
1109 # Obsolete; use --with-x.
1110 with_x=yes ;;
1111
1112 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1113 | --x-incl | --x-inc | --x-in | --x-i)
1114 ac_prev=x_includes ;;
1115 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1116 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1117 x_includes=$ac_optarg ;;
1118
1119 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1120 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1121 ac_prev=x_libraries ;;
1122 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1123 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1124 x_libraries=$ac_optarg ;;
1125
1126 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1127 Try \`$0 --help' for more information"
1128 ;;
1129
1130 *=*)
1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 case $ac_envvar in #(
1134 '' | [0-9]* | *[!_$as_cr_alnum]* )
1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1136 esac
1137 eval $ac_envvar=\$ac_optarg
1138 export $ac_envvar ;;
1139
1140 *)
1141 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1146 ;;
1147
1148 esac
1149 done
1150
1151 if test -n "$ac_prev"; then
1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1153 as_fn_error $? "missing argument to $ac_option"
1154 fi
1155
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1158 no) ;;
1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161 esac
1162 fi
1163
1164 # Check all directory arguments for consistency.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1169 do
1170 eval ac_val=\$$ac_var
1171 # Remove trailing slashes.
1172 case $ac_val in
1173 */ )
1174 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175 eval $ac_var=\$ac_val;;
1176 esac
1177 # Be sure to have absolute directory names.
1178 case $ac_val in
1179 [\\/$]* | ?:[\\/]* ) continue;;
1180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181 esac
1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183 done
1184
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1188 build=$build_alias
1189 host=$host_alias
1190 target=$target_alias
1191
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then
1195 cross_compiling=maybe
1196 elif test "x$build_alias" != "x$host_alias"; then
1197 cross_compiling=yes
1198 fi
1199 fi
1200
1201 ac_tool_prefix=
1202 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1203
1204 test "$silent" = yes && exec 6>/dev/null
1205
1206
1207 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di=`ls -di .` &&
1209 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210 as_fn_error $? "working directory cannot be determined"
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 as_fn_error $? "pwd does not report name of working directory"
1213
1214
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 s//\1/
1227 q
1228 }
1229 /^X\(\/\/\)[^/].*/{
1230 s//\1/
1231 q
1232 }
1233 /^X\(\/\/\)$/{
1234 s//\1/
1235 q
1236 }
1237 /^X\(\/\).*/{
1238 s//\1/
1239 q
1240 }
1241 s/.*/./; q'`
1242 srcdir=$ac_confdir
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 srcdir=..
1245 fi
1246 else
1247 ac_srcdir_defaulted=no
1248 fi
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1252 fi
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 ac_abs_confdir=`(
1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1256 pwd)`
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 srcdir=.
1260 fi
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1264 case $srcdir in
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 esac
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272 done
1273
1274 #
1275 # Report the --help message.
1276 #
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1280 cat <<_ACEOF
1281 \`configure' configures dhcp_probe 1.3.1 to adapt to many kinds of systems.
1282
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1284
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1287
1288 Defaults for the options are specified in brackets.
1289
1290 Configuration:
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking ...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 [PREFIX]
1306
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1311
1312 For better control, use the options below.
1313
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp_probe]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1334 _ACEOF
1335
1336 cat <<\_ACEOF
1337
1338 Program names:
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1342
1343 System types:
1344 --build=BUILD configure for building on BUILD [guessed]
1345 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1346 _ACEOF
1347 fi
1348
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of dhcp_probe 1.3.1:";;
1352 esac
1353 cat <<\_ACEOF
1354
1355 Optional Features:
1356 --disable-option-checking ignore unrecognized --enable/--with options
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --enable-silent-rules less verbose build output (undo: "make V=1")
1360 --disable-silent-rules verbose build output (undo: "make V=0")
1361 --enable-dependency-tracking
1362 do not reject slow dependency extractors
1363 --disable-dependency-tracking
1364 speeds up one-time build
1365
1366 Optional Packages:
1367 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1368 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1369 --with-pcap=DIR parent of the include and lib dirs containing pcap header and lib (defaults to /usr/local)
1370 --with-pcap-include=DIR directory containing pcap header (defaults to /usr/local/include)
1371 --with-pcap-lib=DIR directory containing pcap library (defaults to /usr/local/lib)
1372 --with-libnet=DIR parent of the include and lib dirs containing libnet header and lib (defaults to /usr/local)
1373 --with-libnet-include=DIR directory containing libnet header (defaults to /usr/local/include)
1374 --with-libnet-lib=DIR directory containing libnet library (defaults to /usr/local/lib)
1375
1376 Some influential environment variables:
1377 CC C compiler command
1378 CFLAGS C compiler flags
1379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1380 nonstandard directory <lib dir>
1381 LIBS libraries to pass to the linker, e.g. -l<library>
1382 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1383 you have headers in a nonstandard directory <include dir>
1384 CPP C preprocessor
1385
1386 Use these variables to override the choices made by `configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1388
1389 Report bugs to the package provider.
1390 _ACEOF
1391 ac_status=$?
1392 fi
1393
1394 if test "$ac_init_help" = "recursive"; then
1395 # If there are subdirs, report their specific --help.
1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 continue
1400 ac_builddir=.
1401
1402 case "$ac_dir" in
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *)
1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1406 # A ".." for each directory in $ac_dir_suffix.
1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1408 case $ac_top_builddir_sub in
1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411 esac ;;
1412 esac
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1417
1418 case $srcdir in
1419 .) # We are building in place.
1420 ac_srcdir=.
1421 ac_top_srcdir=$ac_top_builddir_sub
1422 ac_abs_top_srcdir=$ac_pwd ;;
1423 [\\/]* | ?:[\\/]* ) # Absolute name.
1424 ac_srcdir=$srcdir$ac_dir_suffix;
1425 ac_top_srcdir=$srcdir
1426 ac_abs_top_srcdir=$srcdir ;;
1427 *) # Relative name.
1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 esac
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1433
1434 cd "$ac_dir" || { ac_status=$?; continue; }
1435 # Check for guested configure.
1436 if test -f "$ac_srcdir/configure.gnu"; then
1437 echo &&
1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439 elif test -f "$ac_srcdir/configure"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure" --help=recursive
1442 else
1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444 fi || ac_status=$?
1445 cd "$ac_pwd" || { ac_status=$?; break; }
1446 done
1447 fi
1448
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1451 cat <<\_ACEOF
1452 dhcp_probe configure 1.3.1
1453 generated by GNU Autoconf 2.69
1454
1455 Copyright (C) 2012 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1458 _ACEOF
1459 exit
1460 fi
1461
1462 ## ------------------------ ##
1463 ## Autoconf initialization. ##
1464 ## ------------------------ ##
1465
1466 # ac_fn_c_try_compile LINENO
1467 # --------------------------
1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_c_try_compile ()
1470 {
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1474 case "(($ac_try" in
1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1477 esac
1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1481 ac_status=$?
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1486 fi
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.$ac_objext; then :
1492 ac_retval=0
1493 else
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1496
1497 ac_retval=1
1498 fi
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1501
1502 } # ac_fn_c_try_compile
1503
1504 # ac_fn_c_try_link LINENO
1505 # -----------------------
1506 # Try to link conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_link ()
1508 {
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext conftest$ac_exeext
1511 if { { ac_try="$ac_link"
1512 case "(($ac_try" in
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1515 esac
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_link") 2>conftest.err
1519 ac_status=$?
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1524 fi
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest$ac_exeext && {
1530 test "$cross_compiling" = yes ||
1531 test -x conftest$ac_exeext
1532 }; then :
1533 ac_retval=0
1534 else
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1537
1538 ac_retval=1
1539 fi
1540 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1541 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1542 # interfere with the next link command; also delete a directory that is
1543 # left behind by Apple's compiler. We do this before executing the actions.
1544 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546 as_fn_set_status $ac_retval
1547
1548 } # ac_fn_c_try_link
1549
1550 # ac_fn_c_try_cpp LINENO
1551 # ----------------------
1552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_cpp ()
1554 {
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 if { { ac_try="$ac_cpp conftest.$ac_ext"
1557 case "(($ac_try" in
1558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1559 *) ac_try_echo=$ac_try;;
1560 esac
1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562 $as_echo "$ac_try_echo"; } >&5
1563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1564 ac_status=$?
1565 if test -s conftest.err; then
1566 grep -v '^ *+' conftest.err >conftest.er1
1567 cat conftest.er1 >&5
1568 mv -f conftest.er1 conftest.err
1569 fi
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } > conftest.i && {
1572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1573 test ! -s conftest.err
1574 }; then :
1575 ac_retval=0
1576 else
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.$ac_ext >&5
1579
1580 ac_retval=1
1581 fi
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1584
1585 } # ac_fn_c_try_cpp
1586
1587 # ac_fn_c_try_run LINENO
1588 # ----------------------
1589 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1590 # that executables *can* be run.
1591 ac_fn_c_try_run ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if { { ac_try="$ac_link"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_link") 2>&5
1602 ac_status=$?
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1605 { { case "(($ac_try" in
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_try") 2>&5
1612 ac_status=$?
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; }; }; then :
1615 ac_retval=0
1616 else
1617 $as_echo "$as_me: program exited with status $ac_status" >&5
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1620
1621 ac_retval=$ac_status
1622 fi
1623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1626
1627 } # ac_fn_c_try_run
1628
1629 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1630 # -------------------------------------------------------
1631 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1632 # the include files in INCLUDES and setting the cache variable VAR
1633 # accordingly.
1634 ac_fn_c_check_header_mongrel ()
1635 {
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if eval \${$3+:} false; then :
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639 $as_echo_n "checking for $2... " >&6; }
1640 if eval \${$3+:} false; then :
1641 $as_echo_n "(cached) " >&6
1642 fi
1643 eval ac_res=\$$3
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 else
1647 # Is the header compilable?
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1649 $as_echo_n "checking $2 usability... " >&6; }
1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651 /* end confdefs.h. */
1652 $4
1653 #include <$2>
1654 _ACEOF
1655 if ac_fn_c_try_compile "$LINENO"; then :
1656 ac_header_compiler=yes
1657 else
1658 ac_header_compiler=no
1659 fi
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1662 $as_echo "$ac_header_compiler" >&6; }
1663
1664 # Is the header present?
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1666 $as_echo_n "checking $2 presence... " >&6; }
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1669 #include <$2>
1670 _ACEOF
1671 if ac_fn_c_try_cpp "$LINENO"; then :
1672 ac_header_preproc=yes
1673 else
1674 ac_header_preproc=no
1675 fi
1676 rm -f conftest.err conftest.i conftest.$ac_ext
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1678 $as_echo "$ac_header_preproc" >&6; }
1679
1680 # So? What about this header?
1681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1682 yes:no: )
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1684 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1687 ;;
1688 no:yes:* )
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1690 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1692 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1694 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1696 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1698 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 ;;
1700 esac
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1705 else
1706 eval "$3=\$ac_header_compiler"
1707 fi
1708 eval ac_res=\$$3
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 fi
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713
1714 } # ac_fn_c_check_header_mongrel
1715
1716 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1717 # -------------------------------------------------------
1718 # Tests whether HEADER exists and can be compiled using the include files in
1719 # INCLUDES, setting the cache variable VAR accordingly.
1720 ac_fn_c_check_header_compile ()
1721 {
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724 $as_echo_n "checking for $2... " >&6; }
1725 if eval \${$3+:} false; then :
1726 $as_echo_n "(cached) " >&6
1727 else
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729 /* end confdefs.h. */
1730 $4
1731 #include <$2>
1732 _ACEOF
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734 eval "$3=yes"
1735 else
1736 eval "$3=no"
1737 fi
1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1739 fi
1740 eval ac_res=\$$3
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744
1745 } # ac_fn_c_check_header_compile
1746
1747 # ac_fn_c_find_intX_t LINENO BITS VAR
1748 # -----------------------------------
1749 # Finds a signed integer type with width BITS, setting cache variable VAR
1750 # accordingly.
1751 ac_fn_c_find_intX_t ()
1752 {
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1755 $as_echo_n "checking for int$2_t... " >&6; }
1756 if eval \${$3+:} false; then :
1757 $as_echo_n "(cached) " >&6
1758 else
1759 eval "$3=no"
1760 # Order is important - never check a type that is potentially smaller
1761 # than half of the expected target width.
1762 for ac_type in int$2_t 'int' 'long int' \
1763 'long long int' 'short int' 'signed char'; do
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1766 $ac_includes_default
1767 enum { N = $2 / 2 - 1 };
1768 int
1769 main ()
1770 {
1771 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1772 test_array [0] = 0;
1773 return test_array [0];
1774
1775 ;
1776 return 0;
1777 }
1778 _ACEOF
1779 if ac_fn_c_try_compile "$LINENO"; then :
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1782 $ac_includes_default
1783 enum { N = $2 / 2 - 1 };
1784 int
1785 main ()
1786 {
1787 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1788 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1789 test_array [0] = 0;
1790 return test_array [0];
1791
1792 ;
1793 return 0;
1794 }
1795 _ACEOF
1796 if ac_fn_c_try_compile "$LINENO"; then :
1797
1798 else
1799 case $ac_type in #(
1800 int$2_t) :
1801 eval "$3=yes" ;; #(
1802 *) :
1803 eval "$3=\$ac_type" ;;
1804 esac
1805 fi
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 if eval test \"x\$"$3"\" = x"no"; then :
1810
1811 else
1812 break
1813 fi
1814 done
1815 fi
1816 eval ac_res=\$$3
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
1821 } # ac_fn_c_find_intX_t
1822
1823 # ac_fn_c_find_uintX_t LINENO BITS VAR
1824 # ------------------------------------
1825 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1826 # accordingly.
1827 ac_fn_c_find_uintX_t ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1831 $as_echo_n "checking for uint$2_t... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834 else
1835 eval "$3=no"
1836 # Order is important - never check a type that is potentially smaller
1837 # than half of the expected target width.
1838 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1839 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 $ac_includes_default
1843 int
1844 main ()
1845 {
1846 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1847 test_array [0] = 0;
1848 return test_array [0];
1849
1850 ;
1851 return 0;
1852 }
1853 _ACEOF
1854 if ac_fn_c_try_compile "$LINENO"; then :
1855 case $ac_type in #(
1856 uint$2_t) :
1857 eval "$3=yes" ;; #(
1858 *) :
1859 eval "$3=\$ac_type" ;;
1860 esac
1861 fi
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 if eval test \"x\$"$3"\" = x"no"; then :
1864
1865 else
1866 break
1867 fi
1868 done
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_find_uintX_t
1876
1877 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1878 # ---------------------------------------------
1879 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1880 # accordingly.
1881 ac_fn_c_check_decl ()
1882 {
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 as_decl_name=`echo $2|sed 's/ *(.*//'`
1885 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1887 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1890 else
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 $4
1894 int
1895 main ()
1896 {
1897 #ifndef $as_decl_name
1898 #ifdef __cplusplus
1899 (void) $as_decl_use;
1900 #else
1901 (void) $as_decl_name;
1902 #endif
1903 #endif
1904
1905 ;
1906 return 0;
1907 }
1908 _ACEOF
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910 eval "$3=yes"
1911 else
1912 eval "$3=no"
1913 fi
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 fi
1916 eval ac_res=\$$3
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920
1921 } # ac_fn_c_check_decl
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1938 #define $2 innocuous_$2
1939
1940 /* System header to define __stub macros and hopefully few prototypes,
1941 which can conflict with char $2 (); below.
1942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1943 <limits.h> exists even on freestanding compilers. */
1944
1945 #ifdef __STDC__
1946 # include <limits.h>
1947 #else
1948 # include <assert.h>
1949 #endif
1950
1951 #undef $2
1952
1953 /* Override any GCC internal prototype to avoid an error.
1954 Use char because int might match the return type of a GCC
1955 builtin and then its argument prototype would still apply. */
1956 #ifdef __cplusplus
1957 extern "C"
1958 #endif
1959 char $2 ();
1960 /* The GNU C library defines this for functions which it implements
1961 to always fail with ENOSYS. Some functions are actually named
1962 something starting with __ and the normal name is an alias. */
1963 #if defined __stub_$2 || defined __stub___$2
1964 choke me
1965 #endif
1966
1967 int
1968 main ()
1969 {
1970 return $2 ();
1971 ;
1972 return 0;
1973 }
1974 _ACEOF
1975 if ac_fn_c_try_link "$LINENO"; then :
1976 eval "$3=yes"
1977 else
1978 eval "$3=no"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext \
1981 conftest$ac_exeext conftest.$ac_ext
1982 fi
1983 eval ac_res=\$$3
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987
1988 } # ac_fn_c_check_func
1989
1990 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1991 # ----------------------------------------------------
1992 # Tries to find if the field MEMBER exists in type AGGR, after including
1993 # INCLUDES, setting cache variable VAR accordingly.
1994 ac_fn_c_check_member ()
1995 {
1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1998 $as_echo_n "checking for $2.$3... " >&6; }
1999 if eval \${$4+:} false; then :
2000 $as_echo_n "(cached) " >&6
2001 else
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2004 $5
2005 int
2006 main ()
2007 {
2008 static $2 ac_aggr;
2009 if (ac_aggr.$3)
2010 return 0;
2011 ;
2012 return 0;
2013 }
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016 eval "$4=yes"
2017 else
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2020 $5
2021 int
2022 main ()
2023 {
2024 static $2 ac_aggr;
2025 if (sizeof ac_aggr.$3)
2026 return 0;
2027 ;
2028 return 0;
2029 }
2030 _ACEOF
2031 if ac_fn_c_try_compile "$LINENO"; then :
2032 eval "$4=yes"
2033 else
2034 eval "$4=no"
2035 fi
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 fi
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 fi
2040 eval ac_res=\$$4
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 $as_echo "$ac_res" >&6; }
2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044
2045 } # ac_fn_c_check_member
2046 cat >config.log <<_ACEOF
2047 This file contains any messages produced by compilers while
2048 running configure, to aid debugging if configure makes a mistake.
2049
2050 It was created by dhcp_probe $as_me 1.3.1, which was
2051 generated by GNU Autoconf 2.69. Invocation command line was
2052
2053 $ $0 $@
2054
2055 _ACEOF
2056 exec 5>>config.log
2057 {
2058 cat <<_ASUNAME
2059 ## --------- ##
2060 ## Platform. ##
2061 ## --------- ##
2062
2063 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2064 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2065 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2066 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2067 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2068
2069 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2070 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2071
2072 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2073 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2074 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2075 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2076 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2077 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2078 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2079
2080 _ASUNAME
2081
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2084 do
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 $as_echo "PATH: $as_dir"
2088 done
2089 IFS=$as_save_IFS
2090
2091 } >&5
2092
2093 cat >&5 <<_ACEOF
2094
2095
2096 ## ----------- ##
2097 ## Core tests. ##
2098 ## ----------- ##
2099
2100 _ACEOF
2101
2102
2103 # Keep a trace of the command line.
2104 # Strip out --no-create and --no-recursion so they do not pile up.
2105 # Strip out --silent because we don't want to record it for future runs.
2106 # Also quote any args containing shell meta-characters.
2107 # Make two passes to allow for proper duplicate-argument suppression.
2108 ac_configure_args=
2109 ac_configure_args0=
2110 ac_configure_args1=
2111 ac_must_keep_next=false
2112 for ac_pass in 1 2
2113 do
2114 for ac_arg
2115 do
2116 case $ac_arg in
2117 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2119 | -silent | --silent | --silen | --sile | --sil)
2120 continue ;;
2121 *\'*)
2122 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2123 esac
2124 case $ac_pass in
2125 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2126 2)
2127 as_fn_append ac_configure_args1 " '$ac_arg'"
2128 if test $ac_must_keep_next = true; then
2129 ac_must_keep_next=false # Got value, back to normal.
2130 else
2131 case $ac_arg in
2132 *=* | --config-cache | -C | -disable-* | --disable-* \
2133 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2134 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2135 | -with-* | --with-* | -without-* | --without-* | --x)
2136 case "$ac_configure_args0 " in
2137 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2138 esac
2139 ;;
2140 -* ) ac_must_keep_next=true ;;
2141 esac
2142 fi
2143 as_fn_append ac_configure_args " '$ac_arg'"
2144 ;;
2145 esac
2146 done
2147 done
2148 { ac_configure_args0=; unset ac_configure_args0;}
2149 { ac_configure_args1=; unset ac_configure_args1;}
2150
2151 # When interrupted or exit'd, cleanup temporary files, and complete
2152 # config.log. We remove comments because anyway the quotes in there
2153 # would cause problems or look ugly.
2154 # WARNING: Use '\'' to represent an apostrophe within the trap.
2155 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2156 trap 'exit_status=$?
2157 # Save into config.log some information that might help in debugging.
2158 {
2159 echo
2160
2161 $as_echo "## ---------------- ##
2162 ## Cache variables. ##
2163 ## ---------------- ##"
2164 echo
2165 # The following way of writing the cache mishandles newlines in values,
2166 (
2167 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in #(
2170 *${as_nl}*)
2171 case $ac_var in #(
2172 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2173 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2174 esac
2175 case $ac_var in #(
2176 _ | IFS | as_nl) ;; #(
2177 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2178 *) { eval $ac_var=; unset $ac_var;} ;;
2179 esac ;;
2180 esac
2181 done
2182 (set) 2>&1 |
2183 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2184 *${as_nl}ac_space=\ *)
2185 sed -n \
2186 "s/'\''/'\''\\\\'\'''\''/g;
2187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2188 ;; #(
2189 *)
2190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 ;;
2192 esac |
2193 sort
2194 )
2195 echo
2196
2197 $as_echo "## ----------------- ##
2198 ## Output variables. ##
2199 ## ----------------- ##"
2200 echo
2201 for ac_var in $ac_subst_vars
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 $as_echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210
2211 if test -n "$ac_subst_files"; then
2212 $as_echo "## ------------------- ##
2213 ## File substitutions. ##
2214 ## ------------------- ##"
2215 echo
2216 for ac_var in $ac_subst_files
2217 do
2218 eval ac_val=\$$ac_var
2219 case $ac_val in
2220 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 esac
2222 $as_echo "$ac_var='\''$ac_val'\''"
2223 done | sort
2224 echo
2225 fi
2226
2227 if test -s confdefs.h; then
2228 $as_echo "## ----------- ##
2229 ## confdefs.h. ##
2230 ## ----------- ##"
2231 echo
2232 cat confdefs.h
2233 echo
2234 fi
2235 test "$ac_signal" != 0 &&
2236 $as_echo "$as_me: caught signal $ac_signal"
2237 $as_echo "$as_me: exit $exit_status"
2238 } >&5
2239 rm -f core *.core core.conftest.* &&
2240 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 exit $exit_status
2242 ' 0
2243 for ac_signal in 1 2 13 15; do
2244 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2245 done
2246 ac_signal=0
2247
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest* confdefs.h
2250
2251 $as_echo "/* confdefs.h */" > confdefs.h
2252
2253 # Predefined preprocessor variables.
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2257 _ACEOF
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 _ACEOF
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2265 _ACEOF
2266
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_STRING "$PACKAGE_STRING"
2269 _ACEOF
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 _ACEOF
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_URL "$PACKAGE_URL"
2277 _ACEOF
2278
2279
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer an explicitly selected file to automatically selected ones.
2282 ac_site_file1=NONE
2283 ac_site_file2=NONE
2284 if test -n "$CONFIG_SITE"; then
2285 # We do not want a PATH search for config.site.
2286 case $CONFIG_SITE in #((
2287 -*) ac_site_file1=./$CONFIG_SITE;;
2288 */*) ac_site_file1=$CONFIG_SITE;;
2289 *) ac_site_file1=./$CONFIG_SITE;;
2290 esac
2291 elif test "x$prefix" != xNONE; then
2292 ac_site_file1=$prefix/share/config.site
2293 ac_site_file2=$prefix/etc/config.site
2294 else
2295 ac_site_file1=$ac_default_prefix/share/config.site
2296 ac_site_file2=$ac_default_prefix/etc/config.site
2297 fi
2298 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2299 do
2300 test "x$ac_site_file" = xNONE && continue
2301 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2303 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2304 sed 's/^/| /' "$ac_site_file" >&5
2305 . "$ac_site_file" \
2306 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 as_fn_error $? "failed to load site script $ac_site_file
2309 See \`config.log' for more details" "$LINENO" 5; }
2310 fi
2311 done
2312
2313 if test -r "$cache_file"; then
2314 # Some versions of bash will fail to source /dev/null (special files
2315 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2316 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2318 $as_echo "$as_me: loading cache $cache_file" >&6;}
2319 case $cache_file in
2320 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2321 *) . "./$cache_file";;
2322 esac
2323 fi
2324 else
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2326 $as_echo "$as_me: creating cache $cache_file" >&6;}
2327 >$cache_file
2328 fi
2329
2330 # Check that the precious variables saved in the cache have kept the same
2331 # value.
2332 ac_cache_corrupted=false
2333 for ac_var in $ac_precious_vars; do
2334 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2335 eval ac_new_set=\$ac_env_${ac_var}_set
2336 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2337 eval ac_new_val=\$ac_env_${ac_var}_value
2338 case $ac_old_set,$ac_new_set in
2339 set,)
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2341 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2342 ac_cache_corrupted=: ;;
2343 ,set)
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2345 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2346 ac_cache_corrupted=: ;;
2347 ,);;
2348 *)
2349 if test "x$ac_old_val" != "x$ac_new_val"; then
2350 # differences in whitespace do not lead to failure.
2351 ac_old_val_w=`echo x $ac_old_val`
2352 ac_new_val_w=`echo x $ac_new_val`
2353 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2355 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2356 ac_cache_corrupted=:
2357 else
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2359 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2360 eval $ac_var=\$ac_old_val
2361 fi
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2363 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2365 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2366 fi;;
2367 esac
2368 # Pass precious variables to config.status.
2369 if test "$ac_new_set" = set; then
2370 case $ac_new_val in
2371 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 *) ac_arg=$ac_var=$ac_new_val ;;
2373 esac
2374 case " $ac_configure_args " in
2375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2376 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2377 esac
2378 fi
2379 done
2380 if $ac_cache_corrupted; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2384 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2385 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2386 fi
2387 ## -------------------- ##
2388 ## Main body of script. ##
2389 ## -------------------- ##
2390
2391 ac_ext=c
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396
2397
2398
2399 ac_aux_dir=
2400 for ac_dir in config "$srcdir"/config; do
2401 if test -f "$ac_dir/install-sh"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/install-sh -c"
2404 break
2405 elif test -f "$ac_dir/install.sh"; then
2406 ac_aux_dir=$ac_dir
2407 ac_install_sh="$ac_aux_dir/install.sh -c"
2408 break
2409 elif test -f "$ac_dir/shtool"; then
2410 ac_aux_dir=$ac_dir
2411 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 break
2413 fi
2414 done
2415 if test -z "$ac_aux_dir"; then
2416 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2417 fi
2418
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2426
2427
2428 ac_config_headers="$ac_config_headers config.h"
2429
2430
2431
2432 am__api_version='1.16'
2433
2434 # Find a good install program. We prefer a C program (faster),
2435 # so one script is as good as another. But avoid the broken or
2436 # incompatible versions:
2437 # SysV /etc/install, /usr/sbin/install
2438 # SunOS /usr/etc/install
2439 # IRIX /sbin/install
2440 # AIX /bin/install
2441 # AmigaOS /C/install, which installs bootblocks on floppy discs
2442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2445 # OS/2's system install, which has a completely different semantic
2446 # ./install, which can be erroneously created by make from ./install.sh.
2447 # Reject install programs that cannot install multiple files.
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2449 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2450 if test -z "$INSTALL"; then
2451 if ${ac_cv_path_install+:} false; then :
2452 $as_echo_n "(cached) " >&6
2453 else
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH
2456 do
2457 IFS=$as_save_IFS
2458 test -z "$as_dir" && as_dir=.
2459 # Account for people who put trailing slashes in PATH elements.
2460 case $as_dir/ in #((
2461 ./ | .// | /[cC]/* | \
2462 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2463 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2464 /usr/ucb/* ) ;;
2465 *)
2466 # OSF1 and SCO ODT 3.0 have their own names for install.
2467 # Don't use installbsd from OSF since it installs stuff as root
2468 # by default.
2469 for ac_prog in ginstall scoinst install; do
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2472 if test $ac_prog = install &&
2473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2474 # AIX install. It has an incompatible calling convention.
2475 :
2476 elif test $ac_prog = install &&
2477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2478 # program-specific install script used by HP pwplus--don't use.
2479 :
2480 else
2481 rm -rf conftest.one conftest.two conftest.dir
2482 echo one > conftest.one
2483 echo two > conftest.two
2484 mkdir conftest.dir
2485 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2486 test -s conftest.one && test -s conftest.two &&
2487 test -s conftest.dir/conftest.one &&
2488 test -s conftest.dir/conftest.two
2489 then
2490 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2491 break 3
2492 fi
2493 fi
2494 fi
2495 done
2496 done
2497 ;;
2498 esac
2499
2500 done
2501 IFS=$as_save_IFS
2502
2503 rm -rf conftest.one conftest.two conftest.dir
2504
2505 fi
2506 if test "${ac_cv_path_install+set}" = set; then
2507 INSTALL=$ac_cv_path_install
2508 else
2509 # As a last resort, use the slow shell script. Don't cache a
2510 # value for INSTALL within a source directory, because that will
2511 # break other packages using the cache if that directory is
2512 # removed, or if the value is a relative name.
2513 INSTALL=$ac_install_sh
2514 fi
2515 fi
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2517 $as_echo "$INSTALL" >&6; }
2518
2519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2520 # It thinks the first close brace ends the variable substitution.
2521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2522
2523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2524
2525 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2526
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2528 $as_echo_n "checking whether build environment is sane... " >&6; }
2529 # Reject unsafe characters in $srcdir or the absolute working directory
2530 # name. Accept space and tab only in the latter.
2531 am_lf='
2532 '
2533 case `pwd` in
2534 *[\\\"\#\$\&\'\`$am_lf]*)
2535 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2536 esac
2537 case $srcdir in
2538 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2539 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2540 esac
2541
2542 # Do 'set' in a subshell so we don't clobber the current shell's
2543 # arguments. Must try -L first in case configure is actually a
2544 # symlink; some systems play weird games with the mod time of symlinks
2545 # (eg FreeBSD returns the mod time of the symlink's containing
2546 # directory).
2547 if (
2548 am_has_slept=no
2549 for am_try in 1 2; do
2550 echo "timestamp, slept: $am_has_slept" > conftest.file
2551 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2552 if test "$*" = "X"; then
2553 # -L didn't work.
2554 set X `ls -t "$srcdir/configure" conftest.file`
2555 fi
2556 if test "$*" != "X $srcdir/configure conftest.file" \
2557 && test "$*" != "X conftest.file $srcdir/configure"; then
2558
2559 # If neither matched, then we have a broken ls. This can happen
2560 # if, for instance, CONFIG_SHELL is bash and it inherits a
2561 # broken ls alias from the environment. This has actually
2562 # happened. Such a system could not be considered "sane".
2563 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2564 alias in your environment" "$LINENO" 5
2565 fi
2566 if test "$2" = conftest.file || test $am_try -eq 2; then
2567 break
2568 fi
2569 # Just in case.
2570 sleep 1
2571 am_has_slept=yes
2572 done
2573 test "$2" = conftest.file
2574 )
2575 then
2576 # Ok.
2577 :
2578 else
2579 as_fn_error $? "newly created file is older than distributed files!
2580 Check your system clock" "$LINENO" 5
2581 fi
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2583 $as_echo "yes" >&6; }
2584 # If we didn't sleep, we still need to ensure time stamps of config.status and
2585 # generated files are strictly newer.
2586 am_sleep_pid=
2587 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2588 ( sleep 1 ) &
2589 am_sleep_pid=$!
2590 fi
2591
2592 rm -f conftest.file
2593
2594 test "$program_prefix" != NONE &&
2595 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2596 # Use a double $ so make ignores it.
2597 test "$program_suffix" != NONE &&
2598 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2599 # Double any \ or $.
2600 # By default was `s,x,x', remove it if useless.
2601 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2602 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2603
2604 # Expand $ac_aux_dir to an absolute path.
2605 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2606
2607 if test x"${MISSING+set}" != xset; then
2608 case $am_aux_dir in
2609 *\ * | *\ *)
2610 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2611 *)
2612 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2613 esac
2614 fi
2615 # Use eval to expand $SHELL
2616 if eval "$MISSING --is-lightweight"; then
2617 am_missing_run="$MISSING "
2618 else
2619 am_missing_run=
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2621 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2622 fi
2623
2624 if test x"${install_sh+set}" != xset; then
2625 case $am_aux_dir in
2626 *\ * | *\ *)
2627 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2628 *)
2629 install_sh="\${SHELL} $am_aux_dir/install-sh"
2630 esac
2631 fi
2632
2633 # Installed binaries are usually stripped using 'strip' when the user
2634 # run "make install-strip". However 'strip' might not be the right
2635 # tool to use in cross-compilation environments, therefore Automake
2636 # will honor the 'STRIP' environment variable to overrule this program.
2637 if test "$cross_compiling" != no; then
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2640 set dummy ${ac_tool_prefix}strip; ac_word=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if ${ac_cv_prog_STRIP+:} false; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 if test -n "$STRIP"; then
2647 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2648 else
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2651 do
2652 IFS=$as_save_IFS
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 break 2
2659 fi
2660 done
2661 done
2662 IFS=$as_save_IFS
2663
2664 fi
2665 fi
2666 STRIP=$ac_cv_prog_STRIP
2667 if test -n "$STRIP"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2669 $as_echo "$STRIP" >&6; }
2670 else
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2673 fi
2674
2675
2676 fi
2677 if test -z "$ac_cv_prog_STRIP"; then
2678 ac_ct_STRIP=$STRIP
2679 # Extract the first word of "strip", so it can be a program name with args.
2680 set dummy strip; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2684 $as_echo_n "(cached) " >&6
2685 else
2686 if test -n "$ac_ct_STRIP"; then
2687 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2688 else
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2691 do
2692 IFS=$as_save_IFS
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_ac_ct_STRIP="strip"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 break 2
2699 fi
2700 done
2701 done
2702 IFS=$as_save_IFS
2703
2704 fi
2705 fi
2706 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2707 if test -n "$ac_ct_STRIP"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2709 $as_echo "$ac_ct_STRIP" >&6; }
2710 else
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2713 fi
2714
2715 if test "x$ac_ct_STRIP" = x; then
2716 STRIP=":"
2717 else
2718 case $cross_compiling:$ac_tool_warned in
2719 yes:)
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722 ac_tool_warned=yes ;;
2723 esac
2724 STRIP=$ac_ct_STRIP
2725 fi
2726 else
2727 STRIP="$ac_cv_prog_STRIP"
2728 fi
2729
2730 fi
2731 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2732
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2734 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2735 if test -z "$MKDIR_P"; then
2736 if ${ac_cv_path_mkdir+:} false; then :
2737 $as_echo_n "(cached) " >&6
2738 else
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2741 do
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744 for ac_prog in mkdir gmkdir; do
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2747 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2748 'mkdir (GNU coreutils) '* | \
2749 'mkdir (coreutils) '* | \
2750 'mkdir (fileutils) '4.1*)
2751 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2752 break 3;;
2753 esac
2754 done
2755 done
2756 done
2757 IFS=$as_save_IFS
2758
2759 fi
2760
2761 test -d ./--version && rmdir ./--version
2762 if test "${ac_cv_path_mkdir+set}" = set; then
2763 MKDIR_P="$ac_cv_path_mkdir -p"
2764 else
2765 # As a last resort, use the slow shell script. Don't cache a
2766 # value for MKDIR_P within a source directory, because that will
2767 # break other packages using the cache if that directory is
2768 # removed, or if the value is a relative name.
2769 MKDIR_P="$ac_install_sh -d"
2770 fi
2771 fi
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2773 $as_echo "$MKDIR_P" >&6; }
2774
2775 for ac_prog in gawk mawk nawk awk
2776 do
2777 # Extract the first word of "$ac_prog", so it can be a program name with args.
2778 set dummy $ac_prog; ac_word=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_AWK+:} false; then :
2782 $as_echo_n "(cached) " >&6
2783 else
2784 if test -n "$AWK"; then
2785 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2786 else
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 for as_dir in $PATH
2789 do
2790 IFS=$as_save_IFS
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_AWK="$ac_prog"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 break 2
2797 fi
2798 done
2799 done
2800 IFS=$as_save_IFS
2801
2802 fi
2803 fi
2804 AWK=$ac_cv_prog_AWK
2805 if test -n "$AWK"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2807 $as_echo "$AWK" >&6; }
2808 else
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2811 fi
2812
2813
2814 test -n "$AWK" && break
2815 done
2816
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2819 set x ${MAKE-make}
2820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat >conftest.make <<\_ACEOF
2825 SHELL = /bin/sh
2826 all:
2827 @echo '@@@%%%=$(MAKE)=@@@%%%'
2828 _ACEOF
2829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2831 *@@@%%%=?*=@@@%%%*)
2832 eval ac_cv_prog_make_${ac_make}_set=yes;;
2833 *)
2834 eval ac_cv_prog_make_${ac_make}_set=no;;
2835 esac
2836 rm -f conftest.make
2837 fi
2838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2840 $as_echo "yes" >&6; }
2841 SET_MAKE=
2842 else
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2845 SET_MAKE="MAKE=${MAKE-make}"
2846 fi
2847
2848 rm -rf .tst 2>/dev/null
2849 mkdir .tst 2>/dev/null
2850 if test -d .tst; then
2851 am__leading_dot=.
2852 else
2853 am__leading_dot=_
2854 fi
2855 rmdir .tst 2>/dev/null
2856
2857 # Check whether --enable-silent-rules was given.
2858 if test "${enable_silent_rules+set}" = set; then :
2859 enableval=$enable_silent_rules;
2860 fi
2861
2862 case $enable_silent_rules in # (((
2863 yes) AM_DEFAULT_VERBOSITY=0;;
2864 no) AM_DEFAULT_VERBOSITY=1;;
2865 *) AM_DEFAULT_VERBOSITY=1;;
2866 esac
2867 am_make=${MAKE-make}
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2869 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2870 if ${am_cv_make_support_nested_variables+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 if $as_echo 'TRUE=$(BAR$(V))
2874 BAR0=false
2875 BAR1=true
2876 V=1
2877 am__doit:
2878 @$(TRUE)
2879 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2880 am_cv_make_support_nested_variables=yes
2881 else
2882 am_cv_make_support_nested_variables=no
2883 fi
2884 fi
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2886 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2887 if test $am_cv_make_support_nested_variables = yes; then
2888 AM_V='$(V)'
2889 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2890 else
2891 AM_V=$AM_DEFAULT_VERBOSITY
2892 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2893 fi
2894 AM_BACKSLASH='\'
2895
2896 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2897 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2898 # is not polluted with repeated "-I."
2899 am__isrc=' -I$(srcdir)'
2900 # test to see if srcdir already configured
2901 if test -f $srcdir/config.status; then
2902 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2903 fi
2904 fi
2905
2906 # test whether we have cygpath
2907 if test -z "$CYGPATH_W"; then
2908 if (cygpath --version) >/dev/null 2>/dev/null; then
2909 CYGPATH_W='cygpath -w'
2910 else
2911 CYGPATH_W=echo
2912 fi
2913 fi
2914
2915
2916 # Define the identity of the package.
2917 PACKAGE='dhcp_probe'
2918 VERSION='1.3.1'
2919
2920
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE "$PACKAGE"
2923 _ACEOF
2924
2925
2926 cat >>confdefs.h <<_ACEOF
2927 #define VERSION "$VERSION"
2928 _ACEOF
2929
2930 # Some tools Automake needs.
2931
2932 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2933
2934
2935 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2936
2937
2938 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2939
2940
2941 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2942
2943
2944 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2945
2946 # For better backward compatibility. To be removed once Automake 1.9.x
2947 # dies out for good. For more background, see:
2948 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2949 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2950 mkdir_p='$(MKDIR_P)'
2951
2952 # We need awk for the "check" target (and possibly the TAP driver). The
2953 # system "awk" is bad on some platforms.
2954 # Always define AMTAR for backward compatibility. Yes, it's still used
2955 # in the wild :-( We should find a proper way to deprecate it ...
2956 AMTAR='$${TAR-tar}'
2957
2958
2959 # We'll loop over all known methods to create a tar archive until one works.
2960 _am_tools='gnutar pax cpio none'
2961
2962 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2963
2964
2965
2966
2967
2968
2969 # POSIX will say in a future version that running "rm -f" with no argument
2970 # is OK; and we want to be able to make that assumption in our Makefile
2971 # recipes. So use an aggressive probe to check that the usage we want is
2972 # actually supported "in the wild" to an acceptable degree.
2973 # See automake bug#10828.
2974 # To make any issue more visible, cause the running configure to be aborted
2975 # by default if the 'rm' program in use doesn't match our expectations; the
2976 # user can still override this though.
2977 if rm -f && rm -fr && rm -rf; then : OK; else
2978 cat >&2 <<'END'
2979 Oops!
2980
2981 Your 'rm' program seems unable to run without file operands specified
2982 on the command line, even when the '-f' option is present. This is contrary
2983 to the behaviour of most rm programs out there, and not conforming with
2984 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2985
2986 Please tell [email protected] about your system, including the value
2987 of your $PATH and any error possibly output before this message. This
2988 can help us improve future automake versions.
2989
2990 END
2991 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2992 echo 'Configuration will proceed anyway, since you have set the' >&2
2993 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2994 echo >&2
2995 else
2996 cat >&2 <<'END'
2997 Aborting the configuration process, to ensure you take notice of the issue.
2998
2999 You can download and install GNU coreutils to get an 'rm' implementation
3000 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3001
3002 If you want to complete the configuration process using your problematic
3003 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3004 to "yes", and re-run configure.
3005
3006 END
3007 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3008 fi
3009 fi
3010
3011
3012 # Make sure we can run config.sub.
3013 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3014 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3015
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3017 $as_echo_n "checking build system type... " >&6; }
3018 if ${ac_cv_build+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 ac_build_alias=$build_alias
3022 test "x$ac_build_alias" = x &&
3023 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3024 test "x$ac_build_alias" = x &&
3025 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3026 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3027 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3028
3029 fi
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3031 $as_echo "$ac_cv_build" >&6; }
3032 case $ac_cv_build in
3033 *-*-*) ;;
3034 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3035 esac
3036 build=$ac_cv_build
3037 ac_save_IFS=$IFS; IFS='-'
3038 set x $ac_cv_build
3039 shift
3040 build_cpu=$1
3041 build_vendor=$2
3042 shift; shift
3043 # Remember, the first character of IFS is used to create $*,
3044 # except with old shells:
3045 build_os=$*
3046 IFS=$ac_save_IFS
3047 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3048
3049
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3051 $as_echo_n "checking host system type... " >&6; }
3052 if ${ac_cv_host+:} false; then :
3053 $as_echo_n "(cached) " >&6
3054 else
3055 if test "x$host_alias" = x; then
3056 ac_cv_host=$ac_cv_build
3057 else
3058 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3059 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 fi
3061
3062 fi
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3064 $as_echo "$ac_cv_host" >&6; }
3065 case $ac_cv_host in
3066 *-*-*) ;;
3067 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3068 esac
3069 host=$ac_cv_host
3070 ac_save_IFS=$IFS; IFS='-'
3071 set x $ac_cv_host
3072 shift
3073 host_cpu=$1
3074 host_vendor=$2
3075 shift; shift
3076 # Remember, the first character of IFS is used to create $*,
3077 # except with old shells:
3078 host_os=$*
3079 IFS=$ac_save_IFS
3080 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3081
3082
3083
3084
3085 ac_ext=c
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090 if test -n "$ac_tool_prefix"; then
3091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if ${ac_cv_prog_CC+:} false; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 if test -n "$CC"; then
3099 ac_cv_prog_CC="$CC" # Let the user override the test.
3100 else
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 for as_dir in $PATH
3103 do
3104 IFS=$as_save_IFS
3105 test -z "$as_dir" && as_dir=.
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3108 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 break 2
3111 fi
3112 done
3113 done
3114 IFS=$as_save_IFS
3115
3116 fi
3117 fi
3118 CC=$ac_cv_prog_CC
3119 if test -n "$CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3121 $as_echo "$CC" >&6; }
3122 else
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3125 fi
3126
3127
3128 fi
3129 if test -z "$ac_cv_prog_CC"; then
3130 ac_ct_CC=$CC
3131 # Extract the first word of "gcc", so it can be a program name with args.
3132 set dummy gcc; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3137 else
3138 if test -n "$ac_ct_CC"; then
3139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3143 do
3144 IFS=$as_save_IFS
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_ac_ct_CC="gcc"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3151 fi
3152 done
3153 done
3154 IFS=$as_save_IFS
3155
3156 fi
3157 fi
3158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3159 if test -n "$ac_ct_CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161 $as_echo "$ac_ct_CC" >&6; }
3162 else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 fi
3166
3167 if test "x$ac_ct_CC" = x; then
3168 CC=""
3169 else
3170 case $cross_compiling:$ac_tool_warned in
3171 yes:)
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3174 ac_tool_warned=yes ;;
3175 esac
3176 CC=$ac_ct_CC
3177 fi
3178 else
3179 CC="$ac_cv_prog_CC"
3180 fi
3181
3182 if test -z "$CC"; then
3183 if test -n "$ac_tool_prefix"; then
3184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3185 set dummy ${ac_tool_prefix}cc; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_CC+:} false; then :
3189 $as_echo_n "(cached) " >&6
3190 else
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC="$CC" # Let the user override the test.
3193 else
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3196 do
3197 IFS=$as_save_IFS
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_CC="${ac_tool_prefix}cc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 break 2
3204 fi
3205 done
3206 done
3207 IFS=$as_save_IFS
3208
3209 fi
3210 fi
3211 CC=$ac_cv_prog_CC
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3215 else
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3218 fi
3219
3220
3221 fi
3222 fi
3223 if test -z "$CC"; then
3224 # Extract the first word of "cc", so it can be a program name with args.
3225 set dummy cc; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_CC+:} false; then :
3229 $as_echo_n "(cached) " >&6
3230 else
3231 if test -n "$CC"; then
3232 ac_cv_prog_CC="$CC" # Let the user override the test.
3233 else
3234 ac_prog_rejected=no
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH
3237 do
3238 IFS=$as_save_IFS
3239 test -z "$as_dir" && as_dir=.
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3243 ac_prog_rejected=yes
3244 continue
3245 fi
3246 ac_cv_prog_CC="cc"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 break 2
3249 fi
3250 done
3251 done
3252 IFS=$as_save_IFS
3253
3254 if test $ac_prog_rejected = yes; then
3255 # We found a bogon in the path, so make sure we never use it.
3256 set dummy $ac_cv_prog_CC
3257 shift
3258 if test $# != 0; then
3259 # We chose a different compiler from the bogus one.
3260 # However, it has the same basename, so the bogon will be chosen
3261 # first if we set CC to just the basename; use the full file name.
3262 shift
3263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3264 fi
3265 fi
3266 fi
3267 fi
3268 CC=$ac_cv_prog_CC
3269 if test -n "$CC"; then
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3271 $as_echo "$CC" >&6; }
3272 else
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3275 fi
3276
3277
3278 fi
3279 if test -z "$CC"; then
3280 if test -n "$ac_tool_prefix"; then
3281 for ac_prog in cl.exe
3282 do
3283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_CC+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289 else
3290 if test -n "$CC"; then
3291 ac_cv_prog_CC="$CC" # Let the user override the test.
3292 else
3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 for as_dir in $PATH
3295 do
3296 IFS=$as_save_IFS
3297 test -z "$as_dir" && as_dir=.
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 break 2
3303 fi
3304 done
3305 done
3306 IFS=$as_save_IFS
3307
3308 fi
3309 fi
3310 CC=$ac_cv_prog_CC
3311 if test -n "$CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3314 else
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 fi
3318
3319
3320 test -n "$CC" && break
3321 done
3322 fi
3323 if test -z "$CC"; then
3324 ac_ct_CC=$CC
3325 for ac_prog in cl.exe
3326 do
3327 # Extract the first word of "$ac_prog", so it can be a program name with args.
3328 set dummy $ac_prog; ac_word=$2
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 $as_echo_n "checking for $ac_word... " >&6; }
3331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3332 $as_echo_n "(cached) " >&6
3333 else
3334 if test -n "$ac_ct_CC"; then
3335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3336 else
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 for as_dir in $PATH
3339 do
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_ac_ct_CC="$ac_prog"
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3347 fi
3348 done
3349 done
3350 IFS=$as_save_IFS
3351
3352 fi
3353 fi
3354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3355 if test -n "$ac_ct_CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3357 $as_echo "$ac_ct_CC" >&6; }
3358 else
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3361 fi
3362
3363
3364 test -n "$ac_ct_CC" && break
3365 done
3366
3367 if test "x$ac_ct_CC" = x; then
3368 CC=""
3369 else
3370 case $cross_compiling:$ac_tool_warned in
3371 yes:)
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3374 ac_tool_warned=yes ;;
3375 esac
3376 CC=$ac_ct_CC
3377 fi
3378 fi
3379
3380 fi
3381
3382
3383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error $? "no acceptable C compiler found in \$PATH
3386 See \`config.log' for more details" "$LINENO" 5; }
3387
3388 # Provide some information about the compiler.
3389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3390 set X $ac_compile
3391 ac_compiler=$2
3392 for ac_option in --version -v -V -qversion; do
3393 { { ac_try="$ac_compiler $ac_option >&5"
3394 case "(($ac_try" in
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3397 esac
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3401 ac_status=$?
3402 if test -s conftest.err; then
3403 sed '10a\
3404 ... rest of stderr output deleted ...
3405 10q' conftest.err >conftest.er1
3406 cat conftest.er1 >&5
3407 fi
3408 rm -f conftest.er1 conftest.err
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }
3411 done
3412
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3415
3416 int
3417 main ()
3418 {
3419
3420 ;
3421 return 0;
3422 }
3423 _ACEOF
3424 ac_clean_files_save=$ac_clean_files
3425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3426 # Try to create an executable without -o first, disregard a.out.
3427 # It will help us diagnose broken compilers, and finding out an intuition
3428 # of exeext.
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3430 $as_echo_n "checking whether the C compiler works... " >&6; }
3431 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3432
3433 # The possible output files:
3434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3435
3436 ac_rmfiles=
3437 for ac_file in $ac_files
3438 do
3439 case $ac_file in
3440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3442 esac
3443 done
3444 rm -f $ac_rmfiles
3445
3446 if { { ac_try="$ac_link_default"
3447 case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3450 esac
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_link_default") 2>&5
3454 ac_status=$?
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3460 # so that the user can short-circuit this test for compilers unknown to
3461 # Autoconf.
3462 for ac_file in $ac_files ''
3463 do
3464 test -f "$ac_file" || continue
3465 case $ac_file in
3466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3467 ;;
3468 [ab].out )
3469 # We found the default executable, but exeext='' is most
3470 # certainly right.
3471 break;;
3472 *.* )
3473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3474 then :; else
3475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3476 fi
3477 # We set ac_cv_exeext here because the later test for it is not
3478 # safe: cross compilers may not add the suffix if given an `-o'
3479 # argument, so we may need to know it at that point already.
3480 # Even if this section looks crufty: it has the advantage of
3481 # actually working.
3482 break;;
3483 * )
3484 break;;
3485 esac
3486 done
3487 test "$ac_cv_exeext" = no && ac_cv_exeext=
3488
3489 else
3490 ac_file=''
3491 fi
3492 if test -z "$ac_file"; then :
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3497
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error 77 "C compiler cannot create executables
3501 See \`config.log' for more details" "$LINENO" 5; }
3502 else
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3504 $as_echo "yes" >&6; }
3505 fi
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3507 $as_echo_n "checking for C compiler default output file name... " >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3509 $as_echo "$ac_file" >&6; }
3510 ac_exeext=$ac_cv_exeext
3511
3512 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3513 ac_clean_files=$ac_clean_files_save
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3515 $as_echo_n "checking for suffix of executables... " >&6; }
3516 if { { ac_try="$ac_link"
3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_link") 2>&5
3524 ac_status=$?
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3529 # work properly (i.e., refer to `conftest.exe'), while it won't with
3530 # `rm'.
3531 for ac_file in conftest.exe conftest conftest.*; do
3532 test -f "$ac_file" || continue
3533 case $ac_file in
3534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3536 break;;
3537 * ) break;;
3538 esac
3539 done
3540 else
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3544 See \`config.log' for more details" "$LINENO" 5; }
3545 fi
3546 rm -f conftest conftest$ac_cv_exeext
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3548 $as_echo "$ac_cv_exeext" >&6; }
3549
3550 rm -f conftest.$ac_ext
3551 EXEEXT=$ac_cv_exeext
3552 ac_exeext=$EXEEXT
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555 #include <stdio.h>
3556 int
3557 main ()
3558 {
3559 FILE *f = fopen ("conftest.out", "w");
3560 return ferror (f) || fclose (f) != 0;
3561
3562 ;
3563 return 0;
3564 }
3565 _ACEOF
3566 ac_clean_files="$ac_clean_files conftest.out"
3567 # Check that the compiler produces executables we can run. If not, either
3568 # the compiler is broken, or we cross compile.
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3570 $as_echo_n "checking whether we are cross compiling... " >&6; }
3571 if test "$cross_compiling" != yes; then
3572 { { ac_try="$ac_link"
3573 case "(($ac_try" in
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3576 esac
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_link") 2>&5
3580 ac_status=$?
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }
3583 if { ac_try='./conftest$ac_cv_exeext'
3584 { { case "(($ac_try" in
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3587 esac
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_try") 2>&5
3591 ac_status=$?
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }; }; then
3594 cross_compiling=no
3595 else
3596 if test "$cross_compiling" = maybe; then
3597 cross_compiling=yes
3598 else
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error $? "cannot run C compiled programs.
3602 If you meant to cross compile, use \`--host'.
3603 See \`config.log' for more details" "$LINENO" 5; }
3604 fi
3605 fi
3606 fi
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3608 $as_echo "$cross_compiling" >&6; }
3609
3610 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3611 ac_clean_files=$ac_clean_files_save
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3613 $as_echo_n "checking for suffix of object files... " >&6; }
3614 if ${ac_cv_objext+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3619
3620 int
3621 main ()
3622 {
3623
3624 ;
3625 return 0;
3626 }
3627 _ACEOF
3628 rm -f conftest.o conftest.obj
3629 if { { ac_try="$ac_compile"
3630 case "(($ac_try" in
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3633 esac
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_compile") 2>&5
3637 ac_status=$?
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }; then :
3640 for ac_file in conftest.o conftest.obj conftest.*; do
3641 test -f "$ac_file" || continue;
3642 case $ac_file in
3643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3644 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3645 break;;
3646 esac
3647 done
3648 else
3649 $as_echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3651
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "cannot compute suffix of object files: cannot compile
3655 See \`config.log' for more details" "$LINENO" 5; }
3656 fi
3657 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3658 fi
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3660 $as_echo "$ac_cv_objext" >&6; }
3661 OBJEXT=$ac_cv_objext
3662 ac_objext=$OBJEXT
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3664 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3665 if ${ac_cv_c_compiler_gnu+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3670
3671 int
3672 main ()
3673 {
3674 #ifndef __GNUC__
3675 choke me
3676 #endif
3677
3678 ;
3679 return 0;
3680 }
3681 _ACEOF
3682 if ac_fn_c_try_compile "$LINENO"; then :
3683 ac_compiler_gnu=yes
3684 else
3685 ac_compiler_gnu=no
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3689
3690 fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3692 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3693 if test $ac_compiler_gnu = yes; then
3694 GCC=yes
3695 else
3696 GCC=
3697 fi
3698 ac_test_CFLAGS=${CFLAGS+set}
3699 ac_save_CFLAGS=$CFLAGS
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3701 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3702 if ${ac_cv_prog_cc_g+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 ac_save_c_werror_flag=$ac_c_werror_flag
3706 ac_c_werror_flag=yes
3707 ac_cv_prog_cc_g=no
3708 CFLAGS="-g"
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3711
3712 int
3713 main ()
3714 {
3715
3716 ;
3717 return 0;
3718 }
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_prog_cc_g=yes
3722 else
3723 CFLAGS=""
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3726
3727 int
3728 main ()
3729 {
3730
3731 ;
3732 return 0;
3733 }
3734 _ACEOF
3735 if ac_fn_c_try_compile "$LINENO"; then :
3736
3737 else
3738 ac_c_werror_flag=$ac_save_c_werror_flag
3739 CFLAGS="-g"
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3742
3743 int
3744 main ()
3745 {
3746
3747 ;
3748 return 0;
3749 }
3750 _ACEOF
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752 ac_cv_prog_cc_g=yes
3753 fi
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 fi
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 fi
3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759 ac_c_werror_flag=$ac_save_c_werror_flag
3760 fi
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3762 $as_echo "$ac_cv_prog_cc_g" >&6; }
3763 if test "$ac_test_CFLAGS" = set; then
3764 CFLAGS=$ac_save_CFLAGS
3765 elif test $ac_cv_prog_cc_g = yes; then
3766 if test "$GCC" = yes; then
3767 CFLAGS="-g -O2"
3768 else
3769 CFLAGS="-g"
3770 fi
3771 else
3772 if test "$GCC" = yes; then
3773 CFLAGS="-O2"
3774 else
3775 CFLAGS=
3776 fi
3777 fi
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3779 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3780 if ${ac_cv_prog_cc_c89+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 ac_cv_prog_cc_c89=no
3784 ac_save_CC=$CC
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3787 #include <stdarg.h>
3788 #include <stdio.h>
3789 struct stat;
3790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3791 struct buf { int x; };
3792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3793 static char *e (p, i)
3794 char **p;
3795 int i;
3796 {
3797 return p[i];
3798 }
3799 static char *f (char * (*g) (char **, int), char **p, ...)
3800 {
3801 char *s;
3802 va_list v;
3803 va_start (v,p);
3804 s = g (p, va_arg (v,int));
3805 va_end (v);
3806 return s;
3807 }
3808
3809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3810 function prototypes and stuff, but not '\xHH' hex character constants.
3811 These don't provoke an error unfortunately, instead are silently treated
3812 as 'x'. The following induces an error, until -std is added to get
3813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3814 array size at least. It's necessary to write '\x00'==0 to get something
3815 that's true only with -std. */
3816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3817
3818 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3819 inside strings and character constants. */
3820 #define FOO(x) 'x'
3821 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3822
3823 int test (int i, double x);
3824 struct s1 {int (*f) (int a);};
3825 struct s2 {int (*f) (double a);};
3826 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3827 int argc;
3828 char **argv;
3829 int
3830 main ()
3831 {
3832 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3833 ;
3834 return 0;
3835 }
3836 _ACEOF
3837 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3839 do
3840 CC="$ac_save_CC $ac_arg"
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842 ac_cv_prog_cc_c89=$ac_arg
3843 fi
3844 rm -f core conftest.err conftest.$ac_objext
3845 test "x$ac_cv_prog_cc_c89" != "xno" && break
3846 done
3847 rm -f conftest.$ac_ext
3848 CC=$ac_save_CC
3849
3850 fi
3851 # AC_CACHE_VAL
3852 case "x$ac_cv_prog_cc_c89" in
3853 x)
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3855 $as_echo "none needed" >&6; } ;;
3856 xno)
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3858 $as_echo "unsupported" >&6; } ;;
3859 *)
3860 CC="$CC $ac_cv_prog_cc_c89"
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3862 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3863 esac
3864 if test "x$ac_cv_prog_cc_c89" != xno; then :
3865
3866 fi
3867
3868 ac_ext=c
3869 ac_cpp='$CPP $CPPFLAGS'
3870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3873
3874 ac_ext=c
3875 ac_cpp='$CPP $CPPFLAGS'
3876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3880 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3881 if ${am_cv_prog_cc_c_o+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3886
3887 int
3888 main ()
3889 {
3890
3891 ;
3892 return 0;
3893 }
3894 _ACEOF
3895 # Make sure it works both with $CC and with simple cc.
3896 # Following AC_PROG_CC_C_O, we do the test twice because some
3897 # compilers refuse to overwrite an existing .o file with -o,
3898 # though they will create one.
3899 am_cv_prog_cc_c_o=yes
3900 for am_i in 1 2; do
3901 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3902 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3903 ac_status=$?
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } \
3906 && test -f conftest2.$ac_objext; then
3907 : OK
3908 else
3909 am_cv_prog_cc_c_o=no
3910 break
3911 fi
3912 done
3913 rm -f core conftest*
3914 unset am_i
3915 fi
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3917 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3918 if test "$am_cv_prog_cc_c_o" != yes; then
3919 # Losing compiler, so override with the script.
3920 # FIXME: It is wrong to rewrite CC.
3921 # But if we don't then we get into trouble of one sort or another.
3922 # A longer-term fix would be to have automake use am__CC in this case,
3923 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3924 CC="$am_aux_dir/compile $CC"
3925 fi
3926 ac_ext=c
3927 ac_cpp='$CPP $CPPFLAGS'
3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3931
3932 DEPDIR="${am__leading_dot}deps"
3933
3934 ac_config_commands="$ac_config_commands depfiles"
3935
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3937 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3938 cat > confinc.mk << 'END'
3939 am__doit:
3940 @echo this is the am__doit target >confinc.out
3941 .PHONY: am__doit
3942 END
3943 am__include="#"
3944 am__quote=
3945 # BSD make does it like this.
3946 echo '.include "confinc.mk" # ignored' > confmf.BSD
3947 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3948 echo 'include confinc.mk # ignored' > confmf.GNU
3949 _am_result=no
3950 for s in GNU BSD; do
3951 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3952 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3953 ac_status=$?
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }
3956 case $?:`cat confinc.out 2>/dev/null` in #(
3957 '0:this is the am__doit target') :
3958 case $s in #(
3959 BSD) :
3960 am__include='.include' am__quote='"' ;; #(
3961 *) :
3962 am__include='include' am__quote='' ;;
3963 esac ;; #(
3964 *) :
3965 ;;
3966 esac
3967 if test "$am__include" != "#"; then
3968 _am_result="yes ($s style)"
3969 break
3970 fi
3971 done
3972 rm -f confinc.* confmf.*
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3974 $as_echo "${_am_result}" >&6; }
3975
3976 # Check whether --enable-dependency-tracking was given.
3977 if test "${enable_dependency_tracking+set}" = set; then :
3978 enableval=$enable_dependency_tracking;
3979 fi
3980
3981 if test "x$enable_dependency_tracking" != xno; then
3982 am_depcomp="$ac_aux_dir/depcomp"
3983 AMDEPBACKSLASH='\'
3984 am__nodep='_no'
3985 fi
3986 if test "x$enable_dependency_tracking" != xno; then
3987 AMDEP_TRUE=
3988 AMDEP_FALSE='#'
3989 else
3990 AMDEP_TRUE='#'
3991 AMDEP_FALSE=
3992 fi
3993
3994
3995
3996 depcc="$CC" am_compiler_list=
3997
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3999 $as_echo_n "checking dependency style of $depcc... " >&6; }
4000 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4004 # We make a subdir and do the tests there. Otherwise we can end up
4005 # making bogus files that we don't know about and never remove. For
4006 # instance it was reported that on HP-UX the gcc test will end up
4007 # making a dummy file named 'D' -- because '-MD' means "put the output
4008 # in D".
4009 rm -rf conftest.dir
4010 mkdir conftest.dir
4011 # Copy depcomp to subdir because otherwise we won't find it if we're
4012 # using a relative directory.
4013 cp "$am_depcomp" conftest.dir
4014 cd conftest.dir
4015 # We will build objects and dependencies in a subdirectory because
4016 # it helps to detect inapplicable dependency modes. For instance
4017 # both Tru64's cc and ICC support -MD to output dependencies as a
4018 # side effect of compilation, but ICC will put the dependencies in
4019 # the current directory while Tru64 will put them in the object
4020 # directory.
4021 mkdir sub
4022
4023 am_cv_CC_dependencies_compiler_type=none
4024 if test "$am_compiler_list" = ""; then
4025 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4026 fi
4027 am__universal=false
4028 case " $depcc " in #(
4029 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4030 esac
4031
4032 for depmode in $am_compiler_list; do
4033 # Setup a source with many dependencies, because some compilers
4034 # like to wrap large dependency lists on column 80 (with \), and
4035 # we should not choose a depcomp mode which is confused by this.
4036 #
4037 # We need to recreate these files for each test, as the compiler may
4038 # overwrite some of them when testing with obscure command lines.
4039 # This happens at least with the AIX C compiler.
4040 : > sub/conftest.c
4041 for i in 1 2 3 4 5 6; do
4042 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4043 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4044 # Solaris 10 /bin/sh.
4045 echo '/* dummy */' > sub/conftst$i.h
4046 done
4047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4048
4049 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4050 # mode. It turns out that the SunPro C++ compiler does not properly
4051 # handle '-M -o', and we need to detect this. Also, some Intel
4052 # versions had trouble with output in subdirs.
4053 am__obj=sub/conftest.${OBJEXT-o}
4054 am__minus_obj="-o $am__obj"
4055 case $depmode in
4056 gcc)
4057 # This depmode causes a compiler race in universal mode.
4058 test "$am__universal" = false || continue
4059 ;;
4060 nosideeffect)
4061 # After this tag, mechanisms are not by side-effect, so they'll
4062 # only be used when explicitly requested.
4063 if test "x$enable_dependency_tracking" = xyes; then
4064 continue
4065 else
4066 break
4067 fi
4068 ;;
4069 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4070 # This compiler won't grok '-c -o', but also, the minuso test has
4071 # not run yet. These depmodes are late enough in the game, and
4072 # so weak that their functioning should not be impacted.
4073 am__obj=conftest.${OBJEXT-o}
4074 am__minus_obj=
4075 ;;
4076 none) break ;;
4077 esac
4078 if depmode=$depmode \
4079 source=sub/conftest.c object=$am__obj \
4080 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4081 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4082 >/dev/null 2>conftest.err &&
4083 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4084 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4085 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4086 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4087 # icc doesn't choke on unknown options, it will just issue warnings
4088 # or remarks (even with -Werror). So we grep stderr for any message
4089 # that says an option was ignored or not supported.
4090 # When given -MP, icc 7.0 and 7.1 complain thusly:
4091 # icc: Command line warning: ignoring option '-M'; no argument required
4092 # The diagnosis changed in icc 8.0:
4093 # icc: Command line remark: option '-MP' not supported
4094 if (grep 'ignoring option' conftest.err ||
4095 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4096 am_cv_CC_dependencies_compiler_type=$depmode
4097 break
4098 fi
4099 fi
4100 done
4101
4102 cd ..
4103 rm -rf conftest.dir
4104 else
4105 am_cv_CC_dependencies_compiler_type=none
4106 fi
4107
4108 fi
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4110 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4111 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4112
4113 if
4114 test "x$enable_dependency_tracking" != xno \
4115 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4116 am__fastdepCC_TRUE=
4117 am__fastdepCC_FALSE='#'
4118 else
4119 am__fastdepCC_TRUE='#'
4120 am__fastdepCC_FALSE=
4121 fi
4122
4123
4124 if test -n "$ac_tool_prefix"; then
4125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_RANLIB+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 if test -n "$RANLIB"; then
4133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4134 else
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH
4137 do
4138 IFS=$as_save_IFS
4139 test -z "$as_dir" && as_dir=.
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 break 2
4145 fi
4146 done
4147 done
4148 IFS=$as_save_IFS
4149
4150 fi
4151 fi
4152 RANLIB=$ac_cv_prog_RANLIB
4153 if test -n "$RANLIB"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4155 $as_echo "$RANLIB" >&6; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4159 fi
4160
4161
4162 fi
4163 if test -z "$ac_cv_prog_RANLIB"; then
4164 ac_ct_RANLIB=$RANLIB
4165 # Extract the first word of "ranlib", so it can be a program name with args.
4166 set dummy ranlib; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test -n "$ac_ct_RANLIB"; then
4173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4174 else
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4177 do
4178 IFS=$as_save_IFS
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_ac_ct_RANLIB="ranlib"
4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 break 2
4185 fi
4186 done
4187 done
4188 IFS=$as_save_IFS
4189
4190 fi
4191 fi
4192 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4193 if test -n "$ac_ct_RANLIB"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4195 $as_echo "$ac_ct_RANLIB" >&6; }
4196 else
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4199 fi
4200
4201 if test "x$ac_ct_RANLIB" = x; then
4202 RANLIB=":"
4203 else
4204 case $cross_compiling:$ac_tool_warned in
4205 yes:)
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4208 ac_tool_warned=yes ;;
4209 esac
4210 RANLIB=$ac_ct_RANLIB
4211 fi
4212 else
4213 RANLIB="$ac_cv_prog_RANLIB"
4214 fi
4215
4216
4217
4218
4219 case "$host" in
4220 *solaris*)
4221
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4223 $as_echo_n "checking for socket in -lsocket... " >&6; }
4224 if ${ac_cv_lib_socket_socket+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 ac_check_lib_save_LIBS=$LIBS
4228 LIBS="-lsocket $LIBS"
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4231
4232 /* Override any GCC internal prototype to avoid an error.
4233 Use char because int might match the return type of a GCC
4234 builtin and then its argument prototype would still apply. */
4235 #ifdef __cplusplus
4236 extern "C"
4237 #endif
4238 char socket ();
4239 int
4240 main ()
4241 {
4242 return socket ();
4243 ;
4244 return 0;
4245 }
4246 _ACEOF
4247 if ac_fn_c_try_link "$LINENO"; then :
4248 ac_cv_lib_socket_socket=yes
4249 else
4250 ac_cv_lib_socket_socket=no
4251 fi
4252 rm -f core conftest.err conftest.$ac_objext \
4253 conftest$ac_exeext conftest.$ac_ext
4254 LIBS=$ac_check_lib_save_LIBS
4255 fi
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4257 $as_echo "$ac_cv_lib_socket_socket" >&6; }
4258 if test "x$ac_cv_lib_socket_socket" = xyes; then :
4259 cat >>confdefs.h <<_ACEOF
4260 #define HAVE_LIBSOCKET 1
4261 _ACEOF
4262
4263 LIBS="-lsocket $LIBS"
4264
4265 else
4266 as_fn_error $? "Can't find libsocket." "$LINENO" 5
4267 fi
4268
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
4270 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
4271 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 ac_check_lib_save_LIBS=$LIBS
4275 LIBS="-lnsl $LIBS"
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4278
4279 /* Override any GCC internal prototype to avoid an error.
4280 Use char because int might match the return type of a GCC
4281 builtin and then its argument prototype would still apply. */
4282 #ifdef __cplusplus
4283 extern "C"
4284 #endif
4285 char inet_ntoa ();
4286 int
4287 main ()
4288 {
4289 return inet_ntoa ();
4290 ;
4291 return 0;
4292 }
4293 _ACEOF
4294 if ac_fn_c_try_link "$LINENO"; then :
4295 ac_cv_lib_nsl_inet_ntoa=yes
4296 else
4297 ac_cv_lib_nsl_inet_ntoa=no
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext \
4300 conftest$ac_exeext conftest.$ac_ext
4301 LIBS=$ac_check_lib_save_LIBS
4302 fi
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
4304 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
4305 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
4306 cat >>confdefs.h <<_ACEOF
4307 #define HAVE_LIBNSL 1
4308 _ACEOF
4309
4310 LIBS="-lnsl $LIBS"
4311
4312 else
4313 as_fn_error $? "Can't find libnsl." "$LINENO" 5
4314 fi
4315
4316 ;;
4317 esac
4318
4319
4320
4321 ac_ext=c
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4327 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4328 # On Suns, sometimes $CPP names a directory.
4329 if test -n "$CPP" && test -d "$CPP"; then
4330 CPP=
4331 fi
4332 if test -z "$CPP"; then
4333 if ${ac_cv_prog_CPP+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 # Double quotes because CPP needs to be expanded
4337 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4338 do
4339 ac_preproc_ok=false
4340 for ac_c_preproc_warn_flag in '' yes
4341 do
4342 # Use a header file that comes with gcc, so configuring glibc
4343 # with a fresh cross-compiler works.
4344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4345 # <limits.h> exists even on freestanding compilers.
4346 # On the NeXT, cc -E runs the code through the compiler's parser,
4347 # not just through cpp. "Syntax error" is here to catch this case.
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350 #ifdef __STDC__
4351 # include <limits.h>
4352 #else
4353 # include <assert.h>
4354 #endif
4355 Syntax error
4356 _ACEOF
4357 if ac_fn_c_try_cpp "$LINENO"; then :
4358
4359 else
4360 # Broken: fails on valid input.
4361 continue
4362 fi
4363 rm -f conftest.err conftest.i conftest.$ac_ext
4364
4365 # OK, works on sane cases. Now check whether nonexistent headers
4366 # can be detected and how.
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4369 #include <ac_nonexistent.h>
4370 _ACEOF
4371 if ac_fn_c_try_cpp "$LINENO"; then :
4372 # Broken: success on invalid input.
4373 continue
4374 else
4375 # Passes both tests.
4376 ac_preproc_ok=:
4377 break
4378 fi
4379 rm -f conftest.err conftest.i conftest.$ac_ext
4380
4381 done
4382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4383 rm -f conftest.i conftest.err conftest.$ac_ext
4384 if $ac_preproc_ok; then :
4385 break
4386 fi
4387
4388 done
4389 ac_cv_prog_CPP=$CPP
4390
4391 fi
4392 CPP=$ac_cv_prog_CPP
4393 else
4394 ac_cv_prog_CPP=$CPP
4395 fi
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4397 $as_echo "$CPP" >&6; }
4398 ac_preproc_ok=false
4399 for ac_c_preproc_warn_flag in '' yes
4400 do
4401 # Use a header file that comes with gcc, so configuring glibc
4402 # with a fresh cross-compiler works.
4403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4404 # <limits.h> exists even on freestanding compilers.
4405 # On the NeXT, cc -E runs the code through the compiler's parser,
4406 # not just through cpp. "Syntax error" is here to catch this case.
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4409 #ifdef __STDC__
4410 # include <limits.h>
4411 #else
4412 # include <assert.h>
4413 #endif
4414 Syntax error
4415 _ACEOF
4416 if ac_fn_c_try_cpp "$LINENO"; then :
4417
4418 else
4419 # Broken: fails on valid input.
4420 continue
4421 fi
4422 rm -f conftest.err conftest.i conftest.$ac_ext
4423
4424 # OK, works on sane cases. Now check whether nonexistent headers
4425 # can be detected and how.
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4428 #include <ac_nonexistent.h>
4429 _ACEOF
4430 if ac_fn_c_try_cpp "$LINENO"; then :
4431 # Broken: success on invalid input.
4432 continue
4433 else
4434 # Passes both tests.
4435 ac_preproc_ok=:
4436 break
4437 fi
4438 rm -f conftest.err conftest.i conftest.$ac_ext
4439
4440 done
4441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4442 rm -f conftest.i conftest.err conftest.$ac_ext
4443 if $ac_preproc_ok; then :
4444
4445 else
4446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4449 See \`config.log' for more details" "$LINENO" 5; }
4450 fi
4451
4452 ac_ext=c
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457
4458
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4460 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4461 if ${ac_cv_path_GREP+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 if test -z "$GREP"; then
4465 ac_path_GREP_found=false
4466 # Loop through the user's path and test for each of PROGNAME-LIST
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4469 do
4470 IFS=$as_save_IFS
4471 test -z "$as_dir" && as_dir=.
4472 for ac_prog in grep ggrep; do
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4475 as_fn_executable_p "$ac_path_GREP" || continue
4476 # Check for GNU ac_path_GREP and select it if it is found.
4477 # Check for GNU $ac_path_GREP
4478 case `"$ac_path_GREP" --version 2>&1` in
4479 *GNU*)
4480 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4481 *)
4482 ac_count=0
4483 $as_echo_n 0123456789 >"conftest.in"
4484 while :
4485 do
4486 cat "conftest.in" "conftest.in" >"conftest.tmp"
4487 mv "conftest.tmp" "conftest.in"
4488 cp "conftest.in" "conftest.nl"
4489 $as_echo 'GREP' >> "conftest.nl"
4490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4492 as_fn_arith $ac_count + 1 && ac_count=$as_val
4493 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4494 # Best one so far, save it but keep looking for a better one
4495 ac_cv_path_GREP="$ac_path_GREP"
4496 ac_path_GREP_max=$ac_count
4497 fi
4498 # 10*(2^10) chars as input seems more than enough
4499 test $ac_count -gt 10 && break
4500 done
4501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4502 esac
4503
4504 $ac_path_GREP_found && break 3
4505 done
4506 done
4507 done
4508 IFS=$as_save_IFS
4509 if test -z "$ac_cv_path_GREP"; then
4510 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4511 fi
4512 else
4513 ac_cv_path_GREP=$GREP
4514 fi
4515
4516 fi
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4518 $as_echo "$ac_cv_path_GREP" >&6; }
4519 GREP="$ac_cv_path_GREP"
4520
4521
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4523 $as_echo_n "checking for egrep... " >&6; }
4524 if ${ac_cv_path_EGREP+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4528 then ac_cv_path_EGREP="$GREP -E"
4529 else
4530 if test -z "$EGREP"; then
4531 ac_path_EGREP_found=false
4532 # Loop through the user's path and test for each of PROGNAME-LIST
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4535 do
4536 IFS=$as_save_IFS
4537 test -z "$as_dir" && as_dir=.
4538 for ac_prog in egrep; do
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4541 as_fn_executable_p "$ac_path_EGREP" || continue
4542 # Check for GNU ac_path_EGREP and select it if it is found.
4543 # Check for GNU $ac_path_EGREP
4544 case `"$ac_path_EGREP" --version 2>&1` in
4545 *GNU*)
4546 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4547 *)
4548 ac_count=0
4549 $as_echo_n 0123456789 >"conftest.in"
4550 while :
4551 do
4552 cat "conftest.in" "conftest.in" >"conftest.tmp"
4553 mv "conftest.tmp" "conftest.in"
4554 cp "conftest.in" "conftest.nl"
4555 $as_echo 'EGREP' >> "conftest.nl"
4556 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4557 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4558 as_fn_arith $ac_count + 1 && ac_count=$as_val
4559 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4560 # Best one so far, save it but keep looking for a better one
4561 ac_cv_path_EGREP="$ac_path_EGREP"
4562 ac_path_EGREP_max=$ac_count
4563 fi
4564 # 10*(2^10) chars as input seems more than enough
4565 test $ac_count -gt 10 && break
4566 done
4567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 esac
4569
4570 $ac_path_EGREP_found && break 3
4571 done
4572 done
4573 done
4574 IFS=$as_save_IFS
4575 if test -z "$ac_cv_path_EGREP"; then
4576 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4577 fi
4578 else
4579 ac_cv_path_EGREP=$EGREP
4580 fi
4581
4582 fi
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4585 $as_echo "$ac_cv_path_EGREP" >&6; }
4586 EGREP="$ac_cv_path_EGREP"
4587
4588
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4590 $as_echo_n "checking for ANSI C header files... " >&6; }
4591 if ${ac_cv_header_stdc+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4596 #include <stdlib.h>
4597 #include <stdarg.h>
4598 #include <string.h>
4599 #include <float.h>
4600
4601 int
4602 main ()
4603 {
4604
4605 ;
4606 return 0;
4607 }
4608 _ACEOF
4609 if ac_fn_c_try_compile "$LINENO"; then :
4610 ac_cv_header_stdc=yes
4611 else
4612 ac_cv_header_stdc=no
4613 fi
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615
4616 if test $ac_cv_header_stdc = yes; then
4617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #include <string.h>
4621
4622 _ACEOF
4623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4624 $EGREP "memchr" >/dev/null 2>&1; then :
4625
4626 else
4627 ac_cv_header_stdc=no
4628 fi
4629 rm -f conftest*
4630
4631 fi
4632
4633 if test $ac_cv_header_stdc = yes; then
4634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637 #include <stdlib.h>
4638
4639 _ACEOF
4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4641 $EGREP "free" >/dev/null 2>&1; then :
4642
4643 else
4644 ac_cv_header_stdc=no
4645 fi
4646 rm -f conftest*
4647
4648 fi
4649
4650 if test $ac_cv_header_stdc = yes; then
4651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4652 if test "$cross_compiling" = yes; then :
4653 :
4654 else
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #include <ctype.h>
4658 #include <stdlib.h>
4659 #if ((' ' & 0x0FF) == 0x020)
4660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4662 #else
4663 # define ISLOWER(c) \
4664 (('a' <= (c) && (c) <= 'i') \
4665 || ('j' <= (c) && (c) <= 'r') \
4666 || ('s' <= (c) && (c) <= 'z'))
4667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4668 #endif
4669
4670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4671 int
4672 main ()
4673 {
4674 int i;
4675 for (i = 0; i < 256; i++)
4676 if (XOR (islower (i), ISLOWER (i))
4677 || toupper (i) != TOUPPER (i))
4678 return 2;
4679 return 0;
4680 }
4681 _ACEOF
4682 if ac_fn_c_try_run "$LINENO"; then :
4683
4684 else
4685 ac_cv_header_stdc=no
4686 fi
4687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4688 conftest.$ac_objext conftest.beam conftest.$ac_ext
4689 fi
4690
4691 fi
4692 fi
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4694 $as_echo "$ac_cv_header_stdc" >&6; }
4695 if test $ac_cv_header_stdc = yes; then
4696
4697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4698
4699 fi
4700
4701
4702 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4704 inttypes.h stdint.h unistd.h
4705 do :
4706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4708 "
4709 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4710 cat >>confdefs.h <<_ACEOF
4711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4712 _ACEOF
4713
4714 fi
4715
4716 done
4717
4718
4719 for ac_header in ctype.h errno.h fcntl.h netdb.h pthread.h signal.h stdio.h stdlib.h
4720 do :
4721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4722 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4724 cat >>confdefs.h <<_ACEOF
4725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4726 _ACEOF
4727
4728 fi
4729
4730 done
4731
4732 for ac_header in string.h strings.h stropts.h syslog.h time.h unistd.h
4733 do :
4734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4735 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4737 cat >>confdefs.h <<_ACEOF
4738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4739 _ACEOF
4740
4741 fi
4742
4743 done
4744
4745 for ac_header in arpa/inet.h
4746 do :
4747 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
4748 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
4749 cat >>confdefs.h <<_ACEOF
4750 #define HAVE_ARPA_INET_H 1
4751 _ACEOF
4752
4753 fi
4754
4755 done
4756
4757 for ac_header in sys/socket.h
4758 do :
4759 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
4760 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
4761 cat >>confdefs.h <<_ACEOF
4762 #define HAVE_SYS_SOCKET_H 1
4763 _ACEOF
4764
4765 fi
4766
4767 done
4768
4769 for ac_header in stdint.h inttypes.h
4770 do :
4771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4772 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4774 cat >>confdefs.h <<_ACEOF
4775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4776 _ACEOF
4777
4778 fi
4779
4780 done
4781
4782
4783 for ac_header in net/if.h
4784 do :
4785 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "/* In Solaris, before using net/if.h you need sys/socket.h. */
4786 #if HAVE_SYS_SOCKET_H
4787 # include <sys/socket.h>
4788 #endif
4789
4790 "
4791 if test "x$ac_cv_header_net_if_h" = xyes; then :
4792 cat >>confdefs.h <<_ACEOF
4793 #define HAVE_NET_IF_H 1
4794 _ACEOF
4795
4796 fi
4797
4798 done
4799
4800
4801 for ac_header in net/if_arp.h
4802 do :
4803 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#if HAVE_SYS_SOCKET_H
4804 # include <sys/socket.h>
4805 #endif
4806
4807 "
4808 if test "x$ac_cv_header_net_if_arp_h" = xyes; then :
4809 cat >>confdefs.h <<_ACEOF
4810 #define HAVE_NET_IF_ARP_H 1
4811 _ACEOF
4812
4813 fi
4814
4815 done
4816
4817
4818 for ac_header in netinet/in.h
4819 do :
4820 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
4821 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
4822 cat >>confdefs.h <<_ACEOF
4823 #define HAVE_NETINET_IN_H 1
4824 _ACEOF
4825
4826 fi
4827
4828 done
4829
4830
4831 for ac_header in netinet/if_ether.h
4832 do :
4833 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "/* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
4834 #if HAVE_SYS_SOCKET_H
4835 # include <sys/socket.h>
4836 #endif
4837 #if HAVE_NET_IF_H
4838 # include <net/if.h>
4839 #endif
4840
4841 "
4842 if test "x$ac_cv_header_netinet_if_ether_h" = xyes; then :
4843 cat >>confdefs.h <<_ACEOF
4844 #define HAVE_NETINET_IF_ETHER_H 1
4845 _ACEOF
4846
4847 fi
4848
4849 done
4850
4851
4852 for ac_header in netinet/in_systm.h
4853 do :
4854 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
4855 if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then :
4856 cat >>confdefs.h <<_ACEOF
4857 #define HAVE_NETINET_IN_SYSTM_H 1
4858 _ACEOF
4859
4860 fi
4861
4862 done
4863
4864
4865 for ac_header in netinet/ip.h
4866 do :
4867 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if HAVE_NETINET_IN_H
4868 # include <netinet/in.h>
4869 #endif
4870
4871 "
4872 if test "x$ac_cv_header_netinet_ip_h" = xyes; then :
4873 cat >>confdefs.h <<_ACEOF
4874 #define HAVE_NETINET_IP_H 1
4875 _ACEOF
4876
4877 fi
4878
4879 done
4880
4881
4882 for ac_header in netinet/udp.h
4883 do :
4884 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#if HAVE_NETINET_IN_H
4885 # include <netinet/in.h>
4886 #endif
4887
4888 "
4889 if test "x$ac_cv_header_netinet_udp_h" = xyes; then :
4890 cat >>confdefs.h <<_ACEOF
4891 #define HAVE_NETINET_UDP_H 1
4892 _ACEOF
4893
4894 fi
4895
4896 done
4897
4898
4899 for ac_header in sys/file.h sys/filio.h sys/ioctl.h sys/resource.h sys/select.h
4900 do :
4901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4902 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4904 cat >>confdefs.h <<_ACEOF
4905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4906 _ACEOF
4907
4908 fi
4909
4910 done
4911
4912 for ac_header in sys/sockio.h sys/stat.h sys/time.h sys/types.h sys/uio.h
4913 do :
4914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4915 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4917 cat >>confdefs.h <<_ACEOF
4918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4919 _ACEOF
4920
4921 fi
4922
4923 done
4924
4925 for ac_header in sys/un.h sys/wait.h
4926 do :
4927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4929 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4930 cat >>confdefs.h <<_ACEOF
4931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4932 _ACEOF
4933
4934 fi
4935
4936 done
4937
4938 for ac_header in netinet/ether.h
4939 do :
4940 ac_fn_c_check_header_mongrel "$LINENO" "netinet/ether.h" "ac_cv_header_netinet_ether_h" "$ac_includes_default"
4941 if test "x$ac_cv_header_netinet_ether_h" = xyes; then :
4942 cat >>confdefs.h <<_ACEOF
4943 #define HAVE_NETINET_ETHER_H 1
4944 _ACEOF
4945
4946 fi
4947
4948 done
4949
4950
4951 for ac_header in net/if_dl.h
4952 do :
4953 ac_fn_c_check_header_mongrel "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "$ac_includes_default"
4954 if test "x$ac_cv_header_net_if_dl_h" = xyes; then :
4955 cat >>confdefs.h <<_ACEOF
4956 #define HAVE_NET_IF_DL_H 1
4957 _ACEOF
4958
4959 fi
4960
4961 done
4962
4963 for ac_header in ifaddrs.h
4964 do :
4965 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
4966 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
4967 cat >>confdefs.h <<_ACEOF
4968 #define HAVE_IFADDRS_H 1
4969 _ACEOF
4970
4971 fi
4972
4973 done
4974
4975
4976
4977
4978 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
4979 case $ac_cv_c_int8_t in #(
4980 no|yes) ;; #(
4981 *)
4982
4983 cat >>confdefs.h <<_ACEOF
4984 #define int8_t $ac_cv_c_int8_t
4985 _ACEOF
4986 ;;
4987 esac
4988
4989 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
4990 case $ac_cv_c_int16_t in #(
4991 no|yes) ;; #(
4992 *)
4993
4994 cat >>confdefs.h <<_ACEOF
4995 #define int16_t $ac_cv_c_int16_t
4996 _ACEOF
4997 ;;
4998 esac
4999
5000 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
5001 case $ac_cv_c_int32_t in #(
5002 no|yes) ;; #(
5003 *)
5004
5005 cat >>confdefs.h <<_ACEOF
5006 #define int32_t $ac_cv_c_int32_t
5007 _ACEOF
5008 ;;
5009 esac
5010
5011 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
5012 case $ac_cv_c_int64_t in #(
5013 no|yes) ;; #(
5014 *)
5015
5016 cat >>confdefs.h <<_ACEOF
5017 #define int64_t $ac_cv_c_int64_t
5018 _ACEOF
5019 ;;
5020 esac
5021
5022 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5023 case $ac_cv_c_uint8_t in #(
5024 no|yes) ;; #(
5025 *)
5026
5027 $as_echo "#define _UINT8_T 1" >>confdefs.h
5028
5029
5030 cat >>confdefs.h <<_ACEOF
5031 #define uint8_t $ac_cv_c_uint8_t
5032 _ACEOF
5033 ;;
5034 esac
5035
5036 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
5037 case $ac_cv_c_uint16_t in #(
5038 no|yes) ;; #(
5039 *)
5040
5041
5042 cat >>confdefs.h <<_ACEOF
5043 #define uint16_t $ac_cv_c_uint16_t
5044 _ACEOF
5045 ;;
5046 esac
5047
5048 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
5049 case $ac_cv_c_uint32_t in #(
5050 no|yes) ;; #(
5051 *)
5052
5053 $as_echo "#define _UINT32_T 1" >>confdefs.h
5054
5055
5056 cat >>confdefs.h <<_ACEOF
5057 #define uint32_t $ac_cv_c_uint32_t
5058 _ACEOF
5059 ;;
5060 esac
5061
5062 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
5063 case $ac_cv_c_uint64_t in #(
5064 no|yes) ;; #(
5065 *)
5066
5067 $as_echo "#define _UINT64_T 1" >>confdefs.h
5068
5069
5070 cat >>confdefs.h <<_ACEOF
5071 #define uint64_t $ac_cv_c_uint64_t
5072 _ACEOF
5073 ;;
5074 esac
5075
5076
5077
5078
5079
5080 IST_REQUIRE_PCAP_HOME=/usr/local
5081
5082
5083 # Check whether --with-pcap was given.
5084 if test "${with_pcap+set}" = set; then :
5085 withval=$with_pcap; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5086 as_fn_error $? "Missing directory for --with-pcap." "$LINENO" 5
5087 elif test x"$withval" = "xno"; then
5088 as_fn_error $? " Specifying --with-pcap=no or --without-pcap is not permitted.
5089 This package cannot be compiled without the pcap include and library." "$LINENO" 5
5090 else
5091 IST_REQUIRE_PCAP_HOME="$withval"
5092 fi
5093
5094
5095 fi
5096
5097
5098
5099 # Check whether --with-pcap-include was given.
5100 if test "${with_pcap_include+set}" = set; then :
5101 withval=$with_pcap_include; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5102 as_fn_error $? "Missing directory for --with-pcap-include." "$LINENO" 5
5103 elif test x"$withval" = "xno"; then
5104 as_fn_error $? " Specifying --with-pcap-include=no or --without-pcap-include is not permitted.
5105 This package cannot be compiled without the pcap header." "$LINENO" 5
5106 else
5107 IST_REQUIRE_PCAP_INCLUDE="$withval"
5108 fi
5109
5110 else
5111 IST_REQUIRE_PCAP_INCLUDE="$IST_REQUIRE_PCAP_HOME/include"
5112
5113 fi
5114
5115
5116
5117 # Check whether --with-pcap-lib was given.
5118 if test "${with_pcap_lib+set}" = set; then :
5119 withval=$with_pcap_lib; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5120 as_fn_error $? "Missing directory for --with-pcap-lib." "$LINENO" 5
5121 elif test x"$withval" = "xno"; then
5122 as_fn_error $? " Specifying --with-pcap-lib=no or --without-pcap-lib is not permitted.
5123 This package cannot be compiled without the pcap library." "$LINENO" 5
5124 else
5125 IST_REQUIRE_PCAP_LIB="$withval"
5126 fi
5127
5128 else
5129 IST_REQUIRE_PCAP_LIB="$IST_REQUIRE_PCAP_HOME/lib"
5130
5131 fi
5132
5133
5134 IST_REQUIRE_PCAP_OLD_CPPFLAGS=$CPPFLAGS
5135 IST_REQUIRE_PCAP_OLD_LDFLAGS=$LDFLAGS
5136 CPPFLAGS="$CPPFLAGS -I${IST_REQUIRE_PCAP_INCLUDE}"
5137 LDFLAGS="$LDFLAGS -L${IST_REQUIRE_PCAP_LIB}"
5138
5139 for ac_header in pcap.h
5140 do :
5141 ac_fn_c_check_header_mongrel "$LINENO" "pcap.h" "ac_cv_header_pcap_h" "$ac_includes_default"
5142 if test "x$ac_cv_header_pcap_h" = xyes; then :
5143 cat >>confdefs.h <<_ACEOF
5144 #define HAVE_PCAP_H 1
5145 _ACEOF
5146
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't build without pcap.h (the libpcap header)" >&5
5149 $as_echo "$as_me: WARNING: can't build without pcap.h (the libpcap header)" >&2;}
5150 IST_REQUIRE_PCAP_RESULT=failed
5151
5152 fi
5153
5154 done
5155
5156
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lookupdev in -lpcap" >&5
5158 $as_echo_n "checking for pcap_lookupdev in -lpcap... " >&6; }
5159 if ${ac_cv_lib_pcap_pcap_lookupdev+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 ac_check_lib_save_LIBS=$LIBS
5163 LIBS="-lpcap $LIBS"
5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5166
5167 /* Override any GCC internal prototype to avoid an error.
5168 Use char because int might match the return type of a GCC
5169 builtin and then its argument prototype would still apply. */
5170 #ifdef __cplusplus
5171 extern "C"
5172 #endif
5173 char pcap_lookupdev ();
5174 int
5175 main ()
5176 {
5177 return pcap_lookupdev ();
5178 ;
5179 return 0;
5180 }
5181 _ACEOF
5182 if ac_fn_c_try_link "$LINENO"; then :
5183 ac_cv_lib_pcap_pcap_lookupdev=yes
5184 else
5185 ac_cv_lib_pcap_pcap_lookupdev=no
5186 fi
5187 rm -f core conftest.err conftest.$ac_objext \
5188 conftest$ac_exeext conftest.$ac_ext
5189 LIBS=$ac_check_lib_save_LIBS
5190 fi
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_lookupdev" >&5
5192 $as_echo "$ac_cv_lib_pcap_pcap_lookupdev" >&6; }
5193 if test "x$ac_cv_lib_pcap_pcap_lookupdev" = xyes; then :
5194 cat >>confdefs.h <<_ACEOF
5195 #define HAVE_LIBPCAP 1
5196 _ACEOF
5197
5198 LIBS="-lpcap $LIBS"
5199
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't build without libpcap" >&5
5202 $as_echo "$as_me: WARNING: can't build without libpcap" >&2;}
5203 IST_REQUIRE_PCAP_RESULT=failed
5204
5205 fi
5206
5207
5208 if test x"$IST_REQUIRE_PCAP_RESULT" = "xfailed"; then
5209 CPPFLAGS=$IST_REQUIRE_PCAP_OLD_CPPFLAGS
5210 LDFLAGS=$IST_REQUIRE_PCAP_OLD_LDFLAGS
5211 as_fn_error $? "Specify where to find pcap using --with-pcap=DIR (or --with-pcap-include, --with-pcap-lib)." "$LINENO" 5
5212 fi
5213
5214
5215 ac_fn_c_check_decl "$LINENO" "pcap_breakloop" "ac_cv_have_decl_pcap_breakloop" "#include <pcap.h>
5216 "
5217 if test "x$ac_cv_have_decl_pcap_breakloop" = xyes; then :
5218
5219 else
5220 as_fn_error $? "Didn't find a declaration for the pcap_breakloop() function. Perhaps libpcap is too old. See INSTALL.dhcp_probe." "$LINENO" 5
5221 fi
5222
5223
5224 ac_fn_c_check_func "$LINENO" "pcap_breakloop" "ac_cv_func_pcap_breakloop"
5225 if test "x$ac_cv_func_pcap_breakloop" = xyes; then :
5226
5227 else
5228 as_fn_error $? "Didn't find the pcap_breakloop() function. Perhaps libpcap is too old. See INSTALL.dhcp_probe." "$LINENO" 5
5229 fi
5230
5231
5232
5233 IST_REQUIRE_LIBNET_HOME=/usr/local
5234
5235
5236 # Check whether --with-libnet was given.
5237 if test "${with_libnet+set}" = set; then :
5238 withval=$with_libnet; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5239 as_fn_error $? "Missing directory for --with-libnet." "$LINENO" 5
5240 elif test x"$withval" = "xno"; then
5241 as_fn_error $? " Specifying --with-libnet=no or --without-libnet is not permitted.
5242 This package cannot be compiled without the libnet header and library." "$LINENO" 5
5243 else
5244 IST_REQUIRE_LIBNET_HOME="$withval"
5245 fi
5246
5247
5248 fi
5249
5250
5251
5252 # Check whether --with-libnet-include was given.
5253 if test "${with_libnet_include+set}" = set; then :
5254 withval=$with_libnet_include; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5255 as_fn_error $? "Missing directory for --with-libnet-include." "$LINENO" 5
5256 elif test x"$withval" = "xno"; then
5257 as_fn_error $? " Specifying --with-libnet-include=no or --without-libnet-include is not permitted.
5258 This package cannot be compiled without the libnet header." "$LINENO" 5
5259 else
5260 IST_REQUIRE_LIBNET_INCLUDE="$withval"
5261 fi
5262
5263 else
5264 IST_REQUIRE_LIBNET_INCLUDE="$IST_REQUIRE_LIBNET_HOME/include"
5265
5266 fi
5267
5268
5269
5270 # Check whether --with-libnet-lib was given.
5271 if test "${with_libnet_lib+set}" = set; then :
5272 withval=$with_libnet_lib; if test x"$withval" = "x" -o x"$withval" = "xyes"; then
5273 as_fn_error $? "Missing directory for --with-libnet-lib." "$LINENO" 5
5274 elif test x"$withval" = "xno"; then
5275 as_fn_error $? " Specifying --with-libnet-lib=no or --without-libnet-lib is not permitted.
5276 This package cannot be compiled without the libnet library." "$LINENO" 5
5277 else
5278 IST_REQUIRE_LIBNET_LIB="$withval"
5279 fi
5280
5281 else
5282 IST_REQUIRE_LIBNET_LIB="$IST_REQUIRE_LIBNET_HOME/lib"
5283
5284 fi
5285
5286
5287 CPPFLAGS="$CPPFLAGS -I${IST_REQUIRE_LIBNET_INCLUDE}"
5288 LDFLAGS="$LDFLAGS -L${IST_REQUIRE_LIBNET_LIB}"
5289
5290 for ac_header in libnet.h
5291 do :
5292 ac_fn_c_check_header_mongrel "$LINENO" "libnet.h" "ac_cv_header_libnet_h" "$ac_includes_default"
5293 if test "x$ac_cv_header_libnet_h" = xyes; then :
5294 cat >>confdefs.h <<_ACEOF
5295 #define HAVE_LIBNET_H 1
5296 _ACEOF
5297
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't build without libnet.h (the libnet header)" >&5
5300 $as_echo "$as_me: WARNING: can't build without libnet.h (the libnet header)" >&2;}
5301 IST_REQUIRE_LIBNET_RESULT=failed
5302
5303 fi
5304
5305 done
5306
5307
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_build_ipv4 in -lnet" >&5
5309 $as_echo_n "checking for libnet_build_ipv4 in -lnet... " >&6; }
5310 if ${ac_cv_lib_net_libnet_build_ipv4+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 ac_check_lib_save_LIBS=$LIBS
5314 LIBS="-lnet $LIBS"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5317
5318 /* Override any GCC internal prototype to avoid an error.
5319 Use char because int might match the return type of a GCC
5320 builtin and then its argument prototype would still apply. */
5321 #ifdef __cplusplus
5322 extern "C"
5323 #endif
5324 char libnet_build_ipv4 ();
5325 int
5326 main ()
5327 {
5328 return libnet_build_ipv4 ();
5329 ;
5330 return 0;
5331 }
5332 _ACEOF
5333 if ac_fn_c_try_link "$LINENO"; then :
5334 ac_cv_lib_net_libnet_build_ipv4=yes
5335 else
5336 ac_cv_lib_net_libnet_build_ipv4=no
5337 fi
5338 rm -f core conftest.err conftest.$ac_objext \
5339 conftest$ac_exeext conftest.$ac_ext
5340 LIBS=$ac_check_lib_save_LIBS
5341 fi
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_build_ipv4" >&5
5343 $as_echo "$ac_cv_lib_net_libnet_build_ipv4" >&6; }
5344 if test "x$ac_cv_lib_net_libnet_build_ipv4" = xyes; then :
5345 cat >>confdefs.h <<_ACEOF
5346 #define HAVE_LIBNET 1
5347 _ACEOF
5348
5349 LIBS="-lnet $LIBS"
5350
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't build without libnet 1.1 or later" >&5
5353 $as_echo "$as_me: WARNING: can't build without libnet 1.1 or later" >&2;}
5354 IST_REQUIRE_LIBNET_RESULT=failed
5355
5356 fi
5357
5358
5359 if test x"$IST_REQUIRE_LIBNET_RESULT" = "xfailed"; then
5360 as_fn_error $? "Specify where to find libnet 1.1 or later using --with-libnet=DIR (or --with-libnet-include, --with-libnet-lib)." "$LINENO" 5
5361 fi
5362
5363
5364 ac_fn_c_check_decl "$LINENO" "libnet_cq_end_loop" "ac_cv_have_decl_libnet_cq_end_loop" "#include <libnet.h>
5365 "
5366 if test "x$ac_cv_have_decl_libnet_cq_end_loop" = xyes; then :
5367
5368 else
5369 as_fn_error $? "Didn't find a declaration for the libnet_cq_end_loop() function. See INSTALL.dhcp_probe." "$LINENO" 5
5370 fi
5371
5372
5373 ac_fn_c_check_func "$LINENO" "libnet_cq_end_loop" "ac_cv_func_libnet_cq_end_loop"
5374 if test "x$ac_cv_func_libnet_cq_end_loop" = xyes; then :
5375
5376 else
5377 as_fn_error $? "Didn't find the libnet_cq_end_loop() function. See INSTALL.dhcp_probe." "$LINENO" 5
5378 fi
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5384 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5385 if ${ac_cv_header_time+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5390 #include <sys/types.h>
5391 #include <sys/time.h>
5392 #include <time.h>
5393
5394 int
5395 main ()
5396 {
5397 if ((struct tm *) 0)
5398 return 0;
5399 ;
5400 return 0;
5401 }
5402 _ACEOF
5403 if ac_fn_c_try_compile "$LINENO"; then :
5404 ac_cv_header_time=yes
5405 else
5406 ac_cv_header_time=no
5407 fi
5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409 fi
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5411 $as_echo "$ac_cv_header_time" >&6; }
5412 if test $ac_cv_header_time = yes; then
5413
5414 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5415
5416 fi
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5419 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5420 if ${ac_cv_struct_tm+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5425 #include <sys/types.h>
5426 #include <time.h>
5427
5428 int
5429 main ()
5430 {
5431 struct tm tm;
5432 int *p = &tm.tm_sec;
5433 return !p;
5434 ;
5435 return 0;
5436 }
5437 _ACEOF
5438 if ac_fn_c_try_compile "$LINENO"; then :
5439 ac_cv_struct_tm=time.h
5440 else
5441 ac_cv_struct_tm=sys/time.h
5442 fi
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 fi
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5446 $as_echo "$ac_cv_struct_tm" >&6; }
5447 if test $ac_cv_struct_tm = sys/time.h; then
5448
5449 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5450
5451 fi
5452
5453
5454
5455
5456 ac_safe_struct=`echo "sockaddr" | sed 'y%./+-%__p_%'`
5457 ac_safe_member=`echo "sa_len" | sed 'y%./+-%__p_%'`
5458 ac_safe_all="ac_cv_struct_${ac_safe_struct}_has_${ac_safe_member}"
5459 ac_uc_define=STRUCT_`echo "${ac_safe_struct}_HAS_${ac_safe_member}" | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5460
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr.sa_len" >&5
5462 $as_echo_n "checking for sockaddr.sa_len... " >&6; }
5463 if eval \${$ac_safe_all+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466
5467 if test "x" = "x"; then
5468 defineit="= 0"
5469 elif test "x" = "xno"; then
5470 defineit=""
5471 else
5472 defineit=""
5473 fi
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5476
5477 #include <sys/types.h>
5478 #include <sys/socket.h>
5479
5480 int
5481 main ()
5482 {
5483
5484 struct sockaddr testit;
5485 testit.sa_len $defineit;
5486
5487 ;
5488 return 0;
5489 }
5490 _ACEOF
5491 if ac_fn_c_try_compile "$LINENO"; then :
5492 eval "${ac_safe_all}=yes"
5493 else
5494 eval "${ac_safe_all}=no"
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5497
5498 fi
5499
5500
5501 if eval "test \"x$`echo ${ac_safe_all}`\" = \"xyes\""; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5504 cat >>confdefs.h <<_ACEOF
5505 #define $ac_uc_define 1
5506 _ACEOF
5507
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5511 fi
5512
5513
5514
5515
5516 ac_safe_struct=`echo "arpreq" | sed 'y%./+-%__p_%'`
5517 ac_safe_member=`echo "arp_dev" | sed 'y%./+-%__p_%'`
5518 ac_safe_all="ac_cv_struct_${ac_safe_struct}_has_${ac_safe_member}"
5519 ac_uc_define=STRUCT_`echo "${ac_safe_struct}_HAS_${ac_safe_member}" | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5520
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arpreq.arp_dev" >&5
5522 $as_echo_n "checking for arpreq.arp_dev... " >&6; }
5523 if eval \${$ac_safe_all+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526
5527 if test "x" = "x"; then
5528 defineit="= 0"
5529 elif test "x" = "xno"; then
5530 defineit=""
5531 else
5532 defineit=""
5533 fi
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5536
5537 #include <net/if_arp.h>
5538
5539 int
5540 main ()
5541 {
5542
5543 struct arpreq testit;
5544 testit.arp_dev $defineit;
5545
5546 ;
5547 return 0;
5548 }
5549 _ACEOF
5550 if ac_fn_c_try_compile "$LINENO"; then :
5551 eval "${ac_safe_all}=yes"
5552 else
5553 eval "${ac_safe_all}=no"
5554 fi
5555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5556
5557 fi
5558
5559
5560 if eval "test \"x$`echo ${ac_safe_all}`\" = \"xyes\""; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5562 $as_echo "yes" >&6; }
5563 cat >>confdefs.h <<_ACEOF
5564 #define $ac_uc_define 1
5565 _ACEOF
5566
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 fi
5571
5572
5573 ac_fn_c_check_member "$LINENO" "struct ether_addr" "ether_addr_octet" "ac_cv_member_struct_ether_addr_ether_addr_octet" "
5574 #if HAVE_NETINET_IF_ETHER_H
5575 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
5576 #if HAVE_SYS_TYPES_H
5577 /* On Solaris, you must include sys/types.h before sys/socket.h. */
5578 # include <sys/types.h>
5579 #endif
5580 #if HAVE_SYS_SOCKET_H
5581 # include <sys/socket.h>
5582 #endif
5583 #if HAVE_NET_IF_H
5584 # include <net/if.h>
5585 #endif
5586 #include <netinet/if_ether.h>
5587 #endif
5588
5589
5590 "
5591 if test "x$ac_cv_member_struct_ether_addr_ether_addr_octet" = xyes; then :
5592
5593 $as_echo "#define STRUCT_ETHER_ADDR_HAS_ETHER_ADDR_OCTET 1" >>confdefs.h
5594
5595 fi
5596
5597
5598 ac_fn_c_check_member "$LINENO" "struct ether_addr" "octet" "ac_cv_member_struct_ether_addr_octet" "
5599 #if HAVE_NETINET_IF_ETHER_H
5600 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
5601 #if HAVE_SYS_TYPES_H
5602 /* On Solaris, you must include sys/types.h before sys/socket.h. */
5603 # include <sys/types.h>
5604 #endif
5605 #if HAVE_SYS_SOCKET_H
5606 # include <sys/socket.h>
5607 #endif
5608 #if HAVE_NET_IF_H
5609 # include <net/if.h>
5610 #endif
5611 #include <netinet/if_ether.h>
5612 #endif
5613
5614
5615 "
5616 if test "x$ac_cv_member_struct_ether_addr_octet" = xyes; then :
5617
5618 $as_echo "#define STRUCT_ETHER_ADDR_HAS_OCTET 1" >>confdefs.h
5619
5620 fi
5621
5622
5623
5624
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_nerr" >&5
5626 $as_echo_n "checking for sys_nerr... " >&6; }
5627 if ${ac_cv_var_sys_nerr+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5632
5633 int
5634 main ()
5635 {
5636 extern int sys_nerr; return (sys_nerr);
5637 ;
5638 return 0;
5639 }
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 ac_cv_var_sys_nerr=yes
5643 else
5644 ac_cv_var_sys_nerr=no
5645 fi
5646 rm -f core conftest.err conftest.$ac_objext \
5647 conftest$ac_exeext conftest.$ac_ext
5648
5649 fi
5650
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_sys_nerr" >&5
5652 $as_echo "$ac_cv_var_sys_nerr" >&6; }
5653 if test $ac_cv_var_sys_nerr = yes; then
5654
5655 $as_echo "#define HAVE_SYS_NERR /**/" >>confdefs.h
5656
5657 fi;
5658
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_nerr declaration" >&5
5660 $as_echo_n "checking for sys_nerr declaration... " >&6; }
5661 if ${ac_cv_decl_sys_nerr+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666
5667 #include "confdefs.h" /* the header built by configure so far */
5668 #include <stdio.h>
5669 #ifdef HAVE_STDLIB_H
5670 #include <stdlib.h>
5671 #endif
5672 #ifdef HAVE_UNISTD_H
5673 #include <unistd.h>
5674 #endif
5675 int
5676 main ()
5677 {
5678 printf("%d",sys_nerr);
5679 ;
5680 return 0;
5681 }
5682 _ACEOF
5683 if ac_fn_c_try_compile "$LINENO"; then :
5684 ac_cv_decl_sys_nerr=yes
5685 else
5686 ac_cv_decl_sys_nerr=no
5687 fi
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689
5690 fi
5691
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_sys_nerr" >&5
5693 $as_echo "$ac_cv_decl_sys_nerr" >&6; }
5694 if test $ac_cv_decl_sys_nerr = yes; then
5695
5696 $as_echo "#define HAVE_SYS_NERR_DECL /**/" >>confdefs.h
5697
5698 fi
5699
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5
5701 $as_echo_n "checking for sys_errlist... " >&6; }
5702 if ${ac_cv_var_sys_errlist+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707
5708 int
5709 main ()
5710 {
5711 extern char *sys_errlist[];
5712 sys_errlist[0];
5713 ;
5714 return 0;
5715 }
5716 _ACEOF
5717 if ac_fn_c_try_link "$LINENO"; then :
5718 ac_cv_var_sys_errlist=yes
5719 else
5720 ac_cv_var_sys_errlist=no
5721 fi
5722 rm -f core conftest.err conftest.$ac_objext \
5723 conftest$ac_exeext conftest.$ac_ext
5724
5725 fi
5726
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_sys_errlist" >&5
5728 $as_echo "$ac_cv_var_sys_errlist" >&6; }
5729 if test $ac_cv_var_sys_errlist = yes; then
5730
5731 $as_echo "#define HAVE_SYS_ERRLIST /**/" >>confdefs.h
5732
5733 fi
5734
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist declaration" >&5
5736 $as_echo_n "checking for sys_errlist declaration... " >&6; }
5737 if ${ac_cv_decl_sys_errlist+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5742
5743 #include "confdefs.h" /* the header built by configure so far */
5744 #include <stdio.h>
5745 #include <errno.h>
5746 #ifdef HAVE_STDLIB_H
5747 #include <stdlib.h>
5748 #endif
5749 #ifdef HAVE_UNISTD_H
5750 #include <unistd.h>
5751 #endif
5752 int
5753 main ()
5754 {
5755 printf("%s",sys_errlist[0]);
5756 ;
5757 return 0;
5758 }
5759 _ACEOF
5760 if ac_fn_c_try_compile "$LINENO"; then :
5761 ac_cv_decl_sys_errlist=yes
5762 else
5763 ac_cv_decl_sys_errlist=no
5764 fi
5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5766
5767 fi
5768
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_sys_errlist" >&5
5770 $as_echo "$ac_cv_decl_sys_errlist" >&6; }
5771 if test $ac_cv_decl_sys_errlist = yes; then
5772
5773 $as_echo "#define HAVE_SYS_ERRLIST_DECL /**/" >>confdefs.h
5774
5775 fi
5776
5777
5778
5779
5780
5781
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton function prototype in arpa/inet.h" >&5
5783 $as_echo_n "checking for inet_aton function prototype in arpa/inet.h... " >&6; }
5784 if ${ac_cv_have_inet_aton_proto+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5789 #include <arpa/inet.h>
5790
5791 _ACEOF
5792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5793 $EGREP "inet_aton" >/dev/null 2>&1; then :
5794 ac_cv_have_inet_aton_proto=yes
5795 else
5796 ac_cv_have_inet_aton_proto=no
5797 fi
5798 rm -f conftest*
5799
5800 fi
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_inet_aton_proto" >&5
5802 $as_echo "$ac_cv_have_inet_aton_proto" >&6; }
5803 if test $ac_cv_have_inet_aton_proto = yes ; then
5804 ac_tr_func=HAVE_`echo inet_aton | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`_PROTO
5805 cat >>confdefs.h <<_ACEOF
5806 #define $ac_tr_func 1
5807 _ACEOF
5808
5809 fi
5810
5811
5812
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror function prototype in string.h" >&5
5814 $as_echo_n "checking for strerror function prototype in string.h... " >&6; }
5815 if ${ac_cv_have_strerror_proto+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5820 #include <string.h>
5821
5822 _ACEOF
5823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5824 $EGREP "strerror" >/dev/null 2>&1; then :
5825 ac_cv_have_strerror_proto=yes
5826 else
5827 ac_cv_have_strerror_proto=no
5828 fi
5829 rm -f conftest*
5830
5831 fi
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_strerror_proto" >&5
5833 $as_echo "$ac_cv_have_strerror_proto" >&6; }
5834 if test $ac_cv_have_strerror_proto = yes ; then
5835 ac_tr_func=HAVE_`echo strerror | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`_PROTO
5836 cat >>confdefs.h <<_ACEOF
5837 #define $ac_tr_func 1
5838 _ACEOF
5839
5840 fi
5841
5842
5843 ac_fn_c_check_decl "$LINENO" "ether_aton" "ac_cv_have_decl_ether_aton" "
5844 /* On Redhat 9, they are declared in netinet/ether.h. */
5845 #if HAVE_NETINET_ETHER_H
5846 #include <netinet/ether.h>
5847 #endif
5848 /* In Solaris 10 (but not earlier), they are declared in sys/ethernet.h.
5849 But at build time, it's not a good idea to include sys/ethernet.h directly; while that
5850 would work in Solaris 10, it would break in Solaris 9 if we ever find we need to include netinet/if_ether;
5851 in Solaris 9 you must not include BOTH netinet/if_ether.h and sys/ethernet.h, since there are some definitions
5852 duplicated in the two files.
5853 Since at build time we may indeed include netinet/if_ether.h, we cannot directly include sys/ethernet.h at build time.
5854 Since we know we will not directly include sys/ethernet.h at build time, it would be unwise at configure time
5855 to make decisions based on a test that involved directly including sys/ethernet.h.
5856 Fortunately, on Solaris 10, netinet/if_ether.h includes sys/ethernet.h for you, ultimately
5857 getting the ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton() declarations we want.
5858 So our approach is to include netinet/if_ether.h.
5859 On Solaris 9, this will not cause a problem; we won't find declarations for
5860 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton(), but those four declarations
5861 aren't available in Solaris 9 anyway. And in Solaris 10, we will find the declarations for
5862 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton().
5863 */
5864 #if HAVE_NETINET_IF_ETHER_H
5865 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
5866 #if HAVE_SYS_TYPES_H
5867 /* On Solaris, you must include sys/types.h before sys/socket.h. */
5868 # include <sys/types.h>
5869 #endif
5870 #if HAVE_SYS_SOCKET_H
5871 # include <sys/socket.h>
5872 #endif
5873 #if HAVE_NET_IF_H
5874 # include <net/if.h>
5875 #endif
5876 #include <netinet/if_ether.h>
5877 #endif
5878 "
5879 if test "x$ac_cv_have_decl_ether_aton" = xyes; then :
5880 ac_have_decl=1
5881 else
5882 ac_have_decl=0
5883 fi
5884
5885 cat >>confdefs.h <<_ACEOF
5886 #define HAVE_DECL_ETHER_ATON $ac_have_decl
5887 _ACEOF
5888 ac_fn_c_check_decl "$LINENO" "ether_ntoa" "ac_cv_have_decl_ether_ntoa" "
5889 /* On Redhat 9, they are declared in netinet/ether.h. */
5890 #if HAVE_NETINET_ETHER_H
5891 #include <netinet/ether.h>
5892 #endif
5893 /* In Solaris 10 (but not earlier), they are declared in sys/ethernet.h.
5894 But at build time, it's not a good idea to include sys/ethernet.h directly; while that
5895 would work in Solaris 10, it would break in Solaris 9 if we ever find we need to include netinet/if_ether;
5896 in Solaris 9 you must not include BOTH netinet/if_ether.h and sys/ethernet.h, since there are some definitions
5897 duplicated in the two files.
5898 Since at build time we may indeed include netinet/if_ether.h, we cannot directly include sys/ethernet.h at build time.
5899 Since we know we will not directly include sys/ethernet.h at build time, it would be unwise at configure time
5900 to make decisions based on a test that involved directly including sys/ethernet.h.
5901 Fortunately, on Solaris 10, netinet/if_ether.h includes sys/ethernet.h for you, ultimately
5902 getting the ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton() declarations we want.
5903 So our approach is to include netinet/if_ether.h.
5904 On Solaris 9, this will not cause a problem; we won't find declarations for
5905 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton(), but those four declarations
5906 aren't available in Solaris 9 anyway. And in Solaris 10, we will find the declarations for
5907 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton().
5908 */
5909 #if HAVE_NETINET_IF_ETHER_H
5910 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
5911 #if HAVE_SYS_TYPES_H
5912 /* On Solaris, you must include sys/types.h before sys/socket.h. */
5913 # include <sys/types.h>
5914 #endif
5915 #if HAVE_SYS_SOCKET_H
5916 # include <sys/socket.h>
5917 #endif
5918 #if HAVE_NET_IF_H
5919 # include <net/if.h>
5920 #endif
5921 #include <netinet/if_ether.h>
5922 #endif
5923 "
5924 if test "x$ac_cv_have_decl_ether_ntoa" = xyes; then :
5925 ac_have_decl=1
5926 else
5927 ac_have_decl=0
5928 fi
5929
5930 cat >>confdefs.h <<_ACEOF
5931 #define HAVE_DECL_ETHER_NTOA $ac_have_decl
5932 _ACEOF
5933 ac_fn_c_check_decl "$LINENO" "ether_ntohost" "ac_cv_have_decl_ether_ntohost" "
5934 /* On Redhat 9, they are declared in netinet/ether.h. */
5935 #if HAVE_NETINET_ETHER_H
5936 #include <netinet/ether.h>
5937 #endif
5938 /* In Solaris 10 (but not earlier), they are declared in sys/ethernet.h.
5939 But at build time, it's not a good idea to include sys/ethernet.h directly; while that
5940 would work in Solaris 10, it would break in Solaris 9 if we ever find we need to include netinet/if_ether;
5941 in Solaris 9 you must not include BOTH netinet/if_ether.h and sys/ethernet.h, since there are some definitions
5942 duplicated in the two files.
5943 Since at build time we may indeed include netinet/if_ether.h, we cannot directly include sys/ethernet.h at build time.
5944 Since we know we will not directly include sys/ethernet.h at build time, it would be unwise at configure time
5945 to make decisions based on a test that involved directly including sys/ethernet.h.
5946 Fortunately, on Solaris 10, netinet/if_ether.h includes sys/ethernet.h for you, ultimately
5947 getting the ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton() declarations we want.
5948 So our approach is to include netinet/if_ether.h.
5949 On Solaris 9, this will not cause a problem; we won't find declarations for
5950 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton(), but those four declarations
5951 aren't available in Solaris 9 anyway. And in Solaris 10, we will find the declarations for
5952 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton().
5953 */
5954 #if HAVE_NETINET_IF_ETHER_H
5955 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
5956 #if HAVE_SYS_TYPES_H
5957 /* On Solaris, you must include sys/types.h before sys/socket.h. */
5958 # include <sys/types.h>
5959 #endif
5960 #if HAVE_SYS_SOCKET_H
5961 # include <sys/socket.h>
5962 #endif
5963 #if HAVE_NET_IF_H
5964 # include <net/if.h>
5965 #endif
5966 #include <netinet/if_ether.h>
5967 #endif
5968 "
5969 if test "x$ac_cv_have_decl_ether_ntohost" = xyes; then :
5970 ac_have_decl=1
5971 else
5972 ac_have_decl=0
5973 fi
5974
5975 cat >>confdefs.h <<_ACEOF
5976 #define HAVE_DECL_ETHER_NTOHOST $ac_have_decl
5977 _ACEOF
5978 ac_fn_c_check_decl "$LINENO" "ether_hostton" "ac_cv_have_decl_ether_hostton" "
5979 /* On Redhat 9, they are declared in netinet/ether.h. */
5980 #if HAVE_NETINET_ETHER_H
5981 #include <netinet/ether.h>
5982 #endif
5983 /* In Solaris 10 (but not earlier), they are declared in sys/ethernet.h.
5984 But at build time, it's not a good idea to include sys/ethernet.h directly; while that
5985 would work in Solaris 10, it would break in Solaris 9 if we ever find we need to include netinet/if_ether;
5986 in Solaris 9 you must not include BOTH netinet/if_ether.h and sys/ethernet.h, since there are some definitions
5987 duplicated in the two files.
5988 Since at build time we may indeed include netinet/if_ether.h, we cannot directly include sys/ethernet.h at build time.
5989 Since we know we will not directly include sys/ethernet.h at build time, it would be unwise at configure time
5990 to make decisions based on a test that involved directly including sys/ethernet.h.
5991 Fortunately, on Solaris 10, netinet/if_ether.h includes sys/ethernet.h for you, ultimately
5992 getting the ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton() declarations we want.
5993 So our approach is to include netinet/if_ether.h.
5994 On Solaris 9, this will not cause a problem; we won't find declarations for
5995 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton(), but those four declarations
5996 aren't available in Solaris 9 anyway. And in Solaris 10, we will find the declarations for
5997 ether_aton(), ether_ntoa(), ether_ntohost(), ether_hostton().
5998 */
5999 #if HAVE_NETINET_IF_ETHER_H
6000 /* In Solaris, before using netinet/if_ether.h you need sys/socket.h and net/if.h. */
6001 #if HAVE_SYS_TYPES_H
6002 /* On Solaris, you must include sys/types.h before sys/socket.h. */
6003 # include <sys/types.h>
6004 #endif
6005 #if HAVE_SYS_SOCKET_H
6006 # include <sys/socket.h>
6007 #endif
6008 #if HAVE_NET_IF_H
6009 # include <net/if.h>
6010 #endif
6011 #include <netinet/if_ether.h>
6012 #endif
6013 "
6014 if test "x$ac_cv_have_decl_ether_hostton" = xyes; then :
6015 ac_have_decl=1
6016 else
6017 ac_have_decl=0
6018 fi
6019
6020 cat >>confdefs.h <<_ACEOF
6021 #define HAVE_DECL_ETHER_HOSTTON $ac_have_decl
6022 _ACEOF
6023
6024
6025
6026
6027 for ac_func in bcmp bcopy bzero
6028 do :
6029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6032 cat >>confdefs.h <<_ACEOF
6033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6034 _ACEOF
6035
6036 fi
6037 done
6038
6039 for ac_func in vsnprintf
6040 do :
6041 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
6042 if test "x$ac_cv_func_vsnprintf" = xyes; then :
6043 cat >>confdefs.h <<_ACEOF
6044 #define HAVE_VSNPRINTF 1
6045 _ACEOF
6046
6047 fi
6048 done
6049
6050 for ac_func in sysconf getrlimit
6051 do :
6052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6055 cat >>confdefs.h <<_ACEOF
6056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6057 _ACEOF
6058
6059 fi
6060 done
6061
6062 for ac_func in getifaddrs
6063 do :
6064 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
6065 if test "x$ac_cv_func_getifaddrs" = xyes; then :
6066 cat >>confdefs.h <<_ACEOF
6067 #define HAVE_GETIFADDRS 1
6068 _ACEOF
6069
6070 fi
6071 done
6072
6073
6074
6075
6076 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
6077 if test "x$ac_cv_func_strerror" = xyes; then :
6078 $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
6079
6080 else
6081 case " $LIBOBJS " in
6082 *" strerror.$ac_objext "* ) ;;
6083 *) LIBOBJS="$LIBOBJS strerror.$ac_objext"
6084 ;;
6085 esac
6086
6087 fi
6088
6089
6090 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
6091 if test "x$ac_cv_func_inet_aton" = xyes; then :
6092 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
6093
6094 else
6095 case " $LIBOBJS " in
6096 *" inet_aton.$ac_objext "* ) ;;
6097 *) LIBOBJS="$LIBOBJS inet_aton.$ac_objext"
6098 ;;
6099 esac
6100
6101 fi
6102
6103
6104
6105 ac_fn_c_check_func "$LINENO" "my_null_proc" "ac_cv_func_my_null_proc"
6106 if test "x$ac_cv_func_my_null_proc" = xyes; then :
6107 $as_echo "#define HAVE_MY_NULL_PROC 1" >>confdefs.h
6108
6109 else
6110 case " $LIBOBJS " in
6111 *" my_null_proc.$ac_objext "* ) ;;
6112 *) LIBOBJS="$LIBOBJS my_null_proc.$ac_objext"
6113 ;;
6114 esac
6115
6116 fi
6117
6118
6119
6120
6121
6122
6123 for ac_header in stropts.h
6124 do :
6125 ac_fn_c_check_header_mongrel "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default"
6126 if test "x$ac_cv_header_stropts_h" = xyes; then :
6127 cat >>confdefs.h <<_ACEOF
6128 #define HAVE_STROPTS_H 1
6129 _ACEOF
6130
6131 fi
6132
6133 done
6134
6135
6136
6137
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket ioctls should use STREAMS instead of SIOCxxx" >&5
6139 $as_echo_n "checking if socket ioctls should use STREAMS instead of SIOCxxx... " >&6; }
6140 if ${ist_cv_sys_socket_ioctls_use_streams+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143
6144 if test "$ac_cv_header_stropts_h" = "yes"; then
6145 case "$host" in
6146 *-sni-sysv*) ist_cv_sys_socket_ioctls_use_streams=yes ;;
6147 *-*-ptx*) ist_cv_sys_socket_ioctls_use_streams=yes ;;
6148 *) ist_cv_sys_socket_ioctls_use_streams=no ;;
6149 esac
6150 else
6151 ist_cv_sys_socket_ioctls_use_streams=no
6152 fi
6153
6154 fi
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ist_cv_sys_socket_ioctls_use_streams" >&5
6156 $as_echo "$ist_cv_sys_socket_ioctls_use_streams" >&6; }
6157
6158 if test "$ist_cv_sys_socket_ioctls_use_streams" = "yes"; then
6159
6160 $as_echo "#define SYS_SOCKET_IOCTLS_USE_STREAMS /**/" >>confdefs.h
6161
6162 fi
6163
6164
6165
6166 ac_config_files="$ac_config_files Makefile lib/Makefile src/Makefile doc/Makefile"
6167
6168 ac_config_commands="$ac_config_commands stamp-h"
6169
6170 cat >confcache <<\_ACEOF
6171 # This file is a shell script that caches the results of configure
6172 # tests run on this system so they can be shared between configure
6173 # scripts and configure runs, see configure's option --config-cache.
6174 # It is not useful on other systems. If it contains results you don't
6175 # want to keep, you may remove or edit it.
6176 #
6177 # config.status only pays attention to the cache file if you give it
6178 # the --recheck option to rerun configure.
6179 #
6180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6182 # following values.
6183
6184 _ACEOF
6185
6186 # The following way of writing the cache mishandles newlines in values,
6187 # but we know of no workaround that is simple, portable, and efficient.
6188 # So, we kill variables containing newlines.
6189 # Ultrix sh set writes to stderr and can't be redirected directly,
6190 # and sets the high bit in the cache file unless we assign to the vars.
6191 (
6192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6193 eval ac_val=\$$ac_var
6194 case $ac_val in #(
6195 *${as_nl}*)
6196 case $ac_var in #(
6197 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6198 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6199 esac
6200 case $ac_var in #(
6201 _ | IFS | as_nl) ;; #(
6202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6203 *) { eval $ac_var=; unset $ac_var;} ;;
6204 esac ;;
6205 esac
6206 done
6207
6208 (set) 2>&1 |
6209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6210 *${as_nl}ac_space=\ *)
6211 # `set' does not quote correctly, so add quotes: double-quote
6212 # substitution turns \\\\ into \\, and sed turns \\ into \.
6213 sed -n \
6214 "s/'/'\\\\''/g;
6215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6216 ;; #(
6217 *)
6218 # `set' quotes correctly as required by POSIX, so do not add quotes.
6219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6220 ;;
6221 esac |
6222 sort
6223 ) |
6224 sed '
6225 /^ac_cv_env_/b end
6226 t clear
6227 :clear
6228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6229 t end
6230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6231 :end' >>confcache
6232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6233 if test -w "$cache_file"; then
6234 if test "x$cache_file" != "x/dev/null"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6236 $as_echo "$as_me: updating cache $cache_file" >&6;}
6237 if test ! -f "$cache_file" || test -h "$cache_file"; then
6238 cat confcache >"$cache_file"
6239 else
6240 case $cache_file in #(
6241 */* | ?:*)
6242 mv -f confcache "$cache_file"$$ &&
6243 mv -f "$cache_file"$$ "$cache_file" ;; #(
6244 *)
6245 mv -f confcache "$cache_file" ;;
6246 esac
6247 fi
6248 fi
6249 else
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6251 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6252 fi
6253 fi
6254 rm -f confcache
6255
6256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6257 # Let make expand exec_prefix.
6258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6259
6260 DEFS=-DHAVE_CONFIG_H
6261
6262 ac_libobjs=
6263 ac_ltlibobjs=
6264 U=
6265 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6266 # 1. Remove the extension, and $U if already installed.
6267 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6268 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6269 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6270 # will be set to the directory where LIBOBJS objects are built.
6271 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6272 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6273 done
6274 LIBOBJS=$ac_libobjs
6275
6276 LTLIBOBJS=$ac_ltlibobjs
6277
6278
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6280 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6281 if test -n "$am_sleep_pid"; then
6282 # Hide warnings about reused PIDs.
6283 wait $am_sleep_pid 2>/dev/null
6284 fi
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6286 $as_echo "done" >&6; }
6287 if test -n "$EXEEXT"; then
6288 am__EXEEXT_TRUE=
6289 am__EXEEXT_FALSE='#'
6290 else
6291 am__EXEEXT_TRUE='#'
6292 am__EXEEXT_FALSE=
6293 fi
6294
6295 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6296 as_fn_error $? "conditional \"AMDEP\" was never defined.
6297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6298 fi
6299 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6300 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6302 fi
6303
6304 : "${CONFIG_STATUS=./config.status}"
6305 ac_write_fail=0
6306 ac_clean_files_save=$ac_clean_files
6307 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6309 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6310 as_write_fail=0
6311 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6312 #! $SHELL
6313 # Generated by $as_me.
6314 # Run this file to recreate the current configuration.
6315 # Compiler output produced by configure, useful for debugging
6316 # configure, is in config.log if it exists.
6317
6318 debug=false
6319 ac_cs_recheck=false
6320 ac_cs_silent=false
6321
6322 SHELL=\${CONFIG_SHELL-$SHELL}
6323 export SHELL
6324 _ASEOF
6325 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6326 ## -------------------- ##
6327 ## M4sh Initialization. ##
6328 ## -------------------- ##
6329
6330 # Be more Bourne compatible
6331 DUALCASE=1; export DUALCASE # for MKS sh
6332 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6333 emulate sh
6334 NULLCMD=:
6335 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6336 # is contrary to our usage. Disable this feature.
6337 alias -g '${1+"$@"}'='"$@"'
6338 setopt NO_GLOB_SUBST
6339 else
6340 case `(set -o) 2>/dev/null` in #(
6341 *posix*) :
6342 set -o posix ;; #(
6343 *) :
6344 ;;
6345 esac
6346 fi
6347
6348
6349 as_nl='
6350 '
6351 export as_nl
6352 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6353 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6356 # Prefer a ksh shell builtin over an external printf program on Solaris,
6357 # but without wasting forks for bash or zsh.
6358 if test -z "$BASH_VERSION$ZSH_VERSION" \
6359 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6360 as_echo='print -r --'
6361 as_echo_n='print -rn --'
6362 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6363 as_echo='printf %s\n'
6364 as_echo_n='printf %s'
6365 else
6366 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6367 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6368 as_echo_n='/usr/ucb/echo -n'
6369 else
6370 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6371 as_echo_n_body='eval
6372 arg=$1;
6373 case $arg in #(
6374 *"$as_nl"*)
6375 expr "X$arg" : "X\\(.*\\)$as_nl";
6376 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6377 esac;
6378 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6379 '
6380 export as_echo_n_body
6381 as_echo_n='sh -c $as_echo_n_body as_echo'
6382 fi
6383 export as_echo_body
6384 as_echo='sh -c $as_echo_body as_echo'
6385 fi
6386
6387 # The user is always right.
6388 if test "${PATH_SEPARATOR+set}" != set; then
6389 PATH_SEPARATOR=:
6390 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6391 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6392 PATH_SEPARATOR=';'
6393 }
6394 fi
6395
6396
6397 # IFS
6398 # We need space, tab and new line, in precisely that order. Quoting is
6399 # there to prevent editors from complaining about space-tab.
6400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6401 # splitting by setting IFS to empty value.)
6402 IFS=" "" $as_nl"
6403
6404 # Find who we are. Look in the path if we contain no directory separator.
6405 as_myself=
6406 case $0 in #((
6407 *[\\/]* ) as_myself=$0 ;;
6408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in $PATH
6410 do
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6414 done
6415 IFS=$as_save_IFS
6416
6417 ;;
6418 esac
6419 # We did not find ourselves, most probably we were run as `sh COMMAND'
6420 # in which case we are not to be found in the path.
6421 if test "x$as_myself" = x; then
6422 as_myself=$0
6423 fi
6424 if test ! -f "$as_myself"; then
6425 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6426 exit 1
6427 fi
6428
6429 # Unset variables that we do not need and which cause bugs (e.g. in
6430 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6431 # suppresses any "Segmentation fault" message there. '((' could
6432 # trigger a bug in pdksh 5.2.14.
6433 for as_var in BASH_ENV ENV MAIL MAILPATH
6434 do eval test x\${$as_var+set} = xset \
6435 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6436 done
6437 PS1='$ '
6438 PS2='> '
6439 PS4='+ '
6440
6441 # NLS nuisances.
6442 LC_ALL=C
6443 export LC_ALL
6444 LANGUAGE=C
6445 export LANGUAGE
6446
6447 # CDPATH.
6448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6449
6450
6451 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6452 # ----------------------------------------
6453 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6454 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6455 # script with STATUS, using 1 if that was 0.
6456 as_fn_error ()
6457 {
6458 as_status=$1; test $as_status -eq 0 && as_status=1
6459 if test "$4"; then
6460 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6461 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6462 fi
6463 $as_echo "$as_me: error: $2" >&2
6464 as_fn_exit $as_status
6465 } # as_fn_error
6466
6467
6468 # as_fn_set_status STATUS
6469 # -----------------------
6470 # Set $? to STATUS, without forking.
6471 as_fn_set_status ()
6472 {
6473 return $1
6474 } # as_fn_set_status
6475
6476 # as_fn_exit STATUS
6477 # -----------------
6478 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6479 as_fn_exit ()
6480 {
6481 set +e
6482 as_fn_set_status $1
6483 exit $1
6484 } # as_fn_exit
6485
6486 # as_fn_unset VAR
6487 # ---------------
6488 # Portably unset VAR.
6489 as_fn_unset ()
6490 {
6491 { eval $1=; unset $1;}
6492 }
6493 as_unset=as_fn_unset
6494 # as_fn_append VAR VALUE
6495 # ----------------------
6496 # Append the text in VALUE to the end of the definition contained in VAR. Take
6497 # advantage of any shell optimizations that allow amortized linear growth over
6498 # repeated appends, instead of the typical quadratic growth present in naive
6499 # implementations.
6500 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6501 eval 'as_fn_append ()
6502 {
6503 eval $1+=\$2
6504 }'
6505 else
6506 as_fn_append ()
6507 {
6508 eval $1=\$$1\$2
6509 }
6510 fi # as_fn_append
6511
6512 # as_fn_arith ARG...
6513 # ------------------
6514 # Perform arithmetic evaluation on the ARGs, and store the result in the
6515 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6516 # must be portable across $(()) and expr.
6517 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6518 eval 'as_fn_arith ()
6519 {
6520 as_val=$(( $* ))
6521 }'
6522 else
6523 as_fn_arith ()
6524 {
6525 as_val=`expr "$@" || test $? -eq 1`
6526 }
6527 fi # as_fn_arith
6528
6529
6530 if expr a : '\(a\)' >/dev/null 2>&1 &&
6531 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6532 as_expr=expr
6533 else
6534 as_expr=false
6535 fi
6536
6537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6538 as_basename=basename
6539 else
6540 as_basename=false
6541 fi
6542
6543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6544 as_dirname=dirname
6545 else
6546 as_dirname=false
6547 fi
6548
6549 as_me=`$as_basename -- "$0" ||
6550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6551 X"$0" : 'X\(//\)$' \| \
6552 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6553 $as_echo X/"$0" |
6554 sed '/^.*\/\([^/][^/]*\)\/*$/{
6555 s//\1/
6556 q
6557 }
6558 /^X\/\(\/\/\)$/{
6559 s//\1/
6560 q
6561 }
6562 /^X\/\(\/\).*/{
6563 s//\1/
6564 q
6565 }
6566 s/.*/./; q'`
6567
6568 # Avoid depending upon Character Ranges.
6569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6572 as_cr_digits='0123456789'
6573 as_cr_alnum=$as_cr_Letters$as_cr_digits
6574
6575 ECHO_C= ECHO_N= ECHO_T=
6576 case `echo -n x` in #(((((
6577 -n*)
6578 case `echo 'xy\c'` in
6579 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6580 xy) ECHO_C='\c';;
6581 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6582 ECHO_T=' ';;
6583 esac;;
6584 *)
6585 ECHO_N='-n';;
6586 esac
6587
6588 rm -f conf$$ conf$$.exe conf$$.file
6589 if test -d conf$$.dir; then
6590 rm -f conf$$.dir/conf$$.file
6591 else
6592 rm -f conf$$.dir
6593 mkdir conf$$.dir 2>/dev/null
6594 fi
6595 if (echo >conf$$.file) 2>/dev/null; then
6596 if ln -s conf$$.file conf$$ 2>/dev/null; then
6597 as_ln_s='ln -s'
6598 # ... but there are two gotchas:
6599 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6600 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6601 # In both cases, we have to default to `cp -pR'.
6602 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6603 as_ln_s='cp -pR'
6604 elif ln conf$$.file conf$$ 2>/dev/null; then
6605 as_ln_s=ln
6606 else
6607 as_ln_s='cp -pR'
6608 fi
6609 else
6610 as_ln_s='cp -pR'
6611 fi
6612 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6613 rmdir conf$$.dir 2>/dev/null
6614
6615
6616 # as_fn_mkdir_p
6617 # -------------
6618 # Create "$as_dir" as a directory, including parents if necessary.
6619 as_fn_mkdir_p ()
6620 {
6621
6622 case $as_dir in #(
6623 -*) as_dir=./$as_dir;;
6624 esac
6625 test -d "$as_dir" || eval $as_mkdir_p || {
6626 as_dirs=
6627 while :; do
6628 case $as_dir in #(
6629 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6630 *) as_qdir=$as_dir;;
6631 esac
6632 as_dirs="'$as_qdir' $as_dirs"
6633 as_dir=`$as_dirname -- "$as_dir" ||
6634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6635 X"$as_dir" : 'X\(//\)[^/]' \| \
6636 X"$as_dir" : 'X\(//\)$' \| \
6637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6638 $as_echo X"$as_dir" |
6639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6640 s//\1/
6641 q
6642 }
6643 /^X\(\/\/\)[^/].*/{
6644 s//\1/
6645 q
6646 }
6647 /^X\(\/\/\)$/{
6648 s//\1/
6649 q
6650 }
6651 /^X\(\/\).*/{
6652 s//\1/
6653 q
6654 }
6655 s/.*/./; q'`
6656 test -d "$as_dir" && break
6657 done
6658 test -z "$as_dirs" || eval "mkdir $as_dirs"
6659 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6660
6661
6662 } # as_fn_mkdir_p
6663 if mkdir -p . 2>/dev/null; then
6664 as_mkdir_p='mkdir -p "$as_dir"'
6665 else
6666 test -d ./-p && rmdir ./-p
6667 as_mkdir_p=false
6668 fi
6669
6670
6671 # as_fn_executable_p FILE
6672 # -----------------------
6673 # Test if FILE is an executable regular file.
6674 as_fn_executable_p ()
6675 {
6676 test -f "$1" && test -x "$1"
6677 } # as_fn_executable_p
6678 as_test_x='test -x'
6679 as_executable_p=as_fn_executable_p
6680
6681 # Sed expression to map a string onto a valid CPP name.
6682 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6683
6684 # Sed expression to map a string onto a valid variable name.
6685 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6686
6687
6688 exec 6>&1
6689 ## ----------------------------------- ##
6690 ## Main body of $CONFIG_STATUS script. ##
6691 ## ----------------------------------- ##
6692 _ASEOF
6693 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6694
6695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6696 # Save the log message, to keep $0 and so on meaningful, and to
6697 # report actual input values of CONFIG_FILES etc. instead of their
6698 # values after options handling.
6699 ac_log="
6700 This file was extended by dhcp_probe $as_me 1.3.1, which was
6701 generated by GNU Autoconf 2.69. Invocation command line was
6702
6703 CONFIG_FILES = $CONFIG_FILES
6704 CONFIG_HEADERS = $CONFIG_HEADERS
6705 CONFIG_LINKS = $CONFIG_LINKS
6706 CONFIG_COMMANDS = $CONFIG_COMMANDS
6707 $ $0 $@
6708
6709 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6710 "
6711
6712 _ACEOF
6713
6714 case $ac_config_files in *"
6715 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6716 esac
6717
6718 case $ac_config_headers in *"
6719 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6720 esac
6721
6722
6723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6724 # Files that config.status was made for.
6725 config_files="$ac_config_files"
6726 config_headers="$ac_config_headers"
6727 config_commands="$ac_config_commands"
6728
6729 _ACEOF
6730
6731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6732 ac_cs_usage="\
6733 \`$as_me' instantiates files and other configuration actions
6734 from templates according to the current configuration. Unless the files
6735 and actions are specified as TAGs, all are instantiated by default.
6736
6737 Usage: $0 [OPTION]... [TAG]...
6738
6739 -h, --help print this help, then exit
6740 -V, --version print version number and configuration settings, then exit
6741 --config print configuration, then exit
6742 -q, --quiet, --silent
6743 do not print progress messages
6744 -d, --debug don't remove temporary files
6745 --recheck update $as_me by reconfiguring in the same conditions
6746 --file=FILE[:TEMPLATE]
6747 instantiate the configuration file FILE
6748 --header=FILE[:TEMPLATE]
6749 instantiate the configuration header FILE
6750
6751 Configuration files:
6752 $config_files
6753
6754 Configuration headers:
6755 $config_headers
6756
6757 Configuration commands:
6758 $config_commands
6759
6760 Report bugs to the package provider."
6761
6762 _ACEOF
6763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6764 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6765 ac_cs_version="\\
6766 dhcp_probe config.status 1.3.1
6767 configured by $0, generated by GNU Autoconf 2.69,
6768 with options \\"\$ac_cs_config\\"
6769
6770 Copyright (C) 2012 Free Software Foundation, Inc.
6771 This config.status script is free software; the Free Software Foundation
6772 gives unlimited permission to copy, distribute and modify it."
6773
6774 ac_pwd='$ac_pwd'
6775 srcdir='$srcdir'
6776 INSTALL='$INSTALL'
6777 MKDIR_P='$MKDIR_P'
6778 AWK='$AWK'
6779 test -n "\$AWK" || AWK=awk
6780 _ACEOF
6781
6782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6783 # The default lists apply if the user does not specify any file.
6784 ac_need_defaults=:
6785 while test $# != 0
6786 do
6787 case $1 in
6788 --*=?*)
6789 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6790 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6791 ac_shift=:
6792 ;;
6793 --*=)
6794 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6795 ac_optarg=
6796 ac_shift=:
6797 ;;
6798 *)
6799 ac_option=$1
6800 ac_optarg=$2
6801 ac_shift=shift
6802 ;;
6803 esac
6804
6805 case $ac_option in
6806 # Handling of the options.
6807 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6808 ac_cs_recheck=: ;;
6809 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6810 $as_echo "$ac_cs_version"; exit ;;
6811 --config | --confi | --conf | --con | --co | --c )
6812 $as_echo "$ac_cs_config"; exit ;;
6813 --debug | --debu | --deb | --de | --d | -d )
6814 debug=: ;;
6815 --file | --fil | --fi | --f )
6816 $ac_shift
6817 case $ac_optarg in
6818 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6819 '') as_fn_error $? "missing file argument" ;;
6820 esac
6821 as_fn_append CONFIG_FILES " '$ac_optarg'"
6822 ac_need_defaults=false;;
6823 --header | --heade | --head | --hea )
6824 $ac_shift
6825 case $ac_optarg in
6826 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6827 esac
6828 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6829 ac_need_defaults=false;;
6830 --he | --h)
6831 # Conflict between --help and --header
6832 as_fn_error $? "ambiguous option: \`$1'
6833 Try \`$0 --help' for more information.";;
6834 --help | --hel | -h )
6835 $as_echo "$ac_cs_usage"; exit ;;
6836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6837 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6838 ac_cs_silent=: ;;
6839
6840 # This is an error.
6841 -*) as_fn_error $? "unrecognized option: \`$1'
6842 Try \`$0 --help' for more information." ;;
6843
6844 *) as_fn_append ac_config_targets " $1"
6845 ac_need_defaults=false ;;
6846
6847 esac
6848 shift
6849 done
6850
6851 ac_configure_extra_args=
6852
6853 if $ac_cs_silent; then
6854 exec 6>/dev/null
6855 ac_configure_extra_args="$ac_configure_extra_args --silent"
6856 fi
6857
6858 _ACEOF
6859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6860 if \$ac_cs_recheck; then
6861 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6862 shift
6863 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6864 CONFIG_SHELL='$SHELL'
6865 export CONFIG_SHELL
6866 exec "\$@"
6867 fi
6868
6869 _ACEOF
6870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6871 exec 5>>config.log
6872 {
6873 echo
6874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6875 ## Running $as_me. ##
6876 _ASBOX
6877 $as_echo "$ac_log"
6878 } >&5
6879
6880 _ACEOF
6881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6882 #
6883 # INIT-COMMANDS
6884 #
6885 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6886
6887 _ACEOF
6888
6889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6890
6891 # Handling of arguments.
6892 for ac_config_target in $ac_config_targets
6893 do
6894 case $ac_config_target in
6895 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6896 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6897 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6898 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6899 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6900 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6901 "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
6902
6903 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6904 esac
6905 done
6906
6907
6908 # If the user did not use the arguments to specify the items to instantiate,
6909 # then the envvar interface is used. Set only those that are not.
6910 # We use the long form for the default assignment because of an extremely
6911 # bizarre bug on SunOS 4.1.3.
6912 if $ac_need_defaults; then
6913 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6914 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6915 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6916 fi
6917
6918 # Have a temporary directory for convenience. Make it in the build tree
6919 # simply because there is no reason against having it here, and in addition,
6920 # creating and moving files from /tmp can sometimes cause problems.
6921 # Hook for its removal unless debugging.
6922 # Note that there is a small window in which the directory will not be cleaned:
6923 # after its creation but before its name has been assigned to `$tmp'.
6924 $debug ||
6925 {
6926 tmp= ac_tmp=
6927 trap 'exit_status=$?
6928 : "${ac_tmp:=$tmp}"
6929 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6930 ' 0
6931 trap 'as_fn_exit 1' 1 2 13 15
6932 }
6933 # Create a (secure) tmp directory for tmp files.
6934
6935 {
6936 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6937 test -d "$tmp"
6938 } ||
6939 {
6940 tmp=./conf$$-$RANDOM
6941 (umask 077 && mkdir "$tmp")
6942 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6943 ac_tmp=$tmp
6944
6945 # Set up the scripts for CONFIG_FILES section.
6946 # No need to generate them if there are no CONFIG_FILES.
6947 # This happens for instance with `./config.status config.h'.
6948 if test -n "$CONFIG_FILES"; then
6949
6950
6951 ac_cr=`echo X | tr X '\015'`
6952 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6953 # But we know of no other shell where ac_cr would be empty at this
6954 # point, so we can use a bashism as a fallback.
6955 if test "x$ac_cr" = x; then
6956 eval ac_cr=\$\'\\r\'
6957 fi
6958 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6959 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6960 ac_cs_awk_cr='\\r'
6961 else
6962 ac_cs_awk_cr=$ac_cr
6963 fi
6964
6965 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6966 _ACEOF
6967
6968
6969 {
6970 echo "cat >conf$$subs.awk <<_ACEOF" &&
6971 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6972 echo "_ACEOF"
6973 } >conf$$subs.sh ||
6974 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6975 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6976 ac_delim='%!_!# '
6977 for ac_last_try in false false false false false :; do
6978 . ./conf$$subs.sh ||
6979 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6980
6981 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6982 if test $ac_delim_n = $ac_delim_num; then
6983 break
6984 elif $ac_last_try; then
6985 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6986 else
6987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6988 fi
6989 done
6990 rm -f conf$$subs.sh
6991
6992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6993 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6994 _ACEOF
6995 sed -n '
6996 h
6997 s/^/S["/; s/!.*/"]=/
6998 p
6999 g
7000 s/^[^!]*!//
7001 :repl
7002 t repl
7003 s/'"$ac_delim"'$//
7004 t delim
7005 :nl
7006 h
7007 s/\(.\{148\}\)..*/\1/
7008 t more1
7009 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7010 p
7011 n
7012 b repl
7013 :more1
7014 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7015 p
7016 g
7017 s/.\{148\}//
7018 t nl
7019 :delim
7020 h
7021 s/\(.\{148\}\)..*/\1/
7022 t more2
7023 s/["\\]/\\&/g; s/^/"/; s/$/"/
7024 p
7025 b
7026 :more2
7027 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7028 p
7029 g
7030 s/.\{148\}//
7031 t delim
7032 ' <conf$$subs.awk | sed '
7033 /^[^""]/{
7034 N
7035 s/\n//
7036 }
7037 ' >>$CONFIG_STATUS || ac_write_fail=1
7038 rm -f conf$$subs.awk
7039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7040 _ACAWK
7041 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7042 for (key in S) S_is_set[key] = 1
7043 FS = ""
7044
7045 }
7046 {
7047 line = $ 0
7048 nfields = split(line, field, "@")
7049 substed = 0
7050 len = length(field[1])
7051 for (i = 2; i < nfields; i++) {
7052 key = field[i]
7053 keylen = length(key)
7054 if (S_is_set[key]) {
7055 value = S[key]
7056 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7057 len += length(value) + length(field[++i])
7058 substed = 1
7059 } else
7060 len += 1 + keylen
7061 }
7062
7063 print line
7064 }
7065
7066 _ACAWK
7067 _ACEOF
7068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7069 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7070 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7071 else
7072 cat
7073 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7074 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7075 _ACEOF
7076
7077 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7078 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7079 # trailing colons and then remove the whole line if VPATH becomes empty
7080 # (actually we leave an empty line to preserve line numbers).
7081 if test "x$srcdir" = x.; then
7082 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7083 h
7084 s///
7085 s/^/:/
7086 s/[ ]*$/:/
7087 s/:\$(srcdir):/:/g
7088 s/:\${srcdir}:/:/g
7089 s/:@srcdir@:/:/g
7090 s/^:*//
7091 s/:*$//
7092 x
7093 s/\(=[ ]*\).*/\1/
7094 G
7095 s/\n//
7096 s/^[^=]*=[ ]*$//
7097 }'
7098 fi
7099
7100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7101 fi # test -n "$CONFIG_FILES"
7102
7103 # Set up the scripts for CONFIG_HEADERS section.
7104 # No need to generate them if there are no CONFIG_HEADERS.
7105 # This happens for instance with `./config.status Makefile'.
7106 if test -n "$CONFIG_HEADERS"; then
7107 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7108 BEGIN {
7109 _ACEOF
7110
7111 # Transform confdefs.h into an awk script `defines.awk', embedded as
7112 # here-document in config.status, that substitutes the proper values into
7113 # config.h.in to produce config.h.
7114
7115 # Create a delimiter string that does not exist in confdefs.h, to ease
7116 # handling of long lines.
7117 ac_delim='%!_!# '
7118 for ac_last_try in false false :; do
7119 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7120 if test -z "$ac_tt"; then
7121 break
7122 elif $ac_last_try; then
7123 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7124 else
7125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7126 fi
7127 done
7128
7129 # For the awk script, D is an array of macro values keyed by name,
7130 # likewise P contains macro parameters if any. Preserve backslash
7131 # newline sequences.
7132
7133 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7134 sed -n '
7135 s/.\{148\}/&'"$ac_delim"'/g
7136 t rset
7137 :rset
7138 s/^[ ]*#[ ]*define[ ][ ]*/ /
7139 t def
7140 d
7141 :def
7142 s/\\$//
7143 t bsnl
7144 s/["\\]/\\&/g
7145 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7146 D["\1"]=" \3"/p
7147 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7148 d
7149 :bsnl
7150 s/["\\]/\\&/g
7151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7152 D["\1"]=" \3\\\\\\n"\\/p
7153 t cont
7154 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7155 t cont
7156 d
7157 :cont
7158 n
7159 s/.\{148\}/&'"$ac_delim"'/g
7160 t clear
7161 :clear
7162 s/\\$//
7163 t bsnlc
7164 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7165 d
7166 :bsnlc
7167 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7168 b cont
7169 ' <confdefs.h | sed '
7170 s/'"$ac_delim"'/"\\\
7171 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7172
7173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7174 for (key in D) D_is_set[key] = 1
7175 FS = ""
7176 }
7177 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7178 line = \$ 0
7179 split(line, arg, " ")
7180 if (arg[1] == "#") {
7181 defundef = arg[2]
7182 mac1 = arg[3]
7183 } else {
7184 defundef = substr(arg[1], 2)
7185 mac1 = arg[2]
7186 }
7187 split(mac1, mac2, "(") #)
7188 macro = mac2[1]
7189 prefix = substr(line, 1, index(line, defundef) - 1)
7190 if (D_is_set[macro]) {
7191 # Preserve the white space surrounding the "#".
7192 print prefix "define", macro P[macro] D[macro]
7193 next
7194 } else {
7195 # Replace #undef with comments. This is necessary, for example,
7196 # in the case of _POSIX_SOURCE, which is predefined and required
7197 # on some systems where configure will not decide to define it.
7198 if (defundef == "undef") {
7199 print "/*", prefix defundef, macro, "*/"
7200 next
7201 }
7202 }
7203 }
7204 { print }
7205 _ACAWK
7206 _ACEOF
7207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7208 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7209 fi # test -n "$CONFIG_HEADERS"
7210
7211
7212 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7213 shift
7214 for ac_tag
7215 do
7216 case $ac_tag in
7217 :[FHLC]) ac_mode=$ac_tag; continue;;
7218 esac
7219 case $ac_mode$ac_tag in
7220 :[FHL]*:*);;
7221 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7222 :[FH]-) ac_tag=-:-;;
7223 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7224 esac
7225 ac_save_IFS=$IFS
7226 IFS=:
7227 set x $ac_tag
7228 IFS=$ac_save_IFS
7229 shift
7230 ac_file=$1
7231 shift
7232
7233 case $ac_mode in
7234 :L) ac_source=$1;;
7235 :[FH])
7236 ac_file_inputs=
7237 for ac_f
7238 do
7239 case $ac_f in
7240 -) ac_f="$ac_tmp/stdin";;
7241 *) # Look for the file first in the build tree, then in the source tree
7242 # (if the path is not absolute). The absolute path cannot be DOS-style,
7243 # because $ac_f cannot contain `:'.
7244 test -f "$ac_f" ||
7245 case $ac_f in
7246 [\\/$]*) false;;
7247 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7248 esac ||
7249 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7250 esac
7251 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7252 as_fn_append ac_file_inputs " '$ac_f'"
7253 done
7254
7255 # Let's still pretend it is `configure' which instantiates (i.e., don't
7256 # use $as_me), people would be surprised to read:
7257 # /* config.h. Generated by config.status. */
7258 configure_input='Generated from '`
7259 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7260 `' by configure.'
7261 if test x"$ac_file" != x-; then
7262 configure_input="$ac_file. $configure_input"
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7264 $as_echo "$as_me: creating $ac_file" >&6;}
7265 fi
7266 # Neutralize special characters interpreted by sed in replacement strings.
7267 case $configure_input in #(
7268 *\&* | *\|* | *\\* )
7269 ac_sed_conf_input=`$as_echo "$configure_input" |
7270 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7271 *) ac_sed_conf_input=$configure_input;;
7272 esac
7273
7274 case $ac_tag in
7275 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7277 esac
7278 ;;
7279 esac
7280
7281 ac_dir=`$as_dirname -- "$ac_file" ||
7282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7283 X"$ac_file" : 'X\(//\)[^/]' \| \
7284 X"$ac_file" : 'X\(//\)$' \| \
7285 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7286 $as_echo X"$ac_file" |
7287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7288 s//\1/
7289 q
7290 }
7291 /^X\(\/\/\)[^/].*/{
7292 s//\1/
7293 q
7294 }
7295 /^X\(\/\/\)$/{
7296 s//\1/
7297 q
7298 }
7299 /^X\(\/\).*/{
7300 s//\1/
7301 q
7302 }
7303 s/.*/./; q'`
7304 as_dir="$ac_dir"; as_fn_mkdir_p
7305 ac_builddir=.
7306
7307 case "$ac_dir" in
7308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7309 *)
7310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7311 # A ".." for each directory in $ac_dir_suffix.
7312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7313 case $ac_top_builddir_sub in
7314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7316 esac ;;
7317 esac
7318 ac_abs_top_builddir=$ac_pwd
7319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7320 # for backward compatibility:
7321 ac_top_builddir=$ac_top_build_prefix
7322
7323 case $srcdir in
7324 .) # We are building in place.
7325 ac_srcdir=.
7326 ac_top_srcdir=$ac_top_builddir_sub
7327 ac_abs_top_srcdir=$ac_pwd ;;
7328 [\\/]* | ?:[\\/]* ) # Absolute name.
7329 ac_srcdir=$srcdir$ac_dir_suffix;
7330 ac_top_srcdir=$srcdir
7331 ac_abs_top_srcdir=$srcdir ;;
7332 *) # Relative name.
7333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7334 ac_top_srcdir=$ac_top_build_prefix$srcdir
7335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7336 esac
7337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7338
7339
7340 case $ac_mode in
7341 :F)
7342 #
7343 # CONFIG_FILE
7344 #
7345
7346 case $INSTALL in
7347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7348 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7349 esac
7350 ac_MKDIR_P=$MKDIR_P
7351 case $MKDIR_P in
7352 [\\/$]* | ?:[\\/]* ) ;;
7353 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7354 esac
7355 _ACEOF
7356
7357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7358 # If the template does not know about datarootdir, expand it.
7359 # FIXME: This hack should be removed a few years after 2.60.
7360 ac_datarootdir_hack=; ac_datarootdir_seen=
7361 ac_sed_dataroot='
7362 /datarootdir/ {
7363 p
7364 q
7365 }
7366 /@datadir@/p
7367 /@docdir@/p
7368 /@infodir@/p
7369 /@localedir@/p
7370 /@mandir@/p'
7371 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7372 *datarootdir*) ac_datarootdir_seen=yes;;
7373 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7375 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7376 _ACEOF
7377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7378 ac_datarootdir_hack='
7379 s&@datadir@&$datadir&g
7380 s&@docdir@&$docdir&g
7381 s&@infodir@&$infodir&g
7382 s&@localedir@&$localedir&g
7383 s&@mandir@&$mandir&g
7384 s&\\\${datarootdir}&$datarootdir&g' ;;
7385 esac
7386 _ACEOF
7387
7388 # Neutralize VPATH when `$srcdir' = `.'.
7389 # Shell code in configure.ac might set extrasub.
7390 # FIXME: do we really want to maintain this feature?
7391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7392 ac_sed_extra="$ac_vpsub
7393 $extrasub
7394 _ACEOF
7395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7396 :t
7397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7398 s|@configure_input@|$ac_sed_conf_input|;t t
7399 s&@top_builddir@&$ac_top_builddir_sub&;t t
7400 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7401 s&@srcdir@&$ac_srcdir&;t t
7402 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7403 s&@top_srcdir@&$ac_top_srcdir&;t t
7404 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7405 s&@builddir@&$ac_builddir&;t t
7406 s&@abs_builddir@&$ac_abs_builddir&;t t
7407 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7408 s&@INSTALL@&$ac_INSTALL&;t t
7409 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7410 $ac_datarootdir_hack
7411 "
7412 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7413 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7414
7415 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7416 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7417 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7418 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7420 which seems to be undefined. Please make sure it is defined" >&5
7421 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7422 which seems to be undefined. Please make sure it is defined" >&2;}
7423
7424 rm -f "$ac_tmp/stdin"
7425 case $ac_file in
7426 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7427 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7428 esac \
7429 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7430 ;;
7431 :H)
7432 #
7433 # CONFIG_HEADER
7434 #
7435 if test x"$ac_file" != x-; then
7436 {
7437 $as_echo "/* $configure_input */" \
7438 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7439 } >"$ac_tmp/config.h" \
7440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7441 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7443 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7444 else
7445 rm -f "$ac_file"
7446 mv "$ac_tmp/config.h" "$ac_file" \
7447 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7448 fi
7449 else
7450 $as_echo "/* $configure_input */" \
7451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7452 || as_fn_error $? "could not create -" "$LINENO" 5
7453 fi
7454 # Compute "$ac_file"'s index in $config_headers.
7455 _am_arg="$ac_file"
7456 _am_stamp_count=1
7457 for _am_header in $config_headers :; do
7458 case $_am_header in
7459 $_am_arg | $_am_arg:* )
7460 break ;;
7461 * )
7462 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7463 esac
7464 done
7465 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7466 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7467 X"$_am_arg" : 'X\(//\)[^/]' \| \
7468 X"$_am_arg" : 'X\(//\)$' \| \
7469 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7470 $as_echo X"$_am_arg" |
7471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7472 s//\1/
7473 q
7474 }
7475 /^X\(\/\/\)[^/].*/{
7476 s//\1/
7477 q
7478 }
7479 /^X\(\/\/\)$/{
7480 s//\1/
7481 q
7482 }
7483 /^X\(\/\).*/{
7484 s//\1/
7485 q
7486 }
7487 s/.*/./; q'`/stamp-h$_am_stamp_count
7488 ;;
7489
7490 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7491 $as_echo "$as_me: executing $ac_file commands" >&6;}
7492 ;;
7493 esac
7494
7495
7496 case $ac_file$ac_mode in
7497 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7498 # Older Autoconf quotes --file arguments for eval, but not when files
7499 # are listed without --file. Let's play safe and only enable the eval
7500 # if we detect the quoting.
7501 # TODO: see whether this extra hack can be removed once we start
7502 # requiring Autoconf 2.70 or later.
7503 case $CONFIG_FILES in #(
7504 *\'*) :
7505 eval set x "$CONFIG_FILES" ;; #(
7506 *) :
7507 set x $CONFIG_FILES ;; #(
7508 *) :
7509 ;;
7510 esac
7511 shift
7512 # Used to flag and report bootstrapping failures.
7513 am_rc=0
7514 for am_mf
7515 do
7516 # Strip MF so we end up with the name of the file.
7517 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7518 # Check whether this is an Automake generated Makefile which includes
7519 # dependency-tracking related rules and includes.
7520 # Grep'ing the whole file directly is not great: AIX grep has a line
7521 # limit of 2048, but all sed's we know have understand at least 4000.
7522 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7523 || continue
7524 am_dirpart=`$as_dirname -- "$am_mf" ||
7525 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7526 X"$am_mf" : 'X\(//\)[^/]' \| \
7527 X"$am_mf" : 'X\(//\)$' \| \
7528 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7529 $as_echo X"$am_mf" |
7530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7531 s//\1/
7532 q
7533 }
7534 /^X\(\/\/\)[^/].*/{
7535 s//\1/
7536 q
7537 }
7538 /^X\(\/\/\)$/{
7539 s//\1/
7540 q
7541 }
7542 /^X\(\/\).*/{
7543 s//\1/
7544 q
7545 }
7546 s/.*/./; q'`
7547 am_filepart=`$as_basename -- "$am_mf" ||
7548 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7549 X"$am_mf" : 'X\(//\)$' \| \
7550 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7551 $as_echo X/"$am_mf" |
7552 sed '/^.*\/\([^/][^/]*\)\/*$/{
7553 s//\1/
7554 q
7555 }
7556 /^X\/\(\/\/\)$/{
7557 s//\1/
7558 q
7559 }
7560 /^X\/\(\/\).*/{
7561 s//\1/
7562 q
7563 }
7564 s/.*/./; q'`
7565 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7566 && sed -e '/# am--include-marker/d' "$am_filepart" \
7567 | $MAKE -f - am--depfiles" >&5
7568 (cd "$am_dirpart" \
7569 && sed -e '/# am--include-marker/d' "$am_filepart" \
7570 | $MAKE -f - am--depfiles) >&5 2>&5
7571 ac_status=$?
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } || am_rc=$?
7574 done
7575 if test $am_rc -ne 0; then
7576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7578 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7579 for automatic dependency tracking. Try re-running configure with the
7580 '--disable-dependency-tracking' option to at least be able to build
7581 the package (albeit without support for automatic dependency tracking).
7582 See \`config.log' for more details" "$LINENO" 5; }
7583 fi
7584 { am_dirpart=; unset am_dirpart;}
7585 { am_filepart=; unset am_filepart;}
7586 { am_mf=; unset am_mf;}
7587 { am_rc=; unset am_rc;}
7588 rm -f conftest-deps.mk
7589 }
7590 ;;
7591 "stamp-h":C) date > stamp-h ;;
7592
7593 esac
7594 done # for ac_tag
7595
7596
7597 as_fn_exit 0
7598 _ACEOF
7599 ac_clean_files=$ac_clean_files_save
7600
7601 test $ac_write_fail = 0 ||
7602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7603
7604
7605 # configure is writing to config.log, and then calls config.status.
7606 # config.status does its own redirection, appending to config.log.
7607 # Unfortunately, on DOS this fails, as config.log is still kept open
7608 # by configure, so config.status won't be able to write to it; its
7609 # output is simply discarded. So we exec the FD to /dev/null,
7610 # effectively closing config.log, so it can be properly (re)opened and
7611 # appended to by config.status. When coming back to configure, we
7612 # need to make the FD available again.
7613 if test "$no_create" != yes; then
7614 ac_cs_success=:
7615 ac_config_status_args=
7616 test "$silent" = yes &&
7617 ac_config_status_args="$ac_config_status_args --quiet"
7618 exec 5>/dev/null
7619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7620 exec 5>>config.log
7621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7622 # would make configure fail if this is the last instruction.
7623 $ac_cs_success || as_fn_exit 1
7624 fi
7625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7628 fi
7629