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