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