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