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