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