Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.43
1.14 noro 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.43 ! ohara 3: # Generated by GNU Autoconf 2.62.
1.14 noro 4: #
1.37 ohara 5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.43 ! ohara 6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.14 noro 7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
9: ## --------------------- ##
10: ## M4sh Initialization. ##
11: ## --------------------- ##
12:
1.37 ohara 13: # Be more Bourne compatible
14: DUALCASE=1; export DUALCASE # for MKS sh
1.14 noro 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16: emulate sh
17: NULLCMD=:
1.43 ! ohara 18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.32 noro 19: # is contrary to our usage. Disable this feature.
20: alias -g '${1+"$@"}'='"$@"'
1.37 ohara 21: setopt NO_GLOB_SUBST
22: else
23: case `(set -o) 2>/dev/null` in
24: *posix*) set -o posix ;;
25: esac
26:
27: fi
28:
29:
30:
31:
32: # PATH needs CR
33: # Avoid depending upon Character Ranges.
34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37: as_cr_digits='0123456789'
38: as_cr_alnum=$as_cr_Letters$as_cr_digits
39:
1.43 ! ohara 40: as_nl='
! 41: '
! 42: export as_nl
! 43: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 44: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 46: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 47: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 48: as_echo='printf %s\n'
! 49: as_echo_n='printf %s'
! 50: else
! 51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 53: as_echo_n='/usr/ucb/echo -n'
! 54: else
! 55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 56: as_echo_n_body='eval
! 57: arg=$1;
! 58: case $arg in
! 59: *"$as_nl"*)
! 60: expr "X$arg" : "X\\(.*\\)$as_nl";
! 61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 62: esac;
! 63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 64: '
! 65: export as_echo_n_body
! 66: as_echo_n='sh -c $as_echo_n_body as_echo'
! 67: fi
! 68: export as_echo_body
! 69: as_echo='sh -c $as_echo_body as_echo'
! 70: fi
! 71:
1.37 ohara 72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
1.43 ! ohara 74: PATH_SEPARATOR=:
! 75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 77: PATH_SEPARATOR=';'
! 78: }
1.14 noro 79: fi
80:
81: # Support unset when possible.
1.32 noro 82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.14 noro 83: as_unset=unset
84: else
85: as_unset=false
86: fi
87:
1.32 noro 88:
1.37 ohara 89: # IFS
90: # We need space, tab and new line, in precisely that order. Quoting is
91: # there to prevent editors from complaining about space-tab.
92: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93: # splitting by setting IFS to empty value.)
94: IFS=" "" $as_nl"
95:
96: # Find who we are. Look in the path if we contain no directory separator.
97: case $0 in
98: *[\\/]* ) as_myself=$0 ;;
99: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100: for as_dir in $PATH
101: do
102: IFS=$as_save_IFS
103: test -z "$as_dir" && as_dir=.
104: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105: done
106: IFS=$as_save_IFS
107:
108: ;;
109: esac
110: # We did not find ourselves, most probably we were run as `sh COMMAND'
111: # in which case we are not to be found in the path.
112: if test "x$as_myself" = x; then
113: as_myself=$0
114: fi
115: if test ! -f "$as_myself"; then
1.43 ! ohara 116: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.37 ohara 117: { (exit 1); exit 1; }
118: fi
119:
1.32 noro 120: # Work around bugs in pre-3.0 UWIN ksh.
1.37 ohara 121: for as_var in ENV MAIL MAILPATH
122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123: done
1.32 noro 124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
1.43 ! ohara 129: LC_ALL=C
! 130: export LC_ALL
! 131: LANGUAGE=C
! 132: export LANGUAGE
1.32 noro 133:
134: # Required to use basename.
1.37 ohara 135: if expr a : '\(a\)' >/dev/null 2>&1 &&
136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.32 noro 137: as_expr=expr
138: else
139: as_expr=false
140: fi
141:
1.37 ohara 142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.32 noro 143: as_basename=basename
144: else
145: as_basename=false
146: fi
1.14 noro 147:
148:
149: # Name of the executable.
1.37 ohara 150: as_me=`$as_basename -- "$0" ||
1.14 noro 151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152: X"$0" : 'X\(//\)$' \| \
1.37 ohara 153: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 154: $as_echo X/"$0" |
1.37 ohara 155: sed '/^.*\/\([^/][^/]*\)\/*$/{
156: s//\1/
157: q
158: }
159: /^X\/\(\/\/\)$/{
160: s//\1/
161: q
162: }
163: /^X\/\(\/\).*/{
164: s//\1/
165: q
166: }
167: s/.*/./; q'`
168:
169: # CDPATH.
170: $as_unset CDPATH
171:
172:
173: if test "x$CONFIG_SHELL" = x; then
174: if (eval ":") 2>/dev/null; then
175: as_have_required=yes
176: else
177: as_have_required=no
178: fi
179:
1.43 ! ohara 180: if test $as_have_required = yes && (eval ":
1.37 ohara 181: (as_func_return () {
182: (exit \$1)
183: }
184: as_func_success () {
185: as_func_return 0
186: }
187: as_func_failure () {
188: as_func_return 1
189: }
190: as_func_ret_success () {
191: return 0
192: }
193: as_func_ret_failure () {
194: return 1
195: }
1.14 noro 196:
1.37 ohara 197: exitcode=0
198: if as_func_success; then
199: :
200: else
201: exitcode=1
202: echo as_func_success failed.
203: fi
204:
205: if as_func_failure; then
206: exitcode=1
207: echo as_func_failure succeeded.
208: fi
1.32 noro 209:
1.37 ohara 210: if as_func_ret_success; then
211: :
212: else
213: exitcode=1
214: echo as_func_ret_success failed.
215: fi
1.14 noro 216:
1.37 ohara 217: if as_func_ret_failure; then
218: exitcode=1
219: echo as_func_ret_failure succeeded.
1.14 noro 220: fi
221:
1.37 ohara 222: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223: :
224: else
225: exitcode=1
226: echo positional parameters were not saved.
227: fi
1.14 noro 228:
1.37 ohara 229: test \$exitcode = 0) || { (exit 1); exit 1; }
1.14 noro 230:
1.37 ohara 231: (
232: as_lineno_1=\$LINENO
233: as_lineno_2=\$LINENO
234: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236: ") 2> /dev/null; then
237: :
238: else
239: as_candidate_shells=
1.14 noro 240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242: do
243: IFS=$as_save_IFS
244: test -z "$as_dir" && as_dir=.
1.37 ohara 245: case $as_dir in
1.14 noro 246: /*)
1.37 ohara 247: for as_base in sh bash ksh sh5; do
248: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249: done;;
250: esac
251: done
252: IFS=$as_save_IFS
253:
254:
255: for as_shell in $as_candidate_shells $SHELL; do
256: # Try only shells that exist, to save several forks.
257: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258: { ("$as_shell") 2> /dev/null <<\_ASEOF
259: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260: emulate sh
261: NULLCMD=:
1.43 ! ohara 262: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.37 ohara 263: # is contrary to our usage. Disable this feature.
264: alias -g '${1+"$@"}'='"$@"'
265: setopt NO_GLOB_SUBST
266: else
267: case `(set -o) 2>/dev/null` in
268: *posix*) set -o posix ;;
269: esac
270:
271: fi
272:
273:
274: :
275: _ASEOF
276: }; then
277: CONFIG_SHELL=$as_shell
278: as_have_required=yes
279: if { "$as_shell" 2> /dev/null <<\_ASEOF
280: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281: emulate sh
282: NULLCMD=:
1.43 ! ohara 283: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.37 ohara 284: # is contrary to our usage. Disable this feature.
285: alias -g '${1+"$@"}'='"$@"'
286: setopt NO_GLOB_SUBST
287: else
288: case `(set -o) 2>/dev/null` in
289: *posix*) set -o posix ;;
290: esac
291:
292: fi
293:
294:
295: :
296: (as_func_return () {
297: (exit $1)
298: }
299: as_func_success () {
300: as_func_return 0
301: }
302: as_func_failure () {
303: as_func_return 1
304: }
305: as_func_ret_success () {
306: return 0
307: }
308: as_func_ret_failure () {
309: return 1
310: }
311:
312: exitcode=0
313: if as_func_success; then
314: :
315: else
316: exitcode=1
317: echo as_func_success failed.
318: fi
319:
320: if as_func_failure; then
321: exitcode=1
322: echo as_func_failure succeeded.
323: fi
324:
325: if as_func_ret_success; then
326: :
327: else
328: exitcode=1
329: echo as_func_ret_success failed.
330: fi
331:
332: if as_func_ret_failure; then
333: exitcode=1
334: echo as_func_ret_failure succeeded.
335: fi
336:
337: if ( set x; as_func_ret_success y && test x = "$1" ); then
338: :
339: else
340: exitcode=1
341: echo positional parameters were not saved.
342: fi
343:
344: test $exitcode = 0) || { (exit 1); exit 1; }
345:
346: (
347: as_lineno_1=$LINENO
348: as_lineno_2=$LINENO
349: test "x$as_lineno_1" != "x$as_lineno_2" &&
350: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351:
352: _ASEOF
353: }; then
354: break
355: fi
356:
357: fi
358:
359: done
360:
361: if test "x$CONFIG_SHELL" != x; then
362: for as_var in BASH_ENV ENV
1.43 ! ohara 363: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 364: done
! 365: export CONFIG_SHELL
! 366: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1.37 ohara 367: fi
368:
369:
370: if test $as_have_required = no; then
371: echo This script requires a shell more modern than all the
372: echo shells that I found on your system. Please install a
373: echo modern shell, or manually run the script under such a
374: echo shell if you do have one.
375: { (exit 1); exit 1; }
376: fi
377:
378:
379: fi
380:
381: fi
382:
383:
384:
385: (eval "as_func_return () {
386: (exit \$1)
387: }
388: as_func_success () {
389: as_func_return 0
390: }
391: as_func_failure () {
392: as_func_return 1
393: }
394: as_func_ret_success () {
395: return 0
396: }
397: as_func_ret_failure () {
398: return 1
399: }
400:
401: exitcode=0
402: if as_func_success; then
403: :
404: else
405: exitcode=1
406: echo as_func_success failed.
407: fi
408:
409: if as_func_failure; then
410: exitcode=1
411: echo as_func_failure succeeded.
412: fi
413:
414: if as_func_ret_success; then
415: :
416: else
417: exitcode=1
418: echo as_func_ret_success failed.
419: fi
420:
421: if as_func_ret_failure; then
422: exitcode=1
423: echo as_func_ret_failure succeeded.
424: fi
425:
426: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427: :
428: else
429: exitcode=1
430: echo positional parameters were not saved.
431: fi
432:
433: test \$exitcode = 0") || {
434: echo No shell found that supports shell functions.
1.43 ! ohara 435: echo Please tell bug-autoconf@gnu.org about your system,
! 436: echo including any error possibly output before this message.
! 437: echo This can help us improve future autoconf versions.
! 438: echo Configuration will now proceed without shell functions.
1.37 ohara 439: }
440:
441:
442:
1.14 noro 443: as_lineno_1=$LINENO
444: as_lineno_2=$LINENO
445: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.37 ohara 446: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.14 noro 447:
448: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449: # uniformly replaced by the line number. The first 'sed' inserts a
1.37 ohara 450: # line-number line after each line using $LINENO; the second 'sed'
451: # does the real work. The second script uses 'N' to pair each
452: # line-number line with the line containing $LINENO, and appends
453: # trailing '-' during substitution so that $LINENO is not a special
454: # case at line end.
1.14 noro 455: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.37 ohara 456: # scripts with optimization help from Paolo Bonzini. Blame Lee
457: # E. McMahon (1931-1989) for sed's syntax. :-)
458: sed -n '
459: p
460: /[$]LINENO/=
461: ' <$as_myself |
1.14 noro 462: sed '
1.37 ohara 463: s/[$]LINENO.*/&-/
464: t lineno
465: b
466: :lineno
1.14 noro 467: N
1.37 ohara 468: :loop
469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.14 noro 470: t loop
1.37 ohara 471: s/-\n.*//
1.14 noro 472: ' >$as_me.lineno &&
1.37 ohara 473: chmod +x "$as_me.lineno" ||
1.43 ! ohara 474: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.14 noro 475: { (exit 1); exit 1; }; }
476:
477: # Don't try to exec as it changes $[0], causing all sort of problems
478: # (the dirname of $[0] is not the place where we might find the
1.37 ohara 479: # original and so on. Autoconf is especially sensitive to this).
480: . "./$as_me.lineno"
1.14 noro 481: # Exit status is that of the last command.
482: exit
483: }
484:
485:
1.37 ohara 486: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487: as_dirname=dirname
488: else
489: as_dirname=false
490: fi
491:
492: ECHO_C= ECHO_N= ECHO_T=
493: case `echo -n x` in
494: -n*)
495: case `echo 'x\c'` in
496: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497: *) ECHO_C='\c';;
498: esac;;
499: *)
500: ECHO_N='-n';;
1.14 noro 501: esac
1.37 ohara 502: if expr a : '\(a\)' >/dev/null 2>&1 &&
503: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.14 noro 504: as_expr=expr
505: else
506: as_expr=false
507: fi
508:
509: rm -f conf$$ conf$$.exe conf$$.file
1.37 ohara 510: if test -d conf$$.dir; then
511: rm -f conf$$.dir/conf$$.file
512: else
513: rm -f conf$$.dir
1.43 ! ohara 514: mkdir conf$$.dir 2>/dev/null
1.37 ohara 515: fi
1.43 ! ohara 516: if (echo >conf$$.file) 2>/dev/null; then
! 517: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 518: as_ln_s='ln -s'
! 519: # ... but there are two gotchas:
! 520: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 521: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 522: # In both cases, we have to default to `cp -p'.
! 523: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 524: as_ln_s='cp -p'
! 525: elif ln conf$$.file conf$$ 2>/dev/null; then
! 526: as_ln_s=ln
! 527: else
1.14 noro 528: as_ln_s='cp -p'
1.43 ! ohara 529: fi
1.14 noro 530: else
531: as_ln_s='cp -p'
532: fi
1.37 ohara 533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534: rmdir conf$$.dir 2>/dev/null
1.14 noro 535:
1.32 noro 536: if mkdir -p . 2>/dev/null; then
537: as_mkdir_p=:
538: else
539: test -d ./-p && rmdir ./-p
540: as_mkdir_p=false
541: fi
542:
1.37 ohara 543: if test -x / >/dev/null 2>&1; then
544: as_test_x='test -x'
545: else
546: if ls -dL / >/dev/null 2>&1; then
547: as_ls_L_option=L
548: else
549: as_ls_L_option=
550: fi
551: as_test_x='
552: eval sh -c '\''
553: if test -d "$1"; then
1.43 ! ohara 554: test -d "$1/.";
1.37 ohara 555: else
556: case $1 in
1.43 ! ohara 557: -*)set "./$1";;
1.37 ohara 558: esac;
559: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560: ???[sx]*):;;*)false;;esac;fi
561: '\'' sh
562: '
563: fi
564: as_executable_p=$as_test_x
1.14 noro 565:
566: # Sed expression to map a string onto a valid CPP name.
1.32 noro 567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.14 noro 568:
569: # Sed expression to map a string onto a valid variable name.
1.32 noro 570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.14 noro 571:
572:
573:
1.37 ohara 574: exec 7<&0 </dev/null 6>&1
1.14 noro 575:
576: # Name of the host.
577: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578: # so uname gets run too.
579: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580:
581: #
582: # Initializations.
583: #
584: ac_default_prefix=/usr/local
1.37 ohara 585: ac_clean_files=
1.32 noro 586: ac_config_libobj_dir=.
1.37 ohara 587: LIBOBJS=
1.14 noro 588: cross_compiling=no
589: subdirs=
590: MFLAGS=
591: MAKEFLAGS=
592: SHELL=${CONFIG_SHELL-/bin/sh}
593:
594: # Identity of this package.
595: PACKAGE_NAME=
596: PACKAGE_TARNAME=
597: PACKAGE_VERSION=
598: PACKAGE_STRING=
599: PACKAGE_BUGREPORT=
600:
601: ac_unique_file="LICENSE"
602: # Factoring default headers for most tests.
603: ac_includes_default="\
604: #include <stdio.h>
1.37 ohara 605: #ifdef HAVE_SYS_TYPES_H
1.14 noro 606: # include <sys/types.h>
607: #endif
1.37 ohara 608: #ifdef HAVE_SYS_STAT_H
1.14 noro 609: # include <sys/stat.h>
610: #endif
1.37 ohara 611: #ifdef STDC_HEADERS
1.14 noro 612: # include <stdlib.h>
613: # include <stddef.h>
614: #else
1.37 ohara 615: # ifdef HAVE_STDLIB_H
1.14 noro 616: # include <stdlib.h>
617: # endif
618: #endif
1.37 ohara 619: #ifdef HAVE_STRING_H
620: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.14 noro 621: # include <memory.h>
622: # endif
623: # include <string.h>
624: #endif
1.37 ohara 625: #ifdef HAVE_STRINGS_H
1.14 noro 626: # include <strings.h>
627: #endif
1.37 ohara 628: #ifdef HAVE_INTTYPES_H
1.14 noro 629: # include <inttypes.h>
630: #endif
1.37 ohara 631: #ifdef HAVE_STDINT_H
632: # include <stdint.h>
633: #endif
634: #ifdef HAVE_UNISTD_H
1.14 noro 635: # include <unistd.h>
636: #endif"
637:
1.37 ohara 638: ac_subst_vars='SHELL
639: PATH_SEPARATOR
640: PACKAGE_NAME
641: PACKAGE_TARNAME
642: PACKAGE_VERSION
643: PACKAGE_STRING
644: PACKAGE_BUGREPORT
645: exec_prefix
646: prefix
647: program_transform_name
648: bindir
649: sbindir
650: libexecdir
651: datarootdir
652: datadir
653: sysconfdir
654: sharedstatedir
655: localstatedir
656: includedir
657: oldincludedir
658: docdir
659: infodir
660: htmldir
661: dvidir
662: pdfdir
663: psdir
664: libdir
665: localedir
666: mandir
667: DEFS
668: ECHO_C
669: ECHO_N
670: ECHO_T
671: LIBS
672: build_alias
673: host_alias
674: target_alias
675: build
676: build_cpu
677: build_vendor
678: build_os
679: host
680: host_cpu
681: host_vendor
682: host_os
683: target
684: target_cpu
685: target_vendor
686: target_os
687: INSTALL_PROGRAM
688: INSTALL_SCRIPT
689: INSTALL_DATA
690: am__isrc
691: CYGPATH_W
692: PACKAGE
693: VERSION
694: ACLOCAL
695: AUTOCONF
696: AUTOMAKE
697: AUTOHEADER
698: MAKEINFO
699: install_sh
700: STRIP
701: INSTALL_STRIP_PROGRAM
1.43 ! ohara 702: MKDIR_P
1.37 ohara 703: mkdir_p
704: AWK
705: SET_MAKE
706: am__leading_dot
707: AMTAR
708: am__tar
709: am__untar
710: MAINTAINER_MODE_TRUE
711: MAINTAINER_MODE_FALSE
712: MAINT
713: CC
714: CFLAGS
715: LDFLAGS
716: CPPFLAGS
717: ac_ct_CC
718: EXEEXT
719: OBJEXT
720: DEPDIR
721: am__include
722: am__quote
723: AMDEP_TRUE
724: AMDEP_FALSE
725: AMDEPBACKSLASH
726: CCDEPMODE
727: am__fastdepCC_TRUE
728: am__fastdepCC_FALSE
729: LN_S
730: RANLIB
731: YACC
732: YFLAGS
733: XMKMF
734: CPP
735: X_CFLAGS
736: X_PRE_LIBS
737: X_LIBS
738: X_EXTRA_LIBS
1.43 ! ohara 739: ASIR_GCLIB
! 740: GCLIB
! 741: GCINC
1.37 ohara 742: GC
743: GC_CONFIGURE_ARGS
1.38 ohara 744: USE_GC7_TRUE
745: USE_GC7_FALSE
1.37 ohara 746: GC_DISTDIR
747: PARIINC
748: PARILIB
749: GREP
750: EGREP
751: XPMLIB
752: USE_PLOT_TRUE
753: USE_PLOT_FALSE
754: FEPLIB
755: MPIINC
756: MPILIB
757: LAPACKLIB
758: libasir_postfix
759: USE_GC_SPARC64
760: asm_obj
761: LIBOBJS
762: LTLIBOBJS'
1.32 noro 763: ac_subst_files=''
1.43 ! ohara 764: ac_user_opts='
! 765: enable_option_checking
! 766: enable_maintainer_mode
! 767: enable_dependency_tracking
! 768: with_x
! 769: enable_shared
! 770: with_asir_gc
! 771: with_gc7
! 772: with_distdir
! 773: with_pari
! 774: enable_plot
! 775: enable_interval
! 776: enable_fft_float
! 777: '
1.37 ohara 778: ac_precious_vars='build_alias
779: host_alias
780: target_alias
781: CC
782: CFLAGS
783: LDFLAGS
784: LIBS
785: CPPFLAGS
786: YACC
787: YFLAGS
788: XMKMF
789: CPP'
790:
1.14 noro 791:
792: # Initialize some variables set by options.
793: ac_init_help=
794: ac_init_version=false
1.43 ! ohara 795: ac_unrecognized_opts=
! 796: ac_unrecognized_sep=
1.14 noro 797: # The variables have the same names as the options, with
798: # dashes changed to underlines.
799: cache_file=/dev/null
800: exec_prefix=NONE
801: no_create=
802: no_recursion=
803: prefix=NONE
804: program_prefix=NONE
805: program_suffix=NONE
806: program_transform_name=s,x,x,
807: silent=
808: site=
809: srcdir=
810: verbose=
811: x_includes=NONE
812: x_libraries=NONE
813:
814: # Installation directory options.
815: # These are left unexpanded so users can "make install exec_prefix=/foo"
816: # and all the variables that are supposed to be based on exec_prefix
817: # by default will actually change.
818: # Use braces instead of parens because sh, perl, etc. also accept them.
1.37 ohara 819: # (The list follows the same order as the GNU Coding Standards.)
1.14 noro 820: bindir='${exec_prefix}/bin'
821: sbindir='${exec_prefix}/sbin'
822: libexecdir='${exec_prefix}/libexec'
1.37 ohara 823: datarootdir='${prefix}/share'
824: datadir='${datarootdir}'
1.14 noro 825: sysconfdir='${prefix}/etc'
826: sharedstatedir='${prefix}/com'
827: localstatedir='${prefix}/var'
828: includedir='${prefix}/include'
829: oldincludedir='/usr/include'
1.37 ohara 830: docdir='${datarootdir}/doc/${PACKAGE}'
831: infodir='${datarootdir}/info'
832: htmldir='${docdir}'
833: dvidir='${docdir}'
834: pdfdir='${docdir}'
835: psdir='${docdir}'
836: libdir='${exec_prefix}/lib'
837: localedir='${datarootdir}/locale'
838: mandir='${datarootdir}/man'
1.14 noro 839:
840: ac_prev=
1.37 ohara 841: ac_dashdash=
1.14 noro 842: for ac_option
843: do
844: # If the previous option needs an argument, assign it.
845: if test -n "$ac_prev"; then
1.37 ohara 846: eval $ac_prev=\$ac_option
1.14 noro 847: ac_prev=
848: continue
849: fi
850:
1.37 ohara 851: case $ac_option in
852: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853: *) ac_optarg=yes ;;
854: esac
1.14 noro 855:
856: # Accept the important Cygnus configure options, so we can diagnose typos.
857:
1.37 ohara 858: case $ac_dashdash$ac_option in
859: --)
860: ac_dashdash=yes ;;
1.14 noro 861:
862: -bindir | --bindir | --bindi | --bind | --bin | --bi)
863: ac_prev=bindir ;;
864: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865: bindir=$ac_optarg ;;
866:
867: -build | --build | --buil | --bui | --bu)
868: ac_prev=build_alias ;;
869: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870: build_alias=$ac_optarg ;;
871:
872: -cache-file | --cache-file | --cache-fil | --cache-fi \
873: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874: ac_prev=cache_file ;;
875: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877: cache_file=$ac_optarg ;;
878:
879: --config-cache | -C)
880: cache_file=config.cache ;;
881:
1.37 ohara 882: -datadir | --datadir | --datadi | --datad)
1.14 noro 883: ac_prev=datadir ;;
1.37 ohara 884: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.14 noro 885: datadir=$ac_optarg ;;
886:
1.37 ohara 887: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888: | --dataroo | --dataro | --datar)
889: ac_prev=datarootdir ;;
890: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892: datarootdir=$ac_optarg ;;
893:
1.14 noro 894: -disable-* | --disable-*)
1.43 ! ohara 895: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.14 noro 896: # Reject names that are not valid shell variable names.
1.43 ! ohara 897: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 898: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.14 noro 899: { (exit 1); exit 1; }; }
1.43 ! ohara 900: ac_useropt_orig=$ac_useropt
! 901: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 902: case $ac_user_opts in
! 903: *"
! 904: "enable_$ac_useropt"
! 905: "*) ;;
! 906: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 907: ac_unrecognized_sep=', ';;
! 908: esac
! 909: eval enable_$ac_useropt=no ;;
1.37 ohara 910:
911: -docdir | --docdir | --docdi | --doc | --do)
912: ac_prev=docdir ;;
913: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914: docdir=$ac_optarg ;;
915:
916: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917: ac_prev=dvidir ;;
918: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919: dvidir=$ac_optarg ;;
1.14 noro 920:
921: -enable-* | --enable-*)
1.43 ! ohara 922: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.14 noro 923: # Reject names that are not valid shell variable names.
1.43 ! ohara 924: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 925: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.14 noro 926: { (exit 1); exit 1; }; }
1.43 ! ohara 927: ac_useropt_orig=$ac_useropt
! 928: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 929: case $ac_user_opts in
! 930: *"
! 931: "enable_$ac_useropt"
! 932: "*) ;;
! 933: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 934: ac_unrecognized_sep=', ';;
! 935: esac
! 936: eval enable_$ac_useropt=\$ac_optarg ;;
1.14 noro 937:
938: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
939: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
940: | --exec | --exe | --ex)
941: ac_prev=exec_prefix ;;
942: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
943: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
944: | --exec=* | --exe=* | --ex=*)
945: exec_prefix=$ac_optarg ;;
946:
947: -gas | --gas | --ga | --g)
948: # Obsolete; use --with-gas.
949: with_gas=yes ;;
950:
951: -help | --help | --hel | --he | -h)
952: ac_init_help=long ;;
953: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
954: ac_init_help=recursive ;;
955: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
956: ac_init_help=short ;;
957:
958: -host | --host | --hos | --ho)
959: ac_prev=host_alias ;;
960: -host=* | --host=* | --hos=* | --ho=*)
961: host_alias=$ac_optarg ;;
962:
1.37 ohara 963: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
964: ac_prev=htmldir ;;
965: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
966: | --ht=*)
967: htmldir=$ac_optarg ;;
968:
1.14 noro 969: -includedir | --includedir | --includedi | --included | --include \
970: | --includ | --inclu | --incl | --inc)
971: ac_prev=includedir ;;
972: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
973: | --includ=* | --inclu=* | --incl=* | --inc=*)
974: includedir=$ac_optarg ;;
975:
976: -infodir | --infodir | --infodi | --infod | --info | --inf)
977: ac_prev=infodir ;;
978: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
979: infodir=$ac_optarg ;;
980:
981: -libdir | --libdir | --libdi | --libd)
982: ac_prev=libdir ;;
983: -libdir=* | --libdir=* | --libdi=* | --libd=*)
984: libdir=$ac_optarg ;;
985:
986: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
987: | --libexe | --libex | --libe)
988: ac_prev=libexecdir ;;
989: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
990: | --libexe=* | --libex=* | --libe=*)
991: libexecdir=$ac_optarg ;;
992:
1.37 ohara 993: -localedir | --localedir | --localedi | --localed | --locale)
994: ac_prev=localedir ;;
995: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
996: localedir=$ac_optarg ;;
997:
1.14 noro 998: -localstatedir | --localstatedir | --localstatedi | --localstated \
1.37 ohara 999: | --localstate | --localstat | --localsta | --localst | --locals)
1.14 noro 1000: ac_prev=localstatedir ;;
1001: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.37 ohara 1002: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.14 noro 1003: localstatedir=$ac_optarg ;;
1004:
1005: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1006: ac_prev=mandir ;;
1007: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1008: mandir=$ac_optarg ;;
1009:
1010: -nfp | --nfp | --nf)
1011: # Obsolete; use --without-fp.
1012: with_fp=no ;;
1013:
1014: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015: | --no-cr | --no-c | -n)
1016: no_create=yes ;;
1017:
1018: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1019: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020: no_recursion=yes ;;
1021:
1022: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1023: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1024: | --oldin | --oldi | --old | --ol | --o)
1025: ac_prev=oldincludedir ;;
1026: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1027: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1028: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1029: oldincludedir=$ac_optarg ;;
1030:
1031: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1032: ac_prev=prefix ;;
1033: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1034: prefix=$ac_optarg ;;
1035:
1036: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1037: | --program-pre | --program-pr | --program-p)
1038: ac_prev=program_prefix ;;
1039: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1040: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1041: program_prefix=$ac_optarg ;;
1042:
1043: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1044: | --program-suf | --program-su | --program-s)
1045: ac_prev=program_suffix ;;
1046: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1047: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1048: program_suffix=$ac_optarg ;;
1049:
1050: -program-transform-name | --program-transform-name \
1051: | --program-transform-nam | --program-transform-na \
1052: | --program-transform-n | --program-transform- \
1053: | --program-transform | --program-transfor \
1054: | --program-transfo | --program-transf \
1055: | --program-trans | --program-tran \
1056: | --progr-tra | --program-tr | --program-t)
1057: ac_prev=program_transform_name ;;
1058: -program-transform-name=* | --program-transform-name=* \
1059: | --program-transform-nam=* | --program-transform-na=* \
1060: | --program-transform-n=* | --program-transform-=* \
1061: | --program-transform=* | --program-transfor=* \
1062: | --program-transfo=* | --program-transf=* \
1063: | --program-trans=* | --program-tran=* \
1064: | --progr-tra=* | --program-tr=* | --program-t=*)
1065: program_transform_name=$ac_optarg ;;
1066:
1.37 ohara 1067: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1068: ac_prev=pdfdir ;;
1069: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1070: pdfdir=$ac_optarg ;;
1071:
1072: -psdir | --psdir | --psdi | --psd | --ps)
1073: ac_prev=psdir ;;
1074: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075: psdir=$ac_optarg ;;
1076:
1.14 noro 1077: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078: | -silent | --silent | --silen | --sile | --sil)
1079: silent=yes ;;
1080:
1081: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1082: ac_prev=sbindir ;;
1083: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1084: | --sbi=* | --sb=*)
1085: sbindir=$ac_optarg ;;
1086:
1087: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1088: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1089: | --sharedst | --shareds | --shared | --share | --shar \
1090: | --sha | --sh)
1091: ac_prev=sharedstatedir ;;
1092: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1093: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1094: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1095: | --sha=* | --sh=*)
1096: sharedstatedir=$ac_optarg ;;
1097:
1098: -site | --site | --sit)
1099: ac_prev=site ;;
1100: -site=* | --site=* | --sit=*)
1101: site=$ac_optarg ;;
1102:
1103: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1104: ac_prev=srcdir ;;
1105: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1106: srcdir=$ac_optarg ;;
1107:
1108: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1109: | --syscon | --sysco | --sysc | --sys | --sy)
1110: ac_prev=sysconfdir ;;
1111: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1112: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1113: sysconfdir=$ac_optarg ;;
1114:
1115: -target | --target | --targe | --targ | --tar | --ta | --t)
1116: ac_prev=target_alias ;;
1117: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1118: target_alias=$ac_optarg ;;
1119:
1120: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1121: verbose=yes ;;
1122:
1123: -version | --version | --versio | --versi | --vers | -V)
1124: ac_init_version=: ;;
1125:
1126: -with-* | --with-*)
1.43 ! ohara 1127: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.14 noro 1128: # Reject names that are not valid shell variable names.
1.43 ! ohara 1129: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1130: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.14 noro 1131: { (exit 1); exit 1; }; }
1.43 ! ohara 1132: ac_useropt_orig=$ac_useropt
! 1133: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1134: case $ac_user_opts in
! 1135: *"
! 1136: "with_$ac_useropt"
! 1137: "*) ;;
! 1138: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1139: ac_unrecognized_sep=', ';;
! 1140: esac
! 1141: eval with_$ac_useropt=\$ac_optarg ;;
1.14 noro 1142:
1143: -without-* | --without-*)
1.43 ! ohara 1144: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.14 noro 1145: # Reject names that are not valid shell variable names.
1.43 ! ohara 1146: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1147: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.14 noro 1148: { (exit 1); exit 1; }; }
1.43 ! ohara 1149: ac_useropt_orig=$ac_useropt
! 1150: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1151: case $ac_user_opts in
! 1152: *"
! 1153: "with_$ac_useropt"
! 1154: "*) ;;
! 1155: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1156: ac_unrecognized_sep=', ';;
! 1157: esac
! 1158: eval with_$ac_useropt=no ;;
1.14 noro 1159:
1160: --x)
1161: # Obsolete; use --with-x.
1162: with_x=yes ;;
1163:
1164: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1165: | --x-incl | --x-inc | --x-in | --x-i)
1166: ac_prev=x_includes ;;
1167: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1168: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1169: x_includes=$ac_optarg ;;
1170:
1171: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1172: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1173: ac_prev=x_libraries ;;
1174: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1175: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1176: x_libraries=$ac_optarg ;;
1177:
1.43 ! ohara 1178: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1.14 noro 1179: Try \`$0 --help' for more information." >&2
1180: { (exit 1); exit 1; }; }
1181: ;;
1182:
1183: *=*)
1184: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185: # Reject names that are not valid shell variable names.
1186: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.43 ! ohara 1187: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.14 noro 1188: { (exit 1); exit 1; }; }
1.37 ohara 1189: eval $ac_envvar=\$ac_optarg
1.14 noro 1190: export $ac_envvar ;;
1191:
1192: *)
1193: # FIXME: should be removed in autoconf 3.0.
1.43 ! ohara 1194: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.14 noro 1195: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.43 ! ohara 1196: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.14 noro 1197: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1198: ;;
1199:
1200: esac
1201: done
1202:
1203: if test -n "$ac_prev"; then
1204: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.43 ! ohara 1205: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1.14 noro 1206: { (exit 1); exit 1; }; }
1207: fi
1208:
1.43 ! ohara 1209: if test -n "$ac_unrecognized_opts"; then
! 1210: case $enable_option_checking in
! 1211: no) ;;
! 1212: fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
! 1213: { (exit 1); exit 1; }; } ;;
! 1214: *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1215: esac
! 1216: fi
! 1217:
! 1218: # Check all directory arguments for consistency.
1.37 ohara 1219: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220: datadir sysconfdir sharedstatedir localstatedir includedir \
1221: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222: libdir localedir mandir
1.14 noro 1223: do
1.37 ohara 1224: eval ac_val=\$$ac_var
1.43 ! ohara 1225: # Remove trailing slashes.
! 1226: case $ac_val in
! 1227: */ )
! 1228: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1229: eval $ac_var=\$ac_val;;
! 1230: esac
! 1231: # Be sure to have absolute directory names.
1.14 noro 1232: case $ac_val in
1.37 ohara 1233: [\\/$]* | ?:[\\/]* ) continue;;
1234: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.14 noro 1235: esac
1.43 ! ohara 1236: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.37 ohara 1237: { (exit 1); exit 1; }; }
1.14 noro 1238: done
1239:
1240: # There might be people who depend on the old broken behavior: `$host'
1241: # used to hold the argument of --host etc.
1242: # FIXME: To remove some day.
1243: build=$build_alias
1244: host=$host_alias
1245: target=$target_alias
1246:
1247: # FIXME: To remove some day.
1248: if test "x$host_alias" != x; then
1249: if test "x$build_alias" = x; then
1250: cross_compiling=maybe
1.43 ! ohara 1251: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.14 noro 1252: If a cross compiler is detected then cross compile mode will be used." >&2
1253: elif test "x$build_alias" != "x$host_alias"; then
1254: cross_compiling=yes
1255: fi
1256: fi
1257:
1258: ac_tool_prefix=
1259: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1260:
1261: test "$silent" = yes && exec 6>/dev/null
1262:
1263:
1.37 ohara 1264: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1265: ac_ls_di=`ls -di .` &&
1266: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.43 ! ohara 1267: { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1.37 ohara 1268: { (exit 1); exit 1; }; }
1269: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.43 ! ohara 1270: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1.37 ohara 1271: { (exit 1); exit 1; }; }
1272:
1273:
1.14 noro 1274: # Find the source files, if location was not specified.
1275: if test -z "$srcdir"; then
1276: ac_srcdir_defaulted=yes
1.37 ohara 1277: # Try the directory containing this script, then the parent directory.
1.43 ! ohara 1278: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1279: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1280: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1281: X"$as_myself" : 'X\(//\)$' \| \
! 1282: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1283: $as_echo X"$as_myself" |
1.37 ohara 1284: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285: s//\1/
1286: q
1287: }
1288: /^X\(\/\/\)[^/].*/{
1289: s//\1/
1290: q
1291: }
1292: /^X\(\/\/\)$/{
1293: s//\1/
1294: q
1295: }
1296: /^X\(\/\).*/{
1297: s//\1/
1298: q
1299: }
1300: s/.*/./; q'`
1.14 noro 1301: srcdir=$ac_confdir
1.37 ohara 1302: if test ! -r "$srcdir/$ac_unique_file"; then
1.14 noro 1303: srcdir=..
1304: fi
1305: else
1306: ac_srcdir_defaulted=no
1307: fi
1.37 ohara 1308: if test ! -r "$srcdir/$ac_unique_file"; then
1309: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.43 ! ohara 1310: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.14 noro 1311: { (exit 1); exit 1; }; }
1312: fi
1.37 ohara 1313: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314: ac_abs_confdir=`(
1.43 ! ohara 1315: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1.32 noro 1316: { (exit 1); exit 1; }; }
1.37 ohara 1317: pwd)`
1318: # When building in place, set srcdir=.
1319: if test "$ac_abs_confdir" = "$ac_pwd"; then
1320: srcdir=.
1321: fi
1322: # Remove unnecessary trailing slashes from srcdir.
1323: # Double slashes in file names in object file debugging info
1324: # mess up M-x gdb in Emacs.
1325: case $srcdir in
1326: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327: esac
1328: for ac_var in $ac_precious_vars; do
1329: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330: eval ac_env_${ac_var}_value=\$${ac_var}
1331: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333: done
1.14 noro 1334:
1335: #
1336: # Report the --help message.
1337: #
1338: if test "$ac_init_help" = "long"; then
1339: # Omit some internal or obsolete options to make the list less imposing.
1340: # This message is too long to be a string in the A/UX 3.1 sh.
1341: cat <<_ACEOF
1342: \`configure' configures this package to adapt to many kinds of systems.
1343:
1344: Usage: $0 [OPTION]... [VAR=VALUE]...
1345:
1346: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347: VAR=VALUE. See below for descriptions of some of the useful variables.
1348:
1349: Defaults for the options are specified in brackets.
1350:
1351: Configuration:
1352: -h, --help display this help and exit
1353: --help=short display options specific to this package
1354: --help=recursive display the short help of all the included packages
1355: -V, --version display version information and exit
1356: -q, --quiet, --silent do not print \`checking...' messages
1357: --cache-file=FILE cache test results in FILE [disabled]
1358: -C, --config-cache alias for \`--cache-file=config.cache'
1359: -n, --no-create do not create output files
1360: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361:
1362: Installation directories:
1363: --prefix=PREFIX install architecture-independent files in PREFIX
1.43 ! ohara 1364: [$ac_default_prefix]
1.14 noro 1365: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.43 ! ohara 1366: [PREFIX]
1.14 noro 1367:
1368: By default, \`make install' will install all the files in
1369: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1370: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371: for instance \`--prefix=\$HOME'.
1372:
1373: For better control, use the options below.
1374:
1375: Fine tuning of the installation directories:
1.43 ! ohara 1376: --bindir=DIR user executables [EPREFIX/bin]
! 1377: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1378: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1379: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1380: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1381: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1382: --libdir=DIR object code libraries [EPREFIX/lib]
! 1383: --includedir=DIR C header files [PREFIX/include]
! 1384: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1385: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1386: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1387: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1388: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1389: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1390: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1391: --htmldir=DIR html documentation [DOCDIR]
! 1392: --dvidir=DIR dvi documentation [DOCDIR]
! 1393: --pdfdir=DIR pdf documentation [DOCDIR]
! 1394: --psdir=DIR ps documentation [DOCDIR]
1.14 noro 1395: _ACEOF
1396:
1397: cat <<\_ACEOF
1398:
1399: Program names:
1400: --program-prefix=PREFIX prepend PREFIX to installed program names
1401: --program-suffix=SUFFIX append SUFFIX to installed program names
1402: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1403:
1404: X features:
1405: --x-includes=DIR X include files are in DIR
1406: --x-libraries=DIR X library files are in DIR
1407:
1408: System types:
1409: --build=BUILD configure for building on BUILD [guessed]
1410: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1411: --target=TARGET configure for building compilers for TARGET [HOST]
1412: _ACEOF
1413: fi
1414:
1415: if test -n "$ac_init_help"; then
1416:
1417: cat <<\_ACEOF
1418:
1419: Optional Features:
1.43 ! ohara 1420: --disable-option-checking ignore unrecognized --enable/--with options
1.14 noro 1421: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.37 ohara 1423: --enable-maintainer-mode enable make rules and dependencies not useful
1424: (and sometimes confusing) to the casual installer
1425: --disable-dependency-tracking speeds up one-time build
1426: --enable-dependency-tracking do not reject slow dependency extractors
1.14 noro 1427: --enable-shared enable linking shared libraries. [no]
1428: --enable-plot enable plot feature. [no]
1429: --enable-interval enable interval feature. [no]
1430: --enable-fft-float enable FFT-FLOAT feature. [no]
1431:
1432: Optional Packages:
1433: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1434: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1435: --with-x use the X Window System
1.43 ! ohara 1436: --with-asir-gc modify Boehm's GC [yes]
! 1437: --with-gc7 use GC 7.x (if --with-asir-gc=yes) [no]
1.35 ohara 1438: --with-distdir specify the spool for fetching. [no]
1.14 noro 1439: --with-pari use the PARI library. [no]
1440:
1441: Some influential environment variables:
1442: CC C compiler command
1443: CFLAGS C compiler flags
1444: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1445: nonstandard directory <lib dir>
1.37 ohara 1446: LIBS libraries to pass to the linker, e.g. -l<library>
1447: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1448: you have headers in a nonstandard directory <include dir>
1449: YACC The `Yet Another C Compiler' implementation to use. Defaults to
1450: the first program found out of: `bison -y', `byacc', `yacc'.
1451: YFLAGS The list of arguments that will be passed by default to $YACC.
1452: This script will default YFLAGS to the empty string to avoid a
1453: default value of `-d' given by some make applications.
1454: XMKMF Path to xmkmf, Makefile generator for X Window System
1.14 noro 1455: CPP C preprocessor
1456:
1457: Use these variables to override the choices made by `configure' or to help
1458: it to find libraries and programs with nonstandard names/locations.
1459:
1460: _ACEOF
1.37 ohara 1461: ac_status=$?
1.14 noro 1462: fi
1463:
1464: if test "$ac_init_help" = "recursive"; then
1465: # If there are subdirs, report their specific --help.
1466: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.43 ! ohara 1467: test -d "$ac_dir" ||
! 1468: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1469: continue
1.14 noro 1470: ac_builddir=.
1471:
1.37 ohara 1472: case "$ac_dir" in
1473: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474: *)
1.43 ! ohara 1475: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.37 ohara 1476: # A ".." for each directory in $ac_dir_suffix.
1.43 ! ohara 1477: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.37 ohara 1478: case $ac_top_builddir_sub in
1479: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481: esac ;;
1482: esac
1483: ac_abs_top_builddir=$ac_pwd
1484: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485: # for backward compatibility:
1486: ac_top_builddir=$ac_top_build_prefix
1.14 noro 1487:
1488: case $srcdir in
1.37 ohara 1489: .) # We are building in place.
1.14 noro 1490: ac_srcdir=.
1.37 ohara 1491: ac_top_srcdir=$ac_top_builddir_sub
1492: ac_abs_top_srcdir=$ac_pwd ;;
1493: [\\/]* | ?:[\\/]* ) # Absolute name.
1.14 noro 1494: ac_srcdir=$srcdir$ac_dir_suffix;
1.37 ohara 1495: ac_top_srcdir=$srcdir
1496: ac_abs_top_srcdir=$srcdir ;;
1497: *) # Relative name.
1498: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499: ac_top_srcdir=$ac_top_build_prefix$srcdir
1500: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.32 noro 1501: esac
1.37 ohara 1502: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.14 noro 1503:
1.37 ohara 1504: cd "$ac_dir" || { ac_status=$?; continue; }
1505: # Check for guested configure.
1506: if test -f "$ac_srcdir/configure.gnu"; then
1507: echo &&
1508: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509: elif test -f "$ac_srcdir/configure"; then
1510: echo &&
1511: $SHELL "$ac_srcdir/configure" --help=recursive
1.14 noro 1512: else
1.43 ! ohara 1513: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.37 ohara 1514: fi || ac_status=$?
1515: cd "$ac_pwd" || { ac_status=$?; break; }
1.14 noro 1516: done
1517: fi
1518:
1.37 ohara 1519: test -n "$ac_init_help" && exit $ac_status
1.14 noro 1520: if $ac_init_version; then
1521: cat <<\_ACEOF
1.37 ohara 1522: configure
1.43 ! ohara 1523: generated by GNU Autoconf 2.62
1.14 noro 1524:
1.37 ohara 1525: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.43 ! ohara 1526: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.14 noro 1527: This configure script is free software; the Free Software Foundation
1528: gives unlimited permission to copy, distribute and modify it.
1529: _ACEOF
1.37 ohara 1530: exit
1.14 noro 1531: fi
1.37 ohara 1532: cat >config.log <<_ACEOF
1.14 noro 1533: This file contains any messages produced by compilers while
1534: running configure, to aid debugging if configure makes a mistake.
1535:
1536: It was created by $as_me, which was
1.43 ! ohara 1537: generated by GNU Autoconf 2.62. Invocation command line was
1.14 noro 1538:
1539: $ $0 $@
1540:
1541: _ACEOF
1.37 ohara 1542: exec 5>>config.log
1.14 noro 1543: {
1544: cat <<_ASUNAME
1545: ## --------- ##
1546: ## Platform. ##
1547: ## --------- ##
1548:
1549: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1550: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1551: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1552: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1553: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1554:
1555: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1556: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1557:
1558: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1559: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1560: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.37 ohara 1561: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.14 noro 1562: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1563: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1564: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1565:
1566: _ASUNAME
1567:
1568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569: for as_dir in $PATH
1570: do
1571: IFS=$as_save_IFS
1572: test -z "$as_dir" && as_dir=.
1.43 ! ohara 1573: $as_echo "PATH: $as_dir"
1.14 noro 1574: done
1.37 ohara 1575: IFS=$as_save_IFS
1.14 noro 1576:
1577: } >&5
1578:
1579: cat >&5 <<_ACEOF
1580:
1581:
1582: ## ----------- ##
1583: ## Core tests. ##
1584: ## ----------- ##
1585:
1586: _ACEOF
1587:
1588:
1589: # Keep a trace of the command line.
1590: # Strip out --no-create and --no-recursion so they do not pile up.
1.32 noro 1591: # Strip out --silent because we don't want to record it for future runs.
1.14 noro 1592: # Also quote any args containing shell meta-characters.
1.32 noro 1593: # Make two passes to allow for proper duplicate-argument suppression.
1.14 noro 1594: ac_configure_args=
1.32 noro 1595: ac_configure_args0=
1596: ac_configure_args1=
1597: ac_must_keep_next=false
1598: for ac_pass in 1 2
1.14 noro 1599: do
1.32 noro 1600: for ac_arg
1601: do
1602: case $ac_arg in
1603: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1604: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1605: | -silent | --silent | --silen | --sile | --sil)
1606: continue ;;
1.37 ohara 1607: *\'*)
1.43 ! ohara 1608: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.32 noro 1609: esac
1610: case $ac_pass in
1611: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1612: 2)
1613: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1614: if test $ac_must_keep_next = true; then
1615: ac_must_keep_next=false # Got value, back to normal.
1616: else
1617: case $ac_arg in
1618: *=* | --config-cache | -C | -disable-* | --disable-* \
1619: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1620: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1621: | -with-* | --with-* | -without-* | --without-* | --x)
1622: case "$ac_configure_args0 " in
1623: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1624: esac
1625: ;;
1626: -* ) ac_must_keep_next=true ;;
1627: esac
1628: fi
1.37 ohara 1629: ac_configure_args="$ac_configure_args '$ac_arg'"
1.32 noro 1630: ;;
1631: esac
1632: done
1.14 noro 1633: done
1.32 noro 1634: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1635: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.14 noro 1636:
1637: # When interrupted or exit'd, cleanup temporary files, and complete
1638: # config.log. We remove comments because anyway the quotes in there
1639: # would cause problems or look ugly.
1.37 ohara 1640: # WARNING: Use '\'' to represent an apostrophe within the trap.
1641: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.14 noro 1642: trap 'exit_status=$?
1643: # Save into config.log some information that might help in debugging.
1644: {
1645: echo
1.32 noro 1646:
1.14 noro 1647: cat <<\_ASBOX
1648: ## ---------------- ##
1649: ## Cache variables. ##
1650: ## ---------------- ##
1651: _ASBOX
1652: echo
1653: # The following way of writing the cache mishandles newlines in values,
1.37 ohara 1654: (
1655: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1656: eval ac_val=\$$ac_var
1657: case $ac_val in #(
1658: *${as_nl}*)
1659: case $ac_var in #(
1.43 ! ohara 1660: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1661: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.37 ohara 1662: esac
1663: case $ac_var in #(
1664: _ | IFS | as_nl) ;; #(
1.43 ! ohara 1665: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.37 ohara 1666: *) $as_unset $ac_var ;;
1667: esac ;;
1668: esac
1669: done
1.14 noro 1670: (set) 2>&1 |
1.37 ohara 1671: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1672: *${as_nl}ac_space=\ *)
1.14 noro 1673: sed -n \
1.37 ohara 1674: "s/'\''/'\''\\\\'\'''\''/g;
1675: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1676: ;; #(
1.14 noro 1677: *)
1.37 ohara 1678: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.14 noro 1679: ;;
1.37 ohara 1680: esac |
1681: sort
1682: )
1.14 noro 1683: echo
1.32 noro 1684:
1685: cat <<\_ASBOX
1686: ## ----------------- ##
1687: ## Output variables. ##
1688: ## ----------------- ##
1689: _ASBOX
1690: echo
1691: for ac_var in $ac_subst_vars
1692: do
1.37 ohara 1693: eval ac_val=\$$ac_var
1694: case $ac_val in
1.43 ! ohara 1695: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.37 ohara 1696: esac
1.43 ! ohara 1697: $as_echo "$ac_var='\''$ac_val'\''"
1.32 noro 1698: done | sort
1699: echo
1700:
1701: if test -n "$ac_subst_files"; then
1702: cat <<\_ASBOX
1.37 ohara 1703: ## ------------------- ##
1704: ## File substitutions. ##
1705: ## ------------------- ##
1.32 noro 1706: _ASBOX
1707: echo
1708: for ac_var in $ac_subst_files
1709: do
1.37 ohara 1710: eval ac_val=\$$ac_var
1711: case $ac_val in
1.43 ! ohara 1712: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.37 ohara 1713: esac
1.43 ! ohara 1714: $as_echo "$ac_var='\''$ac_val'\''"
1.32 noro 1715: done | sort
1716: echo
1717: fi
1718:
1.14 noro 1719: if test -s confdefs.h; then
1720: cat <<\_ASBOX
1721: ## ----------- ##
1722: ## confdefs.h. ##
1723: ## ----------- ##
1724: _ASBOX
1725: echo
1.37 ohara 1726: cat confdefs.h
1.14 noro 1727: echo
1728: fi
1729: test "$ac_signal" != 0 &&
1.43 ! ohara 1730: $as_echo "$as_me: caught signal $ac_signal"
! 1731: $as_echo "$as_me: exit $exit_status"
1.14 noro 1732: } >&5
1.37 ohara 1733: rm -f core *.core core.conftest.* &&
1734: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.14 noro 1735: exit $exit_status
1.37 ohara 1736: ' 0
1.14 noro 1737: for ac_signal in 1 2 13 15; do
1738: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1739: done
1740: ac_signal=0
1741:
1742: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.37 ohara 1743: rm -f -r conftest* confdefs.h
1.14 noro 1744:
1745: # Predefined preprocessor variables.
1746:
1747: cat >>confdefs.h <<_ACEOF
1748: #define PACKAGE_NAME "$PACKAGE_NAME"
1749: _ACEOF
1750:
1751:
1752: cat >>confdefs.h <<_ACEOF
1753: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1754: _ACEOF
1755:
1756:
1757: cat >>confdefs.h <<_ACEOF
1758: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1759: _ACEOF
1760:
1761:
1762: cat >>confdefs.h <<_ACEOF
1763: #define PACKAGE_STRING "$PACKAGE_STRING"
1764: _ACEOF
1765:
1766:
1767: cat >>confdefs.h <<_ACEOF
1768: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1769: _ACEOF
1770:
1771:
1772: # Let the site file select an alternate cache file if it wants to.
1.43 ! ohara 1773: # Prefer an explicitly selected file to automatically selected ones.
! 1774: ac_site_file1=NONE
! 1775: ac_site_file2=NONE
1.37 ohara 1776: if test -n "$CONFIG_SITE"; then
1.43 ! ohara 1777: ac_site_file1=$CONFIG_SITE
1.37 ohara 1778: elif test "x$prefix" != xNONE; then
1.43 ! ohara 1779: ac_site_file1=$prefix/share/config.site
! 1780: ac_site_file2=$prefix/etc/config.site
1.37 ohara 1781: else
1.43 ! ohara 1782: ac_site_file1=$ac_default_prefix/share/config.site
! 1783: ac_site_file2=$ac_default_prefix/etc/config.site
1.14 noro 1784: fi
1.43 ! ohara 1785: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.37 ohara 1786: do
1.43 ! ohara 1787: test "x$ac_site_file" = xNONE && continue
1.14 noro 1788: if test -r "$ac_site_file"; then
1.43 ! ohara 1789: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1790: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.14 noro 1791: sed 's/^/| /' "$ac_site_file" >&5
1792: . "$ac_site_file"
1793: fi
1794: done
1795:
1796: if test -r "$cache_file"; then
1797: # Some versions of bash will fail to source /dev/null (special
1798: # files actually), so we avoid doing that.
1799: if test -f "$cache_file"; then
1.43 ! ohara 1800: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1801: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.14 noro 1802: case $cache_file in
1.37 ohara 1803: [\\/]* | ?:[\\/]* ) . "$cache_file";;
1804: *) . "./$cache_file";;
1.14 noro 1805: esac
1806: fi
1807: else
1.43 ! ohara 1808: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1809: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.14 noro 1810: >$cache_file
1811: fi
1812:
1813: # Check that the precious variables saved in the cache have kept the same
1814: # value.
1815: ac_cache_corrupted=false
1.37 ohara 1816: for ac_var in $ac_precious_vars; do
1.14 noro 1817: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1818: eval ac_new_set=\$ac_env_${ac_var}_set
1.37 ohara 1819: eval ac_old_val=\$ac_cv_env_${ac_var}_value
1820: eval ac_new_val=\$ac_env_${ac_var}_value
1.14 noro 1821: case $ac_old_set,$ac_new_set in
1822: set,)
1.43 ! ohara 1823: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1824: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.14 noro 1825: ac_cache_corrupted=: ;;
1826: ,set)
1.43 ! ohara 1827: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1828: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.14 noro 1829: ac_cache_corrupted=: ;;
1830: ,);;
1831: *)
1832: if test "x$ac_old_val" != "x$ac_new_val"; then
1.43 ! ohara 1833: # differences in whitespace do not lead to failure.
! 1834: ac_old_val_w=`echo x $ac_old_val`
! 1835: ac_new_val_w=`echo x $ac_new_val`
! 1836: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1837: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1838: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1839: ac_cache_corrupted=:
! 1840: else
! 1841: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1842: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1843: eval $ac_var=\$ac_old_val
! 1844: fi
! 1845: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 1846: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1847: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 1848: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1.14 noro 1849: fi;;
1850: esac
1851: # Pass precious variables to config.status.
1852: if test "$ac_new_set" = set; then
1853: case $ac_new_val in
1.43 ! ohara 1854: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.14 noro 1855: *) ac_arg=$ac_var=$ac_new_val ;;
1856: esac
1857: case " $ac_configure_args " in
1858: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1859: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1860: esac
1861: fi
1862: done
1863: if $ac_cache_corrupted; then
1.43 ! ohara 1864: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1865: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1866: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1867: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.14 noro 1868: { (exit 1); exit 1; }; }
1869: fi
1870:
1871:
1872:
1873:
1874:
1875:
1876:
1877:
1878:
1879:
1880:
1881:
1882:
1883:
1884:
1885:
1886:
1.37 ohara 1887: ac_ext=c
1888: ac_cpp='$CPP $CPPFLAGS'
1889: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1891: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14 noro 1892:
1893:
1894:
1.32 noro 1895:
1.14 noro 1896: ac_aux_dir=
1.37 ohara 1897: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1898: if test -f "$ac_dir/install-sh"; then
1.14 noro 1899: ac_aux_dir=$ac_dir
1900: ac_install_sh="$ac_aux_dir/install-sh -c"
1901: break
1.37 ohara 1902: elif test -f "$ac_dir/install.sh"; then
1.14 noro 1903: ac_aux_dir=$ac_dir
1904: ac_install_sh="$ac_aux_dir/install.sh -c"
1905: break
1.37 ohara 1906: elif test -f "$ac_dir/shtool"; then
1.14 noro 1907: ac_aux_dir=$ac_dir
1908: ac_install_sh="$ac_aux_dir/shtool install -c"
1909: break
1910: fi
1911: done
1912: if test -z "$ac_aux_dir"; then
1.43 ! ohara 1913: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 1914: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1.37 ohara 1915: { (exit 1); exit 1; }; }
1916: fi
1917:
1918: # These three variables are undocumented and unsupported,
1919: # and are intended to be withdrawn in a future Autoconf release.
1920: # They can cause serious problems if a builder's source tree is in a directory
1921: # whose full name contains unusual characters.
1922: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1923: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1924: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1925:
1926:
1927: # Make sure we can run config.sub.
1928: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.43 ! ohara 1929: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 1930: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1.37 ohara 1931: { (exit 1); exit 1; }; }
1932:
1.43 ! ohara 1933: { $as_echo "$as_me:$LINENO: checking build system type" >&5
! 1934: $as_echo_n "checking build system type... " >&6; }
1.37 ohara 1935: if test "${ac_cv_build+set}" = set; then
1.43 ! ohara 1936: $as_echo_n "(cached) " >&6
1.37 ohara 1937: else
1938: ac_build_alias=$build_alias
1939: test "x$ac_build_alias" = x &&
1940: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1941: test "x$ac_build_alias" = x &&
1.43 ! ohara 1942: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 1943: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1.37 ohara 1944: { (exit 1); exit 1; }; }
1945: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.43 ! ohara 1946: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 1947: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1.37 ohara 1948: { (exit 1); exit 1; }; }
1949:
1950: fi
1.43 ! ohara 1951: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 1952: $as_echo "$ac_cv_build" >&6; }
1.37 ohara 1953: case $ac_cv_build in
1954: *-*-*) ;;
1.43 ! ohara 1955: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 1956: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1.37 ohara 1957: { (exit 1); exit 1; }; };;
1958: esac
1959: build=$ac_cv_build
1960: ac_save_IFS=$IFS; IFS='-'
1961: set x $ac_cv_build
1962: shift
1963: build_cpu=$1
1964: build_vendor=$2
1965: shift; shift
1966: # Remember, the first character of IFS is used to create $*,
1967: # except with old shells:
1968: build_os=$*
1969: IFS=$ac_save_IFS
1970: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1971:
1972:
1.43 ! ohara 1973: { $as_echo "$as_me:$LINENO: checking host system type" >&5
! 1974: $as_echo_n "checking host system type... " >&6; }
1.37 ohara 1975: if test "${ac_cv_host+set}" = set; then
1.43 ! ohara 1976: $as_echo_n "(cached) " >&6
1.37 ohara 1977: else
1978: if test "x$host_alias" = x; then
1979: ac_cv_host=$ac_cv_build
1980: else
1981: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.43 ! ohara 1982: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 1983: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.14 noro 1984: { (exit 1); exit 1; }; }
1985: fi
1.37 ohara 1986:
1987: fi
1.43 ! ohara 1988: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 1989: $as_echo "$ac_cv_host" >&6; }
1.37 ohara 1990: case $ac_cv_host in
1991: *-*-*) ;;
1.43 ! ohara 1992: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 1993: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1.37 ohara 1994: { (exit 1); exit 1; }; };;
1995: esac
1996: host=$ac_cv_host
1997: ac_save_IFS=$IFS; IFS='-'
1998: set x $ac_cv_host
1999: shift
2000: host_cpu=$1
2001: host_vendor=$2
2002: shift; shift
2003: # Remember, the first character of IFS is used to create $*,
2004: # except with old shells:
2005: host_os=$*
2006: IFS=$ac_save_IFS
2007: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2008:
2009:
1.43 ! ohara 2010: { $as_echo "$as_me:$LINENO: checking target system type" >&5
! 2011: $as_echo_n "checking target system type... " >&6; }
1.37 ohara 2012: if test "${ac_cv_target+set}" = set; then
1.43 ! ohara 2013: $as_echo_n "(cached) " >&6
1.37 ohara 2014: else
2015: if test "x$target_alias" = x; then
2016: ac_cv_target=$ac_cv_host
2017: else
2018: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.43 ! ohara 2019: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
! 2020: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1.37 ohara 2021: { (exit 1); exit 1; }; }
2022: fi
2023:
2024: fi
1.43 ! ohara 2025: { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
! 2026: $as_echo "$ac_cv_target" >&6; }
1.37 ohara 2027: case $ac_cv_target in
2028: *-*-*) ;;
1.43 ! ohara 2029: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
! 2030: $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1.37 ohara 2031: { (exit 1); exit 1; }; };;
2032: esac
2033: target=$ac_cv_target
2034: ac_save_IFS=$IFS; IFS='-'
2035: set x $ac_cv_target
2036: shift
2037: target_cpu=$1
2038: target_vendor=$2
2039: shift; shift
2040: # Remember, the first character of IFS is used to create $*,
2041: # except with old shells:
2042: target_os=$*
2043: IFS=$ac_save_IFS
2044: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2045:
2046:
2047: # The aliases save the names the user supplied, while $host etc.
2048: # will get canonicalized.
2049: test -n "$target_alias" &&
2050: test "$program_prefix$program_suffix$program_transform_name" = \
2051: NONENONEs,x,x, &&
2052: program_prefix=${target_alias}-
2053: am__api_version='1.10'
1.14 noro 2054:
2055: # Find a good install program. We prefer a C program (faster),
2056: # so one script is as good as another. But avoid the broken or
2057: # incompatible versions:
2058: # SysV /etc/install, /usr/sbin/install
2059: # SunOS /usr/etc/install
2060: # IRIX /sbin/install
2061: # AIX /bin/install
2062: # AmigaOS /C/install, which installs bootblocks on floppy discs
2063: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2064: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2065: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.32 noro 2066: # OS/2's system install, which has a completely different semantic
1.14 noro 2067: # ./install, which can be erroneously created by make from ./install.sh.
1.43 ! ohara 2068: # Reject install programs that cannot install multiple files.
! 2069: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 2070: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14 noro 2071: if test -z "$INSTALL"; then
2072: if test "${ac_cv_path_install+set}" = set; then
1.43 ! ohara 2073: $as_echo_n "(cached) " >&6
1.14 noro 2074: else
2075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076: for as_dir in $PATH
2077: do
2078: IFS=$as_save_IFS
2079: test -z "$as_dir" && as_dir=.
2080: # Account for people who put trailing slashes in PATH elements.
2081: case $as_dir/ in
2082: ./ | .// | /cC/* | \
2083: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.32 noro 2084: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.14 noro 2085: /usr/ucb/* ) ;;
2086: *)
2087: # OSF1 and SCO ODT 3.0 have their own names for install.
2088: # Don't use installbsd from OSF since it installs stuff as root
2089: # by default.
2090: for ac_prog in ginstall scoinst install; do
2091: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2092: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.32 noro 2093: if test $ac_prog = install &&
2094: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2095: # AIX install. It has an incompatible calling convention.
2096: :
2097: elif test $ac_prog = install &&
2098: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2099: # program-specific install script used by HP pwplus--don't use.
2100: :
2101: else
1.43 ! ohara 2102: rm -rf conftest.one conftest.two conftest.dir
! 2103: echo one > conftest.one
! 2104: echo two > conftest.two
! 2105: mkdir conftest.dir
! 2106: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2107: test -s conftest.one && test -s conftest.two &&
! 2108: test -s conftest.dir/conftest.one &&
! 2109: test -s conftest.dir/conftest.two
! 2110: then
! 2111: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2112: break 3
! 2113: fi
1.32 noro 2114: fi
2115: fi
1.14 noro 2116: done
2117: done
2118: ;;
2119: esac
1.43 ! ohara 2120:
1.14 noro 2121: done
1.37 ohara 2122: IFS=$as_save_IFS
1.14 noro 2123:
1.43 ! ohara 2124: rm -rf conftest.one conftest.two conftest.dir
1.14 noro 2125:
2126: fi
2127: if test "${ac_cv_path_install+set}" = set; then
2128: INSTALL=$ac_cv_path_install
2129: else
1.37 ohara 2130: # As a last resort, use the slow shell script. Don't cache a
2131: # value for INSTALL within a source directory, because that will
1.14 noro 2132: # break other packages using the cache if that directory is
1.37 ohara 2133: # removed, or if the value is a relative name.
1.14 noro 2134: INSTALL=$ac_install_sh
2135: fi
2136: fi
1.43 ! ohara 2137: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 2138: $as_echo "$INSTALL" >&6; }
1.14 noro 2139:
2140: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2141: # It thinks the first close brace ends the variable substitution.
2142: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2143:
2144: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2145:
2146: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2147:
1.43 ! ohara 2148: { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 2149: $as_echo_n "checking whether build environment is sane... " >&6; }
1.14 noro 2150: # Just in case
2151: sleep 1
2152: echo timestamp > conftest.file
2153: # Do `set' in a subshell so we don't clobber the current shell's
2154: # arguments. Must try -L first in case configure is actually a
2155: # symlink; some systems play weird games with the mod time of symlinks
2156: # (eg FreeBSD returns the mod time of the symlink's containing
2157: # directory).
2158: if (
2159: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2160: if test "$*" = "X"; then
2161: # -L didn't work.
2162: set X `ls -t $srcdir/configure conftest.file`
2163: fi
2164: rm -f conftest.file
2165: if test "$*" != "X $srcdir/configure conftest.file" \
2166: && test "$*" != "X conftest.file $srcdir/configure"; then
2167:
2168: # If neither matched, then we have a broken ls. This can happen
2169: # if, for instance, CONFIG_SHELL is bash and it inherits a
2170: # broken ls alias from the environment. This has actually
2171: # happened. Such a system could not be considered "sane".
1.43 ! ohara 2172: { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1.14 noro 2173: alias in your environment" >&5
1.43 ! ohara 2174: $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1.14 noro 2175: alias in your environment" >&2;}
2176: { (exit 1); exit 1; }; }
2177: fi
2178:
2179: test "$2" = conftest.file
2180: )
2181: then
2182: # Ok.
2183: :
2184: else
1.43 ! ohara 2185: { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.14 noro 2186: Check your system clock" >&5
1.43 ! ohara 2187: $as_echo "$as_me: error: newly created file is older than distributed files!
1.14 noro 2188: Check your system clock" >&2;}
2189: { (exit 1); exit 1; }; }
2190: fi
1.43 ! ohara 2191: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2192: $as_echo "yes" >&6; }
1.14 noro 2193: test "$program_prefix" != NONE &&
1.37 ohara 2194: program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.14 noro 2195: # Use a double $ so make ignores it.
2196: test "$program_suffix" != NONE &&
1.37 ohara 2197: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.43 ! ohara 2198: # Double any \ or $.
1.14 noro 2199: # By default was `s,x,x', remove it if useless.
1.43 ! ohara 2200: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
! 2201: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.14 noro 2202:
2203: # expand $ac_aux_dir to an absolute path
1.37 ohara 2204: am_aux_dir=`cd $ac_aux_dir && pwd`
1.14 noro 2205:
2206: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2207: # Use eval to expand $SHELL
2208: if eval "$MISSING --run true"; then
2209: am_missing_run="$MISSING --run "
2210: else
2211: am_missing_run=
1.43 ! ohara 2212: { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 2213: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.37 ohara 2214: fi
2215:
1.43 ! ohara 2216: { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
! 2217: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1.37 ohara 2218: if test -z "$MKDIR_P"; then
2219: if test "${ac_cv_path_mkdir+set}" = set; then
1.43 ! ohara 2220: $as_echo_n "(cached) " >&6
1.37 ohara 2221: else
2222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2224: do
2225: IFS=$as_save_IFS
2226: test -z "$as_dir" && as_dir=.
2227: for ac_prog in mkdir gmkdir; do
2228: for ac_exec_ext in '' $ac_executable_extensions; do
2229: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2230: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2231: 'mkdir (GNU coreutils) '* | \
2232: 'mkdir (coreutils) '* | \
2233: 'mkdir (fileutils) '4.1*)
2234: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2235: break 3;;
2236: esac
2237: done
2238: done
2239: done
2240: IFS=$as_save_IFS
2241:
2242: fi
2243:
2244: if test "${ac_cv_path_mkdir+set}" = set; then
2245: MKDIR_P="$ac_cv_path_mkdir -p"
2246: else
2247: # As a last resort, use the slow shell script. Don't cache a
2248: # value for MKDIR_P within a source directory, because that will
2249: # break other packages using the cache if that directory is
2250: # removed, or if the value is a relative name.
2251: test -d ./--version && rmdir ./--version
2252: MKDIR_P="$ac_install_sh -d"
2253: fi
1.14 noro 2254: fi
1.43 ! ohara 2255: { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
! 2256: $as_echo "$MKDIR_P" >&6; }
1.37 ohara 2257:
2258: mkdir_p="$MKDIR_P"
2259: case $mkdir_p in
2260: [\\/$]* | ?:[\\/]*) ;;
2261: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2262: esac
1.14 noro 2263:
2264: for ac_prog in gawk mawk nawk awk
2265: do
2266: # Extract the first word of "$ac_prog", so it can be a program name with args.
2267: set dummy $ac_prog; ac_word=$2
1.43 ! ohara 2268: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2269: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2270: if test "${ac_cv_prog_AWK+set}" = set; then
1.43 ! ohara 2271: $as_echo_n "(cached) " >&6
1.14 noro 2272: else
2273: if test -n "$AWK"; then
2274: ac_cv_prog_AWK="$AWK" # Let the user override the test.
2275: else
2276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277: for as_dir in $PATH
2278: do
2279: IFS=$as_save_IFS
2280: test -z "$as_dir" && as_dir=.
2281: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2282: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2283: ac_cv_prog_AWK="$ac_prog"
1.43 ! ohara 2284: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2285: break 2
2286: fi
2287: done
2288: done
1.37 ohara 2289: IFS=$as_save_IFS
1.14 noro 2290:
2291: fi
2292: fi
2293: AWK=$ac_cv_prog_AWK
2294: if test -n "$AWK"; then
1.43 ! ohara 2295: { $as_echo "$as_me:$LINENO: result: $AWK" >&5
! 2296: $as_echo "$AWK" >&6; }
1.14 noro 2297: else
1.43 ! ohara 2298: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2299: $as_echo "no" >&6; }
1.14 noro 2300: fi
2301:
1.37 ohara 2302:
1.14 noro 2303: test -n "$AWK" && break
2304: done
2305:
1.43 ! ohara 2306: { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2307: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 2308: set x ${MAKE-make}
! 2309: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.37 ohara 2310: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.43 ! ohara 2311: $as_echo_n "(cached) " >&6
1.14 noro 2312: else
2313: cat >conftest.make <<\_ACEOF
1.37 ohara 2314: SHELL = /bin/sh
1.14 noro 2315: all:
1.37 ohara 2316: @echo '@@@%%%=$(MAKE)=@@@%%%'
1.14 noro 2317: _ACEOF
2318: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.37 ohara 2319: case `${MAKE-make} -f conftest.make 2>/dev/null` in
2320: *@@@%%%=?*=@@@%%%*)
2321: eval ac_cv_prog_make_${ac_make}_set=yes;;
2322: *)
2323: eval ac_cv_prog_make_${ac_make}_set=no;;
2324: esac
1.14 noro 2325: rm -f conftest.make
2326: fi
1.37 ohara 2327: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.43 ! ohara 2328: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2329: $as_echo "yes" >&6; }
1.14 noro 2330: SET_MAKE=
2331: else
1.43 ! ohara 2332: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2333: $as_echo "no" >&6; }
1.14 noro 2334: SET_MAKE="MAKE=${MAKE-make}"
2335: fi
2336:
1.37 ohara 2337: rm -rf .tst 2>/dev/null
2338: mkdir .tst 2>/dev/null
2339: if test -d .tst; then
2340: am__leading_dot=.
2341: else
2342: am__leading_dot=_
2343: fi
2344: rmdir .tst 2>/dev/null
2345:
2346: if test "`cd $srcdir && pwd`" != "`pwd`"; then
2347: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2348: # is not polluted with repeated "-I."
2349: am__isrc=' -I$(srcdir)'
2350: # test to see if srcdir already configured
2351: if test -f $srcdir/config.status; then
1.43 ! ohara 2352: { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 2353: $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1.37 ohara 2354: { (exit 1); exit 1; }; }
2355: fi
1.14 noro 2356: fi
2357:
1.37 ohara 2358: # test whether we have cygpath
2359: if test -z "$CYGPATH_W"; then
2360: if (cygpath --version) >/dev/null 2>/dev/null; then
2361: CYGPATH_W='cygpath -w'
2362: else
2363: CYGPATH_W=echo
2364: fi
1.14 noro 2365: fi
2366:
2367:
1.37 ohara 2368: # Define the identity of the package.
2369: PACKAGE=asir
2370: VERSION=20030307
1.14 noro 2371:
2372:
2373: cat >>confdefs.h <<_ACEOF
2374: #define PACKAGE "$PACKAGE"
2375: _ACEOF
2376:
2377:
2378: cat >>confdefs.h <<_ACEOF
2379: #define VERSION "$VERSION"
2380: _ACEOF
2381:
2382: # Some tools Automake needs.
2383:
1.37 ohara 2384: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.14 noro 2385:
2386:
2387: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2388:
2389:
1.37 ohara 2390: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.14 noro 2391:
2392:
2393: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2394:
2395:
2396: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2397:
1.37 ohara 2398: install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1.14 noro 2399:
1.37 ohara 2400: # Installed binaries are usually stripped using `strip' when the user
2401: # run `make install-strip'. However `strip' might not be the right
2402: # tool to use in cross-compilation environments, therefore Automake
2403: # will honor the `STRIP' environment variable to overrule this program.
2404: if test "$cross_compiling" != no; then
2405: if test -n "$ac_tool_prefix"; then
2406: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2407: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.43 ! ohara 2408: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2409: $as_echo_n "checking for $ac_word... " >&6; }
1.37 ohara 2410: if test "${ac_cv_prog_STRIP+set}" = set; then
1.43 ! ohara 2411: $as_echo_n "(cached) " >&6
1.37 ohara 2412: else
2413: if test -n "$STRIP"; then
2414: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2415: else
2416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417: for as_dir in $PATH
2418: do
2419: IFS=$as_save_IFS
2420: test -z "$as_dir" && as_dir=.
2421: for ac_exec_ext in '' $ac_executable_extensions; do
2422: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.43 ! ohara 2424: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.37 ohara 2425: break 2
2426: fi
2427: done
2428: done
2429: IFS=$as_save_IFS
1.14 noro 2430:
1.37 ohara 2431: fi
2432: fi
2433: STRIP=$ac_cv_prog_STRIP
2434: if test -n "$STRIP"; then
1.43 ! ohara 2435: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 2436: $as_echo "$STRIP" >&6; }
1.37 ohara 2437: else
1.43 ! ohara 2438: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2439: $as_echo "no" >&6; }
1.37 ohara 2440: fi
1.14 noro 2441:
2442:
1.37 ohara 2443: fi
2444: if test -z "$ac_cv_prog_STRIP"; then
2445: ac_ct_STRIP=$STRIP
2446: # Extract the first word of "strip", so it can be a program name with args.
2447: set dummy strip; ac_word=$2
1.43 ! ohara 2448: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2449: $as_echo_n "checking for $ac_word... " >&6; }
1.37 ohara 2450: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.43 ! ohara 2451: $as_echo_n "(cached) " >&6
1.37 ohara 2452: else
2453: if test -n "$ac_ct_STRIP"; then
2454: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2455: else
2456: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457: for as_dir in $PATH
2458: do
2459: IFS=$as_save_IFS
2460: test -z "$as_dir" && as_dir=.
2461: for ac_exec_ext in '' $ac_executable_extensions; do
2462: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463: ac_cv_prog_ac_ct_STRIP="strip"
1.43 ! ohara 2464: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.37 ohara 2465: break 2
2466: fi
2467: done
2468: done
2469: IFS=$as_save_IFS
1.14 noro 2470:
1.37 ohara 2471: fi
2472: fi
2473: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2474: if test -n "$ac_ct_STRIP"; then
1.43 ! ohara 2475: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 2476: $as_echo "$ac_ct_STRIP" >&6; }
1.22 ohara 2477: else
1.43 ! ohara 2478: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2479: $as_echo "no" >&6; }
1.37 ohara 2480: fi
1.22 ohara 2481:
1.37 ohara 2482: if test "x$ac_ct_STRIP" = x; then
2483: STRIP=":"
2484: else
2485: case $cross_compiling:$ac_tool_warned in
2486: yes:)
1.43 ! ohara 2487: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2488: whose name does not start with the host triplet. If you think this
2489: configuration is useful to you, please write to autoconf@gnu.org." >&5
1.43 ! ohara 2490: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2491: whose name does not start with the host triplet. If you think this
2492: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2493: ac_tool_warned=yes ;;
2494: esac
2495: STRIP=$ac_ct_STRIP
2496: fi
2497: else
2498: STRIP="$ac_cv_prog_STRIP"
2499: fi
1.22 ohara 2500:
2501: fi
1.37 ohara 2502: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2503:
2504: # We need awk for the "check" target. The system "awk" is bad on
2505: # some platforms.
2506: # Always define AMTAR for backward compatibility.
1.22 ohara 2507:
1.37 ohara 2508: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.22 ohara 2509:
1.37 ohara 2510: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1.22 ohara 2511:
1.14 noro 2512:
2513:
2514:
2515:
1.43 ! ohara 2516: { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
! 2517: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1.37 ohara 2518: # Check whether --enable-maintainer-mode was given.
2519: if test "${enable_maintainer_mode+set}" = set; then
2520: enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1.14 noro 2521: else
1.37 ohara 2522: USE_MAINTAINER_MODE=no
1.14 noro 2523: fi
2524:
1.43 ! ohara 2525: { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! 2526: $as_echo "$USE_MAINTAINER_MODE" >&6; }
1.37 ohara 2527: if test $USE_MAINTAINER_MODE = yes; then
2528: MAINTAINER_MODE_TRUE=
2529: MAINTAINER_MODE_FALSE='#'
1.14 noro 2530: else
1.37 ohara 2531: MAINTAINER_MODE_TRUE='#'
2532: MAINTAINER_MODE_FALSE=
2533: fi
1.14 noro 2534:
1.37 ohara 2535: MAINT=$MAINTAINER_MODE_TRUE
1.14 noro 2536:
2537:
2538:
2539: ac_ext=c
2540: ac_cpp='$CPP $CPPFLAGS'
2541: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2542: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2543: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2544: if test -n "$ac_tool_prefix"; then
2545: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2546: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.43 ! ohara 2547: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2548: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2549: if test "${ac_cv_prog_CC+set}" = set; then
1.43 ! ohara 2550: $as_echo_n "(cached) " >&6
1.14 noro 2551: else
2552: if test -n "$CC"; then
2553: ac_cv_prog_CC="$CC" # Let the user override the test.
2554: else
2555: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556: for as_dir in $PATH
2557: do
2558: IFS=$as_save_IFS
2559: test -z "$as_dir" && as_dir=.
2560: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2561: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2562: ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.43 ! ohara 2563: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2564: break 2
2565: fi
2566: done
2567: done
1.37 ohara 2568: IFS=$as_save_IFS
1.14 noro 2569:
2570: fi
2571: fi
2572: CC=$ac_cv_prog_CC
2573: if test -n "$CC"; then
1.43 ! ohara 2574: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2575: $as_echo "$CC" >&6; }
1.14 noro 2576: else
1.43 ! ohara 2577: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2578: $as_echo "no" >&6; }
1.14 noro 2579: fi
2580:
1.37 ohara 2581:
1.14 noro 2582: fi
2583: if test -z "$ac_cv_prog_CC"; then
2584: ac_ct_CC=$CC
2585: # Extract the first word of "gcc", so it can be a program name with args.
2586: set dummy gcc; ac_word=$2
1.43 ! ohara 2587: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2588: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2589: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.43 ! ohara 2590: $as_echo_n "(cached) " >&6
1.14 noro 2591: else
2592: if test -n "$ac_ct_CC"; then
2593: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2594: else
2595: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596: for as_dir in $PATH
2597: do
2598: IFS=$as_save_IFS
2599: test -z "$as_dir" && as_dir=.
2600: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2601: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2602: ac_cv_prog_ac_ct_CC="gcc"
1.43 ! ohara 2603: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2604: break 2
2605: fi
2606: done
2607: done
1.37 ohara 2608: IFS=$as_save_IFS
1.14 noro 2609:
2610: fi
2611: fi
2612: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2613: if test -n "$ac_ct_CC"; then
1.43 ! ohara 2614: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2615: $as_echo "$ac_ct_CC" >&6; }
1.14 noro 2616: else
1.43 ! ohara 2617: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2618: $as_echo "no" >&6; }
1.14 noro 2619: fi
2620:
1.37 ohara 2621: if test "x$ac_ct_CC" = x; then
2622: CC=""
2623: else
2624: case $cross_compiling:$ac_tool_warned in
2625: yes:)
1.43 ! ohara 2626: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2627: whose name does not start with the host triplet. If you think this
2628: configuration is useful to you, please write to autoconf@gnu.org." >&5
1.43 ! ohara 2629: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2630: whose name does not start with the host triplet. If you think this
2631: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2632: ac_tool_warned=yes ;;
2633: esac
2634: CC=$ac_ct_CC
2635: fi
1.14 noro 2636: else
2637: CC="$ac_cv_prog_CC"
2638: fi
2639:
2640: if test -z "$CC"; then
1.37 ohara 2641: if test -n "$ac_tool_prefix"; then
2642: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.14 noro 2643: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.43 ! ohara 2644: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2645: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2646: if test "${ac_cv_prog_CC+set}" = set; then
1.43 ! ohara 2647: $as_echo_n "(cached) " >&6
1.14 noro 2648: else
2649: if test -n "$CC"; then
2650: ac_cv_prog_CC="$CC" # Let the user override the test.
2651: else
2652: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653: for as_dir in $PATH
2654: do
2655: IFS=$as_save_IFS
2656: test -z "$as_dir" && as_dir=.
2657: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2658: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2659: ac_cv_prog_CC="${ac_tool_prefix}cc"
1.43 ! ohara 2660: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2661: break 2
2662: fi
2663: done
2664: done
1.37 ohara 2665: IFS=$as_save_IFS
1.14 noro 2666:
2667: fi
2668: fi
2669: CC=$ac_cv_prog_CC
2670: if test -n "$CC"; then
1.43 ! ohara 2671: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2672: $as_echo "$CC" >&6; }
1.14 noro 2673: else
1.43 ! ohara 2674: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2675: $as_echo "no" >&6; }
1.14 noro 2676: fi
2677:
1.37 ohara 2678:
1.14 noro 2679: fi
2680: fi
2681: if test -z "$CC"; then
2682: # Extract the first word of "cc", so it can be a program name with args.
2683: set dummy cc; ac_word=$2
1.43 ! ohara 2684: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2685: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2686: if test "${ac_cv_prog_CC+set}" = set; then
1.43 ! ohara 2687: $as_echo_n "(cached) " >&6
1.14 noro 2688: else
2689: if test -n "$CC"; then
2690: ac_cv_prog_CC="$CC" # Let the user override the test.
2691: else
2692: ac_prog_rejected=no
2693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694: for as_dir in $PATH
2695: do
2696: IFS=$as_save_IFS
2697: test -z "$as_dir" && as_dir=.
2698: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2699: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2700: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701: ac_prog_rejected=yes
2702: continue
2703: fi
2704: ac_cv_prog_CC="cc"
1.43 ! ohara 2705: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2706: break 2
2707: fi
2708: done
2709: done
1.37 ohara 2710: IFS=$as_save_IFS
1.14 noro 2711:
2712: if test $ac_prog_rejected = yes; then
2713: # We found a bogon in the path, so make sure we never use it.
2714: set dummy $ac_cv_prog_CC
2715: shift
2716: if test $# != 0; then
2717: # We chose a different compiler from the bogus one.
2718: # However, it has the same basename, so the bogon will be chosen
2719: # first if we set CC to just the basename; use the full file name.
2720: shift
1.32 noro 2721: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.14 noro 2722: fi
2723: fi
2724: fi
2725: fi
2726: CC=$ac_cv_prog_CC
2727: if test -n "$CC"; then
1.43 ! ohara 2728: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2729: $as_echo "$CC" >&6; }
1.14 noro 2730: else
1.43 ! ohara 2731: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2732: $as_echo "no" >&6; }
1.14 noro 2733: fi
2734:
1.37 ohara 2735:
1.14 noro 2736: fi
2737: if test -z "$CC"; then
2738: if test -n "$ac_tool_prefix"; then
1.37 ohara 2739: for ac_prog in cl.exe
1.14 noro 2740: do
2741: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2742: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43 ! ohara 2743: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2744: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2745: if test "${ac_cv_prog_CC+set}" = set; then
1.43 ! ohara 2746: $as_echo_n "(cached) " >&6
1.14 noro 2747: else
2748: if test -n "$CC"; then
2749: ac_cv_prog_CC="$CC" # Let the user override the test.
2750: else
2751: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752: for as_dir in $PATH
2753: do
2754: IFS=$as_save_IFS
2755: test -z "$as_dir" && as_dir=.
2756: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 2757: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2758: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.43 ! ohara 2759: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2760: break 2
2761: fi
2762: done
2763: done
1.37 ohara 2764: IFS=$as_save_IFS
1.14 noro 2765:
2766: fi
2767: fi
2768: CC=$ac_cv_prog_CC
2769: if test -n "$CC"; then
1.43 ! ohara 2770: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2771: $as_echo "$CC" >&6; }
1.14 noro 2772: else
1.43 ! ohara 2773: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2774: $as_echo "no" >&6; }
1.14 noro 2775: fi
2776:
1.37 ohara 2777:
1.14 noro 2778: test -n "$CC" && break
2779: done
2780: fi
2781: if test -z "$CC"; then
2782: ac_ct_CC=$CC
1.37 ohara 2783: for ac_prog in cl.exe
1.14 noro 2784: do
2785: # Extract the first word of "$ac_prog", so it can be a program name with args.
2786: set dummy $ac_prog; ac_word=$2
1.43 ! ohara 2787: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2788: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 2789: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.43 ! ohara 2790: $as_echo_n "(cached) " >&6
1.14 noro 2791: else
2792: if test -n "$ac_ct_CC"; then
2793: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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
1.37 ohara 2801: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 2802: ac_cv_prog_ac_ct_CC="$ac_prog"
1.43 ! ohara 2803: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 2804: break 2
2805: fi
2806: done
2807: done
1.37 ohara 2808: IFS=$as_save_IFS
1.14 noro 2809:
2810: fi
2811: fi
2812: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2813: if test -n "$ac_ct_CC"; then
1.43 ! ohara 2814: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2815: $as_echo "$ac_ct_CC" >&6; }
1.14 noro 2816: else
1.43 ! ohara 2817: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2818: $as_echo "no" >&6; }
1.14 noro 2819: fi
2820:
1.37 ohara 2821:
1.14 noro 2822: test -n "$ac_ct_CC" && break
2823: done
2824:
1.37 ohara 2825: if test "x$ac_ct_CC" = x; then
2826: CC=""
2827: else
2828: case $cross_compiling:$ac_tool_warned in
2829: yes:)
1.43 ! ohara 2830: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2831: whose name does not start with the host triplet. If you think this
2832: configuration is useful to you, please write to autoconf@gnu.org." >&5
1.43 ! ohara 2833: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 2834: whose name does not start with the host triplet. If you think this
2835: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2836: ac_tool_warned=yes ;;
2837: esac
2838: CC=$ac_ct_CC
2839: fi
1.14 noro 2840: fi
2841:
2842: fi
2843:
2844:
1.43 ! ohara 2845: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.32 noro 2846: See \`config.log' for more details." >&5
1.43 ! ohara 2847: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
1.32 noro 2848: See \`config.log' for more details." >&2;}
1.14 noro 2849: { (exit 1); exit 1; }; }
2850:
2851: # Provide some information about the compiler.
1.43 ! ohara 2852: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2853: set X $ac_compile
! 2854: ac_compiler=$2
1.37 ohara 2855: { (ac_try="$ac_compiler --version >&5"
2856: case "(($ac_try" in
2857: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858: *) ac_try_echo=$ac_try;;
2859: esac
1.43 ! ohara 2860: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2861: $as_echo "$ac_try_echo") >&5
1.37 ohara 2862: (eval "$ac_compiler --version >&5") 2>&5
1.14 noro 2863: ac_status=$?
1.43 ! ohara 2864: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 2865: (exit $ac_status); }
1.37 ohara 2866: { (ac_try="$ac_compiler -v >&5"
2867: case "(($ac_try" in
2868: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869: *) ac_try_echo=$ac_try;;
2870: esac
1.43 ! ohara 2871: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2872: $as_echo "$ac_try_echo") >&5
1.37 ohara 2873: (eval "$ac_compiler -v >&5") 2>&5
1.14 noro 2874: ac_status=$?
1.43 ! ohara 2875: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 2876: (exit $ac_status); }
1.37 ohara 2877: { (ac_try="$ac_compiler -V >&5"
2878: case "(($ac_try" in
2879: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880: *) ac_try_echo=$ac_try;;
2881: esac
1.43 ! ohara 2882: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2883: $as_echo "$ac_try_echo") >&5
1.37 ohara 2884: (eval "$ac_compiler -V >&5") 2>&5
1.14 noro 2885: ac_status=$?
1.43 ! ohara 2886: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 2887: (exit $ac_status); }
2888:
2889: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 2890: /* confdefs.h. */
2891: _ACEOF
2892: cat confdefs.h >>conftest.$ac_ext
2893: cat >>conftest.$ac_ext <<_ACEOF
2894: /* end confdefs.h. */
1.14 noro 2895:
2896: int
2897: main ()
2898: {
2899:
2900: ;
2901: return 0;
2902: }
2903: _ACEOF
2904: ac_clean_files_save=$ac_clean_files
1.43 ! ohara 2905: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.14 noro 2906: # Try to create an executable without -o first, disregard a.out.
2907: # It will help us diagnose broken compilers, and finding out an intuition
2908: # of exeext.
1.43 ! ohara 2909: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2910: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2911: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2912:
! 2913: # The possible output files:
! 2914: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2915:
1.37 ohara 2916: ac_rmfiles=
2917: for ac_file in $ac_files
2918: do
2919: case $ac_file in
1.43 ! ohara 2920: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.37 ohara 2921: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2922: esac
2923: done
2924: rm -f $ac_rmfiles
2925:
2926: if { (ac_try="$ac_link_default"
2927: case "(($ac_try" in
2928: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929: *) ac_try_echo=$ac_try;;
2930: esac
1.43 ! ohara 2931: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2932: $as_echo "$ac_try_echo") >&5
1.37 ohara 2933: (eval "$ac_link_default") 2>&5
1.14 noro 2934: ac_status=$?
1.43 ! ohara 2935: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 2936: (exit $ac_status); }; then
1.37 ohara 2937: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2938: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2939: # in a Makefile. We should not override ac_cv_exeext if it was cached,
2940: # so that the user can short-circuit this test for compilers unknown to
2941: # Autoconf.
2942: for ac_file in $ac_files ''
1.32 noro 2943: do
2944: test -f "$ac_file" || continue
1.14 noro 2945: case $ac_file in
1.43 ! ohara 2946: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.32 noro 2947: ;;
2948: [ab].out )
2949: # We found the default executable, but exeext='' is most
2950: # certainly right.
2951: break;;
2952: *.* )
1.37 ohara 2953: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2954: then :; else
2955: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2956: fi
2957: # We set ac_cv_exeext here because the later test for it is not
2958: # safe: cross compilers may not add the suffix if given an `-o'
2959: # argument, so we may need to know it at that point already.
2960: # Even if this section looks crufty: it has the advantage of
2961: # actually working.
1.32 noro 2962: break;;
2963: * )
2964: break;;
1.14 noro 2965: esac
2966: done
1.37 ohara 2967: test "$ac_cv_exeext" = no && ac_cv_exeext=
2968:
1.14 noro 2969: else
1.37 ohara 2970: ac_file=''
2971: fi
2972:
1.43 ! ohara 2973: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 2974: $as_echo "$ac_file" >&6; }
1.37 ohara 2975: if test -z "$ac_file"; then
1.43 ! ohara 2976: $as_echo "$as_me: failed program was:" >&5
1.32 noro 2977: sed 's/^/| /' conftest.$ac_ext >&5
2978:
1.43 ! ohara 2979: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
1.32 noro 2980: See \`config.log' for more details." >&5
1.43 ! ohara 2981: $as_echo "$as_me: error: C compiler cannot create executables
1.32 noro 2982: See \`config.log' for more details." >&2;}
1.14 noro 2983: { (exit 77); exit 77; }; }
2984: fi
2985:
2986: ac_exeext=$ac_cv_exeext
2987:
1.37 ohara 2988: # Check that the compiler produces executables we can run. If not, either
1.14 noro 2989: # the compiler is broken, or we cross compile.
1.43 ! ohara 2990: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2991: $as_echo_n "checking whether the C compiler works... " >&6; }
1.14 noro 2992: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2993: # If not cross compiling, check that we can run a simple program.
2994: if test "$cross_compiling" != yes; then
2995: if { ac_try='./$ac_file'
1.37 ohara 2996: { (case "(($ac_try" in
2997: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998: *) ac_try_echo=$ac_try;;
2999: esac
1.43 ! ohara 3000: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3001: $as_echo "$ac_try_echo") >&5
1.37 ohara 3002: (eval "$ac_try") 2>&5
1.14 noro 3003: ac_status=$?
1.43 ! ohara 3004: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 3005: (exit $ac_status); }; }; then
3006: cross_compiling=no
3007: else
3008: if test "$cross_compiling" = maybe; then
3009: cross_compiling=yes
3010: else
1.43 ! ohara 3011: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.32 noro 3012: If you meant to cross compile, use \`--host'.
3013: See \`config.log' for more details." >&5
1.43 ! ohara 3014: $as_echo "$as_me: error: cannot run C compiled programs.
1.32 noro 3015: If you meant to cross compile, use \`--host'.
3016: See \`config.log' for more details." >&2;}
1.14 noro 3017: { (exit 1); exit 1; }; }
3018: fi
3019: fi
3020: fi
1.43 ! ohara 3021: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 3022: $as_echo "yes" >&6; }
1.14 noro 3023:
1.43 ! ohara 3024: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.14 noro 3025: ac_clean_files=$ac_clean_files_save
1.37 ohara 3026: # Check that the compiler produces executables we can run. If not, either
1.14 noro 3027: # the compiler is broken, or we cross compile.
1.43 ! ohara 3028: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 3029: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3030: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 3031: $as_echo "$cross_compiling" >&6; }
1.37 ohara 3032:
1.43 ! ohara 3033: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 3034: $as_echo_n "checking for suffix of executables... " >&6; }
1.37 ohara 3035: if { (ac_try="$ac_link"
3036: case "(($ac_try" in
3037: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038: *) ac_try_echo=$ac_try;;
3039: esac
1.43 ! ohara 3040: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3041: $as_echo "$ac_try_echo") >&5
1.37 ohara 3042: (eval "$ac_link") 2>&5
1.14 noro 3043: ac_status=$?
1.43 ! ohara 3044: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 3045: (exit $ac_status); }; then
3046: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3047: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3048: # work properly (i.e., refer to `conftest.exe'), while it won't with
3049: # `rm'.
1.32 noro 3050: for ac_file in conftest.exe conftest conftest.*; do
3051: test -f "$ac_file" || continue
1.14 noro 3052: case $ac_file in
1.43 ! ohara 3053: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.14 noro 3054: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.32 noro 3055: break;;
1.14 noro 3056: * ) break;;
3057: esac
3058: done
3059: else
1.43 ! ohara 3060: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.32 noro 3061: See \`config.log' for more details." >&5
1.43 ! ohara 3062: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.32 noro 3063: See \`config.log' for more details." >&2;}
1.14 noro 3064: { (exit 1); exit 1; }; }
3065: fi
3066:
3067: rm -f conftest$ac_cv_exeext
1.43 ! ohara 3068: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 3069: $as_echo "$ac_cv_exeext" >&6; }
1.14 noro 3070:
3071: rm -f conftest.$ac_ext
3072: EXEEXT=$ac_cv_exeext
3073: ac_exeext=$EXEEXT
1.43 ! ohara 3074: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 3075: $as_echo_n "checking for suffix of object files... " >&6; }
1.14 noro 3076: if test "${ac_cv_objext+set}" = set; then
1.43 ! ohara 3077: $as_echo_n "(cached) " >&6
1.14 noro 3078: else
3079: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 3080: /* confdefs.h. */
3081: _ACEOF
3082: cat confdefs.h >>conftest.$ac_ext
3083: cat >>conftest.$ac_ext <<_ACEOF
3084: /* end confdefs.h. */
1.14 noro 3085:
3086: int
3087: main ()
3088: {
3089:
3090: ;
3091: return 0;
3092: }
3093: _ACEOF
3094: rm -f conftest.o conftest.obj
1.37 ohara 3095: if { (ac_try="$ac_compile"
3096: case "(($ac_try" in
3097: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098: *) ac_try_echo=$ac_try;;
3099: esac
1.43 ! ohara 3100: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3101: $as_echo "$ac_try_echo") >&5
1.37 ohara 3102: (eval "$ac_compile") 2>&5
1.14 noro 3103: ac_status=$?
1.43 ! ohara 3104: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 3105: (exit $ac_status); }; then
1.37 ohara 3106: for ac_file in conftest.o conftest.obj conftest.*; do
3107: test -f "$ac_file" || continue;
1.14 noro 3108: case $ac_file in
1.43 ! ohara 3109: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.14 noro 3110: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3111: break;;
3112: esac
3113: done
3114: else
1.43 ! ohara 3115: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3116: sed 's/^/| /' conftest.$ac_ext >&5
3117:
1.43 ! ohara 3118: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.32 noro 3119: See \`config.log' for more details." >&5
1.43 ! ohara 3120: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.32 noro 3121: See \`config.log' for more details." >&2;}
1.14 noro 3122: { (exit 1); exit 1; }; }
3123: fi
3124:
3125: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3126: fi
1.43 ! ohara 3127: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 3128: $as_echo "$ac_cv_objext" >&6; }
1.14 noro 3129: OBJEXT=$ac_cv_objext
3130: ac_objext=$OBJEXT
1.43 ! ohara 3131: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 3132: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.14 noro 3133: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.43 ! ohara 3134: $as_echo_n "(cached) " >&6
1.14 noro 3135: else
3136: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 3137: /* confdefs.h. */
3138: _ACEOF
3139: cat confdefs.h >>conftest.$ac_ext
3140: cat >>conftest.$ac_ext <<_ACEOF
3141: /* end confdefs.h. */
1.14 noro 3142:
3143: int
3144: main ()
3145: {
3146: #ifndef __GNUC__
3147: choke me
3148: #endif
3149:
3150: ;
3151: return 0;
3152: }
3153: _ACEOF
3154: rm -f conftest.$ac_objext
1.37 ohara 3155: if { (ac_try="$ac_compile"
3156: case "(($ac_try" in
3157: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158: *) ac_try_echo=$ac_try;;
3159: esac
1.43 ! ohara 3160: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3161: $as_echo "$ac_try_echo") >&5
1.37 ohara 3162: (eval "$ac_compile") 2>conftest.er1
1.14 noro 3163: ac_status=$?
1.32 noro 3164: grep -v '^ *+' conftest.er1 >conftest.err
3165: rm -f conftest.er1
3166: cat conftest.err >&5
1.43 ! ohara 3167: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3168: (exit $ac_status); } && {
3169: test -z "$ac_c_werror_flag" ||
3170: test ! -s conftest.err
3171: } && test -s conftest.$ac_objext; then
1.14 noro 3172: ac_compiler_gnu=yes
3173: else
1.43 ! ohara 3174: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3175: sed 's/^/| /' conftest.$ac_ext >&5
3176:
1.37 ohara 3177: ac_compiler_gnu=no
1.14 noro 3178: fi
1.37 ohara 3179:
3180: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 3181: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3182:
3183: fi
1.43 ! ohara 3184: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 3185: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 3186: if test $ac_compiler_gnu = yes; then
! 3187: GCC=yes
! 3188: else
! 3189: GCC=
! 3190: fi
1.14 noro 3191: ac_test_CFLAGS=${CFLAGS+set}
3192: ac_save_CFLAGS=$CFLAGS
1.43 ! ohara 3193: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 3194: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.14 noro 3195: if test "${ac_cv_prog_cc_g+set}" = set; then
1.43 ! ohara 3196: $as_echo_n "(cached) " >&6
1.14 noro 3197: else
1.37 ohara 3198: ac_save_c_werror_flag=$ac_c_werror_flag
3199: ac_c_werror_flag=yes
3200: ac_cv_prog_cc_g=no
3201: CFLAGS="-g"
3202: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 3203: /* confdefs.h. */
3204: _ACEOF
3205: cat confdefs.h >>conftest.$ac_ext
3206: cat >>conftest.$ac_ext <<_ACEOF
3207: /* end confdefs.h. */
1.14 noro 3208:
3209: int
3210: main ()
3211: {
3212:
3213: ;
3214: return 0;
3215: }
3216: _ACEOF
3217: rm -f conftest.$ac_objext
1.37 ohara 3218: if { (ac_try="$ac_compile"
3219: case "(($ac_try" in
3220: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221: *) ac_try_echo=$ac_try;;
3222: esac
1.43 ! ohara 3223: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3224: $as_echo "$ac_try_echo") >&5
1.37 ohara 3225: (eval "$ac_compile") 2>conftest.er1
1.14 noro 3226: ac_status=$?
1.32 noro 3227: grep -v '^ *+' conftest.er1 >conftest.err
3228: rm -f conftest.er1
3229: cat conftest.err >&5
1.43 ! ohara 3230: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3231: (exit $ac_status); } && {
3232: test -z "$ac_c_werror_flag" ||
3233: test ! -s conftest.err
3234: } && test -s conftest.$ac_objext; then
3235: ac_cv_prog_cc_g=yes
3236: else
1.43 ! ohara 3237: $as_echo "$as_me: failed program was:" >&5
1.37 ohara 3238: sed 's/^/| /' conftest.$ac_ext >&5
3239:
3240: CFLAGS=""
3241: cat >conftest.$ac_ext <<_ACEOF
3242: /* confdefs.h. */
3243: _ACEOF
3244: cat confdefs.h >>conftest.$ac_ext
3245: cat >>conftest.$ac_ext <<_ACEOF
3246: /* end confdefs.h. */
3247:
3248: int
3249: main ()
3250: {
3251:
3252: ;
3253: return 0;
3254: }
3255: _ACEOF
3256: rm -f conftest.$ac_objext
3257: if { (ac_try="$ac_compile"
3258: case "(($ac_try" in
3259: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260: *) ac_try_echo=$ac_try;;
3261: esac
1.43 ! ohara 3262: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3263: $as_echo "$ac_try_echo") >&5
1.37 ohara 3264: (eval "$ac_compile") 2>conftest.er1
1.32 noro 3265: ac_status=$?
1.37 ohara 3266: grep -v '^ *+' conftest.er1 >conftest.err
3267: rm -f conftest.er1
3268: cat conftest.err >&5
1.43 ! ohara 3269: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3270: (exit $ac_status); } && {
3271: test -z "$ac_c_werror_flag" ||
3272: test ! -s conftest.err
3273: } && test -s conftest.$ac_objext; then
3274: :
3275: else
1.43 ! ohara 3276: $as_echo "$as_me: failed program was:" >&5
1.37 ohara 3277: sed 's/^/| /' conftest.$ac_ext >&5
3278:
3279: ac_c_werror_flag=$ac_save_c_werror_flag
3280: CFLAGS="-g"
3281: cat >conftest.$ac_ext <<_ACEOF
3282: /* confdefs.h. */
3283: _ACEOF
3284: cat confdefs.h >>conftest.$ac_ext
3285: cat >>conftest.$ac_ext <<_ACEOF
3286: /* end confdefs.h. */
3287:
3288: int
3289: main ()
3290: {
3291:
3292: ;
3293: return 0;
3294: }
3295: _ACEOF
3296: rm -f conftest.$ac_objext
3297: if { (ac_try="$ac_compile"
3298: case "(($ac_try" in
3299: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300: *) ac_try_echo=$ac_try;;
3301: esac
1.43 ! ohara 3302: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3303: $as_echo "$ac_try_echo") >&5
1.37 ohara 3304: (eval "$ac_compile") 2>conftest.er1
1.14 noro 3305: ac_status=$?
1.37 ohara 3306: grep -v '^ *+' conftest.er1 >conftest.err
3307: rm -f conftest.er1
3308: cat conftest.err >&5
1.43 ! ohara 3309: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3310: (exit $ac_status); } && {
3311: test -z "$ac_c_werror_flag" ||
3312: test ! -s conftest.err
3313: } && test -s conftest.$ac_objext; then
1.14 noro 3314: ac_cv_prog_cc_g=yes
3315: else
1.43 ! ohara 3316: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3317: sed 's/^/| /' conftest.$ac_ext >&5
3318:
1.37 ohara 3319:
3320: fi
3321:
3322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 3323: fi
1.37 ohara 3324:
3325: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326: fi
3327:
3328: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329: ac_c_werror_flag=$ac_save_c_werror_flag
1.14 noro 3330: fi
1.43 ! ohara 3331: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 3332: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.14 noro 3333: if test "$ac_test_CFLAGS" = set; then
3334: CFLAGS=$ac_save_CFLAGS
3335: elif test $ac_cv_prog_cc_g = yes; then
3336: if test "$GCC" = yes; then
3337: CFLAGS="-g -O2"
3338: else
3339: CFLAGS="-g"
3340: fi
3341: else
3342: if test "$GCC" = yes; then
3343: CFLAGS="-O2"
3344: else
3345: CFLAGS=
3346: fi
3347: fi
1.43 ! ohara 3348: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 3349: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.37 ohara 3350: if test "${ac_cv_prog_cc_c89+set}" = set; then
1.43 ! ohara 3351: $as_echo_n "(cached) " >&6
1.32 noro 3352: else
1.37 ohara 3353: ac_cv_prog_cc_c89=no
1.32 noro 3354: ac_save_CC=$CC
3355: cat >conftest.$ac_ext <<_ACEOF
3356: /* confdefs.h. */
3357: _ACEOF
3358: cat confdefs.h >>conftest.$ac_ext
3359: cat >>conftest.$ac_ext <<_ACEOF
3360: /* end confdefs.h. */
3361: #include <stdarg.h>
3362: #include <stdio.h>
3363: #include <sys/types.h>
3364: #include <sys/stat.h>
3365: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3366: struct buf { int x; };
3367: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3368: static char *e (p, i)
3369: char **p;
3370: int i;
3371: {
3372: return p[i];
3373: }
3374: static char *f (char * (*g) (char **, int), char **p, ...)
3375: {
3376: char *s;
3377: va_list v;
3378: va_start (v,p);
3379: s = g (p, va_arg (v,int));
3380: va_end (v);
3381: return s;
3382: }
3383:
3384: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3385: function prototypes and stuff, but not '\xHH' hex character constants.
3386: These don't provoke an error unfortunately, instead are silently treated
1.37 ohara 3387: as 'x'. The following induces an error, until -std is added to get
1.32 noro 3388: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3389: array size at least. It's necessary to write '\x00'==0 to get something
1.37 ohara 3390: that's true only with -std. */
1.32 noro 3391: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3392:
1.37 ohara 3393: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3394: inside strings and character constants. */
3395: #define FOO(x) 'x'
3396: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3397:
1.32 noro 3398: int test (int i, double x);
3399: struct s1 {int (*f) (int a);};
3400: struct s2 {int (*f) (double a);};
3401: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3402: int argc;
3403: char **argv;
3404: int
3405: main ()
3406: {
3407: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408: ;
3409: return 0;
3410: }
3411: _ACEOF
1.37 ohara 3412: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3413: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.32 noro 3414: do
3415: CC="$ac_save_CC $ac_arg"
3416: rm -f conftest.$ac_objext
1.37 ohara 3417: if { (ac_try="$ac_compile"
3418: case "(($ac_try" in
3419: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420: *) ac_try_echo=$ac_try;;
3421: esac
1.43 ! ohara 3422: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3423: $as_echo "$ac_try_echo") >&5
1.37 ohara 3424: (eval "$ac_compile") 2>conftest.er1
1.32 noro 3425: ac_status=$?
3426: grep -v '^ *+' conftest.er1 >conftest.err
3427: rm -f conftest.er1
3428: cat conftest.err >&5
1.43 ! ohara 3429: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3430: (exit $ac_status); } && {
3431: test -z "$ac_c_werror_flag" ||
3432: test ! -s conftest.err
3433: } && test -s conftest.$ac_objext; then
3434: ac_cv_prog_cc_c89=$ac_arg
1.32 noro 3435: else
1.43 ! ohara 3436: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3437: sed 's/^/| /' conftest.$ac_ext >&5
3438:
1.37 ohara 3439:
1.32 noro 3440: fi
1.37 ohara 3441:
3442: rm -f core conftest.err conftest.$ac_objext
3443: test "x$ac_cv_prog_cc_c89" != "xno" && break
1.32 noro 3444: done
1.37 ohara 3445: rm -f conftest.$ac_ext
1.32 noro 3446: CC=$ac_save_CC
3447:
3448: fi
1.37 ohara 3449: # AC_CACHE_VAL
3450: case "x$ac_cv_prog_cc_c89" in
3451: x)
1.43 ! ohara 3452: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 3453: $as_echo "none needed" >&6; } ;;
1.37 ohara 3454: xno)
1.43 ! ohara 3455: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 3456: $as_echo "unsupported" >&6; } ;;
1.32 noro 3457: *)
1.37 ohara 3458: CC="$CC $ac_cv_prog_cc_c89"
1.43 ! ohara 3459: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 3460: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.32 noro 3461: esac
3462:
3463:
1.14 noro 3464: ac_ext=c
3465: ac_cpp='$CPP $CPPFLAGS'
3466: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.37 ohara 3469: DEPDIR="${am__leading_dot}deps"
3470:
3471: ac_config_commands="$ac_config_commands depfiles"
1.14 noro 3472:
3473:
3474: am_make=${MAKE-make}
3475: cat > confinc << 'END'
1.37 ohara 3476: am__doit:
1.14 noro 3477: @echo done
1.37 ohara 3478: .PHONY: am__doit
1.14 noro 3479: END
3480: # If we don't find an include directive, just comment out the code.
1.43 ! ohara 3481: { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 3482: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.37 ohara 3483: am__include="#"
1.14 noro 3484: am__quote=
3485: _am_result=none
3486: # First try GNU make style include.
3487: echo "include confinc" > confmf
3488: # We grep out `Entering directory' and `Leaving directory'
3489: # messages which can occur if `w' ends up in MAKEFLAGS.
3490: # In particular we don't look at `^make:' because GNU make might
3491: # be invoked under some other name (usually "gmake"), in which
3492: # case it prints its new name instead of `make'.
1.37 ohara 3493: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.14 noro 3494: am__include=include
3495: am__quote=
3496: _am_result=GNU
3497: fi
3498: # Now try BSD make style include.
3499: if test "$am__include" = "#"; then
3500: echo '.include "confinc"' > confmf
3501: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3502: am__include=.include
1.37 ohara 3503: am__quote="\""
1.14 noro 3504: _am_result=BSD
3505: fi
3506: fi
3507:
3508:
1.43 ! ohara 3509: { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
! 3510: $as_echo "$_am_result" >&6; }
1.14 noro 3511: rm -f confinc confmf
3512:
1.37 ohara 3513: # Check whether --enable-dependency-tracking was given.
3514: if test "${enable_dependency_tracking+set}" = set; then
3515: enableval=$enable_dependency_tracking;
3516: fi
3517:
3518: if test "x$enable_dependency_tracking" != xno; then
3519: am_depcomp="$ac_aux_dir/depcomp"
3520: AMDEPBACKSLASH='\'
3521: fi
3522: if test "x$enable_dependency_tracking" != xno; then
3523: AMDEP_TRUE=
3524: AMDEP_FALSE='#'
3525: else
3526: AMDEP_TRUE='#'
3527: AMDEP_FALSE=
3528: fi
3529:
3530:
1.14 noro 3531:
3532: depcc="$CC" am_compiler_list=
3533:
1.43 ! ohara 3534: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 3535: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.14 noro 3536: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.43 ! ohara 3537: $as_echo_n "(cached) " >&6
1.14 noro 3538: else
3539: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3540: # We make a subdir and do the tests there. Otherwise we can end up
3541: # making bogus files that we don't know about and never remove. For
3542: # instance it was reported that on HP-UX the gcc test will end up
3543: # making a dummy file named `D' -- because `-MD' means `put the output
3544: # in D'.
3545: mkdir conftest.dir
3546: # Copy depcomp to subdir because otherwise we won't find it if we're
3547: # using a relative directory.
3548: cp "$am_depcomp" conftest.dir
3549: cd conftest.dir
1.37 ohara 3550: # We will build objects and dependencies in a subdirectory because
3551: # it helps to detect inapplicable dependency modes. For instance
3552: # both Tru64's cc and ICC support -MD to output dependencies as a
3553: # side effect of compilation, but ICC will put the dependencies in
3554: # the current directory while Tru64 will put them in the object
3555: # directory.
3556: mkdir sub
1.14 noro 3557:
3558: am_cv_CC_dependencies_compiler_type=none
3559: if test "$am_compiler_list" = ""; then
3560: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3561: fi
3562: for depmode in $am_compiler_list; do
1.37 ohara 3563: # Setup a source with many dependencies, because some compilers
3564: # like to wrap large dependency lists on column 80 (with \), and
3565: # we should not choose a depcomp mode which is confused by this.
3566: #
1.14 noro 3567: # We need to recreate these files for each test, as the compiler may
3568: # overwrite some of them when testing with obscure command lines.
3569: # This happens at least with the AIX C compiler.
1.37 ohara 3570: : > sub/conftest.c
3571: for i in 1 2 3 4 5 6; do
3572: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3573: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3574: # Solaris 8's {/usr,}/bin/sh.
3575: touch sub/conftst$i.h
3576: done
3577: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.14 noro 3578:
3579: case $depmode in
3580: nosideeffect)
3581: # after this tag, mechanisms are not by side-effect, so they'll
3582: # only be used when explicitly requested
3583: if test "x$enable_dependency_tracking" = xyes; then
3584: continue
3585: else
3586: break
3587: fi
3588: ;;
3589: none) break ;;
3590: esac
3591: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3592: # mode. It turns out that the SunPro C++ compiler does not properly
3593: # handle `-M -o', and we need to detect this.
3594: if depmode=$depmode \
1.37 ohara 3595: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3596: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3597: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3598: >/dev/null 2>conftest.err &&
3599: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3600: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3601: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.14 noro 3602: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.37 ohara 3603: # icc doesn't choke on unknown options, it will just issue warnings
3604: # or remarks (even with -Werror). So we grep stderr for any message
3605: # that says an option was ignored or not supported.
3606: # When given -MP, icc 7.0 and 7.1 complain thusly:
3607: # icc: Command line warning: ignoring option '-M'; no argument required
3608: # The diagnosis changed in icc 8.0:
3609: # icc: Command line remark: option '-MP' not supported
3610: if (grep 'ignoring option' conftest.err ||
3611: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3612: am_cv_CC_dependencies_compiler_type=$depmode
3613: break
3614: fi
1.14 noro 3615: fi
3616: done
3617:
3618: cd ..
3619: rm -rf conftest.dir
3620: else
3621: am_cv_CC_dependencies_compiler_type=none
3622: fi
3623:
3624: fi
1.43 ! ohara 3625: { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3626: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.37 ohara 3627: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3628:
3629: if
3630: test "x$enable_dependency_tracking" != xno \
3631: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3632: am__fastdepCC_TRUE=
3633: am__fastdepCC_FALSE='#'
3634: else
3635: am__fastdepCC_TRUE='#'
3636: am__fastdepCC_FALSE=
3637: fi
1.14 noro 3638:
3639:
3640: # Find a good install program. We prefer a C program (faster),
3641: # so one script is as good as another. But avoid the broken or
3642: # incompatible versions:
3643: # SysV /etc/install, /usr/sbin/install
3644: # SunOS /usr/etc/install
3645: # IRIX /sbin/install
3646: # AIX /bin/install
3647: # AmigaOS /C/install, which installs bootblocks on floppy discs
3648: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3649: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3650: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.32 noro 3651: # OS/2's system install, which has a completely different semantic
1.14 noro 3652: # ./install, which can be erroneously created by make from ./install.sh.
1.43 ! ohara 3653: # Reject install programs that cannot install multiple files.
! 3654: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 3655: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14 noro 3656: if test -z "$INSTALL"; then
3657: if test "${ac_cv_path_install+set}" = set; then
1.43 ! ohara 3658: $as_echo_n "(cached) " >&6
1.14 noro 3659: else
3660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661: for as_dir in $PATH
3662: do
3663: IFS=$as_save_IFS
3664: test -z "$as_dir" && as_dir=.
3665: # Account for people who put trailing slashes in PATH elements.
3666: case $as_dir/ in
3667: ./ | .// | /cC/* | \
3668: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.32 noro 3669: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.14 noro 3670: /usr/ucb/* ) ;;
3671: *)
3672: # OSF1 and SCO ODT 3.0 have their own names for install.
3673: # Don't use installbsd from OSF since it installs stuff as root
3674: # by default.
3675: for ac_prog in ginstall scoinst install; do
3676: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 3677: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.32 noro 3678: if test $ac_prog = install &&
3679: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3680: # AIX install. It has an incompatible calling convention.
3681: :
3682: elif test $ac_prog = install &&
3683: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3684: # program-specific install script used by HP pwplus--don't use.
3685: :
3686: else
1.43 ! ohara 3687: rm -rf conftest.one conftest.two conftest.dir
! 3688: echo one > conftest.one
! 3689: echo two > conftest.two
! 3690: mkdir conftest.dir
! 3691: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 3692: test -s conftest.one && test -s conftest.two &&
! 3693: test -s conftest.dir/conftest.one &&
! 3694: test -s conftest.dir/conftest.two
! 3695: then
! 3696: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 3697: break 3
! 3698: fi
1.32 noro 3699: fi
3700: fi
1.14 noro 3701: done
3702: done
3703: ;;
3704: esac
1.43 ! ohara 3705:
1.14 noro 3706: done
1.37 ohara 3707: IFS=$as_save_IFS
1.14 noro 3708:
1.43 ! ohara 3709: rm -rf conftest.one conftest.two conftest.dir
1.14 noro 3710:
3711: fi
3712: if test "${ac_cv_path_install+set}" = set; then
3713: INSTALL=$ac_cv_path_install
3714: else
1.37 ohara 3715: # As a last resort, use the slow shell script. Don't cache a
3716: # value for INSTALL within a source directory, because that will
1.14 noro 3717: # break other packages using the cache if that directory is
1.37 ohara 3718: # removed, or if the value is a relative name.
1.14 noro 3719: INSTALL=$ac_install_sh
3720: fi
3721: fi
1.43 ! ohara 3722: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 3723: $as_echo "$INSTALL" >&6; }
1.14 noro 3724:
3725: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3726: # It thinks the first close brace ends the variable substitution.
3727: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3728:
3729: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3730:
3731: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3732:
1.43 ! ohara 3733: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 3734: $as_echo_n "checking whether ln -s works... " >&6; }
1.14 noro 3735: LN_S=$as_ln_s
3736: if test "$LN_S" = "ln -s"; then
1.43 ! ohara 3737: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 3738: $as_echo "yes" >&6; }
1.14 noro 3739: else
1.43 ! ohara 3740: { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 3741: $as_echo "no, using $LN_S" >&6; }
1.14 noro 3742: fi
3743:
3744: if test -n "$ac_tool_prefix"; then
3745: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3746: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.43 ! ohara 3747: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3748: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 3749: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.43 ! ohara 3750: $as_echo_n "(cached) " >&6
1.14 noro 3751: else
3752: if test -n "$RANLIB"; then
3753: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3754: else
3755: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756: for as_dir in $PATH
3757: do
3758: IFS=$as_save_IFS
3759: test -z "$as_dir" && as_dir=.
3760: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 3761: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 3762: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.43 ! ohara 3763: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 3764: break 2
3765: fi
3766: done
3767: done
1.37 ohara 3768: IFS=$as_save_IFS
1.14 noro 3769:
3770: fi
3771: fi
3772: RANLIB=$ac_cv_prog_RANLIB
3773: if test -n "$RANLIB"; then
1.43 ! ohara 3774: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 3775: $as_echo "$RANLIB" >&6; }
1.14 noro 3776: else
1.43 ! ohara 3777: { $as_echo "$as_me:$LINENO: result: no" >&5
! 3778: $as_echo "no" >&6; }
1.14 noro 3779: fi
3780:
1.37 ohara 3781:
1.14 noro 3782: fi
3783: if test -z "$ac_cv_prog_RANLIB"; then
3784: ac_ct_RANLIB=$RANLIB
3785: # Extract the first word of "ranlib", so it can be a program name with args.
3786: set dummy ranlib; ac_word=$2
1.43 ! ohara 3787: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3788: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 3789: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.43 ! ohara 3790: $as_echo_n "(cached) " >&6
1.14 noro 3791: else
3792: if test -n "$ac_ct_RANLIB"; then
3793: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3794: else
3795: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796: for as_dir in $PATH
3797: do
3798: IFS=$as_save_IFS
3799: test -z "$as_dir" && as_dir=.
3800: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 3801: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 3802: ac_cv_prog_ac_ct_RANLIB="ranlib"
1.43 ! ohara 3803: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 3804: break 2
3805: fi
3806: done
3807: done
1.37 ohara 3808: IFS=$as_save_IFS
1.14 noro 3809:
3810: fi
3811: fi
3812: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3813: if test -n "$ac_ct_RANLIB"; then
1.43 ! ohara 3814: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 3815: $as_echo "$ac_ct_RANLIB" >&6; }
1.14 noro 3816: else
1.43 ! ohara 3817: { $as_echo "$as_me:$LINENO: result: no" >&5
! 3818: $as_echo "no" >&6; }
1.14 noro 3819: fi
3820:
1.37 ohara 3821: if test "x$ac_ct_RANLIB" = x; then
3822: RANLIB=":"
3823: else
3824: case $cross_compiling:$ac_tool_warned in
3825: yes:)
1.43 ! ohara 3826: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 3827: whose name does not start with the host triplet. If you think this
3828: configuration is useful to you, please write to autoconf@gnu.org." >&5
1.43 ! ohara 3829: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.37 ohara 3830: whose name does not start with the host triplet. If you think this
3831: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3832: ac_tool_warned=yes ;;
3833: esac
3834: RANLIB=$ac_ct_RANLIB
3835: fi
1.14 noro 3836: else
3837: RANLIB="$ac_cv_prog_RANLIB"
3838: fi
3839:
3840: for ac_prog in 'bison -y' byacc
3841: do
3842: # Extract the first word of "$ac_prog", so it can be a program name with args.
3843: set dummy $ac_prog; ac_word=$2
1.43 ! ohara 3844: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3845: $as_echo_n "checking for $ac_word... " >&6; }
1.14 noro 3846: if test "${ac_cv_prog_YACC+set}" = set; then
1.43 ! ohara 3847: $as_echo_n "(cached) " >&6
1.14 noro 3848: else
3849: if test -n "$YACC"; then
3850: ac_cv_prog_YACC="$YACC" # Let the user override the test.
3851: else
3852: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853: for as_dir in $PATH
3854: do
3855: IFS=$as_save_IFS
3856: test -z "$as_dir" && as_dir=.
3857: for ac_exec_ext in '' $ac_executable_extensions; do
1.37 ohara 3858: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.14 noro 3859: ac_cv_prog_YACC="$ac_prog"
1.43 ! ohara 3860: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14 noro 3861: break 2
3862: fi
3863: done
3864: done
1.37 ohara 3865: IFS=$as_save_IFS
1.14 noro 3866:
3867: fi
3868: fi
3869: YACC=$ac_cv_prog_YACC
3870: if test -n "$YACC"; then
1.43 ! ohara 3871: { $as_echo "$as_me:$LINENO: result: $YACC" >&5
! 3872: $as_echo "$YACC" >&6; }
1.14 noro 3873: else
1.43 ! ohara 3874: { $as_echo "$as_me:$LINENO: result: no" >&5
! 3875: $as_echo "no" >&6; }
1.14 noro 3876: fi
3877:
1.37 ohara 3878:
1.14 noro 3879: test -n "$YACC" && break
3880: done
3881: test -n "$YACC" || YACC="yacc"
3882:
3883:
3884:
3885: ac_ext=c
3886: ac_cpp='$CPP $CPPFLAGS'
3887: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.43 ! ohara 3890: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3891: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.14 noro 3892: # On Suns, sometimes $CPP names a directory.
3893: if test -n "$CPP" && test -d "$CPP"; then
3894: CPP=
3895: fi
3896: if test -z "$CPP"; then
3897: if test "${ac_cv_prog_CPP+set}" = set; then
1.43 ! ohara 3898: $as_echo_n "(cached) " >&6
1.14 noro 3899: else
3900: # Double quotes because CPP needs to be expanded
3901: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3902: do
3903: ac_preproc_ok=false
3904: for ac_c_preproc_warn_flag in '' yes
3905: do
3906: # Use a header file that comes with gcc, so configuring glibc
3907: # with a fresh cross-compiler works.
1.32 noro 3908: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3909: # <limits.h> exists even on freestanding compilers.
1.14 noro 3910: # On the NeXT, cc -E runs the code through the compiler's parser,
3911: # not just through cpp. "Syntax error" is here to catch this case.
3912: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 3913: /* confdefs.h. */
3914: _ACEOF
3915: cat confdefs.h >>conftest.$ac_ext
3916: cat >>conftest.$ac_ext <<_ACEOF
3917: /* end confdefs.h. */
3918: #ifdef __STDC__
3919: # include <limits.h>
3920: #else
3921: # include <assert.h>
3922: #endif
3923: Syntax error
1.14 noro 3924: _ACEOF
1.37 ohara 3925: if { (ac_try="$ac_cpp conftest.$ac_ext"
3926: case "(($ac_try" in
3927: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928: *) ac_try_echo=$ac_try;;
3929: esac
1.43 ! ohara 3930: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3931: $as_echo "$ac_try_echo") >&5
1.37 ohara 3932: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.14 noro 3933: ac_status=$?
1.32 noro 3934: grep -v '^ *+' conftest.er1 >conftest.err
1.14 noro 3935: rm -f conftest.er1
3936: cat conftest.err >&5
1.43 ! ohara 3937: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3938: (exit $ac_status); } >/dev/null && {
3939: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3940: test ! -s conftest.err
3941: }; then
1.14 noro 3942: :
3943: else
1.43 ! ohara 3944: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3945: sed 's/^/| /' conftest.$ac_ext >&5
3946:
1.14 noro 3947: # Broken: fails on valid input.
3948: continue
3949: fi
1.37 ohara 3950:
1.14 noro 3951: rm -f conftest.err conftest.$ac_ext
3952:
1.37 ohara 3953: # OK, works on sane cases. Now check whether nonexistent headers
1.14 noro 3954: # can be detected and how.
3955: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 3956: /* confdefs.h. */
3957: _ACEOF
3958: cat confdefs.h >>conftest.$ac_ext
3959: cat >>conftest.$ac_ext <<_ACEOF
3960: /* end confdefs.h. */
1.14 noro 3961: #include <ac_nonexistent.h>
3962: _ACEOF
1.37 ohara 3963: if { (ac_try="$ac_cpp conftest.$ac_ext"
3964: case "(($ac_try" in
3965: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966: *) ac_try_echo=$ac_try;;
3967: esac
1.43 ! ohara 3968: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3969: $as_echo "$ac_try_echo") >&5
1.37 ohara 3970: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.14 noro 3971: ac_status=$?
1.32 noro 3972: grep -v '^ *+' conftest.er1 >conftest.err
1.14 noro 3973: rm -f conftest.er1
3974: cat conftest.err >&5
1.43 ! ohara 3975: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 3976: (exit $ac_status); } >/dev/null && {
3977: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3978: test ! -s conftest.err
3979: }; then
1.14 noro 3980: # Broken: success on invalid input.
3981: continue
3982: else
1.43 ! ohara 3983: $as_echo "$as_me: failed program was:" >&5
1.32 noro 3984: sed 's/^/| /' conftest.$ac_ext >&5
3985:
1.14 noro 3986: # Passes both tests.
3987: ac_preproc_ok=:
3988: break
3989: fi
1.37 ohara 3990:
1.14 noro 3991: rm -f conftest.err conftest.$ac_ext
3992:
3993: done
3994: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3995: rm -f conftest.err conftest.$ac_ext
3996: if $ac_preproc_ok; then
3997: break
3998: fi
3999:
4000: done
4001: ac_cv_prog_CPP=$CPP
4002:
4003: fi
4004: CPP=$ac_cv_prog_CPP
4005: else
4006: ac_cv_prog_CPP=$CPP
4007: fi
1.43 ! ohara 4008: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
! 4009: $as_echo "$CPP" >&6; }
1.14 noro 4010: ac_preproc_ok=false
4011: for ac_c_preproc_warn_flag in '' yes
4012: do
4013: # Use a header file that comes with gcc, so configuring glibc
4014: # with a fresh cross-compiler works.
1.32 noro 4015: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4016: # <limits.h> exists even on freestanding compilers.
1.14 noro 4017: # On the NeXT, cc -E runs the code through the compiler's parser,
4018: # not just through cpp. "Syntax error" is here to catch this case.
4019: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4020: /* confdefs.h. */
4021: _ACEOF
4022: cat confdefs.h >>conftest.$ac_ext
4023: cat >>conftest.$ac_ext <<_ACEOF
4024: /* end confdefs.h. */
4025: #ifdef __STDC__
4026: # include <limits.h>
4027: #else
4028: # include <assert.h>
4029: #endif
4030: Syntax error
1.14 noro 4031: _ACEOF
1.37 ohara 4032: if { (ac_try="$ac_cpp conftest.$ac_ext"
4033: case "(($ac_try" in
4034: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035: *) ac_try_echo=$ac_try;;
4036: esac
1.43 ! ohara 4037: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4038: $as_echo "$ac_try_echo") >&5
1.37 ohara 4039: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.14 noro 4040: ac_status=$?
1.32 noro 4041: grep -v '^ *+' conftest.er1 >conftest.err
1.14 noro 4042: rm -f conftest.er1
4043: cat conftest.err >&5
1.43 ! ohara 4044: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4045: (exit $ac_status); } >/dev/null && {
4046: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4047: test ! -s conftest.err
4048: }; then
1.14 noro 4049: :
4050: else
1.43 ! ohara 4051: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4052: sed 's/^/| /' conftest.$ac_ext >&5
4053:
1.14 noro 4054: # Broken: fails on valid input.
4055: continue
4056: fi
1.37 ohara 4057:
1.14 noro 4058: rm -f conftest.err conftest.$ac_ext
4059:
1.37 ohara 4060: # OK, works on sane cases. Now check whether nonexistent headers
1.14 noro 4061: # can be detected and how.
4062: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4063: /* confdefs.h. */
4064: _ACEOF
4065: cat confdefs.h >>conftest.$ac_ext
4066: cat >>conftest.$ac_ext <<_ACEOF
4067: /* end confdefs.h. */
1.14 noro 4068: #include <ac_nonexistent.h>
4069: _ACEOF
1.37 ohara 4070: if { (ac_try="$ac_cpp conftest.$ac_ext"
4071: case "(($ac_try" in
4072: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073: *) ac_try_echo=$ac_try;;
4074: esac
1.43 ! ohara 4075: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4076: $as_echo "$ac_try_echo") >&5
1.37 ohara 4077: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.14 noro 4078: ac_status=$?
1.32 noro 4079: grep -v '^ *+' conftest.er1 >conftest.err
1.14 noro 4080: rm -f conftest.er1
4081: cat conftest.err >&5
1.43 ! ohara 4082: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4083: (exit $ac_status); } >/dev/null && {
4084: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4085: test ! -s conftest.err
4086: }; then
1.14 noro 4087: # Broken: success on invalid input.
4088: continue
4089: else
1.43 ! ohara 4090: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4091: sed 's/^/| /' conftest.$ac_ext >&5
4092:
1.14 noro 4093: # Passes both tests.
4094: ac_preproc_ok=:
4095: break
4096: fi
1.37 ohara 4097:
1.14 noro 4098: rm -f conftest.err conftest.$ac_ext
4099:
4100: done
4101: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4102: rm -f conftest.err conftest.$ac_ext
4103: if $ac_preproc_ok; then
4104: :
4105: else
1.43 ! ohara 4106: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.32 noro 4107: See \`config.log' for more details." >&5
1.43 ! ohara 4108: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.32 noro 4109: See \`config.log' for more details." >&2;}
1.14 noro 4110: { (exit 1); exit 1; }; }
4111: fi
4112:
4113: ac_ext=c
4114: ac_cpp='$CPP $CPPFLAGS'
4115: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4116: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4117: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118:
4119:
1.43 ! ohara 4120: { $as_echo "$as_me:$LINENO: checking for X" >&5
! 4121: $as_echo_n "checking for X... " >&6; }
1.14 noro 4122:
4123:
1.37 ohara 4124: # Check whether --with-x was given.
1.14 noro 4125: if test "${with_x+set}" = set; then
1.37 ohara 4126: withval=$with_x;
4127: fi
1.14 noro 4128:
4129: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4130: if test "x$with_x" = xno; then
4131: # The user explicitly disabled X.
4132: have_x=disabled
4133: else
1.37 ohara 4134: case $x_includes,$x_libraries in #(
1.43 ! ohara 4135: *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
! 4136: $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
1.37 ohara 4137: { (exit 1); exit 1; }; };; #(
4138: *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
1.43 ! ohara 4139: $as_echo_n "(cached) " >&6
1.14 noro 4140: else
4141: # One or both of the vars are not set, and there is no cached value.
4142: ac_x_includes=no ac_x_libraries=no
1.37 ohara 4143: rm -f -r conftest.dir
1.14 noro 4144: if mkdir conftest.dir; then
4145: cd conftest.dir
4146: cat >Imakefile <<'_ACEOF'
1.37 ohara 4147: incroot:
4148: @echo incroot='${INCROOT}'
4149: usrlibdir:
4150: @echo usrlibdir='${USRLIBDIR}'
4151: libdir:
4152: @echo libdir='${LIBDIR}'
1.14 noro 4153: _ACEOF
1.37 ohara 4154: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.14 noro 4155: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.37 ohara 4156: for ac_var in incroot usrlibdir libdir; do
4157: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4158: done
1.14 noro 4159: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1.43 ! ohara 4160: for ac_extension in a so sl dylib la dll; do
1.37 ohara 4161: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4162: test -f "$ac_im_libdir/libX11.$ac_extension"; then
1.32 noro 4163: ac_im_usrlibdir=$ac_im_libdir; break
1.14 noro 4164: fi
4165: done
4166: # Screen out bogus values from the imake configuration. They are
4167: # bogus both because they are the default anyway, and because
4168: # using them would break gcc on systems where it needs fixed includes.
4169: case $ac_im_incroot in
1.37 ohara 4170: /usr/include) ac_x_includes= ;;
1.14 noro 4171: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4172: esac
4173: case $ac_im_usrlibdir in
4174: /usr/lib | /lib) ;;
4175: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4176: esac
4177: fi
4178: cd ..
1.37 ohara 4179: rm -f -r conftest.dir
1.14 noro 4180: fi
4181:
4182: # Standard set of common directories for X headers.
4183: # Check X11 before X11Rn because it is often a symlink to the current release.
4184: ac_x_header_dirs='
4185: /usr/X11/include
4186: /usr/X11R6/include
4187: /usr/X11R5/include
4188: /usr/X11R4/include
4189:
4190: /usr/include/X11
4191: /usr/include/X11R6
4192: /usr/include/X11R5
4193: /usr/include/X11R4
4194:
4195: /usr/local/X11/include
4196: /usr/local/X11R6/include
4197: /usr/local/X11R5/include
4198: /usr/local/X11R4/include
4199:
4200: /usr/local/include/X11
4201: /usr/local/include/X11R6
4202: /usr/local/include/X11R5
4203: /usr/local/include/X11R4
4204:
4205: /usr/X386/include
4206: /usr/x386/include
4207: /usr/XFree86/include/X11
4208:
4209: /usr/include
4210: /usr/local/include
4211: /usr/unsupported/include
4212: /usr/athena/include
4213: /usr/local/x11r5/include
4214: /usr/lpp/Xamples/include
4215:
4216: /usr/openwin/include
4217: /usr/openwin/share/include'
4218:
4219: if test "$ac_x_includes" = no; then
1.37 ohara 4220: # Guess where to find include files, by looking for Xlib.h.
1.14 noro 4221: # First, try using that file with no special directory specified.
4222: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4223: /* confdefs.h. */
4224: _ACEOF
4225: cat confdefs.h >>conftest.$ac_ext
4226: cat >>conftest.$ac_ext <<_ACEOF
4227: /* end confdefs.h. */
1.37 ohara 4228: #include <X11/Xlib.h>
1.14 noro 4229: _ACEOF
1.37 ohara 4230: if { (ac_try="$ac_cpp conftest.$ac_ext"
4231: case "(($ac_try" in
4232: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233: *) ac_try_echo=$ac_try;;
4234: esac
1.43 ! ohara 4235: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4236: $as_echo "$ac_try_echo") >&5
1.37 ohara 4237: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.14 noro 4238: ac_status=$?
1.32 noro 4239: grep -v '^ *+' conftest.er1 >conftest.err
1.14 noro 4240: rm -f conftest.er1
4241: cat conftest.err >&5
1.43 ! ohara 4242: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4243: (exit $ac_status); } >/dev/null && {
4244: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4245: test ! -s conftest.err
4246: }; then
1.14 noro 4247: # We can compile using X headers with no special include directory.
4248: ac_x_includes=
4249: else
1.43 ! ohara 4250: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4251: sed 's/^/| /' conftest.$ac_ext >&5
4252:
1.14 noro 4253: for ac_dir in $ac_x_header_dirs; do
1.37 ohara 4254: if test -r "$ac_dir/X11/Xlib.h"; then
1.14 noro 4255: ac_x_includes=$ac_dir
4256: break
4257: fi
4258: done
4259: fi
1.37 ohara 4260:
1.14 noro 4261: rm -f conftest.err conftest.$ac_ext
4262: fi # $ac_x_includes = no
4263:
4264: if test "$ac_x_libraries" = no; then
4265: # Check for the libraries.
4266: # See if we find them without any special options.
4267: # Don't add to $LIBS permanently.
4268: ac_save_LIBS=$LIBS
1.37 ohara 4269: LIBS="-lX11 $LIBS"
1.14 noro 4270: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4271: /* confdefs.h. */
4272: _ACEOF
4273: cat confdefs.h >>conftest.$ac_ext
4274: cat >>conftest.$ac_ext <<_ACEOF
4275: /* end confdefs.h. */
1.37 ohara 4276: #include <X11/Xlib.h>
1.14 noro 4277: int
4278: main ()
4279: {
1.37 ohara 4280: XrmInitialize ()
1.14 noro 4281: ;
4282: return 0;
4283: }
4284: _ACEOF
4285: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4286: if { (ac_try="$ac_link"
4287: case "(($ac_try" in
4288: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289: *) ac_try_echo=$ac_try;;
4290: esac
1.43 ! ohara 4291: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4292: $as_echo "$ac_try_echo") >&5
1.37 ohara 4293: (eval "$ac_link") 2>conftest.er1
1.14 noro 4294: ac_status=$?
1.32 noro 4295: grep -v '^ *+' conftest.er1 >conftest.err
4296: rm -f conftest.er1
4297: cat conftest.err >&5
1.43 ! ohara 4298: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4299: (exit $ac_status); } && {
4300: test -z "$ac_c_werror_flag" ||
4301: test ! -s conftest.err
1.43 ! ohara 4302: } && test -s conftest$ac_exeext && {
! 4303: test "$cross_compiling" = yes ||
! 4304: $as_test_x conftest$ac_exeext
! 4305: }; then
1.14 noro 4306: LIBS=$ac_save_LIBS
4307: # We can link X programs with no special library path.
4308: ac_x_libraries=
4309: else
1.43 ! ohara 4310: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4311: sed 's/^/| /' conftest.$ac_ext >&5
4312:
1.37 ohara 4313: LIBS=$ac_save_LIBS
1.43 ! ohara 4314: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.14 noro 4315: do
4316: # Don't even attempt the hair of trying to link an X program!
1.43 ! ohara 4317: for ac_extension in a so sl dylib la dll; do
1.37 ohara 4318: if test -r "$ac_dir/libX11.$ac_extension"; then
1.14 noro 4319: ac_x_libraries=$ac_dir
4320: break 2
4321: fi
4322: done
4323: done
4324: fi
1.37 ohara 4325:
1.43 ! ohara 4326: rm -rf conftest.dSYM
1.37 ohara 4327: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4328: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4329: fi # $ac_x_libraries = no
4330:
1.37 ohara 4331: case $ac_x_includes,$ac_x_libraries in #(
4332: no,* | *,no | *\'*)
4333: # Didn't find X, or a directory has "'" in its name.
4334: ac_cv_have_x="have_x=no";; #(
4335: *)
4336: # Record where we found X for the cache.
4337: ac_cv_have_x="have_x=yes\
4338: ac_x_includes='$ac_x_includes'\
4339: ac_x_libraries='$ac_x_libraries'"
4340: esac
1.14 noro 4341: fi
1.37 ohara 4342: ;; #(
4343: *) have_x=yes;;
4344: esac
1.14 noro 4345: eval "$ac_cv_have_x"
4346: fi # $with_x != no
4347:
4348: if test "$have_x" != yes; then
1.43 ! ohara 4349: { $as_echo "$as_me:$LINENO: result: $have_x" >&5
! 4350: $as_echo "$have_x" >&6; }
1.14 noro 4351: no_x=yes
4352: else
4353: # If each of the values was on the command line, it overrides each guess.
4354: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4355: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4356: # Update the cache value to reflect the command line values.
1.37 ohara 4357: ac_cv_have_x="have_x=yes\
4358: ac_x_includes='$x_includes'\
4359: ac_x_libraries='$x_libraries'"
1.43 ! ohara 4360: { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
! 4361: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.14 noro 4362: fi
4363:
4364: if test "$no_x" = yes; then
4365: # Not all programs may use this symbol, but it does not hurt to define it.
4366:
4367: cat >>confdefs.h <<\_ACEOF
4368: #define X_DISPLAY_MISSING 1
4369: _ACEOF
4370:
4371: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4372: else
4373: if test -n "$x_includes"; then
4374: X_CFLAGS="$X_CFLAGS -I$x_includes"
4375: fi
4376:
4377: # It would also be nice to do this for all -L options, not just this one.
4378: if test -n "$x_libraries"; then
4379: X_LIBS="$X_LIBS -L$x_libraries"
4380: # For Solaris; some versions of Sun CC require a space after -R and
4381: # others require no space. Words are not sufficient . . . .
1.43 ! ohara 4382: { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
! 4383: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
1.37 ohara 4384: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4385: ac_xsave_c_werror_flag=$ac_c_werror_flag
4386: ac_c_werror_flag=yes
4387: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4388: /* confdefs.h. */
4389: _ACEOF
4390: cat confdefs.h >>conftest.$ac_ext
4391: cat >>conftest.$ac_ext <<_ACEOF
4392: /* end confdefs.h. */
1.14 noro 4393:
4394: int
4395: main ()
4396: {
4397:
4398: ;
4399: return 0;
4400: }
4401: _ACEOF
4402: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4403: if { (ac_try="$ac_link"
4404: case "(($ac_try" in
4405: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406: *) ac_try_echo=$ac_try;;
4407: esac
1.43 ! ohara 4408: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4409: $as_echo "$ac_try_echo") >&5
1.37 ohara 4410: (eval "$ac_link") 2>conftest.er1
1.14 noro 4411: ac_status=$?
1.32 noro 4412: grep -v '^ *+' conftest.er1 >conftest.err
4413: rm -f conftest.er1
4414: cat conftest.err >&5
1.43 ! ohara 4415: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4416: (exit $ac_status); } && {
4417: test -z "$ac_c_werror_flag" ||
4418: test ! -s conftest.err
1.43 ! ohara 4419: } && test -s conftest$ac_exeext && {
! 4420: test "$cross_compiling" = yes ||
! 4421: $as_test_x conftest$ac_exeext
! 4422: }; then
! 4423: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4424: $as_echo "no" >&6; }
1.37 ohara 4425: X_LIBS="$X_LIBS -R$x_libraries"
1.14 noro 4426: else
1.43 ! ohara 4427: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4428: sed 's/^/| /' conftest.$ac_ext >&5
4429:
1.14 noro 4430: LIBS="$ac_xsave_LIBS -R $x_libraries"
1.37 ohara 4431: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4432: /* confdefs.h. */
4433: _ACEOF
4434: cat confdefs.h >>conftest.$ac_ext
4435: cat >>conftest.$ac_ext <<_ACEOF
4436: /* end confdefs.h. */
1.14 noro 4437:
4438: int
4439: main ()
4440: {
4441:
4442: ;
4443: return 0;
4444: }
4445: _ACEOF
4446: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4447: if { (ac_try="$ac_link"
4448: case "(($ac_try" in
4449: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450: *) ac_try_echo=$ac_try;;
4451: esac
1.43 ! ohara 4452: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4453: $as_echo "$ac_try_echo") >&5
1.37 ohara 4454: (eval "$ac_link") 2>conftest.er1
1.14 noro 4455: ac_status=$?
1.32 noro 4456: grep -v '^ *+' conftest.er1 >conftest.err
4457: rm -f conftest.er1
4458: cat conftest.err >&5
1.43 ! ohara 4459: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4460: (exit $ac_status); } && {
4461: test -z "$ac_c_werror_flag" ||
4462: test ! -s conftest.err
1.43 ! ohara 4463: } && test -s conftest$ac_exeext && {
! 4464: test "$cross_compiling" = yes ||
! 4465: $as_test_x conftest$ac_exeext
! 4466: }; then
! 4467: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 4468: $as_echo "yes" >&6; }
1.37 ohara 4469: X_LIBS="$X_LIBS -R $x_libraries"
1.14 noro 4470: else
1.43 ! ohara 4471: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4472: sed 's/^/| /' conftest.$ac_ext >&5
4473:
1.43 ! ohara 4474: { $as_echo "$as_me:$LINENO: result: neither works" >&5
! 4475: $as_echo "neither works" >&6; }
1.37 ohara 4476: fi
4477:
1.43 ! ohara 4478: rm -rf conftest.dSYM
1.37 ohara 4479: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4480: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4481: fi
1.37 ohara 4482:
1.43 ! ohara 4483: rm -rf conftest.dSYM
1.37 ohara 4484: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4485: conftest$ac_exeext conftest.$ac_ext
1.37 ohara 4486: ac_c_werror_flag=$ac_xsave_c_werror_flag
4487: LIBS=$ac_xsave_LIBS
1.14 noro 4488: fi
4489:
4490: # Check for system-dependent libraries X programs must link with.
4491: # Do this before checking for the system-independent R6 libraries
4492: # (-lICE), since we may need -lsocket or whatever for X linking.
4493:
4494: if test "$ISC" = yes; then
4495: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4496: else
4497: # Martyn Johnson says this is needed for Ultrix, if the X
4498: # libraries were built with DECnet support. And Karl Berry says
4499: # the Alpha needs dnet_stub (dnet does not exist).
4500: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4501: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4502: /* confdefs.h. */
4503: _ACEOF
4504: cat confdefs.h >>conftest.$ac_ext
4505: cat >>conftest.$ac_ext <<_ACEOF
4506: /* end confdefs.h. */
1.14 noro 4507:
1.37 ohara 4508: /* Override any GCC internal prototype to avoid an error.
4509: Use char because int might match the return type of a GCC
4510: builtin and then its argument prototype would still apply. */
1.14 noro 4511: #ifdef __cplusplus
4512: extern "C"
4513: #endif
4514: char XOpenDisplay ();
4515: int
4516: main ()
4517: {
1.37 ohara 4518: return XOpenDisplay ();
1.14 noro 4519: ;
4520: return 0;
4521: }
4522: _ACEOF
4523: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4524: if { (ac_try="$ac_link"
4525: case "(($ac_try" in
4526: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527: *) ac_try_echo=$ac_try;;
4528: esac
1.43 ! ohara 4529: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4530: $as_echo "$ac_try_echo") >&5
1.37 ohara 4531: (eval "$ac_link") 2>conftest.er1
1.14 noro 4532: ac_status=$?
1.32 noro 4533: grep -v '^ *+' conftest.er1 >conftest.err
4534: rm -f conftest.er1
4535: cat conftest.err >&5
1.43 ! ohara 4536: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4537: (exit $ac_status); } && {
4538: test -z "$ac_c_werror_flag" ||
4539: test ! -s conftest.err
1.43 ! ohara 4540: } && test -s conftest$ac_exeext && {
! 4541: test "$cross_compiling" = yes ||
! 4542: $as_test_x conftest$ac_exeext
! 4543: }; then
1.14 noro 4544: :
4545: else
1.43 ! ohara 4546: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4547: sed 's/^/| /' conftest.$ac_ext >&5
4548:
1.43 ! ohara 4549: { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
! 4550: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.14 noro 4551: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
1.43 ! ohara 4552: $as_echo_n "(cached) " >&6
1.14 noro 4553: else
4554: ac_check_lib_save_LIBS=$LIBS
4555: LIBS="-ldnet $LIBS"
4556: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4557: /* confdefs.h. */
4558: _ACEOF
4559: cat confdefs.h >>conftest.$ac_ext
4560: cat >>conftest.$ac_ext <<_ACEOF
4561: /* end confdefs.h. */
1.14 noro 4562:
1.37 ohara 4563: /* Override any GCC internal prototype to avoid an error.
4564: Use char because int might match the return type of a GCC
4565: builtin and then its argument prototype would still apply. */
1.14 noro 4566: #ifdef __cplusplus
4567: extern "C"
4568: #endif
4569: char dnet_ntoa ();
4570: int
4571: main ()
4572: {
1.37 ohara 4573: return dnet_ntoa ();
1.14 noro 4574: ;
4575: return 0;
4576: }
4577: _ACEOF
4578: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4579: if { (ac_try="$ac_link"
4580: case "(($ac_try" in
4581: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4582: *) ac_try_echo=$ac_try;;
4583: esac
1.43 ! ohara 4584: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4585: $as_echo "$ac_try_echo") >&5
1.37 ohara 4586: (eval "$ac_link") 2>conftest.er1
1.14 noro 4587: ac_status=$?
1.32 noro 4588: grep -v '^ *+' conftest.er1 >conftest.err
4589: rm -f conftest.er1
4590: cat conftest.err >&5
1.43 ! ohara 4591: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4592: (exit $ac_status); } && {
4593: test -z "$ac_c_werror_flag" ||
4594: test ! -s conftest.err
1.43 ! ohara 4595: } && test -s conftest$ac_exeext && {
! 4596: test "$cross_compiling" = yes ||
! 4597: $as_test_x conftest$ac_exeext
! 4598: }; then
1.14 noro 4599: ac_cv_lib_dnet_dnet_ntoa=yes
4600: else
1.43 ! ohara 4601: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4602: sed 's/^/| /' conftest.$ac_ext >&5
4603:
1.37 ohara 4604: ac_cv_lib_dnet_dnet_ntoa=no
1.14 noro 4605: fi
1.37 ohara 4606:
1.43 ! ohara 4607: rm -rf conftest.dSYM
1.37 ohara 4608: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4609: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4610: LIBS=$ac_check_lib_save_LIBS
4611: fi
1.43 ! ohara 4612: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
! 4613: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.14 noro 4614: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4615: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4616: fi
4617:
4618: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.43 ! ohara 4619: { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
! 4620: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.14 noro 4621: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
1.43 ! ohara 4622: $as_echo_n "(cached) " >&6
1.14 noro 4623: else
4624: ac_check_lib_save_LIBS=$LIBS
4625: LIBS="-ldnet_stub $LIBS"
4626: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4627: /* confdefs.h. */
4628: _ACEOF
4629: cat confdefs.h >>conftest.$ac_ext
4630: cat >>conftest.$ac_ext <<_ACEOF
4631: /* end confdefs.h. */
1.14 noro 4632:
1.37 ohara 4633: /* Override any GCC internal prototype to avoid an error.
4634: Use char because int might match the return type of a GCC
4635: builtin and then its argument prototype would still apply. */
1.14 noro 4636: #ifdef __cplusplus
4637: extern "C"
4638: #endif
4639: char dnet_ntoa ();
4640: int
4641: main ()
4642: {
1.37 ohara 4643: return dnet_ntoa ();
1.14 noro 4644: ;
4645: return 0;
4646: }
4647: _ACEOF
4648: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4649: if { (ac_try="$ac_link"
4650: case "(($ac_try" in
4651: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652: *) ac_try_echo=$ac_try;;
4653: esac
1.43 ! ohara 4654: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4655: $as_echo "$ac_try_echo") >&5
1.37 ohara 4656: (eval "$ac_link") 2>conftest.er1
1.14 noro 4657: ac_status=$?
1.32 noro 4658: grep -v '^ *+' conftest.er1 >conftest.err
4659: rm -f conftest.er1
4660: cat conftest.err >&5
1.43 ! ohara 4661: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4662: (exit $ac_status); } && {
4663: test -z "$ac_c_werror_flag" ||
4664: test ! -s conftest.err
1.43 ! ohara 4665: } && test -s conftest$ac_exeext && {
! 4666: test "$cross_compiling" = yes ||
! 4667: $as_test_x conftest$ac_exeext
! 4668: }; then
1.14 noro 4669: ac_cv_lib_dnet_stub_dnet_ntoa=yes
4670: else
1.43 ! ohara 4671: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4672: sed 's/^/| /' conftest.$ac_ext >&5
4673:
1.37 ohara 4674: ac_cv_lib_dnet_stub_dnet_ntoa=no
1.14 noro 4675: fi
1.37 ohara 4676:
1.43 ! ohara 4677: rm -rf conftest.dSYM
1.37 ohara 4678: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4679: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4680: LIBS=$ac_check_lib_save_LIBS
4681: fi
1.43 ! ohara 4682: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
! 4683: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.14 noro 4684: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4685: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4686: fi
4687:
4688: fi
4689: fi
1.37 ohara 4690:
1.43 ! ohara 4691: rm -rf conftest.dSYM
1.37 ohara 4692: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4693: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4694: LIBS="$ac_xsave_LIBS"
4695:
4696: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4697: # to get the SysV transport functions.
4698: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4699: # needs -lnsl.
4700: # The nsl library prevents programs from opening the X display
4701: # on Irix 5.2, according to T.E. Dickey.
4702: # The functions gethostbyname, getservbyname, and inet_addr are
4703: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1.43 ! ohara 4704: { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
! 4705: $as_echo_n "checking for gethostbyname... " >&6; }
1.14 noro 4706: if test "${ac_cv_func_gethostbyname+set}" = set; then
1.43 ! ohara 4707: $as_echo_n "(cached) " >&6
1.14 noro 4708: else
4709: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4710: /* confdefs.h. */
4711: _ACEOF
4712: cat confdefs.h >>conftest.$ac_ext
4713: cat >>conftest.$ac_ext <<_ACEOF
4714: /* end confdefs.h. */
4715: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4716: For example, HP-UX 11i <limits.h> declares gettimeofday. */
4717: #define gethostbyname innocuous_gethostbyname
4718:
1.14 noro 4719: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 4720: which can conflict with char gethostbyname (); below.
4721: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722: <limits.h> exists even on freestanding compilers. */
4723:
4724: #ifdef __STDC__
4725: # include <limits.h>
4726: #else
4727: # include <assert.h>
4728: #endif
4729:
4730: #undef gethostbyname
4731:
1.37 ohara 4732: /* Override any GCC internal prototype to avoid an error.
4733: Use char because int might match the return type of a GCC
4734: builtin and then its argument prototype would still apply. */
1.14 noro 4735: #ifdef __cplusplus
4736: extern "C"
4737: #endif
4738: char gethostbyname ();
4739: /* The GNU C library defines this for functions which it implements
4740: to always fail with ENOSYS. Some functions are actually named
4741: something starting with __ and the normal name is an alias. */
1.37 ohara 4742: #if defined __stub_gethostbyname || defined __stub___gethostbyname
1.14 noro 4743: choke me
4744: #endif
4745:
1.32 noro 4746: int
4747: main ()
4748: {
1.37 ohara 4749: return gethostbyname ();
1.14 noro 4750: ;
4751: return 0;
4752: }
4753: _ACEOF
4754: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4755: if { (ac_try="$ac_link"
4756: case "(($ac_try" in
4757: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758: *) ac_try_echo=$ac_try;;
4759: esac
1.43 ! ohara 4760: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4761: $as_echo "$ac_try_echo") >&5
1.37 ohara 4762: (eval "$ac_link") 2>conftest.er1
1.14 noro 4763: ac_status=$?
1.32 noro 4764: grep -v '^ *+' conftest.er1 >conftest.err
4765: rm -f conftest.er1
4766: cat conftest.err >&5
1.43 ! ohara 4767: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4768: (exit $ac_status); } && {
4769: test -z "$ac_c_werror_flag" ||
4770: test ! -s conftest.err
1.43 ! ohara 4771: } && test -s conftest$ac_exeext && {
! 4772: test "$cross_compiling" = yes ||
! 4773: $as_test_x conftest$ac_exeext
! 4774: }; then
1.14 noro 4775: ac_cv_func_gethostbyname=yes
4776: else
1.43 ! ohara 4777: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4778: sed 's/^/| /' conftest.$ac_ext >&5
4779:
1.37 ohara 4780: ac_cv_func_gethostbyname=no
1.14 noro 4781: fi
1.37 ohara 4782:
1.43 ! ohara 4783: rm -rf conftest.dSYM
1.37 ohara 4784: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4785: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4786: fi
1.43 ! ohara 4787: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
! 4788: $as_echo "$ac_cv_func_gethostbyname" >&6; }
1.14 noro 4789:
4790: if test $ac_cv_func_gethostbyname = no; then
1.43 ! ohara 4791: { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
! 4792: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.14 noro 4793: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.43 ! ohara 4794: $as_echo_n "(cached) " >&6
1.14 noro 4795: else
4796: ac_check_lib_save_LIBS=$LIBS
4797: LIBS="-lnsl $LIBS"
4798: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4799: /* confdefs.h. */
4800: _ACEOF
4801: cat confdefs.h >>conftest.$ac_ext
4802: cat >>conftest.$ac_ext <<_ACEOF
4803: /* end confdefs.h. */
1.14 noro 4804:
1.37 ohara 4805: /* Override any GCC internal prototype to avoid an error.
4806: Use char because int might match the return type of a GCC
4807: builtin and then its argument prototype would still apply. */
1.14 noro 4808: #ifdef __cplusplus
4809: extern "C"
4810: #endif
4811: char gethostbyname ();
4812: int
4813: main ()
4814: {
1.37 ohara 4815: return gethostbyname ();
1.14 noro 4816: ;
4817: return 0;
4818: }
4819: _ACEOF
4820: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4821: if { (ac_try="$ac_link"
4822: case "(($ac_try" in
4823: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824: *) ac_try_echo=$ac_try;;
4825: esac
1.43 ! ohara 4826: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4827: $as_echo "$ac_try_echo") >&5
1.37 ohara 4828: (eval "$ac_link") 2>conftest.er1
1.14 noro 4829: ac_status=$?
1.32 noro 4830: grep -v '^ *+' conftest.er1 >conftest.err
4831: rm -f conftest.er1
4832: cat conftest.err >&5
1.43 ! ohara 4833: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4834: (exit $ac_status); } && {
4835: test -z "$ac_c_werror_flag" ||
4836: test ! -s conftest.err
1.43 ! ohara 4837: } && test -s conftest$ac_exeext && {
! 4838: test "$cross_compiling" = yes ||
! 4839: $as_test_x conftest$ac_exeext
! 4840: }; then
1.14 noro 4841: ac_cv_lib_nsl_gethostbyname=yes
4842: else
1.43 ! ohara 4843: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4844: sed 's/^/| /' conftest.$ac_ext >&5
4845:
1.37 ohara 4846: ac_cv_lib_nsl_gethostbyname=no
1.14 noro 4847: fi
1.37 ohara 4848:
1.43 ! ohara 4849: rm -rf conftest.dSYM
1.37 ohara 4850: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4851: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4852: LIBS=$ac_check_lib_save_LIBS
4853: fi
1.43 ! ohara 4854: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 4855: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.14 noro 4856: if test $ac_cv_lib_nsl_gethostbyname = yes; then
4857: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4858: fi
4859:
4860: if test $ac_cv_lib_nsl_gethostbyname = no; then
1.43 ! ohara 4861: { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
! 4862: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.14 noro 4863: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
1.43 ! ohara 4864: $as_echo_n "(cached) " >&6
1.14 noro 4865: else
4866: ac_check_lib_save_LIBS=$LIBS
4867: LIBS="-lbsd $LIBS"
4868: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4869: /* confdefs.h. */
4870: _ACEOF
4871: cat confdefs.h >>conftest.$ac_ext
4872: cat >>conftest.$ac_ext <<_ACEOF
4873: /* end confdefs.h. */
1.14 noro 4874:
1.37 ohara 4875: /* Override any GCC internal prototype to avoid an error.
4876: Use char because int might match the return type of a GCC
4877: builtin and then its argument prototype would still apply. */
1.14 noro 4878: #ifdef __cplusplus
4879: extern "C"
4880: #endif
4881: char gethostbyname ();
4882: int
4883: main ()
4884: {
1.37 ohara 4885: return gethostbyname ();
1.14 noro 4886: ;
4887: return 0;
4888: }
4889: _ACEOF
4890: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4891: if { (ac_try="$ac_link"
4892: case "(($ac_try" in
4893: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894: *) ac_try_echo=$ac_try;;
4895: esac
1.43 ! ohara 4896: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4897: $as_echo "$ac_try_echo") >&5
1.37 ohara 4898: (eval "$ac_link") 2>conftest.er1
1.14 noro 4899: ac_status=$?
1.32 noro 4900: grep -v '^ *+' conftest.er1 >conftest.err
4901: rm -f conftest.er1
4902: cat conftest.err >&5
1.43 ! ohara 4903: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 4904: (exit $ac_status); } && {
4905: test -z "$ac_c_werror_flag" ||
4906: test ! -s conftest.err
1.43 ! ohara 4907: } && test -s conftest$ac_exeext && {
! 4908: test "$cross_compiling" = yes ||
! 4909: $as_test_x conftest$ac_exeext
! 4910: }; then
1.14 noro 4911: ac_cv_lib_bsd_gethostbyname=yes
4912: else
1.43 ! ohara 4913: $as_echo "$as_me: failed program was:" >&5
1.32 noro 4914: sed 's/^/| /' conftest.$ac_ext >&5
4915:
1.37 ohara 4916: ac_cv_lib_bsd_gethostbyname=no
1.14 noro 4917: fi
1.37 ohara 4918:
1.43 ! ohara 4919: rm -rf conftest.dSYM
1.37 ohara 4920: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 4921: conftest$ac_exeext conftest.$ac_ext
1.14 noro 4922: LIBS=$ac_check_lib_save_LIBS
4923: fi
1.43 ! ohara 4924: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
! 4925: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.14 noro 4926: if test $ac_cv_lib_bsd_gethostbyname = yes; then
4927: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4928: fi
4929:
4930: fi
4931: fi
4932:
4933: # lieder@skyler.mavd.honeywell.com says without -lsocket,
4934: # socket/setsockopt and other routines are undefined under SCO ODT
4935: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4936: # on later versions), says Simon Leinen: it contains gethostby*
1.32 noro 4937: # variants that don't use the name server (or something). -lsocket
1.14 noro 4938: # must be given before -lnsl if both are needed. We assume that
4939: # if connect needs -lnsl, so does gethostbyname.
1.43 ! ohara 4940: { $as_echo "$as_me:$LINENO: checking for connect" >&5
! 4941: $as_echo_n "checking for connect... " >&6; }
1.14 noro 4942: if test "${ac_cv_func_connect+set}" = set; then
1.43 ! ohara 4943: $as_echo_n "(cached) " >&6
1.14 noro 4944: else
4945: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 4946: /* confdefs.h. */
4947: _ACEOF
4948: cat confdefs.h >>conftest.$ac_ext
4949: cat >>conftest.$ac_ext <<_ACEOF
4950: /* end confdefs.h. */
4951: /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4952: For example, HP-UX 11i <limits.h> declares gettimeofday. */
4953: #define connect innocuous_connect
4954:
1.14 noro 4955: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 4956: which can conflict with char connect (); below.
4957: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958: <limits.h> exists even on freestanding compilers. */
4959:
4960: #ifdef __STDC__
4961: # include <limits.h>
4962: #else
4963: # include <assert.h>
4964: #endif
4965:
4966: #undef connect
4967:
1.37 ohara 4968: /* Override any GCC internal prototype to avoid an error.
4969: Use char because int might match the return type of a GCC
4970: builtin and then its argument prototype would still apply. */
1.14 noro 4971: #ifdef __cplusplus
4972: extern "C"
4973: #endif
4974: char connect ();
4975: /* The GNU C library defines this for functions which it implements
4976: to always fail with ENOSYS. Some functions are actually named
4977: something starting with __ and the normal name is an alias. */
1.37 ohara 4978: #if defined __stub_connect || defined __stub___connect
1.14 noro 4979: choke me
4980: #endif
4981:
1.32 noro 4982: int
4983: main ()
4984: {
1.37 ohara 4985: return connect ();
1.14 noro 4986: ;
4987: return 0;
4988: }
4989: _ACEOF
4990: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 4991: if { (ac_try="$ac_link"
4992: case "(($ac_try" in
4993: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4994: *) ac_try_echo=$ac_try;;
4995: esac
1.43 ! ohara 4996: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4997: $as_echo "$ac_try_echo") >&5
1.37 ohara 4998: (eval "$ac_link") 2>conftest.er1
1.14 noro 4999: ac_status=$?
1.32 noro 5000: grep -v '^ *+' conftest.er1 >conftest.err
5001: rm -f conftest.er1
5002: cat conftest.err >&5
1.43 ! ohara 5003: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5004: (exit $ac_status); } && {
5005: test -z "$ac_c_werror_flag" ||
5006: test ! -s conftest.err
1.43 ! ohara 5007: } && test -s conftest$ac_exeext && {
! 5008: test "$cross_compiling" = yes ||
! 5009: $as_test_x conftest$ac_exeext
! 5010: }; then
1.14 noro 5011: ac_cv_func_connect=yes
5012: else
1.43 ! ohara 5013: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5014: sed 's/^/| /' conftest.$ac_ext >&5
5015:
1.37 ohara 5016: ac_cv_func_connect=no
1.14 noro 5017: fi
1.37 ohara 5018:
1.43 ! ohara 5019: rm -rf conftest.dSYM
1.37 ohara 5020: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5021: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5022: fi
1.43 ! ohara 5023: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
! 5024: $as_echo "$ac_cv_func_connect" >&6; }
1.14 noro 5025:
5026: if test $ac_cv_func_connect = no; then
1.43 ! ohara 5027: { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
! 5028: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.14 noro 5029: if test "${ac_cv_lib_socket_connect+set}" = set; then
1.43 ! ohara 5030: $as_echo_n "(cached) " >&6
1.14 noro 5031: else
5032: ac_check_lib_save_LIBS=$LIBS
5033: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5034: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5035: /* confdefs.h. */
5036: _ACEOF
5037: cat confdefs.h >>conftest.$ac_ext
5038: cat >>conftest.$ac_ext <<_ACEOF
5039: /* end confdefs.h. */
1.14 noro 5040:
1.37 ohara 5041: /* Override any GCC internal prototype to avoid an error.
5042: Use char because int might match the return type of a GCC
5043: builtin and then its argument prototype would still apply. */
1.14 noro 5044: #ifdef __cplusplus
5045: extern "C"
5046: #endif
5047: char connect ();
5048: int
5049: main ()
5050: {
1.37 ohara 5051: return connect ();
1.14 noro 5052: ;
5053: return 0;
5054: }
5055: _ACEOF
5056: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 5057: if { (ac_try="$ac_link"
5058: case "(($ac_try" in
5059: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060: *) ac_try_echo=$ac_try;;
5061: esac
1.43 ! ohara 5062: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5063: $as_echo "$ac_try_echo") >&5
1.37 ohara 5064: (eval "$ac_link") 2>conftest.er1
1.14 noro 5065: ac_status=$?
1.32 noro 5066: grep -v '^ *+' conftest.er1 >conftest.err
5067: rm -f conftest.er1
5068: cat conftest.err >&5
1.43 ! ohara 5069: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5070: (exit $ac_status); } && {
5071: test -z "$ac_c_werror_flag" ||
5072: test ! -s conftest.err
1.43 ! ohara 5073: } && test -s conftest$ac_exeext && {
! 5074: test "$cross_compiling" = yes ||
! 5075: $as_test_x conftest$ac_exeext
! 5076: }; then
1.14 noro 5077: ac_cv_lib_socket_connect=yes
5078: else
1.43 ! ohara 5079: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5080: sed 's/^/| /' conftest.$ac_ext >&5
5081:
1.37 ohara 5082: ac_cv_lib_socket_connect=no
1.14 noro 5083: fi
1.37 ohara 5084:
1.43 ! ohara 5085: rm -rf conftest.dSYM
1.37 ohara 5086: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5087: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5088: LIBS=$ac_check_lib_save_LIBS
5089: fi
1.43 ! ohara 5090: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
! 5091: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.14 noro 5092: if test $ac_cv_lib_socket_connect = yes; then
5093: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5094: fi
5095:
5096: fi
5097:
5098: # Guillermo Gomez says -lposix is necessary on A/UX.
1.43 ! ohara 5099: { $as_echo "$as_me:$LINENO: checking for remove" >&5
! 5100: $as_echo_n "checking for remove... " >&6; }
1.14 noro 5101: if test "${ac_cv_func_remove+set}" = set; then
1.43 ! ohara 5102: $as_echo_n "(cached) " >&6
1.14 noro 5103: else
5104: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5105: /* confdefs.h. */
5106: _ACEOF
5107: cat confdefs.h >>conftest.$ac_ext
5108: cat >>conftest.$ac_ext <<_ACEOF
5109: /* end confdefs.h. */
5110: /* Define remove to an innocuous variant, in case <limits.h> declares remove.
5111: For example, HP-UX 11i <limits.h> declares gettimeofday. */
5112: #define remove innocuous_remove
5113:
1.14 noro 5114: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 5115: which can conflict with char remove (); below.
5116: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5117: <limits.h> exists even on freestanding compilers. */
5118:
5119: #ifdef __STDC__
5120: # include <limits.h>
5121: #else
5122: # include <assert.h>
5123: #endif
5124:
5125: #undef remove
5126:
1.37 ohara 5127: /* Override any GCC internal prototype to avoid an error.
5128: Use char because int might match the return type of a GCC
5129: builtin and then its argument prototype would still apply. */
1.14 noro 5130: #ifdef __cplusplus
5131: extern "C"
5132: #endif
5133: char remove ();
5134: /* The GNU C library defines this for functions which it implements
5135: to always fail with ENOSYS. Some functions are actually named
5136: something starting with __ and the normal name is an alias. */
1.37 ohara 5137: #if defined __stub_remove || defined __stub___remove
1.14 noro 5138: choke me
5139: #endif
5140:
1.32 noro 5141: int
5142: main ()
5143: {
1.37 ohara 5144: return remove ();
1.14 noro 5145: ;
5146: return 0;
5147: }
5148: _ACEOF
5149: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 5150: if { (ac_try="$ac_link"
5151: case "(($ac_try" in
5152: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5153: *) ac_try_echo=$ac_try;;
5154: esac
1.43 ! ohara 5155: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5156: $as_echo "$ac_try_echo") >&5
1.37 ohara 5157: (eval "$ac_link") 2>conftest.er1
1.14 noro 5158: ac_status=$?
1.32 noro 5159: grep -v '^ *+' conftest.er1 >conftest.err
5160: rm -f conftest.er1
5161: cat conftest.err >&5
1.43 ! ohara 5162: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5163: (exit $ac_status); } && {
5164: test -z "$ac_c_werror_flag" ||
5165: test ! -s conftest.err
1.43 ! ohara 5166: } && test -s conftest$ac_exeext && {
! 5167: test "$cross_compiling" = yes ||
! 5168: $as_test_x conftest$ac_exeext
! 5169: }; then
1.14 noro 5170: ac_cv_func_remove=yes
5171: else
1.43 ! ohara 5172: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5173: sed 's/^/| /' conftest.$ac_ext >&5
5174:
1.37 ohara 5175: ac_cv_func_remove=no
1.14 noro 5176: fi
1.37 ohara 5177:
1.43 ! ohara 5178: rm -rf conftest.dSYM
1.37 ohara 5179: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5180: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5181: fi
1.43 ! ohara 5182: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
! 5183: $as_echo "$ac_cv_func_remove" >&6; }
1.14 noro 5184:
5185: if test $ac_cv_func_remove = no; then
1.43 ! ohara 5186: { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
! 5187: $as_echo_n "checking for remove in -lposix... " >&6; }
1.14 noro 5188: if test "${ac_cv_lib_posix_remove+set}" = set; then
1.43 ! ohara 5189: $as_echo_n "(cached) " >&6
1.14 noro 5190: else
5191: ac_check_lib_save_LIBS=$LIBS
5192: LIBS="-lposix $LIBS"
5193: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5194: /* confdefs.h. */
5195: _ACEOF
5196: cat confdefs.h >>conftest.$ac_ext
5197: cat >>conftest.$ac_ext <<_ACEOF
5198: /* end confdefs.h. */
1.14 noro 5199:
1.37 ohara 5200: /* Override any GCC internal prototype to avoid an error.
5201: Use char because int might match the return type of a GCC
5202: builtin and then its argument prototype would still apply. */
1.14 noro 5203: #ifdef __cplusplus
5204: extern "C"
5205: #endif
5206: char remove ();
5207: int
5208: main ()
5209: {
1.37 ohara 5210: return remove ();
1.14 noro 5211: ;
5212: return 0;
5213: }
5214: _ACEOF
5215: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 5216: if { (ac_try="$ac_link"
5217: case "(($ac_try" in
5218: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219: *) ac_try_echo=$ac_try;;
5220: esac
1.43 ! ohara 5221: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5222: $as_echo "$ac_try_echo") >&5
1.37 ohara 5223: (eval "$ac_link") 2>conftest.er1
1.14 noro 5224: ac_status=$?
1.32 noro 5225: grep -v '^ *+' conftest.er1 >conftest.err
5226: rm -f conftest.er1
5227: cat conftest.err >&5
1.43 ! ohara 5228: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5229: (exit $ac_status); } && {
5230: test -z "$ac_c_werror_flag" ||
5231: test ! -s conftest.err
1.43 ! ohara 5232: } && test -s conftest$ac_exeext && {
! 5233: test "$cross_compiling" = yes ||
! 5234: $as_test_x conftest$ac_exeext
! 5235: }; then
1.14 noro 5236: ac_cv_lib_posix_remove=yes
5237: else
1.43 ! ohara 5238: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5239: sed 's/^/| /' conftest.$ac_ext >&5
5240:
1.37 ohara 5241: ac_cv_lib_posix_remove=no
1.14 noro 5242: fi
1.37 ohara 5243:
1.43 ! ohara 5244: rm -rf conftest.dSYM
1.37 ohara 5245: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5246: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5247: LIBS=$ac_check_lib_save_LIBS
5248: fi
1.43 ! ohara 5249: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
! 5250: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.14 noro 5251: if test $ac_cv_lib_posix_remove = yes; then
5252: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5253: fi
5254:
5255: fi
5256:
5257: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.43 ! ohara 5258: { $as_echo "$as_me:$LINENO: checking for shmat" >&5
! 5259: $as_echo_n "checking for shmat... " >&6; }
1.14 noro 5260: if test "${ac_cv_func_shmat+set}" = set; then
1.43 ! ohara 5261: $as_echo_n "(cached) " >&6
1.14 noro 5262: else
5263: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5264: /* confdefs.h. */
5265: _ACEOF
5266: cat confdefs.h >>conftest.$ac_ext
5267: cat >>conftest.$ac_ext <<_ACEOF
5268: /* end confdefs.h. */
5269: /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5270: For example, HP-UX 11i <limits.h> declares gettimeofday. */
5271: #define shmat innocuous_shmat
5272:
1.14 noro 5273: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 5274: which can conflict with char shmat (); 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 shmat
5285:
1.37 ohara 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. */
1.14 noro 5289: #ifdef __cplusplus
5290: extern "C"
5291: #endif
5292: char shmat ();
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. */
1.37 ohara 5296: #if defined __stub_shmat || defined __stub___shmat
1.14 noro 5297: choke me
5298: #endif
5299:
1.32 noro 5300: int
5301: main ()
5302: {
1.37 ohara 5303: return shmat ();
1.14 noro 5304: ;
5305: return 0;
5306: }
5307: _ACEOF
5308: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 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
1.43 ! ohara 5314: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5315: $as_echo "$ac_try_echo") >&5
1.37 ohara 5316: (eval "$ac_link") 2>conftest.er1
1.14 noro 5317: ac_status=$?
1.32 noro 5318: grep -v '^ *+' conftest.er1 >conftest.err
5319: rm -f conftest.er1
5320: cat conftest.err >&5
1.43 ! ohara 5321: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5322: (exit $ac_status); } && {
5323: test -z "$ac_c_werror_flag" ||
5324: test ! -s conftest.err
1.43 ! ohara 5325: } && test -s conftest$ac_exeext && {
! 5326: test "$cross_compiling" = yes ||
! 5327: $as_test_x conftest$ac_exeext
! 5328: }; then
1.14 noro 5329: ac_cv_func_shmat=yes
5330: else
1.43 ! ohara 5331: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5332: sed 's/^/| /' conftest.$ac_ext >&5
5333:
1.37 ohara 5334: ac_cv_func_shmat=no
1.14 noro 5335: fi
1.37 ohara 5336:
1.43 ! ohara 5337: rm -rf conftest.dSYM
1.37 ohara 5338: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5339: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5340: fi
1.43 ! ohara 5341: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
! 5342: $as_echo "$ac_cv_func_shmat" >&6; }
1.14 noro 5343:
5344: if test $ac_cv_func_shmat = no; then
1.43 ! ohara 5345: { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
! 5346: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.14 noro 5347: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
1.43 ! ohara 5348: $as_echo_n "(cached) " >&6
1.14 noro 5349: else
5350: ac_check_lib_save_LIBS=$LIBS
5351: LIBS="-lipc $LIBS"
5352: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5353: /* confdefs.h. */
5354: _ACEOF
5355: cat confdefs.h >>conftest.$ac_ext
5356: cat >>conftest.$ac_ext <<_ACEOF
5357: /* end confdefs.h. */
1.14 noro 5358:
1.37 ohara 5359: /* Override any GCC internal prototype to avoid an error.
5360: Use char because int might match the return type of a GCC
5361: builtin and then its argument prototype would still apply. */
1.14 noro 5362: #ifdef __cplusplus
5363: extern "C"
5364: #endif
5365: char shmat ();
5366: int
5367: main ()
5368: {
1.37 ohara 5369: return shmat ();
1.14 noro 5370: ;
5371: return 0;
5372: }
5373: _ACEOF
5374: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 5375: if { (ac_try="$ac_link"
5376: case "(($ac_try" in
5377: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378: *) ac_try_echo=$ac_try;;
5379: esac
1.43 ! ohara 5380: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5381: $as_echo "$ac_try_echo") >&5
1.37 ohara 5382: (eval "$ac_link") 2>conftest.er1
1.14 noro 5383: ac_status=$?
1.32 noro 5384: grep -v '^ *+' conftest.er1 >conftest.err
5385: rm -f conftest.er1
5386: cat conftest.err >&5
1.43 ! ohara 5387: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5388: (exit $ac_status); } && {
5389: test -z "$ac_c_werror_flag" ||
5390: test ! -s conftest.err
1.43 ! ohara 5391: } && test -s conftest$ac_exeext && {
! 5392: test "$cross_compiling" = yes ||
! 5393: $as_test_x conftest$ac_exeext
! 5394: }; then
1.14 noro 5395: ac_cv_lib_ipc_shmat=yes
5396: else
1.43 ! ohara 5397: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5398: sed 's/^/| /' conftest.$ac_ext >&5
5399:
1.37 ohara 5400: ac_cv_lib_ipc_shmat=no
1.14 noro 5401: fi
1.37 ohara 5402:
1.43 ! ohara 5403: rm -rf conftest.dSYM
1.37 ohara 5404: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5405: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5406: LIBS=$ac_check_lib_save_LIBS
5407: fi
1.43 ! ohara 5408: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
! 5409: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.14 noro 5410: if test $ac_cv_lib_ipc_shmat = yes; then
5411: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5412: fi
5413:
5414: fi
5415: fi
5416:
5417: # Check for libraries that X11R6 Xt/Xaw programs need.
5418: ac_save_LDFLAGS=$LDFLAGS
5419: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5420: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5421: # check for ICE first), but we must link in the order -lSM -lICE or
5422: # we get undefined symbols. So assume we have SM if we have ICE.
5423: # These have to be linked with before -lX11, unlike the other
5424: # libraries we check for below, so use a different variable.
5425: # John Interrante, Karl Berry
1.43 ! ohara 5426: { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
! 5427: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.14 noro 5428: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
1.43 ! ohara 5429: $as_echo_n "(cached) " >&6
1.14 noro 5430: else
5431: ac_check_lib_save_LIBS=$LIBS
5432: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5433: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5434: /* confdefs.h. */
5435: _ACEOF
5436: cat confdefs.h >>conftest.$ac_ext
5437: cat >>conftest.$ac_ext <<_ACEOF
5438: /* end confdefs.h. */
1.14 noro 5439:
1.37 ohara 5440: /* Override any GCC internal prototype to avoid an error.
5441: Use char because int might match the return type of a GCC
5442: builtin and then its argument prototype would still apply. */
1.14 noro 5443: #ifdef __cplusplus
5444: extern "C"
5445: #endif
5446: char IceConnectionNumber ();
5447: int
5448: main ()
5449: {
1.37 ohara 5450: return IceConnectionNumber ();
1.14 noro 5451: ;
5452: return 0;
5453: }
5454: _ACEOF
5455: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 5456: if { (ac_try="$ac_link"
5457: case "(($ac_try" in
5458: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5459: *) ac_try_echo=$ac_try;;
5460: esac
1.43 ! ohara 5461: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5462: $as_echo "$ac_try_echo") >&5
1.37 ohara 5463: (eval "$ac_link") 2>conftest.er1
1.14 noro 5464: ac_status=$?
1.32 noro 5465: grep -v '^ *+' conftest.er1 >conftest.err
5466: rm -f conftest.er1
5467: cat conftest.err >&5
1.43 ! ohara 5468: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5469: (exit $ac_status); } && {
5470: test -z "$ac_c_werror_flag" ||
5471: test ! -s conftest.err
1.43 ! ohara 5472: } && test -s conftest$ac_exeext && {
! 5473: test "$cross_compiling" = yes ||
! 5474: $as_test_x conftest$ac_exeext
! 5475: }; then
1.14 noro 5476: ac_cv_lib_ICE_IceConnectionNumber=yes
5477: else
1.43 ! ohara 5478: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5479: sed 's/^/| /' conftest.$ac_ext >&5
5480:
1.37 ohara 5481: ac_cv_lib_ICE_IceConnectionNumber=no
1.14 noro 5482: fi
1.37 ohara 5483:
1.43 ! ohara 5484: rm -rf conftest.dSYM
1.37 ohara 5485: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 5486: conftest$ac_exeext conftest.$ac_ext
1.14 noro 5487: LIBS=$ac_check_lib_save_LIBS
5488: fi
1.43 ! ohara 5489: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
! 5490: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.14 noro 5491: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5492: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5493: fi
5494:
5495: LDFLAGS=$ac_save_LDFLAGS
5496:
5497: fi
5498:
5499:
5500: cat >>confdefs.h <<\_ACEOF
5501: #define HMEXT 1
5502: _ACEOF
5503:
5504:
1.37 ohara 5505: # Check whether --enable-shared was given.
1.14 noro 5506: if test "${enable_shared+set}" = set; then
1.37 ohara 5507: enableval=$enable_shared; enable_shared=yes
1.14 noro 5508: else
5509: enable_shared=no
1.37 ohara 5510: fi
5511:
1.14 noro 5512:
5513: if test "${enable_shared:=no}" != no ; then
5514: true
5515: fi
5516:
1.17 ohara 5517: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
5518: if test "${ac_cv_prog_cc_g}" = yes; then
5519: CFLAGS="-g -O"
5520: else
5521: CFLAGS="-O"
5522: fi
1.29 ohara 5523: elif test `basename ./"${CC}"` = "icc" ; then
5524: CFLAGS="-g -O"
1.17 ohara 5525: fi
1.15 noro 5526:
1.37 ohara 5527: GC=gc6.8
1.43 ! ohara 5528:
! 5529: # Check whether --with-asir-gc was given.
! 5530: if test "${with_asir_gc+set}" = set; then
! 5531: withval=$with_asir_gc; with_asir_gc=${withval}
! 5532: else
! 5533: with_asir_gc=yes
! 5534: fi
! 5535:
! 5536: if test ${with_asir_gc:=yes} != no; then
! 5537: ASIR_GCLIB=libasir-gc.a
! 5538: GCINC='-I${top_srcdir}/${GC}/include'
! 5539: else
! 5540: GCLIB='-L${prefix}/lib -lgc'
! 5541: GCINC='-I${prefix}/include'
! 5542: cat >>confdefs.h <<\_ACEOF
! 5543: #define NO_ASIR_GC 1
! 5544: _ACEOF
! 5545:
! 5546: fi
1.37 ohara 5547: GC_CONFIGURE_ARGS=--disable-threads
5548: if -n "${host_alias}" ; then
5549: GC_CONFIGURE_ARGS="--host=${host_alias} ${GC_CONFIGURE_ARGS}"
5550: fi
5551:
1.38 ohara 5552: # Check whether --with-gc7 was given.
5553: if test "${with_gc7+set}" = set; then
5554: withval=$with_gc7; with_gc7=${withval}
5555: else
5556: with_gc7=no
5557: fi
5558:
5559: if test ${with_gc7:=no} != no; then
5560: case "${with_gc7}" in
5561: 7*) GC_VERSION=${with_gc7} ;;
5562: *) GC_VERSION=7.0 ;;
5563: esac
5564: GC=gc-${GC_VERSION}
5565: cat >>confdefs.h <<\_ACEOF
5566: #define GC7 1
5567: _ACEOF
5568:
5569: fi
5570:
5571:
1.43 ! ohara 5572:
! 5573:
! 5574:
! 5575:
! 5576:
1.38 ohara 5577: if test "$with_gc7" != no; then
5578: USE_GC7_TRUE=
5579: USE_GC7_FALSE='#'
5580: else
5581: USE_GC7_TRUE='#'
5582: USE_GC7_FALSE=
5583: fi
1.37 ohara 5584:
1.35 ohara 5585:
1.37 ohara 5586:
5587: # Check whether --with-distdir was given.
1.35 ohara 5588: if test "${with_distdir+set}" = set; then
1.37 ohara 5589: withval=$with_distdir; with_distdir=${withval}
1.35 ohara 5590: else
5591: with_distdir=no
1.37 ohara 5592: fi
5593:
1.35 ohara 5594: GC_DISTDIR='${prefix}/../OpenXM_dist'
5595: if test ${with_distdir:=no} != no -a ${with_distdir} != yes ; then
5596: GC_DISTDIR=${with_distdir}
5597: fi
5598:
5599:
1.14 noro 5600: libasir_postfix=""
5601:
1.37 ohara 5602: # Check whether --with-pari was given.
1.14 noro 5603: if test "${with_pari+set}" = set; then
1.37 ohara 5604: withval=$with_pari; with_pari=${withval}
1.14 noro 5605: else
5606: with_pari=no
1.37 ohara 5607: fi
5608:
1.14 noro 5609:
5610: if test ${with_pari:=no} != no ; then
1.41 ohara 5611: if test "${with_pari}" = new -o "${with_pari}" = 2.3 ; then
5612: cat >>confdefs.h <<\_ACEOF
5613: #define PARI23 1
5614: _ACEOF
5615:
5616: fi
1.14 noro 5617: libasir_postfix=${libasir_postfix}_pari
5618: PARIINC='-I${prefix}/include/pari'
5619: if test "${enable_shared}" != yes ; then
1.43 ! ohara 5620: PARILIB='${libdir}/libpari.a'
1.14 noro 5621: else
1.43 ! ohara 5622: PARILIB='-L${libdir} -lpari'
1.14 noro 5623: fi
5624: cat >>confdefs.h <<\_ACEOF
5625: #define PARI 1
5626: _ACEOF
5627:
1.16 noro 5628: fi
5629:
5630:
5631:
1.43 ! ohara 5632: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 5633: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.37 ohara 5634: if test "${ac_cv_path_GREP+set}" = set; then
1.43 ! ohara 5635: $as_echo_n "(cached) " >&6
1.32 noro 5636: else
1.43 ! ohara 5637: if test -z "$GREP"; then
1.37 ohara 5638: ac_path_GREP_found=false
1.43 ! ohara 5639: # Loop through the user's path and test for each of PROGNAME-LIST
! 5640: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.37 ohara 5641: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5642: do
5643: IFS=$as_save_IFS
5644: test -z "$as_dir" && as_dir=.
5645: for ac_prog in grep ggrep; do
1.43 ! ohara 5646: for ac_exec_ext in '' $ac_executable_extensions; do
! 5647: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 5648: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 5649: # Check for GNU ac_path_GREP and select it if it is found.
1.37 ohara 5650: # Check for GNU $ac_path_GREP
5651: case `"$ac_path_GREP" --version 2>&1` in
5652: *GNU*)
5653: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5654: *)
5655: ac_count=0
1.43 ! ohara 5656: $as_echo_n 0123456789 >"conftest.in"
1.37 ohara 5657: while :
5658: do
5659: cat "conftest.in" "conftest.in" >"conftest.tmp"
5660: mv "conftest.tmp" "conftest.in"
5661: cp "conftest.in" "conftest.nl"
1.43 ! ohara 5662: $as_echo 'GREP' >> "conftest.nl"
1.37 ohara 5663: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5664: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5665: ac_count=`expr $ac_count + 1`
5666: if test $ac_count -gt ${ac_path_GREP_max-0}; then
5667: # Best one so far, save it but keep looking for a better one
5668: ac_cv_path_GREP="$ac_path_GREP"
5669: ac_path_GREP_max=$ac_count
1.32 noro 5670: fi
1.37 ohara 5671: # 10*(2^10) chars as input seems more than enough
5672: test $ac_count -gt 10 && break
5673: done
5674: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5675: esac
5676:
1.43 ! ohara 5677: $ac_path_GREP_found && break 3
! 5678: done
1.37 ohara 5679: done
5680: done
5681: IFS=$as_save_IFS
1.43 ! ohara 5682: if test -z "$ac_cv_path_GREP"; then
! 5683: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 5684: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.37 ohara 5685: { (exit 1); exit 1; }; }
1.43 ! ohara 5686: fi
1.14 noro 5687: else
1.37 ohara 5688: ac_cv_path_GREP=$GREP
5689: fi
5690:
5691: fi
1.43 ! ohara 5692: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 5693: $as_echo "$ac_cv_path_GREP" >&6; }
1.37 ohara 5694: GREP="$ac_cv_path_GREP"
1.14 noro 5695:
1.37 ohara 5696:
1.43 ! ohara 5697: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
! 5698: $as_echo_n "checking for egrep... " >&6; }
1.37 ohara 5699: if test "${ac_cv_path_EGREP+set}" = set; then
1.43 ! ohara 5700: $as_echo_n "(cached) " >&6
1.37 ohara 5701: else
5702: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5703: then ac_cv_path_EGREP="$GREP -E"
5704: else
1.43 ! ohara 5705: if test -z "$EGREP"; then
1.37 ohara 5706: ac_path_EGREP_found=false
1.43 ! ohara 5707: # Loop through the user's path and test for each of PROGNAME-LIST
! 5708: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.37 ohara 5709: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5710: do
5711: IFS=$as_save_IFS
5712: test -z "$as_dir" && as_dir=.
5713: for ac_prog in egrep; do
1.43 ! ohara 5714: for ac_exec_ext in '' $ac_executable_extensions; do
! 5715: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 5716: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 5717: # Check for GNU ac_path_EGREP and select it if it is found.
1.37 ohara 5718: # Check for GNU $ac_path_EGREP
5719: case `"$ac_path_EGREP" --version 2>&1` in
5720: *GNU*)
5721: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5722: *)
5723: ac_count=0
1.43 ! ohara 5724: $as_echo_n 0123456789 >"conftest.in"
1.37 ohara 5725: while :
5726: do
5727: cat "conftest.in" "conftest.in" >"conftest.tmp"
5728: mv "conftest.tmp" "conftest.in"
5729: cp "conftest.in" "conftest.nl"
1.43 ! ohara 5730: $as_echo 'EGREP' >> "conftest.nl"
1.37 ohara 5731: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5732: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5733: ac_count=`expr $ac_count + 1`
5734: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5735: # Best one so far, save it but keep looking for a better one
5736: ac_cv_path_EGREP="$ac_path_EGREP"
5737: ac_path_EGREP_max=$ac_count
5738: fi
5739: # 10*(2^10) chars as input seems more than enough
5740: test $ac_count -gt 10 && break
5741: done
5742: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5743: esac
5744:
1.43 ! ohara 5745: $ac_path_EGREP_found && break 3
! 5746: done
1.37 ohara 5747: done
5748: done
5749: IFS=$as_save_IFS
1.43 ! ohara 5750: if test -z "$ac_cv_path_EGREP"; then
! 5751: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 5752: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.37 ohara 5753: { (exit 1); exit 1; }; }
1.43 ! ohara 5754: fi
1.37 ohara 5755: else
5756: ac_cv_path_EGREP=$EGREP
5757: fi
5758:
5759: fi
5760: fi
1.43 ! ohara 5761: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 5762: $as_echo "$ac_cv_path_EGREP" >&6; }
1.37 ohara 5763: EGREP="$ac_cv_path_EGREP"
5764:
5765:
1.43 ! ohara 5766: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 5767: $as_echo_n "checking for ANSI C header files... " >&6; }
1.37 ohara 5768: if test "${ac_cv_header_stdc+set}" = set; then
1.43 ! ohara 5769: $as_echo_n "(cached) " >&6
1.37 ohara 5770: else
5771: cat >conftest.$ac_ext <<_ACEOF
5772: /* confdefs.h. */
5773: _ACEOF
5774: cat confdefs.h >>conftest.$ac_ext
5775: cat >>conftest.$ac_ext <<_ACEOF
5776: /* end confdefs.h. */
5777: #include <stdlib.h>
5778: #include <stdarg.h>
5779: #include <string.h>
5780: #include <float.h>
5781:
5782: int
5783: main ()
5784: {
1.32 noro 5785:
5786: ;
5787: return 0;
5788: }
1.14 noro 5789: _ACEOF
1.32 noro 5790: rm -f conftest.$ac_objext
1.37 ohara 5791: if { (ac_try="$ac_compile"
5792: case "(($ac_try" in
5793: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5794: *) ac_try_echo=$ac_try;;
5795: esac
1.43 ! ohara 5796: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5797: $as_echo "$ac_try_echo") >&5
1.37 ohara 5798: (eval "$ac_compile") 2>conftest.er1
1.14 noro 5799: ac_status=$?
1.32 noro 5800: grep -v '^ *+' conftest.er1 >conftest.err
1.17 ohara 5801: rm -f conftest.er1
5802: cat conftest.err >&5
1.43 ! ohara 5803: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5804: (exit $ac_status); } && {
5805: test -z "$ac_c_werror_flag" ||
5806: test ! -s conftest.err
5807: } && test -s conftest.$ac_objext; then
1.14 noro 5808: ac_cv_header_stdc=yes
5809: else
1.43 ! ohara 5810: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5811: sed 's/^/| /' conftest.$ac_ext >&5
5812:
1.37 ohara 5813: ac_cv_header_stdc=no
1.14 noro 5814: fi
1.37 ohara 5815:
5816: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 5817:
5818: if test $ac_cv_header_stdc = yes; then
5819: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5820: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5821: /* confdefs.h. */
5822: _ACEOF
5823: cat confdefs.h >>conftest.$ac_ext
5824: cat >>conftest.$ac_ext <<_ACEOF
5825: /* end confdefs.h. */
1.14 noro 5826: #include <string.h>
5827:
5828: _ACEOF
5829: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.32 noro 5830: $EGREP "memchr" >/dev/null 2>&1; then
1.14 noro 5831: :
5832: else
5833: ac_cv_header_stdc=no
5834: fi
5835: rm -f conftest*
5836:
5837: fi
5838:
5839: if test $ac_cv_header_stdc = yes; then
5840: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5841: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5842: /* confdefs.h. */
5843: _ACEOF
5844: cat confdefs.h >>conftest.$ac_ext
5845: cat >>conftest.$ac_ext <<_ACEOF
5846: /* end confdefs.h. */
1.14 noro 5847: #include <stdlib.h>
5848:
5849: _ACEOF
5850: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.32 noro 5851: $EGREP "free" >/dev/null 2>&1; then
1.14 noro 5852: :
5853: else
5854: ac_cv_header_stdc=no
5855: fi
5856: rm -f conftest*
5857:
5858: fi
5859:
5860: if test $ac_cv_header_stdc = yes; then
5861: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5862: if test "$cross_compiling" = yes; then
5863: :
5864: else
5865: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5866: /* confdefs.h. */
5867: _ACEOF
5868: cat confdefs.h >>conftest.$ac_ext
5869: cat >>conftest.$ac_ext <<_ACEOF
5870: /* end confdefs.h. */
1.14 noro 5871: #include <ctype.h>
1.37 ohara 5872: #include <stdlib.h>
1.14 noro 5873: #if ((' ' & 0x0FF) == 0x020)
5874: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5875: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5876: #else
1.32 noro 5877: # define ISLOWER(c) \
5878: (('a' <= (c) && (c) <= 'i') \
5879: || ('j' <= (c) && (c) <= 'r') \
5880: || ('s' <= (c) && (c) <= 'z'))
1.14 noro 5881: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5882: #endif
5883:
5884: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5885: int
5886: main ()
5887: {
5888: int i;
5889: for (i = 0; i < 256; i++)
5890: if (XOR (islower (i), ISLOWER (i))
1.32 noro 5891: || toupper (i) != TOUPPER (i))
1.37 ohara 5892: return 2;
5893: return 0;
1.14 noro 5894: }
5895: _ACEOF
5896: rm -f conftest$ac_exeext
1.37 ohara 5897: if { (ac_try="$ac_link"
5898: case "(($ac_try" in
5899: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5900: *) ac_try_echo=$ac_try;;
5901: esac
1.43 ! ohara 5902: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5903: $as_echo "$ac_try_echo") >&5
1.37 ohara 5904: (eval "$ac_link") 2>&5
1.14 noro 5905: ac_status=$?
1.43 ! ohara 5906: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 5907: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.37 ohara 5908: { (case "(($ac_try" in
5909: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5910: *) ac_try_echo=$ac_try;;
5911: esac
1.43 ! ohara 5912: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5913: $as_echo "$ac_try_echo") >&5
1.37 ohara 5914: (eval "$ac_try") 2>&5
1.14 noro 5915: ac_status=$?
1.43 ! ohara 5916: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 5917: (exit $ac_status); }; }; then
5918: :
5919: else
1.43 ! ohara 5920: $as_echo "$as_me: program exited with status $ac_status" >&5
! 5921: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5922: sed 's/^/| /' conftest.$ac_ext >&5
5923:
1.14 noro 5924: ( exit $ac_status )
5925: ac_cv_header_stdc=no
5926: fi
1.43 ! ohara 5927: rm -rf conftest.dSYM
1.37 ohara 5928: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14 noro 5929: fi
1.37 ohara 5930:
5931:
1.14 noro 5932: fi
5933: fi
1.43 ! ohara 5934: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 5935: $as_echo "$ac_cv_header_stdc" >&6; }
1.14 noro 5936: if test $ac_cv_header_stdc = yes; then
5937:
5938: cat >>confdefs.h <<\_ACEOF
5939: #define STDC_HEADERS 1
5940: _ACEOF
5941:
5942: fi
5943:
5944: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5945:
1.2 noro 5946:
1.3 noro 5947:
1.14 noro 5948:
5949:
5950:
5951:
5952:
5953:
5954: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.32 noro 5955: inttypes.h stdint.h unistd.h
1.14 noro 5956: do
1.43 ! ohara 5957: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5958: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5959: $as_echo_n "checking for $ac_header... " >&6; }
1.37 ohara 5960: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.43 ! ohara 5961: $as_echo_n "(cached) " >&6
1.14 noro 5962: else
5963: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 5964: /* confdefs.h. */
5965: _ACEOF
5966: cat confdefs.h >>conftest.$ac_ext
5967: cat >>conftest.$ac_ext <<_ACEOF
5968: /* end confdefs.h. */
1.14 noro 5969: $ac_includes_default
5970:
5971: #include <$ac_header>
5972: _ACEOF
5973: rm -f conftest.$ac_objext
1.37 ohara 5974: if { (ac_try="$ac_compile"
5975: case "(($ac_try" in
5976: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5977: *) ac_try_echo=$ac_try;;
5978: esac
1.43 ! ohara 5979: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5980: $as_echo "$ac_try_echo") >&5
1.37 ohara 5981: (eval "$ac_compile") 2>conftest.er1
1.14 noro 5982: ac_status=$?
1.32 noro 5983: grep -v '^ *+' conftest.er1 >conftest.err
5984: rm -f conftest.er1
5985: cat conftest.err >&5
1.43 ! ohara 5986: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 5987: (exit $ac_status); } && {
5988: test -z "$ac_c_werror_flag" ||
5989: test ! -s conftest.err
5990: } && test -s conftest.$ac_objext; then
1.14 noro 5991: eval "$as_ac_Header=yes"
5992: else
1.43 ! ohara 5993: $as_echo "$as_me: failed program was:" >&5
1.32 noro 5994: sed 's/^/| /' conftest.$ac_ext >&5
5995:
1.37 ohara 5996: eval "$as_ac_Header=no"
1.14 noro 5997: fi
1.37 ohara 5998:
5999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6000: fi
1.43 ! ohara 6001: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 6002: $as_echo "$as_val"'`
! 6003: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 6004: $as_echo "$ac_res" >&6; }
! 6005: if test `eval 'as_val=${'$as_ac_Header'}
! 6006: $as_echo "$as_val"'` = yes; then
1.14 noro 6007: cat >>confdefs.h <<_ACEOF
1.43 ! ohara 6008: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.14 noro 6009: _ACEOF
6010:
6011: fi
6012:
6013: done
6014:
6015:
1.43 ! ohara 6016: { $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
! 6017: $as_echo_n "checking for unsigned long long... " >&6; }
1.18 ohara 6018: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
1.43 ! ohara 6019: $as_echo_n "(cached) " >&6
1.18 ohara 6020: else
1.43 ! ohara 6021: ac_cv_type_unsigned_long_long=no
! 6022: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6023: /* confdefs.h. */
6024: _ACEOF
6025: cat confdefs.h >>conftest.$ac_ext
6026: cat >>conftest.$ac_ext <<_ACEOF
6027: /* end confdefs.h. */
1.18 ohara 6028: $ac_includes_default
6029: int
6030: main ()
6031: {
1.43 ! ohara 6032: if (sizeof (unsigned long long))
! 6033: return 0;
1.18 ohara 6034: ;
6035: return 0;
6036: }
6037: _ACEOF
6038: rm -f conftest.$ac_objext
1.37 ohara 6039: if { (ac_try="$ac_compile"
6040: case "(($ac_try" in
6041: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6042: *) ac_try_echo=$ac_try;;
6043: esac
1.43 ! ohara 6044: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6045: $as_echo "$ac_try_echo") >&5
1.37 ohara 6046: (eval "$ac_compile") 2>conftest.er1
1.18 ohara 6047: ac_status=$?
1.32 noro 6048: grep -v '^ *+' conftest.er1 >conftest.err
6049: rm -f conftest.er1
6050: cat conftest.err >&5
1.43 ! ohara 6051: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6052: (exit $ac_status); } && {
6053: test -z "$ac_c_werror_flag" ||
6054: test ! -s conftest.err
6055: } && test -s conftest.$ac_objext; then
1.14 noro 6056: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6057: /* confdefs.h. */
6058: _ACEOF
6059: cat confdefs.h >>conftest.$ac_ext
6060: cat >>conftest.$ac_ext <<_ACEOF
6061: /* end confdefs.h. */
1.14 noro 6062: $ac_includes_default
6063: int
6064: main ()
6065: {
1.43 ! ohara 6066: if (sizeof ((unsigned long long)))
! 6067: return 0;
1.14 noro 6068: ;
6069: return 0;
6070: }
6071: _ACEOF
6072: rm -f conftest.$ac_objext
1.37 ohara 6073: if { (ac_try="$ac_compile"
6074: case "(($ac_try" in
6075: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076: *) ac_try_echo=$ac_try;;
6077: esac
1.43 ! ohara 6078: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6079: $as_echo "$ac_try_echo") >&5
1.37 ohara 6080: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6081: ac_status=$?
1.32 noro 6082: grep -v '^ *+' conftest.er1 >conftest.err
6083: rm -f conftest.er1
6084: cat conftest.err >&5
1.43 ! ohara 6085: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6086: (exit $ac_status); } && {
6087: test -z "$ac_c_werror_flag" ||
6088: test ! -s conftest.err
6089: } && test -s conftest.$ac_objext; then
1.43 ! ohara 6090: :
! 6091: else
! 6092: $as_echo "$as_me: failed program was:" >&5
! 6093: sed 's/^/| /' conftest.$ac_ext >&5
! 6094:
! 6095: ac_cv_type_unsigned_long_long=yes
! 6096: fi
! 6097:
! 6098: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6099: else
1.43 ! ohara 6100: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6101: sed 's/^/| /' conftest.$ac_ext >&5
6102:
1.43 ! ohara 6103:
1.14 noro 6104: fi
1.37 ohara 6105:
6106: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6107: fi
1.43 ! ohara 6108: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
! 6109: $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
! 6110: if test $ac_cv_type_unsigned_long_long = yes; then
! 6111:
! 6112: cat >>confdefs.h <<_ACEOF
! 6113: #define HAVE_UNSIGNED_LONG_LONG 1
! 6114: _ACEOF
! 6115:
! 6116:
! 6117: fi
1.14 noro 6118:
1.37 ohara 6119: # The cast to long int works around a bug in the HP C Compiler
6120: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6121: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6122: # This bug is HP SR number 8606223364.
1.43 ! ohara 6123: { $as_echo "$as_me:$LINENO: checking size of long" >&5
! 6124: $as_echo_n "checking size of long... " >&6; }
1.14 noro 6125: if test "${ac_cv_sizeof_long+set}" = set; then
1.43 ! ohara 6126: $as_echo_n "(cached) " >&6
1.14 noro 6127: else
6128: if test "$cross_compiling" = yes; then
6129: # Depending upon the size, compute the lo and hi bounds.
6130: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6131: /* confdefs.h. */
6132: _ACEOF
6133: cat confdefs.h >>conftest.$ac_ext
6134: cat >>conftest.$ac_ext <<_ACEOF
6135: /* end confdefs.h. */
1.14 noro 6136: $ac_includes_default
6137: int
6138: main ()
6139: {
1.43 ! ohara 6140: static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
1.14 noro 6141: test_array [0] = 0
6142:
6143: ;
6144: return 0;
6145: }
6146: _ACEOF
6147: rm -f conftest.$ac_objext
1.37 ohara 6148: if { (ac_try="$ac_compile"
6149: case "(($ac_try" in
6150: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6151: *) ac_try_echo=$ac_try;;
6152: esac
1.43 ! ohara 6153: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6154: $as_echo "$ac_try_echo") >&5
1.37 ohara 6155: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6156: ac_status=$?
1.32 noro 6157: grep -v '^ *+' conftest.er1 >conftest.err
6158: rm -f conftest.er1
6159: cat conftest.err >&5
1.43 ! ohara 6160: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6161: (exit $ac_status); } && {
6162: test -z "$ac_c_werror_flag" ||
6163: test ! -s conftest.err
6164: } && test -s conftest.$ac_objext; then
1.14 noro 6165: ac_lo=0 ac_mid=0
6166: while :; do
6167: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6168: /* confdefs.h. */
6169: _ACEOF
6170: cat confdefs.h >>conftest.$ac_ext
6171: cat >>conftest.$ac_ext <<_ACEOF
6172: /* end confdefs.h. */
1.14 noro 6173: $ac_includes_default
6174: int
6175: main ()
6176: {
1.43 ! ohara 6177: static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
1.14 noro 6178: test_array [0] = 0
6179:
6180: ;
6181: return 0;
6182: }
6183: _ACEOF
6184: rm -f conftest.$ac_objext
1.37 ohara 6185: if { (ac_try="$ac_compile"
6186: case "(($ac_try" in
6187: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6188: *) ac_try_echo=$ac_try;;
6189: esac
1.43 ! ohara 6190: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6191: $as_echo "$ac_try_echo") >&5
1.37 ohara 6192: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6193: ac_status=$?
1.32 noro 6194: grep -v '^ *+' conftest.er1 >conftest.err
6195: rm -f conftest.er1
6196: cat conftest.err >&5
1.43 ! ohara 6197: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6198: (exit $ac_status); } && {
6199: test -z "$ac_c_werror_flag" ||
6200: test ! -s conftest.err
6201: } && test -s conftest.$ac_objext; then
1.14 noro 6202: ac_hi=$ac_mid; break
6203: else
1.43 ! ohara 6204: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6205: sed 's/^/| /' conftest.$ac_ext >&5
6206:
1.37 ohara 6207: ac_lo=`expr $ac_mid + 1`
6208: if test $ac_lo -le $ac_mid; then
6209: ac_lo= ac_hi=
6210: break
6211: fi
6212: ac_mid=`expr 2 '*' $ac_mid + 1`
1.14 noro 6213: fi
1.37 ohara 6214:
6215: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6216: done
6217: else
1.43 ! ohara 6218: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6219: sed 's/^/| /' conftest.$ac_ext >&5
6220:
1.37 ohara 6221: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6222: /* confdefs.h. */
6223: _ACEOF
6224: cat confdefs.h >>conftest.$ac_ext
6225: cat >>conftest.$ac_ext <<_ACEOF
6226: /* end confdefs.h. */
1.14 noro 6227: $ac_includes_default
6228: int
6229: main ()
6230: {
1.43 ! ohara 6231: static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
1.14 noro 6232: test_array [0] = 0
6233:
6234: ;
6235: return 0;
6236: }
6237: _ACEOF
6238: rm -f conftest.$ac_objext
1.37 ohara 6239: if { (ac_try="$ac_compile"
6240: case "(($ac_try" in
6241: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6242: *) ac_try_echo=$ac_try;;
6243: esac
1.43 ! ohara 6244: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6245: $as_echo "$ac_try_echo") >&5
1.37 ohara 6246: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6247: ac_status=$?
1.32 noro 6248: grep -v '^ *+' conftest.er1 >conftest.err
6249: rm -f conftest.er1
6250: cat conftest.err >&5
1.43 ! ohara 6251: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6252: (exit $ac_status); } && {
6253: test -z "$ac_c_werror_flag" ||
6254: test ! -s conftest.err
6255: } && test -s conftest.$ac_objext; then
1.14 noro 6256: ac_hi=-1 ac_mid=-1
6257: while :; do
6258: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6259: /* confdefs.h. */
6260: _ACEOF
6261: cat confdefs.h >>conftest.$ac_ext
6262: cat >>conftest.$ac_ext <<_ACEOF
6263: /* end confdefs.h. */
1.14 noro 6264: $ac_includes_default
6265: int
6266: main ()
6267: {
1.43 ! ohara 6268: static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
1.14 noro 6269: test_array [0] = 0
6270:
6271: ;
6272: return 0;
6273: }
6274: _ACEOF
6275: rm -f conftest.$ac_objext
1.37 ohara 6276: if { (ac_try="$ac_compile"
6277: case "(($ac_try" in
6278: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6279: *) ac_try_echo=$ac_try;;
6280: esac
1.43 ! ohara 6281: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6282: $as_echo "$ac_try_echo") >&5
1.37 ohara 6283: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6284: ac_status=$?
1.32 noro 6285: grep -v '^ *+' conftest.er1 >conftest.err
6286: rm -f conftest.er1
6287: cat conftest.err >&5
1.43 ! ohara 6288: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6289: (exit $ac_status); } && {
6290: test -z "$ac_c_werror_flag" ||
6291: test ! -s conftest.err
6292: } && test -s conftest.$ac_objext; then
1.14 noro 6293: ac_lo=$ac_mid; break
6294: else
1.43 ! ohara 6295: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6296: sed 's/^/| /' conftest.$ac_ext >&5
6297:
1.37 ohara 6298: ac_hi=`expr '(' $ac_mid ')' - 1`
6299: if test $ac_mid -le $ac_hi; then
6300: ac_lo= ac_hi=
6301: break
6302: fi
6303: ac_mid=`expr 2 '*' $ac_mid`
1.14 noro 6304: fi
1.37 ohara 6305:
6306: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6307: done
6308: else
1.43 ! ohara 6309: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6310: sed 's/^/| /' conftest.$ac_ext >&5
6311:
1.37 ohara 6312: ac_lo= ac_hi=
1.14 noro 6313: fi
1.37 ohara 6314:
6315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6316: fi
1.37 ohara 6317:
6318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6319: # Binary search between lo and hi bounds.
6320: while test "x$ac_lo" != "x$ac_hi"; do
6321: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6322: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6323: /* confdefs.h. */
6324: _ACEOF
6325: cat confdefs.h >>conftest.$ac_ext
6326: cat >>conftest.$ac_ext <<_ACEOF
6327: /* end confdefs.h. */
1.14 noro 6328: $ac_includes_default
6329: int
6330: main ()
6331: {
1.43 ! ohara 6332: static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
1.14 noro 6333: test_array [0] = 0
6334:
6335: ;
6336: return 0;
6337: }
6338: _ACEOF
6339: rm -f conftest.$ac_objext
1.37 ohara 6340: if { (ac_try="$ac_compile"
6341: case "(($ac_try" in
6342: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6343: *) ac_try_echo=$ac_try;;
6344: esac
1.43 ! ohara 6345: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6346: $as_echo "$ac_try_echo") >&5
1.37 ohara 6347: (eval "$ac_compile") 2>conftest.er1
1.14 noro 6348: ac_status=$?
1.32 noro 6349: grep -v '^ *+' conftest.er1 >conftest.err
6350: rm -f conftest.er1
6351: cat conftest.err >&5
1.43 ! ohara 6352: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6353: (exit $ac_status); } && {
6354: test -z "$ac_c_werror_flag" ||
6355: test ! -s conftest.err
6356: } && test -s conftest.$ac_objext; then
1.14 noro 6357: ac_hi=$ac_mid
6358: else
1.43 ! ohara 6359: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6360: sed 's/^/| /' conftest.$ac_ext >&5
6361:
1.37 ohara 6362: ac_lo=`expr '(' $ac_mid ')' + 1`
1.14 noro 6363: fi
1.37 ohara 6364:
6365: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14 noro 6366: done
6367: case $ac_lo in
6368: ?*) ac_cv_sizeof_long=$ac_lo;;
1.37 ohara 6369: '') if test "$ac_cv_type_long" = yes; then
1.43 ! ohara 6370: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.32 noro 6371: See \`config.log' for more details." >&5
1.43 ! ohara 6372: $as_echo "$as_me: error: cannot compute sizeof (long)
1.32 noro 6373: See \`config.log' for more details." >&2;}
1.37 ohara 6374: { (exit 77); exit 77; }; }
6375: else
6376: ac_cv_sizeof_long=0
6377: fi ;;
1.14 noro 6378: esac
6379: else
6380: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6381: /* confdefs.h. */
6382: _ACEOF
6383: cat confdefs.h >>conftest.$ac_ext
6384: cat >>conftest.$ac_ext <<_ACEOF
6385: /* end confdefs.h. */
1.14 noro 6386: $ac_includes_default
1.43 ! ohara 6387: static long int longval () { return (long int) (sizeof (long)); }
! 6388: static unsigned long int ulongval () { return (long int) (sizeof (long)); }
1.14 noro 6389: #include <stdio.h>
6390: #include <stdlib.h>
6391: int
6392: main ()
6393: {
6394:
6395: FILE *f = fopen ("conftest.val", "w");
6396: if (! f)
1.37 ohara 6397: return 1;
1.43 ! ohara 6398: if (((long int) (sizeof (long))) < 0)
1.14 noro 6399: {
1.37 ohara 6400: long int i = longval ();
1.43 ! ohara 6401: if (i != ((long int) (sizeof (long))))
1.37 ohara 6402: return 1;
1.43 ! ohara 6403: fprintf (f, "%ld", i);
1.14 noro 6404: }
6405: else
6406: {
1.37 ohara 6407: unsigned long int i = ulongval ();
1.43 ! ohara 6408: if (i != ((long int) (sizeof (long))))
1.37 ohara 6409: return 1;
1.43 ! ohara 6410: fprintf (f, "%lu", i);
1.14 noro 6411: }
1.43 ! ohara 6412: /* Do not output a trailing newline, as this causes \r\n confusion
! 6413: on some platforms. */
1.37 ohara 6414: return ferror (f) || fclose (f) != 0;
1.14 noro 6415:
6416: ;
6417: return 0;
6418: }
6419: _ACEOF
6420: rm -f conftest$ac_exeext
1.37 ohara 6421: if { (ac_try="$ac_link"
6422: case "(($ac_try" in
6423: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424: *) ac_try_echo=$ac_try;;
6425: esac
1.43 ! ohara 6426: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6427: $as_echo "$ac_try_echo") >&5
1.37 ohara 6428: (eval "$ac_link") 2>&5
1.14 noro 6429: ac_status=$?
1.43 ! ohara 6430: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 6431: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.37 ohara 6432: { (case "(($ac_try" in
6433: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6434: *) ac_try_echo=$ac_try;;
6435: esac
1.43 ! ohara 6436: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6437: $as_echo "$ac_try_echo") >&5
1.37 ohara 6438: (eval "$ac_try") 2>&5
1.14 noro 6439: ac_status=$?
1.43 ! ohara 6440: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14 noro 6441: (exit $ac_status); }; }; then
6442: ac_cv_sizeof_long=`cat conftest.val`
6443: else
1.43 ! ohara 6444: $as_echo "$as_me: program exited with status $ac_status" >&5
! 6445: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6446: sed 's/^/| /' conftest.$ac_ext >&5
6447:
1.14 noro 6448: ( exit $ac_status )
1.37 ohara 6449: if test "$ac_cv_type_long" = yes; then
1.43 ! ohara 6450: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.32 noro 6451: See \`config.log' for more details." >&5
1.43 ! ohara 6452: $as_echo "$as_me: error: cannot compute sizeof (long)
1.32 noro 6453: See \`config.log' for more details." >&2;}
1.37 ohara 6454: { (exit 77); exit 77; }; }
6455: else
6456: ac_cv_sizeof_long=0
6457: fi
1.14 noro 6458: fi
1.43 ! ohara 6459: rm -rf conftest.dSYM
1.37 ohara 6460: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14 noro 6461: fi
6462: rm -f conftest.val
6463: fi
1.43 ! ohara 6464: { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
! 6465: $as_echo "$ac_cv_sizeof_long" >&6; }
1.37 ohara 6466:
6467:
6468:
1.14 noro 6469: cat >>confdefs.h <<_ACEOF
6470: #define SIZEOF_LONG $ac_cv_sizeof_long
6471: _ACEOF
6472:
6473:
1.26 noro 6474: if test "${ac_cv_sizeof_long}" = 8; then
1.16 noro 6475: cat >>confdefs.h <<\_ACEOF
1.14 noro 6476: #define LONG_IS_64BIT 1
6477: _ACEOF
6478:
1.16 noro 6479: else
6480: cat >>confdefs.h <<\_ACEOF
1.14 noro 6481: #define LONG_IS_32BIT 1
6482: _ACEOF
6483:
6484: fi
6485: if test "${no_x}" != yes ; then
1.25 ohara 6486: if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then
1.21 ohara 6487: XPMLIB="-lXpm"
6488: fi
1.37 ohara 6489: # Check whether --enable-plot was given.
1.14 noro 6490: if test "${enable_plot+set}" = set; then
1.37 ohara 6491: enableval=$enable_plot; enable_plot=yes
1.14 noro 6492: else
6493: enable_plot=no
1.37 ohara 6494: fi
6495:
1.14 noro 6496: fi
6497:
1.21 ohara 6498:
1.14 noro 6499: if test ${enable_plot:=no} != no ; then
6500: libasir_postfix=${libasir_postfix}_X
6501: cat >>confdefs.h <<\_ACEOF
6502: #define DO_PLOT 1
6503: _ACEOF
6504:
6505: fi
1.37 ohara 6506: if test "$enable_plot" = yes; then
1.14 noro 6507: USE_PLOT_TRUE=
6508: USE_PLOT_FALSE='#'
6509: else
6510: USE_PLOT_TRUE='#'
6511: USE_PLOT_FALSE=
6512: fi
6513:
1.37 ohara 6514:
6515: # Check whether --enable-interval was given.
1.14 noro 6516: if test "${enable_interval+set}" = set; then
1.37 ohara 6517: enableval=$enable_interval; enable_interval=${enableval}
1.14 noro 6518: else
6519: enable_interval=no
1.37 ohara 6520: fi
6521:
1.14 noro 6522:
6523: if test ${enable_interval:=no} != no ; then
6524: libasir_postfix=${libasir_postfix}_itv
6525: cat >>confdefs.h <<\_ACEOF
6526: #define INTERVAL 1
6527: _ACEOF
6528:
6529: if test "${enable_interval}" = debug ; then
6530: cat >>confdefs.h <<\_ACEOF
6531: #define ITVDEBUG 1
6532: _ACEOF
6533:
6534: fi
6535: fi
6536:
6537:
6538: if test "${enable_fep:=no}" != no ; then
6539: cat >>confdefs.h <<\_ACEOF
6540: #define FEP 1
6541: _ACEOF
6542:
6543: FEPLIB="-lreadline -ltermcap"
6544: fi
6545:
6546:
1.37 ohara 6547: # Check whether --enable-fft-float was given.
1.14 noro 6548: if test "${enable_fft_float+set}" = set; then
1.37 ohara 6549: enableval=$enable_fft_float; enable_fft_float=yes
1.14 noro 6550: else
6551: enable_fft_float=no
1.37 ohara 6552: fi
6553:
1.14 noro 6554:
6555: if test "${enable_fft_float:=no}" != no ; then
6556: cat >>confdefs.h <<\_ACEOF
6557: #define USE_FLOAT 1
6558: _ACEOF
6559:
6560: fi
6561:
6562:
6563: if test "${with_mpi:=no}" != no ; then
6564: MPIINC="-I/opt/FJSVmpi2/include"
6565: MPILIB="-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread"
6566: cat >>confdefs.h <<\_ACEOF
6567: #define MPI 1
6568: _ACEOF
6569:
6570: fi
6571:
6572:
6573:
6574:
6575: if test "${with_lapack:=no}" != no ; then
1.33 noro 6576: LAPACKLIB="-llapack -lblas -lg2c"
1.14 noro 6577: cat >>confdefs.h <<\_ACEOF
6578: #define LAPACK 1
6579: _ACEOF
6580:
6581: fi
6582:
6583:
6584:
6585:
6586:
6587: i386_elf_obj=asmi_l.o
6588: i386_aout_obj=asmi.o
6589: sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o"
1.30 noro 6590: sparc_v9_obj=asmalpha.o
1.14 noro 6591: generic_obj=asmalpha.o
6592:
6593: case "${host}" in
1.20 ohara 6594: i[3-6]86-*-freebsd[3-9].*)
1.14 noro 6595: asm_obj="${i386_elf_obj}"
1.20 ohara 6596: ;;
6597: i[3-6]86-*-linux*|x86-*-linux*)
6598: asm_obj="${i386_elf_obj}"
6599: cat >>confdefs.h <<\_ACEOF
1.24 ohara 6600: #define _BSD_SOURCE 1
1.20 ohara 6601: _ACEOF
6602:
1.14 noro 6603: ;;
6604: *-*-cygwin*)
6605: asm_obj="${i386_aout_obj}"
6606: ;;
1.27 ohara 6607: i[3-6]86-*-interix*)
1.28 ohara 6608: asm_obj="${i386_aout_obj}"
1.27 ohara 6609: cat >>confdefs.h <<\_ACEOF
6610: #define _ALL_SOURCE 1
6611: _ACEOF
6612:
6613: ;;
1.14 noro 6614: sparc-sun-solaris2.*)
6615: case "`uname -m`" in
6616: sun4[dm]) asm_obj="${sparc_v8_obj}" ;;
1.31 ohara 6617: sun4u*) asm_obj="${sparc_v9_obj}"
6618: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
6619: CFLAGS="${CFLAGS} -m64"
6620: fi
6621:
6622: ;;
1.14 noro 6623: *) asm_obj="${generic_obj}" ;;
6624: esac
6625: cat >>confdefs.h <<\_ACEOF
6626: #define SYSV 1
6627: _ACEOF
6628:
6629: ;;
1.36 ohara 6630: *-apple-darwin*)
1.14 noro 6631: asm_obj="${generic_obj}"
6632: cat >>confdefs.h <<\_ACEOF
6633: #define __DARWIN__ 1
6634: _ACEOF
6635:
1.19 ohara 6636: ;;
6637: arm*-*-linux*)
6638: asm_obj="${generic_obj}"
6639: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
6640: CFLAGS="${CFLAGS} -fsigned-char"
6641: fi
1.14 noro 6642: ;;
6643: *)
6644: asm_obj="${generic_obj}"
6645: ;;
6646: esac
6647:
6648:
6649:
1.43 ! ohara 6650: { $as_echo "$as_me:$LINENO: checking for socket" >&5
! 6651: $as_echo_n "checking for socket... " >&6; }
1.14 noro 6652: if test "${ac_cv_func_socket+set}" = set; then
1.43 ! ohara 6653: $as_echo_n "(cached) " >&6
1.14 noro 6654: else
6655: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6656: /* confdefs.h. */
6657: _ACEOF
6658: cat confdefs.h >>conftest.$ac_ext
6659: cat >>conftest.$ac_ext <<_ACEOF
6660: /* end confdefs.h. */
6661: /* Define socket to an innocuous variant, in case <limits.h> declares socket.
6662: For example, HP-UX 11i <limits.h> declares gettimeofday. */
6663: #define socket innocuous_socket
6664:
1.14 noro 6665: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 6666: which can conflict with char socket (); below.
6667: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6668: <limits.h> exists even on freestanding compilers. */
6669:
6670: #ifdef __STDC__
6671: # include <limits.h>
6672: #else
6673: # include <assert.h>
6674: #endif
6675:
6676: #undef socket
6677:
1.37 ohara 6678: /* Override any GCC internal prototype to avoid an error.
6679: Use char because int might match the return type of a GCC
6680: builtin and then its argument prototype would still apply. */
1.14 noro 6681: #ifdef __cplusplus
6682: extern "C"
6683: #endif
6684: char socket ();
6685: /* The GNU C library defines this for functions which it implements
6686: to always fail with ENOSYS. Some functions are actually named
6687: something starting with __ and the normal name is an alias. */
1.37 ohara 6688: #if defined __stub_socket || defined __stub___socket
1.14 noro 6689: choke me
6690: #endif
6691:
1.32 noro 6692: int
6693: main ()
6694: {
1.37 ohara 6695: return socket ();
1.14 noro 6696: ;
6697: return 0;
6698: }
6699: _ACEOF
6700: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 6701: if { (ac_try="$ac_link"
6702: case "(($ac_try" in
6703: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6704: *) ac_try_echo=$ac_try;;
6705: esac
1.43 ! ohara 6706: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6707: $as_echo "$ac_try_echo") >&5
1.37 ohara 6708: (eval "$ac_link") 2>conftest.er1
1.14 noro 6709: ac_status=$?
1.32 noro 6710: grep -v '^ *+' conftest.er1 >conftest.err
6711: rm -f conftest.er1
6712: cat conftest.err >&5
1.43 ! ohara 6713: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6714: (exit $ac_status); } && {
6715: test -z "$ac_c_werror_flag" ||
6716: test ! -s conftest.err
1.43 ! ohara 6717: } && test -s conftest$ac_exeext && {
! 6718: test "$cross_compiling" = yes ||
! 6719: $as_test_x conftest$ac_exeext
! 6720: }; then
1.14 noro 6721: ac_cv_func_socket=yes
6722: else
1.43 ! ohara 6723: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6724: sed 's/^/| /' conftest.$ac_ext >&5
6725:
1.37 ohara 6726: ac_cv_func_socket=no
1.14 noro 6727: fi
1.37 ohara 6728:
1.43 ! ohara 6729: rm -rf conftest.dSYM
1.37 ohara 6730: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 6731: conftest$ac_exeext conftest.$ac_ext
1.14 noro 6732: fi
1.43 ! ohara 6733: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
! 6734: $as_echo "$ac_cv_func_socket" >&6; }
1.14 noro 6735: if test $ac_cv_func_socket = yes; then
6736: :
6737: else
6738:
1.43 ! ohara 6739: { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
! 6740: $as_echo_n "checking for socket in -lsocket... " >&6; }
1.14 noro 6741: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.43 ! ohara 6742: $as_echo_n "(cached) " >&6
1.14 noro 6743: else
6744: ac_check_lib_save_LIBS=$LIBS
6745: LIBS="-lsocket $LIBS"
6746: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6747: /* confdefs.h. */
6748: _ACEOF
6749: cat confdefs.h >>conftest.$ac_ext
6750: cat >>conftest.$ac_ext <<_ACEOF
6751: /* end confdefs.h. */
1.14 noro 6752:
1.37 ohara 6753: /* Override any GCC internal prototype to avoid an error.
6754: Use char because int might match the return type of a GCC
6755: builtin and then its argument prototype would still apply. */
1.14 noro 6756: #ifdef __cplusplus
6757: extern "C"
6758: #endif
6759: char socket ();
6760: int
6761: main ()
6762: {
1.37 ohara 6763: return socket ();
1.14 noro 6764: ;
6765: return 0;
6766: }
6767: _ACEOF
6768: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 6769: if { (ac_try="$ac_link"
6770: case "(($ac_try" in
6771: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6772: *) ac_try_echo=$ac_try;;
6773: esac
1.43 ! ohara 6774: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6775: $as_echo "$ac_try_echo") >&5
1.37 ohara 6776: (eval "$ac_link") 2>conftest.er1
1.14 noro 6777: ac_status=$?
1.32 noro 6778: grep -v '^ *+' conftest.er1 >conftest.err
6779: rm -f conftest.er1
6780: cat conftest.err >&5
1.43 ! ohara 6781: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6782: (exit $ac_status); } && {
6783: test -z "$ac_c_werror_flag" ||
6784: test ! -s conftest.err
1.43 ! ohara 6785: } && test -s conftest$ac_exeext && {
! 6786: test "$cross_compiling" = yes ||
! 6787: $as_test_x conftest$ac_exeext
! 6788: }; then
1.14 noro 6789: ac_cv_lib_socket_socket=yes
6790: else
1.43 ! ohara 6791: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6792: sed 's/^/| /' conftest.$ac_ext >&5
6793:
1.37 ohara 6794: ac_cv_lib_socket_socket=no
1.14 noro 6795: fi
1.37 ohara 6796:
1.43 ! ohara 6797: rm -rf conftest.dSYM
1.37 ohara 6798: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 6799: conftest$ac_exeext conftest.$ac_ext
1.14 noro 6800: LIBS=$ac_check_lib_save_LIBS
6801: fi
1.43 ! ohara 6802: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
! 6803: $as_echo "$ac_cv_lib_socket_socket" >&6; }
1.14 noro 6804: if test $ac_cv_lib_socket_socket = yes; then
6805: cat >>confdefs.h <<_ACEOF
6806: #define HAVE_LIBSOCKET 1
6807: _ACEOF
6808:
6809: LIBS="-lsocket $LIBS"
6810:
6811: fi
6812:
6813: fi
6814:
1.43 ! ohara 6815: { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
! 6816: $as_echo_n "checking for gethostbyname... " >&6; }
1.14 noro 6817: if test "${ac_cv_func_gethostbyname+set}" = set; then
1.43 ! ohara 6818: $as_echo_n "(cached) " >&6
1.14 noro 6819: else
6820: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6821: /* confdefs.h. */
6822: _ACEOF
6823: cat confdefs.h >>conftest.$ac_ext
6824: cat >>conftest.$ac_ext <<_ACEOF
6825: /* end confdefs.h. */
6826: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6827: For example, HP-UX 11i <limits.h> declares gettimeofday. */
6828: #define gethostbyname innocuous_gethostbyname
6829:
1.14 noro 6830: /* System header to define __stub macros and hopefully few prototypes,
1.32 noro 6831: which can conflict with char gethostbyname (); below.
6832: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833: <limits.h> exists even on freestanding compilers. */
6834:
6835: #ifdef __STDC__
6836: # include <limits.h>
6837: #else
6838: # include <assert.h>
6839: #endif
6840:
6841: #undef gethostbyname
6842:
1.37 ohara 6843: /* Override any GCC internal prototype to avoid an error.
6844: Use char because int might match the return type of a GCC
6845: builtin and then its argument prototype would still apply. */
1.14 noro 6846: #ifdef __cplusplus
6847: extern "C"
6848: #endif
6849: char gethostbyname ();
6850: /* The GNU C library defines this for functions which it implements
6851: to always fail with ENOSYS. Some functions are actually named
6852: something starting with __ and the normal name is an alias. */
1.37 ohara 6853: #if defined __stub_gethostbyname || defined __stub___gethostbyname
1.14 noro 6854: choke me
6855: #endif
6856:
1.32 noro 6857: int
6858: main ()
6859: {
1.37 ohara 6860: return gethostbyname ();
1.14 noro 6861: ;
6862: return 0;
6863: }
6864: _ACEOF
6865: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 6866: if { (ac_try="$ac_link"
6867: case "(($ac_try" in
6868: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6869: *) ac_try_echo=$ac_try;;
6870: esac
1.43 ! ohara 6871: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6872: $as_echo "$ac_try_echo") >&5
1.37 ohara 6873: (eval "$ac_link") 2>conftest.er1
1.14 noro 6874: ac_status=$?
1.32 noro 6875: grep -v '^ *+' conftest.er1 >conftest.err
6876: rm -f conftest.er1
6877: cat conftest.err >&5
1.43 ! ohara 6878: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6879: (exit $ac_status); } && {
6880: test -z "$ac_c_werror_flag" ||
6881: test ! -s conftest.err
1.43 ! ohara 6882: } && test -s conftest$ac_exeext && {
! 6883: test "$cross_compiling" = yes ||
! 6884: $as_test_x conftest$ac_exeext
! 6885: }; then
1.14 noro 6886: ac_cv_func_gethostbyname=yes
6887: else
1.43 ! ohara 6888: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6889: sed 's/^/| /' conftest.$ac_ext >&5
6890:
1.37 ohara 6891: ac_cv_func_gethostbyname=no
1.14 noro 6892: fi
1.37 ohara 6893:
1.43 ! ohara 6894: rm -rf conftest.dSYM
1.37 ohara 6895: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 6896: conftest$ac_exeext conftest.$ac_ext
1.14 noro 6897: fi
1.43 ! ohara 6898: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
! 6899: $as_echo "$ac_cv_func_gethostbyname" >&6; }
1.14 noro 6900: if test $ac_cv_func_gethostbyname = yes; then
6901: :
6902: else
6903:
1.43 ! ohara 6904: { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
! 6905: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.14 noro 6906: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.43 ! ohara 6907: $as_echo_n "(cached) " >&6
1.14 noro 6908: else
6909: ac_check_lib_save_LIBS=$LIBS
6910: LIBS="-lnsl $LIBS"
6911: cat >conftest.$ac_ext <<_ACEOF
1.32 noro 6912: /* confdefs.h. */
6913: _ACEOF
6914: cat confdefs.h >>conftest.$ac_ext
6915: cat >>conftest.$ac_ext <<_ACEOF
6916: /* end confdefs.h. */
1.14 noro 6917:
1.37 ohara 6918: /* Override any GCC internal prototype to avoid an error.
6919: Use char because int might match the return type of a GCC
6920: builtin and then its argument prototype would still apply. */
1.14 noro 6921: #ifdef __cplusplus
6922: extern "C"
6923: #endif
6924: char gethostbyname ();
6925: int
6926: main ()
6927: {
1.37 ohara 6928: return gethostbyname ();
1.14 noro 6929: ;
6930: return 0;
6931: }
6932: _ACEOF
6933: rm -f conftest.$ac_objext conftest$ac_exeext
1.37 ohara 6934: if { (ac_try="$ac_link"
6935: case "(($ac_try" in
6936: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6937: *) ac_try_echo=$ac_try;;
6938: esac
1.43 ! ohara 6939: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6940: $as_echo "$ac_try_echo") >&5
1.37 ohara 6941: (eval "$ac_link") 2>conftest.er1
1.14 noro 6942: ac_status=$?
1.32 noro 6943: grep -v '^ *+' conftest.er1 >conftest.err
6944: rm -f conftest.er1
6945: cat conftest.err >&5
1.43 ! ohara 6946: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 ohara 6947: (exit $ac_status); } && {
6948: test -z "$ac_c_werror_flag" ||
6949: test ! -s conftest.err
1.43 ! ohara 6950: } && test -s conftest$ac_exeext && {
! 6951: test "$cross_compiling" = yes ||
! 6952: $as_test_x conftest$ac_exeext
! 6953: }; then
1.14 noro 6954: ac_cv_lib_nsl_gethostbyname=yes
6955: else
1.43 ! ohara 6956: $as_echo "$as_me: failed program was:" >&5
1.32 noro 6957: sed 's/^/| /' conftest.$ac_ext >&5
6958:
1.37 ohara 6959: ac_cv_lib_nsl_gethostbyname=no
1.14 noro 6960: fi
1.37 ohara 6961:
1.43 ! ohara 6962: rm -rf conftest.dSYM
1.37 ohara 6963: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32 noro 6964: conftest$ac_exeext conftest.$ac_ext
1.14 noro 6965: LIBS=$ac_check_lib_save_LIBS
6966: fi
1.43 ! ohara 6967: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 6968: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.14 noro 6969: if test $ac_cv_lib_nsl_gethostbyname = yes; then
6970: cat >>confdefs.h <<_ACEOF
6971: #define HAVE_LIBNSL 1
6972: _ACEOF
6973:
6974: LIBS="-lnsl $LIBS"
6975:
6976: fi
6977:
6978: fi
6979:
6980:
1.37 ohara 6981: ac_config_files="$ac_config_files Makefile engine/Makefile asm/Makefile builtin/Makefile fft/Makefile include/Makefile io/Makefile lib/Makefile parse/Makefile plot/Makefile"
6982:
1.14 noro 6983: cat >confcache <<\_ACEOF
6984: # This file is a shell script that caches the results of configure
6985: # tests run on this system so they can be shared between configure
6986: # scripts and configure runs, see configure's option --config-cache.
6987: # It is not useful on other systems. If it contains results you don't
6988: # want to keep, you may remove or edit it.
6989: #
6990: # config.status only pays attention to the cache file if you give it
6991: # the --recheck option to rerun configure.
6992: #
1.32 noro 6993: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.14 noro 6994: # loading this file, other *unset* `ac_cv_foo' will be assigned the
6995: # following values.
6996:
6997: _ACEOF
6998:
6999: # The following way of writing the cache mishandles newlines in values,
7000: # but we know of no workaround that is simple, portable, and efficient.
1.37 ohara 7001: # So, we kill variables containing newlines.
1.14 noro 7002: # Ultrix sh set writes to stderr and can't be redirected directly,
7003: # and sets the high bit in the cache file unless we assign to the vars.
1.37 ohara 7004: (
7005: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7006: eval ac_val=\$$ac_var
7007: case $ac_val in #(
7008: *${as_nl}*)
7009: case $ac_var in #(
1.43 ! ohara 7010: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 7011: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.37 ohara 7012: esac
7013: case $ac_var in #(
7014: _ | IFS | as_nl) ;; #(
1.43 ! ohara 7015: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.37 ohara 7016: *) $as_unset $ac_var ;;
7017: esac ;;
7018: esac
7019: done
7020:
1.14 noro 7021: (set) 2>&1 |
1.37 ohara 7022: case $as_nl`(ac_space=' '; set) 2>&1` in #(
7023: *${as_nl}ac_space=\ *)
1.14 noro 7024: # `set' does not quote correctly, so add quotes (double-quote
7025: # substitution turns \\\\ into \\, and sed turns \\ into \).
7026: sed -n \
1.32 noro 7027: "s/'/'\\\\''/g;
7028: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.37 ohara 7029: ;; #(
1.14 noro 7030: *)
7031: # `set' quotes correctly as required by POSIX, so do not add quotes.
1.37 ohara 7032: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.14 noro 7033: ;;
1.37 ohara 7034: esac |
7035: sort
7036: ) |
1.14 noro 7037: sed '
1.37 ohara 7038: /^ac_cv_env_/b end
1.14 noro 7039: t clear
1.37 ohara 7040: :clear
1.14 noro 7041: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7042: t end
1.37 ohara 7043: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7044: :end' >>confcache
7045: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7046: if test -w "$cache_file"; then
7047: test "x$cache_file" != "x/dev/null" &&
1.43 ! ohara 7048: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 7049: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.14 noro 7050: cat confcache >$cache_file
7051: else
1.43 ! ohara 7052: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 7053: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.14 noro 7054: fi
7055: fi
7056: rm -f confcache
7057:
7058: test "x$prefix" = xNONE && prefix=$ac_default_prefix
7059: # Let make expand exec_prefix.
7060: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7061:
7062: # Transform confdefs.h into DEFS.
7063: # Protect against shell expansion while executing Makefile rules.
7064: # Protect against Makefile macro expansion.
7065: #
7066: # If the first sed substitution is executed (which looks for macros that
1.37 ohara 7067: # take arguments), then branch to the quote section. Otherwise,
1.14 noro 7068: # look for a macro that doesn't take arguments.
1.37 ohara 7069: ac_script='
1.43 ! ohara 7070: :mline
! 7071: /\\$/{
! 7072: N
! 7073: s,\\\n,,
! 7074: b mline
! 7075: }
1.14 noro 7076: t clear
1.37 ohara 7077: :clear
7078: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1.14 noro 7079: t quote
1.37 ohara 7080: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1.14 noro 7081: t quote
1.37 ohara 7082: b any
7083: :quote
7084: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7085: s/\[/\\&/g
7086: s/\]/\\&/g
7087: s/\$/$$/g
7088: H
7089: :any
7090: ${
7091: g
7092: s/^\n//
7093: s/\n/ /g
7094: p
7095: }
7096: '
7097: DEFS=`sed -n "$ac_script" confdefs.h`
1.14 noro 7098:
7099:
1.32 noro 7100: ac_libobjs=
7101: ac_ltlibobjs=
7102: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7103: # 1. Remove the extension, and $U if already installed.
1.37 ohara 7104: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.43 ! ohara 7105: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.37 ohara 7106: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7107: # will be set to the directory where LIBOBJS objects are built.
7108: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7109: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.32 noro 7110: done
7111: LIBOBJS=$ac_libobjs
7112:
7113: LTLIBOBJS=$ac_ltlibobjs
7114:
7115:
1.37 ohara 7116: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.43 ! ohara 7117: { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1.37 ohara 7118: Usually this means the macro was only invoked conditionally." >&5
1.43 ! ohara 7119: $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1.37 ohara 7120: Usually this means the macro was only invoked conditionally." >&2;}
7121: { (exit 1); exit 1; }; }
7122: fi
7123: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.43 ! ohara 7124: { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.37 ohara 7125: Usually this means the macro was only invoked conditionally." >&5
1.43 ! ohara 7126: $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.37 ohara 7127: Usually this means the macro was only invoked conditionally." >&2;}
7128: { (exit 1); exit 1; }; }
7129: fi
7130: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.43 ! ohara 7131: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.37 ohara 7132: Usually this means the macro was only invoked conditionally." >&5
1.43 ! ohara 7133: $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.37 ohara 7134: Usually this means the macro was only invoked conditionally." >&2;}
7135: { (exit 1); exit 1; }; }
7136: fi
1.38 ohara 7137: if test -z "${USE_GC7_TRUE}" && test -z "${USE_GC7_FALSE}"; then
1.43 ! ohara 7138: { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GC7\" was never defined.
1.38 ohara 7139: Usually this means the macro was only invoked conditionally." >&5
1.43 ! ohara 7140: $as_echo "$as_me: error: conditional \"USE_GC7\" was never defined.
1.38 ohara 7141: Usually this means the macro was only invoked conditionally." >&2;}
7142: { (exit 1); exit 1; }; }
7143: fi
1.37 ohara 7144: if test -z "${USE_PLOT_TRUE}" && test -z "${USE_PLOT_FALSE}"; then
1.43 ! ohara 7145: { { $as_echo "$as_me:$LINENO: error: conditional \"USE_PLOT\" was never defined.
1.37 ohara 7146: Usually this means the macro was only invoked conditionally." >&5
1.43 ! ohara 7147: $as_echo "$as_me: error: conditional \"USE_PLOT\" was never defined.
1.37 ohara 7148: Usually this means the macro was only invoked conditionally." >&2;}
7149: { (exit 1); exit 1; }; }
7150: fi
1.14 noro 7151:
7152: : ${CONFIG_STATUS=./config.status}
1.43 ! ohara 7153: ac_write_fail=0
1.14 noro 7154: ac_clean_files_save=$ac_clean_files
7155: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.43 ! ohara 7156: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 7157: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 7158: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14 noro 7159: #! $SHELL
7160: # Generated by $as_me.
7161: # Run this file to recreate the current configuration.
7162: # Compiler output produced by configure, useful for debugging
7163: # configure, is in config.log if it exists.
7164:
7165: debug=false
1.32 noro 7166: ac_cs_recheck=false
7167: ac_cs_silent=false
1.14 noro 7168: SHELL=\${CONFIG_SHELL-$SHELL}
7169: _ACEOF
7170:
1.43 ! ohara 7171: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14 noro 7172: ## --------------------- ##
7173: ## M4sh Initialization. ##
7174: ## --------------------- ##
7175:
1.37 ohara 7176: # Be more Bourne compatible
7177: DUALCASE=1; export DUALCASE # for MKS sh
1.14 noro 7178: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7179: emulate sh
7180: NULLCMD=:
1.43 ! ohara 7181: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.32 noro 7182: # is contrary to our usage. Disable this feature.
7183: alias -g '${1+"$@"}'='"$@"'
1.37 ohara 7184: setopt NO_GLOB_SUBST
7185: else
7186: case `(set -o) 2>/dev/null` in
7187: *posix*) set -o posix ;;
7188: esac
7189:
7190: fi
7191:
7192:
7193:
7194:
7195: # PATH needs CR
7196: # Avoid depending upon Character Ranges.
7197: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7198: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7199: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7200: as_cr_digits='0123456789'
7201: as_cr_alnum=$as_cr_Letters$as_cr_digits
7202:
1.43 ! ohara 7203: as_nl='
! 7204: '
! 7205: export as_nl
! 7206: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 7207: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 7208: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 7209: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 7210: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 7211: as_echo='printf %s\n'
! 7212: as_echo_n='printf %s'
! 7213: else
! 7214: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 7215: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 7216: as_echo_n='/usr/ucb/echo -n'
! 7217: else
! 7218: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 7219: as_echo_n_body='eval
! 7220: arg=$1;
! 7221: case $arg in
! 7222: *"$as_nl"*)
! 7223: expr "X$arg" : "X\\(.*\\)$as_nl";
! 7224: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 7225: esac;
! 7226: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 7227: '
! 7228: export as_echo_n_body
! 7229: as_echo_n='sh -c $as_echo_n_body as_echo'
! 7230: fi
! 7231: export as_echo_body
! 7232: as_echo='sh -c $as_echo_body as_echo'
! 7233: fi
! 7234:
1.37 ohara 7235: # The user is always right.
7236: if test "${PATH_SEPARATOR+set}" != set; then
1.43 ! ohara 7237: PATH_SEPARATOR=:
! 7238: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 7239: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 7240: PATH_SEPARATOR=';'
! 7241: }
1.14 noro 7242: fi
7243:
7244: # Support unset when possible.
1.32 noro 7245: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.14 noro 7246: as_unset=unset
7247: else
7248: as_unset=false
7249: fi
7250:
1.32 noro 7251:
1.37 ohara 7252: # IFS
7253: # We need space, tab and new line, in precisely that order. Quoting is
7254: # there to prevent editors from complaining about space-tab.
7255: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7256: # splitting by setting IFS to empty value.)
7257: IFS=" "" $as_nl"
7258:
7259: # Find who we are. Look in the path if we contain no directory separator.
7260: case $0 in
7261: *[\\/]* ) as_myself=$0 ;;
7262: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263: for as_dir in $PATH
7264: do
7265: IFS=$as_save_IFS
7266: test -z "$as_dir" && as_dir=.
7267: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7268: done
7269: IFS=$as_save_IFS
7270:
7271: ;;
7272: esac
7273: # We did not find ourselves, most probably we were run as `sh COMMAND'
7274: # in which case we are not to be found in the path.
7275: if test "x$as_myself" = x; then
7276: as_myself=$0
7277: fi
7278: if test ! -f "$as_myself"; then
1.43 ! ohara 7279: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.37 ohara 7280: { (exit 1); exit 1; }
7281: fi
7282:
1.32 noro 7283: # Work around bugs in pre-3.0 UWIN ksh.
1.37 ohara 7284: for as_var in ENV MAIL MAILPATH
7285: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7286: done
1.32 noro 7287: PS1='$ '
7288: PS2='> '
7289: PS4='+ '
7290:
7291: # NLS nuisances.
1.43 ! ohara 7292: LC_ALL=C
! 7293: export LC_ALL
! 7294: LANGUAGE=C
! 7295: export LANGUAGE
1.32 noro 7296:
7297: # Required to use basename.
1.37 ohara 7298: if expr a : '\(a\)' >/dev/null 2>&1 &&
7299: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.32 noro 7300: as_expr=expr
7301: else
7302: as_expr=false
7303: fi
7304:
1.37 ohara 7305: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.32 noro 7306: as_basename=basename
7307: else
7308: as_basename=false
7309: fi
1.14 noro 7310:
7311:
7312: # Name of the executable.
1.37 ohara 7313: as_me=`$as_basename -- "$0" ||
1.14 noro 7314: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7315: X"$0" : 'X\(//\)$' \| \
1.37 ohara 7316: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 7317: $as_echo X/"$0" |
1.37 ohara 7318: sed '/^.*\/\([^/][^/]*\)\/*$/{
7319: s//\1/
7320: q
7321: }
7322: /^X\/\(\/\/\)$/{
7323: s//\1/
7324: q
7325: }
7326: /^X\/\(\/\).*/{
7327: s//\1/
7328: q
7329: }
7330: s/.*/./; q'`
1.14 noro 7331:
1.37 ohara 7332: # CDPATH.
7333: $as_unset CDPATH
1.32 noro 7334:
1.14 noro 7335:
7336:
7337: as_lineno_1=$LINENO
7338: as_lineno_2=$LINENO
7339: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.37 ohara 7340: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.2 noro 7341:
1.14 noro 7342: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7343: # uniformly replaced by the line number. The first 'sed' inserts a
1.37 ohara 7344: # line-number line after each line using $LINENO; the second 'sed'
7345: # does the real work. The second script uses 'N' to pair each
7346: # line-number line with the line containing $LINENO, and appends
7347: # trailing '-' during substitution so that $LINENO is not a special
7348: # case at line end.
1.14 noro 7349: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.37 ohara 7350: # scripts with optimization help from Paolo Bonzini. Blame Lee
7351: # E. McMahon (1931-1989) for sed's syntax. :-)
7352: sed -n '
7353: p
7354: /[$]LINENO/=
7355: ' <$as_myself |
1.14 noro 7356: sed '
1.37 ohara 7357: s/[$]LINENO.*/&-/
7358: t lineno
7359: b
7360: :lineno
1.14 noro 7361: N
1.37 ohara 7362: :loop
7363: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.14 noro 7364: t loop
1.37 ohara 7365: s/-\n.*//
1.14 noro 7366: ' >$as_me.lineno &&
1.37 ohara 7367: chmod +x "$as_me.lineno" ||
1.43 ! ohara 7368: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.14 noro 7369: { (exit 1); exit 1; }; }
7370:
7371: # Don't try to exec as it changes $[0], causing all sort of problems
7372: # (the dirname of $[0] is not the place where we might find the
1.37 ohara 7373: # original and so on. Autoconf is especially sensitive to this).
7374: . "./$as_me.lineno"
1.14 noro 7375: # Exit status is that of the last command.
7376: exit
7377: }
7378:
7379:
1.37 ohara 7380: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7381: as_dirname=dirname
7382: else
7383: as_dirname=false
7384: fi
7385:
7386: ECHO_C= ECHO_N= ECHO_T=
7387: case `echo -n x` in
7388: -n*)
7389: case `echo 'x\c'` in
7390: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7391: *) ECHO_C='\c';;
7392: esac;;
7393: *)
7394: ECHO_N='-n';;
1.14 noro 7395: esac
1.37 ohara 7396: if expr a : '\(a\)' >/dev/null 2>&1 &&
7397: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.14 noro 7398: as_expr=expr
7399: else
7400: as_expr=false
7401: fi
1.2 noro 7402:
1.14 noro 7403: rm -f conf$$ conf$$.exe conf$$.file
1.37 ohara 7404: if test -d conf$$.dir; then
7405: rm -f conf$$.dir/conf$$.file
7406: else
7407: rm -f conf$$.dir
1.43 ! ohara 7408: mkdir conf$$.dir 2>/dev/null
1.37 ohara 7409: fi
1.43 ! ohara 7410: if (echo >conf$$.file) 2>/dev/null; then
! 7411: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 7412: as_ln_s='ln -s'
! 7413: # ... but there are two gotchas:
! 7414: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 7415: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 7416: # In both cases, we have to default to `cp -p'.
! 7417: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 7418: as_ln_s='cp -p'
! 7419: elif ln conf$$.file conf$$ 2>/dev/null; then
! 7420: as_ln_s=ln
! 7421: else
1.14 noro 7422: as_ln_s='cp -p'
1.43 ! ohara 7423: fi
1.14 noro 7424: else
7425: as_ln_s='cp -p'
7426: fi
1.37 ohara 7427: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7428: rmdir conf$$.dir 2>/dev/null
1.2 noro 7429:
1.32 noro 7430: if mkdir -p . 2>/dev/null; then
7431: as_mkdir_p=:
7432: else
7433: test -d ./-p && rmdir ./-p
7434: as_mkdir_p=false
7435: fi
7436:
1.37 ohara 7437: if test -x / >/dev/null 2>&1; then
7438: as_test_x='test -x'
7439: else
7440: if ls -dL / >/dev/null 2>&1; then
7441: as_ls_L_option=L
7442: else
7443: as_ls_L_option=
7444: fi
7445: as_test_x='
7446: eval sh -c '\''
7447: if test -d "$1"; then
1.43 ! ohara 7448: test -d "$1/.";
1.37 ohara 7449: else
7450: case $1 in
1.43 ! ohara 7451: -*)set "./$1";;
1.37 ohara 7452: esac;
7453: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7454: ???[sx]*):;;*)false;;esac;fi
7455: '\'' sh
7456: '
7457: fi
7458: as_executable_p=$as_test_x
1.14 noro 7459:
7460: # Sed expression to map a string onto a valid CPP name.
1.32 noro 7461: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.14 noro 7462:
7463: # Sed expression to map a string onto a valid variable name.
1.32 noro 7464: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.14 noro 7465:
7466:
7467: exec 6>&1
7468:
1.37 ohara 7469: # Save the log message, to keep $[0] and so on meaningful, and to
1.14 noro 7470: # report actual input values of CONFIG_FILES etc. instead of their
1.37 ohara 7471: # values after options handling.
7472: ac_log="
1.14 noro 7473: This file was extended by $as_me, which was
1.43 ! ohara 7474: generated by GNU Autoconf 2.62. Invocation command line was
1.14 noro 7475:
7476: CONFIG_FILES = $CONFIG_FILES
7477: CONFIG_HEADERS = $CONFIG_HEADERS
7478: CONFIG_LINKS = $CONFIG_LINKS
7479: CONFIG_COMMANDS = $CONFIG_COMMANDS
7480: $ $0 $@
7481:
1.37 ohara 7482: on `(hostname || uname -n) 2>/dev/null | sed 1q`
7483: "
7484:
1.14 noro 7485: _ACEOF
7486:
1.43 ! ohara 7487: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14 noro 7488: # Files that config.status was made for.
1.37 ohara 7489: config_files="$ac_config_files"
7490: config_commands="$ac_config_commands"
1.2 noro 7491:
1.37 ohara 7492: _ACEOF
1.4 saito 7493:
1.43 ! ohara 7494: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14 noro 7495: ac_cs_usage="\
7496: \`$as_me' instantiates files from templates according to the
7497: current configuration.
7498:
7499: Usage: $0 [OPTIONS] [FILE]...
7500:
7501: -h, --help print this help, then exit
1.37 ohara 7502: -V, --version print version number and configuration settings, then exit
1.32 noro 7503: -q, --quiet do not print progress messages
1.14 noro 7504: -d, --debug don't remove temporary files
7505: --recheck update $as_me by reconfiguring in the same conditions
7506: --file=FILE[:TEMPLATE]
1.43 ! ohara 7507: instantiate the configuration file FILE
1.4 saito 7508:
1.14 noro 7509: Configuration files:
7510: $config_files
7511:
7512: Configuration commands:
7513: $config_commands
7514:
7515: Report bugs to <bug-autoconf@gnu.org>."
1.37 ohara 7516:
1.14 noro 7517: _ACEOF
1.43 ! ohara 7518: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14 noro 7519: ac_cs_version="\\
7520: config.status
1.43 ! ohara 7521: configured by $0, generated by GNU Autoconf 2.62,
! 7522: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.14 noro 7523:
1.43 ! ohara 7524: Copyright (C) 2008 Free Software Foundation, Inc.
1.14 noro 7525: This config.status script is free software; the Free Software Foundation
7526: gives unlimited permission to copy, distribute and modify it."
1.37 ohara 7527:
7528: ac_pwd='$ac_pwd'
7529: srcdir='$srcdir'
7530: INSTALL='$INSTALL'
7531: MKDIR_P='$MKDIR_P'
1.43 ! ohara 7532: AWK='$AWK'
! 7533: test -n "\$AWK" || AWK=awk
1.14 noro 7534: _ACEOF
7535:
1.43 ! ohara 7536: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 7537: # The default lists apply if the user does not specify any file.
1.14 noro 7538: ac_need_defaults=:
7539: while test $# != 0
7540: do
7541: case $1 in
7542: --*=*)
1.37 ohara 7543: ac_option=`expr "X$1" : 'X\([^=]*\)='`
7544: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.32 noro 7545: ac_shift=:
7546: ;;
1.37 ohara 7547: *)
1.32 noro 7548: ac_option=$1
7549: ac_optarg=$2
7550: ac_shift=shift
1.12 ohara 7551: ;;
1.14 noro 7552: esac
7553:
1.32 noro 7554: case $ac_option in
1.14 noro 7555: # Handling of the options.
1.17 ohara 7556: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.32 noro 7557: ac_cs_recheck=: ;;
1.37 ohara 7558: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.43 ! ohara 7559: $as_echo "$ac_cs_version"; exit ;;
1.37 ohara 7560: --debug | --debu | --deb | --de | --d | -d )
1.14 noro 7561: debug=: ;;
7562: --file | --fil | --fi | --f )
1.32 noro 7563: $ac_shift
1.43 ! ohara 7564: case $ac_optarg in
! 7565: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 7566: esac
! 7567: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1.14 noro 7568: ac_need_defaults=false;;
1.37 ohara 7569: --he | --h | --help | --hel | -h )
1.43 ! ohara 7570: $as_echo "$ac_cs_usage"; exit ;;
1.32 noro 7571: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7572: | -silent | --silent | --silen | --sile | --sil | --si | --s)
7573: ac_cs_silent=: ;;
1.14 noro 7574:
7575: # This is an error.
1.43 ! ohara 7576: -*) { $as_echo "$as_me: error: unrecognized option: $1
1.37 ohara 7577: Try \`$0 --help' for more information." >&2
1.14 noro 7578: { (exit 1); exit 1; }; } ;;
7579:
1.37 ohara 7580: *) ac_config_targets="$ac_config_targets $1"
7581: ac_need_defaults=false ;;
1.14 noro 7582:
7583: esac
7584: shift
7585: done
7586:
1.32 noro 7587: ac_configure_extra_args=
7588:
7589: if $ac_cs_silent; then
7590: exec 6>/dev/null
7591: ac_configure_extra_args="$ac_configure_extra_args --silent"
7592: fi
7593:
7594: _ACEOF
1.43 ! ohara 7595: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.32 noro 7596: if \$ac_cs_recheck; then
1.43 ! ohara 7597: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 7598: shift
! 7599: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 7600: CONFIG_SHELL='$SHELL'
1.37 ohara 7601: export CONFIG_SHELL
1.43 ! ohara 7602: exec "\$@"
1.32 noro 7603: fi
7604:
1.14 noro 7605: _ACEOF
1.43 ! ohara 7606: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37 ohara 7607: exec 5>>config.log
7608: {
7609: echo
7610: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7611: ## Running $as_me. ##
7612: _ASBOX
1.43 ! ohara 7613: $as_echo "$ac_log"
1.37 ohara 7614: } >&5
1.14 noro 7615:
1.37 ohara 7616: _ACEOF
1.43 ! ohara 7617: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.14 noro 7618: #
1.37 ohara 7619: # INIT-COMMANDS
1.14 noro 7620: #
1.37 ohara 7621: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.14 noro 7622:
7623: _ACEOF
7624:
1.43 ! ohara 7625: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14 noro 7626:
1.37 ohara 7627: # Handling of arguments.
1.14 noro 7628: for ac_config_target in $ac_config_targets
7629: do
1.37 ohara 7630: case $ac_config_target in
7631: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7632: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7633: "engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
7634: "asm/Makefile") CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
7635: "builtin/Makefile") CONFIG_FILES="$CONFIG_FILES builtin/Makefile" ;;
7636: "fft/Makefile") CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
7637: "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
7638: "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
7639: "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7640: "parse/Makefile") CONFIG_FILES="$CONFIG_FILES parse/Makefile" ;;
7641: "plot/Makefile") CONFIG_FILES="$CONFIG_FILES plot/Makefile" ;;
7642:
1.43 ! ohara 7643: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 7644: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.14 noro 7645: { (exit 1); exit 1; }; };;
7646: esac
7647: done
7648:
1.37 ohara 7649:
1.14 noro 7650: # If the user did not use the arguments to specify the items to instantiate,
7651: # then the envvar interface is used. Set only those that are not.
7652: # We use the long form for the default assignment because of an extremely
7653: # bizarre bug on SunOS 4.1.3.
7654: if $ac_need_defaults; then
7655: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7656: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7657: fi
7658:
1.32 noro 7659: # Have a temporary directory for convenience. Make it in the build tree
1.37 ohara 7660: # simply because there is no reason against having it here, and in addition,
1.32 noro 7661: # creating and moving files from /tmp can sometimes cause problems.
1.37 ohara 7662: # Hook for its removal unless debugging.
7663: # Note that there is a small window in which the directory will not be cleaned:
7664: # after its creation but before its name has been assigned to `$tmp'.
1.14 noro 7665: $debug ||
7666: {
1.37 ohara 7667: tmp=
7668: trap 'exit_status=$?
7669: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7670: ' 0
1.14 noro 7671: trap '{ (exit 1); exit 1; }' 1 2 13 15
7672: }
7673: # Create a (secure) tmp directory for tmp files.
1.32 noro 7674:
1.14 noro 7675: {
1.37 ohara 7676: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.14 noro 7677: test -n "$tmp" && test -d "$tmp"
7678: } ||
7679: {
1.37 ohara 7680: tmp=./conf$$-$RANDOM
7681: (umask 077 && mkdir "$tmp")
1.14 noro 7682: } ||
7683: {
1.43 ! ohara 7684: $as_echo "$as_me: cannot create a temporary directory in ." >&2
1.14 noro 7685: { (exit 1); exit 1; }
7686: }
7687:
1.43 ! ohara 7688: # Set up the scripts for CONFIG_FILES section.
! 7689: # No need to generate them if there are no CONFIG_FILES.
! 7690: # This happens for instance with `./config.status config.h'.
1.37 ohara 7691: if test -n "$CONFIG_FILES"; then
7692:
1.14 noro 7693:
1.43 ! ohara 7694: ac_cr='
'
! 7695: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 7696: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 7697: ac_cs_awk_cr='\\r'
! 7698: else
! 7699: ac_cs_awk_cr=$ac_cr
1.37 ohara 7700: fi
7701:
1.43 ! ohara 7702: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.37 ohara 7703: _ACEOF
7704:
1.14 noro 7705:
1.43 ! ohara 7706: {
! 7707: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 7708: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 7709: echo "_ACEOF"
! 7710: } >conf$$subs.sh ||
! 7711: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 7712: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 7713: { (exit 1); exit 1; }; }
! 7714: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
1.37 ohara 7715: ac_delim='%!_!# '
7716: for ac_last_try in false false false false false :; do
1.43 ! ohara 7717: . ./conf$$subs.sh ||
! 7718: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 7719: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 7720: { (exit 1); exit 1; }; }
1.14 noro 7721:
1.43 ! ohara 7722: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
1.37 ohara 7723: break
7724: elif $ac_last_try; then
1.43 ! ohara 7725: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 7726: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.37 ohara 7727: { (exit 1); exit 1; }; }
7728: else
7729: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.14 noro 7730: fi
1.37 ohara 7731: done
1.43 ! ohara 7732: rm -f conf$$subs.sh
1.37 ohara 7733:
1.43 ! ohara 7734: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 7735: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 7736: _ACEOF
! 7737: sed -n '
! 7738: h
! 7739: s/^/S["/; s/!.*/"]=/
! 7740: p
! 7741: g
! 7742: s/^[^!]*!//
! 7743: :repl
! 7744: t repl
! 7745: s/'"$ac_delim"'$//
! 7746: t delim
! 7747: :nl
! 7748: h
! 7749: s/\(.\{148\}\).*/\1/
! 7750: t more1
! 7751: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 7752: p
! 7753: n
! 7754: b repl
! 7755: :more1
! 7756: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 7757: p
! 7758: g
! 7759: s/.\{148\}//
! 7760: t nl
! 7761: :delim
! 7762: h
! 7763: s/\(.\{148\}\).*/\1/
! 7764: t more2
! 7765: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 7766: p
! 7767: b
! 7768: :more2
! 7769: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 7770: p
! 7771: g
! 7772: s/.\{148\}//
! 7773: t delim
! 7774: ' <conf$$subs.awk | sed '
! 7775: /^[^""]/{
! 7776: N
! 7777: s/\n//
! 7778: }
! 7779: ' >>$CONFIG_STATUS || ac_write_fail=1
! 7780: rm -f conf$$subs.awk
! 7781: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 7782: _ACAWK
! 7783: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 7784: for (key in S) S_is_set[key] = 1
! 7785: FS = ""
! 7786:
! 7787: }
! 7788: {
! 7789: line = $ 0
! 7790: nfields = split(line, field, "@")
! 7791: substed = 0
! 7792: len = length(field[1])
! 7793: for (i = 2; i < nfields; i++) {
! 7794: key = field[i]
! 7795: keylen = length(key)
! 7796: if (S_is_set[key]) {
! 7797: value = S[key]
! 7798: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 7799: len += length(value) + length(field[++i])
! 7800: substed = 1
! 7801: } else
! 7802: len += 1 + keylen
! 7803: }
! 7804:
! 7805: print line
! 7806: }
! 7807:
! 7808: _ACAWK
! 7809: _ACEOF
! 7810: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 7811: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 7812: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 7813: else
! 7814: cat
! 7815: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 7816: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 7817: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 7818: { (exit 1); exit 1; }; }
1.14 noro 7819: _ACEOF
1.37 ohara 7820:
7821: # VPATH may cause trouble with some makes, so we remove $(srcdir),
7822: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7823: # trailing colons and then remove the whole line if VPATH becomes empty
7824: # (actually we leave an empty line to preserve line numbers).
7825: if test "x$srcdir" = x.; then
7826: ac_vpsub='/^[ ]*VPATH[ ]*=/{
7827: s/:*\$(srcdir):*/:/
7828: s/:*\${srcdir}:*/:/
7829: s/:*@srcdir@:*/:/
7830: s/^\([^=]*=[ ]*\):*/\1/
7831: s/:*$//
7832: s/^[^=]*=[ ]*$//
7833: }'
7834: fi
7835:
1.43 ! ohara 7836: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37 ohara 7837: fi # test -n "$CONFIG_FILES"
7838:
7839:
1.43 ! ohara 7840: eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
! 7841: shift
! 7842: for ac_tag
1.37 ohara 7843: do
7844: case $ac_tag in
7845: :[FHLC]) ac_mode=$ac_tag; continue;;
7846: esac
7847: case $ac_mode$ac_tag in
7848: :[FHL]*:*);;
1.43 ! ohara 7849: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! 7850: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
1.37 ohara 7851: { (exit 1); exit 1; }; };;
7852: :[FH]-) ac_tag=-:-;;
7853: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7854: esac
7855: ac_save_IFS=$IFS
7856: IFS=:
7857: set x $ac_tag
7858: IFS=$ac_save_IFS
7859: shift
7860: ac_file=$1
7861: shift
7862:
7863: case $ac_mode in
7864: :L) ac_source=$1;;
7865: :[FH])
7866: ac_file_inputs=
7867: for ac_f
7868: do
7869: case $ac_f in
7870: -) ac_f="$tmp/stdin";;
7871: *) # Look for the file first in the build tree, then in the source tree
7872: # (if the path is not absolute). The absolute path cannot be DOS-style,
7873: # because $ac_f cannot contain `:'.
7874: test -f "$ac_f" ||
7875: case $ac_f in
7876: [\\/$]*) false;;
7877: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7878: esac ||
1.43 ! ohara 7879: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 7880: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
1.37 ohara 7881: { (exit 1); exit 1; }; };;
7882: esac
1.43 ! ohara 7883: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 7884: ac_file_inputs="$ac_file_inputs '$ac_f'"
1.37 ohara 7885: done
7886:
7887: # Let's still pretend it is `configure' which instantiates (i.e., don't
7888: # use $as_me), people would be surprised to read:
7889: # /* config.h. Generated by config.status. */
1.43 ! ohara 7890: configure_input='Generated from '`
! 7891: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 7892: `' by configure.'
1.37 ohara 7893: if test x"$ac_file" != x-; then
7894: configure_input="$ac_file. $configure_input"
1.43 ! ohara 7895: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 7896: $as_echo "$as_me: creating $ac_file" >&6;}
1.37 ohara 7897: fi
1.43 ! ohara 7898: # Neutralize special characters interpreted by sed in replacement strings.
! 7899: case $configure_input in #(
! 7900: *\&* | *\|* | *\\* )
! 7901: ac_sed_conf_input=`$as_echo "$configure_input" |
! 7902: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 7903: *) ac_sed_conf_input=$configure_input;;
! 7904: esac
1.37 ohara 7905:
7906: case $ac_tag in
1.43 ! ohara 7907: *:-:* | *:-) cat >"$tmp/stdin" \
! 7908: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 7909: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 7910: { (exit 1); exit 1; }; } ;;
1.37 ohara 7911: esac
7912: ;;
1.14 noro 7913: esac
7914:
1.37 ohara 7915: ac_dir=`$as_dirname -- "$ac_file" ||
1.14 noro 7916: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.32 noro 7917: X"$ac_file" : 'X\(//\)[^/]' \| \
7918: X"$ac_file" : 'X\(//\)$' \| \
1.37 ohara 7919: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 7920: $as_echo X"$ac_file" |
1.37 ohara 7921: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7922: s//\1/
7923: q
7924: }
7925: /^X\(\/\/\)[^/].*/{
7926: s//\1/
7927: q
7928: }
7929: /^X\(\/\/\)$/{
7930: s//\1/
7931: q
7932: }
7933: /^X\(\/\).*/{
7934: s//\1/
7935: q
7936: }
7937: s/.*/./; q'`
7938: { as_dir="$ac_dir"
7939: case $as_dir in #(
7940: -*) as_dir=./$as_dir;;
7941: esac
7942: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.32 noro 7943: as_dirs=
1.37 ohara 7944: while :; do
7945: case $as_dir in #(
1.43 ! ohara 7946: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.37 ohara 7947: *) as_qdir=$as_dir;;
7948: esac
7949: as_dirs="'$as_qdir' $as_dirs"
7950: as_dir=`$as_dirname -- "$as_dir" ||
1.32 noro 7951: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7952: X"$as_dir" : 'X\(//\)[^/]' \| \
7953: X"$as_dir" : 'X\(//\)$' \| \
1.37 ohara 7954: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 7955: $as_echo X"$as_dir" |
1.37 ohara 7956: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7957: s//\1/
7958: q
7959: }
7960: /^X\(\/\/\)[^/].*/{
7961: s//\1/
7962: q
7963: }
7964: /^X\(\/\/\)$/{
7965: s//\1/
7966: q
7967: }
7968: /^X\(\/\).*/{
7969: s//\1/
7970: q
7971: }
7972: s/.*/./; q'`
7973: test -d "$as_dir" && break
1.32 noro 7974: done
1.37 ohara 7975: test -z "$as_dirs" || eval "mkdir $as_dirs"
1.43 ! ohara 7976: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 7977: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.32 noro 7978: { (exit 1); exit 1; }; }; }
1.14 noro 7979: ac_builddir=.
7980:
1.37 ohara 7981: case "$ac_dir" in
7982: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7983: *)
1.43 ! ohara 7984: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.37 ohara 7985: # A ".." for each directory in $ac_dir_suffix.
1.43 ! ohara 7986: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.37 ohara 7987: case $ac_top_builddir_sub in
7988: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7989: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7990: esac ;;
7991: esac
7992: ac_abs_top_builddir=$ac_pwd
7993: ac_abs_builddir=$ac_pwd$ac_dir_suffix
7994: # for backward compatibility:
7995: ac_top_builddir=$ac_top_build_prefix
1.14 noro 7996:
7997: case $srcdir in
1.37 ohara 7998: .) # We are building in place.
1.14 noro 7999: ac_srcdir=.
1.37 ohara 8000: ac_top_srcdir=$ac_top_builddir_sub
8001: ac_abs_top_srcdir=$ac_pwd ;;
8002: [\\/]* | ?:[\\/]* ) # Absolute name.
1.14 noro 8003: ac_srcdir=$srcdir$ac_dir_suffix;
1.37 ohara 8004: ac_top_srcdir=$srcdir
8005: ac_abs_top_srcdir=$srcdir ;;
8006: *) # Relative name.
8007: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8008: ac_top_srcdir=$ac_top_build_prefix$srcdir
8009: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.14 noro 8010: esac
1.37 ohara 8011: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.32 noro 8012:
1.14 noro 8013:
1.37 ohara 8014: case $ac_mode in
8015: :F)
8016: #
8017: # CONFIG_FILE
8018: #
1.14 noro 8019:
8020: case $INSTALL in
8021: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.37 ohara 8022: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.14 noro 8023: esac
1.37 ohara 8024: ac_MKDIR_P=$MKDIR_P
8025: case $MKDIR_P in
8026: [\\/$]* | ?:[\\/]* ) ;;
8027: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8028: esac
8029: _ACEOF
1.14 noro 8030:
1.43 ! ohara 8031: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.37 ohara 8032: # If the template does not know about datarootdir, expand it.
8033: # FIXME: This hack should be removed a few years after 2.60.
8034: ac_datarootdir_hack=; ac_datarootdir_seen=
8035:
1.43 ! ohara 8036: ac_sed_dataroot='
! 8037: /datarootdir/ {
1.37 ohara 8038: p
8039: q
8040: }
8041: /@datadir@/p
8042: /@docdir@/p
8043: /@infodir@/p
8044: /@localedir@/p
8045: /@mandir@/p
1.43 ! ohara 8046: '
! 8047: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.37 ohara 8048: *datarootdir*) ac_datarootdir_seen=yes;;
8049: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.43 ! ohara 8050: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 8051: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.37 ohara 8052: _ACEOF
1.43 ! ohara 8053: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.37 ohara 8054: ac_datarootdir_hack='
8055: s&@datadir@&$datadir&g
8056: s&@docdir@&$docdir&g
8057: s&@infodir@&$infodir&g
8058: s&@localedir@&$localedir&g
8059: s&@mandir@&$mandir&g
8060: s&\\\${datarootdir}&$datarootdir&g' ;;
8061: esac
8062: _ACEOF
1.14 noro 8063:
1.37 ohara 8064: # Neutralize VPATH when `$srcdir' = `.'.
8065: # Shell code in configure.ac might set extrasub.
8066: # FIXME: do we really want to maintain this feature?
1.43 ! ohara 8067: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 8068: ac_sed_extra="$ac_vpsub
1.14 noro 8069: $extrasub
8070: _ACEOF
1.43 ! ohara 8071: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.14 noro 8072: :t
8073: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.43 ! ohara 8074: s|@configure_input@|$ac_sed_conf_input|;t t
1.37 ohara 8075: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.43 ! ohara 8076: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.37 ohara 8077: s&@srcdir@&$ac_srcdir&;t t
8078: s&@abs_srcdir@&$ac_abs_srcdir&;t t
8079: s&@top_srcdir@&$ac_top_srcdir&;t t
8080: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8081: s&@builddir@&$ac_builddir&;t t
8082: s&@abs_builddir@&$ac_abs_builddir&;t t
8083: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8084: s&@INSTALL@&$ac_INSTALL&;t t
8085: s&@MKDIR_P@&$ac_MKDIR_P&;t t
8086: $ac_datarootdir_hack
1.43 ! ohara 8087: "
! 8088: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 8089: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 8090: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 8091: { (exit 1); exit 1; }; }
1.37 ohara 8092:
8093: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8094: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8095: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.43 ! ohara 8096: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.37 ohara 8097: which seems to be undefined. Please make sure it is defined." >&5
1.43 ! ohara 8098: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.37 ohara 8099: which seems to be undefined. Please make sure it is defined." >&2;}
8100:
8101: rm -f "$tmp/stdin"
8102: case $ac_file in
1.43 ! ohara 8103: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 8104: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 8105: esac \
! 8106: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 8107: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 8108: { (exit 1); exit 1; }; }
1.37 ohara 8109: ;;
8110:
8111:
1.43 ! ohara 8112: :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
! 8113: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.37 ohara 8114: ;;
8115: esac
1.14 noro 8116:
8117:
1.37 ohara 8118: case $ac_file$ac_mode in
8119: "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8120: # Strip MF so we end up with the name of the file.
8121: mf=`echo "$mf" | sed -e 's/:.*$//'`
8122: # Check whether this is an Automake generated Makefile or not.
8123: # We used to match only the files named `Makefile.in', but
8124: # some people rename them; so instead we look at the file content.
8125: # Grep'ing the first line is not enough: some people post-process
8126: # each Makefile.in and add a new line on top of each file to say so.
8127: # Grep'ing the whole file is not good either: AIX grep has a line
8128: # limit of 2048, but all sed's we know have understand at least 4000.
1.43 ! ohara 8129: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1.37 ohara 8130: dirpart=`$as_dirname -- "$mf" ||
8131: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8132: X"$mf" : 'X\(//\)[^/]' \| \
8133: X"$mf" : 'X\(//\)$' \| \
8134: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 8135: $as_echo X"$mf" |
1.37 ohara 8136: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8137: s//\1/
8138: q
8139: }
8140: /^X\(\/\/\)[^/].*/{
8141: s//\1/
8142: q
8143: }
8144: /^X\(\/\/\)$/{
8145: s//\1/
8146: q
8147: }
8148: /^X\(\/\).*/{
8149: s//\1/
8150: q
8151: }
8152: s/.*/./; q'`
1.32 noro 8153: else
1.37 ohara 8154: continue
8155: fi
8156: # Extract the definition of DEPDIR, am__include, and am__quote
8157: # from the Makefile without running `make'.
8158: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8159: test -z "$DEPDIR" && continue
8160: am__include=`sed -n 's/^am__include = //p' < "$mf"`
8161: test -z "am__include" && continue
8162: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8163: # When using ansi2knr, U may be empty or an underscore; expand it
8164: U=`sed -n 's/^U = //p' < "$mf"`
8165: # Find all dependency output files, they are included files with
8166: # $(DEPDIR) in their names. We invoke sed twice because it is the
8167: # simplest approach to changing $(DEPDIR) to its actual value in the
8168: # expansion.
8169: for file in `sed -n "
8170: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8171: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8172: # Make sure the directory exists.
8173: test -f "$dirpart/$file" && continue
8174: fdir=`$as_dirname -- "$file" ||
8175: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8176: X"$file" : 'X\(//\)[^/]' \| \
8177: X"$file" : 'X\(//\)$' \| \
8178: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 8179: $as_echo X"$file" |
1.37 ohara 8180: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8181: s//\1/
8182: q
8183: }
8184: /^X\(\/\/\)[^/].*/{
8185: s//\1/
8186: q
8187: }
8188: /^X\(\/\/\)$/{
8189: s//\1/
8190: q
8191: }
8192: /^X\(\/\).*/{
8193: s//\1/
8194: q
8195: }
8196: s/.*/./; q'`
8197: { as_dir=$dirpart/$fdir
8198: case $as_dir in #(
8199: -*) as_dir=./$as_dir;;
8200: esac
8201: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.32 noro 8202: as_dirs=
1.37 ohara 8203: while :; do
8204: case $as_dir in #(
1.43 ! ohara 8205: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.37 ohara 8206: *) as_qdir=$as_dir;;
8207: esac
8208: as_dirs="'$as_qdir' $as_dirs"
8209: as_dir=`$as_dirname -- "$as_dir" ||
1.32 noro 8210: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8211: X"$as_dir" : 'X\(//\)[^/]' \| \
8212: X"$as_dir" : 'X\(//\)$' \| \
1.37 ohara 8213: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.43 ! ohara 8214: $as_echo X"$as_dir" |
1.37 ohara 8215: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8216: s//\1/
8217: q
8218: }
8219: /^X\(\/\/\)[^/].*/{
8220: s//\1/
8221: q
8222: }
8223: /^X\(\/\/\)$/{
8224: s//\1/
8225: q
8226: }
8227: /^X\(\/\).*/{
8228: s//\1/
8229: q
8230: }
8231: s/.*/./; q'`
8232: test -d "$as_dir" && break
1.32 noro 8233: done
1.37 ohara 8234: test -z "$as_dirs" || eval "mkdir $as_dirs"
1.43 ! ohara 8235: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 8236: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.32 noro 8237: { (exit 1); exit 1; }; }; }
1.14 noro 8238: # echo "creating $dirpart/$file"
8239: echo '# dummy' > "$dirpart/$file"
8240: done
8241: done
8242: ;;
1.37 ohara 8243:
1.14 noro 8244: esac
1.37 ohara 8245: done # for ac_tag
1.14 noro 8246:
8247:
8248: { (exit 0); exit 0; }
8249: _ACEOF
8250: chmod +x $CONFIG_STATUS
8251: ac_clean_files=$ac_clean_files_save
8252:
1.43 ! ohara 8253: test $ac_write_fail = 0 ||
! 8254: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 8255: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 8256: { (exit 1); exit 1; }; }
! 8257:
1.14 noro 8258:
8259: # configure is writing to config.log, and then calls config.status.
8260: # config.status does its own redirection, appending to config.log.
8261: # Unfortunately, on DOS this fails, as config.log is still kept open
8262: # by configure, so config.status won't be able to write to it; its
8263: # output is simply discarded. So we exec the FD to /dev/null,
8264: # effectively closing config.log, so it can be properly (re)opened and
8265: # appended to by config.status. When coming back to configure, we
8266: # need to make the FD available again.
8267: if test "$no_create" != yes; then
8268: ac_cs_success=:
1.32 noro 8269: ac_config_status_args=
8270: test "$silent" = yes &&
8271: ac_config_status_args="$ac_config_status_args --quiet"
1.14 noro 8272: exec 5>/dev/null
1.32 noro 8273: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.14 noro 8274: exec 5>>config.log
8275: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8276: # would make configure fail if this is the last instruction.
8277: $ac_cs_success || { (exit 1); exit 1; }
8278: fi
1.43 ! ohara 8279: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 8280: { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
! 8281: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
! 8282: fi
1.14 noro 8283:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>