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