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