Annotation of OpenXM/src/asir-contrib/packages/doc/configure, Revision 1.4
1.1 takayama 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.3 ohara 3: # Generated by GNU Autoconf 2.62.
1.1 takayama 4: #
1.3 ohara 5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 takayama 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.3 ohara 13: # Be more Bourne compatible
14: DUALCASE=1; export DUALCASE # for MKS sh
1.1 takayama 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16: emulate sh
17: NULLCMD=:
1.3 ohara 18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19: # is contrary to our usage. Disable this feature.
20: alias -g '${1+"$@"}'='"$@"'
21: setopt NO_GLOB_SUBST
22: else
23: case `(set -o) 2>/dev/null` in
24: *posix*) set -o posix ;;
25: esac
1.1 takayama 26:
27: fi
28:
29:
30:
31:
1.3 ohara 32: # PATH needs CR
1.1 takayama 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.3 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.1 takayama 72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
1.3 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: }
79: fi
80:
81: # Support unset when possible.
82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83: as_unset=unset
84: else
85: as_unset=false
1.1 takayama 86: fi
87:
88:
1.3 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
1.1 takayama 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
1.3 ohara 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
116: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117: { (exit 1); exit 1; }
118: fi
119:
120: # Work around bugs in pre-3.0 UWIN ksh.
121: for as_var in ENV MAIL MAILPATH
122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # Required to use basename.
135: if expr a : '\(a\)' >/dev/null 2>&1 &&
136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
137: as_expr=expr
138: else
139: as_expr=false
140: fi
141:
142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143: as_basename=basename
144: else
145: as_basename=false
146: fi
147:
148:
149: # Name of the executable.
150: as_me=`$as_basename -- "$0" ||
151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152: X"$0" : 'X\(//\)$' \| \
153: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154: $as_echo X/"$0" |
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:
180: if test $as_have_required = yes && (eval ":
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.1 takayama 196:
1.3 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
209:
210: if as_func_ret_success; then
211: :
212: else
213: exitcode=1
214: echo as_func_ret_success failed.
215: fi
216:
217: if as_func_ret_failure; then
218: exitcode=1
219: echo as_func_ret_failure succeeded.
220: fi
221:
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
228:
229: test \$exitcode = 0) || { (exit 1); exit 1; }
230:
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.1 takayama 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.3 ohara 245: case $as_dir in
1.1 takayama 246: /*)
1.3 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=:
262: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
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=:
283: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
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
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+"$@"}
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.
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.
439: }
440:
441:
442:
1.1 takayama 443: as_lineno_1=$LINENO
444: as_lineno_2=$LINENO
445: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.3 ohara 446: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1 takayama 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.3 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.1 takayama 455: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.3 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.1 takayama 462: sed '
1.3 ohara 463: s/[$]LINENO.*/&-/
464: t lineno
465: b
466: :lineno
1.1 takayama 467: N
1.3 ohara 468: :loop
469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 takayama 470: t loop
1.3 ohara 471: s/-\n.*//
1.1 takayama 472: ' >$as_me.lineno &&
1.3 ohara 473: chmod +x "$as_me.lineno" ||
474: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.1 takayama 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.3 ohara 479: # original and so on. Autoconf is especially sensitive to this).
480: . "./$as_me.lineno"
1.1 takayama 481: # Exit status is that of the last command.
482: exit
483: }
484:
485:
1.3 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.1 takayama 501: esac
1.3 ohara 502: if expr a : '\(a\)' >/dev/null 2>&1 &&
503: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1 takayama 504: as_expr=expr
505: else
506: as_expr=false
507: fi
508:
509: rm -f conf$$ conf$$.exe conf$$.file
1.3 ohara 510: if test -d conf$$.dir; then
511: rm -f conf$$.dir/conf$$.file
512: else
513: rm -f conf$$.dir
514: mkdir conf$$.dir 2>/dev/null
515: fi
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.1 takayama 528: as_ln_s='cp -p'
529: fi
530: else
531: as_ln_s='cp -p'
532: fi
1.3 ohara 533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534: rmdir conf$$.dir 2>/dev/null
535:
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
1.1 takayama 542:
1.3 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
554: test -d "$1/.";
555: else
556: case $1 in
557: -*)set "./$1";;
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.1 takayama 565:
566: # Sed expression to map a string onto a valid CPP name.
1.3 ohara 567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 568:
569: # Sed expression to map a string onto a valid variable name.
1.3 ohara 570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 571:
572:
573:
1.3 ohara 574: exec 7<&0 </dev/null 6>&1
1.1 takayama 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.3 ohara 585: ac_clean_files=
586: ac_config_libobj_dir=.
587: LIBOBJS=
1.1 takayama 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:
1.3 ohara 601: ac_subst_vars='SHELL
602: PATH_SEPARATOR
603: PACKAGE_NAME
604: PACKAGE_TARNAME
605: PACKAGE_VERSION
606: PACKAGE_STRING
607: PACKAGE_BUGREPORT
608: exec_prefix
609: prefix
610: program_transform_name
611: bindir
612: sbindir
613: libexecdir
614: datarootdir
615: datadir
616: sysconfdir
617: sharedstatedir
618: localstatedir
619: includedir
620: oldincludedir
621: docdir
622: infodir
623: htmldir
624: dvidir
625: pdfdir
626: psdir
627: libdir
628: localedir
629: mandir
630: DEFS
631: ECHO_C
632: ECHO_N
633: ECHO_T
634: LIBS
635: build_alias
636: host_alias
637: target_alias
638: INSTALL_PROGRAM
639: INSTALL_SCRIPT
640: INSTALL_DATA
641: MAKEINFO
642: DVIPDF
643: PTEX
1.4 ! ohara 644: CC
! 645: CFLAGS
! 646: LDFLAGS
! 647: CPPFLAGS
! 648: ac_ct_CC
! 649: EXEEXT
! 650: OBJEXT
! 651: PTEXFLAGS
1.3 ohara 652: OpenXM_ROOT
653: LIBOBJS
654: LTLIBOBJS'
655: ac_subst_files=''
656: ac_user_opts='
657: enable_option_checking
658: '
659: ac_precious_vars='build_alias
660: host_alias
1.4 ! ohara 661: target_alias
! 662: CC
! 663: CFLAGS
! 664: LDFLAGS
! 665: LIBS
! 666: CPPFLAGS'
1.3 ohara 667:
1.1 takayama 668:
669: # Initialize some variables set by options.
670: ac_init_help=
671: ac_init_version=false
1.3 ohara 672: ac_unrecognized_opts=
673: ac_unrecognized_sep=
1.1 takayama 674: # The variables have the same names as the options, with
675: # dashes changed to underlines.
676: cache_file=/dev/null
677: exec_prefix=NONE
678: no_create=
679: no_recursion=
680: prefix=NONE
681: program_prefix=NONE
682: program_suffix=NONE
683: program_transform_name=s,x,x,
684: silent=
685: site=
686: srcdir=
687: verbose=
688: x_includes=NONE
689: x_libraries=NONE
690:
691: # Installation directory options.
692: # These are left unexpanded so users can "make install exec_prefix=/foo"
693: # and all the variables that are supposed to be based on exec_prefix
694: # by default will actually change.
695: # Use braces instead of parens because sh, perl, etc. also accept them.
1.3 ohara 696: # (The list follows the same order as the GNU Coding Standards.)
1.1 takayama 697: bindir='${exec_prefix}/bin'
698: sbindir='${exec_prefix}/sbin'
699: libexecdir='${exec_prefix}/libexec'
1.3 ohara 700: datarootdir='${prefix}/share'
701: datadir='${datarootdir}'
1.1 takayama 702: sysconfdir='${prefix}/etc'
703: sharedstatedir='${prefix}/com'
704: localstatedir='${prefix}/var'
705: includedir='${prefix}/include'
706: oldincludedir='/usr/include'
1.3 ohara 707: docdir='${datarootdir}/doc/${PACKAGE}'
708: infodir='${datarootdir}/info'
709: htmldir='${docdir}'
710: dvidir='${docdir}'
711: pdfdir='${docdir}'
712: psdir='${docdir}'
713: libdir='${exec_prefix}/lib'
714: localedir='${datarootdir}/locale'
715: mandir='${datarootdir}/man'
1.1 takayama 716:
717: ac_prev=
1.3 ohara 718: ac_dashdash=
1.1 takayama 719: for ac_option
720: do
721: # If the previous option needs an argument, assign it.
722: if test -n "$ac_prev"; then
1.3 ohara 723: eval $ac_prev=\$ac_option
1.1 takayama 724: ac_prev=
725: continue
726: fi
727:
1.3 ohara 728: case $ac_option in
729: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730: *) ac_optarg=yes ;;
731: esac
1.1 takayama 732:
733: # Accept the important Cygnus configure options, so we can diagnose typos.
734:
1.3 ohara 735: case $ac_dashdash$ac_option in
736: --)
737: ac_dashdash=yes ;;
1.1 takayama 738:
739: -bindir | --bindir | --bindi | --bind | --bin | --bi)
740: ac_prev=bindir ;;
741: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742: bindir=$ac_optarg ;;
743:
744: -build | --build | --buil | --bui | --bu)
745: ac_prev=build_alias ;;
746: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747: build_alias=$ac_optarg ;;
748:
749: -cache-file | --cache-file | --cache-fil | --cache-fi \
750: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751: ac_prev=cache_file ;;
752: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754: cache_file=$ac_optarg ;;
755:
756: --config-cache | -C)
757: cache_file=config.cache ;;
758:
1.3 ohara 759: -datadir | --datadir | --datadi | --datad)
1.1 takayama 760: ac_prev=datadir ;;
1.3 ohara 761: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1 takayama 762: datadir=$ac_optarg ;;
763:
1.3 ohara 764: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765: | --dataroo | --dataro | --datar)
766: ac_prev=datarootdir ;;
767: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769: datarootdir=$ac_optarg ;;
770:
1.1 takayama 771: -disable-* | --disable-*)
1.3 ohara 772: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 takayama 773: # Reject names that are not valid shell variable names.
1.3 ohara 774: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 776: { (exit 1); exit 1; }; }
1.3 ohara 777: ac_useropt_orig=$ac_useropt
778: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
779: case $ac_user_opts in
780: *"
781: "enable_$ac_useropt"
782: "*) ;;
783: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
784: ac_unrecognized_sep=', ';;
785: esac
786: eval enable_$ac_useropt=no ;;
787:
788: -docdir | --docdir | --docdi | --doc | --do)
789: ac_prev=docdir ;;
790: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
791: docdir=$ac_optarg ;;
792:
793: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
794: ac_prev=dvidir ;;
795: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
796: dvidir=$ac_optarg ;;
1.1 takayama 797:
798: -enable-* | --enable-*)
1.3 ohara 799: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 takayama 800: # Reject names that are not valid shell variable names.
1.3 ohara 801: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 803: { (exit 1); exit 1; }; }
1.3 ohara 804: ac_useropt_orig=$ac_useropt
805: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806: case $ac_user_opts in
807: *"
808: "enable_$ac_useropt"
809: "*) ;;
810: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
811: ac_unrecognized_sep=', ';;
1.1 takayama 812: esac
1.3 ohara 813: eval enable_$ac_useropt=\$ac_optarg ;;
1.1 takayama 814:
815: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
816: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
817: | --exec | --exe | --ex)
818: ac_prev=exec_prefix ;;
819: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
820: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
821: | --exec=* | --exe=* | --ex=*)
822: exec_prefix=$ac_optarg ;;
823:
824: -gas | --gas | --ga | --g)
825: # Obsolete; use --with-gas.
826: with_gas=yes ;;
827:
828: -help | --help | --hel | --he | -h)
829: ac_init_help=long ;;
830: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
831: ac_init_help=recursive ;;
832: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
833: ac_init_help=short ;;
834:
835: -host | --host | --hos | --ho)
836: ac_prev=host_alias ;;
837: -host=* | --host=* | --hos=* | --ho=*)
838: host_alias=$ac_optarg ;;
839:
1.3 ohara 840: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
841: ac_prev=htmldir ;;
842: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
843: | --ht=*)
844: htmldir=$ac_optarg ;;
845:
1.1 takayama 846: -includedir | --includedir | --includedi | --included | --include \
847: | --includ | --inclu | --incl | --inc)
848: ac_prev=includedir ;;
849: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
850: | --includ=* | --inclu=* | --incl=* | --inc=*)
851: includedir=$ac_optarg ;;
852:
853: -infodir | --infodir | --infodi | --infod | --info | --inf)
854: ac_prev=infodir ;;
855: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
856: infodir=$ac_optarg ;;
857:
858: -libdir | --libdir | --libdi | --libd)
859: ac_prev=libdir ;;
860: -libdir=* | --libdir=* | --libdi=* | --libd=*)
861: libdir=$ac_optarg ;;
862:
863: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
864: | --libexe | --libex | --libe)
865: ac_prev=libexecdir ;;
866: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
867: | --libexe=* | --libex=* | --libe=*)
868: libexecdir=$ac_optarg ;;
869:
1.3 ohara 870: -localedir | --localedir | --localedi | --localed | --locale)
871: ac_prev=localedir ;;
872: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
873: localedir=$ac_optarg ;;
874:
1.1 takayama 875: -localstatedir | --localstatedir | --localstatedi | --localstated \
1.3 ohara 876: | --localstate | --localstat | --localsta | --localst | --locals)
1.1 takayama 877: ac_prev=localstatedir ;;
878: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.3 ohara 879: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1 takayama 880: localstatedir=$ac_optarg ;;
881:
882: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
883: ac_prev=mandir ;;
884: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
885: mandir=$ac_optarg ;;
886:
887: -nfp | --nfp | --nf)
888: # Obsolete; use --without-fp.
889: with_fp=no ;;
890:
891: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
892: | --no-cr | --no-c | -n)
893: no_create=yes ;;
894:
895: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
896: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
897: no_recursion=yes ;;
898:
899: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
900: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
901: | --oldin | --oldi | --old | --ol | --o)
902: ac_prev=oldincludedir ;;
903: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
904: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
905: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
906: oldincludedir=$ac_optarg ;;
907:
908: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
909: ac_prev=prefix ;;
910: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
911: prefix=$ac_optarg ;;
912:
913: -program-prefix | --program-prefix | --program-prefi | --program-pref \
914: | --program-pre | --program-pr | --program-p)
915: ac_prev=program_prefix ;;
916: -program-prefix=* | --program-prefix=* | --program-prefi=* \
917: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
918: program_prefix=$ac_optarg ;;
919:
920: -program-suffix | --program-suffix | --program-suffi | --program-suff \
921: | --program-suf | --program-su | --program-s)
922: ac_prev=program_suffix ;;
923: -program-suffix=* | --program-suffix=* | --program-suffi=* \
924: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
925: program_suffix=$ac_optarg ;;
926:
927: -program-transform-name | --program-transform-name \
928: | --program-transform-nam | --program-transform-na \
929: | --program-transform-n | --program-transform- \
930: | --program-transform | --program-transfor \
931: | --program-transfo | --program-transf \
932: | --program-trans | --program-tran \
933: | --progr-tra | --program-tr | --program-t)
934: ac_prev=program_transform_name ;;
935: -program-transform-name=* | --program-transform-name=* \
936: | --program-transform-nam=* | --program-transform-na=* \
937: | --program-transform-n=* | --program-transform-=* \
938: | --program-transform=* | --program-transfor=* \
939: | --program-transfo=* | --program-transf=* \
940: | --program-trans=* | --program-tran=* \
941: | --progr-tra=* | --program-tr=* | --program-t=*)
942: program_transform_name=$ac_optarg ;;
943:
1.3 ohara 944: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
945: ac_prev=pdfdir ;;
946: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
947: pdfdir=$ac_optarg ;;
948:
949: -psdir | --psdir | --psdi | --psd | --ps)
950: ac_prev=psdir ;;
951: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
952: psdir=$ac_optarg ;;
953:
1.1 takayama 954: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
955: | -silent | --silent | --silen | --sile | --sil)
956: silent=yes ;;
957:
958: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
959: ac_prev=sbindir ;;
960: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
961: | --sbi=* | --sb=*)
962: sbindir=$ac_optarg ;;
963:
964: -sharedstatedir | --sharedstatedir | --sharedstatedi \
965: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
966: | --sharedst | --shareds | --shared | --share | --shar \
967: | --sha | --sh)
968: ac_prev=sharedstatedir ;;
969: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
970: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
971: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
972: | --sha=* | --sh=*)
973: sharedstatedir=$ac_optarg ;;
974:
975: -site | --site | --sit)
976: ac_prev=site ;;
977: -site=* | --site=* | --sit=*)
978: site=$ac_optarg ;;
979:
980: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
981: ac_prev=srcdir ;;
982: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
983: srcdir=$ac_optarg ;;
984:
985: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
986: | --syscon | --sysco | --sysc | --sys | --sy)
987: ac_prev=sysconfdir ;;
988: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
989: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
990: sysconfdir=$ac_optarg ;;
991:
992: -target | --target | --targe | --targ | --tar | --ta | --t)
993: ac_prev=target_alias ;;
994: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
995: target_alias=$ac_optarg ;;
996:
997: -v | -verbose | --verbose | --verbos | --verbo | --verb)
998: verbose=yes ;;
999:
1000: -version | --version | --versio | --versi | --vers | -V)
1001: ac_init_version=: ;;
1002:
1003: -with-* | --with-*)
1.3 ohara 1004: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 takayama 1005: # Reject names that are not valid shell variable names.
1.3 ohara 1006: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 1008: { (exit 1); exit 1; }; }
1.3 ohara 1009: ac_useropt_orig=$ac_useropt
1010: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011: case $ac_user_opts in
1012: *"
1013: "with_$ac_useropt"
1014: "*) ;;
1015: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016: ac_unrecognized_sep=', ';;
1.1 takayama 1017: esac
1.3 ohara 1018: eval with_$ac_useropt=\$ac_optarg ;;
1.1 takayama 1019:
1020: -without-* | --without-*)
1.3 ohara 1021: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 takayama 1022: # Reject names that are not valid shell variable names.
1.3 ohara 1023: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 1025: { (exit 1); exit 1; }; }
1.3 ohara 1026: ac_useropt_orig=$ac_useropt
1027: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028: case $ac_user_opts in
1029: *"
1030: "with_$ac_useropt"
1031: "*) ;;
1032: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1033: ac_unrecognized_sep=', ';;
1034: esac
1035: eval with_$ac_useropt=no ;;
1.1 takayama 1036:
1037: --x)
1038: # Obsolete; use --with-x.
1039: with_x=yes ;;
1040:
1041: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1042: | --x-incl | --x-inc | --x-in | --x-i)
1043: ac_prev=x_includes ;;
1044: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1045: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1046: x_includes=$ac_optarg ;;
1047:
1048: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1049: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1050: ac_prev=x_libraries ;;
1051: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1052: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1053: x_libraries=$ac_optarg ;;
1054:
1.3 ohara 1055: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1.1 takayama 1056: Try \`$0 --help' for more information." >&2
1057: { (exit 1); exit 1; }; }
1058: ;;
1059:
1060: *=*)
1061: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062: # Reject names that are not valid shell variable names.
1063: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.3 ohara 1064: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.1 takayama 1065: { (exit 1); exit 1; }; }
1.3 ohara 1066: eval $ac_envvar=\$ac_optarg
1.1 takayama 1067: export $ac_envvar ;;
1068:
1069: *)
1070: # FIXME: should be removed in autoconf 3.0.
1.3 ohara 1071: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1 takayama 1072: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.3 ohara 1073: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1 takayama 1074: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1075: ;;
1076:
1077: esac
1078: done
1079:
1080: if test -n "$ac_prev"; then
1081: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.3 ohara 1082: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1.1 takayama 1083: { (exit 1); exit 1; }; }
1084: fi
1085:
1.3 ohara 1086: if test -n "$ac_unrecognized_opts"; then
1087: case $enable_option_checking in
1088: no) ;;
1089: fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1090: { (exit 1); exit 1; }; } ;;
1091: *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1092: esac
1093: fi
1094:
1095: # Check all directory arguments for consistency.
1096: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097: datadir sysconfdir sharedstatedir localstatedir includedir \
1098: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099: libdir localedir mandir
1.1 takayama 1100: do
1.3 ohara 1101: eval ac_val=\$$ac_var
1102: # Remove trailing slashes.
1.1 takayama 1103: case $ac_val in
1.3 ohara 1104: */ )
1105: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106: eval $ac_var=\$ac_val;;
1.1 takayama 1107: esac
1.3 ohara 1108: # Be sure to have absolute directory names.
1.1 takayama 1109: case $ac_val in
1.3 ohara 1110: [\\/$]* | ?:[\\/]* ) continue;;
1111: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1 takayama 1112: esac
1.3 ohara 1113: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114: { (exit 1); exit 1; }; }
1.1 takayama 1115: done
1116:
1117: # There might be people who depend on the old broken behavior: `$host'
1118: # used to hold the argument of --host etc.
1119: # FIXME: To remove some day.
1120: build=$build_alias
1121: host=$host_alias
1122: target=$target_alias
1123:
1124: # FIXME: To remove some day.
1125: if test "x$host_alias" != x; then
1126: if test "x$build_alias" = x; then
1127: cross_compiling=maybe
1.3 ohara 1128: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1 takayama 1129: If a cross compiler is detected then cross compile mode will be used." >&2
1130: elif test "x$build_alias" != "x$host_alias"; then
1131: cross_compiling=yes
1132: fi
1133: fi
1134:
1135: ac_tool_prefix=
1136: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1137:
1138: test "$silent" = yes && exec 6>/dev/null
1139:
1140:
1.3 ohara 1141: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142: ac_ls_di=`ls -di .` &&
1143: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144: { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1145: { (exit 1); exit 1; }; }
1146: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1148: { (exit 1); exit 1; }; }
1149:
1150:
1.1 takayama 1151: # Find the source files, if location was not specified.
1152: if test -z "$srcdir"; then
1153: ac_srcdir_defaulted=yes
1.3 ohara 1154: # Try the directory containing this script, then the parent directory.
1155: ac_confdir=`$as_dirname -- "$as_myself" ||
1156: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157: X"$as_myself" : 'X\(//\)[^/]' \| \
1158: X"$as_myself" : 'X\(//\)$' \| \
1159: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1160: $as_echo X"$as_myself" |
1161: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162: s//\1/
1163: q
1164: }
1165: /^X\(\/\/\)[^/].*/{
1166: s//\1/
1167: q
1168: }
1169: /^X\(\/\/\)$/{
1170: s//\1/
1171: q
1172: }
1173: /^X\(\/\).*/{
1174: s//\1/
1175: q
1176: }
1177: s/.*/./; q'`
1.1 takayama 1178: srcdir=$ac_confdir
1.3 ohara 1179: if test ! -r "$srcdir/$ac_unique_file"; then
1.1 takayama 1180: srcdir=..
1181: fi
1182: else
1183: ac_srcdir_defaulted=no
1184: fi
1.3 ohara 1185: if test ! -r "$srcdir/$ac_unique_file"; then
1186: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188: { (exit 1); exit 1; }; }
1189: fi
1190: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191: ac_abs_confdir=`(
1192: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1193: { (exit 1); exit 1; }; }
1194: pwd)`
1195: # When building in place, set srcdir=.
1196: if test "$ac_abs_confdir" = "$ac_pwd"; then
1197: srcdir=.
1198: fi
1199: # Remove unnecessary trailing slashes from srcdir.
1200: # Double slashes in file names in object file debugging info
1201: # mess up M-x gdb in Emacs.
1202: case $srcdir in
1203: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204: esac
1205: for ac_var in $ac_precious_vars; do
1206: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1207: eval ac_env_${ac_var}_value=\$${ac_var}
1208: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1209: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1210: done
1.1 takayama 1211:
1212: #
1213: # Report the --help message.
1214: #
1215: if test "$ac_init_help" = "long"; then
1216: # Omit some internal or obsolete options to make the list less imposing.
1217: # This message is too long to be a string in the A/UX 3.1 sh.
1218: cat <<_ACEOF
1219: \`configure' configures this package to adapt to many kinds of systems.
1220:
1221: Usage: $0 [OPTION]... [VAR=VALUE]...
1222:
1223: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224: VAR=VALUE. See below for descriptions of some of the useful variables.
1225:
1226: Defaults for the options are specified in brackets.
1227:
1228: Configuration:
1229: -h, --help display this help and exit
1230: --help=short display options specific to this package
1231: --help=recursive display the short help of all the included packages
1232: -V, --version display version information and exit
1233: -q, --quiet, --silent do not print \`checking...' messages
1234: --cache-file=FILE cache test results in FILE [disabled]
1235: -C, --config-cache alias for \`--cache-file=config.cache'
1236: -n, --no-create do not create output files
1237: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238:
1239: Installation directories:
1240: --prefix=PREFIX install architecture-independent files in PREFIX
1241: [$ac_default_prefix]
1242: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1243: [PREFIX]
1244:
1245: By default, \`make install' will install all the files in
1246: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248: for instance \`--prefix=\$HOME'.
1249:
1250: For better control, use the options below.
1251:
1252: Fine tuning of the installation directories:
1.3 ohara 1253: --bindir=DIR user executables [EPREFIX/bin]
1254: --sbindir=DIR system admin executables [EPREFIX/sbin]
1255: --libexecdir=DIR program executables [EPREFIX/libexec]
1256: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259: --libdir=DIR object code libraries [EPREFIX/lib]
1260: --includedir=DIR C header files [PREFIX/include]
1261: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264: --infodir=DIR info documentation [DATAROOTDIR/info]
1265: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266: --mandir=DIR man documentation [DATAROOTDIR/man]
1267: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1268: --htmldir=DIR html documentation [DOCDIR]
1269: --dvidir=DIR dvi documentation [DOCDIR]
1270: --pdfdir=DIR pdf documentation [DOCDIR]
1271: --psdir=DIR ps documentation [DOCDIR]
1.1 takayama 1272: _ACEOF
1273:
1274: cat <<\_ACEOF
1275: _ACEOF
1276: fi
1277:
1278: if test -n "$ac_init_help"; then
1279:
1280: cat <<\_ACEOF
1281:
1.4 ! ohara 1282: Some influential environment variables:
! 1283: CC C compiler command
! 1284: CFLAGS C compiler flags
! 1285: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1286: nonstandard directory <lib dir>
! 1287: LIBS libraries to pass to the linker, e.g. -l<library>
! 1288: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1289: you have headers in a nonstandard directory <include dir>
! 1290:
! 1291: Use these variables to override the choices made by `configure' or to help
! 1292: it to find libraries and programs with nonstandard names/locations.
! 1293:
1.1 takayama 1294: _ACEOF
1.3 ohara 1295: ac_status=$?
1.1 takayama 1296: fi
1297:
1298: if test "$ac_init_help" = "recursive"; then
1299: # If there are subdirs, report their specific --help.
1300: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.3 ohara 1301: test -d "$ac_dir" ||
1302: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1303: continue
1.1 takayama 1304: ac_builddir=.
1305:
1.3 ohara 1306: case "$ac_dir" in
1307: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308: *)
1309: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1310: # A ".." for each directory in $ac_dir_suffix.
1311: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1312: case $ac_top_builddir_sub in
1313: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1315: esac ;;
1316: esac
1317: ac_abs_top_builddir=$ac_pwd
1318: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1319: # for backward compatibility:
1320: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 1321:
1322: case $srcdir in
1.3 ohara 1323: .) # We are building in place.
1.1 takayama 1324: ac_srcdir=.
1.3 ohara 1325: ac_top_srcdir=$ac_top_builddir_sub
1326: ac_abs_top_srcdir=$ac_pwd ;;
1327: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 1328: ac_srcdir=$srcdir$ac_dir_suffix;
1.3 ohara 1329: ac_top_srcdir=$srcdir
1330: ac_abs_top_srcdir=$srcdir ;;
1331: *) # Relative name.
1332: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1333: ac_top_srcdir=$ac_top_build_prefix$srcdir
1334: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 1335: esac
1.3 ohara 1336: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1337:
1338: cd "$ac_dir" || { ac_status=$?; continue; }
1339: # Check for guested configure.
1340: if test -f "$ac_srcdir/configure.gnu"; then
1341: echo &&
1342: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1343: elif test -f "$ac_srcdir/configure"; then
1344: echo &&
1345: $SHELL "$ac_srcdir/configure" --help=recursive
1.1 takayama 1346: else
1.3 ohara 1347: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1348: fi || ac_status=$?
1349: cd "$ac_pwd" || { ac_status=$?; break; }
1.1 takayama 1350: done
1351: fi
1352:
1.3 ohara 1353: test -n "$ac_init_help" && exit $ac_status
1.1 takayama 1354: if $ac_init_version; then
1355: cat <<\_ACEOF
1.3 ohara 1356: configure
1357: generated by GNU Autoconf 2.62
1.1 takayama 1358:
1.3 ohara 1359: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1360: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 takayama 1361: This configure script is free software; the Free Software Foundation
1362: gives unlimited permission to copy, distribute and modify it.
1363: _ACEOF
1.3 ohara 1364: exit
1.1 takayama 1365: fi
1.3 ohara 1366: cat >config.log <<_ACEOF
1.1 takayama 1367: This file contains any messages produced by compilers while
1368: running configure, to aid debugging if configure makes a mistake.
1369:
1370: It was created by $as_me, which was
1.3 ohara 1371: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 1372:
1373: $ $0 $@
1374:
1375: _ACEOF
1.3 ohara 1376: exec 5>>config.log
1.1 takayama 1377: {
1378: cat <<_ASUNAME
1379: ## --------- ##
1380: ## Platform. ##
1381: ## --------- ##
1382:
1383: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1384: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1385: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1386: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1387: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1388:
1389: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1390: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1391:
1392: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1393: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1394: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.3 ohara 1395: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1 takayama 1396: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1397: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1398: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1399:
1400: _ASUNAME
1401:
1402: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403: for as_dir in $PATH
1404: do
1405: IFS=$as_save_IFS
1406: test -z "$as_dir" && as_dir=.
1.3 ohara 1407: $as_echo "PATH: $as_dir"
1.1 takayama 1408: done
1.3 ohara 1409: IFS=$as_save_IFS
1.1 takayama 1410:
1411: } >&5
1412:
1413: cat >&5 <<_ACEOF
1414:
1415:
1416: ## ----------- ##
1417: ## Core tests. ##
1418: ## ----------- ##
1419:
1420: _ACEOF
1421:
1422:
1423: # Keep a trace of the command line.
1424: # Strip out --no-create and --no-recursion so they do not pile up.
1.3 ohara 1425: # Strip out --silent because we don't want to record it for future runs.
1.1 takayama 1426: # Also quote any args containing shell meta-characters.
1.3 ohara 1427: # Make two passes to allow for proper duplicate-argument suppression.
1.1 takayama 1428: ac_configure_args=
1.3 ohara 1429: ac_configure_args0=
1430: ac_configure_args1=
1431: ac_must_keep_next=false
1432: for ac_pass in 1 2
1.1 takayama 1433: do
1.3 ohara 1434: for ac_arg
1435: do
1436: case $ac_arg in
1437: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1438: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1439: | -silent | --silent | --silen | --sile | --sil)
1440: continue ;;
1441: *\'*)
1442: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1443: esac
1444: case $ac_pass in
1445: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1446: 2)
1447: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1448: if test $ac_must_keep_next = true; then
1449: ac_must_keep_next=false # Got value, back to normal.
1450: else
1451: case $ac_arg in
1452: *=* | --config-cache | -C | -disable-* | --disable-* \
1453: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1454: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1455: | -with-* | --with-* | -without-* | --without-* | --x)
1456: case "$ac_configure_args0 " in
1457: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1458: esac
1459: ;;
1460: -* ) ac_must_keep_next=true ;;
1461: esac
1462: fi
1463: ac_configure_args="$ac_configure_args '$ac_arg'"
1464: ;;
1465: esac
1466: done
1.1 takayama 1467: done
1.3 ohara 1468: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1469: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1 takayama 1470:
1471: # When interrupted or exit'd, cleanup temporary files, and complete
1472: # config.log. We remove comments because anyway the quotes in there
1473: # would cause problems or look ugly.
1.3 ohara 1474: # WARNING: Use '\'' to represent an apostrophe within the trap.
1475: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1 takayama 1476: trap 'exit_status=$?
1477: # Save into config.log some information that might help in debugging.
1478: {
1479: echo
1.3 ohara 1480:
1.1 takayama 1481: cat <<\_ASBOX
1482: ## ---------------- ##
1483: ## Cache variables. ##
1484: ## ---------------- ##
1485: _ASBOX
1486: echo
1487: # The following way of writing the cache mishandles newlines in values,
1.3 ohara 1488: (
1489: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1490: eval ac_val=\$$ac_var
1491: case $ac_val in #(
1492: *${as_nl}*)
1493: case $ac_var in #(
1494: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1495: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1496: esac
1497: case $ac_var in #(
1498: _ | IFS | as_nl) ;; #(
1499: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1500: *) $as_unset $ac_var ;;
1501: esac ;;
1502: esac
1503: done
1.1 takayama 1504: (set) 2>&1 |
1.3 ohara 1505: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1506: *${as_nl}ac_space=\ *)
1.1 takayama 1507: sed -n \
1.3 ohara 1508: "s/'\''/'\''\\\\'\'''\''/g;
1509: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1510: ;; #(
1.1 takayama 1511: *)
1.3 ohara 1512: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 1513: ;;
1.3 ohara 1514: esac |
1515: sort
1516: )
1517: echo
1518:
1519: cat <<\_ASBOX
1520: ## ----------------- ##
1521: ## Output variables. ##
1522: ## ----------------- ##
1523: _ASBOX
1524: echo
1525: for ac_var in $ac_subst_vars
1526: do
1527: eval ac_val=\$$ac_var
1528: case $ac_val in
1529: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1530: esac
1531: $as_echo "$ac_var='\''$ac_val'\''"
1532: done | sort
1.1 takayama 1533: echo
1.3 ohara 1534:
1535: if test -n "$ac_subst_files"; then
1536: cat <<\_ASBOX
1537: ## ------------------- ##
1538: ## File substitutions. ##
1539: ## ------------------- ##
1540: _ASBOX
1541: echo
1542: for ac_var in $ac_subst_files
1543: do
1544: eval ac_val=\$$ac_var
1545: case $ac_val in
1546: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547: esac
1548: $as_echo "$ac_var='\''$ac_val'\''"
1549: done | sort
1550: echo
1551: fi
1552:
1.1 takayama 1553: if test -s confdefs.h; then
1554: cat <<\_ASBOX
1555: ## ----------- ##
1556: ## confdefs.h. ##
1557: ## ----------- ##
1558: _ASBOX
1559: echo
1.3 ohara 1560: cat confdefs.h
1.1 takayama 1561: echo
1562: fi
1563: test "$ac_signal" != 0 &&
1.3 ohara 1564: $as_echo "$as_me: caught signal $ac_signal"
1565: $as_echo "$as_me: exit $exit_status"
1.1 takayama 1566: } >&5
1.3 ohara 1567: rm -f core *.core core.conftest.* &&
1568: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1 takayama 1569: exit $exit_status
1.3 ohara 1570: ' 0
1.1 takayama 1571: for ac_signal in 1 2 13 15; do
1572: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1573: done
1574: ac_signal=0
1575:
1576: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.3 ohara 1577: rm -f -r conftest* confdefs.h
1.1 takayama 1578:
1579: # Predefined preprocessor variables.
1580:
1581: cat >>confdefs.h <<_ACEOF
1582: #define PACKAGE_NAME "$PACKAGE_NAME"
1583: _ACEOF
1584:
1585:
1586: cat >>confdefs.h <<_ACEOF
1587: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1588: _ACEOF
1589:
1590:
1591: cat >>confdefs.h <<_ACEOF
1592: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1593: _ACEOF
1594:
1595:
1596: cat >>confdefs.h <<_ACEOF
1597: #define PACKAGE_STRING "$PACKAGE_STRING"
1598: _ACEOF
1599:
1600:
1601: cat >>confdefs.h <<_ACEOF
1602: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1603: _ACEOF
1604:
1605:
1606: # Let the site file select an alternate cache file if it wants to.
1.3 ohara 1607: # Prefer an explicitly selected file to automatically selected ones.
1608: ac_site_file1=NONE
1609: ac_site_file2=NONE
1610: if test -n "$CONFIG_SITE"; then
1611: ac_site_file1=$CONFIG_SITE
1612: elif test "x$prefix" != xNONE; then
1613: ac_site_file1=$prefix/share/config.site
1614: ac_site_file2=$prefix/etc/config.site
1615: else
1616: ac_site_file1=$ac_default_prefix/share/config.site
1617: ac_site_file2=$ac_default_prefix/etc/config.site
1.1 takayama 1618: fi
1.3 ohara 1619: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1620: do
1621: test "x$ac_site_file" = xNONE && continue
1.1 takayama 1622: if test -r "$ac_site_file"; then
1.3 ohara 1623: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1 takayama 1625: sed 's/^/| /' "$ac_site_file" >&5
1626: . "$ac_site_file"
1627: fi
1628: done
1629:
1630: if test -r "$cache_file"; then
1631: # Some versions of bash will fail to source /dev/null (special
1632: # files actually), so we avoid doing that.
1633: if test -f "$cache_file"; then
1.3 ohara 1634: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1 takayama 1636: case $cache_file in
1.3 ohara 1637: [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638: *) . "./$cache_file";;
1.1 takayama 1639: esac
1640: fi
1641: else
1.3 ohara 1642: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1 takayama 1644: >$cache_file
1645: fi
1646:
1647: # Check that the precious variables saved in the cache have kept the same
1648: # value.
1649: ac_cache_corrupted=false
1.3 ohara 1650: for ac_var in $ac_precious_vars; do
1.1 takayama 1651: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652: eval ac_new_set=\$ac_env_${ac_var}_set
1.3 ohara 1653: eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654: eval ac_new_val=\$ac_env_${ac_var}_value
1.1 takayama 1655: case $ac_old_set,$ac_new_set in
1656: set,)
1.3 ohara 1657: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1658: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1 takayama 1659: ac_cache_corrupted=: ;;
1660: ,set)
1.3 ohara 1661: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1662: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1 takayama 1663: ac_cache_corrupted=: ;;
1664: ,);;
1665: *)
1666: if test "x$ac_old_val" != "x$ac_new_val"; then
1.3 ohara 1667: # differences in whitespace do not lead to failure.
1668: ac_old_val_w=`echo x $ac_old_val`
1669: ac_new_val_w=`echo x $ac_new_val`
1670: if test "$ac_old_val_w" != "$ac_new_val_w"; then
1671: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1672: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1673: ac_cache_corrupted=:
1674: else
1675: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1676: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1677: eval $ac_var=\$ac_old_val
1678: fi
1679: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1680: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1681: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1682: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1.1 takayama 1683: fi;;
1684: esac
1685: # Pass precious variables to config.status.
1686: if test "$ac_new_set" = set; then
1687: case $ac_new_val in
1.3 ohara 1688: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1 takayama 1689: *) ac_arg=$ac_var=$ac_new_val ;;
1690: esac
1691: case " $ac_configure_args " in
1692: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1693: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1694: esac
1695: fi
1696: done
1697: if $ac_cache_corrupted; then
1.3 ohara 1698: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1699: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1700: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1701: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1 takayama 1702: { (exit 1); exit 1; }; }
1703: fi
1704:
1705:
1706:
1707:
1708:
1709:
1710:
1711:
1712:
1713:
1714:
1715:
1716:
1717:
1718:
1719:
1720:
1721: ac_ext=c
1722: ac_cpp='$CPP $CPPFLAGS'
1723: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726:
1.3 ohara 1727:
1728:
1729: ac_aux_dir=
1730: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1731: if test -f "$ac_dir/install-sh"; then
1732: ac_aux_dir=$ac_dir
1733: ac_install_sh="$ac_aux_dir/install-sh -c"
1734: break
1735: elif test -f "$ac_dir/install.sh"; then
1736: ac_aux_dir=$ac_dir
1737: ac_install_sh="$ac_aux_dir/install.sh -c"
1738: break
1739: elif test -f "$ac_dir/shtool"; then
1740: ac_aux_dir=$ac_dir
1741: ac_install_sh="$ac_aux_dir/shtool install -c"
1742: break
1743: fi
1744: done
1745: if test -z "$ac_aux_dir"; then
1746: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1747: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1748: { (exit 1); exit 1; }; }
1.1 takayama 1749: fi
1750:
1.3 ohara 1751: # These three variables are undocumented and unsupported,
1752: # and are intended to be withdrawn in a future Autoconf release.
1753: # They can cause serious problems if a builder's source tree is in a directory
1754: # whose full name contains unusual characters.
1755: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1756: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1757: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1758:
1759:
1760: # Find a good install program. We prefer a C program (faster),
1761: # so one script is as good as another. But avoid the broken or
1762: # incompatible versions:
1763: # SysV /etc/install, /usr/sbin/install
1764: # SunOS /usr/etc/install
1765: # IRIX /sbin/install
1766: # AIX /bin/install
1767: # AmigaOS /C/install, which installs bootblocks on floppy discs
1768: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1769: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1770: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1771: # OS/2's system install, which has a completely different semantic
1772: # ./install, which can be erroneously created by make from ./install.sh.
1773: # Reject install programs that cannot install multiple files.
1774: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1775: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1776: if test -z "$INSTALL"; then
1777: if test "${ac_cv_path_install+set}" = set; then
1778: $as_echo_n "(cached) " >&6
1.1 takayama 1779: else
1.3 ohara 1780: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1781: for as_dir in $PATH
1782: do
1783: IFS=$as_save_IFS
1784: test -z "$as_dir" && as_dir=.
1.3 ohara 1785: # Account for people who put trailing slashes in PATH elements.
1786: case $as_dir/ in
1787: ./ | .// | /cC/* | \
1788: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1789: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1790: /usr/ucb/* ) ;;
1791: *)
1792: # OSF1 and SCO ODT 3.0 have their own names for install.
1793: # Don't use installbsd from OSF since it installs stuff as root
1794: # by default.
1795: for ac_prog in ginstall scoinst install; do
1796: for ac_exec_ext in '' $ac_executable_extensions; do
1797: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1798: if test $ac_prog = install &&
1799: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800: # AIX install. It has an incompatible calling convention.
1801: :
1802: elif test $ac_prog = install &&
1803: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1804: # program-specific install script used by HP pwplus--don't use.
1805: :
1806: else
1807: rm -rf conftest.one conftest.two conftest.dir
1808: echo one > conftest.one
1809: echo two > conftest.two
1810: mkdir conftest.dir
1811: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1812: test -s conftest.one && test -s conftest.two &&
1813: test -s conftest.dir/conftest.one &&
1814: test -s conftest.dir/conftest.two
1815: then
1816: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1817: break 3
1818: fi
1819: fi
1820: fi
1821: done
1822: done
1823: ;;
1824: esac
1825:
1.1 takayama 1826: done
1.3 ohara 1827: IFS=$as_save_IFS
1.1 takayama 1828:
1.3 ohara 1829: rm -rf conftest.one conftest.two conftest.dir
1.1 takayama 1830:
1831: fi
1.3 ohara 1832: if test "${ac_cv_path_install+set}" = set; then
1833: INSTALL=$ac_cv_path_install
1834: else
1835: # As a last resort, use the slow shell script. Don't cache a
1836: # value for INSTALL within a source directory, because that will
1837: # break other packages using the cache if that directory is
1838: # removed, or if the value is a relative name.
1839: INSTALL=$ac_install_sh
1.1 takayama 1840: fi
1.3 ohara 1841: fi
1842: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1843: $as_echo "$INSTALL" >&6; }
1.1 takayama 1844:
1.3 ohara 1845: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846: # It thinks the first close brace ends the variable substitution.
1847: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1 takayama 1848:
1.3 ohara 1849: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 takayama 1850:
1.3 ohara 1851: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1 takayama 1852:
1853:
1.3 ohara 1854: for ac_prog in jmakeinfo makeinfo
1855: do
1856: # Extract the first word of "$ac_prog", so it can be a program name with args.
1857: set dummy $ac_prog; ac_word=$2
1858: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1859: $as_echo_n "checking for $ac_word... " >&6; }
1860: if test "${ac_cv_path_MAKEINFO+set}" = set; then
1861: $as_echo_n "(cached) " >&6
1862: else
1863: case $MAKEINFO in
1864: [\\/]* | ?:[\\/]*)
1865: ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
1866: ;;
1867: *)
1868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1869: for as_dir in $PATH
1870: do
1871: IFS=$as_save_IFS
1872: test -z "$as_dir" && as_dir=.
1873: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1874: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1875: ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
1876: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1877: break 2
1878: fi
1879: done
1880: done
1.3 ohara 1881: IFS=$as_save_IFS
1.1 takayama 1882:
1.3 ohara 1883: ;;
1884: esac
1.1 takayama 1885: fi
1.3 ohara 1886: MAKEINFO=$ac_cv_path_MAKEINFO
1887: if test -n "$MAKEINFO"; then
1888: { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
1889: $as_echo "$MAKEINFO" >&6; }
1.1 takayama 1890: else
1.3 ohara 1891: { $as_echo "$as_me:$LINENO: result: no" >&5
1892: $as_echo "no" >&6; }
1.1 takayama 1893: fi
1894:
1.3 ohara 1895:
1896: test -n "$MAKEINFO" && break
1.1 takayama 1897: done
1898:
1899:
1.3 ohara 1900: for ac_prog in dvipdfmx dvipdfm divpdf
1.1 takayama 1901: do
1902: # Extract the first word of "$ac_prog", so it can be a program name with args.
1903: set dummy $ac_prog; ac_word=$2
1.3 ohara 1904: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1905: $as_echo_n "checking for $ac_word... " >&6; }
1906: if test "${ac_cv_path_DVIPDF+set}" = set; then
1907: $as_echo_n "(cached) " >&6
1908: else
1909: case $DVIPDF in
1910: [\\/]* | ?:[\\/]*)
1911: ac_cv_path_DVIPDF="$DVIPDF" # Let the user override the test with a path.
1912: ;;
1913: *)
1914: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1915: for as_dir in $PATH
1916: do
1917: IFS=$as_save_IFS
1918: test -z "$as_dir" && as_dir=.
1919: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1920: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1921: ac_cv_path_DVIPDF="$as_dir/$ac_word$ac_exec_ext"
1922: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1923: break 2
1924: fi
1925: done
1926: done
1.3 ohara 1927: IFS=$as_save_IFS
1.1 takayama 1928:
1.3 ohara 1929: ;;
1930: esac
1.1 takayama 1931: fi
1.3 ohara 1932: DVIPDF=$ac_cv_path_DVIPDF
1933: if test -n "$DVIPDF"; then
1934: { $as_echo "$as_me:$LINENO: result: $DVIPDF" >&5
1935: $as_echo "$DVIPDF" >&6; }
1.1 takayama 1936: else
1.3 ohara 1937: { $as_echo "$as_me:$LINENO: result: no" >&5
1938: $as_echo "no" >&6; }
1.1 takayama 1939: fi
1940:
1941:
1.3 ohara 1942: test -n "$DVIPDF" && break
1.1 takayama 1943: done
1944:
1945:
1.3 ohara 1946: # Extract the first word of "ptex", so it can be a program name with args.
1947: set dummy ptex; ac_word=$2
1948: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1949: $as_echo_n "checking for $ac_word... " >&6; }
1950: if test "${ac_cv_path_PTEX+set}" = set; then
1951: $as_echo_n "(cached) " >&6
1.1 takayama 1952: else
1.3 ohara 1953: case $PTEX in
1954: [\\/]* | ?:[\\/]*)
1955: ac_cv_path_PTEX="$PTEX" # Let the user override the test with a path.
1956: ;;
1957: *)
1958: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1959: for as_dir in $PATH
1960: do
1961: IFS=$as_save_IFS
1962: test -z "$as_dir" && as_dir=.
1963: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1964: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1965: ac_cv_path_PTEX="$as_dir/$ac_word$ac_exec_ext"
1966: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1967: break 2
1968: fi
1969: done
1970: done
1.3 ohara 1971: IFS=$as_save_IFS
1.1 takayama 1972:
1.3 ohara 1973: ;;
1974: esac
1.1 takayama 1975: fi
1.3 ohara 1976: PTEX=$ac_cv_path_PTEX
1977: if test -n "$PTEX"; then
1978: { $as_echo "$as_me:$LINENO: result: $PTEX" >&5
1979: $as_echo "$PTEX" >&6; }
1980: else
1981: { $as_echo "$as_me:$LINENO: result: no" >&5
1982: $as_echo "no" >&6; }
1.1 takayama 1983: fi
1984:
1985:
1986:
1.4 ! ohara 1987: ac_ext=c
! 1988: ac_cpp='$CPP $CPPFLAGS'
! 1989: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1990: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1991: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1992: if test -n "$ac_tool_prefix"; then
! 1993: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1994: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1995: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1996: $as_echo_n "checking for $ac_word... " >&6; }
! 1997: if test "${ac_cv_prog_CC+set}" = set; then
! 1998: $as_echo_n "(cached) " >&6
! 1999: else
! 2000: if test -n "$CC"; then
! 2001: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2002: else
! 2003: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2004: for as_dir in $PATH
! 2005: do
! 2006: IFS=$as_save_IFS
! 2007: test -z "$as_dir" && as_dir=.
! 2008: for ac_exec_ext in '' $ac_executable_extensions; do
! 2009: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2010: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2011: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2012: break 2
! 2013: fi
! 2014: done
! 2015: done
! 2016: IFS=$as_save_IFS
! 2017:
! 2018: fi
! 2019: fi
! 2020: CC=$ac_cv_prog_CC
! 2021: if test -n "$CC"; then
! 2022: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2023: $as_echo "$CC" >&6; }
! 2024: else
! 2025: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2026: $as_echo "no" >&6; }
! 2027: fi
! 2028:
! 2029:
! 2030: fi
! 2031: if test -z "$ac_cv_prog_CC"; then
! 2032: ac_ct_CC=$CC
! 2033: # Extract the first word of "gcc", so it can be a program name with args.
! 2034: set dummy gcc; ac_word=$2
! 2035: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2036: $as_echo_n "checking for $ac_word... " >&6; }
! 2037: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2038: $as_echo_n "(cached) " >&6
! 2039: else
! 2040: if test -n "$ac_ct_CC"; then
! 2041: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2042: else
! 2043: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2044: for as_dir in $PATH
! 2045: do
! 2046: IFS=$as_save_IFS
! 2047: test -z "$as_dir" && as_dir=.
! 2048: for ac_exec_ext in '' $ac_executable_extensions; do
! 2049: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2050: ac_cv_prog_ac_ct_CC="gcc"
! 2051: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2052: break 2
! 2053: fi
! 2054: done
! 2055: done
! 2056: IFS=$as_save_IFS
! 2057:
! 2058: fi
! 2059: fi
! 2060: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2061: if test -n "$ac_ct_CC"; then
! 2062: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2063: $as_echo "$ac_ct_CC" >&6; }
! 2064: else
! 2065: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2066: $as_echo "no" >&6; }
! 2067: fi
! 2068:
! 2069: if test "x$ac_ct_CC" = x; then
! 2070: CC=""
! 2071: else
! 2072: case $cross_compiling:$ac_tool_warned in
! 2073: yes:)
! 2074: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2075: whose name does not start with the host triplet. If you think this
! 2076: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2077: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2078: whose name does not start with the host triplet. If you think this
! 2079: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2080: ac_tool_warned=yes ;;
! 2081: esac
! 2082: CC=$ac_ct_CC
! 2083: fi
! 2084: else
! 2085: CC="$ac_cv_prog_CC"
! 2086: fi
! 2087:
! 2088: if test -z "$CC"; then
! 2089: if test -n "$ac_tool_prefix"; then
! 2090: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2091: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2092: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2093: $as_echo_n "checking for $ac_word... " >&6; }
! 2094: if test "${ac_cv_prog_CC+set}" = set; then
! 2095: $as_echo_n "(cached) " >&6
! 2096: else
! 2097: if test -n "$CC"; then
! 2098: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2099: else
! 2100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2101: for as_dir in $PATH
! 2102: do
! 2103: IFS=$as_save_IFS
! 2104: test -z "$as_dir" && as_dir=.
! 2105: for ac_exec_ext in '' $ac_executable_extensions; do
! 2106: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2107: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2108: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2109: break 2
! 2110: fi
! 2111: done
! 2112: done
! 2113: IFS=$as_save_IFS
! 2114:
! 2115: fi
! 2116: fi
! 2117: CC=$ac_cv_prog_CC
! 2118: if test -n "$CC"; then
! 2119: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2120: $as_echo "$CC" >&6; }
! 2121: else
! 2122: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2123: $as_echo "no" >&6; }
! 2124: fi
! 2125:
! 2126:
! 2127: fi
! 2128: fi
! 2129: if test -z "$CC"; then
! 2130: # Extract the first word of "cc", so it can be a program name with args.
! 2131: set dummy cc; ac_word=$2
! 2132: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2133: $as_echo_n "checking for $ac_word... " >&6; }
! 2134: if test "${ac_cv_prog_CC+set}" = set; then
! 2135: $as_echo_n "(cached) " >&6
! 2136: else
! 2137: if test -n "$CC"; then
! 2138: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2139: else
! 2140: ac_prog_rejected=no
! 2141: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2142: for as_dir in $PATH
! 2143: do
! 2144: IFS=$as_save_IFS
! 2145: test -z "$as_dir" && as_dir=.
! 2146: for ac_exec_ext in '' $ac_executable_extensions; do
! 2147: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2148: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2149: ac_prog_rejected=yes
! 2150: continue
! 2151: fi
! 2152: ac_cv_prog_CC="cc"
! 2153: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2154: break 2
! 2155: fi
! 2156: done
! 2157: done
! 2158: IFS=$as_save_IFS
! 2159:
! 2160: if test $ac_prog_rejected = yes; then
! 2161: # We found a bogon in the path, so make sure we never use it.
! 2162: set dummy $ac_cv_prog_CC
! 2163: shift
! 2164: if test $# != 0; then
! 2165: # We chose a different compiler from the bogus one.
! 2166: # However, it has the same basename, so the bogon will be chosen
! 2167: # first if we set CC to just the basename; use the full file name.
! 2168: shift
! 2169: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2170: fi
! 2171: fi
! 2172: fi
! 2173: fi
! 2174: CC=$ac_cv_prog_CC
! 2175: if test -n "$CC"; then
! 2176: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2177: $as_echo "$CC" >&6; }
! 2178: else
! 2179: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2180: $as_echo "no" >&6; }
! 2181: fi
! 2182:
! 2183:
! 2184: fi
! 2185: if test -z "$CC"; then
! 2186: if test -n "$ac_tool_prefix"; then
! 2187: for ac_prog in cl.exe
! 2188: do
! 2189: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2190: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2191: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2192: $as_echo_n "checking for $ac_word... " >&6; }
! 2193: if test "${ac_cv_prog_CC+set}" = set; then
! 2194: $as_echo_n "(cached) " >&6
! 2195: else
! 2196: if test -n "$CC"; then
! 2197: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2198: else
! 2199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2200: for as_dir in $PATH
! 2201: do
! 2202: IFS=$as_save_IFS
! 2203: test -z "$as_dir" && as_dir=.
! 2204: for ac_exec_ext in '' $ac_executable_extensions; do
! 2205: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2206: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2207: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2208: break 2
! 2209: fi
! 2210: done
! 2211: done
! 2212: IFS=$as_save_IFS
! 2213:
! 2214: fi
! 2215: fi
! 2216: CC=$ac_cv_prog_CC
! 2217: if test -n "$CC"; then
! 2218: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2219: $as_echo "$CC" >&6; }
! 2220: else
! 2221: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2222: $as_echo "no" >&6; }
! 2223: fi
! 2224:
! 2225:
! 2226: test -n "$CC" && break
! 2227: done
! 2228: fi
! 2229: if test -z "$CC"; then
! 2230: ac_ct_CC=$CC
! 2231: for ac_prog in cl.exe
! 2232: do
! 2233: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2234: set dummy $ac_prog; ac_word=$2
! 2235: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2236: $as_echo_n "checking for $ac_word... " >&6; }
! 2237: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2238: $as_echo_n "(cached) " >&6
! 2239: else
! 2240: if test -n "$ac_ct_CC"; then
! 2241: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2242: else
! 2243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2244: for as_dir in $PATH
! 2245: do
! 2246: IFS=$as_save_IFS
! 2247: test -z "$as_dir" && as_dir=.
! 2248: for ac_exec_ext in '' $ac_executable_extensions; do
! 2249: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2250: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2251: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2252: break 2
! 2253: fi
! 2254: done
! 2255: done
! 2256: IFS=$as_save_IFS
! 2257:
! 2258: fi
! 2259: fi
! 2260: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2261: if test -n "$ac_ct_CC"; then
! 2262: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2263: $as_echo "$ac_ct_CC" >&6; }
! 2264: else
! 2265: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2266: $as_echo "no" >&6; }
! 2267: fi
! 2268:
! 2269:
! 2270: test -n "$ac_ct_CC" && break
! 2271: done
! 2272:
! 2273: if test "x$ac_ct_CC" = x; then
! 2274: CC=""
! 2275: else
! 2276: case $cross_compiling:$ac_tool_warned in
! 2277: yes:)
! 2278: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2279: whose name does not start with the host triplet. If you think this
! 2280: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2281: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2282: whose name does not start with the host triplet. If you think this
! 2283: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2284: ac_tool_warned=yes ;;
! 2285: esac
! 2286: CC=$ac_ct_CC
! 2287: fi
! 2288: fi
! 2289:
! 2290: fi
! 2291:
! 2292:
! 2293: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2294: See \`config.log' for more details." >&5
! 2295: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2296: See \`config.log' for more details." >&2;}
! 2297: { (exit 1); exit 1; }; }
! 2298:
! 2299: # Provide some information about the compiler.
! 2300: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2301: set X $ac_compile
! 2302: ac_compiler=$2
! 2303: { (ac_try="$ac_compiler --version >&5"
! 2304: case "(($ac_try" in
! 2305: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2306: *) ac_try_echo=$ac_try;;
! 2307: esac
! 2308: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2309: $as_echo "$ac_try_echo") >&5
! 2310: (eval "$ac_compiler --version >&5") 2>&5
! 2311: ac_status=$?
! 2312: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2313: (exit $ac_status); }
! 2314: { (ac_try="$ac_compiler -v >&5"
! 2315: case "(($ac_try" in
! 2316: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2317: *) ac_try_echo=$ac_try;;
! 2318: esac
! 2319: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2320: $as_echo "$ac_try_echo") >&5
! 2321: (eval "$ac_compiler -v >&5") 2>&5
! 2322: ac_status=$?
! 2323: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2324: (exit $ac_status); }
! 2325: { (ac_try="$ac_compiler -V >&5"
! 2326: case "(($ac_try" in
! 2327: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2328: *) ac_try_echo=$ac_try;;
! 2329: esac
! 2330: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2331: $as_echo "$ac_try_echo") >&5
! 2332: (eval "$ac_compiler -V >&5") 2>&5
! 2333: ac_status=$?
! 2334: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2335: (exit $ac_status); }
! 2336:
! 2337: cat >conftest.$ac_ext <<_ACEOF
! 2338: /* confdefs.h. */
! 2339: _ACEOF
! 2340: cat confdefs.h >>conftest.$ac_ext
! 2341: cat >>conftest.$ac_ext <<_ACEOF
! 2342: /* end confdefs.h. */
! 2343:
! 2344: int
! 2345: main ()
! 2346: {
! 2347:
! 2348: ;
! 2349: return 0;
! 2350: }
! 2351: _ACEOF
! 2352: ac_clean_files_save=$ac_clean_files
! 2353: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2354: # Try to create an executable without -o first, disregard a.out.
! 2355: # It will help us diagnose broken compilers, and finding out an intuition
! 2356: # of exeext.
! 2357: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2358: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2359: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2360:
! 2361: # The possible output files:
! 2362: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2363:
! 2364: ac_rmfiles=
! 2365: for ac_file in $ac_files
! 2366: do
! 2367: case $ac_file in
! 2368: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2369: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2370: esac
! 2371: done
! 2372: rm -f $ac_rmfiles
! 2373:
! 2374: if { (ac_try="$ac_link_default"
! 2375: case "(($ac_try" in
! 2376: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2377: *) ac_try_echo=$ac_try;;
! 2378: esac
! 2379: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2380: $as_echo "$ac_try_echo") >&5
! 2381: (eval "$ac_link_default") 2>&5
! 2382: ac_status=$?
! 2383: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2384: (exit $ac_status); }; then
! 2385: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2386: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2387: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2388: # so that the user can short-circuit this test for compilers unknown to
! 2389: # Autoconf.
! 2390: for ac_file in $ac_files ''
! 2391: do
! 2392: test -f "$ac_file" || continue
! 2393: case $ac_file in
! 2394: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2395: ;;
! 2396: [ab].out )
! 2397: # We found the default executable, but exeext='' is most
! 2398: # certainly right.
! 2399: break;;
! 2400: *.* )
! 2401: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2402: then :; else
! 2403: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2404: fi
! 2405: # We set ac_cv_exeext here because the later test for it is not
! 2406: # safe: cross compilers may not add the suffix if given an `-o'
! 2407: # argument, so we may need to know it at that point already.
! 2408: # Even if this section looks crufty: it has the advantage of
! 2409: # actually working.
! 2410: break;;
! 2411: * )
! 2412: break;;
! 2413: esac
! 2414: done
! 2415: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2416:
! 2417: else
! 2418: ac_file=''
! 2419: fi
! 2420:
! 2421: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 2422: $as_echo "$ac_file" >&6; }
! 2423: if test -z "$ac_file"; then
! 2424: $as_echo "$as_me: failed program was:" >&5
! 2425: sed 's/^/| /' conftest.$ac_ext >&5
! 2426:
! 2427: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2428: See \`config.log' for more details." >&5
! 2429: $as_echo "$as_me: error: C compiler cannot create executables
! 2430: See \`config.log' for more details." >&2;}
! 2431: { (exit 77); exit 77; }; }
! 2432: fi
! 2433:
! 2434: ac_exeext=$ac_cv_exeext
! 2435:
! 2436: # Check that the compiler produces executables we can run. If not, either
! 2437: # the compiler is broken, or we cross compile.
! 2438: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2439: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2440: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2441: # If not cross compiling, check that we can run a simple program.
! 2442: if test "$cross_compiling" != yes; then
! 2443: if { ac_try='./$ac_file'
! 2444: { (case "(($ac_try" in
! 2445: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2446: *) ac_try_echo=$ac_try;;
! 2447: esac
! 2448: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2449: $as_echo "$ac_try_echo") >&5
! 2450: (eval "$ac_try") 2>&5
! 2451: ac_status=$?
! 2452: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2453: (exit $ac_status); }; }; then
! 2454: cross_compiling=no
! 2455: else
! 2456: if test "$cross_compiling" = maybe; then
! 2457: cross_compiling=yes
! 2458: else
! 2459: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2460: If you meant to cross compile, use \`--host'.
! 2461: See \`config.log' for more details." >&5
! 2462: $as_echo "$as_me: error: cannot run C compiled programs.
! 2463: If you meant to cross compile, use \`--host'.
! 2464: See \`config.log' for more details." >&2;}
! 2465: { (exit 1); exit 1; }; }
! 2466: fi
! 2467: fi
! 2468: fi
! 2469: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2470: $as_echo "yes" >&6; }
! 2471:
! 2472: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2473: ac_clean_files=$ac_clean_files_save
! 2474: # Check that the compiler produces executables we can run. If not, either
! 2475: # the compiler is broken, or we cross compile.
! 2476: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2477: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2478: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2479: $as_echo "$cross_compiling" >&6; }
! 2480:
! 2481: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2482: $as_echo_n "checking for suffix of executables... " >&6; }
! 2483: if { (ac_try="$ac_link"
! 2484: case "(($ac_try" in
! 2485: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2486: *) ac_try_echo=$ac_try;;
! 2487: esac
! 2488: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2489: $as_echo "$ac_try_echo") >&5
! 2490: (eval "$ac_link") 2>&5
! 2491: ac_status=$?
! 2492: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2493: (exit $ac_status); }; then
! 2494: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2495: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2496: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2497: # `rm'.
! 2498: for ac_file in conftest.exe conftest conftest.*; do
! 2499: test -f "$ac_file" || continue
! 2500: case $ac_file in
! 2501: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2502: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2503: break;;
! 2504: * ) break;;
! 2505: esac
! 2506: done
! 2507: else
! 2508: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2509: See \`config.log' for more details." >&5
! 2510: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2511: See \`config.log' for more details." >&2;}
! 2512: { (exit 1); exit 1; }; }
! 2513: fi
! 2514:
! 2515: rm -f conftest$ac_cv_exeext
! 2516: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2517: $as_echo "$ac_cv_exeext" >&6; }
! 2518:
! 2519: rm -f conftest.$ac_ext
! 2520: EXEEXT=$ac_cv_exeext
! 2521: ac_exeext=$EXEEXT
! 2522: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2523: $as_echo_n "checking for suffix of object files... " >&6; }
! 2524: if test "${ac_cv_objext+set}" = set; then
! 2525: $as_echo_n "(cached) " >&6
! 2526: else
! 2527: cat >conftest.$ac_ext <<_ACEOF
! 2528: /* confdefs.h. */
! 2529: _ACEOF
! 2530: cat confdefs.h >>conftest.$ac_ext
! 2531: cat >>conftest.$ac_ext <<_ACEOF
! 2532: /* end confdefs.h. */
! 2533:
! 2534: int
! 2535: main ()
! 2536: {
! 2537:
! 2538: ;
! 2539: return 0;
! 2540: }
! 2541: _ACEOF
! 2542: rm -f conftest.o conftest.obj
! 2543: if { (ac_try="$ac_compile"
! 2544: case "(($ac_try" in
! 2545: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2546: *) ac_try_echo=$ac_try;;
! 2547: esac
! 2548: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2549: $as_echo "$ac_try_echo") >&5
! 2550: (eval "$ac_compile") 2>&5
! 2551: ac_status=$?
! 2552: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2553: (exit $ac_status); }; then
! 2554: for ac_file in conftest.o conftest.obj conftest.*; do
! 2555: test -f "$ac_file" || continue;
! 2556: case $ac_file in
! 2557: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 2558: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2559: break;;
! 2560: esac
! 2561: done
! 2562: else
! 2563: $as_echo "$as_me: failed program was:" >&5
! 2564: sed 's/^/| /' conftest.$ac_ext >&5
! 2565:
! 2566: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2567: See \`config.log' for more details." >&5
! 2568: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2569: See \`config.log' for more details." >&2;}
! 2570: { (exit 1); exit 1; }; }
! 2571: fi
! 2572:
! 2573: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2574: fi
! 2575: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2576: $as_echo "$ac_cv_objext" >&6; }
! 2577: OBJEXT=$ac_cv_objext
! 2578: ac_objext=$OBJEXT
! 2579: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2580: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2581: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2582: $as_echo_n "(cached) " >&6
! 2583: else
! 2584: cat >conftest.$ac_ext <<_ACEOF
! 2585: /* confdefs.h. */
! 2586: _ACEOF
! 2587: cat confdefs.h >>conftest.$ac_ext
! 2588: cat >>conftest.$ac_ext <<_ACEOF
! 2589: /* end confdefs.h. */
! 2590:
! 2591: int
! 2592: main ()
! 2593: {
! 2594: #ifndef __GNUC__
! 2595: choke me
! 2596: #endif
! 2597:
! 2598: ;
! 2599: return 0;
! 2600: }
! 2601: _ACEOF
! 2602: rm -f conftest.$ac_objext
! 2603: if { (ac_try="$ac_compile"
! 2604: case "(($ac_try" in
! 2605: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2606: *) ac_try_echo=$ac_try;;
! 2607: esac
! 2608: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2609: $as_echo "$ac_try_echo") >&5
! 2610: (eval "$ac_compile") 2>conftest.er1
! 2611: ac_status=$?
! 2612: grep -v '^ *+' conftest.er1 >conftest.err
! 2613: rm -f conftest.er1
! 2614: cat conftest.err >&5
! 2615: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2616: (exit $ac_status); } && {
! 2617: test -z "$ac_c_werror_flag" ||
! 2618: test ! -s conftest.err
! 2619: } && test -s conftest.$ac_objext; then
! 2620: ac_compiler_gnu=yes
! 2621: else
! 2622: $as_echo "$as_me: failed program was:" >&5
! 2623: sed 's/^/| /' conftest.$ac_ext >&5
! 2624:
! 2625: ac_compiler_gnu=no
! 2626: fi
! 2627:
! 2628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2629: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2630:
! 2631: fi
! 2632: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2633: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2634: if test $ac_compiler_gnu = yes; then
! 2635: GCC=yes
! 2636: else
! 2637: GCC=
! 2638: fi
! 2639: ac_test_CFLAGS=${CFLAGS+set}
! 2640: ac_save_CFLAGS=$CFLAGS
! 2641: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2642: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2643: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2644: $as_echo_n "(cached) " >&6
! 2645: else
! 2646: ac_save_c_werror_flag=$ac_c_werror_flag
! 2647: ac_c_werror_flag=yes
! 2648: ac_cv_prog_cc_g=no
! 2649: CFLAGS="-g"
! 2650: cat >conftest.$ac_ext <<_ACEOF
! 2651: /* confdefs.h. */
! 2652: _ACEOF
! 2653: cat confdefs.h >>conftest.$ac_ext
! 2654: cat >>conftest.$ac_ext <<_ACEOF
! 2655: /* end confdefs.h. */
! 2656:
! 2657: int
! 2658: main ()
! 2659: {
! 2660:
! 2661: ;
! 2662: return 0;
! 2663: }
! 2664: _ACEOF
! 2665: rm -f conftest.$ac_objext
! 2666: if { (ac_try="$ac_compile"
! 2667: case "(($ac_try" in
! 2668: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2669: *) ac_try_echo=$ac_try;;
! 2670: esac
! 2671: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2672: $as_echo "$ac_try_echo") >&5
! 2673: (eval "$ac_compile") 2>conftest.er1
! 2674: ac_status=$?
! 2675: grep -v '^ *+' conftest.er1 >conftest.err
! 2676: rm -f conftest.er1
! 2677: cat conftest.err >&5
! 2678: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2679: (exit $ac_status); } && {
! 2680: test -z "$ac_c_werror_flag" ||
! 2681: test ! -s conftest.err
! 2682: } && test -s conftest.$ac_objext; then
! 2683: ac_cv_prog_cc_g=yes
! 2684: else
! 2685: $as_echo "$as_me: failed program was:" >&5
! 2686: sed 's/^/| /' conftest.$ac_ext >&5
! 2687:
! 2688: CFLAGS=""
! 2689: cat >conftest.$ac_ext <<_ACEOF
! 2690: /* confdefs.h. */
! 2691: _ACEOF
! 2692: cat confdefs.h >>conftest.$ac_ext
! 2693: cat >>conftest.$ac_ext <<_ACEOF
! 2694: /* end confdefs.h. */
! 2695:
! 2696: int
! 2697: main ()
! 2698: {
! 2699:
! 2700: ;
! 2701: return 0;
! 2702: }
! 2703: _ACEOF
! 2704: rm -f conftest.$ac_objext
! 2705: if { (ac_try="$ac_compile"
! 2706: case "(($ac_try" in
! 2707: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2708: *) ac_try_echo=$ac_try;;
! 2709: esac
! 2710: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2711: $as_echo "$ac_try_echo") >&5
! 2712: (eval "$ac_compile") 2>conftest.er1
! 2713: ac_status=$?
! 2714: grep -v '^ *+' conftest.er1 >conftest.err
! 2715: rm -f conftest.er1
! 2716: cat conftest.err >&5
! 2717: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2718: (exit $ac_status); } && {
! 2719: test -z "$ac_c_werror_flag" ||
! 2720: test ! -s conftest.err
! 2721: } && test -s conftest.$ac_objext; then
! 2722: :
! 2723: else
! 2724: $as_echo "$as_me: failed program was:" >&5
! 2725: sed 's/^/| /' conftest.$ac_ext >&5
! 2726:
! 2727: ac_c_werror_flag=$ac_save_c_werror_flag
! 2728: CFLAGS="-g"
! 2729: cat >conftest.$ac_ext <<_ACEOF
! 2730: /* confdefs.h. */
! 2731: _ACEOF
! 2732: cat confdefs.h >>conftest.$ac_ext
! 2733: cat >>conftest.$ac_ext <<_ACEOF
! 2734: /* end confdefs.h. */
! 2735:
! 2736: int
! 2737: main ()
! 2738: {
! 2739:
! 2740: ;
! 2741: return 0;
! 2742: }
! 2743: _ACEOF
! 2744: rm -f conftest.$ac_objext
! 2745: if { (ac_try="$ac_compile"
! 2746: case "(($ac_try" in
! 2747: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2748: *) ac_try_echo=$ac_try;;
! 2749: esac
! 2750: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2751: $as_echo "$ac_try_echo") >&5
! 2752: (eval "$ac_compile") 2>conftest.er1
! 2753: ac_status=$?
! 2754: grep -v '^ *+' conftest.er1 >conftest.err
! 2755: rm -f conftest.er1
! 2756: cat conftest.err >&5
! 2757: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2758: (exit $ac_status); } && {
! 2759: test -z "$ac_c_werror_flag" ||
! 2760: test ! -s conftest.err
! 2761: } && test -s conftest.$ac_objext; then
! 2762: ac_cv_prog_cc_g=yes
! 2763: else
! 2764: $as_echo "$as_me: failed program was:" >&5
! 2765: sed 's/^/| /' conftest.$ac_ext >&5
! 2766:
! 2767:
! 2768: fi
! 2769:
! 2770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2771: fi
! 2772:
! 2773: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2774: fi
! 2775:
! 2776: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2777: ac_c_werror_flag=$ac_save_c_werror_flag
! 2778: fi
! 2779: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2780: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 2781: if test "$ac_test_CFLAGS" = set; then
! 2782: CFLAGS=$ac_save_CFLAGS
! 2783: elif test $ac_cv_prog_cc_g = yes; then
! 2784: if test "$GCC" = yes; then
! 2785: CFLAGS="-g -O2"
! 2786: else
! 2787: CFLAGS="-g"
! 2788: fi
! 2789: else
! 2790: if test "$GCC" = yes; then
! 2791: CFLAGS="-O2"
! 2792: else
! 2793: CFLAGS=
! 2794: fi
! 2795: fi
! 2796: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 2797: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2798: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 2799: $as_echo_n "(cached) " >&6
! 2800: else
! 2801: ac_cv_prog_cc_c89=no
! 2802: ac_save_CC=$CC
! 2803: cat >conftest.$ac_ext <<_ACEOF
! 2804: /* confdefs.h. */
! 2805: _ACEOF
! 2806: cat confdefs.h >>conftest.$ac_ext
! 2807: cat >>conftest.$ac_ext <<_ACEOF
! 2808: /* end confdefs.h. */
! 2809: #include <stdarg.h>
! 2810: #include <stdio.h>
! 2811: #include <sys/types.h>
! 2812: #include <sys/stat.h>
! 2813: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2814: struct buf { int x; };
! 2815: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2816: static char *e (p, i)
! 2817: char **p;
! 2818: int i;
! 2819: {
! 2820: return p[i];
! 2821: }
! 2822: static char *f (char * (*g) (char **, int), char **p, ...)
! 2823: {
! 2824: char *s;
! 2825: va_list v;
! 2826: va_start (v,p);
! 2827: s = g (p, va_arg (v,int));
! 2828: va_end (v);
! 2829: return s;
! 2830: }
! 2831:
! 2832: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2833: function prototypes and stuff, but not '\xHH' hex character constants.
! 2834: These don't provoke an error unfortunately, instead are silently treated
! 2835: as 'x'. The following induces an error, until -std is added to get
! 2836: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2837: array size at least. It's necessary to write '\x00'==0 to get something
! 2838: that's true only with -std. */
! 2839: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2840:
! 2841: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2842: inside strings and character constants. */
! 2843: #define FOO(x) 'x'
! 2844: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2845:
! 2846: int test (int i, double x);
! 2847: struct s1 {int (*f) (int a);};
! 2848: struct s2 {int (*f) (double a);};
! 2849: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2850: int argc;
! 2851: char **argv;
! 2852: int
! 2853: main ()
! 2854: {
! 2855: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2856: ;
! 2857: return 0;
! 2858: }
! 2859: _ACEOF
! 2860: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2861: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2862: do
! 2863: CC="$ac_save_CC $ac_arg"
! 2864: rm -f conftest.$ac_objext
! 2865: if { (ac_try="$ac_compile"
! 2866: case "(($ac_try" in
! 2867: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2868: *) ac_try_echo=$ac_try;;
! 2869: esac
! 2870: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2871: $as_echo "$ac_try_echo") >&5
! 2872: (eval "$ac_compile") 2>conftest.er1
! 2873: ac_status=$?
! 2874: grep -v '^ *+' conftest.er1 >conftest.err
! 2875: rm -f conftest.er1
! 2876: cat conftest.err >&5
! 2877: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2878: (exit $ac_status); } && {
! 2879: test -z "$ac_c_werror_flag" ||
! 2880: test ! -s conftest.err
! 2881: } && test -s conftest.$ac_objext; then
! 2882: ac_cv_prog_cc_c89=$ac_arg
! 2883: else
! 2884: $as_echo "$as_me: failed program was:" >&5
! 2885: sed 's/^/| /' conftest.$ac_ext >&5
! 2886:
! 2887:
! 2888: fi
! 2889:
! 2890: rm -f core conftest.err conftest.$ac_objext
! 2891: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 2892: done
! 2893: rm -f conftest.$ac_ext
! 2894: CC=$ac_save_CC
! 2895:
! 2896: fi
! 2897: # AC_CACHE_VAL
! 2898: case "x$ac_cv_prog_cc_c89" in
! 2899: x)
! 2900: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 2901: $as_echo "none needed" >&6; } ;;
! 2902: xno)
! 2903: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 2904: $as_echo "unsupported" >&6; } ;;
! 2905: *)
! 2906: CC="$CC $ac_cv_prog_cc_c89"
! 2907: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 2908: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 2909: esac
! 2910:
! 2911:
! 2912: ac_ext=c
! 2913: ac_cpp='$CPP $CPPFLAGS'
! 2914: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2915: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2916: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2917:
! 2918:
! 2919: if test "$cross_compiling" = yes; then
! 2920: { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
! 2921: See \`config.log' for more details." >&5
! 2922: $as_echo "$as_me: error: cannot run test program while cross compiling
! 2923: See \`config.log' for more details." >&2;}
! 2924: { (exit 1); exit 1; }; }
! 2925: else
! 2926: cat >conftest.$ac_ext <<_ACEOF
! 2927: /* confdefs.h. */
! 2928: _ACEOF
! 2929: cat confdefs.h >>conftest.$ac_ext
! 2930: cat >>conftest.$ac_ext <<_ACEOF
! 2931: /* end confdefs.h. */
! 2932: #include "stdlib.h"
! 2933: int main(){exit(system("ptex -kanji=euc -version"));}
! 2934: _ACEOF
! 2935: rm -f conftest$ac_exeext
! 2936: if { (ac_try="$ac_link"
! 2937: case "(($ac_try" in
! 2938: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2939: *) ac_try_echo=$ac_try;;
! 2940: esac
! 2941: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2942: $as_echo "$ac_try_echo") >&5
! 2943: (eval "$ac_link") 2>&5
! 2944: ac_status=$?
! 2945: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2946: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 2947: { (case "(($ac_try" in
! 2948: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2949: *) ac_try_echo=$ac_try;;
! 2950: esac
! 2951: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2952: $as_echo "$ac_try_echo") >&5
! 2953: (eval "$ac_try") 2>&5
! 2954: ac_status=$?
! 2955: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2956: (exit $ac_status); }; }; then
! 2957: PTEXFLAGS="-kanji=euc"
! 2958: else
! 2959: $as_echo "$as_me: program exited with status $ac_status" >&5
! 2960: $as_echo "$as_me: failed program was:" >&5
! 2961: sed 's/^/| /' conftest.$ac_ext >&5
! 2962:
! 2963: fi
! 2964: rm -rf conftest.dSYM
! 2965: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 2966: fi
! 2967:
! 2968:
! 2969:
! 2970: rm -f test-ja.dvi test-ja.log
1.1 takayama 2971:
1.3 ohara 2972: OpenXM_ROOT=`cd ../../../..; pwd`
2973:
2974:
2975: ac_config_files="$ac_config_files Makefile M/Makefile"
1.1 takayama 2976:
2977: cat >confcache <<\_ACEOF
2978: # This file is a shell script that caches the results of configure
2979: # tests run on this system so they can be shared between configure
2980: # scripts and configure runs, see configure's option --config-cache.
2981: # It is not useful on other systems. If it contains results you don't
2982: # want to keep, you may remove or edit it.
2983: #
2984: # config.status only pays attention to the cache file if you give it
2985: # the --recheck option to rerun configure.
2986: #
1.3 ohara 2987: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.1 takayama 2988: # loading this file, other *unset* `ac_cv_foo' will be assigned the
2989: # following values.
2990:
2991: _ACEOF
2992:
2993: # The following way of writing the cache mishandles newlines in values,
2994: # but we know of no workaround that is simple, portable, and efficient.
1.3 ohara 2995: # So, we kill variables containing newlines.
1.1 takayama 2996: # Ultrix sh set writes to stderr and can't be redirected directly,
2997: # and sets the high bit in the cache file unless we assign to the vars.
1.3 ohara 2998: (
2999: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3000: eval ac_val=\$$ac_var
3001: case $ac_val in #(
3002: *${as_nl}*)
3003: case $ac_var in #(
3004: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3005: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3006: esac
3007: case $ac_var in #(
3008: _ | IFS | as_nl) ;; #(
3009: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3010: *) $as_unset $ac_var ;;
3011: esac ;;
3012: esac
3013: done
3014:
1.1 takayama 3015: (set) 2>&1 |
1.3 ohara 3016: case $as_nl`(ac_space=' '; set) 2>&1` in #(
3017: *${as_nl}ac_space=\ *)
1.1 takayama 3018: # `set' does not quote correctly, so add quotes (double-quote
3019: # substitution turns \\\\ into \\, and sed turns \\ into \).
3020: sed -n \
1.3 ohara 3021: "s/'/'\\\\''/g;
3022: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3023: ;; #(
1.1 takayama 3024: *)
3025: # `set' quotes correctly as required by POSIX, so do not add quotes.
1.3 ohara 3026: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 3027: ;;
1.3 ohara 3028: esac |
3029: sort
3030: ) |
1.1 takayama 3031: sed '
1.3 ohara 3032: /^ac_cv_env_/b end
1.1 takayama 3033: t clear
1.3 ohara 3034: :clear
1.1 takayama 3035: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3036: t end
1.3 ohara 3037: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3038: :end' >>confcache
3039: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3040: if test -w "$cache_file"; then
3041: test "x$cache_file" != "x/dev/null" &&
3042: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3043: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1 takayama 3044: cat confcache >$cache_file
3045: else
1.3 ohara 3046: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3047: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1 takayama 3048: fi
3049: fi
3050: rm -f confcache
3051:
3052: test "x$prefix" = xNONE && prefix=$ac_default_prefix
3053: # Let make expand exec_prefix.
3054: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3055:
3056: # Transform confdefs.h into DEFS.
3057: # Protect against shell expansion while executing Makefile rules.
3058: # Protect against Makefile macro expansion.
3059: #
3060: # If the first sed substitution is executed (which looks for macros that
1.3 ohara 3061: # take arguments), then branch to the quote section. Otherwise,
1.1 takayama 3062: # look for a macro that doesn't take arguments.
1.3 ohara 3063: ac_script='
3064: :mline
3065: /\\$/{
3066: N
3067: s,\\\n,,
3068: b mline
3069: }
1.1 takayama 3070: t clear
1.3 ohara 3071: :clear
3072: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 3073: t quote
1.3 ohara 3074: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 3075: t quote
1.3 ohara 3076: b any
3077: :quote
3078: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3079: s/\[/\\&/g
3080: s/\]/\\&/g
3081: s/\$/$$/g
3082: H
3083: :any
3084: ${
3085: g
3086: s/^\n//
3087: s/\n/ /g
3088: p
3089: }
3090: '
3091: DEFS=`sed -n "$ac_script" confdefs.h`
3092:
3093:
3094: ac_libobjs=
3095: ac_ltlibobjs=
3096: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3097: # 1. Remove the extension, and $U if already installed.
3098: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3099: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3100: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3101: # will be set to the directory where LIBOBJS objects are built.
3102: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3103: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3104: done
3105: LIBOBJS=$ac_libobjs
3106:
3107: LTLIBOBJS=$ac_ltlibobjs
1.1 takayama 3108:
3109:
3110:
3111: : ${CONFIG_STATUS=./config.status}
1.3 ohara 3112: ac_write_fail=0
1.1 takayama 3113: ac_clean_files_save=$ac_clean_files
3114: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.3 ohara 3115: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3116: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3117: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 3118: #! $SHELL
3119: # Generated by $as_me.
3120: # Run this file to recreate the current configuration.
3121: # Compiler output produced by configure, useful for debugging
3122: # configure, is in config.log if it exists.
3123:
3124: debug=false
1.3 ohara 3125: ac_cs_recheck=false
3126: ac_cs_silent=false
1.1 takayama 3127: SHELL=\${CONFIG_SHELL-$SHELL}
3128: _ACEOF
3129:
1.3 ohara 3130: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 3131: ## --------------------- ##
3132: ## M4sh Initialization. ##
3133: ## --------------------- ##
3134:
1.3 ohara 3135: # Be more Bourne compatible
3136: DUALCASE=1; export DUALCASE # for MKS sh
1.1 takayama 3137: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3138: emulate sh
3139: NULLCMD=:
1.3 ohara 3140: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3141: # is contrary to our usage. Disable this feature.
3142: alias -g '${1+"$@"}'='"$@"'
3143: setopt NO_GLOB_SUBST
3144: else
3145: case `(set -o) 2>/dev/null` in
3146: *posix*) set -o posix ;;
3147: esac
1.1 takayama 3148:
3149: fi
3150:
3151:
3152:
3153:
1.3 ohara 3154: # PATH needs CR
1.1 takayama 3155: # Avoid depending upon Character Ranges.
3156: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3157: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3158: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3159: as_cr_digits='0123456789'
3160: as_cr_alnum=$as_cr_Letters$as_cr_digits
3161:
1.3 ohara 3162: as_nl='
3163: '
3164: export as_nl
3165: # Printing a long string crashes Solaris 7 /usr/bin/printf.
3166: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3167: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3168: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3169: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3170: as_echo='printf %s\n'
3171: as_echo_n='printf %s'
3172: else
3173: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3174: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3175: as_echo_n='/usr/ucb/echo -n'
3176: else
3177: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3178: as_echo_n_body='eval
3179: arg=$1;
3180: case $arg in
3181: *"$as_nl"*)
3182: expr "X$arg" : "X\\(.*\\)$as_nl";
3183: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3184: esac;
3185: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3186: '
3187: export as_echo_n_body
3188: as_echo_n='sh -c $as_echo_n_body as_echo'
3189: fi
3190: export as_echo_body
3191: as_echo='sh -c $as_echo_body as_echo'
3192: fi
3193:
1.1 takayama 3194: # The user is always right.
3195: if test "${PATH_SEPARATOR+set}" != set; then
1.3 ohara 3196: PATH_SEPARATOR=:
3197: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3198: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3199: PATH_SEPARATOR=';'
3200: }
3201: fi
3202:
3203: # Support unset when possible.
3204: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3205: as_unset=unset
3206: else
3207: as_unset=false
1.1 takayama 3208: fi
3209:
3210:
1.3 ohara 3211: # IFS
3212: # We need space, tab and new line, in precisely that order. Quoting is
3213: # there to prevent editors from complaining about space-tab.
3214: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3215: # splitting by setting IFS to empty value.)
3216: IFS=" "" $as_nl"
3217:
3218: # Find who we are. Look in the path if we contain no directory separator.
3219: case $0 in
3220: *[\\/]* ) as_myself=$0 ;;
3221: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 3222: for as_dir in $PATH
3223: do
3224: IFS=$as_save_IFS
3225: test -z "$as_dir" && as_dir=.
3226: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3227: done
1.3 ohara 3228: IFS=$as_save_IFS
3229:
3230: ;;
3231: esac
3232: # We did not find ourselves, most probably we were run as `sh COMMAND'
3233: # in which case we are not to be found in the path.
3234: if test "x$as_myself" = x; then
3235: as_myself=$0
3236: fi
3237: if test ! -f "$as_myself"; then
3238: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3239: { (exit 1); exit 1; }
3240: fi
3241:
3242: # Work around bugs in pre-3.0 UWIN ksh.
3243: for as_var in ENV MAIL MAILPATH
3244: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3245: done
3246: PS1='$ '
3247: PS2='> '
3248: PS4='+ '
3249:
3250: # NLS nuisances.
3251: LC_ALL=C
3252: export LC_ALL
3253: LANGUAGE=C
3254: export LANGUAGE
3255:
3256: # Required to use basename.
3257: if expr a : '\(a\)' >/dev/null 2>&1 &&
3258: test "X`expr 00001 : '.*\(...\)'`" = X001; then
3259: as_expr=expr
3260: else
3261: as_expr=false
3262: fi
3263:
3264: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3265: as_basename=basename
3266: else
3267: as_basename=false
3268: fi
3269:
3270:
3271: # Name of the executable.
3272: as_me=`$as_basename -- "$0" ||
3273: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3274: X"$0" : 'X\(//\)$' \| \
3275: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3276: $as_echo X/"$0" |
3277: sed '/^.*\/\([^/][^/]*\)\/*$/{
3278: s//\1/
3279: q
3280: }
3281: /^X\/\(\/\/\)$/{
3282: s//\1/
3283: q
3284: }
3285: /^X\/\(\/\).*/{
3286: s//\1/
3287: q
3288: }
3289: s/.*/./; q'`
3290:
3291: # CDPATH.
3292: $as_unset CDPATH
3293:
3294:
1.1 takayama 3295:
3296: as_lineno_1=$LINENO
3297: as_lineno_2=$LINENO
3298: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.3 ohara 3299: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1 takayama 3300:
3301: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3302: # uniformly replaced by the line number. The first 'sed' inserts a
1.3 ohara 3303: # line-number line after each line using $LINENO; the second 'sed'
3304: # does the real work. The second script uses 'N' to pair each
3305: # line-number line with the line containing $LINENO, and appends
3306: # trailing '-' during substitution so that $LINENO is not a special
3307: # case at line end.
1.1 takayama 3308: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.3 ohara 3309: # scripts with optimization help from Paolo Bonzini. Blame Lee
3310: # E. McMahon (1931-1989) for sed's syntax. :-)
3311: sed -n '
3312: p
3313: /[$]LINENO/=
3314: ' <$as_myself |
1.1 takayama 3315: sed '
1.3 ohara 3316: s/[$]LINENO.*/&-/
3317: t lineno
3318: b
3319: :lineno
1.1 takayama 3320: N
1.3 ohara 3321: :loop
3322: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 takayama 3323: t loop
1.3 ohara 3324: s/-\n.*//
1.1 takayama 3325: ' >$as_me.lineno &&
1.3 ohara 3326: chmod +x "$as_me.lineno" ||
3327: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.1 takayama 3328: { (exit 1); exit 1; }; }
3329:
3330: # Don't try to exec as it changes $[0], causing all sort of problems
3331: # (the dirname of $[0] is not the place where we might find the
1.3 ohara 3332: # original and so on. Autoconf is especially sensitive to this).
3333: . "./$as_me.lineno"
1.1 takayama 3334: # Exit status is that of the last command.
3335: exit
3336: }
3337:
3338:
1.3 ohara 3339: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3340: as_dirname=dirname
3341: else
3342: as_dirname=false
3343: fi
3344:
3345: ECHO_C= ECHO_N= ECHO_T=
3346: case `echo -n x` in
3347: -n*)
3348: case `echo 'x\c'` in
3349: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3350: *) ECHO_C='\c';;
3351: esac;;
3352: *)
3353: ECHO_N='-n';;
1.1 takayama 3354: esac
1.3 ohara 3355: if expr a : '\(a\)' >/dev/null 2>&1 &&
3356: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1 takayama 3357: as_expr=expr
3358: else
3359: as_expr=false
3360: fi
3361:
3362: rm -f conf$$ conf$$.exe conf$$.file
1.3 ohara 3363: if test -d conf$$.dir; then
3364: rm -f conf$$.dir/conf$$.file
3365: else
3366: rm -f conf$$.dir
3367: mkdir conf$$.dir 2>/dev/null
3368: fi
3369: if (echo >conf$$.file) 2>/dev/null; then
3370: if ln -s conf$$.file conf$$ 2>/dev/null; then
3371: as_ln_s='ln -s'
3372: # ... but there are two gotchas:
3373: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3374: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3375: # In both cases, we have to default to `cp -p'.
3376: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3377: as_ln_s='cp -p'
3378: elif ln conf$$.file conf$$ 2>/dev/null; then
3379: as_ln_s=ln
3380: else
1.1 takayama 3381: as_ln_s='cp -p'
3382: fi
3383: else
3384: as_ln_s='cp -p'
3385: fi
1.3 ohara 3386: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3387: rmdir conf$$.dir 2>/dev/null
3388:
3389: if mkdir -p . 2>/dev/null; then
3390: as_mkdir_p=:
3391: else
3392: test -d ./-p && rmdir ./-p
3393: as_mkdir_p=false
3394: fi
1.1 takayama 3395:
1.3 ohara 3396: if test -x / >/dev/null 2>&1; then
3397: as_test_x='test -x'
3398: else
3399: if ls -dL / >/dev/null 2>&1; then
3400: as_ls_L_option=L
3401: else
3402: as_ls_L_option=
3403: fi
3404: as_test_x='
3405: eval sh -c '\''
3406: if test -d "$1"; then
3407: test -d "$1/.";
3408: else
3409: case $1 in
3410: -*)set "./$1";;
3411: esac;
3412: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3413: ???[sx]*):;;*)false;;esac;fi
3414: '\'' sh
3415: '
3416: fi
3417: as_executable_p=$as_test_x
1.1 takayama 3418:
3419: # Sed expression to map a string onto a valid CPP name.
1.3 ohara 3420: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 3421:
3422: # Sed expression to map a string onto a valid variable name.
1.3 ohara 3423: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 3424:
3425:
3426: exec 6>&1
3427:
1.3 ohara 3428: # Save the log message, to keep $[0] and so on meaningful, and to
1.1 takayama 3429: # report actual input values of CONFIG_FILES etc. instead of their
1.3 ohara 3430: # values after options handling.
3431: ac_log="
1.1 takayama 3432: This file was extended by $as_me, which was
1.3 ohara 3433: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 3434:
3435: CONFIG_FILES = $CONFIG_FILES
3436: CONFIG_HEADERS = $CONFIG_HEADERS
3437: CONFIG_LINKS = $CONFIG_LINKS
3438: CONFIG_COMMANDS = $CONFIG_COMMANDS
3439: $ $0 $@
3440:
1.3 ohara 3441: on `(hostname || uname -n) 2>/dev/null | sed 1q`
3442: "
3443:
1.1 takayama 3444: _ACEOF
3445:
1.3 ohara 3446: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 3447: # Files that config.status was made for.
1.3 ohara 3448: config_files="$ac_config_files"
1.1 takayama 3449:
1.3 ohara 3450: _ACEOF
1.1 takayama 3451:
1.3 ohara 3452: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 3453: ac_cs_usage="\
3454: \`$as_me' instantiates files from templates according to the
3455: current configuration.
3456:
3457: Usage: $0 [OPTIONS] [FILE]...
3458:
3459: -h, --help print this help, then exit
1.3 ohara 3460: -V, --version print version number and configuration settings, then exit
3461: -q, --quiet do not print progress messages
1.1 takayama 3462: -d, --debug don't remove temporary files
3463: --recheck update $as_me by reconfiguring in the same conditions
3464: --file=FILE[:TEMPLATE]
3465: instantiate the configuration file FILE
3466:
3467: Configuration files:
3468: $config_files
3469:
3470: Report bugs to <bug-autoconf@gnu.org>."
1.3 ohara 3471:
1.1 takayama 3472: _ACEOF
1.3 ohara 3473: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 3474: ac_cs_version="\\
3475: config.status
1.3 ohara 3476: configured by $0, generated by GNU Autoconf 2.62,
3477: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.1 takayama 3478:
1.3 ohara 3479: Copyright (C) 2008 Free Software Foundation, Inc.
1.1 takayama 3480: This config.status script is free software; the Free Software Foundation
3481: gives unlimited permission to copy, distribute and modify it."
1.3 ohara 3482:
3483: ac_pwd='$ac_pwd'
3484: srcdir='$srcdir'
3485: INSTALL='$INSTALL'
3486: test -n "\$AWK" || AWK=awk
1.1 takayama 3487: _ACEOF
3488:
1.3 ohara 3489: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3490: # The default lists apply if the user does not specify any file.
1.1 takayama 3491: ac_need_defaults=:
3492: while test $# != 0
3493: do
3494: case $1 in
3495: --*=*)
1.3 ohara 3496: ac_option=`expr "X$1" : 'X\([^=]*\)='`
3497: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3498: ac_shift=:
3499: ;;
3500: *)
3501: ac_option=$1
3502: ac_optarg=$2
3503: ac_shift=shift
1.1 takayama 3504: ;;
3505: esac
3506:
1.3 ohara 3507: case $ac_option in
1.1 takayama 3508: # Handling of the options.
3509: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.3 ohara 3510: ac_cs_recheck=: ;;
3511: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3512: $as_echo "$ac_cs_version"; exit ;;
3513: --debug | --debu | --deb | --de | --d | -d )
1.1 takayama 3514: debug=: ;;
3515: --file | --fil | --fi | --f )
1.3 ohara 3516: $ac_shift
3517: case $ac_optarg in
3518: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3519: esac
3520: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1.1 takayama 3521: ac_need_defaults=false;;
1.3 ohara 3522: --he | --h | --help | --hel | -h )
3523: $as_echo "$ac_cs_usage"; exit ;;
3524: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3525: | -silent | --silent | --silen | --sile | --sil | --si | --s)
3526: ac_cs_silent=: ;;
1.1 takayama 3527:
3528: # This is an error.
1.3 ohara 3529: -*) { $as_echo "$as_me: error: unrecognized option: $1
3530: Try \`$0 --help' for more information." >&2
1.1 takayama 3531: { (exit 1); exit 1; }; } ;;
3532:
1.3 ohara 3533: *) ac_config_targets="$ac_config_targets $1"
3534: ac_need_defaults=false ;;
1.1 takayama 3535:
3536: esac
3537: shift
3538: done
3539:
1.3 ohara 3540: ac_configure_extra_args=
3541:
3542: if $ac_cs_silent; then
3543: exec 6>/dev/null
3544: ac_configure_extra_args="$ac_configure_extra_args --silent"
3545: fi
3546:
1.1 takayama 3547: _ACEOF
1.3 ohara 3548: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3549: if \$ac_cs_recheck; then
3550: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3551: shift
3552: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3553: CONFIG_SHELL='$SHELL'
3554: export CONFIG_SHELL
3555: exec "\$@"
3556: fi
1.1 takayama 3557:
1.3 ohara 3558: _ACEOF
3559: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3560: exec 5>>config.log
3561: {
3562: echo
3563: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3564: ## Running $as_me. ##
3565: _ASBOX
3566: $as_echo "$ac_log"
3567: } >&5
1.1 takayama 3568:
1.3 ohara 3569: _ACEOF
3570: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3571: _ACEOF
1.1 takayama 3572:
1.3 ohara 3573: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 3574:
1.3 ohara 3575: # Handling of arguments.
1.1 takayama 3576: for ac_config_target in $ac_config_targets
3577: do
1.3 ohara 3578: case $ac_config_target in
3579: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3580: "M/Makefile") CONFIG_FILES="$CONFIG_FILES M/Makefile" ;;
3581:
3582: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3583: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.1 takayama 3584: { (exit 1); exit 1; }; };;
3585: esac
3586: done
3587:
1.3 ohara 3588:
1.1 takayama 3589: # If the user did not use the arguments to specify the items to instantiate,
3590: # then the envvar interface is used. Set only those that are not.
3591: # We use the long form for the default assignment because of an extremely
3592: # bizarre bug on SunOS 4.1.3.
3593: if $ac_need_defaults; then
3594: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3595: fi
3596:
1.3 ohara 3597: # Have a temporary directory for convenience. Make it in the build tree
3598: # simply because there is no reason against having it here, and in addition,
3599: # creating and moving files from /tmp can sometimes cause problems.
3600: # Hook for its removal unless debugging.
3601: # Note that there is a small window in which the directory will not be cleaned:
3602: # after its creation but before its name has been assigned to `$tmp'.
1.1 takayama 3603: $debug ||
3604: {
1.3 ohara 3605: tmp=
3606: trap 'exit_status=$?
3607: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3608: ' 0
1.1 takayama 3609: trap '{ (exit 1); exit 1; }' 1 2 13 15
3610: }
1.3 ohara 3611: # Create a (secure) tmp directory for tmp files.
1.1 takayama 3612:
3613: {
1.3 ohara 3614: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1 takayama 3615: test -n "$tmp" && test -d "$tmp"
3616: } ||
3617: {
1.3 ohara 3618: tmp=./conf$$-$RANDOM
3619: (umask 077 && mkdir "$tmp")
1.1 takayama 3620: } ||
3621: {
1.3 ohara 3622: $as_echo "$as_me: cannot create a temporary directory in ." >&2
1.1 takayama 3623: { (exit 1); exit 1; }
3624: }
3625:
1.3 ohara 3626: # Set up the scripts for CONFIG_FILES section.
3627: # No need to generate them if there are no CONFIG_FILES.
3628: # This happens for instance with `./config.status config.h'.
3629: if test -n "$CONFIG_FILES"; then
3630:
3631:
3632: ac_cr='
'
3633: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3634: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3635: ac_cs_awk_cr='\\r'
3636: else
3637: ac_cs_awk_cr=$ac_cr
3638: fi
3639:
3640: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.1 takayama 3641: _ACEOF
3642:
3643:
1.3 ohara 3644: {
3645: echo "cat >conf$$subs.awk <<_ACEOF" &&
3646: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3647: echo "_ACEOF"
3648: } >conf$$subs.sh ||
3649: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3650: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3651: { (exit 1); exit 1; }; }
3652: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3653: ac_delim='%!_!# '
3654: for ac_last_try in false false false false false :; do
3655: . ./conf$$subs.sh ||
3656: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3657: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3658: { (exit 1); exit 1; }; }
3659:
3660: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3661: break
3662: elif $ac_last_try; then
3663: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3664: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3665: { (exit 1); exit 1; }; }
3666: else
3667: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3668: fi
3669: done
3670: rm -f conf$$subs.sh
3671:
3672: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3673: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3674: _ACEOF
3675: sed -n '
3676: h
3677: s/^/S["/; s/!.*/"]=/
3678: p
3679: g
3680: s/^[^!]*!//
3681: :repl
3682: t repl
3683: s/'"$ac_delim"'$//
3684: t delim
3685: :nl
3686: h
3687: s/\(.\{148\}\).*/\1/
3688: t more1
3689: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3690: p
3691: n
3692: b repl
3693: :more1
3694: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3695: p
3696: g
3697: s/.\{148\}//
3698: t nl
3699: :delim
3700: h
3701: s/\(.\{148\}\).*/\1/
3702: t more2
3703: s/["\\]/\\&/g; s/^/"/; s/$/"/
3704: p
3705: b
3706: :more2
3707: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3708: p
3709: g
3710: s/.\{148\}//
3711: t delim
3712: ' <conf$$subs.awk | sed '
3713: /^[^""]/{
3714: N
3715: s/\n//
3716: }
3717: ' >>$CONFIG_STATUS || ac_write_fail=1
3718: rm -f conf$$subs.awk
3719: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3720: _ACAWK
3721: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3722: for (key in S) S_is_set[key] = 1
3723: FS = ""
3724:
3725: }
3726: {
3727: line = $ 0
3728: nfields = split(line, field, "@")
3729: substed = 0
3730: len = length(field[1])
3731: for (i = 2; i < nfields; i++) {
3732: key = field[i]
3733: keylen = length(key)
3734: if (S_is_set[key]) {
3735: value = S[key]
3736: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3737: len += length(value) + length(field[++i])
3738: substed = 1
3739: } else
3740: len += 1 + keylen
3741: }
1.1 takayama 3742:
1.3 ohara 3743: print line
3744: }
1.1 takayama 3745:
1.3 ohara 3746: _ACAWK
3747: _ACEOF
3748: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3749: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3750: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3751: else
3752: cat
3753: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3754: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3755: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3756: { (exit 1); exit 1; }; }
1.1 takayama 3757: _ACEOF
3758:
1.3 ohara 3759: # VPATH may cause trouble with some makes, so we remove $(srcdir),
3760: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3761: # trailing colons and then remove the whole line if VPATH becomes empty
3762: # (actually we leave an empty line to preserve line numbers).
3763: if test "x$srcdir" = x.; then
3764: ac_vpsub='/^[ ]*VPATH[ ]*=/{
3765: s/:*\$(srcdir):*/:/
3766: s/:*\${srcdir}:*/:/
3767: s/:*@srcdir@:*/:/
3768: s/^\([^=]*=[ ]*\):*/\1/
3769: s/:*$//
3770: s/^[^=]*=[ ]*$//
3771: }'
3772: fi
3773:
3774: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 3775: fi # test -n "$CONFIG_FILES"
3776:
1.3 ohara 3777:
3778: eval set X " :F $CONFIG_FILES "
3779: shift
3780: for ac_tag
3781: do
3782: case $ac_tag in
3783: :[FHLC]) ac_mode=$ac_tag; continue;;
3784: esac
3785: case $ac_mode$ac_tag in
3786: :[FHL]*:*);;
3787: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3788: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3789: { (exit 1); exit 1; }; };;
3790: :[FH]-) ac_tag=-:-;;
3791: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.1 takayama 3792: esac
1.3 ohara 3793: ac_save_IFS=$IFS
3794: IFS=:
3795: set x $ac_tag
3796: IFS=$ac_save_IFS
3797: shift
3798: ac_file=$1
3799: shift
3800:
3801: case $ac_mode in
3802: :L) ac_source=$1;;
3803: :[FH])
3804: ac_file_inputs=
3805: for ac_f
3806: do
3807: case $ac_f in
3808: -) ac_f="$tmp/stdin";;
3809: *) # Look for the file first in the build tree, then in the source tree
3810: # (if the path is not absolute). The absolute path cannot be DOS-style,
3811: # because $ac_f cannot contain `:'.
3812: test -f "$ac_f" ||
3813: case $ac_f in
3814: [\\/$]*) false;;
3815: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3816: esac ||
3817: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3818: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3819: { (exit 1); exit 1; }; };;
3820: esac
3821: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3822: ac_file_inputs="$ac_file_inputs '$ac_f'"
3823: done
3824:
3825: # Let's still pretend it is `configure' which instantiates (i.e., don't
3826: # use $as_me), people would be surprised to read:
3827: # /* config.h. Generated by config.status. */
3828: configure_input='Generated from '`
3829: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3830: `' by configure.'
3831: if test x"$ac_file" != x-; then
3832: configure_input="$ac_file. $configure_input"
3833: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3834: $as_echo "$as_me: creating $ac_file" >&6;}
3835: fi
3836: # Neutralize special characters interpreted by sed in replacement strings.
3837: case $configure_input in #(
3838: *\&* | *\|* | *\\* )
3839: ac_sed_conf_input=`$as_echo "$configure_input" |
3840: sed 's/[\\\\&|]/\\\\&/g'`;; #(
3841: *) ac_sed_conf_input=$configure_input;;
3842: esac
1.1 takayama 3843:
1.3 ohara 3844: case $ac_tag in
3845: *:-:* | *:-) cat >"$tmp/stdin" \
3846: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3847: $as_echo "$as_me: error: could not create $ac_file" >&2;}
3848: { (exit 1); exit 1; }; } ;;
3849: esac
1.1 takayama 3850: ;;
3851: esac
3852:
1.3 ohara 3853: ac_dir=`$as_dirname -- "$ac_file" ||
3854: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3855: X"$ac_file" : 'X\(//\)[^/]' \| \
3856: X"$ac_file" : 'X\(//\)$' \| \
3857: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3858: $as_echo X"$ac_file" |
3859: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3860: s//\1/
3861: q
3862: }
3863: /^X\(\/\/\)[^/].*/{
3864: s//\1/
3865: q
3866: }
3867: /^X\(\/\/\)$/{
3868: s//\1/
3869: q
3870: }
3871: /^X\(\/\).*/{
3872: s//\1/
3873: q
3874: }
3875: s/.*/./; q'`
3876: { as_dir="$ac_dir"
3877: case $as_dir in #(
3878: -*) as_dir=./$as_dir;;
3879: esac
3880: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3881: as_dirs=
3882: while :; do
3883: case $as_dir in #(
3884: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3885: *) as_qdir=$as_dir;;
3886: esac
3887: as_dirs="'$as_qdir' $as_dirs"
3888: as_dir=`$as_dirname -- "$as_dir" ||
3889: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3890: X"$as_dir" : 'X\(//\)[^/]' \| \
3891: X"$as_dir" : 'X\(//\)$' \| \
3892: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3893: $as_echo X"$as_dir" |
3894: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3895: s//\1/
3896: q
3897: }
3898: /^X\(\/\/\)[^/].*/{
3899: s//\1/
3900: q
3901: }
3902: /^X\(\/\/\)$/{
3903: s//\1/
3904: q
3905: }
3906: /^X\(\/\).*/{
3907: s//\1/
3908: q
3909: }
3910: s/.*/./; q'`
3911: test -d "$as_dir" && break
3912: done
3913: test -z "$as_dirs" || eval "mkdir $as_dirs"
3914: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3915: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3916: { (exit 1); exit 1; }; }; }
1.1 takayama 3917: ac_builddir=.
3918:
1.3 ohara 3919: case "$ac_dir" in
3920: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3921: *)
3922: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3923: # A ".." for each directory in $ac_dir_suffix.
3924: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3925: case $ac_top_builddir_sub in
3926: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3927: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3928: esac ;;
3929: esac
3930: ac_abs_top_builddir=$ac_pwd
3931: ac_abs_builddir=$ac_pwd$ac_dir_suffix
3932: # for backward compatibility:
3933: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 3934:
3935: case $srcdir in
1.3 ohara 3936: .) # We are building in place.
1.1 takayama 3937: ac_srcdir=.
1.3 ohara 3938: ac_top_srcdir=$ac_top_builddir_sub
3939: ac_abs_top_srcdir=$ac_pwd ;;
3940: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 3941: ac_srcdir=$srcdir$ac_dir_suffix;
1.3 ohara 3942: ac_top_srcdir=$srcdir
3943: ac_abs_top_srcdir=$srcdir ;;
3944: *) # Relative name.
3945: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3946: ac_top_srcdir=$ac_top_build_prefix$srcdir
3947: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 3948: esac
1.3 ohara 3949: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1 takayama 3950:
3951:
1.3 ohara 3952: case $ac_mode in
3953: :F)
3954: #
3955: # CONFIG_FILE
3956: #
3957:
3958: case $INSTALL in
3959: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3960: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3961: esac
3962: _ACEOF
1.1 takayama 3963:
1.3 ohara 3964: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3965: # If the template does not know about datarootdir, expand it.
3966: # FIXME: This hack should be removed a few years after 2.60.
3967: ac_datarootdir_hack=; ac_datarootdir_seen=
3968:
3969: ac_sed_dataroot='
3970: /datarootdir/ {
3971: p
3972: q
3973: }
3974: /@datadir@/p
3975: /@docdir@/p
3976: /@infodir@/p
3977: /@localedir@/p
3978: /@mandir@/p
3979: '
3980: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3981: *datarootdir*) ac_datarootdir_seen=yes;;
3982: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3983: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3984: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3985: _ACEOF
3986: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3987: ac_datarootdir_hack='
3988: s&@datadir@&$datadir&g
3989: s&@docdir@&$docdir&g
3990: s&@infodir@&$infodir&g
3991: s&@localedir@&$localedir&g
3992: s&@mandir@&$mandir&g
3993: s&\\\${datarootdir}&$datarootdir&g' ;;
3994: esac
3995: _ACEOF
1.1 takayama 3996:
1.3 ohara 3997: # Neutralize VPATH when `$srcdir' = `.'.
3998: # Shell code in configure.ac might set extrasub.
3999: # FIXME: do we really want to maintain this feature?
4000: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4001: ac_sed_extra="$ac_vpsub
1.1 takayama 4002: $extrasub
4003: _ACEOF
1.3 ohara 4004: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 4005: :t
4006: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.3 ohara 4007: s|@configure_input@|$ac_sed_conf_input|;t t
4008: s&@top_builddir@&$ac_top_builddir_sub&;t t
4009: s&@top_build_prefix@&$ac_top_build_prefix&;t t
4010: s&@srcdir@&$ac_srcdir&;t t
4011: s&@abs_srcdir@&$ac_abs_srcdir&;t t
4012: s&@top_srcdir@&$ac_top_srcdir&;t t
4013: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4014: s&@builddir@&$ac_builddir&;t t
4015: s&@abs_builddir@&$ac_abs_builddir&;t t
4016: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4017: s&@INSTALL@&$ac_INSTALL&;t t
4018: $ac_datarootdir_hack
4019: "
4020: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4021: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4022: $as_echo "$as_me: error: could not create $ac_file" >&2;}
4023: { (exit 1); exit 1; }; }
4024:
4025: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4026: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4027: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4028: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4029: which seems to be undefined. Please make sure it is defined." >&5
4030: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4031: which seems to be undefined. Please make sure it is defined." >&2;}
4032:
4033: rm -f "$tmp/stdin"
4034: case $ac_file in
4035: -) cat "$tmp/out" && rm -f "$tmp/out";;
4036: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4037: esac \
4038: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4039: $as_echo "$as_me: error: could not create $ac_file" >&2;}
4040: { (exit 1); exit 1; }; }
4041: ;;
4042:
4043:
4044:
4045: esac
1.1 takayama 4046:
1.3 ohara 4047: done # for ac_tag
1.1 takayama 4048:
4049:
4050: { (exit 0); exit 0; }
4051: _ACEOF
4052: chmod +x $CONFIG_STATUS
4053: ac_clean_files=$ac_clean_files_save
4054:
1.3 ohara 4055: test $ac_write_fail = 0 ||
4056: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4057: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4058: { (exit 1); exit 1; }; }
4059:
1.1 takayama 4060:
4061: # configure is writing to config.log, and then calls config.status.
4062: # config.status does its own redirection, appending to config.log.
4063: # Unfortunately, on DOS this fails, as config.log is still kept open
4064: # by configure, so config.status won't be able to write to it; its
4065: # output is simply discarded. So we exec the FD to /dev/null,
4066: # effectively closing config.log, so it can be properly (re)opened and
4067: # appended to by config.status. When coming back to configure, we
4068: # need to make the FD available again.
4069: if test "$no_create" != yes; then
4070: ac_cs_success=:
1.3 ohara 4071: ac_config_status_args=
4072: test "$silent" = yes &&
4073: ac_config_status_args="$ac_config_status_args --quiet"
1.1 takayama 4074: exec 5>/dev/null
1.3 ohara 4075: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.1 takayama 4076: exec 5>>config.log
4077: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4078: # would make configure fail if this is the last instruction.
4079: $ac_cs_success || { (exit 1); exit 1; }
4080: fi
1.3 ohara 4081: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4082: { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4083: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4084: fi
1.1 takayama 4085:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>