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