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