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