Annotation of OpenXM/src/asir-contrib/packages/doc/configure, Revision 1.6
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
644: OpenXM_ROOT
645: LIBOBJS
646: LTLIBOBJS'
647: ac_subst_files=''
648: ac_user_opts='
649: enable_option_checking
650: '
651: ac_precious_vars='build_alias
652: host_alias
1.6 ! ohara 653: target_alias'
1.3 ohara 654:
1.1 takayama 655:
656: # Initialize some variables set by options.
657: ac_init_help=
658: ac_init_version=false
1.3 ohara 659: ac_unrecognized_opts=
660: ac_unrecognized_sep=
1.1 takayama 661: # The variables have the same names as the options, with
662: # dashes changed to underlines.
663: cache_file=/dev/null
664: exec_prefix=NONE
665: no_create=
666: no_recursion=
667: prefix=NONE
668: program_prefix=NONE
669: program_suffix=NONE
670: program_transform_name=s,x,x,
671: silent=
672: site=
673: srcdir=
674: verbose=
675: x_includes=NONE
676: x_libraries=NONE
677:
678: # Installation directory options.
679: # These are left unexpanded so users can "make install exec_prefix=/foo"
680: # and all the variables that are supposed to be based on exec_prefix
681: # by default will actually change.
682: # Use braces instead of parens because sh, perl, etc. also accept them.
1.3 ohara 683: # (The list follows the same order as the GNU Coding Standards.)
1.1 takayama 684: bindir='${exec_prefix}/bin'
685: sbindir='${exec_prefix}/sbin'
686: libexecdir='${exec_prefix}/libexec'
1.3 ohara 687: datarootdir='${prefix}/share'
688: datadir='${datarootdir}'
1.1 takayama 689: sysconfdir='${prefix}/etc'
690: sharedstatedir='${prefix}/com'
691: localstatedir='${prefix}/var'
692: includedir='${prefix}/include'
693: oldincludedir='/usr/include'
1.3 ohara 694: docdir='${datarootdir}/doc/${PACKAGE}'
695: infodir='${datarootdir}/info'
696: htmldir='${docdir}'
697: dvidir='${docdir}'
698: pdfdir='${docdir}'
699: psdir='${docdir}'
700: libdir='${exec_prefix}/lib'
701: localedir='${datarootdir}/locale'
702: mandir='${datarootdir}/man'
1.1 takayama 703:
704: ac_prev=
1.3 ohara 705: ac_dashdash=
1.1 takayama 706: for ac_option
707: do
708: # If the previous option needs an argument, assign it.
709: if test -n "$ac_prev"; then
1.3 ohara 710: eval $ac_prev=\$ac_option
1.1 takayama 711: ac_prev=
712: continue
713: fi
714:
1.3 ohara 715: case $ac_option in
716: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717: *) ac_optarg=yes ;;
718: esac
1.1 takayama 719:
720: # Accept the important Cygnus configure options, so we can diagnose typos.
721:
1.3 ohara 722: case $ac_dashdash$ac_option in
723: --)
724: ac_dashdash=yes ;;
1.1 takayama 725:
726: -bindir | --bindir | --bindi | --bind | --bin | --bi)
727: ac_prev=bindir ;;
728: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
729: bindir=$ac_optarg ;;
730:
731: -build | --build | --buil | --bui | --bu)
732: ac_prev=build_alias ;;
733: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
734: build_alias=$ac_optarg ;;
735:
736: -cache-file | --cache-file | --cache-fil | --cache-fi \
737: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
738: ac_prev=cache_file ;;
739: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
740: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
741: cache_file=$ac_optarg ;;
742:
743: --config-cache | -C)
744: cache_file=config.cache ;;
745:
1.3 ohara 746: -datadir | --datadir | --datadi | --datad)
1.1 takayama 747: ac_prev=datadir ;;
1.3 ohara 748: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1 takayama 749: datadir=$ac_optarg ;;
750:
1.3 ohara 751: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
752: | --dataroo | --dataro | --datar)
753: ac_prev=datarootdir ;;
754: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
755: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
756: datarootdir=$ac_optarg ;;
757:
1.1 takayama 758: -disable-* | --disable-*)
1.3 ohara 759: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 takayama 760: # Reject names that are not valid shell variable names.
1.3 ohara 761: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
762: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 763: { (exit 1); exit 1; }; }
1.3 ohara 764: ac_useropt_orig=$ac_useropt
765: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766: case $ac_user_opts in
767: *"
768: "enable_$ac_useropt"
769: "*) ;;
770: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
771: ac_unrecognized_sep=', ';;
772: esac
773: eval enable_$ac_useropt=no ;;
774:
775: -docdir | --docdir | --docdi | --doc | --do)
776: ac_prev=docdir ;;
777: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
778: docdir=$ac_optarg ;;
779:
780: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
781: ac_prev=dvidir ;;
782: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
783: dvidir=$ac_optarg ;;
1.1 takayama 784:
785: -enable-* | --enable-*)
1.3 ohara 786: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 takayama 787: # Reject names that are not valid shell variable names.
1.3 ohara 788: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1.1 takayama 790: { (exit 1); exit 1; }; }
1.3 ohara 791: ac_useropt_orig=$ac_useropt
792: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793: case $ac_user_opts in
794: *"
795: "enable_$ac_useropt"
796: "*) ;;
797: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
798: ac_unrecognized_sep=', ';;
1.1 takayama 799: esac
1.3 ohara 800: eval enable_$ac_useropt=\$ac_optarg ;;
1.1 takayama 801:
802: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
803: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
804: | --exec | --exe | --ex)
805: ac_prev=exec_prefix ;;
806: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
807: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
808: | --exec=* | --exe=* | --ex=*)
809: exec_prefix=$ac_optarg ;;
810:
811: -gas | --gas | --ga | --g)
812: # Obsolete; use --with-gas.
813: with_gas=yes ;;
814:
815: -help | --help | --hel | --he | -h)
816: ac_init_help=long ;;
817: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
818: ac_init_help=recursive ;;
819: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
820: ac_init_help=short ;;
821:
822: -host | --host | --hos | --ho)
823: ac_prev=host_alias ;;
824: -host=* | --host=* | --hos=* | --ho=*)
825: host_alias=$ac_optarg ;;
826:
1.3 ohara 827: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
828: ac_prev=htmldir ;;
829: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
830: | --ht=*)
831: htmldir=$ac_optarg ;;
832:
1.1 takayama 833: -includedir | --includedir | --includedi | --included | --include \
834: | --includ | --inclu | --incl | --inc)
835: ac_prev=includedir ;;
836: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
837: | --includ=* | --inclu=* | --incl=* | --inc=*)
838: includedir=$ac_optarg ;;
839:
840: -infodir | --infodir | --infodi | --infod | --info | --inf)
841: ac_prev=infodir ;;
842: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
843: infodir=$ac_optarg ;;
844:
845: -libdir | --libdir | --libdi | --libd)
846: ac_prev=libdir ;;
847: -libdir=* | --libdir=* | --libdi=* | --libd=*)
848: libdir=$ac_optarg ;;
849:
850: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
851: | --libexe | --libex | --libe)
852: ac_prev=libexecdir ;;
853: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
854: | --libexe=* | --libex=* | --libe=*)
855: libexecdir=$ac_optarg ;;
856:
1.3 ohara 857: -localedir | --localedir | --localedi | --localed | --locale)
858: ac_prev=localedir ;;
859: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
860: localedir=$ac_optarg ;;
861:
1.1 takayama 862: -localstatedir | --localstatedir | --localstatedi | --localstated \
1.3 ohara 863: | --localstate | --localstat | --localsta | --localst | --locals)
1.1 takayama 864: ac_prev=localstatedir ;;
865: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.3 ohara 866: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1 takayama 867: localstatedir=$ac_optarg ;;
868:
869: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
870: ac_prev=mandir ;;
871: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872: mandir=$ac_optarg ;;
873:
874: -nfp | --nfp | --nf)
875: # Obsolete; use --without-fp.
876: with_fp=no ;;
877:
878: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
879: | --no-cr | --no-c | -n)
880: no_create=yes ;;
881:
882: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
883: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
884: no_recursion=yes ;;
885:
886: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
887: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
888: | --oldin | --oldi | --old | --ol | --o)
889: ac_prev=oldincludedir ;;
890: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
891: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
892: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
893: oldincludedir=$ac_optarg ;;
894:
895: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
896: ac_prev=prefix ;;
897: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
898: prefix=$ac_optarg ;;
899:
900: -program-prefix | --program-prefix | --program-prefi | --program-pref \
901: | --program-pre | --program-pr | --program-p)
902: ac_prev=program_prefix ;;
903: -program-prefix=* | --program-prefix=* | --program-prefi=* \
904: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
905: program_prefix=$ac_optarg ;;
906:
907: -program-suffix | --program-suffix | --program-suffi | --program-suff \
908: | --program-suf | --program-su | --program-s)
909: ac_prev=program_suffix ;;
910: -program-suffix=* | --program-suffix=* | --program-suffi=* \
911: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
912: program_suffix=$ac_optarg ;;
913:
914: -program-transform-name | --program-transform-name \
915: | --program-transform-nam | --program-transform-na \
916: | --program-transform-n | --program-transform- \
917: | --program-transform | --program-transfor \
918: | --program-transfo | --program-transf \
919: | --program-trans | --program-tran \
920: | --progr-tra | --program-tr | --program-t)
921: ac_prev=program_transform_name ;;
922: -program-transform-name=* | --program-transform-name=* \
923: | --program-transform-nam=* | --program-transform-na=* \
924: | --program-transform-n=* | --program-transform-=* \
925: | --program-transform=* | --program-transfor=* \
926: | --program-transfo=* | --program-transf=* \
927: | --program-trans=* | --program-tran=* \
928: | --progr-tra=* | --program-tr=* | --program-t=*)
929: program_transform_name=$ac_optarg ;;
930:
1.3 ohara 931: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
932: ac_prev=pdfdir ;;
933: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
934: pdfdir=$ac_optarg ;;
935:
936: -psdir | --psdir | --psdi | --psd | --ps)
937: ac_prev=psdir ;;
938: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
939: psdir=$ac_optarg ;;
940:
1.1 takayama 941: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
942: | -silent | --silent | --silen | --sile | --sil)
943: silent=yes ;;
944:
945: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
946: ac_prev=sbindir ;;
947: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
948: | --sbi=* | --sb=*)
949: sbindir=$ac_optarg ;;
950:
951: -sharedstatedir | --sharedstatedir | --sharedstatedi \
952: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
953: | --sharedst | --shareds | --shared | --share | --shar \
954: | --sha | --sh)
955: ac_prev=sharedstatedir ;;
956: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
957: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
958: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
959: | --sha=* | --sh=*)
960: sharedstatedir=$ac_optarg ;;
961:
962: -site | --site | --sit)
963: ac_prev=site ;;
964: -site=* | --site=* | --sit=*)
965: site=$ac_optarg ;;
966:
967: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
968: ac_prev=srcdir ;;
969: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
970: srcdir=$ac_optarg ;;
971:
972: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
973: | --syscon | --sysco | --sysc | --sys | --sy)
974: ac_prev=sysconfdir ;;
975: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
976: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
977: sysconfdir=$ac_optarg ;;
978:
979: -target | --target | --targe | --targ | --tar | --ta | --t)
980: ac_prev=target_alias ;;
981: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
982: target_alias=$ac_optarg ;;
983:
984: -v | -verbose | --verbose | --verbos | --verbo | --verb)
985: verbose=yes ;;
986:
987: -version | --version | --versio | --versi | --vers | -V)
988: ac_init_version=: ;;
989:
990: -with-* | --with-*)
1.3 ohara 991: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 takayama 992: # Reject names that are not valid shell variable names.
1.3 ohara 993: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 995: { (exit 1); exit 1; }; }
1.3 ohara 996: ac_useropt_orig=$ac_useropt
997: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998: case $ac_user_opts in
999: *"
1000: "with_$ac_useropt"
1001: "*) ;;
1002: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1003: ac_unrecognized_sep=', ';;
1.1 takayama 1004: esac
1.3 ohara 1005: eval with_$ac_useropt=\$ac_optarg ;;
1.1 takayama 1006:
1007: -without-* | --without-*)
1.3 ohara 1008: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 takayama 1009: # Reject names that are not valid shell variable names.
1.3 ohara 1010: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1.1 takayama 1012: { (exit 1); exit 1; }; }
1.3 ohara 1013: ac_useropt_orig=$ac_useropt
1014: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015: case $ac_user_opts in
1016: *"
1017: "with_$ac_useropt"
1018: "*) ;;
1019: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1020: ac_unrecognized_sep=', ';;
1021: esac
1022: eval with_$ac_useropt=no ;;
1.1 takayama 1023:
1024: --x)
1025: # Obsolete; use --with-x.
1026: with_x=yes ;;
1027:
1028: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029: | --x-incl | --x-inc | --x-in | --x-i)
1030: ac_prev=x_includes ;;
1031: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033: x_includes=$ac_optarg ;;
1034:
1035: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037: ac_prev=x_libraries ;;
1038: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040: x_libraries=$ac_optarg ;;
1041:
1.3 ohara 1042: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1.1 takayama 1043: Try \`$0 --help' for more information." >&2
1044: { (exit 1); exit 1; }; }
1045: ;;
1046:
1047: *=*)
1048: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1049: # Reject names that are not valid shell variable names.
1050: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.3 ohara 1051: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.1 takayama 1052: { (exit 1); exit 1; }; }
1.3 ohara 1053: eval $ac_envvar=\$ac_optarg
1.1 takayama 1054: export $ac_envvar ;;
1055:
1056: *)
1057: # FIXME: should be removed in autoconf 3.0.
1.3 ohara 1058: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1 takayama 1059: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.3 ohara 1060: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1 takayama 1061: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1062: ;;
1063:
1064: esac
1065: done
1066:
1067: if test -n "$ac_prev"; then
1068: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.3 ohara 1069: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1.1 takayama 1070: { (exit 1); exit 1; }; }
1071: fi
1072:
1.3 ohara 1073: if test -n "$ac_unrecognized_opts"; then
1074: case $enable_option_checking in
1075: no) ;;
1076: fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1077: { (exit 1); exit 1; }; } ;;
1078: *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1079: esac
1080: fi
1081:
1082: # Check all directory arguments for consistency.
1083: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084: datadir sysconfdir sharedstatedir localstatedir includedir \
1085: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086: libdir localedir mandir
1.1 takayama 1087: do
1.3 ohara 1088: eval ac_val=\$$ac_var
1089: # Remove trailing slashes.
1.1 takayama 1090: case $ac_val in
1.3 ohara 1091: */ )
1092: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093: eval $ac_var=\$ac_val;;
1.1 takayama 1094: esac
1.3 ohara 1095: # Be sure to have absolute directory names.
1.1 takayama 1096: case $ac_val in
1.3 ohara 1097: [\\/$]* | ?:[\\/]* ) continue;;
1098: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1 takayama 1099: esac
1.3 ohara 1100: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1101: { (exit 1); exit 1; }; }
1.1 takayama 1102: done
1103:
1104: # There might be people who depend on the old broken behavior: `$host'
1105: # used to hold the argument of --host etc.
1106: # FIXME: To remove some day.
1107: build=$build_alias
1108: host=$host_alias
1109: target=$target_alias
1110:
1111: # FIXME: To remove some day.
1112: if test "x$host_alias" != x; then
1113: if test "x$build_alias" = x; then
1114: cross_compiling=maybe
1.3 ohara 1115: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1 takayama 1116: If a cross compiler is detected then cross compile mode will be used." >&2
1117: elif test "x$build_alias" != "x$host_alias"; then
1118: cross_compiling=yes
1119: fi
1120: fi
1121:
1122: ac_tool_prefix=
1123: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1124:
1125: test "$silent" = yes && exec 6>/dev/null
1126:
1127:
1.3 ohara 1128: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1129: ac_ls_di=`ls -di .` &&
1130: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1131: { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1132: { (exit 1); exit 1; }; }
1133: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1135: { (exit 1); exit 1; }; }
1136:
1137:
1.1 takayama 1138: # Find the source files, if location was not specified.
1139: if test -z "$srcdir"; then
1140: ac_srcdir_defaulted=yes
1.3 ohara 1141: # Try the directory containing this script, then the parent directory.
1142: ac_confdir=`$as_dirname -- "$as_myself" ||
1143: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1144: X"$as_myself" : 'X\(//\)[^/]' \| \
1145: X"$as_myself" : 'X\(//\)$' \| \
1146: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1147: $as_echo X"$as_myself" |
1148: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1149: s//\1/
1150: q
1151: }
1152: /^X\(\/\/\)[^/].*/{
1153: s//\1/
1154: q
1155: }
1156: /^X\(\/\/\)$/{
1157: s//\1/
1158: q
1159: }
1160: /^X\(\/\).*/{
1161: s//\1/
1162: q
1163: }
1164: s/.*/./; q'`
1.1 takayama 1165: srcdir=$ac_confdir
1.3 ohara 1166: if test ! -r "$srcdir/$ac_unique_file"; then
1.1 takayama 1167: srcdir=..
1168: fi
1169: else
1170: ac_srcdir_defaulted=no
1171: fi
1.3 ohara 1172: if test ! -r "$srcdir/$ac_unique_file"; then
1173: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1174: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1175: { (exit 1); exit 1; }; }
1176: fi
1177: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1178: ac_abs_confdir=`(
1179: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1180: { (exit 1); exit 1; }; }
1181: pwd)`
1182: # When building in place, set srcdir=.
1183: if test "$ac_abs_confdir" = "$ac_pwd"; then
1184: srcdir=.
1185: fi
1186: # Remove unnecessary trailing slashes from srcdir.
1187: # Double slashes in file names in object file debugging info
1188: # mess up M-x gdb in Emacs.
1189: case $srcdir in
1190: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1191: esac
1192: for ac_var in $ac_precious_vars; do
1193: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1194: eval ac_env_${ac_var}_value=\$${ac_var}
1195: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1196: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1197: done
1.1 takayama 1198:
1199: #
1200: # Report the --help message.
1201: #
1202: if test "$ac_init_help" = "long"; then
1203: # Omit some internal or obsolete options to make the list less imposing.
1204: # This message is too long to be a string in the A/UX 3.1 sh.
1205: cat <<_ACEOF
1206: \`configure' configures this package to adapt to many kinds of systems.
1207:
1208: Usage: $0 [OPTION]... [VAR=VALUE]...
1209:
1210: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1211: VAR=VALUE. See below for descriptions of some of the useful variables.
1212:
1213: Defaults for the options are specified in brackets.
1214:
1215: Configuration:
1216: -h, --help display this help and exit
1217: --help=short display options specific to this package
1218: --help=recursive display the short help of all the included packages
1219: -V, --version display version information and exit
1220: -q, --quiet, --silent do not print \`checking...' messages
1221: --cache-file=FILE cache test results in FILE [disabled]
1222: -C, --config-cache alias for \`--cache-file=config.cache'
1223: -n, --no-create do not create output files
1224: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1225:
1226: Installation directories:
1227: --prefix=PREFIX install architecture-independent files in PREFIX
1228: [$ac_default_prefix]
1229: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1230: [PREFIX]
1231:
1232: By default, \`make install' will install all the files in
1233: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1234: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1235: for instance \`--prefix=\$HOME'.
1236:
1237: For better control, use the options below.
1238:
1239: Fine tuning of the installation directories:
1.3 ohara 1240: --bindir=DIR user executables [EPREFIX/bin]
1241: --sbindir=DIR system admin executables [EPREFIX/sbin]
1242: --libexecdir=DIR program executables [EPREFIX/libexec]
1243: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1244: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1245: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1246: --libdir=DIR object code libraries [EPREFIX/lib]
1247: --includedir=DIR C header files [PREFIX/include]
1248: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1249: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1250: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1251: --infodir=DIR info documentation [DATAROOTDIR/info]
1252: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1253: --mandir=DIR man documentation [DATAROOTDIR/man]
1254: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1255: --htmldir=DIR html documentation [DOCDIR]
1256: --dvidir=DIR dvi documentation [DOCDIR]
1257: --pdfdir=DIR pdf documentation [DOCDIR]
1258: --psdir=DIR ps documentation [DOCDIR]
1.1 takayama 1259: _ACEOF
1260:
1261: cat <<\_ACEOF
1262: _ACEOF
1263: fi
1264:
1265: if test -n "$ac_init_help"; then
1266:
1267: cat <<\_ACEOF
1268:
1269: _ACEOF
1.3 ohara 1270: ac_status=$?
1.1 takayama 1271: fi
1272:
1273: if test "$ac_init_help" = "recursive"; then
1274: # If there are subdirs, report their specific --help.
1275: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.3 ohara 1276: test -d "$ac_dir" ||
1277: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1278: continue
1.1 takayama 1279: ac_builddir=.
1280:
1.3 ohara 1281: case "$ac_dir" in
1282: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283: *)
1284: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1285: # A ".." for each directory in $ac_dir_suffix.
1286: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1287: case $ac_top_builddir_sub in
1288: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290: esac ;;
1291: esac
1292: ac_abs_top_builddir=$ac_pwd
1293: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1294: # for backward compatibility:
1295: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 1296:
1297: case $srcdir in
1.3 ohara 1298: .) # We are building in place.
1.1 takayama 1299: ac_srcdir=.
1.3 ohara 1300: ac_top_srcdir=$ac_top_builddir_sub
1301: ac_abs_top_srcdir=$ac_pwd ;;
1302: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 1303: ac_srcdir=$srcdir$ac_dir_suffix;
1.3 ohara 1304: ac_top_srcdir=$srcdir
1305: ac_abs_top_srcdir=$srcdir ;;
1306: *) # Relative name.
1307: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1308: ac_top_srcdir=$ac_top_build_prefix$srcdir
1309: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 1310: esac
1.3 ohara 1311: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1312:
1313: cd "$ac_dir" || { ac_status=$?; continue; }
1314: # Check for guested configure.
1315: if test -f "$ac_srcdir/configure.gnu"; then
1316: echo &&
1317: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1318: elif test -f "$ac_srcdir/configure"; then
1319: echo &&
1320: $SHELL "$ac_srcdir/configure" --help=recursive
1.1 takayama 1321: else
1.3 ohara 1322: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1323: fi || ac_status=$?
1324: cd "$ac_pwd" || { ac_status=$?; break; }
1.1 takayama 1325: done
1326: fi
1327:
1.3 ohara 1328: test -n "$ac_init_help" && exit $ac_status
1.1 takayama 1329: if $ac_init_version; then
1330: cat <<\_ACEOF
1.3 ohara 1331: configure
1332: generated by GNU Autoconf 2.62
1.1 takayama 1333:
1.3 ohara 1334: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1335: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 takayama 1336: This configure script is free software; the Free Software Foundation
1337: gives unlimited permission to copy, distribute and modify it.
1338: _ACEOF
1.3 ohara 1339: exit
1.1 takayama 1340: fi
1.3 ohara 1341: cat >config.log <<_ACEOF
1.1 takayama 1342: This file contains any messages produced by compilers while
1343: running configure, to aid debugging if configure makes a mistake.
1344:
1345: It was created by $as_me, which was
1.3 ohara 1346: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 1347:
1348: $ $0 $@
1349:
1350: _ACEOF
1.3 ohara 1351: exec 5>>config.log
1.1 takayama 1352: {
1353: cat <<_ASUNAME
1354: ## --------- ##
1355: ## Platform. ##
1356: ## --------- ##
1357:
1358: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1359: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1360: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1361: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1362: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1363:
1364: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1365: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1366:
1367: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1368: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1369: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.3 ohara 1370: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1 takayama 1371: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1372: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1373: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1374:
1375: _ASUNAME
1376:
1377: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378: for as_dir in $PATH
1379: do
1380: IFS=$as_save_IFS
1381: test -z "$as_dir" && as_dir=.
1.3 ohara 1382: $as_echo "PATH: $as_dir"
1.1 takayama 1383: done
1.3 ohara 1384: IFS=$as_save_IFS
1.1 takayama 1385:
1386: } >&5
1387:
1388: cat >&5 <<_ACEOF
1389:
1390:
1391: ## ----------- ##
1392: ## Core tests. ##
1393: ## ----------- ##
1394:
1395: _ACEOF
1396:
1397:
1398: # Keep a trace of the command line.
1399: # Strip out --no-create and --no-recursion so they do not pile up.
1.3 ohara 1400: # Strip out --silent because we don't want to record it for future runs.
1.1 takayama 1401: # Also quote any args containing shell meta-characters.
1.3 ohara 1402: # Make two passes to allow for proper duplicate-argument suppression.
1.1 takayama 1403: ac_configure_args=
1.3 ohara 1404: ac_configure_args0=
1405: ac_configure_args1=
1406: ac_must_keep_next=false
1407: for ac_pass in 1 2
1.1 takayama 1408: do
1.3 ohara 1409: for ac_arg
1410: do
1411: case $ac_arg in
1412: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1413: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1414: | -silent | --silent | --silen | --sile | --sil)
1415: continue ;;
1416: *\'*)
1417: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418: esac
1419: case $ac_pass in
1420: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1421: 2)
1422: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1423: if test $ac_must_keep_next = true; then
1424: ac_must_keep_next=false # Got value, back to normal.
1425: else
1426: case $ac_arg in
1427: *=* | --config-cache | -C | -disable-* | --disable-* \
1428: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1429: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1430: | -with-* | --with-* | -without-* | --without-* | --x)
1431: case "$ac_configure_args0 " in
1432: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433: esac
1434: ;;
1435: -* ) ac_must_keep_next=true ;;
1436: esac
1437: fi
1438: ac_configure_args="$ac_configure_args '$ac_arg'"
1439: ;;
1440: esac
1441: done
1.1 takayama 1442: done
1.3 ohara 1443: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1444: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1 takayama 1445:
1446: # When interrupted or exit'd, cleanup temporary files, and complete
1447: # config.log. We remove comments because anyway the quotes in there
1448: # would cause problems or look ugly.
1.3 ohara 1449: # WARNING: Use '\'' to represent an apostrophe within the trap.
1450: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1 takayama 1451: trap 'exit_status=$?
1452: # Save into config.log some information that might help in debugging.
1453: {
1454: echo
1.3 ohara 1455:
1.1 takayama 1456: cat <<\_ASBOX
1457: ## ---------------- ##
1458: ## Cache variables. ##
1459: ## ---------------- ##
1460: _ASBOX
1461: echo
1462: # The following way of writing the cache mishandles newlines in values,
1.3 ohara 1463: (
1464: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1465: eval ac_val=\$$ac_var
1466: case $ac_val in #(
1467: *${as_nl}*)
1468: case $ac_var in #(
1469: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1470: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1471: esac
1472: case $ac_var in #(
1473: _ | IFS | as_nl) ;; #(
1474: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1475: *) $as_unset $ac_var ;;
1476: esac ;;
1477: esac
1478: done
1.1 takayama 1479: (set) 2>&1 |
1.3 ohara 1480: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1481: *${as_nl}ac_space=\ *)
1.1 takayama 1482: sed -n \
1.3 ohara 1483: "s/'\''/'\''\\\\'\'''\''/g;
1484: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1485: ;; #(
1.1 takayama 1486: *)
1.3 ohara 1487: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 1488: ;;
1.3 ohara 1489: esac |
1490: sort
1491: )
1492: echo
1493:
1494: cat <<\_ASBOX
1495: ## ----------------- ##
1496: ## Output variables. ##
1497: ## ----------------- ##
1498: _ASBOX
1499: echo
1500: for ac_var in $ac_subst_vars
1501: do
1502: eval ac_val=\$$ac_var
1503: case $ac_val in
1504: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1505: esac
1506: $as_echo "$ac_var='\''$ac_val'\''"
1507: done | sort
1.1 takayama 1508: echo
1.3 ohara 1509:
1510: if test -n "$ac_subst_files"; then
1511: cat <<\_ASBOX
1512: ## ------------------- ##
1513: ## File substitutions. ##
1514: ## ------------------- ##
1515: _ASBOX
1516: echo
1517: for ac_var in $ac_subst_files
1518: do
1519: eval ac_val=\$$ac_var
1520: case $ac_val in
1521: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1522: esac
1523: $as_echo "$ac_var='\''$ac_val'\''"
1524: done | sort
1525: echo
1526: fi
1527:
1.1 takayama 1528: if test -s confdefs.h; then
1529: cat <<\_ASBOX
1530: ## ----------- ##
1531: ## confdefs.h. ##
1532: ## ----------- ##
1533: _ASBOX
1534: echo
1.3 ohara 1535: cat confdefs.h
1.1 takayama 1536: echo
1537: fi
1538: test "$ac_signal" != 0 &&
1.3 ohara 1539: $as_echo "$as_me: caught signal $ac_signal"
1540: $as_echo "$as_me: exit $exit_status"
1.1 takayama 1541: } >&5
1.3 ohara 1542: rm -f core *.core core.conftest.* &&
1543: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1 takayama 1544: exit $exit_status
1.3 ohara 1545: ' 0
1.1 takayama 1546: for ac_signal in 1 2 13 15; do
1547: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1548: done
1549: ac_signal=0
1550:
1551: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.3 ohara 1552: rm -f -r conftest* confdefs.h
1.1 takayama 1553:
1554: # Predefined preprocessor variables.
1555:
1556: cat >>confdefs.h <<_ACEOF
1557: #define PACKAGE_NAME "$PACKAGE_NAME"
1558: _ACEOF
1559:
1560:
1561: cat >>confdefs.h <<_ACEOF
1562: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1563: _ACEOF
1564:
1565:
1566: cat >>confdefs.h <<_ACEOF
1567: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1568: _ACEOF
1569:
1570:
1571: cat >>confdefs.h <<_ACEOF
1572: #define PACKAGE_STRING "$PACKAGE_STRING"
1573: _ACEOF
1574:
1575:
1576: cat >>confdefs.h <<_ACEOF
1577: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1578: _ACEOF
1579:
1580:
1581: # Let the site file select an alternate cache file if it wants to.
1.3 ohara 1582: # Prefer an explicitly selected file to automatically selected ones.
1583: ac_site_file1=NONE
1584: ac_site_file2=NONE
1585: if test -n "$CONFIG_SITE"; then
1586: ac_site_file1=$CONFIG_SITE
1587: elif test "x$prefix" != xNONE; then
1588: ac_site_file1=$prefix/share/config.site
1589: ac_site_file2=$prefix/etc/config.site
1590: else
1591: ac_site_file1=$ac_default_prefix/share/config.site
1592: ac_site_file2=$ac_default_prefix/etc/config.site
1.1 takayama 1593: fi
1.3 ohara 1594: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1595: do
1596: test "x$ac_site_file" = xNONE && continue
1.1 takayama 1597: if test -r "$ac_site_file"; then
1.3 ohara 1598: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1599: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1 takayama 1600: sed 's/^/| /' "$ac_site_file" >&5
1601: . "$ac_site_file"
1602: fi
1603: done
1604:
1605: if test -r "$cache_file"; then
1606: # Some versions of bash will fail to source /dev/null (special
1607: # files actually), so we avoid doing that.
1608: if test -f "$cache_file"; then
1.3 ohara 1609: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1610: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1 takayama 1611: case $cache_file in
1.3 ohara 1612: [\\/]* | ?:[\\/]* ) . "$cache_file";;
1613: *) . "./$cache_file";;
1.1 takayama 1614: esac
1615: fi
1616: else
1.3 ohara 1617: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1618: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1 takayama 1619: >$cache_file
1620: fi
1621:
1622: # Check that the precious variables saved in the cache have kept the same
1623: # value.
1624: ac_cache_corrupted=false
1.3 ohara 1625: for ac_var in $ac_precious_vars; do
1.1 takayama 1626: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1627: eval ac_new_set=\$ac_env_${ac_var}_set
1.3 ohara 1628: eval ac_old_val=\$ac_cv_env_${ac_var}_value
1629: eval ac_new_val=\$ac_env_${ac_var}_value
1.1 takayama 1630: case $ac_old_set,$ac_new_set in
1631: set,)
1.3 ohara 1632: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1633: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1 takayama 1634: ac_cache_corrupted=: ;;
1635: ,set)
1.3 ohara 1636: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1637: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1 takayama 1638: ac_cache_corrupted=: ;;
1639: ,);;
1640: *)
1641: if test "x$ac_old_val" != "x$ac_new_val"; then
1.3 ohara 1642: # differences in whitespace do not lead to failure.
1643: ac_old_val_w=`echo x $ac_old_val`
1644: ac_new_val_w=`echo x $ac_new_val`
1645: if test "$ac_old_val_w" != "$ac_new_val_w"; then
1646: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1647: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1648: ac_cache_corrupted=:
1649: else
1650: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1651: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1652: eval $ac_var=\$ac_old_val
1653: fi
1654: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1655: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1656: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1657: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1.1 takayama 1658: fi;;
1659: esac
1660: # Pass precious variables to config.status.
1661: if test "$ac_new_set" = set; then
1662: case $ac_new_val in
1.3 ohara 1663: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1 takayama 1664: *) ac_arg=$ac_var=$ac_new_val ;;
1665: esac
1666: case " $ac_configure_args " in
1667: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1668: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1669: esac
1670: fi
1671: done
1672: if $ac_cache_corrupted; then
1.3 ohara 1673: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1674: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1675: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1676: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1 takayama 1677: { (exit 1); exit 1; }; }
1678: fi
1679:
1680:
1681:
1682:
1683:
1684:
1685:
1686:
1687:
1688:
1689:
1690:
1691:
1692:
1693:
1694:
1695:
1696: ac_ext=c
1697: ac_cpp='$CPP $CPPFLAGS'
1698: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1699: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1700: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1701:
1.3 ohara 1702:
1703:
1704: ac_aux_dir=
1705: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1706: if test -f "$ac_dir/install-sh"; then
1707: ac_aux_dir=$ac_dir
1708: ac_install_sh="$ac_aux_dir/install-sh -c"
1709: break
1710: elif test -f "$ac_dir/install.sh"; then
1711: ac_aux_dir=$ac_dir
1712: ac_install_sh="$ac_aux_dir/install.sh -c"
1713: break
1714: elif test -f "$ac_dir/shtool"; then
1715: ac_aux_dir=$ac_dir
1716: ac_install_sh="$ac_aux_dir/shtool install -c"
1717: break
1718: fi
1719: done
1720: if test -z "$ac_aux_dir"; then
1721: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1722: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1723: { (exit 1); exit 1; }; }
1.1 takayama 1724: fi
1725:
1.3 ohara 1726: # These three variables are undocumented and unsupported,
1727: # and are intended to be withdrawn in a future Autoconf release.
1728: # They can cause serious problems if a builder's source tree is in a directory
1729: # whose full name contains unusual characters.
1730: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1731: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1732: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1733:
1734:
1735: # Find a good install program. We prefer a C program (faster),
1736: # so one script is as good as another. But avoid the broken or
1737: # incompatible versions:
1738: # SysV /etc/install, /usr/sbin/install
1739: # SunOS /usr/etc/install
1740: # IRIX /sbin/install
1741: # AIX /bin/install
1742: # AmigaOS /C/install, which installs bootblocks on floppy discs
1743: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1744: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1745: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1746: # OS/2's system install, which has a completely different semantic
1747: # ./install, which can be erroneously created by make from ./install.sh.
1748: # Reject install programs that cannot install multiple files.
1749: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1750: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1751: if test -z "$INSTALL"; then
1752: if test "${ac_cv_path_install+set}" = set; then
1753: $as_echo_n "(cached) " >&6
1.1 takayama 1754: else
1.3 ohara 1755: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1756: for as_dir in $PATH
1757: do
1758: IFS=$as_save_IFS
1759: test -z "$as_dir" && as_dir=.
1.3 ohara 1760: # Account for people who put trailing slashes in PATH elements.
1761: case $as_dir/ in
1762: ./ | .// | /cC/* | \
1763: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1764: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1765: /usr/ucb/* ) ;;
1766: *)
1767: # OSF1 and SCO ODT 3.0 have their own names for install.
1768: # Don't use installbsd from OSF since it installs stuff as root
1769: # by default.
1770: for ac_prog in ginstall scoinst install; do
1771: for ac_exec_ext in '' $ac_executable_extensions; do
1772: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1773: if test $ac_prog = install &&
1774: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1775: # AIX install. It has an incompatible calling convention.
1776: :
1777: elif test $ac_prog = install &&
1778: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1779: # program-specific install script used by HP pwplus--don't use.
1780: :
1781: else
1782: rm -rf conftest.one conftest.two conftest.dir
1783: echo one > conftest.one
1784: echo two > conftest.two
1785: mkdir conftest.dir
1786: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1787: test -s conftest.one && test -s conftest.two &&
1788: test -s conftest.dir/conftest.one &&
1789: test -s conftest.dir/conftest.two
1790: then
1791: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1792: break 3
1793: fi
1794: fi
1795: fi
1796: done
1797: done
1798: ;;
1799: esac
1800:
1.1 takayama 1801: done
1.3 ohara 1802: IFS=$as_save_IFS
1.1 takayama 1803:
1.3 ohara 1804: rm -rf conftest.one conftest.two conftest.dir
1.1 takayama 1805:
1806: fi
1.3 ohara 1807: if test "${ac_cv_path_install+set}" = set; then
1808: INSTALL=$ac_cv_path_install
1809: else
1810: # As a last resort, use the slow shell script. Don't cache a
1811: # value for INSTALL within a source directory, because that will
1812: # break other packages using the cache if that directory is
1813: # removed, or if the value is a relative name.
1814: INSTALL=$ac_install_sh
1.1 takayama 1815: fi
1.3 ohara 1816: fi
1817: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1818: $as_echo "$INSTALL" >&6; }
1.1 takayama 1819:
1.3 ohara 1820: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1821: # It thinks the first close brace ends the variable substitution.
1822: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1 takayama 1823:
1.3 ohara 1824: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 takayama 1825:
1.3 ohara 1826: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1 takayama 1827:
1828:
1.3 ohara 1829: for ac_prog in jmakeinfo makeinfo
1830: do
1831: # Extract the first word of "$ac_prog", so it can be a program name with args.
1832: set dummy $ac_prog; ac_word=$2
1833: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1834: $as_echo_n "checking for $ac_word... " >&6; }
1835: if test "${ac_cv_path_MAKEINFO+set}" = set; then
1836: $as_echo_n "(cached) " >&6
1837: else
1838: case $MAKEINFO in
1839: [\\/]* | ?:[\\/]*)
1840: ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
1841: ;;
1842: *)
1843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1844: for as_dir in $PATH
1845: do
1846: IFS=$as_save_IFS
1847: test -z "$as_dir" && as_dir=.
1848: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1849: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1850: ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
1851: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1852: break 2
1853: fi
1854: done
1855: done
1.3 ohara 1856: IFS=$as_save_IFS
1.1 takayama 1857:
1.3 ohara 1858: ;;
1859: esac
1.1 takayama 1860: fi
1.3 ohara 1861: MAKEINFO=$ac_cv_path_MAKEINFO
1862: if test -n "$MAKEINFO"; then
1863: { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
1864: $as_echo "$MAKEINFO" >&6; }
1.1 takayama 1865: else
1.3 ohara 1866: { $as_echo "$as_me:$LINENO: result: no" >&5
1867: $as_echo "no" >&6; }
1.1 takayama 1868: fi
1869:
1.3 ohara 1870:
1871: test -n "$MAKEINFO" && break
1.1 takayama 1872: done
1873:
1874:
1.3 ohara 1875: for ac_prog in dvipdfmx dvipdfm divpdf
1.1 takayama 1876: do
1877: # Extract the first word of "$ac_prog", so it can be a program name with args.
1878: set dummy $ac_prog; ac_word=$2
1.3 ohara 1879: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1880: $as_echo_n "checking for $ac_word... " >&6; }
1881: if test "${ac_cv_path_DVIPDF+set}" = set; then
1882: $as_echo_n "(cached) " >&6
1883: else
1884: case $DVIPDF in
1885: [\\/]* | ?:[\\/]*)
1886: ac_cv_path_DVIPDF="$DVIPDF" # Let the user override the test with a path.
1887: ;;
1888: *)
1889: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1890: for as_dir in $PATH
1891: do
1892: IFS=$as_save_IFS
1893: test -z "$as_dir" && as_dir=.
1894: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1895: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896: ac_cv_path_DVIPDF="$as_dir/$ac_word$ac_exec_ext"
1897: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1898: break 2
1899: fi
1900: done
1901: done
1.3 ohara 1902: IFS=$as_save_IFS
1.1 takayama 1903:
1.3 ohara 1904: ;;
1905: esac
1.1 takayama 1906: fi
1.3 ohara 1907: DVIPDF=$ac_cv_path_DVIPDF
1908: if test -n "$DVIPDF"; then
1909: { $as_echo "$as_me:$LINENO: result: $DVIPDF" >&5
1910: $as_echo "$DVIPDF" >&6; }
1.1 takayama 1911: else
1.3 ohara 1912: { $as_echo "$as_me:$LINENO: result: no" >&5
1913: $as_echo "no" >&6; }
1.1 takayama 1914: fi
1915:
1916:
1.3 ohara 1917: test -n "$DVIPDF" && break
1.1 takayama 1918: done
1919:
1920:
1.3 ohara 1921: # Extract the first word of "ptex", so it can be a program name with args.
1922: set dummy ptex; ac_word=$2
1923: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1924: $as_echo_n "checking for $ac_word... " >&6; }
1925: if test "${ac_cv_path_PTEX+set}" = set; then
1926: $as_echo_n "(cached) " >&6
1.1 takayama 1927: else
1.3 ohara 1928: case $PTEX in
1929: [\\/]* | ?:[\\/]*)
1930: ac_cv_path_PTEX="$PTEX" # Let the user override the test with a path.
1931: ;;
1932: *)
1933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 1934: for as_dir in $PATH
1935: do
1936: IFS=$as_save_IFS
1937: test -z "$as_dir" && as_dir=.
1938: for ac_exec_ext in '' $ac_executable_extensions; do
1.3 ohara 1939: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1940: ac_cv_path_PTEX="$as_dir/$ac_word$ac_exec_ext"
1941: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 takayama 1942: break 2
1943: fi
1944: done
1945: done
1.3 ohara 1946: IFS=$as_save_IFS
1.1 takayama 1947:
1.3 ohara 1948: ;;
1949: esac
1.1 takayama 1950: fi
1.3 ohara 1951: PTEX=$ac_cv_path_PTEX
1952: if test -n "$PTEX"; then
1953: { $as_echo "$as_me:$LINENO: result: $PTEX" >&5
1954: $as_echo "$PTEX" >&6; }
1955: else
1956: { $as_echo "$as_me:$LINENO: result: no" >&5
1957: $as_echo "no" >&6; }
1.1 takayama 1958: fi
1959:
1960:
1.6 ! ohara 1961: if ${PTEX} -kanji=euc -version; then
! 1962: PTEX="${PTEX} -kanji=euc"
1.4 ohara 1963: fi
1964:
1.1 takayama 1965:
1.3 ohara 1966: OpenXM_ROOT=`cd ../../../..; pwd`
1967:
1968:
1969: ac_config_files="$ac_config_files Makefile M/Makefile"
1.1 takayama 1970:
1971: cat >confcache <<\_ACEOF
1972: # This file is a shell script that caches the results of configure
1973: # tests run on this system so they can be shared between configure
1974: # scripts and configure runs, see configure's option --config-cache.
1975: # It is not useful on other systems. If it contains results you don't
1976: # want to keep, you may remove or edit it.
1977: #
1978: # config.status only pays attention to the cache file if you give it
1979: # the --recheck option to rerun configure.
1980: #
1.3 ohara 1981: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.1 takayama 1982: # loading this file, other *unset* `ac_cv_foo' will be assigned the
1983: # following values.
1984:
1985: _ACEOF
1986:
1987: # The following way of writing the cache mishandles newlines in values,
1988: # but we know of no workaround that is simple, portable, and efficient.
1.3 ohara 1989: # So, we kill variables containing newlines.
1.1 takayama 1990: # Ultrix sh set writes to stderr and can't be redirected directly,
1991: # and sets the high bit in the cache file unless we assign to the vars.
1.3 ohara 1992: (
1993: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1994: eval ac_val=\$$ac_var
1995: case $ac_val in #(
1996: *${as_nl}*)
1997: case $ac_var in #(
1998: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1999: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2000: esac
2001: case $ac_var in #(
2002: _ | IFS | as_nl) ;; #(
2003: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004: *) $as_unset $ac_var ;;
2005: esac ;;
2006: esac
2007: done
2008:
1.1 takayama 2009: (set) 2>&1 |
1.3 ohara 2010: case $as_nl`(ac_space=' '; set) 2>&1` in #(
2011: *${as_nl}ac_space=\ *)
1.1 takayama 2012: # `set' does not quote correctly, so add quotes (double-quote
2013: # substitution turns \\\\ into \\, and sed turns \\ into \).
2014: sed -n \
1.3 ohara 2015: "s/'/'\\\\''/g;
2016: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2017: ;; #(
1.1 takayama 2018: *)
2019: # `set' quotes correctly as required by POSIX, so do not add quotes.
1.3 ohara 2020: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1 takayama 2021: ;;
1.3 ohara 2022: esac |
2023: sort
2024: ) |
1.1 takayama 2025: sed '
1.3 ohara 2026: /^ac_cv_env_/b end
1.1 takayama 2027: t clear
1.3 ohara 2028: :clear
1.1 takayama 2029: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2030: t end
1.3 ohara 2031: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2032: :end' >>confcache
2033: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2034: if test -w "$cache_file"; then
2035: test "x$cache_file" != "x/dev/null" &&
2036: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2037: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1 takayama 2038: cat confcache >$cache_file
2039: else
1.3 ohara 2040: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2041: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1 takayama 2042: fi
2043: fi
2044: rm -f confcache
2045:
2046: test "x$prefix" = xNONE && prefix=$ac_default_prefix
2047: # Let make expand exec_prefix.
2048: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2049:
2050: # Transform confdefs.h into DEFS.
2051: # Protect against shell expansion while executing Makefile rules.
2052: # Protect against Makefile macro expansion.
2053: #
2054: # If the first sed substitution is executed (which looks for macros that
1.3 ohara 2055: # take arguments), then branch to the quote section. Otherwise,
1.1 takayama 2056: # look for a macro that doesn't take arguments.
1.3 ohara 2057: ac_script='
2058: :mline
2059: /\\$/{
2060: N
2061: s,\\\n,,
2062: b mline
2063: }
1.1 takayama 2064: t clear
1.3 ohara 2065: :clear
2066: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 2067: t quote
1.3 ohara 2068: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1.1 takayama 2069: t quote
1.3 ohara 2070: b any
2071: :quote
2072: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2073: s/\[/\\&/g
2074: s/\]/\\&/g
2075: s/\$/$$/g
2076: H
2077: :any
2078: ${
2079: g
2080: s/^\n//
2081: s/\n/ /g
2082: p
2083: }
2084: '
2085: DEFS=`sed -n "$ac_script" confdefs.h`
2086:
2087:
2088: ac_libobjs=
2089: ac_ltlibobjs=
2090: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2091: # 1. Remove the extension, and $U if already installed.
2092: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2093: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2094: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2095: # will be set to the directory where LIBOBJS objects are built.
2096: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2097: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2098: done
2099: LIBOBJS=$ac_libobjs
2100:
2101: LTLIBOBJS=$ac_ltlibobjs
1.1 takayama 2102:
2103:
2104:
2105: : ${CONFIG_STATUS=./config.status}
1.3 ohara 2106: ac_write_fail=0
1.1 takayama 2107: ac_clean_files_save=$ac_clean_files
2108: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.3 ohara 2109: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2110: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2111: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 2112: #! $SHELL
2113: # Generated by $as_me.
2114: # Run this file to recreate the current configuration.
2115: # Compiler output produced by configure, useful for debugging
2116: # configure, is in config.log if it exists.
2117:
2118: debug=false
1.3 ohara 2119: ac_cs_recheck=false
2120: ac_cs_silent=false
1.1 takayama 2121: SHELL=\${CONFIG_SHELL-$SHELL}
2122: _ACEOF
2123:
1.3 ohara 2124: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2125: ## --------------------- ##
2126: ## M4sh Initialization. ##
2127: ## --------------------- ##
2128:
1.3 ohara 2129: # Be more Bourne compatible
2130: DUALCASE=1; export DUALCASE # for MKS sh
1.1 takayama 2131: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2132: emulate sh
2133: NULLCMD=:
1.3 ohara 2134: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2135: # is contrary to our usage. Disable this feature.
2136: alias -g '${1+"$@"}'='"$@"'
2137: setopt NO_GLOB_SUBST
2138: else
2139: case `(set -o) 2>/dev/null` in
2140: *posix*) set -o posix ;;
2141: esac
1.1 takayama 2142:
2143: fi
2144:
2145:
2146:
2147:
1.3 ohara 2148: # PATH needs CR
1.1 takayama 2149: # Avoid depending upon Character Ranges.
2150: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2151: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2152: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2153: as_cr_digits='0123456789'
2154: as_cr_alnum=$as_cr_Letters$as_cr_digits
2155:
1.3 ohara 2156: as_nl='
2157: '
2158: export as_nl
2159: # Printing a long string crashes Solaris 7 /usr/bin/printf.
2160: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2161: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2162: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2163: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2164: as_echo='printf %s\n'
2165: as_echo_n='printf %s'
2166: else
2167: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2168: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2169: as_echo_n='/usr/ucb/echo -n'
2170: else
2171: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2172: as_echo_n_body='eval
2173: arg=$1;
2174: case $arg in
2175: *"$as_nl"*)
2176: expr "X$arg" : "X\\(.*\\)$as_nl";
2177: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2178: esac;
2179: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2180: '
2181: export as_echo_n_body
2182: as_echo_n='sh -c $as_echo_n_body as_echo'
2183: fi
2184: export as_echo_body
2185: as_echo='sh -c $as_echo_body as_echo'
2186: fi
2187:
1.1 takayama 2188: # The user is always right.
2189: if test "${PATH_SEPARATOR+set}" != set; then
1.3 ohara 2190: PATH_SEPARATOR=:
2191: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2192: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2193: PATH_SEPARATOR=';'
2194: }
2195: fi
2196:
2197: # Support unset when possible.
2198: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2199: as_unset=unset
2200: else
2201: as_unset=false
1.1 takayama 2202: fi
2203:
2204:
1.3 ohara 2205: # IFS
2206: # We need space, tab and new line, in precisely that order. Quoting is
2207: # there to prevent editors from complaining about space-tab.
2208: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2209: # splitting by setting IFS to empty value.)
2210: IFS=" "" $as_nl"
2211:
2212: # Find who we are. Look in the path if we contain no directory separator.
2213: case $0 in
2214: *[\\/]* ) as_myself=$0 ;;
2215: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 takayama 2216: for as_dir in $PATH
2217: do
2218: IFS=$as_save_IFS
2219: test -z "$as_dir" && as_dir=.
2220: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2221: done
1.3 ohara 2222: IFS=$as_save_IFS
2223:
2224: ;;
2225: esac
2226: # We did not find ourselves, most probably we were run as `sh COMMAND'
2227: # in which case we are not to be found in the path.
2228: if test "x$as_myself" = x; then
2229: as_myself=$0
2230: fi
2231: if test ! -f "$as_myself"; then
2232: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2233: { (exit 1); exit 1; }
2234: fi
2235:
2236: # Work around bugs in pre-3.0 UWIN ksh.
2237: for as_var in ENV MAIL MAILPATH
2238: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2239: done
2240: PS1='$ '
2241: PS2='> '
2242: PS4='+ '
2243:
2244: # NLS nuisances.
2245: LC_ALL=C
2246: export LC_ALL
2247: LANGUAGE=C
2248: export LANGUAGE
2249:
2250: # Required to use basename.
2251: if expr a : '\(a\)' >/dev/null 2>&1 &&
2252: test "X`expr 00001 : '.*\(...\)'`" = X001; then
2253: as_expr=expr
2254: else
2255: as_expr=false
2256: fi
2257:
2258: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2259: as_basename=basename
2260: else
2261: as_basename=false
2262: fi
2263:
2264:
2265: # Name of the executable.
2266: as_me=`$as_basename -- "$0" ||
2267: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2268: X"$0" : 'X\(//\)$' \| \
2269: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2270: $as_echo X/"$0" |
2271: sed '/^.*\/\([^/][^/]*\)\/*$/{
2272: s//\1/
2273: q
2274: }
2275: /^X\/\(\/\/\)$/{
2276: s//\1/
2277: q
2278: }
2279: /^X\/\(\/\).*/{
2280: s//\1/
2281: q
2282: }
2283: s/.*/./; q'`
2284:
2285: # CDPATH.
2286: $as_unset CDPATH
2287:
2288:
1.1 takayama 2289:
2290: as_lineno_1=$LINENO
2291: as_lineno_2=$LINENO
2292: test "x$as_lineno_1" != "x$as_lineno_2" &&
1.3 ohara 2293: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1 takayama 2294:
2295: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2296: # uniformly replaced by the line number. The first 'sed' inserts a
1.3 ohara 2297: # line-number line after each line using $LINENO; the second 'sed'
2298: # does the real work. The second script uses 'N' to pair each
2299: # line-number line with the line containing $LINENO, and appends
2300: # trailing '-' during substitution so that $LINENO is not a special
2301: # case at line end.
1.1 takayama 2302: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.3 ohara 2303: # scripts with optimization help from Paolo Bonzini. Blame Lee
2304: # E. McMahon (1931-1989) for sed's syntax. :-)
2305: sed -n '
2306: p
2307: /[$]LINENO/=
2308: ' <$as_myself |
1.1 takayama 2309: sed '
1.3 ohara 2310: s/[$]LINENO.*/&-/
2311: t lineno
2312: b
2313: :lineno
1.1 takayama 2314: N
1.3 ohara 2315: :loop
2316: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1 takayama 2317: t loop
1.3 ohara 2318: s/-\n.*//
1.1 takayama 2319: ' >$as_me.lineno &&
1.3 ohara 2320: chmod +x "$as_me.lineno" ||
2321: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.1 takayama 2322: { (exit 1); exit 1; }; }
2323:
2324: # Don't try to exec as it changes $[0], causing all sort of problems
2325: # (the dirname of $[0] is not the place where we might find the
1.3 ohara 2326: # original and so on. Autoconf is especially sensitive to this).
2327: . "./$as_me.lineno"
1.1 takayama 2328: # Exit status is that of the last command.
2329: exit
2330: }
2331:
2332:
1.3 ohara 2333: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2334: as_dirname=dirname
2335: else
2336: as_dirname=false
2337: fi
2338:
2339: ECHO_C= ECHO_N= ECHO_T=
2340: case `echo -n x` in
2341: -n*)
2342: case `echo 'x\c'` in
2343: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2344: *) ECHO_C='\c';;
2345: esac;;
2346: *)
2347: ECHO_N='-n';;
1.1 takayama 2348: esac
1.3 ohara 2349: if expr a : '\(a\)' >/dev/null 2>&1 &&
2350: test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1 takayama 2351: as_expr=expr
2352: else
2353: as_expr=false
2354: fi
2355:
2356: rm -f conf$$ conf$$.exe conf$$.file
1.3 ohara 2357: if test -d conf$$.dir; then
2358: rm -f conf$$.dir/conf$$.file
2359: else
2360: rm -f conf$$.dir
2361: mkdir conf$$.dir 2>/dev/null
2362: fi
2363: if (echo >conf$$.file) 2>/dev/null; then
2364: if ln -s conf$$.file conf$$ 2>/dev/null; then
2365: as_ln_s='ln -s'
2366: # ... but there are two gotchas:
2367: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2368: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2369: # In both cases, we have to default to `cp -p'.
2370: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2371: as_ln_s='cp -p'
2372: elif ln conf$$.file conf$$ 2>/dev/null; then
2373: as_ln_s=ln
2374: else
1.1 takayama 2375: as_ln_s='cp -p'
2376: fi
2377: else
2378: as_ln_s='cp -p'
2379: fi
1.3 ohara 2380: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2381: rmdir conf$$.dir 2>/dev/null
2382:
2383: if mkdir -p . 2>/dev/null; then
2384: as_mkdir_p=:
2385: else
2386: test -d ./-p && rmdir ./-p
2387: as_mkdir_p=false
2388: fi
1.1 takayama 2389:
1.3 ohara 2390: if test -x / >/dev/null 2>&1; then
2391: as_test_x='test -x'
2392: else
2393: if ls -dL / >/dev/null 2>&1; then
2394: as_ls_L_option=L
2395: else
2396: as_ls_L_option=
2397: fi
2398: as_test_x='
2399: eval sh -c '\''
2400: if test -d "$1"; then
2401: test -d "$1/.";
2402: else
2403: case $1 in
2404: -*)set "./$1";;
2405: esac;
2406: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2407: ???[sx]*):;;*)false;;esac;fi
2408: '\'' sh
2409: '
2410: fi
2411: as_executable_p=$as_test_x
1.1 takayama 2412:
2413: # Sed expression to map a string onto a valid CPP name.
1.3 ohara 2414: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 2415:
2416: # Sed expression to map a string onto a valid variable name.
1.3 ohara 2417: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1 takayama 2418:
2419:
2420: exec 6>&1
2421:
1.3 ohara 2422: # Save the log message, to keep $[0] and so on meaningful, and to
1.1 takayama 2423: # report actual input values of CONFIG_FILES etc. instead of their
1.3 ohara 2424: # values after options handling.
2425: ac_log="
1.1 takayama 2426: This file was extended by $as_me, which was
1.3 ohara 2427: generated by GNU Autoconf 2.62. Invocation command line was
1.1 takayama 2428:
2429: CONFIG_FILES = $CONFIG_FILES
2430: CONFIG_HEADERS = $CONFIG_HEADERS
2431: CONFIG_LINKS = $CONFIG_LINKS
2432: CONFIG_COMMANDS = $CONFIG_COMMANDS
2433: $ $0 $@
2434:
1.3 ohara 2435: on `(hostname || uname -n) 2>/dev/null | sed 1q`
2436: "
2437:
1.1 takayama 2438: _ACEOF
2439:
1.3 ohara 2440: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 2441: # Files that config.status was made for.
1.3 ohara 2442: config_files="$ac_config_files"
1.1 takayama 2443:
1.3 ohara 2444: _ACEOF
1.1 takayama 2445:
1.3 ohara 2446: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2447: ac_cs_usage="\
2448: \`$as_me' instantiates files from templates according to the
2449: current configuration.
2450:
2451: Usage: $0 [OPTIONS] [FILE]...
2452:
2453: -h, --help print this help, then exit
1.3 ohara 2454: -V, --version print version number and configuration settings, then exit
2455: -q, --quiet do not print progress messages
1.1 takayama 2456: -d, --debug don't remove temporary files
2457: --recheck update $as_me by reconfiguring in the same conditions
2458: --file=FILE[:TEMPLATE]
2459: instantiate the configuration file FILE
2460:
2461: Configuration files:
2462: $config_files
2463:
2464: Report bugs to <bug-autoconf@gnu.org>."
1.3 ohara 2465:
1.1 takayama 2466: _ACEOF
1.3 ohara 2467: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 takayama 2468: ac_cs_version="\\
2469: config.status
1.3 ohara 2470: configured by $0, generated by GNU Autoconf 2.62,
2471: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.1 takayama 2472:
1.3 ohara 2473: Copyright (C) 2008 Free Software Foundation, Inc.
1.1 takayama 2474: This config.status script is free software; the Free Software Foundation
2475: gives unlimited permission to copy, distribute and modify it."
1.3 ohara 2476:
2477: ac_pwd='$ac_pwd'
2478: srcdir='$srcdir'
2479: INSTALL='$INSTALL'
2480: test -n "\$AWK" || AWK=awk
1.1 takayama 2481: _ACEOF
2482:
1.3 ohara 2483: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2484: # The default lists apply if the user does not specify any file.
1.1 takayama 2485: ac_need_defaults=:
2486: while test $# != 0
2487: do
2488: case $1 in
2489: --*=*)
1.3 ohara 2490: ac_option=`expr "X$1" : 'X\([^=]*\)='`
2491: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2492: ac_shift=:
2493: ;;
2494: *)
2495: ac_option=$1
2496: ac_optarg=$2
2497: ac_shift=shift
1.1 takayama 2498: ;;
2499: esac
2500:
1.3 ohara 2501: case $ac_option in
1.1 takayama 2502: # Handling of the options.
2503: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.3 ohara 2504: ac_cs_recheck=: ;;
2505: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2506: $as_echo "$ac_cs_version"; exit ;;
2507: --debug | --debu | --deb | --de | --d | -d )
1.1 takayama 2508: debug=: ;;
2509: --file | --fil | --fi | --f )
1.3 ohara 2510: $ac_shift
2511: case $ac_optarg in
2512: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2513: esac
2514: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1.1 takayama 2515: ac_need_defaults=false;;
1.3 ohara 2516: --he | --h | --help | --hel | -h )
2517: $as_echo "$ac_cs_usage"; exit ;;
2518: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2519: | -silent | --silent | --silen | --sile | --sil | --si | --s)
2520: ac_cs_silent=: ;;
1.1 takayama 2521:
2522: # This is an error.
1.3 ohara 2523: -*) { $as_echo "$as_me: error: unrecognized option: $1
2524: Try \`$0 --help' for more information." >&2
1.1 takayama 2525: { (exit 1); exit 1; }; } ;;
2526:
1.3 ohara 2527: *) ac_config_targets="$ac_config_targets $1"
2528: ac_need_defaults=false ;;
1.1 takayama 2529:
2530: esac
2531: shift
2532: done
2533:
1.3 ohara 2534: ac_configure_extra_args=
2535:
2536: if $ac_cs_silent; then
2537: exec 6>/dev/null
2538: ac_configure_extra_args="$ac_configure_extra_args --silent"
2539: fi
2540:
1.1 takayama 2541: _ACEOF
1.3 ohara 2542: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2543: if \$ac_cs_recheck; then
2544: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2545: shift
2546: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2547: CONFIG_SHELL='$SHELL'
2548: export CONFIG_SHELL
2549: exec "\$@"
2550: fi
1.1 takayama 2551:
1.3 ohara 2552: _ACEOF
2553: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2554: exec 5>>config.log
2555: {
2556: echo
2557: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2558: ## Running $as_me. ##
2559: _ASBOX
2560: $as_echo "$ac_log"
2561: } >&5
1.1 takayama 2562:
1.3 ohara 2563: _ACEOF
2564: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2565: _ACEOF
1.1 takayama 2566:
1.3 ohara 2567: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2568:
1.3 ohara 2569: # Handling of arguments.
1.1 takayama 2570: for ac_config_target in $ac_config_targets
2571: do
1.3 ohara 2572: case $ac_config_target in
2573: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2574: "M/Makefile") CONFIG_FILES="$CONFIG_FILES M/Makefile" ;;
2575:
2576: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2577: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.1 takayama 2578: { (exit 1); exit 1; }; };;
2579: esac
2580: done
2581:
1.3 ohara 2582:
1.1 takayama 2583: # If the user did not use the arguments to specify the items to instantiate,
2584: # then the envvar interface is used. Set only those that are not.
2585: # We use the long form for the default assignment because of an extremely
2586: # bizarre bug on SunOS 4.1.3.
2587: if $ac_need_defaults; then
2588: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2589: fi
2590:
1.3 ohara 2591: # Have a temporary directory for convenience. Make it in the build tree
2592: # simply because there is no reason against having it here, and in addition,
2593: # creating and moving files from /tmp can sometimes cause problems.
2594: # Hook for its removal unless debugging.
2595: # Note that there is a small window in which the directory will not be cleaned:
2596: # after its creation but before its name has been assigned to `$tmp'.
1.1 takayama 2597: $debug ||
2598: {
1.3 ohara 2599: tmp=
2600: trap 'exit_status=$?
2601: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2602: ' 0
1.1 takayama 2603: trap '{ (exit 1); exit 1; }' 1 2 13 15
2604: }
1.3 ohara 2605: # Create a (secure) tmp directory for tmp files.
1.1 takayama 2606:
2607: {
1.3 ohara 2608: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1 takayama 2609: test -n "$tmp" && test -d "$tmp"
2610: } ||
2611: {
1.3 ohara 2612: tmp=./conf$$-$RANDOM
2613: (umask 077 && mkdir "$tmp")
1.1 takayama 2614: } ||
2615: {
1.3 ohara 2616: $as_echo "$as_me: cannot create a temporary directory in ." >&2
1.1 takayama 2617: { (exit 1); exit 1; }
2618: }
2619:
1.3 ohara 2620: # Set up the scripts for CONFIG_FILES section.
2621: # No need to generate them if there are no CONFIG_FILES.
2622: # This happens for instance with `./config.status config.h'.
2623: if test -n "$CONFIG_FILES"; then
2624:
2625:
2626: ac_cr='
'
2627: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2628: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2629: ac_cs_awk_cr='\\r'
2630: else
2631: ac_cs_awk_cr=$ac_cr
2632: fi
2633:
2634: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.1 takayama 2635: _ACEOF
2636:
2637:
1.3 ohara 2638: {
2639: echo "cat >conf$$subs.awk <<_ACEOF" &&
2640: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2641: echo "_ACEOF"
2642: } >conf$$subs.sh ||
2643: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2644: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2645: { (exit 1); exit 1; }; }
2646: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2647: ac_delim='%!_!# '
2648: for ac_last_try in false false false false false :; do
2649: . ./conf$$subs.sh ||
2650: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2651: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2652: { (exit 1); exit 1; }; }
2653:
2654: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
2655: break
2656: elif $ac_last_try; then
2657: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2658: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2659: { (exit 1); exit 1; }; }
2660: else
2661: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2662: fi
2663: done
2664: rm -f conf$$subs.sh
2665:
2666: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2667: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2668: _ACEOF
2669: sed -n '
2670: h
2671: s/^/S["/; s/!.*/"]=/
2672: p
2673: g
2674: s/^[^!]*!//
2675: :repl
2676: t repl
2677: s/'"$ac_delim"'$//
2678: t delim
2679: :nl
2680: h
2681: s/\(.\{148\}\).*/\1/
2682: t more1
2683: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2684: p
2685: n
2686: b repl
2687: :more1
2688: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2689: p
2690: g
2691: s/.\{148\}//
2692: t nl
2693: :delim
2694: h
2695: s/\(.\{148\}\).*/\1/
2696: t more2
2697: s/["\\]/\\&/g; s/^/"/; s/$/"/
2698: p
2699: b
2700: :more2
2701: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2702: p
2703: g
2704: s/.\{148\}//
2705: t delim
2706: ' <conf$$subs.awk | sed '
2707: /^[^""]/{
2708: N
2709: s/\n//
2710: }
2711: ' >>$CONFIG_STATUS || ac_write_fail=1
2712: rm -f conf$$subs.awk
2713: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2714: _ACAWK
2715: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2716: for (key in S) S_is_set[key] = 1
2717: FS = ""
2718:
2719: }
2720: {
2721: line = $ 0
2722: nfields = split(line, field, "@")
2723: substed = 0
2724: len = length(field[1])
2725: for (i = 2; i < nfields; i++) {
2726: key = field[i]
2727: keylen = length(key)
2728: if (S_is_set[key]) {
2729: value = S[key]
2730: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2731: len += length(value) + length(field[++i])
2732: substed = 1
2733: } else
2734: len += 1 + keylen
2735: }
1.1 takayama 2736:
1.3 ohara 2737: print line
2738: }
1.1 takayama 2739:
1.3 ohara 2740: _ACAWK
2741: _ACEOF
2742: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2743: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2744: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2745: else
2746: cat
2747: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2748: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
2749: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
2750: { (exit 1); exit 1; }; }
1.1 takayama 2751: _ACEOF
2752:
1.3 ohara 2753: # VPATH may cause trouble with some makes, so we remove $(srcdir),
2754: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2755: # trailing colons and then remove the whole line if VPATH becomes empty
2756: # (actually we leave an empty line to preserve line numbers).
2757: if test "x$srcdir" = x.; then
2758: ac_vpsub='/^[ ]*VPATH[ ]*=/{
2759: s/:*\$(srcdir):*/:/
2760: s/:*\${srcdir}:*/:/
2761: s/:*@srcdir@:*/:/
2762: s/^\([^=]*=[ ]*\):*/\1/
2763: s/:*$//
2764: s/^[^=]*=[ ]*$//
2765: }'
2766: fi
2767:
2768: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2769: fi # test -n "$CONFIG_FILES"
2770:
1.3 ohara 2771:
2772: eval set X " :F $CONFIG_FILES "
2773: shift
2774: for ac_tag
2775: do
2776: case $ac_tag in
2777: :[FHLC]) ac_mode=$ac_tag; continue;;
2778: esac
2779: case $ac_mode$ac_tag in
2780: :[FHL]*:*);;
2781: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2782: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2783: { (exit 1); exit 1; }; };;
2784: :[FH]-) ac_tag=-:-;;
2785: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.1 takayama 2786: esac
1.3 ohara 2787: ac_save_IFS=$IFS
2788: IFS=:
2789: set x $ac_tag
2790: IFS=$ac_save_IFS
2791: shift
2792: ac_file=$1
2793: shift
2794:
2795: case $ac_mode in
2796: :L) ac_source=$1;;
2797: :[FH])
2798: ac_file_inputs=
2799: for ac_f
2800: do
2801: case $ac_f in
2802: -) ac_f="$tmp/stdin";;
2803: *) # Look for the file first in the build tree, then in the source tree
2804: # (if the path is not absolute). The absolute path cannot be DOS-style,
2805: # because $ac_f cannot contain `:'.
2806: test -f "$ac_f" ||
2807: case $ac_f in
2808: [\\/$]*) false;;
2809: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2810: esac ||
2811: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2812: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2813: { (exit 1); exit 1; }; };;
2814: esac
2815: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2816: ac_file_inputs="$ac_file_inputs '$ac_f'"
2817: done
2818:
2819: # Let's still pretend it is `configure' which instantiates (i.e., don't
2820: # use $as_me), people would be surprised to read:
2821: # /* config.h. Generated by config.status. */
2822: configure_input='Generated from '`
2823: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2824: `' by configure.'
2825: if test x"$ac_file" != x-; then
2826: configure_input="$ac_file. $configure_input"
2827: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
2828: $as_echo "$as_me: creating $ac_file" >&6;}
2829: fi
2830: # Neutralize special characters interpreted by sed in replacement strings.
2831: case $configure_input in #(
2832: *\&* | *\|* | *\\* )
2833: ac_sed_conf_input=`$as_echo "$configure_input" |
2834: sed 's/[\\\\&|]/\\\\&/g'`;; #(
2835: *) ac_sed_conf_input=$configure_input;;
2836: esac
1.1 takayama 2837:
1.3 ohara 2838: case $ac_tag in
2839: *:-:* | *:-) cat >"$tmp/stdin" \
2840: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
2841: $as_echo "$as_me: error: could not create $ac_file" >&2;}
2842: { (exit 1); exit 1; }; } ;;
2843: esac
1.1 takayama 2844: ;;
2845: esac
2846:
1.3 ohara 2847: ac_dir=`$as_dirname -- "$ac_file" ||
2848: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2849: X"$ac_file" : 'X\(//\)[^/]' \| \
2850: X"$ac_file" : 'X\(//\)$' \| \
2851: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2852: $as_echo X"$ac_file" |
2853: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2854: s//\1/
2855: q
2856: }
2857: /^X\(\/\/\)[^/].*/{
2858: s//\1/
2859: q
2860: }
2861: /^X\(\/\/\)$/{
2862: s//\1/
2863: q
2864: }
2865: /^X\(\/\).*/{
2866: s//\1/
2867: q
2868: }
2869: s/.*/./; q'`
2870: { as_dir="$ac_dir"
2871: case $as_dir in #(
2872: -*) as_dir=./$as_dir;;
2873: esac
2874: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2875: as_dirs=
2876: while :; do
2877: case $as_dir in #(
2878: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2879: *) as_qdir=$as_dir;;
2880: esac
2881: as_dirs="'$as_qdir' $as_dirs"
2882: as_dir=`$as_dirname -- "$as_dir" ||
2883: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2884: X"$as_dir" : 'X\(//\)[^/]' \| \
2885: X"$as_dir" : 'X\(//\)$' \| \
2886: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2887: $as_echo X"$as_dir" |
2888: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2889: s//\1/
2890: q
2891: }
2892: /^X\(\/\/\)[^/].*/{
2893: s//\1/
2894: q
2895: }
2896: /^X\(\/\/\)$/{
2897: s//\1/
2898: q
2899: }
2900: /^X\(\/\).*/{
2901: s//\1/
2902: q
2903: }
2904: s/.*/./; q'`
2905: test -d "$as_dir" && break
2906: done
2907: test -z "$as_dirs" || eval "mkdir $as_dirs"
2908: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2909: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
2910: { (exit 1); exit 1; }; }; }
1.1 takayama 2911: ac_builddir=.
2912:
1.3 ohara 2913: case "$ac_dir" in
2914: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2915: *)
2916: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2917: # A ".." for each directory in $ac_dir_suffix.
2918: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2919: case $ac_top_builddir_sub in
2920: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2921: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2922: esac ;;
2923: esac
2924: ac_abs_top_builddir=$ac_pwd
2925: ac_abs_builddir=$ac_pwd$ac_dir_suffix
2926: # for backward compatibility:
2927: ac_top_builddir=$ac_top_build_prefix
1.1 takayama 2928:
2929: case $srcdir in
1.3 ohara 2930: .) # We are building in place.
1.1 takayama 2931: ac_srcdir=.
1.3 ohara 2932: ac_top_srcdir=$ac_top_builddir_sub
2933: ac_abs_top_srcdir=$ac_pwd ;;
2934: [\\/]* | ?:[\\/]* ) # Absolute name.
1.1 takayama 2935: ac_srcdir=$srcdir$ac_dir_suffix;
1.3 ohara 2936: ac_top_srcdir=$srcdir
2937: ac_abs_top_srcdir=$srcdir ;;
2938: *) # Relative name.
2939: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2940: ac_top_srcdir=$ac_top_build_prefix$srcdir
2941: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1 takayama 2942: esac
1.3 ohara 2943: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1 takayama 2944:
2945:
1.3 ohara 2946: case $ac_mode in
2947: :F)
2948: #
2949: # CONFIG_FILE
2950: #
2951:
2952: case $INSTALL in
2953: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2954: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2955: esac
2956: _ACEOF
1.1 takayama 2957:
1.3 ohara 2958: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2959: # If the template does not know about datarootdir, expand it.
2960: # FIXME: This hack should be removed a few years after 2.60.
2961: ac_datarootdir_hack=; ac_datarootdir_seen=
2962:
2963: ac_sed_dataroot='
2964: /datarootdir/ {
2965: p
2966: q
2967: }
2968: /@datadir@/p
2969: /@docdir@/p
2970: /@infodir@/p
2971: /@localedir@/p
2972: /@mandir@/p
2973: '
2974: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2975: *datarootdir*) ac_datarootdir_seen=yes;;
2976: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2977: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2978: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2979: _ACEOF
2980: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2981: ac_datarootdir_hack='
2982: s&@datadir@&$datadir&g
2983: s&@docdir@&$docdir&g
2984: s&@infodir@&$infodir&g
2985: s&@localedir@&$localedir&g
2986: s&@mandir@&$mandir&g
2987: s&\\\${datarootdir}&$datarootdir&g' ;;
2988: esac
2989: _ACEOF
1.1 takayama 2990:
1.3 ohara 2991: # Neutralize VPATH when `$srcdir' = `.'.
2992: # Shell code in configure.ac might set extrasub.
2993: # FIXME: do we really want to maintain this feature?
2994: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2995: ac_sed_extra="$ac_vpsub
1.1 takayama 2996: $extrasub
2997: _ACEOF
1.3 ohara 2998: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1 takayama 2999: :t
3000: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.3 ohara 3001: s|@configure_input@|$ac_sed_conf_input|;t t
3002: s&@top_builddir@&$ac_top_builddir_sub&;t t
3003: s&@top_build_prefix@&$ac_top_build_prefix&;t t
3004: s&@srcdir@&$ac_srcdir&;t t
3005: s&@abs_srcdir@&$ac_abs_srcdir&;t t
3006: s&@top_srcdir@&$ac_top_srcdir&;t t
3007: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3008: s&@builddir@&$ac_builddir&;t t
3009: s&@abs_builddir@&$ac_abs_builddir&;t t
3010: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3011: s&@INSTALL@&$ac_INSTALL&;t t
3012: $ac_datarootdir_hack
3013: "
3014: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3015: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3016: $as_echo "$as_me: error: could not create $ac_file" >&2;}
3017: { (exit 1); exit 1; }; }
3018:
3019: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3020: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3021: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3022: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3023: which seems to be undefined. Please make sure it is defined." >&5
3024: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3025: which seems to be undefined. Please make sure it is defined." >&2;}
3026:
3027: rm -f "$tmp/stdin"
3028: case $ac_file in
3029: -) cat "$tmp/out" && rm -f "$tmp/out";;
3030: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3031: esac \
3032: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3033: $as_echo "$as_me: error: could not create $ac_file" >&2;}
3034: { (exit 1); exit 1; }; }
3035: ;;
3036:
3037:
3038:
3039: esac
1.1 takayama 3040:
1.3 ohara 3041: done # for ac_tag
1.1 takayama 3042:
3043:
3044: { (exit 0); exit 0; }
3045: _ACEOF
3046: chmod +x $CONFIG_STATUS
3047: ac_clean_files=$ac_clean_files_save
3048:
1.3 ohara 3049: test $ac_write_fail = 0 ||
3050: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3051: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3052: { (exit 1); exit 1; }; }
3053:
1.1 takayama 3054:
3055: # configure is writing to config.log, and then calls config.status.
3056: # config.status does its own redirection, appending to config.log.
3057: # Unfortunately, on DOS this fails, as config.log is still kept open
3058: # by configure, so config.status won't be able to write to it; its
3059: # output is simply discarded. So we exec the FD to /dev/null,
3060: # effectively closing config.log, so it can be properly (re)opened and
3061: # appended to by config.status. When coming back to configure, we
3062: # need to make the FD available again.
3063: if test "$no_create" != yes; then
3064: ac_cs_success=:
1.3 ohara 3065: ac_config_status_args=
3066: test "$silent" = yes &&
3067: ac_config_status_args="$ac_config_status_args --quiet"
1.1 takayama 3068: exec 5>/dev/null
1.3 ohara 3069: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.1 takayama 3070: exec 5>>config.log
3071: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3072: # would make configure fail if this is the last instruction.
3073: $ac_cs_success || { (exit 1); exit 1; }
3074: fi
1.3 ohara 3075: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3076: { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3077: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
3078: fi
1.1 takayama 3079:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>