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