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