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