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