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