File:
[local] /
rpl /
Attic /
configure
Revision
1.80:
download - view:
text,
annotated -
select for diffs -
revision graph
Fri Sep 16 14:42:01 2011 UTC (13 years, 7 months ago) by
bertrand
Branches:
MAIN
CVS tags:
HEAD
Mise à jour globale. Le système semble stable sous Linux. Les autres ports
demandent quelques mises à niveau (MacOS ne connaît pas les sémaphores anonymes,
certains systèmes ne comprennent pas les IPC POSIX...).
1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.68 for rpl 4.1.3.
4: #
5: #
6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8: # Foundation, Inc.
9: #
10: #
11: # This configure script is free software; the Free Software Foundation
12: # gives unlimited permission to copy, distribute and modify it.
13: ## -------------------- ##
14: ## M4sh Initialization. ##
15: ## -------------------- ##
16:
17: # Be more Bourne compatible
18: DUALCASE=1; export DUALCASE # for MKS sh
19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20: emulate sh
21: NULLCMD=:
22: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23: # is contrary to our usage. Disable this feature.
24: alias -g '${1+"$@"}'='"$@"'
25: setopt NO_GLOB_SUBST
26: else
27: case `(set -o) 2>/dev/null` in #(
28: *posix*) :
29: set -o posix ;; #(
30: *) :
31: ;;
32: esac
33: fi
34:
35:
36: as_nl='
37: '
38: export as_nl
39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43: # Prefer a ksh shell builtin over an external printf program on Solaris,
44: # but without wasting forks for bash or zsh.
45: if test -z "$BASH_VERSION$ZSH_VERSION" \
46: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47: as_echo='print -r --'
48: as_echo_n='print -rn --'
49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50: as_echo='printf %s\n'
51: as_echo_n='printf %s'
52: else
53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55: as_echo_n='/usr/ucb/echo -n'
56: else
57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58: as_echo_n_body='eval
59: arg=$1;
60: case $arg in #(
61: *"$as_nl"*)
62: expr "X$arg" : "X\\(.*\\)$as_nl";
63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64: esac;
65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66: '
67: export as_echo_n_body
68: as_echo_n='sh -c $as_echo_n_body as_echo'
69: fi
70: export as_echo_body
71: as_echo='sh -c $as_echo_body as_echo'
72: fi
73:
74: # The user is always right.
75: if test "${PATH_SEPARATOR+set}" != set; then
76: PATH_SEPARATOR=:
77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79: PATH_SEPARATOR=';'
80: }
81: fi
82:
83:
84: # IFS
85: # We need space, tab and new line, in precisely that order. Quoting is
86: # there to prevent editors from complaining about space-tab.
87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88: # splitting by setting IFS to empty value.)
89: IFS=" "" $as_nl"
90:
91: # Find who we are. Look in the path if we contain no directory separator.
92: as_myself=
93: case $0 in #((
94: *[\\/]* ) as_myself=$0 ;;
95: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96: for as_dir in $PATH
97: do
98: IFS=$as_save_IFS
99: test -z "$as_dir" && as_dir=.
100: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101: done
102: IFS=$as_save_IFS
103:
104: ;;
105: esac
106: # We did not find ourselves, most probably we were run as `sh COMMAND'
107: # in which case we are not to be found in the path.
108: if test "x$as_myself" = x; then
109: as_myself=$0
110: fi
111: if test ! -f "$as_myself"; then
112: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113: exit 1
114: fi
115:
116: # Unset variables that we do not need and which cause bugs (e.g. in
117: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118: # suppresses any "Segmentation fault" message there. '((' could
119: # trigger a bug in pdksh 5.2.14.
120: for as_var in BASH_ENV ENV MAIL MAILPATH
121: do eval test x\${$as_var+set} = xset \
122: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # CDPATH.
135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136:
137: if test "x$CONFIG_SHELL" = x; then
138: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139: emulate sh
140: NULLCMD=:
141: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142: # is contrary to our usage. Disable this feature.
143: alias -g '\${1+\"\$@\"}'='\"\$@\"'
144: setopt NO_GLOB_SUBST
145: else
146: case \`(set -o) 2>/dev/null\` in #(
147: *posix*) :
148: set -o posix ;; #(
149: *) :
150: ;;
151: esac
152: fi
153: "
154: as_required="as_fn_return () { (exit \$1); }
155: as_fn_success () { as_fn_return 0; }
156: as_fn_failure () { as_fn_return 1; }
157: as_fn_ret_success () { return 0; }
158: as_fn_ret_failure () { return 1; }
159:
160: exitcode=0
161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166:
167: else
168: exitcode=1; echo positional parameters were not saved.
169: fi
170: test x\$exitcode = x0 || exit 1"
171: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175: test \$(( 1 + 1 )) = 2 || exit 1"
176: if (eval "$as_required") 2>/dev/null; then :
177: as_have_required=yes
178: else
179: as_have_required=no
180: fi
181: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182:
183: else
184: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185: as_found=false
186: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187: do
188: IFS=$as_save_IFS
189: test -z "$as_dir" && as_dir=.
190: as_found=:
191: case $as_dir in #(
192: /*)
193: for as_base in sh bash ksh sh5; do
194: # Try only shells that exist, to save several forks.
195: as_shell=$as_dir/$as_base
196: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198: CONFIG_SHELL=$as_shell as_have_required=yes
199: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200: break 2
201: fi
202: fi
203: done;;
204: esac
205: as_found=false
206: done
207: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209: CONFIG_SHELL=$SHELL as_have_required=yes
210: fi; }
211: IFS=$as_save_IFS
212:
213:
214: if test "x$CONFIG_SHELL" != x; then :
215: # We cannot yet assume a decent shell, so we have to provide a
216: # neutralization value for shells without unset; and this also
217: # works around shells that cannot unset nonexistent variables.
218: # Preserve -v and -x to the replacement shell.
219: BASH_ENV=/dev/null
220: ENV=/dev/null
221: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222: export CONFIG_SHELL
223: case $- in # ((((
224: *v*x* | *x*v* ) as_opts=-vx ;;
225: *v* ) as_opts=-v ;;
226: *x* ) as_opts=-x ;;
227: * ) as_opts= ;;
228: esac
229: exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230: fi
231:
232: if test x$as_have_required = xno; then :
233: $as_echo "$0: This script requires a shell more modern than all"
234: $as_echo "$0: the shells that I found on your system."
235: if test x${ZSH_VERSION+set} = xset ; then
236: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238: else
239: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240: $0: including any error possibly output before this
241: $0: message. Then install a modern shell, or manually run
242: $0: the script under such a shell if you do have one."
243: fi
244: exit 1
245: fi
246: fi
247: fi
248: SHELL=${CONFIG_SHELL-/bin/sh}
249: export SHELL
250: # Unset more variables known to interfere with behavior of common tools.
251: CLICOLOR_FORCE= GREP_OPTIONS=
252: unset CLICOLOR_FORCE GREP_OPTIONS
253:
254: ## --------------------- ##
255: ## M4sh Shell Functions. ##
256: ## --------------------- ##
257: # as_fn_unset VAR
258: # ---------------
259: # Portably unset VAR.
260: as_fn_unset ()
261: {
262: { eval $1=; unset $1;}
263: }
264: as_unset=as_fn_unset
265:
266: # as_fn_set_status STATUS
267: # -----------------------
268: # Set $? to STATUS, without forking.
269: as_fn_set_status ()
270: {
271: return $1
272: } # as_fn_set_status
273:
274: # as_fn_exit STATUS
275: # -----------------
276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277: as_fn_exit ()
278: {
279: set +e
280: as_fn_set_status $1
281: exit $1
282: } # as_fn_exit
283:
284: # as_fn_mkdir_p
285: # -------------
286: # Create "$as_dir" as a directory, including parents if necessary.
287: as_fn_mkdir_p ()
288: {
289:
290: case $as_dir in #(
291: -*) as_dir=./$as_dir;;
292: esac
293: test -d "$as_dir" || eval $as_mkdir_p || {
294: as_dirs=
295: while :; do
296: case $as_dir in #(
297: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298: *) as_qdir=$as_dir;;
299: esac
300: as_dirs="'$as_qdir' $as_dirs"
301: as_dir=`$as_dirname -- "$as_dir" ||
302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303: X"$as_dir" : 'X\(//\)[^/]' \| \
304: X"$as_dir" : 'X\(//\)$' \| \
305: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306: $as_echo X"$as_dir" |
307: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308: s//\1/
309: q
310: }
311: /^X\(\/\/\)[^/].*/{
312: s//\1/
313: q
314: }
315: /^X\(\/\/\)$/{
316: s//\1/
317: q
318: }
319: /^X\(\/\).*/{
320: s//\1/
321: q
322: }
323: s/.*/./; q'`
324: test -d "$as_dir" && break
325: done
326: test -z "$as_dirs" || eval "mkdir $as_dirs"
327: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328:
329:
330: } # as_fn_mkdir_p
331: # as_fn_append VAR VALUE
332: # ----------------------
333: # Append the text in VALUE to the end of the definition contained in VAR. Take
334: # advantage of any shell optimizations that allow amortized linear growth over
335: # repeated appends, instead of the typical quadratic growth present in naive
336: # implementations.
337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338: eval 'as_fn_append ()
339: {
340: eval $1+=\$2
341: }'
342: else
343: as_fn_append ()
344: {
345: eval $1=\$$1\$2
346: }
347: fi # as_fn_append
348:
349: # as_fn_arith ARG...
350: # ------------------
351: # Perform arithmetic evaluation on the ARGs, and store the result in the
352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
353: # must be portable across $(()) and expr.
354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355: eval 'as_fn_arith ()
356: {
357: as_val=$(( $* ))
358: }'
359: else
360: as_fn_arith ()
361: {
362: as_val=`expr "$@" || test $? -eq 1`
363: }
364: fi # as_fn_arith
365:
366:
367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
368: # ----------------------------------------
369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371: # script with STATUS, using 1 if that was 0.
372: as_fn_error ()
373: {
374: as_status=$1; test $as_status -eq 0 && as_status=1
375: if test "$4"; then
376: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378: fi
379: $as_echo "$as_me: error: $2" >&2
380: as_fn_exit $as_status
381: } # as_fn_error
382:
383: if expr a : '\(a\)' >/dev/null 2>&1 &&
384: test "X`expr 00001 : '.*\(...\)'`" = X001; then
385: as_expr=expr
386: else
387: as_expr=false
388: fi
389:
390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391: as_basename=basename
392: else
393: as_basename=false
394: fi
395:
396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397: as_dirname=dirname
398: else
399: as_dirname=false
400: fi
401:
402: as_me=`$as_basename -- "$0" ||
403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404: X"$0" : 'X\(//\)$' \| \
405: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406: $as_echo X/"$0" |
407: sed '/^.*\/\([^/][^/]*\)\/*$/{
408: s//\1/
409: q
410: }
411: /^X\/\(\/\/\)$/{
412: s//\1/
413: q
414: }
415: /^X\/\(\/\).*/{
416: s//\1/
417: q
418: }
419: s/.*/./; q'`
420:
421: # Avoid depending upon Character Ranges.
422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425: as_cr_digits='0123456789'
426: as_cr_alnum=$as_cr_Letters$as_cr_digits
427:
428:
429: as_lineno_1=$LINENO as_lineno_1a=$LINENO
430: as_lineno_2=$LINENO as_lineno_2a=$LINENO
431: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434: sed -n '
435: p
436: /[$]LINENO/=
437: ' <$as_myself |
438: sed '
439: s/[$]LINENO.*/&-/
440: t lineno
441: b
442: :lineno
443: N
444: :loop
445: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446: t loop
447: s/-\n.*//
448: ' >$as_me.lineno &&
449: chmod +x "$as_me.lineno" ||
450: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451:
452: # Don't try to exec as it changes $[0], causing all sort of problems
453: # (the dirname of $[0] is not the place where we might find the
454: # original and so on. Autoconf is especially sensitive to this).
455: . "./$as_me.lineno"
456: # Exit status is that of the last command.
457: exit
458: }
459:
460: ECHO_C= ECHO_N= ECHO_T=
461: case `echo -n x` in #(((((
462: -n*)
463: case `echo 'xy\c'` in
464: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465: xy) ECHO_C='\c';;
466: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467: ECHO_T=' ';;
468: esac;;
469: *)
470: ECHO_N='-n';;
471: esac
472:
473: rm -f conf$$ conf$$.exe conf$$.file
474: if test -d conf$$.dir; then
475: rm -f conf$$.dir/conf$$.file
476: else
477: rm -f conf$$.dir
478: mkdir conf$$.dir 2>/dev/null
479: fi
480: if (echo >conf$$.file) 2>/dev/null; then
481: if ln -s conf$$.file conf$$ 2>/dev/null; then
482: as_ln_s='ln -s'
483: # ... but there are two gotchas:
484: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486: # In both cases, we have to default to `cp -p'.
487: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488: as_ln_s='cp -p'
489: elif ln conf$$.file conf$$ 2>/dev/null; then
490: as_ln_s=ln
491: else
492: as_ln_s='cp -p'
493: fi
494: else
495: as_ln_s='cp -p'
496: fi
497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498: rmdir conf$$.dir 2>/dev/null
499:
500: if mkdir -p . 2>/dev/null; then
501: as_mkdir_p='mkdir -p "$as_dir"'
502: else
503: test -d ./-p && rmdir ./-p
504: as_mkdir_p=false
505: fi
506:
507: if test -x / >/dev/null 2>&1; then
508: as_test_x='test -x'
509: else
510: if ls -dL / >/dev/null 2>&1; then
511: as_ls_L_option=L
512: else
513: as_ls_L_option=
514: fi
515: as_test_x='
516: eval sh -c '\''
517: if test -d "$1"; then
518: test -d "$1/.";
519: else
520: case $1 in #(
521: -*)set "./$1";;
522: esac;
523: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524: ???[sx]*):;;*)false;;esac;fi
525: '\'' sh
526: '
527: fi
528: as_executable_p=$as_test_x
529:
530: # Sed expression to map a string onto a valid CPP name.
531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532:
533: # Sed expression to map a string onto a valid variable name.
534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535:
536:
537: test -n "$DJDIR" || exec 7<&0 </dev/null
538: exec 6>&1
539:
540: # Name of the host.
541: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542: # so uname gets run too.
543: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544:
545: #
546: # Initializations.
547: #
548: ac_default_prefix=/usr/local
549: ac_clean_files=
550: ac_config_libobj_dir=.
551: LIBOBJS=
552: cross_compiling=no
553: subdirs=
554: MFLAGS=
555: MAKEFLAGS=
556:
557: # Identity of this package.
558: PACKAGE_NAME='rpl'
559: PACKAGE_TARNAME='rpl'
560: PACKAGE_VERSION='4.1.3'
561: PACKAGE_STRING='rpl 4.1.3'
562: PACKAGE_BUGREPORT=''
563: PACKAGE_URL=''
564:
565: enable_option_checking=no
566: ac_default_prefix=/usr/local
567: # Factoring default headers for most tests.
568: ac_includes_default="\
569: #include <stdio.h>
570: #ifdef HAVE_SYS_TYPES_H
571: # include <sys/types.h>
572: #endif
573: #ifdef HAVE_SYS_STAT_H
574: # include <sys/stat.h>
575: #endif
576: #ifdef STDC_HEADERS
577: # include <stdlib.h>
578: # include <stddef.h>
579: #else
580: # ifdef HAVE_STDLIB_H
581: # include <stdlib.h>
582: # endif
583: #endif
584: #ifdef HAVE_STRING_H
585: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586: # include <memory.h>
587: # endif
588: # include <string.h>
589: #endif
590: #ifdef HAVE_STRINGS_H
591: # include <strings.h>
592: #endif
593: #ifdef HAVE_INTTYPES_H
594: # include <inttypes.h>
595: #endif
596: #ifdef HAVE_STDINT_H
597: # include <stdint.h>
598: #endif
599: #ifdef HAVE_UNISTD_H
600: # include <unistd.h>
601: #endif"
602:
603: ac_subst_vars='am__EXEEXT_FALSE
604: am__EXEEXT_TRUE
605: LTLIBOBJS
606: LIBOBJS
607: LIBMOTIF
608: INCMOTIF
609: GIAC
610: PARI
611: COCOA
612: NTL
613: MPFR
614: GMP
615: MALLOC
616: EXT_SQL
617: DATE_FR
618: FINAL_ENCODING
619: SIGSEGV
620: BUILD_OPENMOTIF
621: OPENMOTIF
622: OPENSSL
623: SQLITE
624: ICONV
625: FILE
626: GNUPLOT
627: GPP
628: GSL
629: UNITS
630: READLINE
631: NCURSES
632: ELF
633: BSH_PATH
634: IPV6
635: SEMUN
636: IPCS_SYSV
637: SEMAPHORES_NOMMES
638: NESTED_FUNCTIONS
639: EXPORT_DYNAMIC
640: C_STANDARD
641: OS
642: HOST
643: GNUPLOT_COMPILATION
644: EGREP
645: GREP
646: libPgSQLlib
647: libPgSQLinc
648: POSTGRESQL_SUPPORT
649: libMySQLlib
650: libMySQLinc
651: MYSQL_SUPPORT
652: DATE
653: includeX
654: libX
655: MOTIF_SUPPORT
656: DEBUG
657: EXPERIMENTAL_CODE
658: VIM_SUPPORT
659: POSTSCRIPT_SUPPORT
660: FORCE_GNUPLOT_PATH
661: GNUPLOT_SUPPORT
662: VIM
663: GNUPLOT_P
664: GV
665: GS
666: DVIPS
667: LATEX
668: TEX
669: SED
670: RANLIB
671: LN_S
672: RUNPATH
673: PROFILAGE
674: subdirs
675: LIBRPLCAS
676: RPLCAS
677: ABI
678: X_EXTRA_LIBS
679: X_LIBS
680: X_PRE_LIBS
681: X_CFLAGS
682: CPP
683: XMKMF
684: ac_ct_FC
685: FCFLAGS
686: FC
687: ac_ct_F77
688: FFLAGS
689: F77
690: am__fastdepCXX_FALSE
691: am__fastdepCXX_TRUE
692: CXXDEPMODE
693: ac_ct_CXX
694: CXXFLAGS
695: CXX
696: am__fastdepCC_FALSE
697: am__fastdepCC_TRUE
698: CCDEPMODE
699: AMDEPBACKSLASH
700: AMDEP_FALSE
701: AMDEP_TRUE
702: am__quote
703: am__include
704: DEPDIR
705: OBJEXT
706: EXEEXT
707: ac_ct_CC
708: CPPFLAGS
709: LDFLAGS
710: CFLAGS
711: CC
712: am__untar
713: am__tar
714: AMTAR
715: am__leading_dot
716: SET_MAKE
717: AWK
718: mkdir_p
719: MKDIR_P
720: INSTALL_STRIP_PROGRAM
721: STRIP
722: install_sh
723: MAKEINFO
724: AUTOHEADER
725: AUTOMAKE
726: AUTOCONF
727: ACLOCAL
728: VERSION
729: PACKAGE
730: CYGPATH_W
731: am__isrc
732: INSTALL_DATA
733: INSTALL_SCRIPT
734: INSTALL_PROGRAM
735: target_os
736: target_vendor
737: target_cpu
738: target
739: host_os
740: host_vendor
741: host_cpu
742: host
743: build_os
744: build_vendor
745: build_cpu
746: build
747: target_alias
748: host_alias
749: build_alias
750: LIBS
751: ECHO_T
752: ECHO_N
753: ECHO_C
754: DEFS
755: mandir
756: localedir
757: libdir
758: psdir
759: pdfdir
760: dvidir
761: htmldir
762: infodir
763: docdir
764: oldincludedir
765: includedir
766: localstatedir
767: sharedstatedir
768: sysconfdir
769: datadir
770: datarootdir
771: libexecdir
772: sbindir
773: bindir
774: program_transform_name
775: prefix
776: exec_prefix
777: PACKAGE_URL
778: PACKAGE_BUGREPORT
779: PACKAGE_STRING
780: PACKAGE_VERSION
781: PACKAGE_TARNAME
782: PACKAGE_NAME
783: PATH_SEPARATOR
784: SHELL'
785: ac_subst_files=''
786: ac_user_opts='
787: enable_option_checking
788: enable_dependency_tracking
789: with_x
790: with_32bits_abi
791: with_64bits_abi
792: with_rplcas
793: enable_optimization
794: enable_sysv_semaphores
795: enable_full_static
796: enable_final_encoding
797: enable_tex
798: enable_vim
799: enable_embedded_gnuplot
800: enable_gnuplot
801: enable_motif
802: enable_experimental
803: enable_debug
804: enable_profile
805: enable_final_run_path
806: with_mysql
807: with_postgresql
808: with_bourne_shell
809: with_openssl_arch
810: '
811: ac_precious_vars='build_alias
812: host_alias
813: target_alias
814: CC
815: CFLAGS
816: LDFLAGS
817: LIBS
818: CPPFLAGS
819: CXX
820: CXXFLAGS
821: CCC
822: F77
823: FFLAGS
824: FC
825: FCFLAGS
826: XMKMF
827: CPP'
828: ac_subdirs_all='tools/$LIBXPM
829: tools/$OPENMOTIF
830: tools/$GNUPLOT
831: tools/$NCURSES
832: tools/$READLINE
833: tools/$GSL
834: tools/$GPP
835: tools/$FILE
836: tools/$ICONV
837: tools/$SQLITE
838: tools/$UNITS
839: tools/$SIGSEGV'
840:
841: # Initialize some variables set by options.
842: ac_init_help=
843: ac_init_version=false
844: ac_unrecognized_opts=
845: ac_unrecognized_sep=
846: # The variables have the same names as the options, with
847: # dashes changed to underlines.
848: cache_file=/dev/null
849: exec_prefix=NONE
850: no_create=
851: no_recursion=
852: prefix=NONE
853: program_prefix=NONE
854: program_suffix=NONE
855: program_transform_name=s,x,x,
856: silent=
857: site=
858: srcdir=
859: verbose=
860: x_includes=NONE
861: x_libraries=NONE
862:
863: # Installation directory options.
864: # These are left unexpanded so users can "make install exec_prefix=/foo"
865: # and all the variables that are supposed to be based on exec_prefix
866: # by default will actually change.
867: # Use braces instead of parens because sh, perl, etc. also accept them.
868: # (The list follows the same order as the GNU Coding Standards.)
869: bindir='${exec_prefix}/bin'
870: sbindir='${exec_prefix}/sbin'
871: libexecdir='${exec_prefix}/libexec'
872: datarootdir='${prefix}/share'
873: datadir='${datarootdir}'
874: sysconfdir='${prefix}/etc'
875: sharedstatedir='${prefix}/com'
876: localstatedir='${prefix}/var'
877: includedir='${prefix}/include'
878: oldincludedir='/usr/include'
879: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880: infodir='${datarootdir}/info'
881: htmldir='${docdir}'
882: dvidir='${docdir}'
883: pdfdir='${docdir}'
884: psdir='${docdir}'
885: libdir='${exec_prefix}/lib'
886: localedir='${datarootdir}/locale'
887: mandir='${datarootdir}/man'
888:
889: ac_prev=
890: ac_dashdash=
891: for ac_option
892: do
893: # If the previous option needs an argument, assign it.
894: if test -n "$ac_prev"; then
895: eval $ac_prev=\$ac_option
896: ac_prev=
897: continue
898: fi
899:
900: case $ac_option in
901: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902: *=) ac_optarg= ;;
903: *) ac_optarg=yes ;;
904: esac
905:
906: # Accept the important Cygnus configure options, so we can diagnose typos.
907:
908: case $ac_dashdash$ac_option in
909: --)
910: ac_dashdash=yes ;;
911:
912: -bindir | --bindir | --bindi | --bind | --bin | --bi)
913: ac_prev=bindir ;;
914: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915: bindir=$ac_optarg ;;
916:
917: -build | --build | --buil | --bui | --bu)
918: ac_prev=build_alias ;;
919: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920: build_alias=$ac_optarg ;;
921:
922: -cache-file | --cache-file | --cache-fil | --cache-fi \
923: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924: ac_prev=cache_file ;;
925: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927: cache_file=$ac_optarg ;;
928:
929: --config-cache | -C)
930: cache_file=config.cache ;;
931:
932: -datadir | --datadir | --datadi | --datad)
933: ac_prev=datadir ;;
934: -datadir=* | --datadir=* | --datadi=* | --datad=*)
935: datadir=$ac_optarg ;;
936:
937: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938: | --dataroo | --dataro | --datar)
939: ac_prev=datarootdir ;;
940: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942: datarootdir=$ac_optarg ;;
943:
944: -disable-* | --disable-*)
945: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946: # Reject names that are not valid shell variable names.
947: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948: as_fn_error $? "invalid feature name: $ac_useropt"
949: ac_useropt_orig=$ac_useropt
950: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951: case $ac_user_opts in
952: *"
953: "enable_$ac_useropt"
954: "*) ;;
955: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956: ac_unrecognized_sep=', ';;
957: esac
958: eval enable_$ac_useropt=no ;;
959:
960: -docdir | --docdir | --docdi | --doc | --do)
961: ac_prev=docdir ;;
962: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963: docdir=$ac_optarg ;;
964:
965: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966: ac_prev=dvidir ;;
967: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968: dvidir=$ac_optarg ;;
969:
970: -enable-* | --enable-*)
971: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972: # Reject names that are not valid shell variable names.
973: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974: as_fn_error $? "invalid feature name: $ac_useropt"
975: ac_useropt_orig=$ac_useropt
976: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977: case $ac_user_opts in
978: *"
979: "enable_$ac_useropt"
980: "*) ;;
981: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982: ac_unrecognized_sep=', ';;
983: esac
984: eval enable_$ac_useropt=\$ac_optarg ;;
985:
986: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988: | --exec | --exe | --ex)
989: ac_prev=exec_prefix ;;
990: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992: | --exec=* | --exe=* | --ex=*)
993: exec_prefix=$ac_optarg ;;
994:
995: -gas | --gas | --ga | --g)
996: # Obsolete; use --with-gas.
997: with_gas=yes ;;
998:
999: -help | --help | --hel | --he | -h)
1000: ac_init_help=long ;;
1001: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002: ac_init_help=recursive ;;
1003: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004: ac_init_help=short ;;
1005:
1006: -host | --host | --hos | --ho)
1007: ac_prev=host_alias ;;
1008: -host=* | --host=* | --hos=* | --ho=*)
1009: host_alias=$ac_optarg ;;
1010:
1011: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012: ac_prev=htmldir ;;
1013: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014: | --ht=*)
1015: htmldir=$ac_optarg ;;
1016:
1017: -includedir | --includedir | --includedi | --included | --include \
1018: | --includ | --inclu | --incl | --inc)
1019: ac_prev=includedir ;;
1020: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021: | --includ=* | --inclu=* | --incl=* | --inc=*)
1022: includedir=$ac_optarg ;;
1023:
1024: -infodir | --infodir | --infodi | --infod | --info | --inf)
1025: ac_prev=infodir ;;
1026: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027: infodir=$ac_optarg ;;
1028:
1029: -libdir | --libdir | --libdi | --libd)
1030: ac_prev=libdir ;;
1031: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032: libdir=$ac_optarg ;;
1033:
1034: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035: | --libexe | --libex | --libe)
1036: ac_prev=libexecdir ;;
1037: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038: | --libexe=* | --libex=* | --libe=*)
1039: libexecdir=$ac_optarg ;;
1040:
1041: -localedir | --localedir | --localedi | --localed | --locale)
1042: ac_prev=localedir ;;
1043: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044: localedir=$ac_optarg ;;
1045:
1046: -localstatedir | --localstatedir | --localstatedi | --localstated \
1047: | --localstate | --localstat | --localsta | --localst | --locals)
1048: ac_prev=localstatedir ;;
1049: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051: localstatedir=$ac_optarg ;;
1052:
1053: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054: ac_prev=mandir ;;
1055: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056: mandir=$ac_optarg ;;
1057:
1058: -nfp | --nfp | --nf)
1059: # Obsolete; use --without-fp.
1060: with_fp=no ;;
1061:
1062: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063: | --no-cr | --no-c | -n)
1064: no_create=yes ;;
1065:
1066: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068: no_recursion=yes ;;
1069:
1070: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072: | --oldin | --oldi | --old | --ol | --o)
1073: ac_prev=oldincludedir ;;
1074: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077: oldincludedir=$ac_optarg ;;
1078:
1079: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080: ac_prev=prefix ;;
1081: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082: prefix=$ac_optarg ;;
1083:
1084: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085: | --program-pre | --program-pr | --program-p)
1086: ac_prev=program_prefix ;;
1087: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089: program_prefix=$ac_optarg ;;
1090:
1091: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092: | --program-suf | --program-su | --program-s)
1093: ac_prev=program_suffix ;;
1094: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096: program_suffix=$ac_optarg ;;
1097:
1098: -program-transform-name | --program-transform-name \
1099: | --program-transform-nam | --program-transform-na \
1100: | --program-transform-n | --program-transform- \
1101: | --program-transform | --program-transfor \
1102: | --program-transfo | --program-transf \
1103: | --program-trans | --program-tran \
1104: | --progr-tra | --program-tr | --program-t)
1105: ac_prev=program_transform_name ;;
1106: -program-transform-name=* | --program-transform-name=* \
1107: | --program-transform-nam=* | --program-transform-na=* \
1108: | --program-transform-n=* | --program-transform-=* \
1109: | --program-transform=* | --program-transfor=* \
1110: | --program-transfo=* | --program-transf=* \
1111: | --program-trans=* | --program-tran=* \
1112: | --progr-tra=* | --program-tr=* | --program-t=*)
1113: program_transform_name=$ac_optarg ;;
1114:
1115: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116: ac_prev=pdfdir ;;
1117: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118: pdfdir=$ac_optarg ;;
1119:
1120: -psdir | --psdir | --psdi | --psd | --ps)
1121: ac_prev=psdir ;;
1122: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123: psdir=$ac_optarg ;;
1124:
1125: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126: | -silent | --silent | --silen | --sile | --sil)
1127: silent=yes ;;
1128:
1129: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130: ac_prev=sbindir ;;
1131: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132: | --sbi=* | --sb=*)
1133: sbindir=$ac_optarg ;;
1134:
1135: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137: | --sharedst | --shareds | --shared | --share | --shar \
1138: | --sha | --sh)
1139: ac_prev=sharedstatedir ;;
1140: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143: | --sha=* | --sh=*)
1144: sharedstatedir=$ac_optarg ;;
1145:
1146: -site | --site | --sit)
1147: ac_prev=site ;;
1148: -site=* | --site=* | --sit=*)
1149: site=$ac_optarg ;;
1150:
1151: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152: ac_prev=srcdir ;;
1153: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154: srcdir=$ac_optarg ;;
1155:
1156: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157: | --syscon | --sysco | --sysc | --sys | --sy)
1158: ac_prev=sysconfdir ;;
1159: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161: sysconfdir=$ac_optarg ;;
1162:
1163: -target | --target | --targe | --targ | --tar | --ta | --t)
1164: ac_prev=target_alias ;;
1165: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166: target_alias=$ac_optarg ;;
1167:
1168: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169: verbose=yes ;;
1170:
1171: -version | --version | --versio | --versi | --vers | -V)
1172: ac_init_version=: ;;
1173:
1174: -with-* | --with-*)
1175: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176: # Reject names that are not valid shell variable names.
1177: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178: as_fn_error $? "invalid package name: $ac_useropt"
1179: ac_useropt_orig=$ac_useropt
1180: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181: case $ac_user_opts in
1182: *"
1183: "with_$ac_useropt"
1184: "*) ;;
1185: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186: ac_unrecognized_sep=', ';;
1187: esac
1188: eval with_$ac_useropt=\$ac_optarg ;;
1189:
1190: -without-* | --without-*)
1191: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192: # Reject names that are not valid shell variable names.
1193: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194: as_fn_error $? "invalid package name: $ac_useropt"
1195: ac_useropt_orig=$ac_useropt
1196: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197: case $ac_user_opts in
1198: *"
1199: "with_$ac_useropt"
1200: "*) ;;
1201: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202: ac_unrecognized_sep=', ';;
1203: esac
1204: eval with_$ac_useropt=no ;;
1205:
1206: --x)
1207: # Obsolete; use --with-x.
1208: with_x=yes ;;
1209:
1210: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211: | --x-incl | --x-inc | --x-in | --x-i)
1212: ac_prev=x_includes ;;
1213: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215: x_includes=$ac_optarg ;;
1216:
1217: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219: ac_prev=x_libraries ;;
1220: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222: x_libraries=$ac_optarg ;;
1223:
1224: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225: Try \`$0 --help' for more information"
1226: ;;
1227:
1228: *=*)
1229: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230: # Reject names that are not valid shell variable names.
1231: case $ac_envvar in #(
1232: '' | [0-9]* | *[!_$as_cr_alnum]* )
1233: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234: esac
1235: eval $ac_envvar=\$ac_optarg
1236: export $ac_envvar ;;
1237:
1238: *)
1239: # FIXME: should be removed in autoconf 3.0.
1240: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244: ;;
1245:
1246: esac
1247: done
1248:
1249: if test -n "$ac_prev"; then
1250: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251: as_fn_error $? "missing argument to $ac_option"
1252: fi
1253:
1254: if test -n "$ac_unrecognized_opts"; then
1255: case $enable_option_checking in
1256: no) ;;
1257: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259: esac
1260: fi
1261:
1262: # Check all directory arguments for consistency.
1263: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264: datadir sysconfdir sharedstatedir localstatedir includedir \
1265: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266: libdir localedir mandir
1267: do
1268: eval ac_val=\$$ac_var
1269: # Remove trailing slashes.
1270: case $ac_val in
1271: */ )
1272: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273: eval $ac_var=\$ac_val;;
1274: esac
1275: # Be sure to have absolute directory names.
1276: case $ac_val in
1277: [\\/$]* | ?:[\\/]* ) continue;;
1278: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279: esac
1280: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281: done
1282:
1283: # There might be people who depend on the old broken behavior: `$host'
1284: # used to hold the argument of --host etc.
1285: # FIXME: To remove some day.
1286: build=$build_alias
1287: host=$host_alias
1288: target=$target_alias
1289:
1290: # FIXME: To remove some day.
1291: if test "x$host_alias" != x; then
1292: if test "x$build_alias" = x; then
1293: cross_compiling=maybe
1294: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295: If a cross compiler is detected then cross compile mode will be used" >&2
1296: elif test "x$build_alias" != "x$host_alias"; then
1297: cross_compiling=yes
1298: fi
1299: fi
1300:
1301: ac_tool_prefix=
1302: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303:
1304: test "$silent" = yes && exec 6>/dev/null
1305:
1306:
1307: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308: ac_ls_di=`ls -di .` &&
1309: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310: as_fn_error $? "working directory cannot be determined"
1311: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312: as_fn_error $? "pwd does not report name of working directory"
1313:
1314:
1315: # Find the source files, if location was not specified.
1316: if test -z "$srcdir"; then
1317: ac_srcdir_defaulted=yes
1318: # Try the directory containing this script, then the parent directory.
1319: ac_confdir=`$as_dirname -- "$as_myself" ||
1320: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321: X"$as_myself" : 'X\(//\)[^/]' \| \
1322: X"$as_myself" : 'X\(//\)$' \| \
1323: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324: $as_echo X"$as_myself" |
1325: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326: s//\1/
1327: q
1328: }
1329: /^X\(\/\/\)[^/].*/{
1330: s//\1/
1331: q
1332: }
1333: /^X\(\/\/\)$/{
1334: s//\1/
1335: q
1336: }
1337: /^X\(\/\).*/{
1338: s//\1/
1339: q
1340: }
1341: s/.*/./; q'`
1342: srcdir=$ac_confdir
1343: if test ! -r "$srcdir/$ac_unique_file"; then
1344: srcdir=..
1345: fi
1346: else
1347: ac_srcdir_defaulted=no
1348: fi
1349: if test ! -r "$srcdir/$ac_unique_file"; then
1350: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352: fi
1353: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354: ac_abs_confdir=`(
1355: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356: pwd)`
1357: # When building in place, set srcdir=.
1358: if test "$ac_abs_confdir" = "$ac_pwd"; then
1359: srcdir=.
1360: fi
1361: # Remove unnecessary trailing slashes from srcdir.
1362: # Double slashes in file names in object file debugging info
1363: # mess up M-x gdb in Emacs.
1364: case $srcdir in
1365: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366: esac
1367: for ac_var in $ac_precious_vars; do
1368: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369: eval ac_env_${ac_var}_value=\$${ac_var}
1370: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372: done
1373:
1374: #
1375: # Report the --help message.
1376: #
1377: if test "$ac_init_help" = "long"; then
1378: # Omit some internal or obsolete options to make the list less imposing.
1379: # This message is too long to be a string in the A/UX 3.1 sh.
1380: cat <<_ACEOF
1381: \`configure' configures rpl 4.1.3 to adapt to many kinds of systems.
1382:
1383: Usage: $0 [OPTION]... [VAR=VALUE]...
1384:
1385: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386: VAR=VALUE. See below for descriptions of some of the useful variables.
1387:
1388: Defaults for the options are specified in brackets.
1389:
1390: Configuration:
1391: -h, --help display this help and exit
1392: --help=short display options specific to this package
1393: --help=recursive display the short help of all the included packages
1394: -V, --version display version information and exit
1395: -q, --quiet, --silent do not print \`checking ...' messages
1396: --cache-file=FILE cache test results in FILE [disabled]
1397: -C, --config-cache alias for \`--cache-file=config.cache'
1398: -n, --no-create do not create output files
1399: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400:
1401: Installation directories:
1402: --prefix=PREFIX install architecture-independent files in PREFIX
1403: [$ac_default_prefix]
1404: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405: [PREFIX]
1406:
1407: By default, \`make install' will install all the files in
1408: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410: for instance \`--prefix=\$HOME'.
1411:
1412: For better control, use the options below.
1413:
1414: Fine tuning of the installation directories:
1415: --bindir=DIR user executables [EPREFIX/bin]
1416: --sbindir=DIR system admin executables [EPREFIX/sbin]
1417: --libexecdir=DIR program executables [EPREFIX/libexec]
1418: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421: --libdir=DIR object code libraries [EPREFIX/lib]
1422: --includedir=DIR C header files [PREFIX/include]
1423: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426: --infodir=DIR info documentation [DATAROOTDIR/info]
1427: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428: --mandir=DIR man documentation [DATAROOTDIR/man]
1429: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1430: --htmldir=DIR html documentation [DOCDIR]
1431: --dvidir=DIR dvi documentation [DOCDIR]
1432: --pdfdir=DIR pdf documentation [DOCDIR]
1433: --psdir=DIR ps documentation [DOCDIR]
1434: _ACEOF
1435:
1436: cat <<\_ACEOF
1437:
1438: Program names:
1439: --program-prefix=PREFIX prepend PREFIX to installed program names
1440: --program-suffix=SUFFIX append SUFFIX to installed program names
1441: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442:
1443: X features:
1444: --x-includes=DIR X include files are in DIR
1445: --x-libraries=DIR X library files are in DIR
1446:
1447: System types:
1448: --build=BUILD configure for building on BUILD [guessed]
1449: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1450: --target=TARGET configure for building compilers for TARGET [HOST]
1451: _ACEOF
1452: fi
1453:
1454: if test -n "$ac_init_help"; then
1455: case $ac_init_help in
1456: short | recursive ) echo "Configuration of rpl 4.1.3:";;
1457: esac
1458: cat <<\_ACEOF
1459:
1460: Optional Features:
1461: --disable-option-checking ignore unrecognized --enable/--with options
1462: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1463: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1464: --disable-dependency-tracking speeds up one-time build
1465: --enable-dependency-tracking do not reject slow dependency extractors
1466: --enable-optimization set compiler flags [default=environment variables -O3]
1467: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1468: --enable-full-static build static RPL/2 engine [default=shared]
1469: --enable-final-encoding force final encoding [default=guessed]
1470: --enable-tex provide the TeX support [default=guessed]
1471: --enable-vim provide the vim support [default=guessed]
1472: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1473: --enable-gnuplot provide the GnuPlot support [default=guessed]
1474: --enable-motif provide the Motif support [default=guessed]
1475: --enable-experimental enable experimental code [default=no]
1476: --enable-debug enable debug code [default=no]
1477: --enable-profile enable profile code [default=no]
1478: --enable-final-run-path=PATH enable another final run path than PREFIX
1479:
1480: Optional Packages:
1481: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483: --with-x use the X Window System
1484: --with-32bits-abi force 32bits ABI (multilib)
1485: --with-64bits-abi force 64bits ABI (multilib)
1486: --with-rplcas compile rplcas (default=no)
1487: --with-mysql=PATH specify directory for installed mysql
1488: --with-postgresql=PATH specify directory for installed postgresql
1489: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1490: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1491:
1492: Some influential environment variables:
1493: CC C compiler command
1494: CFLAGS C compiler flags
1495: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1496: nonstandard directory <lib dir>
1497: LIBS libraries to pass to the linker, e.g. -l<library>
1498: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499: you have headers in a nonstandard directory <include dir>
1500: CXX C++ compiler command
1501: CXXFLAGS C++ compiler flags
1502: F77 Fortran 77 compiler command
1503: FFLAGS Fortran 77 compiler flags
1504: FC Fortran compiler command
1505: FCFLAGS Fortran compiler flags
1506: XMKMF Path to xmkmf, Makefile generator for X Window System
1507: CPP C preprocessor
1508:
1509: Use these variables to override the choices made by `configure' or to help
1510: it to find libraries and programs with nonstandard names/locations.
1511:
1512: Report bugs to the package provider.
1513: _ACEOF
1514: ac_status=$?
1515: fi
1516:
1517: if test "$ac_init_help" = "recursive"; then
1518: # If there are subdirs, report their specific --help.
1519: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1520: test -d "$ac_dir" ||
1521: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1522: continue
1523: ac_builddir=.
1524:
1525: case "$ac_dir" in
1526: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527: *)
1528: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1529: # A ".." for each directory in $ac_dir_suffix.
1530: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1531: case $ac_top_builddir_sub in
1532: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534: esac ;;
1535: esac
1536: ac_abs_top_builddir=$ac_pwd
1537: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538: # for backward compatibility:
1539: ac_top_builddir=$ac_top_build_prefix
1540:
1541: case $srcdir in
1542: .) # We are building in place.
1543: ac_srcdir=.
1544: ac_top_srcdir=$ac_top_builddir_sub
1545: ac_abs_top_srcdir=$ac_pwd ;;
1546: [\\/]* | ?:[\\/]* ) # Absolute name.
1547: ac_srcdir=$srcdir$ac_dir_suffix;
1548: ac_top_srcdir=$srcdir
1549: ac_abs_top_srcdir=$srcdir ;;
1550: *) # Relative name.
1551: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552: ac_top_srcdir=$ac_top_build_prefix$srcdir
1553: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554: esac
1555: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556:
1557: cd "$ac_dir" || { ac_status=$?; continue; }
1558: # Check for guested configure.
1559: if test -f "$ac_srcdir/configure.gnu"; then
1560: echo &&
1561: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562: elif test -f "$ac_srcdir/configure"; then
1563: echo &&
1564: $SHELL "$ac_srcdir/configure" --help=recursive
1565: else
1566: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567: fi || ac_status=$?
1568: cd "$ac_pwd" || { ac_status=$?; break; }
1569: done
1570: fi
1571:
1572: test -n "$ac_init_help" && exit $ac_status
1573: if $ac_init_version; then
1574: cat <<\_ACEOF
1575: rpl configure 4.1.3
1576: generated by GNU Autoconf 2.68
1577:
1578: Copyright (C) 2010 Free Software Foundation, Inc.
1579: This configure script is free software; the Free Software Foundation
1580: gives unlimited permission to copy, distribute and modify it.
1581: _ACEOF
1582: exit
1583: fi
1584:
1585: ## ------------------------ ##
1586: ## Autoconf initialization. ##
1587: ## ------------------------ ##
1588:
1589: # ac_fn_c_try_compile LINENO
1590: # --------------------------
1591: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1592: ac_fn_c_try_compile ()
1593: {
1594: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595: rm -f conftest.$ac_objext
1596: if { { ac_try="$ac_compile"
1597: case "(($ac_try" in
1598: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599: *) ac_try_echo=$ac_try;;
1600: esac
1601: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602: $as_echo "$ac_try_echo"; } >&5
1603: (eval "$ac_compile") 2>conftest.err
1604: ac_status=$?
1605: if test -s conftest.err; then
1606: grep -v '^ *+' conftest.err >conftest.er1
1607: cat conftest.er1 >&5
1608: mv -f conftest.er1 conftest.err
1609: fi
1610: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611: test $ac_status = 0; } && {
1612: test -z "$ac_c_werror_flag" ||
1613: test ! -s conftest.err
1614: } && test -s conftest.$ac_objext; then :
1615: ac_retval=0
1616: else
1617: $as_echo "$as_me: failed program was:" >&5
1618: sed 's/^/| /' conftest.$ac_ext >&5
1619:
1620: ac_retval=1
1621: fi
1622: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623: as_fn_set_status $ac_retval
1624:
1625: } # ac_fn_c_try_compile
1626:
1627: # ac_fn_cxx_try_compile LINENO
1628: # ----------------------------
1629: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1630: ac_fn_cxx_try_compile ()
1631: {
1632: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633: rm -f conftest.$ac_objext
1634: if { { ac_try="$ac_compile"
1635: case "(($ac_try" in
1636: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637: *) ac_try_echo=$ac_try;;
1638: esac
1639: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640: $as_echo "$ac_try_echo"; } >&5
1641: (eval "$ac_compile") 2>conftest.err
1642: ac_status=$?
1643: if test -s conftest.err; then
1644: grep -v '^ *+' conftest.err >conftest.er1
1645: cat conftest.er1 >&5
1646: mv -f conftest.er1 conftest.err
1647: fi
1648: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649: test $ac_status = 0; } && {
1650: test -z "$ac_cxx_werror_flag" ||
1651: test ! -s conftest.err
1652: } && test -s conftest.$ac_objext; then :
1653: ac_retval=0
1654: else
1655: $as_echo "$as_me: failed program was:" >&5
1656: sed 's/^/| /' conftest.$ac_ext >&5
1657:
1658: ac_retval=1
1659: fi
1660: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661: as_fn_set_status $ac_retval
1662:
1663: } # ac_fn_cxx_try_compile
1664:
1665: # ac_fn_f77_try_compile LINENO
1666: # ----------------------------
1667: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1668: ac_fn_f77_try_compile ()
1669: {
1670: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671: rm -f conftest.$ac_objext
1672: if { { ac_try="$ac_compile"
1673: case "(($ac_try" in
1674: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675: *) ac_try_echo=$ac_try;;
1676: esac
1677: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678: $as_echo "$ac_try_echo"; } >&5
1679: (eval "$ac_compile") 2>conftest.err
1680: ac_status=$?
1681: if test -s conftest.err; then
1682: grep -v '^ *+' conftest.err >conftest.er1
1683: cat conftest.er1 >&5
1684: mv -f conftest.er1 conftest.err
1685: fi
1686: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687: test $ac_status = 0; } && {
1688: test -z "$ac_f77_werror_flag" ||
1689: test ! -s conftest.err
1690: } && test -s conftest.$ac_objext; then :
1691: ac_retval=0
1692: else
1693: $as_echo "$as_me: failed program was:" >&5
1694: sed 's/^/| /' conftest.$ac_ext >&5
1695:
1696: ac_retval=1
1697: fi
1698: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699: as_fn_set_status $ac_retval
1700:
1701: } # ac_fn_f77_try_compile
1702:
1703: # ac_fn_fc_try_compile LINENO
1704: # ---------------------------
1705: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706: ac_fn_fc_try_compile ()
1707: {
1708: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709: rm -f conftest.$ac_objext
1710: if { { ac_try="$ac_compile"
1711: case "(($ac_try" in
1712: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713: *) ac_try_echo=$ac_try;;
1714: esac
1715: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716: $as_echo "$ac_try_echo"; } >&5
1717: (eval "$ac_compile") 2>conftest.err
1718: ac_status=$?
1719: if test -s conftest.err; then
1720: grep -v '^ *+' conftest.err >conftest.er1
1721: cat conftest.er1 >&5
1722: mv -f conftest.er1 conftest.err
1723: fi
1724: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725: test $ac_status = 0; } && {
1726: test -z "$ac_fc_werror_flag" ||
1727: test ! -s conftest.err
1728: } && test -s conftest.$ac_objext; then :
1729: ac_retval=0
1730: else
1731: $as_echo "$as_me: failed program was:" >&5
1732: sed 's/^/| /' conftest.$ac_ext >&5
1733:
1734: ac_retval=1
1735: fi
1736: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737: as_fn_set_status $ac_retval
1738:
1739: } # ac_fn_fc_try_compile
1740:
1741: # ac_fn_c_try_cpp LINENO
1742: # ----------------------
1743: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1744: ac_fn_c_try_cpp ()
1745: {
1746: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747: if { { ac_try="$ac_cpp conftest.$ac_ext"
1748: case "(($ac_try" in
1749: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750: *) ac_try_echo=$ac_try;;
1751: esac
1752: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753: $as_echo "$ac_try_echo"; } >&5
1754: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1755: ac_status=$?
1756: if test -s conftest.err; then
1757: grep -v '^ *+' conftest.err >conftest.er1
1758: cat conftest.er1 >&5
1759: mv -f conftest.er1 conftest.err
1760: fi
1761: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762: test $ac_status = 0; } > conftest.i && {
1763: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1764: test ! -s conftest.err
1765: }; then :
1766: ac_retval=0
1767: else
1768: $as_echo "$as_me: failed program was:" >&5
1769: sed 's/^/| /' conftest.$ac_ext >&5
1770:
1771: ac_retval=1
1772: fi
1773: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774: as_fn_set_status $ac_retval
1775:
1776: } # ac_fn_c_try_cpp
1777:
1778: # ac_fn_c_try_link LINENO
1779: # -----------------------
1780: # Try to link conftest.$ac_ext, and return whether this succeeded.
1781: ac_fn_c_try_link ()
1782: {
1783: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784: rm -f conftest.$ac_objext conftest$ac_exeext
1785: if { { ac_try="$ac_link"
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_link") 2>conftest.err
1793: ac_status=$?
1794: if test -s conftest.err; then
1795: grep -v '^ *+' conftest.err >conftest.er1
1796: cat conftest.er1 >&5
1797: mv -f conftest.er1 conftest.err
1798: fi
1799: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800: test $ac_status = 0; } && {
1801: test -z "$ac_c_werror_flag" ||
1802: test ! -s conftest.err
1803: } && test -s conftest$ac_exeext && {
1804: test "$cross_compiling" = yes ||
1805: $as_test_x conftest$ac_exeext
1806: }; then :
1807: ac_retval=0
1808: else
1809: $as_echo "$as_me: failed program was:" >&5
1810: sed 's/^/| /' conftest.$ac_ext >&5
1811:
1812: ac_retval=1
1813: fi
1814: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1815: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1816: # interfere with the next link command; also delete a directory that is
1817: # left behind by Apple's compiler. We do this before executing the actions.
1818: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820: as_fn_set_status $ac_retval
1821:
1822: } # ac_fn_c_try_link
1823:
1824: # ac_fn_c_check_func LINENO FUNC VAR
1825: # ----------------------------------
1826: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1827: ac_fn_c_check_func ()
1828: {
1829: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831: $as_echo_n "checking for $2... " >&6; }
1832: if eval \${$3+:} false; then :
1833: $as_echo_n "(cached) " >&6
1834: else
1835: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836: /* end confdefs.h. */
1837: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1839: #define $2 innocuous_$2
1840:
1841: /* System header to define __stub macros and hopefully few prototypes,
1842: which can conflict with char $2 (); below.
1843: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844: <limits.h> exists even on freestanding compilers. */
1845:
1846: #ifdef __STDC__
1847: # include <limits.h>
1848: #else
1849: # include <assert.h>
1850: #endif
1851:
1852: #undef $2
1853:
1854: /* Override any GCC internal prototype to avoid an error.
1855: Use char because int might match the return type of a GCC
1856: builtin and then its argument prototype would still apply. */
1857: #ifdef __cplusplus
1858: extern "C"
1859: #endif
1860: char $2 ();
1861: /* The GNU C library defines this for functions which it implements
1862: to always fail with ENOSYS. Some functions are actually named
1863: something starting with __ and the normal name is an alias. */
1864: #if defined __stub_$2 || defined __stub___$2
1865: choke me
1866: #endif
1867:
1868: int
1869: main ()
1870: {
1871: return $2 ();
1872: ;
1873: return 0;
1874: }
1875: _ACEOF
1876: if ac_fn_c_try_link "$LINENO"; then :
1877: eval "$3=yes"
1878: else
1879: eval "$3=no"
1880: fi
1881: rm -f core conftest.err conftest.$ac_objext \
1882: conftest$ac_exeext conftest.$ac_ext
1883: fi
1884: eval ac_res=\$$3
1885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886: $as_echo "$ac_res" >&6; }
1887: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888:
1889: } # ac_fn_c_check_func
1890:
1891: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1892: # -------------------------------------------
1893: # Tests whether TYPE exists after having included INCLUDES, setting cache
1894: # variable VAR accordingly.
1895: ac_fn_c_check_type ()
1896: {
1897: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899: $as_echo_n "checking for $2... " >&6; }
1900: if eval \${$3+:} false; then :
1901: $as_echo_n "(cached) " >&6
1902: else
1903: eval "$3=no"
1904: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905: /* end confdefs.h. */
1906: $4
1907: int
1908: main ()
1909: {
1910: if (sizeof ($2))
1911: return 0;
1912: ;
1913: return 0;
1914: }
1915: _ACEOF
1916: if ac_fn_c_try_compile "$LINENO"; then :
1917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918: /* end confdefs.h. */
1919: $4
1920: int
1921: main ()
1922: {
1923: if (sizeof (($2)))
1924: return 0;
1925: ;
1926: return 0;
1927: }
1928: _ACEOF
1929: if ac_fn_c_try_compile "$LINENO"; then :
1930:
1931: else
1932: eval "$3=yes"
1933: fi
1934: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935: fi
1936: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937: fi
1938: eval ac_res=\$$3
1939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940: $as_echo "$ac_res" >&6; }
1941: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942:
1943: } # ac_fn_c_check_type
1944:
1945: # ac_fn_c_try_run LINENO
1946: # ----------------------
1947: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1948: # that executables *can* be run.
1949: ac_fn_c_try_run ()
1950: {
1951: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952: if { { ac_try="$ac_link"
1953: case "(($ac_try" in
1954: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1955: *) ac_try_echo=$ac_try;;
1956: esac
1957: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958: $as_echo "$ac_try_echo"; } >&5
1959: (eval "$ac_link") 2>&5
1960: ac_status=$?
1961: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1962: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1963: { { case "(($ac_try" in
1964: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1965: *) ac_try_echo=$ac_try;;
1966: esac
1967: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968: $as_echo "$ac_try_echo"; } >&5
1969: (eval "$ac_try") 2>&5
1970: ac_status=$?
1971: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972: test $ac_status = 0; }; }; then :
1973: ac_retval=0
1974: else
1975: $as_echo "$as_me: program exited with status $ac_status" >&5
1976: $as_echo "$as_me: failed program was:" >&5
1977: sed 's/^/| /' conftest.$ac_ext >&5
1978:
1979: ac_retval=$ac_status
1980: fi
1981: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1982: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983: as_fn_set_status $ac_retval
1984:
1985: } # ac_fn_c_try_run
1986:
1987: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1988: # --------------------------------------------
1989: # Tries to find the compile-time value of EXPR in a program that includes
1990: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1991: # computed
1992: ac_fn_c_compute_int ()
1993: {
1994: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995: if test "$cross_compiling" = yes; then
1996: # Depending upon the size, compute the lo and hi bounds.
1997: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998: /* end confdefs.h. */
1999: $4
2000: int
2001: main ()
2002: {
2003: static int test_array [1 - 2 * !(($2) >= 0)];
2004: test_array [0] = 0
2005:
2006: ;
2007: return 0;
2008: }
2009: _ACEOF
2010: if ac_fn_c_try_compile "$LINENO"; then :
2011: ac_lo=0 ac_mid=0
2012: while :; do
2013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014: /* end confdefs.h. */
2015: $4
2016: int
2017: main ()
2018: {
2019: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2020: test_array [0] = 0
2021:
2022: ;
2023: return 0;
2024: }
2025: _ACEOF
2026: if ac_fn_c_try_compile "$LINENO"; then :
2027: ac_hi=$ac_mid; break
2028: else
2029: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2030: if test $ac_lo -le $ac_mid; then
2031: ac_lo= ac_hi=
2032: break
2033: fi
2034: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2035: fi
2036: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037: done
2038: else
2039: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040: /* end confdefs.h. */
2041: $4
2042: int
2043: main ()
2044: {
2045: static int test_array [1 - 2 * !(($2) < 0)];
2046: test_array [0] = 0
2047:
2048: ;
2049: return 0;
2050: }
2051: _ACEOF
2052: if ac_fn_c_try_compile "$LINENO"; then :
2053: ac_hi=-1 ac_mid=-1
2054: while :; do
2055: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056: /* end confdefs.h. */
2057: $4
2058: int
2059: main ()
2060: {
2061: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2062: test_array [0] = 0
2063:
2064: ;
2065: return 0;
2066: }
2067: _ACEOF
2068: if ac_fn_c_try_compile "$LINENO"; then :
2069: ac_lo=$ac_mid; break
2070: else
2071: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2072: if test $ac_mid -le $ac_hi; then
2073: ac_lo= ac_hi=
2074: break
2075: fi
2076: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2077: fi
2078: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079: done
2080: else
2081: ac_lo= ac_hi=
2082: fi
2083: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084: fi
2085: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086: # Binary search between lo and hi bounds.
2087: while test "x$ac_lo" != "x$ac_hi"; do
2088: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2089: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090: /* end confdefs.h. */
2091: $4
2092: int
2093: main ()
2094: {
2095: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2096: test_array [0] = 0
2097:
2098: ;
2099: return 0;
2100: }
2101: _ACEOF
2102: if ac_fn_c_try_compile "$LINENO"; then :
2103: ac_hi=$ac_mid
2104: else
2105: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2106: fi
2107: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108: done
2109: case $ac_lo in #((
2110: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2111: '') ac_retval=1 ;;
2112: esac
2113: else
2114: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115: /* end confdefs.h. */
2116: $4
2117: static long int longval () { return $2; }
2118: static unsigned long int ulongval () { return $2; }
2119: #include <stdio.h>
2120: #include <stdlib.h>
2121: int
2122: main ()
2123: {
2124:
2125: FILE *f = fopen ("conftest.val", "w");
2126: if (! f)
2127: return 1;
2128: if (($2) < 0)
2129: {
2130: long int i = longval ();
2131: if (i != ($2))
2132: return 1;
2133: fprintf (f, "%ld", i);
2134: }
2135: else
2136: {
2137: unsigned long int i = ulongval ();
2138: if (i != ($2))
2139: return 1;
2140: fprintf (f, "%lu", i);
2141: }
2142: /* Do not output a trailing newline, as this causes \r\n confusion
2143: on some platforms. */
2144: return ferror (f) || fclose (f) != 0;
2145:
2146: ;
2147: return 0;
2148: }
2149: _ACEOF
2150: if ac_fn_c_try_run "$LINENO"; then :
2151: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2152: else
2153: ac_retval=1
2154: fi
2155: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2156: conftest.$ac_objext conftest.beam conftest.$ac_ext
2157: rm -f conftest.val
2158:
2159: fi
2160: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161: as_fn_set_status $ac_retval
2162:
2163: } # ac_fn_c_compute_int
2164:
2165: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2166: # -------------------------------------------------------
2167: # Tests whether HEADER exists and can be compiled using the include files in
2168: # INCLUDES, setting the cache variable VAR accordingly.
2169: ac_fn_c_check_header_compile ()
2170: {
2171: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173: $as_echo_n "checking for $2... " >&6; }
2174: if eval \${$3+:} false; then :
2175: $as_echo_n "(cached) " >&6
2176: else
2177: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178: /* end confdefs.h. */
2179: $4
2180: #include <$2>
2181: _ACEOF
2182: if ac_fn_c_try_compile "$LINENO"; then :
2183: eval "$3=yes"
2184: else
2185: eval "$3=no"
2186: fi
2187: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188: fi
2189: eval ac_res=\$$3
2190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191: $as_echo "$ac_res" >&6; }
2192: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2193:
2194: } # ac_fn_c_check_header_compile
2195:
2196: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2197: # -------------------------------------------------------
2198: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2199: # the include files in INCLUDES and setting the cache variable VAR
2200: # accordingly.
2201: ac_fn_c_check_header_mongrel ()
2202: {
2203: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204: if eval \${$3+:} false; then :
2205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206: $as_echo_n "checking for $2... " >&6; }
2207: if eval \${$3+:} false; then :
2208: $as_echo_n "(cached) " >&6
2209: fi
2210: eval ac_res=\$$3
2211: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212: $as_echo "$ac_res" >&6; }
2213: else
2214: # Is the header compilable?
2215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2216: $as_echo_n "checking $2 usability... " >&6; }
2217: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218: /* end confdefs.h. */
2219: $4
2220: #include <$2>
2221: _ACEOF
2222: if ac_fn_c_try_compile "$LINENO"; then :
2223: ac_header_compiler=yes
2224: else
2225: ac_header_compiler=no
2226: fi
2227: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2229: $as_echo "$ac_header_compiler" >&6; }
2230:
2231: # Is the header present?
2232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2233: $as_echo_n "checking $2 presence... " >&6; }
2234: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235: /* end confdefs.h. */
2236: #include <$2>
2237: _ACEOF
2238: if ac_fn_c_try_cpp "$LINENO"; then :
2239: ac_header_preproc=yes
2240: else
2241: ac_header_preproc=no
2242: fi
2243: rm -f conftest.err conftest.i conftest.$ac_ext
2244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2245: $as_echo "$ac_header_preproc" >&6; }
2246:
2247: # So? What about this header?
2248: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2249: yes:no: )
2250: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2251: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2252: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254: ;;
2255: no:yes:* )
2256: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2257: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2258: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2259: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2260: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2261: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2262: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2263: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2264: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2265: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266: ;;
2267: esac
2268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2269: $as_echo_n "checking for $2... " >&6; }
2270: if eval \${$3+:} false; then :
2271: $as_echo_n "(cached) " >&6
2272: else
2273: eval "$3=\$ac_header_compiler"
2274: fi
2275: eval ac_res=\$$3
2276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277: $as_echo "$ac_res" >&6; }
2278: fi
2279: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280:
2281: } # ac_fn_c_check_header_mongrel
2282: cat >config.log <<_ACEOF
2283: This file contains any messages produced by compilers while
2284: running configure, to aid debugging if configure makes a mistake.
2285:
2286: It was created by rpl $as_me 4.1.3, which was
2287: generated by GNU Autoconf 2.68. Invocation command line was
2288:
2289: $ $0 $@
2290:
2291: _ACEOF
2292: exec 5>>config.log
2293: {
2294: cat <<_ASUNAME
2295: ## --------- ##
2296: ## Platform. ##
2297: ## --------- ##
2298:
2299: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2300: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2301: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2302: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2303: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2304:
2305: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2306: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2307:
2308: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2309: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2310: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2311: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2312: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2313: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2314: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2315:
2316: _ASUNAME
2317:
2318: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319: for as_dir in $PATH
2320: do
2321: IFS=$as_save_IFS
2322: test -z "$as_dir" && as_dir=.
2323: $as_echo "PATH: $as_dir"
2324: done
2325: IFS=$as_save_IFS
2326:
2327: } >&5
2328:
2329: cat >&5 <<_ACEOF
2330:
2331:
2332: ## ----------- ##
2333: ## Core tests. ##
2334: ## ----------- ##
2335:
2336: _ACEOF
2337:
2338:
2339: # Keep a trace of the command line.
2340: # Strip out --no-create and --no-recursion so they do not pile up.
2341: # Strip out --silent because we don't want to record it for future runs.
2342: # Also quote any args containing shell meta-characters.
2343: # Make two passes to allow for proper duplicate-argument suppression.
2344: ac_configure_args=
2345: ac_configure_args0=
2346: ac_configure_args1=
2347: ac_must_keep_next=false
2348: for ac_pass in 1 2
2349: do
2350: for ac_arg
2351: do
2352: case $ac_arg in
2353: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2354: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2355: | -silent | --silent | --silen | --sile | --sil)
2356: continue ;;
2357: *\'*)
2358: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2359: esac
2360: case $ac_pass in
2361: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2362: 2)
2363: as_fn_append ac_configure_args1 " '$ac_arg'"
2364: if test $ac_must_keep_next = true; then
2365: ac_must_keep_next=false # Got value, back to normal.
2366: else
2367: case $ac_arg in
2368: *=* | --config-cache | -C | -disable-* | --disable-* \
2369: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2370: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2371: | -with-* | --with-* | -without-* | --without-* | --x)
2372: case "$ac_configure_args0 " in
2373: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2374: esac
2375: ;;
2376: -* ) ac_must_keep_next=true ;;
2377: esac
2378: fi
2379: as_fn_append ac_configure_args " '$ac_arg'"
2380: ;;
2381: esac
2382: done
2383: done
2384: { ac_configure_args0=; unset ac_configure_args0;}
2385: { ac_configure_args1=; unset ac_configure_args1;}
2386:
2387: # When interrupted or exit'd, cleanup temporary files, and complete
2388: # config.log. We remove comments because anyway the quotes in there
2389: # would cause problems or look ugly.
2390: # WARNING: Use '\'' to represent an apostrophe within the trap.
2391: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2392: trap 'exit_status=$?
2393: # Save into config.log some information that might help in debugging.
2394: {
2395: echo
2396:
2397: $as_echo "## ---------------- ##
2398: ## Cache variables. ##
2399: ## ---------------- ##"
2400: echo
2401: # The following way of writing the cache mishandles newlines in values,
2402: (
2403: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2404: eval ac_val=\$$ac_var
2405: case $ac_val in #(
2406: *${as_nl}*)
2407: case $ac_var in #(
2408: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2409: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2410: esac
2411: case $ac_var in #(
2412: _ | IFS | as_nl) ;; #(
2413: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2414: *) { eval $ac_var=; unset $ac_var;} ;;
2415: esac ;;
2416: esac
2417: done
2418: (set) 2>&1 |
2419: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2420: *${as_nl}ac_space=\ *)
2421: sed -n \
2422: "s/'\''/'\''\\\\'\'''\''/g;
2423: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2424: ;; #(
2425: *)
2426: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2427: ;;
2428: esac |
2429: sort
2430: )
2431: echo
2432:
2433: $as_echo "## ----------------- ##
2434: ## Output variables. ##
2435: ## ----------------- ##"
2436: echo
2437: for ac_var in $ac_subst_vars
2438: do
2439: eval ac_val=\$$ac_var
2440: case $ac_val in
2441: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442: esac
2443: $as_echo "$ac_var='\''$ac_val'\''"
2444: done | sort
2445: echo
2446:
2447: if test -n "$ac_subst_files"; then
2448: $as_echo "## ------------------- ##
2449: ## File substitutions. ##
2450: ## ------------------- ##"
2451: echo
2452: for ac_var in $ac_subst_files
2453: do
2454: eval ac_val=\$$ac_var
2455: case $ac_val in
2456: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2457: esac
2458: $as_echo "$ac_var='\''$ac_val'\''"
2459: done | sort
2460: echo
2461: fi
2462:
2463: if test -s confdefs.h; then
2464: $as_echo "## ----------- ##
2465: ## confdefs.h. ##
2466: ## ----------- ##"
2467: echo
2468: cat confdefs.h
2469: echo
2470: fi
2471: test "$ac_signal" != 0 &&
2472: $as_echo "$as_me: caught signal $ac_signal"
2473: $as_echo "$as_me: exit $exit_status"
2474: } >&5
2475: rm -f core *.core core.conftest.* &&
2476: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2477: exit $exit_status
2478: ' 0
2479: for ac_signal in 1 2 13 15; do
2480: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2481: done
2482: ac_signal=0
2483:
2484: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2485: rm -f -r conftest* confdefs.h
2486:
2487: $as_echo "/* confdefs.h */" > confdefs.h
2488:
2489: # Predefined preprocessor variables.
2490:
2491: cat >>confdefs.h <<_ACEOF
2492: #define PACKAGE_NAME "$PACKAGE_NAME"
2493: _ACEOF
2494:
2495: cat >>confdefs.h <<_ACEOF
2496: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2497: _ACEOF
2498:
2499: cat >>confdefs.h <<_ACEOF
2500: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2501: _ACEOF
2502:
2503: cat >>confdefs.h <<_ACEOF
2504: #define PACKAGE_STRING "$PACKAGE_STRING"
2505: _ACEOF
2506:
2507: cat >>confdefs.h <<_ACEOF
2508: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2509: _ACEOF
2510:
2511: cat >>confdefs.h <<_ACEOF
2512: #define PACKAGE_URL "$PACKAGE_URL"
2513: _ACEOF
2514:
2515:
2516: # Let the site file select an alternate cache file if it wants to.
2517: # Prefer an explicitly selected file to automatically selected ones.
2518: ac_site_file1=NONE
2519: ac_site_file2=NONE
2520: if test -n "$CONFIG_SITE"; then
2521: # We do not want a PATH search for config.site.
2522: case $CONFIG_SITE in #((
2523: -*) ac_site_file1=./$CONFIG_SITE;;
2524: */*) ac_site_file1=$CONFIG_SITE;;
2525: *) ac_site_file1=./$CONFIG_SITE;;
2526: esac
2527: elif test "x$prefix" != xNONE; then
2528: ac_site_file1=$prefix/share/config.site
2529: ac_site_file2=$prefix/etc/config.site
2530: else
2531: ac_site_file1=$ac_default_prefix/share/config.site
2532: ac_site_file2=$ac_default_prefix/etc/config.site
2533: fi
2534: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2535: do
2536: test "x$ac_site_file" = xNONE && continue
2537: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2538: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2539: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2540: sed 's/^/| /' "$ac_site_file" >&5
2541: . "$ac_site_file" \
2542: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2543: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544: as_fn_error $? "failed to load site script $ac_site_file
2545: See \`config.log' for more details" "$LINENO" 5; }
2546: fi
2547: done
2548:
2549: if test -r "$cache_file"; then
2550: # Some versions of bash will fail to source /dev/null (special files
2551: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2552: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2553: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2554: $as_echo "$as_me: loading cache $cache_file" >&6;}
2555: case $cache_file in
2556: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2557: *) . "./$cache_file";;
2558: esac
2559: fi
2560: else
2561: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2562: $as_echo "$as_me: creating cache $cache_file" >&6;}
2563: >$cache_file
2564: fi
2565:
2566: # Check that the precious variables saved in the cache have kept the same
2567: # value.
2568: ac_cache_corrupted=false
2569: for ac_var in $ac_precious_vars; do
2570: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2571: eval ac_new_set=\$ac_env_${ac_var}_set
2572: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2573: eval ac_new_val=\$ac_env_${ac_var}_value
2574: case $ac_old_set,$ac_new_set in
2575: set,)
2576: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2577: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2578: ac_cache_corrupted=: ;;
2579: ,set)
2580: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2581: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2582: ac_cache_corrupted=: ;;
2583: ,);;
2584: *)
2585: if test "x$ac_old_val" != "x$ac_new_val"; then
2586: # differences in whitespace do not lead to failure.
2587: ac_old_val_w=`echo x $ac_old_val`
2588: ac_new_val_w=`echo x $ac_new_val`
2589: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2590: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2591: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2592: ac_cache_corrupted=:
2593: else
2594: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2595: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2596: eval $ac_var=\$ac_old_val
2597: fi
2598: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2599: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2600: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2601: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2602: fi;;
2603: esac
2604: # Pass precious variables to config.status.
2605: if test "$ac_new_set" = set; then
2606: case $ac_new_val in
2607: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2608: *) ac_arg=$ac_var=$ac_new_val ;;
2609: esac
2610: case " $ac_configure_args " in
2611: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2612: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2613: esac
2614: fi
2615: done
2616: if $ac_cache_corrupted; then
2617: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2618: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2619: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2620: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2621: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2622: fi
2623: ## -------------------- ##
2624: ## Main body of script. ##
2625: ## -------------------- ##
2626:
2627: ac_ext=c
2628: ac_cpp='$CPP $CPPFLAGS'
2629: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2631: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632:
2633:
2634: ac_aux_dir=
2635: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2636: if test -f "$ac_dir/install-sh"; then
2637: ac_aux_dir=$ac_dir
2638: ac_install_sh="$ac_aux_dir/install-sh -c"
2639: break
2640: elif test -f "$ac_dir/install.sh"; then
2641: ac_aux_dir=$ac_dir
2642: ac_install_sh="$ac_aux_dir/install.sh -c"
2643: break
2644: elif test -f "$ac_dir/shtool"; then
2645: ac_aux_dir=$ac_dir
2646: ac_install_sh="$ac_aux_dir/shtool install -c"
2647: break
2648: fi
2649: done
2650: if test -z "$ac_aux_dir"; then
2651: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2652: fi
2653:
2654: # These three variables are undocumented and unsupported,
2655: # and are intended to be withdrawn in a future Autoconf release.
2656: # They can cause serious problems if a builder's source tree is in a directory
2657: # whose full name contains unusual characters.
2658: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2659: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2660: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2661:
2662:
2663: # Make sure we can run config.sub.
2664: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2665: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2666:
2667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2668: $as_echo_n "checking build system type... " >&6; }
2669: if ${ac_cv_build+:} false; then :
2670: $as_echo_n "(cached) " >&6
2671: else
2672: ac_build_alias=$build_alias
2673: test "x$ac_build_alias" = x &&
2674: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2675: test "x$ac_build_alias" = x &&
2676: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2677: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2678: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2679:
2680: fi
2681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2682: $as_echo "$ac_cv_build" >&6; }
2683: case $ac_cv_build in
2684: *-*-*) ;;
2685: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2686: esac
2687: build=$ac_cv_build
2688: ac_save_IFS=$IFS; IFS='-'
2689: set x $ac_cv_build
2690: shift
2691: build_cpu=$1
2692: build_vendor=$2
2693: shift; shift
2694: # Remember, the first character of IFS is used to create $*,
2695: # except with old shells:
2696: build_os=$*
2697: IFS=$ac_save_IFS
2698: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2699:
2700:
2701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2702: $as_echo_n "checking host system type... " >&6; }
2703: if ${ac_cv_host+:} false; then :
2704: $as_echo_n "(cached) " >&6
2705: else
2706: if test "x$host_alias" = x; then
2707: ac_cv_host=$ac_cv_build
2708: else
2709: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2710: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2711: fi
2712:
2713: fi
2714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2715: $as_echo "$ac_cv_host" >&6; }
2716: case $ac_cv_host in
2717: *-*-*) ;;
2718: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2719: esac
2720: host=$ac_cv_host
2721: ac_save_IFS=$IFS; IFS='-'
2722: set x $ac_cv_host
2723: shift
2724: host_cpu=$1
2725: host_vendor=$2
2726: shift; shift
2727: # Remember, the first character of IFS is used to create $*,
2728: # except with old shells:
2729: host_os=$*
2730: IFS=$ac_save_IFS
2731: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2732:
2733:
2734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2735: $as_echo_n "checking target system type... " >&6; }
2736: if ${ac_cv_target+:} false; then :
2737: $as_echo_n "(cached) " >&6
2738: else
2739: if test "x$target_alias" = x; then
2740: ac_cv_target=$ac_cv_host
2741: else
2742: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2743: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2744: fi
2745:
2746: fi
2747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2748: $as_echo "$ac_cv_target" >&6; }
2749: case $ac_cv_target in
2750: *-*-*) ;;
2751: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2752: esac
2753: target=$ac_cv_target
2754: ac_save_IFS=$IFS; IFS='-'
2755: set x $ac_cv_target
2756: shift
2757: target_cpu=$1
2758: target_vendor=$2
2759: shift; shift
2760: # Remember, the first character of IFS is used to create $*,
2761: # except with old shells:
2762: target_os=$*
2763: IFS=$ac_save_IFS
2764: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2765:
2766:
2767: # The aliases save the names the user supplied, while $host etc.
2768: # will get canonicalized.
2769: test -n "$target_alias" &&
2770: test "$program_prefix$program_suffix$program_transform_name" = \
2771: NONENONEs,x,x, &&
2772: program_prefix=${target_alias}-
2773:
2774: am__api_version='1.11'
2775:
2776: # Find a good install program. We prefer a C program (faster),
2777: # so one script is as good as another. But avoid the broken or
2778: # incompatible versions:
2779: # SysV /etc/install, /usr/sbin/install
2780: # SunOS /usr/etc/install
2781: # IRIX /sbin/install
2782: # AIX /bin/install
2783: # AmigaOS /C/install, which installs bootblocks on floppy discs
2784: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2785: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2786: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2787: # OS/2's system install, which has a completely different semantic
2788: # ./install, which can be erroneously created by make from ./install.sh.
2789: # Reject install programs that cannot install multiple files.
2790: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2791: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2792: if test -z "$INSTALL"; then
2793: if ${ac_cv_path_install+:} false; then :
2794: $as_echo_n "(cached) " >&6
2795: else
2796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797: for as_dir in $PATH
2798: do
2799: IFS=$as_save_IFS
2800: test -z "$as_dir" && as_dir=.
2801: # Account for people who put trailing slashes in PATH elements.
2802: case $as_dir/ in #((
2803: ./ | .// | /[cC]/* | \
2804: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2805: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2806: /usr/ucb/* ) ;;
2807: *)
2808: # OSF1 and SCO ODT 3.0 have their own names for install.
2809: # Don't use installbsd from OSF since it installs stuff as root
2810: # by default.
2811: for ac_prog in ginstall scoinst install; do
2812: for ac_exec_ext in '' $ac_executable_extensions; do
2813: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2814: if test $ac_prog = install &&
2815: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2816: # AIX install. It has an incompatible calling convention.
2817: :
2818: elif test $ac_prog = install &&
2819: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2820: # program-specific install script used by HP pwplus--don't use.
2821: :
2822: else
2823: rm -rf conftest.one conftest.two conftest.dir
2824: echo one > conftest.one
2825: echo two > conftest.two
2826: mkdir conftest.dir
2827: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2828: test -s conftest.one && test -s conftest.two &&
2829: test -s conftest.dir/conftest.one &&
2830: test -s conftest.dir/conftest.two
2831: then
2832: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2833: break 3
2834: fi
2835: fi
2836: fi
2837: done
2838: done
2839: ;;
2840: esac
2841:
2842: done
2843: IFS=$as_save_IFS
2844:
2845: rm -rf conftest.one conftest.two conftest.dir
2846:
2847: fi
2848: if test "${ac_cv_path_install+set}" = set; then
2849: INSTALL=$ac_cv_path_install
2850: else
2851: # As a last resort, use the slow shell script. Don't cache a
2852: # value for INSTALL within a source directory, because that will
2853: # break other packages using the cache if that directory is
2854: # removed, or if the value is a relative name.
2855: INSTALL=$ac_install_sh
2856: fi
2857: fi
2858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2859: $as_echo "$INSTALL" >&6; }
2860:
2861: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2862: # It thinks the first close brace ends the variable substitution.
2863: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2864:
2865: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2866:
2867: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2868:
2869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2870: $as_echo_n "checking whether build environment is sane... " >&6; }
2871: # Just in case
2872: sleep 1
2873: echo timestamp > conftest.file
2874: # Reject unsafe characters in $srcdir or the absolute working directory
2875: # name. Accept space and tab only in the latter.
2876: am_lf='
2877: '
2878: case `pwd` in
2879: *[\\\"\#\$\&\'\`$am_lf]*)
2880: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2881: esac
2882: case $srcdir in
2883: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2884: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2885: esac
2886:
2887: # Do `set' in a subshell so we don't clobber the current shell's
2888: # arguments. Must try -L first in case configure is actually a
2889: # symlink; some systems play weird games with the mod time of symlinks
2890: # (eg FreeBSD returns the mod time of the symlink's containing
2891: # directory).
2892: if (
2893: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2894: if test "$*" = "X"; then
2895: # -L didn't work.
2896: set X `ls -t "$srcdir/configure" conftest.file`
2897: fi
2898: rm -f conftest.file
2899: if test "$*" != "X $srcdir/configure conftest.file" \
2900: && test "$*" != "X conftest.file $srcdir/configure"; then
2901:
2902: # If neither matched, then we have a broken ls. This can happen
2903: # if, for instance, CONFIG_SHELL is bash and it inherits a
2904: # broken ls alias from the environment. This has actually
2905: # happened. Such a system could not be considered "sane".
2906: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2907: alias in your environment" "$LINENO" 5
2908: fi
2909:
2910: test "$2" = conftest.file
2911: )
2912: then
2913: # Ok.
2914: :
2915: else
2916: as_fn_error $? "newly created file is older than distributed files!
2917: Check your system clock" "$LINENO" 5
2918: fi
2919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2920: $as_echo "yes" >&6; }
2921: test "$program_prefix" != NONE &&
2922: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2923: # Use a double $ so make ignores it.
2924: test "$program_suffix" != NONE &&
2925: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2926: # Double any \ or $.
2927: # By default was `s,x,x', remove it if useless.
2928: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2929: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2930:
2931: # expand $ac_aux_dir to an absolute path
2932: am_aux_dir=`cd $ac_aux_dir && pwd`
2933:
2934: if test x"${MISSING+set}" != xset; then
2935: case $am_aux_dir in
2936: *\ * | *\ *)
2937: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2938: *)
2939: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2940: esac
2941: fi
2942: # Use eval to expand $SHELL
2943: if eval "$MISSING --run true"; then
2944: am_missing_run="$MISSING --run "
2945: else
2946: am_missing_run=
2947: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2948: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2949: fi
2950:
2951: if test x"${install_sh}" != xset; then
2952: case $am_aux_dir in
2953: *\ * | *\ *)
2954: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2955: *)
2956: install_sh="\${SHELL} $am_aux_dir/install-sh"
2957: esac
2958: fi
2959:
2960: # Installed binaries are usually stripped using `strip' when the user
2961: # run `make install-strip'. However `strip' might not be the right
2962: # tool to use in cross-compilation environments, therefore Automake
2963: # will honor the `STRIP' environment variable to overrule this program.
2964: if test "$cross_compiling" != no; then
2965: if test -n "$ac_tool_prefix"; then
2966: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2967: set dummy ${ac_tool_prefix}strip; ac_word=$2
2968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969: $as_echo_n "checking for $ac_word... " >&6; }
2970: if ${ac_cv_prog_STRIP+:} false; then :
2971: $as_echo_n "(cached) " >&6
2972: else
2973: if test -n "$STRIP"; then
2974: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2975: else
2976: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977: for as_dir in $PATH
2978: do
2979: IFS=$as_save_IFS
2980: test -z "$as_dir" && as_dir=.
2981: for ac_exec_ext in '' $ac_executable_extensions; do
2982: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2984: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985: break 2
2986: fi
2987: done
2988: done
2989: IFS=$as_save_IFS
2990:
2991: fi
2992: fi
2993: STRIP=$ac_cv_prog_STRIP
2994: if test -n "$STRIP"; then
2995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2996: $as_echo "$STRIP" >&6; }
2997: else
2998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999: $as_echo "no" >&6; }
3000: fi
3001:
3002:
3003: fi
3004: if test -z "$ac_cv_prog_STRIP"; then
3005: ac_ct_STRIP=$STRIP
3006: # Extract the first word of "strip", so it can be a program name with args.
3007: set dummy strip; ac_word=$2
3008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009: $as_echo_n "checking for $ac_word... " >&6; }
3010: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3011: $as_echo_n "(cached) " >&6
3012: else
3013: if test -n "$ac_ct_STRIP"; then
3014: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3015: else
3016: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017: for as_dir in $PATH
3018: do
3019: IFS=$as_save_IFS
3020: test -z "$as_dir" && as_dir=.
3021: for ac_exec_ext in '' $ac_executable_extensions; do
3022: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023: ac_cv_prog_ac_ct_STRIP="strip"
3024: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025: break 2
3026: fi
3027: done
3028: done
3029: IFS=$as_save_IFS
3030:
3031: fi
3032: fi
3033: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3034: if test -n "$ac_ct_STRIP"; then
3035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3036: $as_echo "$ac_ct_STRIP" >&6; }
3037: else
3038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039: $as_echo "no" >&6; }
3040: fi
3041:
3042: if test "x$ac_ct_STRIP" = x; then
3043: STRIP=":"
3044: else
3045: case $cross_compiling:$ac_tool_warned in
3046: yes:)
3047: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3048: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3049: ac_tool_warned=yes ;;
3050: esac
3051: STRIP=$ac_ct_STRIP
3052: fi
3053: else
3054: STRIP="$ac_cv_prog_STRIP"
3055: fi
3056:
3057: fi
3058: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3059:
3060: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3061: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3062: if test -z "$MKDIR_P"; then
3063: if ${ac_cv_path_mkdir+:} false; then :
3064: $as_echo_n "(cached) " >&6
3065: else
3066: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3068: do
3069: IFS=$as_save_IFS
3070: test -z "$as_dir" && as_dir=.
3071: for ac_prog in mkdir gmkdir; do
3072: for ac_exec_ext in '' $ac_executable_extensions; do
3073: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3074: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3075: 'mkdir (GNU coreutils) '* | \
3076: 'mkdir (coreutils) '* | \
3077: 'mkdir (fileutils) '4.1*)
3078: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3079: break 3;;
3080: esac
3081: done
3082: done
3083: done
3084: IFS=$as_save_IFS
3085:
3086: fi
3087:
3088: test -d ./--version && rmdir ./--version
3089: if test "${ac_cv_path_mkdir+set}" = set; then
3090: MKDIR_P="$ac_cv_path_mkdir -p"
3091: else
3092: # As a last resort, use the slow shell script. Don't cache a
3093: # value for MKDIR_P within a source directory, because that will
3094: # break other packages using the cache if that directory is
3095: # removed, or if the value is a relative name.
3096: MKDIR_P="$ac_install_sh -d"
3097: fi
3098: fi
3099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3100: $as_echo "$MKDIR_P" >&6; }
3101:
3102: mkdir_p="$MKDIR_P"
3103: case $mkdir_p in
3104: [\\/$]* | ?:[\\/]*) ;;
3105: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3106: esac
3107:
3108: for ac_prog in gawk mawk nawk awk
3109: do
3110: # Extract the first word of "$ac_prog", so it can be a program name with args.
3111: set dummy $ac_prog; ac_word=$2
3112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113: $as_echo_n "checking for $ac_word... " >&6; }
3114: if ${ac_cv_prog_AWK+:} false; then :
3115: $as_echo_n "(cached) " >&6
3116: else
3117: if test -n "$AWK"; then
3118: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3119: else
3120: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121: for as_dir in $PATH
3122: do
3123: IFS=$as_save_IFS
3124: test -z "$as_dir" && as_dir=.
3125: for ac_exec_ext in '' $ac_executable_extensions; do
3126: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127: ac_cv_prog_AWK="$ac_prog"
3128: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129: break 2
3130: fi
3131: done
3132: done
3133: IFS=$as_save_IFS
3134:
3135: fi
3136: fi
3137: AWK=$ac_cv_prog_AWK
3138: if test -n "$AWK"; then
3139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3140: $as_echo "$AWK" >&6; }
3141: else
3142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143: $as_echo "no" >&6; }
3144: fi
3145:
3146:
3147: test -n "$AWK" && break
3148: done
3149:
3150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3151: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3152: set x ${MAKE-make}
3153: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3154: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3155: $as_echo_n "(cached) " >&6
3156: else
3157: cat >conftest.make <<\_ACEOF
3158: SHELL = /bin/sh
3159: all:
3160: @echo '@@@%%%=$(MAKE)=@@@%%%'
3161: _ACEOF
3162: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3163: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3164: *@@@%%%=?*=@@@%%%*)
3165: eval ac_cv_prog_make_${ac_make}_set=yes;;
3166: *)
3167: eval ac_cv_prog_make_${ac_make}_set=no;;
3168: esac
3169: rm -f conftest.make
3170: fi
3171: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173: $as_echo "yes" >&6; }
3174: SET_MAKE=
3175: else
3176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177: $as_echo "no" >&6; }
3178: SET_MAKE="MAKE=${MAKE-make}"
3179: fi
3180:
3181: rm -rf .tst 2>/dev/null
3182: mkdir .tst 2>/dev/null
3183: if test -d .tst; then
3184: am__leading_dot=.
3185: else
3186: am__leading_dot=_
3187: fi
3188: rmdir .tst 2>/dev/null
3189:
3190: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3191: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3192: # is not polluted with repeated "-I."
3193: am__isrc=' -I$(srcdir)'
3194: # test to see if srcdir already configured
3195: if test -f $srcdir/config.status; then
3196: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3197: fi
3198: fi
3199:
3200: # test whether we have cygpath
3201: if test -z "$CYGPATH_W"; then
3202: if (cygpath --version) >/dev/null 2>/dev/null; then
3203: CYGPATH_W='cygpath -w'
3204: else
3205: CYGPATH_W=echo
3206: fi
3207: fi
3208:
3209:
3210: # Define the identity of the package.
3211: PACKAGE='rpl'
3212: VERSION='4.1.3'
3213:
3214:
3215: cat >>confdefs.h <<_ACEOF
3216: #define PACKAGE "$PACKAGE"
3217: _ACEOF
3218:
3219:
3220: cat >>confdefs.h <<_ACEOF
3221: #define VERSION "$VERSION"
3222: _ACEOF
3223:
3224: # Some tools Automake needs.
3225:
3226: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3227:
3228:
3229: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3230:
3231:
3232: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3233:
3234:
3235: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3236:
3237:
3238: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3239:
3240: # We need awk for the "check" target. The system "awk" is bad on
3241: # some platforms.
3242: # Always define AMTAR for backward compatibility.
3243:
3244: AMTAR=${AMTAR-"${am_missing_run}tar"}
3245:
3246: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3247:
3248:
3249:
3250:
3251:
3252:
3253: ac_config_headers="$ac_config_headers rplconfig.h"
3254:
3255:
3256: NCURSES=ncurses-5.9
3257: READLINE=readline-6.2
3258: UNITS=units-1.88
3259: GSL=gsl-1.15
3260: GPP=gpp-3.0
3261: GNUPLOT=gnuplot-4.4.3
3262: FILE=file-5.03
3263: ICONV=libiconv-1.13.1
3264: SQLITE=sqlite-3.7.7.1
3265: OPENSSL=openssl-1.0.0e
3266: OPENMOTIF=openmotif-2.3.3
3267: LIBXPM=libXpm-3.5.9
3268: SIGSEGV=libsigsegv-2.6
3269:
3270: GMP=gmp-5.0.2
3271: MPFR=mpfr-3.0.1
3272: NTL=ntl-5.5.2
3273: COCOA=CoCoALib-0.9943
3274: PARI=pari-2.5.0
3275: GIAC=giac-0.9.3
3276:
3277: ac_ext=c
3278: ac_cpp='$CPP $CPPFLAGS'
3279: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3282: if test -n "$ac_tool_prefix"; then
3283: for ac_prog in gcc
3284: do
3285: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288: $as_echo_n "checking for $ac_word... " >&6; }
3289: if ${ac_cv_prog_CC+:} false; then :
3290: $as_echo_n "(cached) " >&6
3291: else
3292: if test -n "$CC"; then
3293: ac_cv_prog_CC="$CC" # Let the user override the test.
3294: else
3295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296: for as_dir in $PATH
3297: do
3298: IFS=$as_save_IFS
3299: test -z "$as_dir" && as_dir=.
3300: for ac_exec_ext in '' $ac_executable_extensions; do
3301: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3303: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304: break 2
3305: fi
3306: done
3307: done
3308: IFS=$as_save_IFS
3309:
3310: fi
3311: fi
3312: CC=$ac_cv_prog_CC
3313: if test -n "$CC"; then
3314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315: $as_echo "$CC" >&6; }
3316: else
3317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318: $as_echo "no" >&6; }
3319: fi
3320:
3321:
3322: test -n "$CC" && break
3323: done
3324: fi
3325: if test -z "$CC"; then
3326: ac_ct_CC=$CC
3327: for ac_prog in gcc
3328: do
3329: # Extract the first word of "$ac_prog", so it can be a program name with args.
3330: set dummy $ac_prog; ac_word=$2
3331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332: $as_echo_n "checking for $ac_word... " >&6; }
3333: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3334: $as_echo_n "(cached) " >&6
3335: else
3336: if test -n "$ac_ct_CC"; then
3337: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3338: else
3339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340: for as_dir in $PATH
3341: do
3342: IFS=$as_save_IFS
3343: test -z "$as_dir" && as_dir=.
3344: for ac_exec_ext in '' $ac_executable_extensions; do
3345: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346: ac_cv_prog_ac_ct_CC="$ac_prog"
3347: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348: break 2
3349: fi
3350: done
3351: done
3352: IFS=$as_save_IFS
3353:
3354: fi
3355: fi
3356: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3357: if test -n "$ac_ct_CC"; then
3358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3359: $as_echo "$ac_ct_CC" >&6; }
3360: else
3361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362: $as_echo "no" >&6; }
3363: fi
3364:
3365:
3366: test -n "$ac_ct_CC" && break
3367: done
3368:
3369: if test "x$ac_ct_CC" = x; then
3370: CC=""
3371: else
3372: case $cross_compiling:$ac_tool_warned in
3373: yes:)
3374: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376: ac_tool_warned=yes ;;
3377: esac
3378: CC=$ac_ct_CC
3379: fi
3380: fi
3381:
3382:
3383: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385: as_fn_error $? "no acceptable C compiler found in \$PATH
3386: See \`config.log' for more details" "$LINENO" 5; }
3387:
3388: # Provide some information about the compiler.
3389: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3390: set X $ac_compile
3391: ac_compiler=$2
3392: for ac_option in --version -v -V -qversion; do
3393: { { ac_try="$ac_compiler $ac_option >&5"
3394: case "(($ac_try" in
3395: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396: *) ac_try_echo=$ac_try;;
3397: esac
3398: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399: $as_echo "$ac_try_echo"; } >&5
3400: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3401: ac_status=$?
3402: if test -s conftest.err; then
3403: sed '10a\
3404: ... rest of stderr output deleted ...
3405: 10q' conftest.err >conftest.er1
3406: cat conftest.er1 >&5
3407: fi
3408: rm -f conftest.er1 conftest.err
3409: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410: test $ac_status = 0; }
3411: done
3412:
3413: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414: /* end confdefs.h. */
3415:
3416: int
3417: main ()
3418: {
3419:
3420: ;
3421: return 0;
3422: }
3423: _ACEOF
3424: ac_clean_files_save=$ac_clean_files
3425: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3426: # Try to create an executable without -o first, disregard a.out.
3427: # It will help us diagnose broken compilers, and finding out an intuition
3428: # of exeext.
3429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3430: $as_echo_n "checking whether the C compiler works... " >&6; }
3431: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3432:
3433: # The possible output files:
3434: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3435:
3436: ac_rmfiles=
3437: for ac_file in $ac_files
3438: do
3439: case $ac_file in
3440: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3441: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3442: esac
3443: done
3444: rm -f $ac_rmfiles
3445:
3446: if { { ac_try="$ac_link_default"
3447: case "(($ac_try" in
3448: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449: *) ac_try_echo=$ac_try;;
3450: esac
3451: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452: $as_echo "$ac_try_echo"; } >&5
3453: (eval "$ac_link_default") 2>&5
3454: ac_status=$?
3455: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456: test $ac_status = 0; }; then :
3457: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3458: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3459: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3460: # so that the user can short-circuit this test for compilers unknown to
3461: # Autoconf.
3462: for ac_file in $ac_files ''
3463: do
3464: test -f "$ac_file" || continue
3465: case $ac_file in
3466: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3467: ;;
3468: [ab].out )
3469: # We found the default executable, but exeext='' is most
3470: # certainly right.
3471: break;;
3472: *.* )
3473: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3474: then :; else
3475: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3476: fi
3477: # We set ac_cv_exeext here because the later test for it is not
3478: # safe: cross compilers may not add the suffix if given an `-o'
3479: # argument, so we may need to know it at that point already.
3480: # Even if this section looks crufty: it has the advantage of
3481: # actually working.
3482: break;;
3483: * )
3484: break;;
3485: esac
3486: done
3487: test "$ac_cv_exeext" = no && ac_cv_exeext=
3488:
3489: else
3490: ac_file=''
3491: fi
3492: if test -z "$ac_file"; then :
3493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494: $as_echo "no" >&6; }
3495: $as_echo "$as_me: failed program was:" >&5
3496: sed 's/^/| /' conftest.$ac_ext >&5
3497:
3498: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500: as_fn_error 77 "C compiler cannot create executables
3501: See \`config.log' for more details" "$LINENO" 5; }
3502: else
3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3504: $as_echo "yes" >&6; }
3505: fi
3506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3507: $as_echo_n "checking for C compiler default output file name... " >&6; }
3508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3509: $as_echo "$ac_file" >&6; }
3510: ac_exeext=$ac_cv_exeext
3511:
3512: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3513: ac_clean_files=$ac_clean_files_save
3514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3515: $as_echo_n "checking for suffix of executables... " >&6; }
3516: if { { ac_try="$ac_link"
3517: case "(($ac_try" in
3518: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519: *) ac_try_echo=$ac_try;;
3520: esac
3521: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522: $as_echo "$ac_try_echo"; } >&5
3523: (eval "$ac_link") 2>&5
3524: ac_status=$?
3525: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526: test $ac_status = 0; }; then :
3527: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3528: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3529: # work properly (i.e., refer to `conftest.exe'), while it won't with
3530: # `rm'.
3531: for ac_file in conftest.exe conftest conftest.*; do
3532: test -f "$ac_file" || continue
3533: case $ac_file in
3534: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3535: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3536: break;;
3537: * ) break;;
3538: esac
3539: done
3540: else
3541: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3544: See \`config.log' for more details" "$LINENO" 5; }
3545: fi
3546: rm -f conftest conftest$ac_cv_exeext
3547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3548: $as_echo "$ac_cv_exeext" >&6; }
3549:
3550: rm -f conftest.$ac_ext
3551: EXEEXT=$ac_cv_exeext
3552: ac_exeext=$EXEEXT
3553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554: /* end confdefs.h. */
3555: #include <stdio.h>
3556: int
3557: main ()
3558: {
3559: FILE *f = fopen ("conftest.out", "w");
3560: return ferror (f) || fclose (f) != 0;
3561:
3562: ;
3563: return 0;
3564: }
3565: _ACEOF
3566: ac_clean_files="$ac_clean_files conftest.out"
3567: # Check that the compiler produces executables we can run. If not, either
3568: # the compiler is broken, or we cross compile.
3569: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3570: $as_echo_n "checking whether we are cross compiling... " >&6; }
3571: if test "$cross_compiling" != yes; then
3572: { { ac_try="$ac_link"
3573: case "(($ac_try" in
3574: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575: *) ac_try_echo=$ac_try;;
3576: esac
3577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578: $as_echo "$ac_try_echo"; } >&5
3579: (eval "$ac_link") 2>&5
3580: ac_status=$?
3581: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582: test $ac_status = 0; }
3583: if { ac_try='./conftest$ac_cv_exeext'
3584: { { case "(($ac_try" in
3585: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586: *) ac_try_echo=$ac_try;;
3587: esac
3588: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589: $as_echo "$ac_try_echo"; } >&5
3590: (eval "$ac_try") 2>&5
3591: ac_status=$?
3592: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593: test $ac_status = 0; }; }; then
3594: cross_compiling=no
3595: else
3596: if test "$cross_compiling" = maybe; then
3597: cross_compiling=yes
3598: else
3599: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601: as_fn_error $? "cannot run C compiled programs.
3602: If you meant to cross compile, use \`--host'.
3603: See \`config.log' for more details" "$LINENO" 5; }
3604: fi
3605: fi
3606: fi
3607: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3608: $as_echo "$cross_compiling" >&6; }
3609:
3610: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3611: ac_clean_files=$ac_clean_files_save
3612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3613: $as_echo_n "checking for suffix of object files... " >&6; }
3614: if ${ac_cv_objext+:} false; then :
3615: $as_echo_n "(cached) " >&6
3616: else
3617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618: /* end confdefs.h. */
3619:
3620: int
3621: main ()
3622: {
3623:
3624: ;
3625: return 0;
3626: }
3627: _ACEOF
3628: rm -f conftest.o conftest.obj
3629: if { { ac_try="$ac_compile"
3630: case "(($ac_try" in
3631: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632: *) ac_try_echo=$ac_try;;
3633: esac
3634: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635: $as_echo "$ac_try_echo"; } >&5
3636: (eval "$ac_compile") 2>&5
3637: ac_status=$?
3638: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639: test $ac_status = 0; }; then :
3640: for ac_file in conftest.o conftest.obj conftest.*; do
3641: test -f "$ac_file" || continue;
3642: case $ac_file in
3643: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3644: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3645: break;;
3646: esac
3647: done
3648: else
3649: $as_echo "$as_me: failed program was:" >&5
3650: sed 's/^/| /' conftest.$ac_ext >&5
3651:
3652: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654: as_fn_error $? "cannot compute suffix of object files: cannot compile
3655: See \`config.log' for more details" "$LINENO" 5; }
3656: fi
3657: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3658: fi
3659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3660: $as_echo "$ac_cv_objext" >&6; }
3661: OBJEXT=$ac_cv_objext
3662: ac_objext=$OBJEXT
3663: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3664: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3665: if ${ac_cv_c_compiler_gnu+:} false; then :
3666: $as_echo_n "(cached) " >&6
3667: else
3668: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669: /* end confdefs.h. */
3670:
3671: int
3672: main ()
3673: {
3674: #ifndef __GNUC__
3675: choke me
3676: #endif
3677:
3678: ;
3679: return 0;
3680: }
3681: _ACEOF
3682: if ac_fn_c_try_compile "$LINENO"; then :
3683: ac_compiler_gnu=yes
3684: else
3685: ac_compiler_gnu=no
3686: fi
3687: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3689:
3690: fi
3691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3692: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3693: if test $ac_compiler_gnu = yes; then
3694: GCC=yes
3695: else
3696: GCC=
3697: fi
3698: ac_test_CFLAGS=${CFLAGS+set}
3699: ac_save_CFLAGS=$CFLAGS
3700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3701: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3702: if ${ac_cv_prog_cc_g+:} false; then :
3703: $as_echo_n "(cached) " >&6
3704: else
3705: ac_save_c_werror_flag=$ac_c_werror_flag
3706: ac_c_werror_flag=yes
3707: ac_cv_prog_cc_g=no
3708: CFLAGS="-g"
3709: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710: /* end confdefs.h. */
3711:
3712: int
3713: main ()
3714: {
3715:
3716: ;
3717: return 0;
3718: }
3719: _ACEOF
3720: if ac_fn_c_try_compile "$LINENO"; then :
3721: ac_cv_prog_cc_g=yes
3722: else
3723: CFLAGS=""
3724: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725: /* end confdefs.h. */
3726:
3727: int
3728: main ()
3729: {
3730:
3731: ;
3732: return 0;
3733: }
3734: _ACEOF
3735: if ac_fn_c_try_compile "$LINENO"; then :
3736:
3737: else
3738: ac_c_werror_flag=$ac_save_c_werror_flag
3739: CFLAGS="-g"
3740: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741: /* end confdefs.h. */
3742:
3743: int
3744: main ()
3745: {
3746:
3747: ;
3748: return 0;
3749: }
3750: _ACEOF
3751: if ac_fn_c_try_compile "$LINENO"; then :
3752: ac_cv_prog_cc_g=yes
3753: fi
3754: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755: fi
3756: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757: fi
3758: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759: ac_c_werror_flag=$ac_save_c_werror_flag
3760: fi
3761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3762: $as_echo "$ac_cv_prog_cc_g" >&6; }
3763: if test "$ac_test_CFLAGS" = set; then
3764: CFLAGS=$ac_save_CFLAGS
3765: elif test $ac_cv_prog_cc_g = yes; then
3766: if test "$GCC" = yes; then
3767: CFLAGS="-g -O2"
3768: else
3769: CFLAGS="-g"
3770: fi
3771: else
3772: if test "$GCC" = yes; then
3773: CFLAGS="-O2"
3774: else
3775: CFLAGS=
3776: fi
3777: fi
3778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3779: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3780: if ${ac_cv_prog_cc_c89+:} false; then :
3781: $as_echo_n "(cached) " >&6
3782: else
3783: ac_cv_prog_cc_c89=no
3784: ac_save_CC=$CC
3785: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786: /* end confdefs.h. */
3787: #include <stdarg.h>
3788: #include <stdio.h>
3789: #include <sys/types.h>
3790: #include <sys/stat.h>
3791: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3792: struct buf { int x; };
3793: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3794: static char *e (p, i)
3795: char **p;
3796: int i;
3797: {
3798: return p[i];
3799: }
3800: static char *f (char * (*g) (char **, int), char **p, ...)
3801: {
3802: char *s;
3803: va_list v;
3804: va_start (v,p);
3805: s = g (p, va_arg (v,int));
3806: va_end (v);
3807: return s;
3808: }
3809:
3810: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3811: function prototypes and stuff, but not '\xHH' hex character constants.
3812: These don't provoke an error unfortunately, instead are silently treated
3813: as 'x'. The following induces an error, until -std is added to get
3814: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3815: array size at least. It's necessary to write '\x00'==0 to get something
3816: that's true only with -std. */
3817: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3818:
3819: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3820: inside strings and character constants. */
3821: #define FOO(x) 'x'
3822: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3823:
3824: int test (int i, double x);
3825: struct s1 {int (*f) (int a);};
3826: struct s2 {int (*f) (double a);};
3827: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3828: int argc;
3829: char **argv;
3830: int
3831: main ()
3832: {
3833: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3834: ;
3835: return 0;
3836: }
3837: _ACEOF
3838: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3839: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3840: do
3841: CC="$ac_save_CC $ac_arg"
3842: if ac_fn_c_try_compile "$LINENO"; then :
3843: ac_cv_prog_cc_c89=$ac_arg
3844: fi
3845: rm -f core conftest.err conftest.$ac_objext
3846: test "x$ac_cv_prog_cc_c89" != "xno" && break
3847: done
3848: rm -f conftest.$ac_ext
3849: CC=$ac_save_CC
3850:
3851: fi
3852: # AC_CACHE_VAL
3853: case "x$ac_cv_prog_cc_c89" in
3854: x)
3855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3856: $as_echo "none needed" >&6; } ;;
3857: xno)
3858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3859: $as_echo "unsupported" >&6; } ;;
3860: *)
3861: CC="$CC $ac_cv_prog_cc_c89"
3862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3863: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3864: esac
3865: if test "x$ac_cv_prog_cc_c89" != xno; then :
3866:
3867: fi
3868:
3869: ac_ext=c
3870: ac_cpp='$CPP $CPPFLAGS'
3871: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3874: DEPDIR="${am__leading_dot}deps"
3875:
3876: ac_config_commands="$ac_config_commands depfiles"
3877:
3878:
3879: am_make=${MAKE-make}
3880: cat > confinc << 'END'
3881: am__doit:
3882: @echo this is the am__doit target
3883: .PHONY: am__doit
3884: END
3885: # If we don't find an include directive, just comment out the code.
3886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3887: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3888: am__include="#"
3889: am__quote=
3890: _am_result=none
3891: # First try GNU make style include.
3892: echo "include confinc" > confmf
3893: # Ignore all kinds of additional output from `make'.
3894: case `$am_make -s -f confmf 2> /dev/null` in #(
3895: *the\ am__doit\ target*)
3896: am__include=include
3897: am__quote=
3898: _am_result=GNU
3899: ;;
3900: esac
3901: # Now try BSD make style include.
3902: if test "$am__include" = "#"; then
3903: echo '.include "confinc"' > confmf
3904: case `$am_make -s -f confmf 2> /dev/null` in #(
3905: *the\ am__doit\ target*)
3906: am__include=.include
3907: am__quote="\""
3908: _am_result=BSD
3909: ;;
3910: esac
3911: fi
3912:
3913:
3914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3915: $as_echo "$_am_result" >&6; }
3916: rm -f confinc confmf
3917:
3918: # Check whether --enable-dependency-tracking was given.
3919: if test "${enable_dependency_tracking+set}" = set; then :
3920: enableval=$enable_dependency_tracking;
3921: fi
3922:
3923: if test "x$enable_dependency_tracking" != xno; then
3924: am_depcomp="$ac_aux_dir/depcomp"
3925: AMDEPBACKSLASH='\'
3926: fi
3927: if test "x$enable_dependency_tracking" != xno; then
3928: AMDEP_TRUE=
3929: AMDEP_FALSE='#'
3930: else
3931: AMDEP_TRUE='#'
3932: AMDEP_FALSE=
3933: fi
3934:
3935:
3936:
3937: depcc="$CC" am_compiler_list=
3938:
3939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3940: $as_echo_n "checking dependency style of $depcc... " >&6; }
3941: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3942: $as_echo_n "(cached) " >&6
3943: else
3944: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3945: # We make a subdir and do the tests there. Otherwise we can end up
3946: # making bogus files that we don't know about and never remove. For
3947: # instance it was reported that on HP-UX the gcc test will end up
3948: # making a dummy file named `D' -- because `-MD' means `put the output
3949: # in D'.
3950: mkdir conftest.dir
3951: # Copy depcomp to subdir because otherwise we won't find it if we're
3952: # using a relative directory.
3953: cp "$am_depcomp" conftest.dir
3954: cd conftest.dir
3955: # We will build objects and dependencies in a subdirectory because
3956: # it helps to detect inapplicable dependency modes. For instance
3957: # both Tru64's cc and ICC support -MD to output dependencies as a
3958: # side effect of compilation, but ICC will put the dependencies in
3959: # the current directory while Tru64 will put them in the object
3960: # directory.
3961: mkdir sub
3962:
3963: am_cv_CC_dependencies_compiler_type=none
3964: if test "$am_compiler_list" = ""; then
3965: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3966: fi
3967: am__universal=false
3968: case " $depcc " in #(
3969: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3970: esac
3971:
3972: for depmode in $am_compiler_list; do
3973: # Setup a source with many dependencies, because some compilers
3974: # like to wrap large dependency lists on column 80 (with \), and
3975: # we should not choose a depcomp mode which is confused by this.
3976: #
3977: # We need to recreate these files for each test, as the compiler may
3978: # overwrite some of them when testing with obscure command lines.
3979: # This happens at least with the AIX C compiler.
3980: : > sub/conftest.c
3981: for i in 1 2 3 4 5 6; do
3982: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3983: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3984: # Solaris 8's {/usr,}/bin/sh.
3985: touch sub/conftst$i.h
3986: done
3987: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3988:
3989: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3990: # mode. It turns out that the SunPro C++ compiler does not properly
3991: # handle `-M -o', and we need to detect this. Also, some Intel
3992: # versions had trouble with output in subdirs
3993: am__obj=sub/conftest.${OBJEXT-o}
3994: am__minus_obj="-o $am__obj"
3995: case $depmode in
3996: gcc)
3997: # This depmode causes a compiler race in universal mode.
3998: test "$am__universal" = false || continue
3999: ;;
4000: nosideeffect)
4001: # after this tag, mechanisms are not by side-effect, so they'll
4002: # only be used when explicitly requested
4003: if test "x$enable_dependency_tracking" = xyes; then
4004: continue
4005: else
4006: break
4007: fi
4008: ;;
4009: msvisualcpp | msvcmsys)
4010: # This compiler won't grok `-c -o', but also, the minuso test has
4011: # not run yet. These depmodes are late enough in the game, and
4012: # so weak that their functioning should not be impacted.
4013: am__obj=conftest.${OBJEXT-o}
4014: am__minus_obj=
4015: ;;
4016: none) break ;;
4017: esac
4018: if depmode=$depmode \
4019: source=sub/conftest.c object=$am__obj \
4020: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4021: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4022: >/dev/null 2>conftest.err &&
4023: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4024: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4025: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4026: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4027: # icc doesn't choke on unknown options, it will just issue warnings
4028: # or remarks (even with -Werror). So we grep stderr for any message
4029: # that says an option was ignored or not supported.
4030: # When given -MP, icc 7.0 and 7.1 complain thusly:
4031: # icc: Command line warning: ignoring option '-M'; no argument required
4032: # The diagnosis changed in icc 8.0:
4033: # icc: Command line remark: option '-MP' not supported
4034: if (grep 'ignoring option' conftest.err ||
4035: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4036: am_cv_CC_dependencies_compiler_type=$depmode
4037: break
4038: fi
4039: fi
4040: done
4041:
4042: cd ..
4043: rm -rf conftest.dir
4044: else
4045: am_cv_CC_dependencies_compiler_type=none
4046: fi
4047:
4048: fi
4049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4050: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4051: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4052:
4053: if
4054: test "x$enable_dependency_tracking" != xno \
4055: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4056: am__fastdepCC_TRUE=
4057: am__fastdepCC_FALSE='#'
4058: else
4059: am__fastdepCC_TRUE='#'
4060: am__fastdepCC_FALSE=
4061: fi
4062:
4063:
4064:
4065: EXT_SQL=
4066:
4067: if test x"$CC" != x""; then
4068: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4069: awk -F. '{ printf("%s", $1);}'`
4070: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4071: awk -F. '{ printf("%s", $2);}'`
4072: if test $GCC_VERSION_MAJEURE -ge 5; then
4073: OPTIMISATION_C=-O3
4074: else
4075: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4076: then
4077: OPTIMISATION_C=-O3
4078: else
4079: if test $GCC_VERSION_MAJEURE -ge 2; then
4080: OPTIMISATION_C=-O2
4081: else
4082: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4083: fi
4084: fi
4085: fi
4086: fi
4087:
4088: if test "x$CC" != xcc; then
4089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4090: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4091: else
4092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4093: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4094: fi
4095: set dummy $CC; ac_cc=`$as_echo "$2" |
4096: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4097: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4098: $as_echo_n "(cached) " >&6
4099: else
4100: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101: /* end confdefs.h. */
4102:
4103: int
4104: main ()
4105: {
4106:
4107: ;
4108: return 0;
4109: }
4110: _ACEOF
4111: # Make sure it works both with $CC and with simple cc.
4112: # We do the test twice because some compilers refuse to overwrite an
4113: # existing .o file with -o, though they will create one.
4114: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4115: rm -f conftest2.*
4116: if { { case "(($ac_try" in
4117: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118: *) ac_try_echo=$ac_try;;
4119: esac
4120: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121: $as_echo "$ac_try_echo"; } >&5
4122: (eval "$ac_try") 2>&5
4123: ac_status=$?
4124: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125: test $ac_status = 0; } &&
4126: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4127: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128: *) ac_try_echo=$ac_try;;
4129: esac
4130: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131: $as_echo "$ac_try_echo"; } >&5
4132: (eval "$ac_try") 2>&5
4133: ac_status=$?
4134: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135: test $ac_status = 0; };
4136: then
4137: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4138: if test "x$CC" != xcc; then
4139: # Test first that cc exists at all.
4140: if { ac_try='cc -c conftest.$ac_ext >&5'
4141: { { case "(($ac_try" in
4142: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143: *) ac_try_echo=$ac_try;;
4144: esac
4145: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146: $as_echo "$ac_try_echo"; } >&5
4147: (eval "$ac_try") 2>&5
4148: ac_status=$?
4149: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150: test $ac_status = 0; }; }; then
4151: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4152: rm -f conftest2.*
4153: if { { case "(($ac_try" in
4154: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155: *) ac_try_echo=$ac_try;;
4156: esac
4157: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158: $as_echo "$ac_try_echo"; } >&5
4159: (eval "$ac_try") 2>&5
4160: ac_status=$?
4161: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162: test $ac_status = 0; } &&
4163: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4164: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165: *) ac_try_echo=$ac_try;;
4166: esac
4167: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168: $as_echo "$ac_try_echo"; } >&5
4169: (eval "$ac_try") 2>&5
4170: ac_status=$?
4171: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172: test $ac_status = 0; };
4173: then
4174: # cc works too.
4175: :
4176: else
4177: # cc exists but doesn't like -o.
4178: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4179: fi
4180: fi
4181: fi
4182: else
4183: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4184: fi
4185: rm -f core conftest*
4186:
4187: fi
4188: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4190: $as_echo "yes" >&6; }
4191: else
4192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193: $as_echo "no" >&6; }
4194:
4195: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4196:
4197: fi
4198:
4199: # FIXME: we rely on the cache variable name because
4200: # there is no other way.
4201: set dummy $CC
4202: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4203: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4204: if test "$am_t" != yes; then
4205: # Losing compiler, so override with the script.
4206: # FIXME: It is wrong to rewrite CC.
4207: # But if we don't then we get into trouble of one sort or another.
4208: # A longer-term fix would be to have automake use am__CC in this case,
4209: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4210: CC="$am_aux_dir/compile $CC"
4211: fi
4212:
4213:
4214:
4215: if test "$GCC" != yes; then
4216: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4217: fi
4218:
4219: ac_ext=cpp
4220: ac_cpp='$CXXCPP $CPPFLAGS'
4221: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4222: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4223: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4224: if test -z "$CXX"; then
4225: if test -n "$CCC"; then
4226: CXX=$CCC
4227: else
4228: if test -n "$ac_tool_prefix"; then
4229: for ac_prog in g++
4230: do
4231: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4232: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234: $as_echo_n "checking for $ac_word... " >&6; }
4235: if ${ac_cv_prog_CXX+:} false; then :
4236: $as_echo_n "(cached) " >&6
4237: else
4238: if test -n "$CXX"; then
4239: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4240: else
4241: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242: for as_dir in $PATH
4243: do
4244: IFS=$as_save_IFS
4245: test -z "$as_dir" && as_dir=.
4246: for ac_exec_ext in '' $ac_executable_extensions; do
4247: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4249: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250: break 2
4251: fi
4252: done
4253: done
4254: IFS=$as_save_IFS
4255:
4256: fi
4257: fi
4258: CXX=$ac_cv_prog_CXX
4259: if test -n "$CXX"; then
4260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4261: $as_echo "$CXX" >&6; }
4262: else
4263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264: $as_echo "no" >&6; }
4265: fi
4266:
4267:
4268: test -n "$CXX" && break
4269: done
4270: fi
4271: if test -z "$CXX"; then
4272: ac_ct_CXX=$CXX
4273: for ac_prog in g++
4274: do
4275: # Extract the first word of "$ac_prog", so it can be a program name with args.
4276: set dummy $ac_prog; ac_word=$2
4277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278: $as_echo_n "checking for $ac_word... " >&6; }
4279: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4280: $as_echo_n "(cached) " >&6
4281: else
4282: if test -n "$ac_ct_CXX"; then
4283: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4284: else
4285: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286: for as_dir in $PATH
4287: do
4288: IFS=$as_save_IFS
4289: test -z "$as_dir" && as_dir=.
4290: for ac_exec_ext in '' $ac_executable_extensions; do
4291: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292: ac_cv_prog_ac_ct_CXX="$ac_prog"
4293: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294: break 2
4295: fi
4296: done
4297: done
4298: IFS=$as_save_IFS
4299:
4300: fi
4301: fi
4302: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4303: if test -n "$ac_ct_CXX"; then
4304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4305: $as_echo "$ac_ct_CXX" >&6; }
4306: else
4307: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308: $as_echo "no" >&6; }
4309: fi
4310:
4311:
4312: test -n "$ac_ct_CXX" && break
4313: done
4314:
4315: if test "x$ac_ct_CXX" = x; then
4316: CXX="g++"
4317: else
4318: case $cross_compiling:$ac_tool_warned in
4319: yes:)
4320: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322: ac_tool_warned=yes ;;
4323: esac
4324: CXX=$ac_ct_CXX
4325: fi
4326: fi
4327:
4328: fi
4329: fi
4330: # Provide some information about the compiler.
4331: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4332: set X $ac_compile
4333: ac_compiler=$2
4334: for ac_option in --version -v -V -qversion; do
4335: { { ac_try="$ac_compiler $ac_option >&5"
4336: case "(($ac_try" in
4337: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338: *) ac_try_echo=$ac_try;;
4339: esac
4340: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341: $as_echo "$ac_try_echo"; } >&5
4342: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4343: ac_status=$?
4344: if test -s conftest.err; then
4345: sed '10a\
4346: ... rest of stderr output deleted ...
4347: 10q' conftest.err >conftest.er1
4348: cat conftest.er1 >&5
4349: fi
4350: rm -f conftest.er1 conftest.err
4351: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352: test $ac_status = 0; }
4353: done
4354:
4355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4356: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4357: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4358: $as_echo_n "(cached) " >&6
4359: else
4360: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361: /* end confdefs.h. */
4362:
4363: int
4364: main ()
4365: {
4366: #ifndef __GNUC__
4367: choke me
4368: #endif
4369:
4370: ;
4371: return 0;
4372: }
4373: _ACEOF
4374: if ac_fn_cxx_try_compile "$LINENO"; then :
4375: ac_compiler_gnu=yes
4376: else
4377: ac_compiler_gnu=no
4378: fi
4379: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4381:
4382: fi
4383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4384: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4385: if test $ac_compiler_gnu = yes; then
4386: GXX=yes
4387: else
4388: GXX=
4389: fi
4390: ac_test_CXXFLAGS=${CXXFLAGS+set}
4391: ac_save_CXXFLAGS=$CXXFLAGS
4392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4393: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4394: if ${ac_cv_prog_cxx_g+:} false; then :
4395: $as_echo_n "(cached) " >&6
4396: else
4397: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4398: ac_cxx_werror_flag=yes
4399: ac_cv_prog_cxx_g=no
4400: CXXFLAGS="-g"
4401: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402: /* end confdefs.h. */
4403:
4404: int
4405: main ()
4406: {
4407:
4408: ;
4409: return 0;
4410: }
4411: _ACEOF
4412: if ac_fn_cxx_try_compile "$LINENO"; then :
4413: ac_cv_prog_cxx_g=yes
4414: else
4415: CXXFLAGS=""
4416: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417: /* end confdefs.h. */
4418:
4419: int
4420: main ()
4421: {
4422:
4423: ;
4424: return 0;
4425: }
4426: _ACEOF
4427: if ac_fn_cxx_try_compile "$LINENO"; then :
4428:
4429: else
4430: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4431: CXXFLAGS="-g"
4432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433: /* end confdefs.h. */
4434:
4435: int
4436: main ()
4437: {
4438:
4439: ;
4440: return 0;
4441: }
4442: _ACEOF
4443: if ac_fn_cxx_try_compile "$LINENO"; then :
4444: ac_cv_prog_cxx_g=yes
4445: fi
4446: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447: fi
4448: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449: fi
4450: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4452: fi
4453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4454: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4455: if test "$ac_test_CXXFLAGS" = set; then
4456: CXXFLAGS=$ac_save_CXXFLAGS
4457: elif test $ac_cv_prog_cxx_g = yes; then
4458: if test "$GXX" = yes; then
4459: CXXFLAGS="-g -O2"
4460: else
4461: CXXFLAGS="-g"
4462: fi
4463: else
4464: if test "$GXX" = yes; then
4465: CXXFLAGS="-O2"
4466: else
4467: CXXFLAGS=
4468: fi
4469: fi
4470: ac_ext=c
4471: ac_cpp='$CPP $CPPFLAGS'
4472: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4473: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4474: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4475:
4476: depcc="$CXX" am_compiler_list=
4477:
4478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4479: $as_echo_n "checking dependency style of $depcc... " >&6; }
4480: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4481: $as_echo_n "(cached) " >&6
4482: else
4483: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4484: # We make a subdir and do the tests there. Otherwise we can end up
4485: # making bogus files that we don't know about and never remove. For
4486: # instance it was reported that on HP-UX the gcc test will end up
4487: # making a dummy file named `D' -- because `-MD' means `put the output
4488: # in D'.
4489: mkdir conftest.dir
4490: # Copy depcomp to subdir because otherwise we won't find it if we're
4491: # using a relative directory.
4492: cp "$am_depcomp" conftest.dir
4493: cd conftest.dir
4494: # We will build objects and dependencies in a subdirectory because
4495: # it helps to detect inapplicable dependency modes. For instance
4496: # both Tru64's cc and ICC support -MD to output dependencies as a
4497: # side effect of compilation, but ICC will put the dependencies in
4498: # the current directory while Tru64 will put them in the object
4499: # directory.
4500: mkdir sub
4501:
4502: am_cv_CXX_dependencies_compiler_type=none
4503: if test "$am_compiler_list" = ""; then
4504: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4505: fi
4506: am__universal=false
4507: case " $depcc " in #(
4508: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4509: esac
4510:
4511: for depmode in $am_compiler_list; do
4512: # Setup a source with many dependencies, because some compilers
4513: # like to wrap large dependency lists on column 80 (with \), and
4514: # we should not choose a depcomp mode which is confused by this.
4515: #
4516: # We need to recreate these files for each test, as the compiler may
4517: # overwrite some of them when testing with obscure command lines.
4518: # This happens at least with the AIX C compiler.
4519: : > sub/conftest.c
4520: for i in 1 2 3 4 5 6; do
4521: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4522: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4523: # Solaris 8's {/usr,}/bin/sh.
4524: touch sub/conftst$i.h
4525: done
4526: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4527:
4528: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4529: # mode. It turns out that the SunPro C++ compiler does not properly
4530: # handle `-M -o', and we need to detect this. Also, some Intel
4531: # versions had trouble with output in subdirs
4532: am__obj=sub/conftest.${OBJEXT-o}
4533: am__minus_obj="-o $am__obj"
4534: case $depmode in
4535: gcc)
4536: # This depmode causes a compiler race in universal mode.
4537: test "$am__universal" = false || continue
4538: ;;
4539: nosideeffect)
4540: # after this tag, mechanisms are not by side-effect, so they'll
4541: # only be used when explicitly requested
4542: if test "x$enable_dependency_tracking" = xyes; then
4543: continue
4544: else
4545: break
4546: fi
4547: ;;
4548: msvisualcpp | msvcmsys)
4549: # This compiler won't grok `-c -o', but also, the minuso test has
4550: # not run yet. These depmodes are late enough in the game, and
4551: # so weak that their functioning should not be impacted.
4552: am__obj=conftest.${OBJEXT-o}
4553: am__minus_obj=
4554: ;;
4555: none) break ;;
4556: esac
4557: if depmode=$depmode \
4558: source=sub/conftest.c object=$am__obj \
4559: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4560: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4561: >/dev/null 2>conftest.err &&
4562: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4563: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4564: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4565: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4566: # icc doesn't choke on unknown options, it will just issue warnings
4567: # or remarks (even with -Werror). So we grep stderr for any message
4568: # that says an option was ignored or not supported.
4569: # When given -MP, icc 7.0 and 7.1 complain thusly:
4570: # icc: Command line warning: ignoring option '-M'; no argument required
4571: # The diagnosis changed in icc 8.0:
4572: # icc: Command line remark: option '-MP' not supported
4573: if (grep 'ignoring option' conftest.err ||
4574: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4575: am_cv_CXX_dependencies_compiler_type=$depmode
4576: break
4577: fi
4578: fi
4579: done
4580:
4581: cd ..
4582: rm -rf conftest.dir
4583: else
4584: am_cv_CXX_dependencies_compiler_type=none
4585: fi
4586:
4587: fi
4588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4589: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4590: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4591:
4592: if
4593: test "x$enable_dependency_tracking" != xno \
4594: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4595: am__fastdepCXX_TRUE=
4596: am__fastdepCXX_FALSE='#'
4597: else
4598: am__fastdepCXX_TRUE='#'
4599: am__fastdepCXX_FALSE=
4600: fi
4601:
4602:
4603:
4604: if test "$CXX" != "g++"; then
4605: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4606: fi
4607:
4608: if test x"$CXX" != x""; then
4609: GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4610: awk -F. '{ printf("%s", $1);}'`
4611: GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4612: awk -F. '{ printf("%s", $2);}'`
4613: if test $GCC_VERSION_MAJEURE -ge 5; then
4614: OPTIMISATION_GXX=-O3
4615: else
4616: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
4617: OPTIMISATION_GXX=-O3
4618: else
4619: if test $GCC_VERSION_MAJEURE -ge 3; then
4620: OPTIMISATION_GXX=-O2
4621: else
4622: as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
4623: fi
4624: fi
4625: fi
4626: fi
4627:
4628: ac_ext=f
4629: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4630: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4632: if test -n "$ac_tool_prefix"; then
4633: for ac_prog in gfortran
4634: do
4635: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638: $as_echo_n "checking for $ac_word... " >&6; }
4639: if ${ac_cv_prog_F77+:} false; then :
4640: $as_echo_n "(cached) " >&6
4641: else
4642: if test -n "$F77"; then
4643: ac_cv_prog_F77="$F77" # Let the user override the test.
4644: else
4645: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646: for as_dir in $PATH
4647: do
4648: IFS=$as_save_IFS
4649: test -z "$as_dir" && as_dir=.
4650: for ac_exec_ext in '' $ac_executable_extensions; do
4651: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4653: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654: break 2
4655: fi
4656: done
4657: done
4658: IFS=$as_save_IFS
4659:
4660: fi
4661: fi
4662: F77=$ac_cv_prog_F77
4663: if test -n "$F77"; then
4664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4665: $as_echo "$F77" >&6; }
4666: else
4667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668: $as_echo "no" >&6; }
4669: fi
4670:
4671:
4672: test -n "$F77" && break
4673: done
4674: fi
4675: if test -z "$F77"; then
4676: ac_ct_F77=$F77
4677: for ac_prog in gfortran
4678: do
4679: # Extract the first word of "$ac_prog", so it can be a program name with args.
4680: set dummy $ac_prog; ac_word=$2
4681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682: $as_echo_n "checking for $ac_word... " >&6; }
4683: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4684: $as_echo_n "(cached) " >&6
4685: else
4686: if test -n "$ac_ct_F77"; then
4687: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4688: else
4689: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690: for as_dir in $PATH
4691: do
4692: IFS=$as_save_IFS
4693: test -z "$as_dir" && as_dir=.
4694: for ac_exec_ext in '' $ac_executable_extensions; do
4695: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696: ac_cv_prog_ac_ct_F77="$ac_prog"
4697: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698: break 2
4699: fi
4700: done
4701: done
4702: IFS=$as_save_IFS
4703:
4704: fi
4705: fi
4706: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4707: if test -n "$ac_ct_F77"; then
4708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4709: $as_echo "$ac_ct_F77" >&6; }
4710: else
4711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712: $as_echo "no" >&6; }
4713: fi
4714:
4715:
4716: test -n "$ac_ct_F77" && break
4717: done
4718:
4719: if test "x$ac_ct_F77" = x; then
4720: F77=""
4721: else
4722: case $cross_compiling:$ac_tool_warned in
4723: yes:)
4724: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726: ac_tool_warned=yes ;;
4727: esac
4728: F77=$ac_ct_F77
4729: fi
4730: fi
4731:
4732:
4733: # Provide some information about the compiler.
4734: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4735: set X $ac_compile
4736: ac_compiler=$2
4737: for ac_option in --version -v -V -qversion; do
4738: { { ac_try="$ac_compiler $ac_option >&5"
4739: case "(($ac_try" in
4740: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4741: *) ac_try_echo=$ac_try;;
4742: esac
4743: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4744: $as_echo "$ac_try_echo"; } >&5
4745: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4746: ac_status=$?
4747: if test -s conftest.err; then
4748: sed '10a\
4749: ... rest of stderr output deleted ...
4750: 10q' conftest.err >conftest.er1
4751: cat conftest.er1 >&5
4752: fi
4753: rm -f conftest.er1 conftest.err
4754: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4755: test $ac_status = 0; }
4756: done
4757: rm -f a.out
4758:
4759: # If we don't use `.F' as extension, the preprocessor is not run on the
4760: # input file. (Note that this only needs to work for GNU compilers.)
4761: ac_save_ext=$ac_ext
4762: ac_ext=F
4763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4764: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4765: if ${ac_cv_f77_compiler_gnu+:} false; then :
4766: $as_echo_n "(cached) " >&6
4767: else
4768: cat > conftest.$ac_ext <<_ACEOF
4769: program main
4770: #ifndef __GNUC__
4771: choke me
4772: #endif
4773:
4774: end
4775: _ACEOF
4776: if ac_fn_f77_try_compile "$LINENO"; then :
4777: ac_compiler_gnu=yes
4778: else
4779: ac_compiler_gnu=no
4780: fi
4781: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4783:
4784: fi
4785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4786: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4787: ac_ext=$ac_save_ext
4788: ac_test_FFLAGS=${FFLAGS+set}
4789: ac_save_FFLAGS=$FFLAGS
4790: FFLAGS=
4791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4792: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4793: if ${ac_cv_prog_f77_g+:} false; then :
4794: $as_echo_n "(cached) " >&6
4795: else
4796: FFLAGS=-g
4797: cat > conftest.$ac_ext <<_ACEOF
4798: program main
4799:
4800: end
4801: _ACEOF
4802: if ac_fn_f77_try_compile "$LINENO"; then :
4803: ac_cv_prog_f77_g=yes
4804: else
4805: ac_cv_prog_f77_g=no
4806: fi
4807: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808:
4809: fi
4810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4811: $as_echo "$ac_cv_prog_f77_g" >&6; }
4812: if test "$ac_test_FFLAGS" = set; then
4813: FFLAGS=$ac_save_FFLAGS
4814: elif test $ac_cv_prog_f77_g = yes; then
4815: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4816: FFLAGS="-g -O2"
4817: else
4818: FFLAGS="-g"
4819: fi
4820: else
4821: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4822: FFLAGS="-O2"
4823: else
4824: FFLAGS=
4825: fi
4826: fi
4827:
4828: if test $ac_compiler_gnu = yes; then
4829: G77=yes
4830: else
4831: G77=
4832: fi
4833: ac_ext=c
4834: ac_cpp='$CPP $CPPFLAGS'
4835: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838:
4839:
4840: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4841: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4842: fi
4843:
4844: ac_ext=${ac_fc_srcext-f}
4845: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4846: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4847: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4848: if test -n "$ac_tool_prefix"; then
4849: for ac_prog in gfortran
4850: do
4851: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854: $as_echo_n "checking for $ac_word... " >&6; }
4855: if ${ac_cv_prog_FC+:} false; then :
4856: $as_echo_n "(cached) " >&6
4857: else
4858: if test -n "$FC"; then
4859: ac_cv_prog_FC="$FC" # Let the user override the test.
4860: else
4861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862: for as_dir in $PATH
4863: do
4864: IFS=$as_save_IFS
4865: test -z "$as_dir" && as_dir=.
4866: for ac_exec_ext in '' $ac_executable_extensions; do
4867: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4869: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870: break 2
4871: fi
4872: done
4873: done
4874: IFS=$as_save_IFS
4875:
4876: fi
4877: fi
4878: FC=$ac_cv_prog_FC
4879: if test -n "$FC"; then
4880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4881: $as_echo "$FC" >&6; }
4882: else
4883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884: $as_echo "no" >&6; }
4885: fi
4886:
4887:
4888: test -n "$FC" && break
4889: done
4890: fi
4891: if test -z "$FC"; then
4892: ac_ct_FC=$FC
4893: for ac_prog in gfortran
4894: do
4895: # Extract the first word of "$ac_prog", so it can be a program name with args.
4896: set dummy $ac_prog; ac_word=$2
4897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898: $as_echo_n "checking for $ac_word... " >&6; }
4899: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4900: $as_echo_n "(cached) " >&6
4901: else
4902: if test -n "$ac_ct_FC"; then
4903: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4904: else
4905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906: for as_dir in $PATH
4907: do
4908: IFS=$as_save_IFS
4909: test -z "$as_dir" && as_dir=.
4910: for ac_exec_ext in '' $ac_executable_extensions; do
4911: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912: ac_cv_prog_ac_ct_FC="$ac_prog"
4913: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914: break 2
4915: fi
4916: done
4917: done
4918: IFS=$as_save_IFS
4919:
4920: fi
4921: fi
4922: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4923: if test -n "$ac_ct_FC"; then
4924: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4925: $as_echo "$ac_ct_FC" >&6; }
4926: else
4927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928: $as_echo "no" >&6; }
4929: fi
4930:
4931:
4932: test -n "$ac_ct_FC" && break
4933: done
4934:
4935: if test "x$ac_ct_FC" = x; then
4936: FC=""
4937: else
4938: case $cross_compiling:$ac_tool_warned in
4939: yes:)
4940: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942: ac_tool_warned=yes ;;
4943: esac
4944: FC=$ac_ct_FC
4945: fi
4946: fi
4947:
4948:
4949: # Provide some information about the compiler.
4950: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4951: set X $ac_compile
4952: ac_compiler=$2
4953: for ac_option in --version -v -V -qversion; do
4954: { { ac_try="$ac_compiler $ac_option >&5"
4955: case "(($ac_try" in
4956: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957: *) ac_try_echo=$ac_try;;
4958: esac
4959: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4960: $as_echo "$ac_try_echo"; } >&5
4961: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4962: ac_status=$?
4963: if test -s conftest.err; then
4964: sed '10a\
4965: ... rest of stderr output deleted ...
4966: 10q' conftest.err >conftest.er1
4967: cat conftest.er1 >&5
4968: fi
4969: rm -f conftest.er1 conftest.err
4970: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4971: test $ac_status = 0; }
4972: done
4973: rm -f a.out
4974:
4975: # If we don't use `.F' as extension, the preprocessor is not run on the
4976: # input file. (Note that this only needs to work for GNU compilers.)
4977: ac_save_ext=$ac_ext
4978: ac_ext=F
4979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4980: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4981: if ${ac_cv_fc_compiler_gnu+:} false; then :
4982: $as_echo_n "(cached) " >&6
4983: else
4984: cat > conftest.$ac_ext <<_ACEOF
4985: program main
4986: #ifndef __GNUC__
4987: choke me
4988: #endif
4989:
4990: end
4991: _ACEOF
4992: if ac_fn_fc_try_compile "$LINENO"; then :
4993: ac_compiler_gnu=yes
4994: else
4995: ac_compiler_gnu=no
4996: fi
4997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4999:
5000: fi
5001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
5002: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
5003: ac_ext=$ac_save_ext
5004: ac_test_FCFLAGS=${FCFLAGS+set}
5005: ac_save_FCFLAGS=$FCFLAGS
5006: FCFLAGS=
5007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
5008: $as_echo_n "checking whether $FC accepts -g... " >&6; }
5009: if ${ac_cv_prog_fc_g+:} false; then :
5010: $as_echo_n "(cached) " >&6
5011: else
5012: FCFLAGS=-g
5013: cat > conftest.$ac_ext <<_ACEOF
5014: program main
5015:
5016: end
5017: _ACEOF
5018: if ac_fn_fc_try_compile "$LINENO"; then :
5019: ac_cv_prog_fc_g=yes
5020: else
5021: ac_cv_prog_fc_g=no
5022: fi
5023: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024:
5025: fi
5026: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
5027: $as_echo "$ac_cv_prog_fc_g" >&6; }
5028: if test "$ac_test_FCFLAGS" = set; then
5029: FCFLAGS=$ac_save_FCFLAGS
5030: elif test $ac_cv_prog_fc_g = yes; then
5031: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
5032: FCFLAGS="-g -O2"
5033: else
5034: FCFLAGS="-g"
5035: fi
5036: else
5037: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
5038: FCFLAGS="-O2"
5039: else
5040: FCFLAGS=
5041: fi
5042: fi
5043:
5044: ac_ext=c
5045: ac_cpp='$CPP $CPPFLAGS'
5046: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5049:
5050:
5051: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
5052: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5053: fi
5054:
5055: if test x"$FC" != x""; then
5056: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5057: awk -F. '{ printf("%s", $1);}'`
5058: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5059: awk -F. '{ printf("%s", $2);}'`
5060: if test $GCC_VERSION_MAJEURE -ge 5; then
5061: OPTIMISATION_F=-O3
5062: else
5063: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5064: OPTIMISATION_F=-O3
5065: else
5066: if test $GCC_VERSION_MAJEURE -ge 3; then
5067: OPTIMISATION_F=-O2
5068: else
5069: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5070: fi
5071: fi
5072: fi
5073: fi
5074:
5075:
5076: ac_ext=c
5077: ac_cpp='$CPP $CPPFLAGS'
5078: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5079: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5080: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5082: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5083: # On Suns, sometimes $CPP names a directory.
5084: if test -n "$CPP" && test -d "$CPP"; then
5085: CPP=
5086: fi
5087: if test -z "$CPP"; then
5088: if ${ac_cv_prog_CPP+:} false; then :
5089: $as_echo_n "(cached) " >&6
5090: else
5091: # Double quotes because CPP needs to be expanded
5092: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5093: do
5094: ac_preproc_ok=false
5095: for ac_c_preproc_warn_flag in '' yes
5096: do
5097: # Use a header file that comes with gcc, so configuring glibc
5098: # with a fresh cross-compiler works.
5099: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5100: # <limits.h> exists even on freestanding compilers.
5101: # On the NeXT, cc -E runs the code through the compiler's parser,
5102: # not just through cpp. "Syntax error" is here to catch this case.
5103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104: /* end confdefs.h. */
5105: #ifdef __STDC__
5106: # include <limits.h>
5107: #else
5108: # include <assert.h>
5109: #endif
5110: Syntax error
5111: _ACEOF
5112: if ac_fn_c_try_cpp "$LINENO"; then :
5113:
5114: else
5115: # Broken: fails on valid input.
5116: continue
5117: fi
5118: rm -f conftest.err conftest.i conftest.$ac_ext
5119:
5120: # OK, works on sane cases. Now check whether nonexistent headers
5121: # can be detected and how.
5122: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123: /* end confdefs.h. */
5124: #include <ac_nonexistent.h>
5125: _ACEOF
5126: if ac_fn_c_try_cpp "$LINENO"; then :
5127: # Broken: success on invalid input.
5128: continue
5129: else
5130: # Passes both tests.
5131: ac_preproc_ok=:
5132: break
5133: fi
5134: rm -f conftest.err conftest.i conftest.$ac_ext
5135:
5136: done
5137: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5138: rm -f conftest.i conftest.err conftest.$ac_ext
5139: if $ac_preproc_ok; then :
5140: break
5141: fi
5142:
5143: done
5144: ac_cv_prog_CPP=$CPP
5145:
5146: fi
5147: CPP=$ac_cv_prog_CPP
5148: else
5149: ac_cv_prog_CPP=$CPP
5150: fi
5151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5152: $as_echo "$CPP" >&6; }
5153: ac_preproc_ok=false
5154: for ac_c_preproc_warn_flag in '' yes
5155: do
5156: # Use a header file that comes with gcc, so configuring glibc
5157: # with a fresh cross-compiler works.
5158: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5159: # <limits.h> exists even on freestanding compilers.
5160: # On the NeXT, cc -E runs the code through the compiler's parser,
5161: # not just through cpp. "Syntax error" is here to catch this case.
5162: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5163: /* end confdefs.h. */
5164: #ifdef __STDC__
5165: # include <limits.h>
5166: #else
5167: # include <assert.h>
5168: #endif
5169: Syntax error
5170: _ACEOF
5171: if ac_fn_c_try_cpp "$LINENO"; then :
5172:
5173: else
5174: # Broken: fails on valid input.
5175: continue
5176: fi
5177: rm -f conftest.err conftest.i conftest.$ac_ext
5178:
5179: # OK, works on sane cases. Now check whether nonexistent headers
5180: # can be detected and how.
5181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182: /* end confdefs.h. */
5183: #include <ac_nonexistent.h>
5184: _ACEOF
5185: if ac_fn_c_try_cpp "$LINENO"; then :
5186: # Broken: success on invalid input.
5187: continue
5188: else
5189: # Passes both tests.
5190: ac_preproc_ok=:
5191: break
5192: fi
5193: rm -f conftest.err conftest.i conftest.$ac_ext
5194:
5195: done
5196: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5197: rm -f conftest.i conftest.err conftest.$ac_ext
5198: if $ac_preproc_ok; then :
5199:
5200: else
5201: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5202: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5203: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5204: See \`config.log' for more details" "$LINENO" 5; }
5205: fi
5206:
5207: ac_ext=c
5208: ac_cpp='$CPP $CPPFLAGS'
5209: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212:
5213:
5214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5215: $as_echo_n "checking for X... " >&6; }
5216:
5217:
5218: # Check whether --with-x was given.
5219: if test "${with_x+set}" = set; then :
5220: withval=$with_x;
5221: fi
5222:
5223: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5224: if test "x$with_x" = xno; then
5225: # The user explicitly disabled X.
5226: have_x=disabled
5227: else
5228: case $x_includes,$x_libraries in #(
5229: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5230: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5231: $as_echo_n "(cached) " >&6
5232: else
5233: # One or both of the vars are not set, and there is no cached value.
5234: ac_x_includes=no ac_x_libraries=no
5235: rm -f -r conftest.dir
5236: if mkdir conftest.dir; then
5237: cd conftest.dir
5238: cat >Imakefile <<'_ACEOF'
5239: incroot:
5240: @echo incroot='${INCROOT}'
5241: usrlibdir:
5242: @echo usrlibdir='${USRLIBDIR}'
5243: libdir:
5244: @echo libdir='${LIBDIR}'
5245: _ACEOF
5246: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5247: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5248: for ac_var in incroot usrlibdir libdir; do
5249: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5250: done
5251: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5252: for ac_extension in a so sl dylib la dll; do
5253: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5254: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5255: ac_im_usrlibdir=$ac_im_libdir; break
5256: fi
5257: done
5258: # Screen out bogus values from the imake configuration. They are
5259: # bogus both because they are the default anyway, and because
5260: # using them would break gcc on systems where it needs fixed includes.
5261: case $ac_im_incroot in
5262: /usr/include) ac_x_includes= ;;
5263: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5264: esac
5265: case $ac_im_usrlibdir in
5266: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5267: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5268: esac
5269: fi
5270: cd ..
5271: rm -f -r conftest.dir
5272: fi
5273:
5274: # Standard set of common directories for X headers.
5275: # Check X11 before X11Rn because it is often a symlink to the current release.
5276: ac_x_header_dirs='
5277: /usr/X11/include
5278: /usr/X11R7/include
5279: /usr/X11R6/include
5280: /usr/X11R5/include
5281: /usr/X11R4/include
5282:
5283: /usr/include/X11
5284: /usr/include/X11R7
5285: /usr/include/X11R6
5286: /usr/include/X11R5
5287: /usr/include/X11R4
5288:
5289: /usr/local/X11/include
5290: /usr/local/X11R7/include
5291: /usr/local/X11R6/include
5292: /usr/local/X11R5/include
5293: /usr/local/X11R4/include
5294:
5295: /usr/local/include/X11
5296: /usr/local/include/X11R7
5297: /usr/local/include/X11R6
5298: /usr/local/include/X11R5
5299: /usr/local/include/X11R4
5300:
5301: /usr/X386/include
5302: /usr/x386/include
5303: /usr/XFree86/include/X11
5304:
5305: /usr/include
5306: /usr/local/include
5307: /usr/unsupported/include
5308: /usr/athena/include
5309: /usr/local/x11r5/include
5310: /usr/lpp/Xamples/include
5311:
5312: /usr/openwin/include
5313: /usr/openwin/share/include'
5314:
5315: if test "$ac_x_includes" = no; then
5316: # Guess where to find include files, by looking for Xlib.h.
5317: # First, try using that file with no special directory specified.
5318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319: /* end confdefs.h. */
5320: #include <X11/Xlib.h>
5321: _ACEOF
5322: if ac_fn_c_try_cpp "$LINENO"; then :
5323: # We can compile using X headers with no special include directory.
5324: ac_x_includes=
5325: else
5326: for ac_dir in $ac_x_header_dirs; do
5327: if test -r "$ac_dir/X11/Xlib.h"; then
5328: ac_x_includes=$ac_dir
5329: break
5330: fi
5331: done
5332: fi
5333: rm -f conftest.err conftest.i conftest.$ac_ext
5334: fi # $ac_x_includes = no
5335:
5336: if test "$ac_x_libraries" = no; then
5337: # Check for the libraries.
5338: # See if we find them without any special options.
5339: # Don't add to $LIBS permanently.
5340: ac_save_LIBS=$LIBS
5341: LIBS="-lX11 $LIBS"
5342: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343: /* end confdefs.h. */
5344: #include <X11/Xlib.h>
5345: int
5346: main ()
5347: {
5348: XrmInitialize ()
5349: ;
5350: return 0;
5351: }
5352: _ACEOF
5353: if ac_fn_c_try_link "$LINENO"; then :
5354: LIBS=$ac_save_LIBS
5355: # We can link X programs with no special library path.
5356: ac_x_libraries=
5357: else
5358: LIBS=$ac_save_LIBS
5359: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5360: do
5361: # Don't even attempt the hair of trying to link an X program!
5362: for ac_extension in a so sl dylib la dll; do
5363: if test -r "$ac_dir/libX11.$ac_extension"; then
5364: ac_x_libraries=$ac_dir
5365: break 2
5366: fi
5367: done
5368: done
5369: fi
5370: rm -f core conftest.err conftest.$ac_objext \
5371: conftest$ac_exeext conftest.$ac_ext
5372: fi # $ac_x_libraries = no
5373:
5374: case $ac_x_includes,$ac_x_libraries in #(
5375: no,* | *,no | *\'*)
5376: # Didn't find X, or a directory has "'" in its name.
5377: ac_cv_have_x="have_x=no";; #(
5378: *)
5379: # Record where we found X for the cache.
5380: ac_cv_have_x="have_x=yes\
5381: ac_x_includes='$ac_x_includes'\
5382: ac_x_libraries='$ac_x_libraries'"
5383: esac
5384: fi
5385: ;; #(
5386: *) have_x=yes;;
5387: esac
5388: eval "$ac_cv_have_x"
5389: fi # $with_x != no
5390:
5391: if test "$have_x" != yes; then
5392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5393: $as_echo "$have_x" >&6; }
5394: no_x=yes
5395: else
5396: # If each of the values was on the command line, it overrides each guess.
5397: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5398: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5399: # Update the cache value to reflect the command line values.
5400: ac_cv_have_x="have_x=yes\
5401: ac_x_includes='$x_includes'\
5402: ac_x_libraries='$x_libraries'"
5403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5404: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5405: fi
5406:
5407: if test "$no_x" = yes; then
5408: # Not all programs may use this symbol, but it does not hurt to define it.
5409:
5410: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5411:
5412: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5413: else
5414: if test -n "$x_includes"; then
5415: X_CFLAGS="$X_CFLAGS -I$x_includes"
5416: fi
5417:
5418: # It would also be nice to do this for all -L options, not just this one.
5419: if test -n "$x_libraries"; then
5420: X_LIBS="$X_LIBS -L$x_libraries"
5421: # For Solaris; some versions of Sun CC require a space after -R and
5422: # others require no space. Words are not sufficient . . . .
5423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5424: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5425: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5426: ac_xsave_c_werror_flag=$ac_c_werror_flag
5427: ac_c_werror_flag=yes
5428: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429: /* end confdefs.h. */
5430:
5431: int
5432: main ()
5433: {
5434:
5435: ;
5436: return 0;
5437: }
5438: _ACEOF
5439: if ac_fn_c_try_link "$LINENO"; then :
5440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441: $as_echo "no" >&6; }
5442: X_LIBS="$X_LIBS -R$x_libraries"
5443: else
5444: LIBS="$ac_xsave_LIBS -R $x_libraries"
5445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446: /* end confdefs.h. */
5447:
5448: int
5449: main ()
5450: {
5451:
5452: ;
5453: return 0;
5454: }
5455: _ACEOF
5456: if ac_fn_c_try_link "$LINENO"; then :
5457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5458: $as_echo "yes" >&6; }
5459: X_LIBS="$X_LIBS -R $x_libraries"
5460: else
5461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5462: $as_echo "neither works" >&6; }
5463: fi
5464: rm -f core conftest.err conftest.$ac_objext \
5465: conftest$ac_exeext conftest.$ac_ext
5466: fi
5467: rm -f core conftest.err conftest.$ac_objext \
5468: conftest$ac_exeext conftest.$ac_ext
5469: ac_c_werror_flag=$ac_xsave_c_werror_flag
5470: LIBS=$ac_xsave_LIBS
5471: fi
5472:
5473: # Check for system-dependent libraries X programs must link with.
5474: # Do this before checking for the system-independent R6 libraries
5475: # (-lICE), since we may need -lsocket or whatever for X linking.
5476:
5477: if test "$ISC" = yes; then
5478: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5479: else
5480: # Martyn Johnson says this is needed for Ultrix, if the X
5481: # libraries were built with DECnet support. And Karl Berry says
5482: # the Alpha needs dnet_stub (dnet does not exist).
5483: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5484: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5485: /* end confdefs.h. */
5486:
5487: /* Override any GCC internal prototype to avoid an error.
5488: Use char because int might match the return type of a GCC
5489: builtin and then its argument prototype would still apply. */
5490: #ifdef __cplusplus
5491: extern "C"
5492: #endif
5493: char XOpenDisplay ();
5494: int
5495: main ()
5496: {
5497: return XOpenDisplay ();
5498: ;
5499: return 0;
5500: }
5501: _ACEOF
5502: if ac_fn_c_try_link "$LINENO"; then :
5503:
5504: else
5505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5506: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5507: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5508: $as_echo_n "(cached) " >&6
5509: else
5510: ac_check_lib_save_LIBS=$LIBS
5511: LIBS="-ldnet $LIBS"
5512: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513: /* end confdefs.h. */
5514:
5515: /* Override any GCC internal prototype to avoid an error.
5516: Use char because int might match the return type of a GCC
5517: builtin and then its argument prototype would still apply. */
5518: #ifdef __cplusplus
5519: extern "C"
5520: #endif
5521: char dnet_ntoa ();
5522: int
5523: main ()
5524: {
5525: return dnet_ntoa ();
5526: ;
5527: return 0;
5528: }
5529: _ACEOF
5530: if ac_fn_c_try_link "$LINENO"; then :
5531: ac_cv_lib_dnet_dnet_ntoa=yes
5532: else
5533: ac_cv_lib_dnet_dnet_ntoa=no
5534: fi
5535: rm -f core conftest.err conftest.$ac_objext \
5536: conftest$ac_exeext conftest.$ac_ext
5537: LIBS=$ac_check_lib_save_LIBS
5538: fi
5539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5540: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5541: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5542: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5543: fi
5544:
5545: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5547: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5548: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5549: $as_echo_n "(cached) " >&6
5550: else
5551: ac_check_lib_save_LIBS=$LIBS
5552: LIBS="-ldnet_stub $LIBS"
5553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554: /* end confdefs.h. */
5555:
5556: /* Override any GCC internal prototype to avoid an error.
5557: Use char because int might match the return type of a GCC
5558: builtin and then its argument prototype would still apply. */
5559: #ifdef __cplusplus
5560: extern "C"
5561: #endif
5562: char dnet_ntoa ();
5563: int
5564: main ()
5565: {
5566: return dnet_ntoa ();
5567: ;
5568: return 0;
5569: }
5570: _ACEOF
5571: if ac_fn_c_try_link "$LINENO"; then :
5572: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5573: else
5574: ac_cv_lib_dnet_stub_dnet_ntoa=no
5575: fi
5576: rm -f core conftest.err conftest.$ac_objext \
5577: conftest$ac_exeext conftest.$ac_ext
5578: LIBS=$ac_check_lib_save_LIBS
5579: fi
5580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5581: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5582: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5583: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5584: fi
5585:
5586: fi
5587: fi
5588: rm -f core conftest.err conftest.$ac_objext \
5589: conftest$ac_exeext conftest.$ac_ext
5590: LIBS="$ac_xsave_LIBS"
5591:
5592: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5593: # to get the SysV transport functions.
5594: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5595: # needs -lnsl.
5596: # The nsl library prevents programs from opening the X display
5597: # on Irix 5.2, according to T.E. Dickey.
5598: # The functions gethostbyname, getservbyname, and inet_addr are
5599: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5600: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5601: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5602:
5603: fi
5604:
5605: if test $ac_cv_func_gethostbyname = no; then
5606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5607: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5608: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5609: $as_echo_n "(cached) " >&6
5610: else
5611: ac_check_lib_save_LIBS=$LIBS
5612: LIBS="-lnsl $LIBS"
5613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614: /* end confdefs.h. */
5615:
5616: /* Override any GCC internal prototype to avoid an error.
5617: Use char because int might match the return type of a GCC
5618: builtin and then its argument prototype would still apply. */
5619: #ifdef __cplusplus
5620: extern "C"
5621: #endif
5622: char gethostbyname ();
5623: int
5624: main ()
5625: {
5626: return gethostbyname ();
5627: ;
5628: return 0;
5629: }
5630: _ACEOF
5631: if ac_fn_c_try_link "$LINENO"; then :
5632: ac_cv_lib_nsl_gethostbyname=yes
5633: else
5634: ac_cv_lib_nsl_gethostbyname=no
5635: fi
5636: rm -f core conftest.err conftest.$ac_objext \
5637: conftest$ac_exeext conftest.$ac_ext
5638: LIBS=$ac_check_lib_save_LIBS
5639: fi
5640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5641: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5642: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5643: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5644: fi
5645:
5646: if test $ac_cv_lib_nsl_gethostbyname = no; then
5647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5648: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5649: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5650: $as_echo_n "(cached) " >&6
5651: else
5652: ac_check_lib_save_LIBS=$LIBS
5653: LIBS="-lbsd $LIBS"
5654: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655: /* end confdefs.h. */
5656:
5657: /* Override any GCC internal prototype to avoid an error.
5658: Use char because int might match the return type of a GCC
5659: builtin and then its argument prototype would still apply. */
5660: #ifdef __cplusplus
5661: extern "C"
5662: #endif
5663: char gethostbyname ();
5664: int
5665: main ()
5666: {
5667: return gethostbyname ();
5668: ;
5669: return 0;
5670: }
5671: _ACEOF
5672: if ac_fn_c_try_link "$LINENO"; then :
5673: ac_cv_lib_bsd_gethostbyname=yes
5674: else
5675: ac_cv_lib_bsd_gethostbyname=no
5676: fi
5677: rm -f core conftest.err conftest.$ac_objext \
5678: conftest$ac_exeext conftest.$ac_ext
5679: LIBS=$ac_check_lib_save_LIBS
5680: fi
5681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5682: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5683: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5684: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5685: fi
5686:
5687: fi
5688: fi
5689:
5690: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5691: # socket/setsockopt and other routines are undefined under SCO ODT
5692: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5693: # on later versions), says Simon Leinen: it contains gethostby*
5694: # variants that don't use the name server (or something). -lsocket
5695: # must be given before -lnsl if both are needed. We assume that
5696: # if connect needs -lnsl, so does gethostbyname.
5697: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5698: if test "x$ac_cv_func_connect" = xyes; then :
5699:
5700: fi
5701:
5702: if test $ac_cv_func_connect = no; then
5703: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5704: $as_echo_n "checking for connect in -lsocket... " >&6; }
5705: if ${ac_cv_lib_socket_connect+:} false; then :
5706: $as_echo_n "(cached) " >&6
5707: else
5708: ac_check_lib_save_LIBS=$LIBS
5709: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5710: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711: /* end confdefs.h. */
5712:
5713: /* Override any GCC internal prototype to avoid an error.
5714: Use char because int might match the return type of a GCC
5715: builtin and then its argument prototype would still apply. */
5716: #ifdef __cplusplus
5717: extern "C"
5718: #endif
5719: char connect ();
5720: int
5721: main ()
5722: {
5723: return connect ();
5724: ;
5725: return 0;
5726: }
5727: _ACEOF
5728: if ac_fn_c_try_link "$LINENO"; then :
5729: ac_cv_lib_socket_connect=yes
5730: else
5731: ac_cv_lib_socket_connect=no
5732: fi
5733: rm -f core conftest.err conftest.$ac_objext \
5734: conftest$ac_exeext conftest.$ac_ext
5735: LIBS=$ac_check_lib_save_LIBS
5736: fi
5737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5738: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5739: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5740: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5741: fi
5742:
5743: fi
5744:
5745: # Guillermo Gomez says -lposix is necessary on A/UX.
5746: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5747: if test "x$ac_cv_func_remove" = xyes; then :
5748:
5749: fi
5750:
5751: if test $ac_cv_func_remove = no; then
5752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5753: $as_echo_n "checking for remove in -lposix... " >&6; }
5754: if ${ac_cv_lib_posix_remove+:} false; then :
5755: $as_echo_n "(cached) " >&6
5756: else
5757: ac_check_lib_save_LIBS=$LIBS
5758: LIBS="-lposix $LIBS"
5759: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760: /* end confdefs.h. */
5761:
5762: /* Override any GCC internal prototype to avoid an error.
5763: Use char because int might match the return type of a GCC
5764: builtin and then its argument prototype would still apply. */
5765: #ifdef __cplusplus
5766: extern "C"
5767: #endif
5768: char remove ();
5769: int
5770: main ()
5771: {
5772: return remove ();
5773: ;
5774: return 0;
5775: }
5776: _ACEOF
5777: if ac_fn_c_try_link "$LINENO"; then :
5778: ac_cv_lib_posix_remove=yes
5779: else
5780: ac_cv_lib_posix_remove=no
5781: fi
5782: rm -f core conftest.err conftest.$ac_objext \
5783: conftest$ac_exeext conftest.$ac_ext
5784: LIBS=$ac_check_lib_save_LIBS
5785: fi
5786: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5787: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5788: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5789: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5790: fi
5791:
5792: fi
5793:
5794: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5795: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5796: if test "x$ac_cv_func_shmat" = xyes; then :
5797:
5798: fi
5799:
5800: if test $ac_cv_func_shmat = no; then
5801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5802: $as_echo_n "checking for shmat in -lipc... " >&6; }
5803: if ${ac_cv_lib_ipc_shmat+:} false; then :
5804: $as_echo_n "(cached) " >&6
5805: else
5806: ac_check_lib_save_LIBS=$LIBS
5807: LIBS="-lipc $LIBS"
5808: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809: /* end confdefs.h. */
5810:
5811: /* Override any GCC internal prototype to avoid an error.
5812: Use char because int might match the return type of a GCC
5813: builtin and then its argument prototype would still apply. */
5814: #ifdef __cplusplus
5815: extern "C"
5816: #endif
5817: char shmat ();
5818: int
5819: main ()
5820: {
5821: return shmat ();
5822: ;
5823: return 0;
5824: }
5825: _ACEOF
5826: if ac_fn_c_try_link "$LINENO"; then :
5827: ac_cv_lib_ipc_shmat=yes
5828: else
5829: ac_cv_lib_ipc_shmat=no
5830: fi
5831: rm -f core conftest.err conftest.$ac_objext \
5832: conftest$ac_exeext conftest.$ac_ext
5833: LIBS=$ac_check_lib_save_LIBS
5834: fi
5835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5836: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5837: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5838: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5839: fi
5840:
5841: fi
5842: fi
5843:
5844: # Check for libraries that X11R6 Xt/Xaw programs need.
5845: ac_save_LDFLAGS=$LDFLAGS
5846: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5847: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5848: # check for ICE first), but we must link in the order -lSM -lICE or
5849: # we get undefined symbols. So assume we have SM if we have ICE.
5850: # These have to be linked with before -lX11, unlike the other
5851: # libraries we check for below, so use a different variable.
5852: # John Interrante, Karl Berry
5853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5854: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5855: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5856: $as_echo_n "(cached) " >&6
5857: else
5858: ac_check_lib_save_LIBS=$LIBS
5859: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5860: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861: /* end confdefs.h. */
5862:
5863: /* Override any GCC internal prototype to avoid an error.
5864: Use char because int might match the return type of a GCC
5865: builtin and then its argument prototype would still apply. */
5866: #ifdef __cplusplus
5867: extern "C"
5868: #endif
5869: char IceConnectionNumber ();
5870: int
5871: main ()
5872: {
5873: return IceConnectionNumber ();
5874: ;
5875: return 0;
5876: }
5877: _ACEOF
5878: if ac_fn_c_try_link "$LINENO"; then :
5879: ac_cv_lib_ICE_IceConnectionNumber=yes
5880: else
5881: ac_cv_lib_ICE_IceConnectionNumber=no
5882: fi
5883: rm -f core conftest.err conftest.$ac_objext \
5884: conftest$ac_exeext conftest.$ac_ext
5885: LIBS=$ac_check_lib_save_LIBS
5886: fi
5887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5888: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5889: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5890: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5891: fi
5892:
5893: LDFLAGS=$ac_save_LDFLAGS
5894:
5895: fi
5896:
5897:
5898: if test "$ac_x_includes" != "no"; then
5899: if test x"$ac_x_includes" != x; then
5900: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5901: includeX="-I$ac_x_includes"
5902: fi
5903: fi
5904: if test "$ac_x_libraries" != "no"; then
5905: if test x"$ac_x_libraries" != x; then
5906: X_LIBS="$X_LIBS -L$ac_x_libraries"
5907: fi
5908: fi
5909:
5910:
5911: # Check whether --with-32bits-abi was given.
5912: if test "${with_32bits_abi+set}" = set; then :
5913: withval=$with_32bits_abi;
5914: if test "$with-32bits-abi" = "no"; then
5915: ABI=
5916: else
5917: ABI=-m32
5918: fi
5919: else
5920:
5921: ABI=
5922:
5923:
5924: fi
5925:
5926:
5927: if test x$ABI = x; then
5928:
5929: # Check whether --with-64bits-abi was given.
5930: if test "${with_64bits_abi+set}" = set; then :
5931: withval=$with_64bits_abi;
5932: if test "$with-64bits-abi" = "no"; then
5933: ABI=
5934: else
5935: ABI=-m64
5936: fi
5937: else
5938:
5939: ABI=
5940:
5941:
5942: fi
5943:
5944: fi
5945:
5946: LDFLAGS="$LDFLAGS $ABI"
5947:
5948:
5949: # Check whether --with-rplcas was given.
5950: if test "${with_rplcas+set}" = set; then :
5951: withval=$with_rplcas;
5952: if test "$with-rplcas" = "no"; then
5953: RPLCAS=-URPLCAS
5954: LIBRPLCAS=
5955: else
5956: RPLCAS=-DRPLCAS
5957: LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
5958: fi
5959: else
5960:
5961: RPLCAS=-URPLCAS
5962: LIBRPLCAS=
5963:
5964:
5965: fi
5966:
5967:
5968:
5969:
5970:
5971:
5972: # Check whether --enable-optimization was given.
5973: if test "${enable_optimization+set}" = set; then :
5974: enableval=$enable_optimization;
5975: if test "$enableval" = "no"; then
5976: CFLAGS=$ABI
5977: FFLAGS=$ABI
5978: CXXFLAGS=$ABI
5979: FCFLAGS=$ABI
5980: else
5981: CFLAGS="$CFLAGS $ABI $enable_optimization"
5982: FFLAGS="$FFLAGS $ABI $enable_optimization"
5983: CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
5984: FCFLAGS="$FCFLAGS $ABI $enable_optimization"
5985: fi
5986: else
5987:
5988: CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
5989: FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
5990: CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
5991: FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
5992:
5993:
5994: fi
5995:
5996:
5997: # Check whether --enable-sysv-semaphores was given.
5998: if test "${enable_sysv_semaphores+set}" = set; then :
5999: enableval=$enable_sysv_semaphores;
6000: if test "$enableval" = "no"; then
6001: IPCS_SYSV=no
6002: else
6003: IPCS_SYSV=yes
6004: fi
6005: else
6006: IPCS_SYSV=no
6007: fi
6008:
6009:
6010: # Check whether --enable-full-static was given.
6011: if test "${enable_full_static+set}" = set; then :
6012: enableval=$enable_full_static;
6013: if test "$enableval" = "no"; then
6014: STATIC=no
6015: else
6016: STATIC=yes
6017: fi
6018: else
6019: STATIC=no
6020: fi
6021:
6022:
6023: # Check whether --enable-final-encoding was given.
6024: if test "${enable_final_encoding+set}" = set; then :
6025: enableval=$enable_final_encoding;
6026: if test "$enableval" = "no"; then
6027: FINAL_ENCODING="\$(shell locale charmap | \
6028: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
6029: FORCED_FINAL_ENCODING=0
6030: else
6031: FINAL_ENCODING="$enable_final_encoding"
6032: FORCED_FINAL_ENCODING=1
6033: fi
6034: else
6035:
6036: FORCED_FINAL_ENCODING=0
6037: FINAL_ENCODING="\$(shell locale charmap | \
6038: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
6039: fi
6040:
6041:
6042: # Check whether --enable-tex was given.
6043: if test "${enable_tex+set}" = set; then :
6044: enableval=$enable_tex;
6045: if test "$enableval" = "no"; then
6046: TEX_SUPPORT=no
6047: else
6048: TEX_SUPPORT=yes
6049: fi
6050: else
6051: TEX_SUPPORT=guessed
6052: fi
6053:
6054:
6055: # Check whether --enable-vim was given.
6056: if test "${enable_vim+set}" = set; then :
6057: enableval=$enable_vim;
6058: if test "$enableval" = "no"; then
6059: VIM_SUPPORT=no
6060: else
6061: VIM_SUPPORT=yes
6062: fi
6063: else
6064: VIM_SUPPORT=guessed
6065: fi
6066:
6067:
6068: # Check whether --enable-embedded-gnuplot was given.
6069: if test "${enable_embedded_gnuplot+set}" = set; then :
6070: enableval=$enable_embedded_gnuplot;
6071: if test "$enableval" = "no"; then
6072: MYGNUPLOT=no
6073: else
6074: MYGNUPLOT=yes
6075: fi
6076: else
6077:
6078: MYGNUPLOT=yes
6079: fi
6080:
6081:
6082: # Check whether --enable-gnuplot was given.
6083: if test "${enable_gnuplot+set}" = set; then :
6084: enableval=$enable_gnuplot;
6085: if test "$enableval" = "no"; then
6086: GNUPLOT_SUPPORT=no
6087: MYGNUPLOT=no
6088: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6089: else
6090: GNUPLOT_SUPPORT=yes
6091: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6092: fi
6093: else
6094:
6095: if test "$MYGNUPLOT" = "yes"; then
6096: GNUPLOT_SUPPORT=yes
6097: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6098: else
6099: GNUPLOT_SUPPORT=guessed
6100: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6101: fi
6102: fi
6103:
6104:
6105: libX=""
6106: LIBMOTIF=""
6107: INCMOTIF=""
6108: BUILD_OPENMOTIF=""
6109:
6110: # Check whether --enable-motif was given.
6111: if test "${enable_motif+set}" = set; then :
6112: enableval=$enable_motif;
6113: if test "$enableval" = "no"; then
6114: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6115: else
6116: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6117: fi
6118: else
6119: if test "$have_x" == "yes"; then
6120: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6121: else
6122: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6123: fi
6124: fi
6125:
6126:
6127: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6128: libX="$X_LIBS -lXt -lX11"
6129: LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
6130: \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
6131: INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
6132: -I\$(top_builddir)/tools/$OPENMOTIF/lib \
6133: -I\$(top_builddir)/tools/$LIBXPM/include"
6134: BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
6135:
6136:
6137: subdirs="$subdirs tools/$LIBXPM"
6138:
6139: subdirs="$subdirs tools/$OPENMOTIF"
6140:
6141: fi
6142:
6143: # Check whether --enable-experimental was given.
6144: if test "${enable_experimental+set}" = set; then :
6145: enableval=$enable_experimental;
6146: if test "$enableval" = "no"; then
6147: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6148: else
6149: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6150: fi
6151: else
6152: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6153: fi
6154:
6155:
6156: # Check whether --enable-debug was given.
6157: if test "${enable_debug+set}" = set; then :
6158: enableval=$enable_debug;
6159: if test "$enableval" = "no"; then
6160: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6161: else
6162: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6163: fi
6164: else
6165: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6166: fi
6167:
6168:
6169: # Check whether --enable-profile was given.
6170: if test "${enable_profile+set}" = set; then :
6171: enableval=$enable_profile;
6172: if test "$enableval" = "no"; then
6173: PROFILAGE=""
6174: else
6175: PROFILAGE="-pg"
6176: fi
6177: else
6178: PROFILAGE=""
6179: fi
6180:
6181:
6182:
6183:
6184: if test ! -d tools; then
6185: mkdir tools
6186: fi
6187: if test ! -d "$srcdir"/tools/$NCURSES; then
6188: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6189: (cd "$srcdir/tools" && tar -xf -)
6190: (cd "$srcdir/tools/"$NCURSES && \
6191: for i in ../$NCURSES*.patch.gz;
6192: do gunzip -c $i | patch -p1;
6193: done);
6194: fi
6195: if test ! -d "$srcdir"/tools/$READLINE; then
6196: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6197: (cd "$srcdir/tools" && tar -xf -)
6198: fi
6199: if test ! -d "$srcdir"/tools/$UNITS; then
6200: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6201: (cd "$srcdir/tools" && tar -xf -)
6202: fi
6203: if test ! -d "$srcdir"/tools/$GSL; then
6204: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6205: (cd "$srcdir/tools" && tar -xf -)
6206: if test $(uname) = "OS/2"; then
6207: (cd "$srcdir"/tools/$GSL; \
6208: TMP=$(mktemp tmp.XXXXXXXXXX); \
6209: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6210: \mv -f $TMP ltmain.sh)
6211: fi
6212: fi
6213: if test ! -d "$srcdir"/tools/$GPP; then
6214: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6215: (cd "$srcdir/tools" && tar -xf -)
6216: fi
6217: if test ! -d "$srcdir"/tools/$FILE; then
6218: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6219: (cd "$srcdir/tools" && tar -xf - )
6220: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6221: fi
6222: if test ! -d "$srcdir"/tools/$ICONV; then
6223: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6224: (cd "$srcdir/tools" && tar -xf -)
6225: fi
6226: if test ! -d "$srcdir"/tools/$SQLITE; then
6227: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6228: (cd "$srcdir/tools" && tar -xf -)
6229: fi
6230: if test ! -d "$srcdir"/tools/$SIGSEGV; then
6231: gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
6232: (cd "$srcdir/tools" && tar -xf -)
6233: fi
6234: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
6235: gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
6236: (cd "$srcdir/tools" && tar -xf -)
6237: fi
6238: if test ! -d "$srcdir"/tools/$LIBXPM; then
6239: gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
6240: (cd "$srcdir/tools" && tar -xf -)
6241: fi
6242: if test ! -d tools/$OPENSSL; then
6243: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6244: (cd tools && tar -xf -)
6245: fi
6246: if test ! -d rplcas; then
6247: mkdir rplcas
6248: fi
6249: if test ! -d "$srcdir"/rplcas/$GMP; then
6250: gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
6251: (cd "$srcdir/rplcas" && tar -xf -)
6252: fi
6253: if test ! -d "$srcdir"/rplcas/$MPFR; then
6254: gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
6255: (cd "$srcdir/rplcas" && tar -xf -)
6256: fi
6257: if test ! -d rplcas/$NTL; then
6258: gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
6259: (cd rplcas && tar -xf -)
6260: fi
6261: if test ! -d rplcas/$COCOA; then
6262: gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
6263: (cd rplcas && tar -xf -)
6264: fi
6265: if test ! -d rplcas/$PARI; then
6266: gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
6267: (cd rplcas && tar -xf -)
6268: fi
6269: if test ! -d "$srcdir"/rplcas/$GIAC; then
6270: gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
6271: (cd "$srcdir/rplcas" && tar -xf -)
6272: fi
6273:
6274:
6275:
6276: # Check whether --enable-final-run-path was given.
6277: if test "${enable_final_run_path+set}" = set; then :
6278: enableval=$enable_final_run_path;
6279: if test "x$enable_final_run_path" = "x"; then
6280: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6281: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6282: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6283: else
6284: RUNPATH="$enable_final_run_path"
6285: fi
6286:
6287: else
6288: RUNPATH="\${prefix}"
6289:
6290: fi
6291:
6292:
6293:
6294:
6295: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6296: $as_echo_n "checking whether ln -s works... " >&6; }
6297: LN_S=$as_ln_s
6298: if test "$LN_S" = "ln -s"; then
6299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6300: $as_echo "yes" >&6; }
6301: else
6302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6303: $as_echo "no, using $LN_S" >&6; }
6304: fi
6305:
6306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6307: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6308: set x ${MAKE-make}
6309: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6310: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6311: $as_echo_n "(cached) " >&6
6312: else
6313: cat >conftest.make <<\_ACEOF
6314: SHELL = /bin/sh
6315: all:
6316: @echo '@@@%%%=$(MAKE)=@@@%%%'
6317: _ACEOF
6318: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6319: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6320: *@@@%%%=?*=@@@%%%*)
6321: eval ac_cv_prog_make_${ac_make}_set=yes;;
6322: *)
6323: eval ac_cv_prog_make_${ac_make}_set=no;;
6324: esac
6325: rm -f conftest.make
6326: fi
6327: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6329: $as_echo "yes" >&6; }
6330: SET_MAKE=
6331: else
6332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333: $as_echo "no" >&6; }
6334: SET_MAKE="MAKE=${MAKE-make}"
6335: fi
6336:
6337: if test -n "$ac_tool_prefix"; then
6338: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6339: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6340: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341: $as_echo_n "checking for $ac_word... " >&6; }
6342: if ${ac_cv_prog_RANLIB+:} false; then :
6343: $as_echo_n "(cached) " >&6
6344: else
6345: if test -n "$RANLIB"; then
6346: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6347: else
6348: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349: for as_dir in $PATH
6350: do
6351: IFS=$as_save_IFS
6352: test -z "$as_dir" && as_dir=.
6353: for ac_exec_ext in '' $ac_executable_extensions; do
6354: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6356: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357: break 2
6358: fi
6359: done
6360: done
6361: IFS=$as_save_IFS
6362:
6363: fi
6364: fi
6365: RANLIB=$ac_cv_prog_RANLIB
6366: if test -n "$RANLIB"; then
6367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6368: $as_echo "$RANLIB" >&6; }
6369: else
6370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371: $as_echo "no" >&6; }
6372: fi
6373:
6374:
6375: fi
6376: if test -z "$ac_cv_prog_RANLIB"; then
6377: ac_ct_RANLIB=$RANLIB
6378: # Extract the first word of "ranlib", so it can be a program name with args.
6379: set dummy ranlib; ac_word=$2
6380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381: $as_echo_n "checking for $ac_word... " >&6; }
6382: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6383: $as_echo_n "(cached) " >&6
6384: else
6385: if test -n "$ac_ct_RANLIB"; then
6386: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6387: else
6388: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389: for as_dir in $PATH
6390: do
6391: IFS=$as_save_IFS
6392: test -z "$as_dir" && as_dir=.
6393: for ac_exec_ext in '' $ac_executable_extensions; do
6394: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395: ac_cv_prog_ac_ct_RANLIB="ranlib"
6396: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397: break 2
6398: fi
6399: done
6400: done
6401: IFS=$as_save_IFS
6402:
6403: fi
6404: fi
6405: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6406: if test -n "$ac_ct_RANLIB"; then
6407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6408: $as_echo "$ac_ct_RANLIB" >&6; }
6409: else
6410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411: $as_echo "no" >&6; }
6412: fi
6413:
6414: if test "x$ac_ct_RANLIB" = x; then
6415: RANLIB=":"
6416: else
6417: case $cross_compiling:$ac_tool_warned in
6418: yes:)
6419: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6420: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6421: ac_tool_warned=yes ;;
6422: esac
6423: RANLIB=$ac_ct_RANLIB
6424: fi
6425: else
6426: RANLIB="$ac_cv_prog_RANLIB"
6427: fi
6428:
6429:
6430: # Extract the first word of "nawk", so it can be a program name with args.
6431: set dummy nawk; ac_word=$2
6432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433: $as_echo_n "checking for $ac_word... " >&6; }
6434: if ${ac_cv_prog_AWK+:} false; then :
6435: $as_echo_n "(cached) " >&6
6436: else
6437: if test -n "$AWK"; then
6438: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6439: else
6440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441: for as_dir in $PATH
6442: do
6443: IFS=$as_save_IFS
6444: test -z "$as_dir" && as_dir=.
6445: for ac_exec_ext in '' $ac_executable_extensions; do
6446: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447: ac_cv_prog_AWK="yes"
6448: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449: break 2
6450: fi
6451: done
6452: done
6453: IFS=$as_save_IFS
6454:
6455: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6456: fi
6457: fi
6458: AWK=$ac_cv_prog_AWK
6459: if test -n "$AWK"; then
6460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6461: $as_echo "$AWK" >&6; }
6462: else
6463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464: $as_echo "no" >&6; }
6465: fi
6466:
6467:
6468: if test "$AWK" = no; then
6469: # Extract the first word of "gawk", so it can be a program name with args.
6470: set dummy gawk; ac_word=$2
6471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472: $as_echo_n "checking for $ac_word... " >&6; }
6473: if ${ac_cv_prog_AWK+:} false; then :
6474: $as_echo_n "(cached) " >&6
6475: else
6476: if test -n "$AWK"; then
6477: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6478: else
6479: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480: for as_dir in $PATH
6481: do
6482: IFS=$as_save_IFS
6483: test -z "$as_dir" && as_dir=.
6484: for ac_exec_ext in '' $ac_executable_extensions; do
6485: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486: ac_cv_prog_AWK="yes"
6487: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488: break 2
6489: fi
6490: done
6491: done
6492: IFS=$as_save_IFS
6493:
6494: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6495: fi
6496: fi
6497: AWK=$ac_cv_prog_AWK
6498: if test -n "$AWK"; then
6499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6500: $as_echo "$AWK" >&6; }
6501: else
6502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503: $as_echo "no" >&6; }
6504: fi
6505:
6506:
6507: if test "$AWK" = no; then
6508: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6509: fi
6510: fi
6511:
6512: # Extract the first word of "sed", so it can be a program name with args.
6513: set dummy sed; ac_word=$2
6514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515: $as_echo_n "checking for $ac_word... " >&6; }
6516: if ${ac_cv_prog_SED+:} false; then :
6517: $as_echo_n "(cached) " >&6
6518: else
6519: if test -n "$SED"; then
6520: ac_cv_prog_SED="$SED" # Let the user override the test.
6521: else
6522: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523: for as_dir in $PATH
6524: do
6525: IFS=$as_save_IFS
6526: test -z "$as_dir" && as_dir=.
6527: for ac_exec_ext in '' $ac_executable_extensions; do
6528: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529: ac_cv_prog_SED="yes"
6530: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531: break 2
6532: fi
6533: done
6534: done
6535: IFS=$as_save_IFS
6536:
6537: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6538: fi
6539: fi
6540: SED=$ac_cv_prog_SED
6541: if test -n "$SED"; then
6542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6543: $as_echo "$SED" >&6; }
6544: else
6545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546: $as_echo "no" >&6; }
6547: fi
6548:
6549:
6550: if test "$SED" = no; then
6551: as_fn_error $? "Can not find sed !" "$LINENO" 5
6552: fi
6553:
6554: if test "$TEX_SUPPORT" = guessed; then
6555: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6556:
6557: # Extract the first word of "tex", so it can be a program name with args.
6558: set dummy tex; ac_word=$2
6559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560: $as_echo_n "checking for $ac_word... " >&6; }
6561: if ${ac_cv_prog_TEX+:} false; then :
6562: $as_echo_n "(cached) " >&6
6563: else
6564: if test -n "$TEX"; then
6565: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6566: else
6567: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568: for as_dir in $PATH
6569: do
6570: IFS=$as_save_IFS
6571: test -z "$as_dir" && as_dir=.
6572: for ac_exec_ext in '' $ac_executable_extensions; do
6573: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574: ac_cv_prog_TEX="yes"
6575: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576: break 2
6577: fi
6578: done
6579: done
6580: IFS=$as_save_IFS
6581:
6582: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6583: fi
6584: fi
6585: TEX=$ac_cv_prog_TEX
6586: if test -n "$TEX"; then
6587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6588: $as_echo "$TEX" >&6; }
6589: else
6590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591: $as_echo "no" >&6; }
6592: fi
6593:
6594:
6595: if test "$TEX" = no; then
6596: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6597: Download at http://tex.loria.fr/
6598: " >&5
6599: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6600: Download at http://tex.loria.fr/
6601: " >&2;}
6602: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6603: fi
6604:
6605: # Extract the first word of "latex", so it can be a program name with args.
6606: set dummy latex; ac_word=$2
6607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608: $as_echo_n "checking for $ac_word... " >&6; }
6609: if ${ac_cv_prog_LATEX+:} false; then :
6610: $as_echo_n "(cached) " >&6
6611: else
6612: if test -n "$LATEX"; then
6613: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6614: else
6615: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616: for as_dir in $PATH
6617: do
6618: IFS=$as_save_IFS
6619: test -z "$as_dir" && as_dir=.
6620: for ac_exec_ext in '' $ac_executable_extensions; do
6621: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622: ac_cv_prog_LATEX="yes"
6623: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624: break 2
6625: fi
6626: done
6627: done
6628: IFS=$as_save_IFS
6629:
6630: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6631: fi
6632: fi
6633: LATEX=$ac_cv_prog_LATEX
6634: if test -n "$LATEX"; then
6635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6636: $as_echo "$LATEX" >&6; }
6637: else
6638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639: $as_echo "no" >&6; }
6640: fi
6641:
6642:
6643: if test "$LATEX" = no; then
6644: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6645: Download at http://tex.loria.fr/
6646: " >&5
6647: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6648: Download at http://tex.loria.fr/
6649: " >&2;}
6650: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6651: fi
6652:
6653: # Extract the first word of "dvips", so it can be a program name with args.
6654: set dummy dvips; ac_word=$2
6655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656: $as_echo_n "checking for $ac_word... " >&6; }
6657: if ${ac_cv_prog_DVIPS+:} false; then :
6658: $as_echo_n "(cached) " >&6
6659: else
6660: if test -n "$DVIPS"; then
6661: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6662: else
6663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664: for as_dir in $PATH
6665: do
6666: IFS=$as_save_IFS
6667: test -z "$as_dir" && as_dir=.
6668: for ac_exec_ext in '' $ac_executable_extensions; do
6669: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670: ac_cv_prog_DVIPS="yes"
6671: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672: break 2
6673: fi
6674: done
6675: done
6676: IFS=$as_save_IFS
6677:
6678: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6679: fi
6680: fi
6681: DVIPS=$ac_cv_prog_DVIPS
6682: if test -n "$DVIPS"; then
6683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6684: $as_echo "$DVIPS" >&6; }
6685: else
6686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687: $as_echo "no" >&6; }
6688: fi
6689:
6690:
6691: if test "$DVIPS" = no; then
6692: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6693: Download at http://tex.loria.fr/
6694: " >&5
6695: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6696: Download at http://tex.loria.fr/
6697: " >&2;}
6698: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6699: fi
6700:
6701: # Extract the first word of "gs", so it can be a program name with args.
6702: set dummy gs; ac_word=$2
6703: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704: $as_echo_n "checking for $ac_word... " >&6; }
6705: if ${ac_cv_prog_GS+:} false; then :
6706: $as_echo_n "(cached) " >&6
6707: else
6708: if test -n "$GS"; then
6709: ac_cv_prog_GS="$GS" # Let the user override the test.
6710: else
6711: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712: for as_dir in $PATH
6713: do
6714: IFS=$as_save_IFS
6715: test -z "$as_dir" && as_dir=.
6716: for ac_exec_ext in '' $ac_executable_extensions; do
6717: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6718: ac_cv_prog_GS="yes"
6719: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720: break 2
6721: fi
6722: done
6723: done
6724: IFS=$as_save_IFS
6725:
6726: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6727: fi
6728: fi
6729: GS=$ac_cv_prog_GS
6730: if test -n "$GS"; then
6731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6732: $as_echo "$GS" >&6; }
6733: else
6734: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735: $as_echo "no" >&6; }
6736: fi
6737:
6738:
6739: if test "$GS" = no; then
6740: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6741: Download at http://ftp.lip6.fr/
6742: " >&5
6743: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6744: Download at http://ftp.lip6.fr/
6745: " >&2;}
6746: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6747: fi
6748:
6749: # Extract the first word of "gv", so it can be a program name with args.
6750: set dummy gv; ac_word=$2
6751: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752: $as_echo_n "checking for $ac_word... " >&6; }
6753: if ${ac_cv_prog_GV+:} false; then :
6754: $as_echo_n "(cached) " >&6
6755: else
6756: if test -n "$GV"; then
6757: ac_cv_prog_GV="$GV" # Let the user override the test.
6758: else
6759: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760: for as_dir in $PATH
6761: do
6762: IFS=$as_save_IFS
6763: test -z "$as_dir" && as_dir=.
6764: for ac_exec_ext in '' $ac_executable_extensions; do
6765: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766: ac_cv_prog_GV="yes"
6767: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768: break 2
6769: fi
6770: done
6771: done
6772: IFS=$as_save_IFS
6773:
6774: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6775: fi
6776: fi
6777: GV=$ac_cv_prog_GV
6778: if test -n "$GV"; then
6779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6780: $as_echo "$GV" >&6; }
6781: else
6782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783: $as_echo "no" >&6; }
6784: fi
6785:
6786:
6787: if test "$GV" = no; then
6788: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6789: Download at http://ftp.lip6.fr/
6790: " >&5
6791: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6792: Download at http://ftp.lip6.fr/
6793: " >&2;}
6794: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6795: fi
6796: else
6797: if test "$TEX_SUPPORT" = no; then
6798: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6799: else
6800: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6801: fi
6802: fi
6803:
6804: if test "$GNUPLOT_SUPPORT" = guessed; then
6805: # Extract the first word of "gnuplot", so it can be a program name with args.
6806: set dummy gnuplot; ac_word=$2
6807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808: $as_echo_n "checking for $ac_word... " >&6; }
6809: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6810: $as_echo_n "(cached) " >&6
6811: else
6812: if test -n "$GNUPLOT_P"; then
6813: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6814: else
6815: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816: for as_dir in $PATH
6817: do
6818: IFS=$as_save_IFS
6819: test -z "$as_dir" && as_dir=.
6820: for ac_exec_ext in '' $ac_executable_extensions; do
6821: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822: ac_cv_prog_GNUPLOT_P="yes"
6823: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824: break 2
6825: fi
6826: done
6827: done
6828: IFS=$as_save_IFS
6829:
6830: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6831: fi
6832: fi
6833: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6834: if test -n "$GNUPLOT_P"; then
6835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6836: $as_echo "$GNUPLOT_P" >&6; }
6837: else
6838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839: $as_echo "no" >&6; }
6840: fi
6841:
6842:
6843: if test "$GNUPLOT_P" = no; then
6844: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6845: Download at http://www.gnuplot.vt.edu/
6846: " >&5
6847: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6848: Download at http://www.gnuplot.vt.edu/
6849: " >&2;}
6850: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6851: else
6852: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6853: fi
6854: else
6855: if test "$GNUPLOT_SUPPORT" = no; then
6856: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6857: else
6858: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6859: fi
6860: fi
6861:
6862: if test "$VIM_SUPPORT" = guessed; then
6863: # Extract the first word of "vim", so it can be a program name with args.
6864: set dummy vim; ac_word=$2
6865: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866: $as_echo_n "checking for $ac_word... " >&6; }
6867: if ${ac_cv_prog_VIM+:} false; then :
6868: $as_echo_n "(cached) " >&6
6869: else
6870: if test -n "$VIM"; then
6871: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6872: else
6873: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874: for as_dir in $PATH
6875: do
6876: IFS=$as_save_IFS
6877: test -z "$as_dir" && as_dir=.
6878: for ac_exec_ext in '' $ac_executable_extensions; do
6879: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880: ac_cv_prog_VIM="yes"
6881: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882: break 2
6883: fi
6884: done
6885: done
6886: IFS=$as_save_IFS
6887:
6888: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6889: fi
6890: fi
6891: VIM=$ac_cv_prog_VIM
6892: if test -n "$VIM"; then
6893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6894: $as_echo "$VIM" >&6; }
6895: else
6896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897: $as_echo "no" >&6; }
6898: fi
6899:
6900:
6901: if test "$VIM" = no; then
6902: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6903: Download at http://www.vim.org/
6904: " >&5
6905: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6906: Download at http://www.vim.org/
6907: " >&2;}
6908: VIM_SUPPORT="-UVIM_SUPPORT"
6909: else
6910: VIM_SUPPORT="-DVIM_SUPPORT"
6911: fi
6912: else
6913: if test "$VIM_SUPPORT" = no; then
6914: VIM_SUPPORT="-UVIM_SUPPORT"
6915: else
6916: VIM_SUPPORT="-DVIM_SUPPORT"
6917: fi
6918: fi
6919:
6920:
6921:
6922:
6923:
6924:
6925:
6926:
6927:
6928:
6929:
6930: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6931:
6932:
6933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6934: $as_echo_n "checking for main in -lm... " >&6; }
6935: if ${ac_cv_lib_m_main+:} false; then :
6936: $as_echo_n "(cached) " >&6
6937: else
6938: ac_check_lib_save_LIBS=$LIBS
6939: LIBS="-lm $LIBS"
6940: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941: /* end confdefs.h. */
6942:
6943:
6944: int
6945: main ()
6946: {
6947: return main ();
6948: ;
6949: return 0;
6950: }
6951: _ACEOF
6952: if ac_fn_c_try_link "$LINENO"; then :
6953: ac_cv_lib_m_main=yes
6954: else
6955: ac_cv_lib_m_main=no
6956: fi
6957: rm -f core conftest.err conftest.$ac_objext \
6958: conftest$ac_exeext conftest.$ac_ext
6959: LIBS=$ac_check_lib_save_LIBS
6960: fi
6961: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
6962: $as_echo "$ac_cv_lib_m_main" >&6; }
6963: if test "x$ac_cv_lib_m_main" = xyes; then :
6964: cat >>confdefs.h <<_ACEOF
6965: #define HAVE_LIBM 1
6966: _ACEOF
6967:
6968: LIBS="-lm $LIBS"
6969:
6970: else
6971: as_fn_error $? "Can not find libm !" "$LINENO" 5
6972: fi
6973:
6974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
6975: $as_echo_n "checking for main in -lpthread... " >&6; }
6976: if ${ac_cv_lib_pthread_main+:} false; then :
6977: $as_echo_n "(cached) " >&6
6978: else
6979: ac_check_lib_save_LIBS=$LIBS
6980: LIBS="-lpthread $LIBS"
6981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982: /* end confdefs.h. */
6983:
6984:
6985: int
6986: main ()
6987: {
6988: return main ();
6989: ;
6990: return 0;
6991: }
6992: _ACEOF
6993: if ac_fn_c_try_link "$LINENO"; then :
6994: ac_cv_lib_pthread_main=yes
6995: else
6996: ac_cv_lib_pthread_main=no
6997: fi
6998: rm -f core conftest.err conftest.$ac_objext \
6999: conftest$ac_exeext conftest.$ac_ext
7000: LIBS=$ac_check_lib_save_LIBS
7001: fi
7002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
7003: $as_echo "$ac_cv_lib_pthread_main" >&6; }
7004: if test "x$ac_cv_lib_pthread_main" = xyes; then :
7005: cat >>confdefs.h <<_ACEOF
7006: #define HAVE_LIBPTHREAD 1
7007: _ACEOF
7008:
7009: LIBS="-lpthread $LIBS"
7010:
7011: else
7012: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
7013: fi
7014:
7015:
7016: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
7017: #include <sys/sem.h>
7018:
7019: "
7020: if test "x$ac_cv_type_union_semun" = xyes; then :
7021: SEMUN=-DUNION_SEMUN
7022: else
7023: SEMUN=-UUNION_SEMUN
7024: fi
7025:
7026:
7027: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7028: #include <sys/types.h>
7029: #include <netinet/in.h>
7030:
7031: "
7032: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7033: IPV6=-DIPV6
7034: else
7035: IPV6=-UIPV6
7036: fi
7037:
7038:
7039: if test "$CYGWIN" != yes; then
7040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7041: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7042: if ${ac_cv_lib_dl_dlopen+:} false; then :
7043: $as_echo_n "(cached) " >&6
7044: else
7045: ac_check_lib_save_LIBS=$LIBS
7046: LIBS="-ldl $LIBS"
7047: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048: /* end confdefs.h. */
7049:
7050: /* Override any GCC internal prototype to avoid an error.
7051: Use char because int might match the return type of a GCC
7052: builtin and then its argument prototype would still apply. */
7053: #ifdef __cplusplus
7054: extern "C"
7055: #endif
7056: char dlopen ();
7057: int
7058: main ()
7059: {
7060: return dlopen ();
7061: ;
7062: return 0;
7063: }
7064: _ACEOF
7065: if ac_fn_c_try_link "$LINENO"; then :
7066: ac_cv_lib_dl_dlopen=yes
7067: else
7068: ac_cv_lib_dl_dlopen=no
7069: fi
7070: rm -f core conftest.err conftest.$ac_objext \
7071: conftest$ac_exeext conftest.$ac_ext
7072: LIBS=$ac_check_lib_save_LIBS
7073: fi
7074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7075: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7076: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7077: LIBS="$LIBS -ldl"
7078: else
7079: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7080: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7081: fi
7082:
7083: fi
7084:
7085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7086: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7087: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7088: $as_echo_n "(cached) " >&6
7089: else
7090: ac_check_lib_save_LIBS=$LIBS
7091: LIBS="-lrt $LIBS"
7092: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093: /* end confdefs.h. */
7094:
7095: /* Override any GCC internal prototype to avoid an error.
7096: Use char because int might match the return type of a GCC
7097: builtin and then its argument prototype would still apply. */
7098: #ifdef __cplusplus
7099: extern "C"
7100: #endif
7101: char nanosleep ();
7102: int
7103: main ()
7104: {
7105: return nanosleep ();
7106: ;
7107: return 0;
7108: }
7109: _ACEOF
7110: if ac_fn_c_try_link "$LINENO"; then :
7111: ac_cv_lib_rt_nanosleep=yes
7112: else
7113: ac_cv_lib_rt_nanosleep=no
7114: fi
7115: rm -f core conftest.err conftest.$ac_objext \
7116: conftest$ac_exeext conftest.$ac_ext
7117: LIBS=$ac_check_lib_save_LIBS
7118: fi
7119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7120: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7121: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7122: LIBS="$LIBS -lrt"
7123: else
7124: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7125: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7126: fi
7127:
7128:
7129: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7130: $as_echo_n "checking for bind in -lsocket... " >&6; }
7131: if ${ac_cv_lib_socket_bind+:} false; then :
7132: $as_echo_n "(cached) " >&6
7133: else
7134: ac_check_lib_save_LIBS=$LIBS
7135: LIBS="-lsocket $LIBS"
7136: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137: /* end confdefs.h. */
7138:
7139: /* Override any GCC internal prototype to avoid an error.
7140: Use char because int might match the return type of a GCC
7141: builtin and then its argument prototype would still apply. */
7142: #ifdef __cplusplus
7143: extern "C"
7144: #endif
7145: char bind ();
7146: int
7147: main ()
7148: {
7149: return bind ();
7150: ;
7151: return 0;
7152: }
7153: _ACEOF
7154: if ac_fn_c_try_link "$LINENO"; then :
7155: ac_cv_lib_socket_bind=yes
7156: else
7157: ac_cv_lib_socket_bind=no
7158: fi
7159: rm -f core conftest.err conftest.$ac_objext \
7160: conftest$ac_exeext conftest.$ac_ext
7161: LIBS=$ac_check_lib_save_LIBS
7162: fi
7163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7164: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7165: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7166: LIBS="$LIBS -lsocket"
7167: else
7168: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7169: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7170: fi
7171:
7172:
7173: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7174:
7175: # Check whether --with-mysql was given.
7176: if test "${with_mysql+set}" = set; then :
7177: withval=$with_mysql;
7178: else
7179: with_mysql=check
7180: fi
7181:
7182:
7183: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7184: libMySQLinc="-I/usr/include"
7185: libMySQLlib="/usr/lib"
7186:
7187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7188: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7189: saved_CFLAGS="$CFLAGS"
7190: CFLAGS="$CFLAGS -L/$libMySQLinc"
7191: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192: /* end confdefs.h. */
7193: #include "mysql.h"
7194: int
7195: main ()
7196: {
7197:
7198: ;
7199: return 0;
7200: }
7201: _ACEOF
7202: if ac_fn_c_try_compile "$LINENO"; then :
7203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7204: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7205: libMySQLinc=$libMySQLinc/mysql
7206: else
7207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7209: fi
7210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7211: CFLAGS=$saved_CFLAGS
7212:
7213: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7215: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7216: saved_CFLAGS="$CFLAGS"
7217: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7218: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219: /* end confdefs.h. */
7220: #include "mysql.h"
7221: int
7222: main ()
7223: {
7224:
7225: ;
7226: return 0;
7227: }
7228: _ACEOF
7229: if ac_fn_c_try_compile "$LINENO"; then :
7230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7231: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7232: libMySQLinc=$libMySQLinc
7233: else
7234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7236: fi
7237: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7238: CFLAGS=$saved_CFLAGS
7239: libMySQLinc=$libMySQLinc/mysql
7240: fi
7241:
7242: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7244: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7245: saved_CFLAGS="$CFLAGS"
7246: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7247: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248: /* end confdefs.h. */
7249: #include "mysql.h"
7250: int
7251: main ()
7252: {
7253:
7254: ;
7255: return 0;
7256: }
7257: _ACEOF
7258: if ac_fn_c_try_compile "$LINENO"; then :
7259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7260: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7261: libMySQLinc=$libMySQLinc/mysql
7262: else
7263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7265: fi
7266: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267: CFLAGS=$saved_CFLAGS
7268: libMySQLinc=$libMySQLinc/../local/include
7269: libMySQLlib=$libMySQLlib/../local/lib
7270: fi
7271:
7272: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7274: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7275: saved_CFLAGS="$CFLAGS"
7276: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7277: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278: /* end confdefs.h. */
7279: #include "mysql.h"
7280: int
7281: main ()
7282: {
7283:
7284: ;
7285: return 0;
7286: }
7287: _ACEOF
7288: if ac_fn_c_try_compile "$LINENO"; then :
7289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7290: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7291: libMySQLinc=$libMySQLinc/mysql
7292: else
7293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7295: fi
7296: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297: CFLAGS=$saved_CFLAGS
7298: libMySQLinc=$libMySQLinc/../local/include/mysql
7299: libMySQLlib=$libMySQLlib/../local/lib
7300: fi
7301: else
7302: if test "x$with_mysql" != xno; then
7303: libMySQLinc="-I$with_mysql/include"
7304: libMySQLlib="$with_mysql/lib"
7305:
7306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7307: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7308: saved_CFLAGS="$CFLAGS"
7309: CFLAGS="$CFLAGS $libMySQLinc"
7310: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311: /* end confdefs.h. */
7312: #include "mysql.h"
7313: int
7314: main ()
7315: {
7316:
7317: ;
7318: return 0;
7319: }
7320: _ACEOF
7321: if ac_fn_c_try_compile "$LINENO"; then :
7322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7323: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7324: libMySQLinc=$libMySQLinc/mysql
7325: else
7326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7328: fi
7329: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330: CFLAGS=$saved_CFLAGS
7331:
7332: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7334: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7335: saved_CFLAGS="$CFLAGS"
7336: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7337: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338: /* end confdefs.h. */
7339: #include "mysql.h"
7340: int
7341: main ()
7342: {
7343:
7344: ;
7345: return 0;
7346: }
7347: _ACEOF
7348: if ac_fn_c_try_compile "$LINENO"; then :
7349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7350: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7351: libMySQLinc=$libMySQLinc
7352: else
7353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7355: fi
7356: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7357: CFLAGS=$saved_CFLAGS
7358: libMySQLinc=$libMySQLinc/mysql
7359: fi
7360: else
7361: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7362: fi
7363: fi
7364:
7365: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7366: MYSQL_LIB=no
7367:
7368: if test $MYSQL_LIB = no; then
7369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7370: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7371: saved_LIBS="$LIBS"
7372: if test $STATIC = no; then
7373: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7374: else
7375: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7376: fi
7377: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378: /* end confdefs.h. */
7379: #include "mysql.h"
7380: int
7381: main ()
7382: {
7383: MYSQL mysql; mysql_init(&mysql);
7384: ;
7385: return 0;
7386: }
7387: _ACEOF
7388: if ac_fn_c_try_link "$LINENO"; then :
7389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7390: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7391: else
7392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393: $as_echo "no" >&6; }; MYSQL_LIB="no"
7394: fi
7395: rm -f core conftest.err conftest.$ac_objext \
7396: conftest$ac_exeext conftest.$ac_ext
7397: LIBS=$saved_LIBS;
7398: if test $STATIC = no; then
7399: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7400: else
7401: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7402: EXT_SQL="$EXT_SQL $libMySQLlib"
7403: fi
7404: fi
7405:
7406: if test $MYSQL_LIB = no; then
7407: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7408: fi
7409: fi
7410:
7411: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7412: libMySQLinc=
7413: libMySQLlib=
7414: fi
7415:
7416:
7417:
7418:
7419:
7420: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7421:
7422: # Check whether --with-postgresql was given.
7423: if test "${with_postgresql+set}" = set; then :
7424: withval=$with_postgresql;
7425: else
7426: with_postgresql=check
7427: fi
7428:
7429:
7430: # with_postgresql : check [pas défini], yes [uniquement --with],
7431: # no [--without], valeur [--with=valeur].
7432:
7433: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7434: libPgSQLinc="-I/usr/include"
7435: libPgSQLlib="/usr/lib"
7436:
7437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7438: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7439: saved_CFLAGS="$CFLAGS"
7440: CFLAGS="$CFLAGS $libPgSQLinc"
7441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7442: /* end confdefs.h. */
7443: #include "libpq-fe.h"
7444: int
7445: main ()
7446: {
7447:
7448: ;
7449: return 0;
7450: }
7451: _ACEOF
7452: if ac_fn_c_try_compile "$LINENO"; then :
7453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7454: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7455: else
7456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7458: fi
7459: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460: CFLAGS=$saved_CFLAGS
7461:
7462: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7463: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7464: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7465: saved_CFLAGS="$CFLAGS"
7466: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7467: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468: /* end confdefs.h. */
7469: #include "libpq-fe.h"
7470: int
7471: main ()
7472: {
7473:
7474: ;
7475: return 0;
7476: }
7477: _ACEOF
7478: if ac_fn_c_try_compile "$LINENO"; then :
7479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7480: $as_echo "yes" >&6; };
7481: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7482: else
7483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484: $as_echo "no" >&6; };
7485: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7486: fi
7487: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488: CFLAGS=$saved_CFLAGS
7489: libPgSQLinc=$libPgSQLinc/postgresql
7490: fi
7491:
7492: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7494: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7495: saved_CFLAGS="$CFLAGS"
7496: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7497: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498: /* end confdefs.h. */
7499: #include "libpq-fe.h"
7500: int
7501: main ()
7502: {
7503:
7504: ;
7505: return 0;
7506: }
7507: _ACEOF
7508: if ac_fn_c_try_compile "$LINENO"; then :
7509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7510: $as_echo "yes" >&6; };
7511: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7512: else
7513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514: $as_echo "no" >&6; };
7515: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7516: fi
7517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7518: CFLAGS=$saved_CFLAGS
7519: libPgSQLinc=$libPgSQLinc/pgsql
7520: fi
7521:
7522: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7523: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7524: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7525: saved_CFLAGS="$CFLAGS"
7526: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7527: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528: /* end confdefs.h. */
7529: #include "libpq-fe.h"
7530: int
7531: main ()
7532: {
7533:
7534: ;
7535: return 0;
7536: }
7537: _ACEOF
7538: if ac_fn_c_try_compile "$LINENO"; then :
7539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7540: $as_echo "yes" >&6; };
7541: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7542: else
7543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544: $as_echo "no" >&6; };
7545: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7546: fi
7547: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7548: CFLAGS=$saved_CFLAGS
7549: libPgSQLinc=$libPgSQLinc/../local/include
7550: libPgSQLlib=$libPgSQLlib/../local/lib
7551: fi
7552:
7553: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7555: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7556: saved_CFLAGS="$CFLAGS"
7557: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7558: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559: /* end confdefs.h. */
7560: #include "libpq-fe.h"
7561: int
7562: main ()
7563: {
7564:
7565: ;
7566: return 0;
7567: }
7568: _ACEOF
7569: if ac_fn_c_try_compile "$LINENO"; then :
7570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7571: $as_echo "yes" >&6; };
7572: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7573: else
7574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575: $as_echo "no" >&6; };
7576: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7577: fi
7578: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7579: CFLAGS=$saved_CFLAGS
7580: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7581: libPgSQLlib=$libPgSQLlib/../local/lib
7582: fi
7583:
7584: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7586: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7587: saved_CFLAGS="$CFLAGS"
7588: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7589: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590: /* end confdefs.h. */
7591: #include "libpq-fe.h"
7592: int
7593: main ()
7594: {
7595:
7596: ;
7597: return 0;
7598: }
7599: _ACEOF
7600: if ac_fn_c_try_compile "$LINENO"; then :
7601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7602: $as_echo "yes" >&6; };
7603: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7604: else
7605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606: $as_echo "no" >&6; };
7607: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7608: fi
7609: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610: CFLAGS=$saved_CFLAGS
7611: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7612: libPgSQLlib=$libPgSQLlib/../local/lib
7613: fi
7614: else
7615: if test "x$with_postgresql" != xno; then
7616: libPgSQLinc="-I$with_postgresql/include"
7617: libPgSQLlib="$with_postgresql/lib"
7618:
7619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7620: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7621: saved_CFLAGS="$CFLAGS"
7622: CFLAGS="$CFLAGS $libPgSQLinc"
7623: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624: /* end confdefs.h. */
7625: #include "libpq-fe.h"
7626: int
7627: main ()
7628: {
7629:
7630: ;
7631: return 0;
7632: }
7633: _ACEOF
7634: if ac_fn_c_try_compile "$LINENO"; then :
7635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7636: $as_echo "yes" >&6; };
7637: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7638: else
7639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640: $as_echo "no" >&6; };
7641: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7642: fi
7643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644: CFLAGS=$saved_CFLAGS
7645:
7646: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7648: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7649: saved_CFLAGS="$CFLAGS"
7650: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7651: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652: /* end confdefs.h. */
7653: #include "libpq-fe.h"
7654: int
7655: main ()
7656: {
7657:
7658: ;
7659: return 0;
7660: }
7661: _ACEOF
7662: if ac_fn_c_try_compile "$LINENO"; then :
7663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7664: $as_echo "yes" >&6; };
7665: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7666: else
7667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668: $as_echo "no" >&6; };
7669: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7670: fi
7671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672: CFLAGS=$saved_CFLAGS
7673: libPgSQLinc=$libPgSQLinc/postgresql
7674: fi
7675:
7676: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7678: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7679: saved_CFLAGS="$CFLAGS"
7680: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682: /* end confdefs.h. */
7683: #include "libpq-fe.h"
7684: int
7685: main ()
7686: {
7687:
7688: ;
7689: return 0;
7690: }
7691: _ACEOF
7692: if ac_fn_c_try_compile "$LINENO"; then :
7693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7694: $as_echo "yes" >&6; };
7695: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7696: else
7697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698: $as_echo "no" >&6; };
7699: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7700: fi
7701: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7702: CFLAGS=$saved_CFLAGS
7703: libPgSQLinc=$libPgSQLinc/pgsql
7704: fi
7705: else
7706: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7707: fi
7708: fi
7709:
7710: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7711: POSTGRESQL_LIB=no
7712:
7713: if test $POSTGRESQL_LIB = no; then
7714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7715: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7716: saved_LIBS="$LIBS"
7717: if test $STATIC = no; then
7718: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7719: else
7720: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7721: fi
7722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723: /* end confdefs.h. */
7724: #include "libpq-fe.h"
7725: int
7726: main ()
7727: {
7728: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7729: PQconnectdb(conninfo);
7730: ;
7731: return 0;
7732: }
7733: _ACEOF
7734: if ac_fn_c_try_link "$LINENO"; then :
7735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7736: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7737: else
7738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7740: fi
7741: rm -f core conftest.err conftest.$ac_objext \
7742: conftest$ac_exeext conftest.$ac_ext
7743: LIBS=$saved_LIBS;
7744: if test $STATIC = no; then
7745: libPgSQLlib="-L/$libPgSQLlib -lpq"
7746: else
7747: libPgSQLlib="$libPgSQLlib/libpq.a"
7748: EXT_SQL="$EXT_SQL $libPgSQLlib"
7749: fi
7750: fi
7751: fi
7752:
7753: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7754: libPgSQLinc=
7755: libPgSQLlib=
7756: fi
7757:
7758:
7759:
7760:
7761:
7762: # with_postgresql : check [pas défini], yes [uniquement --with],
7763: # no [--without], valeur [--with=valeur].
7764:
7765: # Check whether --with-bourne_shell was given.
7766: if test "${with_bourne_shell+set}" = set; then :
7767: withval=$with_bourne_shell;
7768: else
7769: with_bourne_shell=no
7770: fi
7771:
7772:
7773: if test "x$with_bourne_shell" = xyes; then
7774: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7775: fi
7776:
7777: if test "x$with_bourne_shell" = xno; then
7778: if test $(uname) = "OS/2"; then
7779: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7780: fi
7781:
7782: BSH_PATH=
7783: else
7784: if test ! -x $with_bourne_shell; then
7785: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7786: fi
7787:
7788: if test $(uname) = "OS/2"; then
7789: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7790: sed -e '1,$s/\//\\\\\\\\/g')
7791: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7792: else
7793: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7794: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7795: BSH_PATH=
7796: fi
7797: fi
7798:
7799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7800: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7801: if ${ac_cv_path_GREP+:} false; then :
7802: $as_echo_n "(cached) " >&6
7803: else
7804: if test -z "$GREP"; then
7805: ac_path_GREP_found=false
7806: # Loop through the user's path and test for each of PROGNAME-LIST
7807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7809: do
7810: IFS=$as_save_IFS
7811: test -z "$as_dir" && as_dir=.
7812: for ac_prog in grep ggrep; do
7813: for ac_exec_ext in '' $ac_executable_extensions; do
7814: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7815: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7816: # Check for GNU ac_path_GREP and select it if it is found.
7817: # Check for GNU $ac_path_GREP
7818: case `"$ac_path_GREP" --version 2>&1` in
7819: *GNU*)
7820: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7821: *)
7822: ac_count=0
7823: $as_echo_n 0123456789 >"conftest.in"
7824: while :
7825: do
7826: cat "conftest.in" "conftest.in" >"conftest.tmp"
7827: mv "conftest.tmp" "conftest.in"
7828: cp "conftest.in" "conftest.nl"
7829: $as_echo 'GREP' >> "conftest.nl"
7830: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7831: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7832: as_fn_arith $ac_count + 1 && ac_count=$as_val
7833: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7834: # Best one so far, save it but keep looking for a better one
7835: ac_cv_path_GREP="$ac_path_GREP"
7836: ac_path_GREP_max=$ac_count
7837: fi
7838: # 10*(2^10) chars as input seems more than enough
7839: test $ac_count -gt 10 && break
7840: done
7841: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7842: esac
7843:
7844: $ac_path_GREP_found && break 3
7845: done
7846: done
7847: done
7848: IFS=$as_save_IFS
7849: if test -z "$ac_cv_path_GREP"; then
7850: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7851: fi
7852: else
7853: ac_cv_path_GREP=$GREP
7854: fi
7855:
7856: fi
7857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7858: $as_echo "$ac_cv_path_GREP" >&6; }
7859: GREP="$ac_cv_path_GREP"
7860:
7861:
7862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7863: $as_echo_n "checking for egrep... " >&6; }
7864: if ${ac_cv_path_EGREP+:} false; then :
7865: $as_echo_n "(cached) " >&6
7866: else
7867: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7868: then ac_cv_path_EGREP="$GREP -E"
7869: else
7870: if test -z "$EGREP"; then
7871: ac_path_EGREP_found=false
7872: # Loop through the user's path and test for each of PROGNAME-LIST
7873: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7875: do
7876: IFS=$as_save_IFS
7877: test -z "$as_dir" && as_dir=.
7878: for ac_prog in egrep; do
7879: for ac_exec_ext in '' $ac_executable_extensions; do
7880: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7881: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7882: # Check for GNU ac_path_EGREP and select it if it is found.
7883: # Check for GNU $ac_path_EGREP
7884: case `"$ac_path_EGREP" --version 2>&1` in
7885: *GNU*)
7886: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7887: *)
7888: ac_count=0
7889: $as_echo_n 0123456789 >"conftest.in"
7890: while :
7891: do
7892: cat "conftest.in" "conftest.in" >"conftest.tmp"
7893: mv "conftest.tmp" "conftest.in"
7894: cp "conftest.in" "conftest.nl"
7895: $as_echo 'EGREP' >> "conftest.nl"
7896: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7897: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7898: as_fn_arith $ac_count + 1 && ac_count=$as_val
7899: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7900: # Best one so far, save it but keep looking for a better one
7901: ac_cv_path_EGREP="$ac_path_EGREP"
7902: ac_path_EGREP_max=$ac_count
7903: fi
7904: # 10*(2^10) chars as input seems more than enough
7905: test $ac_count -gt 10 && break
7906: done
7907: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7908: esac
7909:
7910: $ac_path_EGREP_found && break 3
7911: done
7912: done
7913: done
7914: IFS=$as_save_IFS
7915: if test -z "$ac_cv_path_EGREP"; then
7916: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7917: fi
7918: else
7919: ac_cv_path_EGREP=$EGREP
7920: fi
7921:
7922: fi
7923: fi
7924: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7925: $as_echo "$ac_cv_path_EGREP" >&6; }
7926: EGREP="$ac_cv_path_EGREP"
7927:
7928:
7929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7930: $as_echo_n "checking for ANSI C header files... " >&6; }
7931: if ${ac_cv_header_stdc+:} false; then :
7932: $as_echo_n "(cached) " >&6
7933: else
7934: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935: /* end confdefs.h. */
7936: #include <stdlib.h>
7937: #include <stdarg.h>
7938: #include <string.h>
7939: #include <float.h>
7940:
7941: int
7942: main ()
7943: {
7944:
7945: ;
7946: return 0;
7947: }
7948: _ACEOF
7949: if ac_fn_c_try_compile "$LINENO"; then :
7950: ac_cv_header_stdc=yes
7951: else
7952: ac_cv_header_stdc=no
7953: fi
7954: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7955:
7956: if test $ac_cv_header_stdc = yes; then
7957: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7958: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959: /* end confdefs.h. */
7960: #include <string.h>
7961:
7962: _ACEOF
7963: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7964: $EGREP "memchr" >/dev/null 2>&1; then :
7965:
7966: else
7967: ac_cv_header_stdc=no
7968: fi
7969: rm -f conftest*
7970:
7971: fi
7972:
7973: if test $ac_cv_header_stdc = yes; then
7974: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7975: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976: /* end confdefs.h. */
7977: #include <stdlib.h>
7978:
7979: _ACEOF
7980: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7981: $EGREP "free" >/dev/null 2>&1; then :
7982:
7983: else
7984: ac_cv_header_stdc=no
7985: fi
7986: rm -f conftest*
7987:
7988: fi
7989:
7990: if test $ac_cv_header_stdc = yes; then
7991: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7992: if test "$cross_compiling" = yes; then :
7993: :
7994: else
7995: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996: /* end confdefs.h. */
7997: #include <ctype.h>
7998: #include <stdlib.h>
7999: #if ((' ' & 0x0FF) == 0x020)
8000: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8001: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8002: #else
8003: # define ISLOWER(c) \
8004: (('a' <= (c) && (c) <= 'i') \
8005: || ('j' <= (c) && (c) <= 'r') \
8006: || ('s' <= (c) && (c) <= 'z'))
8007: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8008: #endif
8009:
8010: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8011: int
8012: main ()
8013: {
8014: int i;
8015: for (i = 0; i < 256; i++)
8016: if (XOR (islower (i), ISLOWER (i))
8017: || toupper (i) != TOUPPER (i))
8018: return 2;
8019: return 0;
8020: }
8021: _ACEOF
8022: if ac_fn_c_try_run "$LINENO"; then :
8023:
8024: else
8025: ac_cv_header_stdc=no
8026: fi
8027: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8028: conftest.$ac_objext conftest.beam conftest.$ac_ext
8029: fi
8030:
8031: fi
8032: fi
8033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8034: $as_echo "$ac_cv_header_stdc" >&6; }
8035: if test $ac_cv_header_stdc = yes; then
8036:
8037: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8038:
8039: fi
8040:
8041: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8042: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8043: inttypes.h stdint.h unistd.h
8044: do :
8045: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8046: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8047: "
8048: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8049: cat >>confdefs.h <<_ACEOF
8050: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8051: _ACEOF
8052:
8053: fi
8054:
8055: done
8056:
8057:
8058: # The cast to long int works around a bug in the HP C Compiler
8059: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8060: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8061: # This bug is HP SR number 8606223364.
8062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8063: $as_echo_n "checking size of void *... " >&6; }
8064: if ${ac_cv_sizeof_void_p+:} false; then :
8065: $as_echo_n "(cached) " >&6
8066: else
8067: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8068:
8069: else
8070: if test "$ac_cv_type_void_p" = yes; then
8071: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8072: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8073: as_fn_error 77 "cannot compute sizeof (void *)
8074: See \`config.log' for more details" "$LINENO" 5; }
8075: else
8076: ac_cv_sizeof_void_p=0
8077: fi
8078: fi
8079:
8080: fi
8081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8082: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8083:
8084:
8085:
8086: cat >>confdefs.h <<_ACEOF
8087: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8088: _ACEOF
8089:
8090:
8091: # The cast to long int works around a bug in the HP C Compiler
8092: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8093: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8094: # This bug is HP SR number 8606223364.
8095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8096: $as_echo_n "checking size of char... " >&6; }
8097: if ${ac_cv_sizeof_char+:} false; then :
8098: $as_echo_n "(cached) " >&6
8099: else
8100: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8101:
8102: else
8103: if test "$ac_cv_type_char" = yes; then
8104: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8105: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8106: as_fn_error 77 "cannot compute sizeof (char)
8107: See \`config.log' for more details" "$LINENO" 5; }
8108: else
8109: ac_cv_sizeof_char=0
8110: fi
8111: fi
8112:
8113: fi
8114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8115: $as_echo "$ac_cv_sizeof_char" >&6; }
8116:
8117:
8118:
8119: cat >>confdefs.h <<_ACEOF
8120: #define SIZEOF_CHAR $ac_cv_sizeof_char
8121: _ACEOF
8122:
8123:
8124: # The cast to long int works around a bug in the HP C Compiler
8125: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8126: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8127: # This bug is HP SR number 8606223364.
8128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8129: $as_echo_n "checking size of short int... " >&6; }
8130: if ${ac_cv_sizeof_short_int+:} false; then :
8131: $as_echo_n "(cached) " >&6
8132: else
8133: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8134:
8135: else
8136: if test "$ac_cv_type_short_int" = yes; then
8137: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8138: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8139: as_fn_error 77 "cannot compute sizeof (short int)
8140: See \`config.log' for more details" "$LINENO" 5; }
8141: else
8142: ac_cv_sizeof_short_int=0
8143: fi
8144: fi
8145:
8146: fi
8147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8148: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8149:
8150:
8151:
8152: cat >>confdefs.h <<_ACEOF
8153: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8154: _ACEOF
8155:
8156:
8157: # The cast to long int works around a bug in the HP C Compiler
8158: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8159: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8160: # This bug is HP SR number 8606223364.
8161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8162: $as_echo_n "checking size of int... " >&6; }
8163: if ${ac_cv_sizeof_int+:} false; then :
8164: $as_echo_n "(cached) " >&6
8165: else
8166: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8167:
8168: else
8169: if test "$ac_cv_type_int" = yes; then
8170: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8171: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8172: as_fn_error 77 "cannot compute sizeof (int)
8173: See \`config.log' for more details" "$LINENO" 5; }
8174: else
8175: ac_cv_sizeof_int=0
8176: fi
8177: fi
8178:
8179: fi
8180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8181: $as_echo "$ac_cv_sizeof_int" >&6; }
8182:
8183:
8184:
8185: cat >>confdefs.h <<_ACEOF
8186: #define SIZEOF_INT $ac_cv_sizeof_int
8187: _ACEOF
8188:
8189:
8190: # The cast to long int works around a bug in the HP C Compiler
8191: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8192: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8193: # This bug is HP SR number 8606223364.
8194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8195: $as_echo_n "checking size of long int... " >&6; }
8196: if ${ac_cv_sizeof_long_int+:} false; then :
8197: $as_echo_n "(cached) " >&6
8198: else
8199: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8200:
8201: else
8202: if test "$ac_cv_type_long_int" = yes; then
8203: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8204: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8205: as_fn_error 77 "cannot compute sizeof (long int)
8206: See \`config.log' for more details" "$LINENO" 5; }
8207: else
8208: ac_cv_sizeof_long_int=0
8209: fi
8210: fi
8211:
8212: fi
8213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8214: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8215:
8216:
8217:
8218: cat >>confdefs.h <<_ACEOF
8219: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8220: _ACEOF
8221:
8222:
8223: # The cast to long int works around a bug in the HP C Compiler
8224: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8225: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8226: # This bug is HP SR number 8606223364.
8227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8228: $as_echo_n "checking size of long long int... " >&6; }
8229: if ${ac_cv_sizeof_long_long_int+:} false; then :
8230: $as_echo_n "(cached) " >&6
8231: else
8232: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8233:
8234: else
8235: if test "$ac_cv_type_long_long_int" = yes; then
8236: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8237: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8238: as_fn_error 77 "cannot compute sizeof (long long int)
8239: See \`config.log' for more details" "$LINENO" 5; }
8240: else
8241: ac_cv_sizeof_long_long_int=0
8242: fi
8243: fi
8244:
8245: fi
8246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8247: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8248:
8249:
8250:
8251: cat >>confdefs.h <<_ACEOF
8252: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8253: _ACEOF
8254:
8255:
8256: # The cast to long int works around a bug in the HP C Compiler
8257: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8258: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8259: # This bug is HP SR number 8606223364.
8260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8261: $as_echo_n "checking size of float... " >&6; }
8262: if ${ac_cv_sizeof_float+:} false; then :
8263: $as_echo_n "(cached) " >&6
8264: else
8265: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8266:
8267: else
8268: if test "$ac_cv_type_float" = yes; then
8269: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8270: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8271: as_fn_error 77 "cannot compute sizeof (float)
8272: See \`config.log' for more details" "$LINENO" 5; }
8273: else
8274: ac_cv_sizeof_float=0
8275: fi
8276: fi
8277:
8278: fi
8279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8280: $as_echo "$ac_cv_sizeof_float" >&6; }
8281:
8282:
8283:
8284: cat >>confdefs.h <<_ACEOF
8285: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8286: _ACEOF
8287:
8288:
8289: # The cast to long int works around a bug in the HP C Compiler
8290: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8291: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8292: # This bug is HP SR number 8606223364.
8293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8294: $as_echo_n "checking size of double... " >&6; }
8295: if ${ac_cv_sizeof_double+:} false; then :
8296: $as_echo_n "(cached) " >&6
8297: else
8298: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8299:
8300: else
8301: if test "$ac_cv_type_double" = yes; then
8302: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8303: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8304: as_fn_error 77 "cannot compute sizeof (double)
8305: See \`config.log' for more details" "$LINENO" 5; }
8306: else
8307: ac_cv_sizeof_double=0
8308: fi
8309: fi
8310:
8311: fi
8312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8313: $as_echo "$ac_cv_sizeof_double" >&6; }
8314:
8315:
8316:
8317: cat >>confdefs.h <<_ACEOF
8318: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8319: _ACEOF
8320:
8321:
8322: # The cast to long int works around a bug in the HP C Compiler
8323: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8324: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8325: # This bug is HP SR number 8606223364.
8326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8327: $as_echo_n "checking size of long double... " >&6; }
8328: if ${ac_cv_sizeof_long_double+:} false; then :
8329: $as_echo_n "(cached) " >&6
8330: else
8331: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8332:
8333: else
8334: if test "$ac_cv_type_long_double" = yes; then
8335: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8336: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8337: as_fn_error 77 "cannot compute sizeof (long double)
8338: See \`config.log' for more details" "$LINENO" 5; }
8339: else
8340: ac_cv_sizeof_long_double=0
8341: fi
8342: fi
8343:
8344: fi
8345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8346: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8347:
8348:
8349:
8350: cat >>confdefs.h <<_ACEOF
8351: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8352: _ACEOF
8353:
8354:
8355:
8356: ac_header_dirent=no
8357: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8358: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8360: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8361: if eval \${$as_ac_Header+:} false; then :
8362: $as_echo_n "(cached) " >&6
8363: else
8364: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365: /* end confdefs.h. */
8366: #include <sys/types.h>
8367: #include <$ac_hdr>
8368:
8369: int
8370: main ()
8371: {
8372: if ((DIR *) 0)
8373: return 0;
8374: ;
8375: return 0;
8376: }
8377: _ACEOF
8378: if ac_fn_c_try_compile "$LINENO"; then :
8379: eval "$as_ac_Header=yes"
8380: else
8381: eval "$as_ac_Header=no"
8382: fi
8383: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8384: fi
8385: eval ac_res=\$$as_ac_Header
8386: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8387: $as_echo "$ac_res" >&6; }
8388: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8389: cat >>confdefs.h <<_ACEOF
8390: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8391: _ACEOF
8392:
8393: ac_header_dirent=$ac_hdr; break
8394: fi
8395:
8396: done
8397: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8398: if test $ac_header_dirent = dirent.h; then
8399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8400: $as_echo_n "checking for library containing opendir... " >&6; }
8401: if ${ac_cv_search_opendir+:} false; then :
8402: $as_echo_n "(cached) " >&6
8403: else
8404: ac_func_search_save_LIBS=$LIBS
8405: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406: /* end confdefs.h. */
8407:
8408: /* Override any GCC internal prototype to avoid an error.
8409: Use char because int might match the return type of a GCC
8410: builtin and then its argument prototype would still apply. */
8411: #ifdef __cplusplus
8412: extern "C"
8413: #endif
8414: char opendir ();
8415: int
8416: main ()
8417: {
8418: return opendir ();
8419: ;
8420: return 0;
8421: }
8422: _ACEOF
8423: for ac_lib in '' dir; do
8424: if test -z "$ac_lib"; then
8425: ac_res="none required"
8426: else
8427: ac_res=-l$ac_lib
8428: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8429: fi
8430: if ac_fn_c_try_link "$LINENO"; then :
8431: ac_cv_search_opendir=$ac_res
8432: fi
8433: rm -f core conftest.err conftest.$ac_objext \
8434: conftest$ac_exeext
8435: if ${ac_cv_search_opendir+:} false; then :
8436: break
8437: fi
8438: done
8439: if ${ac_cv_search_opendir+:} false; then :
8440:
8441: else
8442: ac_cv_search_opendir=no
8443: fi
8444: rm conftest.$ac_ext
8445: LIBS=$ac_func_search_save_LIBS
8446: fi
8447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8448: $as_echo "$ac_cv_search_opendir" >&6; }
8449: ac_res=$ac_cv_search_opendir
8450: if test "$ac_res" != no; then :
8451: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8452:
8453: fi
8454:
8455: else
8456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8457: $as_echo_n "checking for library containing opendir... " >&6; }
8458: if ${ac_cv_search_opendir+:} false; then :
8459: $as_echo_n "(cached) " >&6
8460: else
8461: ac_func_search_save_LIBS=$LIBS
8462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463: /* end confdefs.h. */
8464:
8465: /* Override any GCC internal prototype to avoid an error.
8466: Use char because int might match the return type of a GCC
8467: builtin and then its argument prototype would still apply. */
8468: #ifdef __cplusplus
8469: extern "C"
8470: #endif
8471: char opendir ();
8472: int
8473: main ()
8474: {
8475: return opendir ();
8476: ;
8477: return 0;
8478: }
8479: _ACEOF
8480: for ac_lib in '' x; do
8481: if test -z "$ac_lib"; then
8482: ac_res="none required"
8483: else
8484: ac_res=-l$ac_lib
8485: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8486: fi
8487: if ac_fn_c_try_link "$LINENO"; then :
8488: ac_cv_search_opendir=$ac_res
8489: fi
8490: rm -f core conftest.err conftest.$ac_objext \
8491: conftest$ac_exeext
8492: if ${ac_cv_search_opendir+:} false; then :
8493: break
8494: fi
8495: done
8496: if ${ac_cv_search_opendir+:} false; then :
8497:
8498: else
8499: ac_cv_search_opendir=no
8500: fi
8501: rm conftest.$ac_ext
8502: LIBS=$ac_func_search_save_LIBS
8503: fi
8504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8505: $as_echo "$ac_cv_search_opendir" >&6; }
8506: ac_res=$ac_cv_search_opendir
8507: if test "$ac_res" != no; then :
8508: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8509:
8510: fi
8511:
8512: fi
8513:
8514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8515: $as_echo_n "checking for ANSI C header files... " >&6; }
8516: if ${ac_cv_header_stdc+:} false; then :
8517: $as_echo_n "(cached) " >&6
8518: else
8519: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520: /* end confdefs.h. */
8521: #include <stdlib.h>
8522: #include <stdarg.h>
8523: #include <string.h>
8524: #include <float.h>
8525:
8526: int
8527: main ()
8528: {
8529:
8530: ;
8531: return 0;
8532: }
8533: _ACEOF
8534: if ac_fn_c_try_compile "$LINENO"; then :
8535: ac_cv_header_stdc=yes
8536: else
8537: ac_cv_header_stdc=no
8538: fi
8539: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8540:
8541: if test $ac_cv_header_stdc = yes; then
8542: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8543: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544: /* end confdefs.h. */
8545: #include <string.h>
8546:
8547: _ACEOF
8548: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8549: $EGREP "memchr" >/dev/null 2>&1; then :
8550:
8551: else
8552: ac_cv_header_stdc=no
8553: fi
8554: rm -f conftest*
8555:
8556: fi
8557:
8558: if test $ac_cv_header_stdc = yes; then
8559: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8560: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561: /* end confdefs.h. */
8562: #include <stdlib.h>
8563:
8564: _ACEOF
8565: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8566: $EGREP "free" >/dev/null 2>&1; then :
8567:
8568: else
8569: ac_cv_header_stdc=no
8570: fi
8571: rm -f conftest*
8572:
8573: fi
8574:
8575: if test $ac_cv_header_stdc = yes; then
8576: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8577: if test "$cross_compiling" = yes; then :
8578: :
8579: else
8580: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581: /* end confdefs.h. */
8582: #include <ctype.h>
8583: #include <stdlib.h>
8584: #if ((' ' & 0x0FF) == 0x020)
8585: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8586: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8587: #else
8588: # define ISLOWER(c) \
8589: (('a' <= (c) && (c) <= 'i') \
8590: || ('j' <= (c) && (c) <= 'r') \
8591: || ('s' <= (c) && (c) <= 'z'))
8592: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8593: #endif
8594:
8595: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8596: int
8597: main ()
8598: {
8599: int i;
8600: for (i = 0; i < 256; i++)
8601: if (XOR (islower (i), ISLOWER (i))
8602: || toupper (i) != TOUPPER (i))
8603: return 2;
8604: return 0;
8605: }
8606: _ACEOF
8607: if ac_fn_c_try_run "$LINENO"; then :
8608:
8609: else
8610: ac_cv_header_stdc=no
8611: fi
8612: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8613: conftest.$ac_objext conftest.beam conftest.$ac_ext
8614: fi
8615:
8616: fi
8617: fi
8618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8619: $as_echo "$ac_cv_header_stdc" >&6; }
8620: if test $ac_cv_header_stdc = yes; then
8621:
8622: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8623:
8624: fi
8625:
8626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8627: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8628: if ${ac_cv_header_sys_wait_h+:} false; then :
8629: $as_echo_n "(cached) " >&6
8630: else
8631: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632: /* end confdefs.h. */
8633: #include <sys/types.h>
8634: #include <sys/wait.h>
8635: #ifndef WEXITSTATUS
8636: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8637: #endif
8638: #ifndef WIFEXITED
8639: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8640: #endif
8641:
8642: int
8643: main ()
8644: {
8645: int s;
8646: wait (&s);
8647: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8648: ;
8649: return 0;
8650: }
8651: _ACEOF
8652: if ac_fn_c_try_compile "$LINENO"; then :
8653: ac_cv_header_sys_wait_h=yes
8654: else
8655: ac_cv_header_sys_wait_h=no
8656: fi
8657: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8658: fi
8659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8660: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8661: if test $ac_cv_header_sys_wait_h = yes; then
8662:
8663: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8664:
8665: fi
8666:
8667: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8668: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8669: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8670: do :
8671: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8672: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8673: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8674: cat >>confdefs.h <<_ACEOF
8675: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8676: _ACEOF
8677:
8678: fi
8679:
8680: done
8681:
8682:
8683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8684: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8685: if ${ac_cv_c_const+:} false; then :
8686: $as_echo_n "(cached) " >&6
8687: else
8688: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689: /* end confdefs.h. */
8690:
8691: int
8692: main ()
8693: {
8694: /* FIXME: Include the comments suggested by Paul. */
8695: #ifndef __cplusplus
8696: /* Ultrix mips cc rejects this. */
8697: typedef int charset[2];
8698: const charset cs;
8699: /* SunOS 4.1.1 cc rejects this. */
8700: char const *const *pcpcc;
8701: char **ppc;
8702: /* NEC SVR4.0.2 mips cc rejects this. */
8703: struct point {int x, y;};
8704: static struct point const zero = {0,0};
8705: /* AIX XL C 1.02.0.0 rejects this.
8706: It does not let you subtract one const X* pointer from another in
8707: an arm of an if-expression whose if-part is not a constant
8708: expression */
8709: const char *g = "string";
8710: pcpcc = &g + (g ? g-g : 0);
8711: /* HPUX 7.0 cc rejects these. */
8712: ++pcpcc;
8713: ppc = (char**) pcpcc;
8714: pcpcc = (char const *const *) ppc;
8715: { /* SCO 3.2v4 cc rejects this. */
8716: char *t;
8717: char const *s = 0 ? (char *) 0 : (char const *) 0;
8718:
8719: *t++ = 0;
8720: if (s) return 0;
8721: }
8722: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8723: int x[] = {25, 17};
8724: const int *foo = &x[0];
8725: ++foo;
8726: }
8727: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8728: typedef const int *iptr;
8729: iptr p = 0;
8730: ++p;
8731: }
8732: { /* AIX XL C 1.02.0.0 rejects this saying
8733: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8734: struct s { int j; const int *ap[3]; };
8735: struct s *b; b->j = 5;
8736: }
8737: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8738: const int foo = 10;
8739: if (!foo) return 0;
8740: }
8741: return !cs[0] && !zero.x;
8742: #endif
8743:
8744: ;
8745: return 0;
8746: }
8747: _ACEOF
8748: if ac_fn_c_try_compile "$LINENO"; then :
8749: ac_cv_c_const=yes
8750: else
8751: ac_cv_c_const=no
8752: fi
8753: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8754: fi
8755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8756: $as_echo "$ac_cv_c_const" >&6; }
8757: if test $ac_cv_c_const = no; then
8758:
8759: $as_echo "#define const /**/" >>confdefs.h
8760:
8761: fi
8762:
8763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8764: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8765: if ${ac_cv_type_uid_t+:} false; then :
8766: $as_echo_n "(cached) " >&6
8767: else
8768: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769: /* end confdefs.h. */
8770: #include <sys/types.h>
8771:
8772: _ACEOF
8773: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8774: $EGREP "uid_t" >/dev/null 2>&1; then :
8775: ac_cv_type_uid_t=yes
8776: else
8777: ac_cv_type_uid_t=no
8778: fi
8779: rm -f conftest*
8780:
8781: fi
8782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8783: $as_echo "$ac_cv_type_uid_t" >&6; }
8784: if test $ac_cv_type_uid_t = no; then
8785:
8786: $as_echo "#define uid_t int" >>confdefs.h
8787:
8788:
8789: $as_echo "#define gid_t int" >>confdefs.h
8790:
8791: fi
8792:
8793: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8794: if test "x$ac_cv_type_pid_t" = xyes; then :
8795:
8796: else
8797:
8798: cat >>confdefs.h <<_ACEOF
8799: #define pid_t int
8800: _ACEOF
8801:
8802: fi
8803:
8804: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8805: if test "x$ac_cv_type_size_t" = xyes; then :
8806:
8807: else
8808:
8809: cat >>confdefs.h <<_ACEOF
8810: #define size_t unsigned int
8811: _ACEOF
8812:
8813: fi
8814:
8815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8816: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8817: if ${ac_cv_header_time+:} false; then :
8818: $as_echo_n "(cached) " >&6
8819: else
8820: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821: /* end confdefs.h. */
8822: #include <sys/types.h>
8823: #include <sys/time.h>
8824: #include <time.h>
8825:
8826: int
8827: main ()
8828: {
8829: if ((struct tm *) 0)
8830: return 0;
8831: ;
8832: return 0;
8833: }
8834: _ACEOF
8835: if ac_fn_c_try_compile "$LINENO"; then :
8836: ac_cv_header_time=yes
8837: else
8838: ac_cv_header_time=no
8839: fi
8840: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8841: fi
8842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8843: $as_echo "$ac_cv_header_time" >&6; }
8844: if test $ac_cv_header_time = yes; then
8845:
8846: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8847:
8848: fi
8849:
8850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8851: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8852: if ${ac_cv_struct_tm+:} false; then :
8853: $as_echo_n "(cached) " >&6
8854: else
8855: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856: /* end confdefs.h. */
8857: #include <sys/types.h>
8858: #include <time.h>
8859:
8860: int
8861: main ()
8862: {
8863: struct tm tm;
8864: int *p = &tm.tm_sec;
8865: return !p;
8866: ;
8867: return 0;
8868: }
8869: _ACEOF
8870: if ac_fn_c_try_compile "$LINENO"; then :
8871: ac_cv_struct_tm=time.h
8872: else
8873: ac_cv_struct_tm=sys/time.h
8874: fi
8875: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8876: fi
8877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8878: $as_echo "$ac_cv_struct_tm" >&6; }
8879: if test $ac_cv_struct_tm = sys/time.h; then
8880:
8881: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8882:
8883: fi
8884:
8885:
8886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8887: $as_echo_n "checking return type of signal handlers... " >&6; }
8888: if ${ac_cv_type_signal+:} false; then :
8889: $as_echo_n "(cached) " >&6
8890: else
8891: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892: /* end confdefs.h. */
8893: #include <sys/types.h>
8894: #include <signal.h>
8895:
8896: int
8897: main ()
8898: {
8899: return *(signal (0, 0)) (0) == 1;
8900: ;
8901: return 0;
8902: }
8903: _ACEOF
8904: if ac_fn_c_try_compile "$LINENO"; then :
8905: ac_cv_type_signal=int
8906: else
8907: ac_cv_type_signal=void
8908: fi
8909: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8910: fi
8911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8912: $as_echo "$ac_cv_type_signal" >&6; }
8913:
8914: cat >>confdefs.h <<_ACEOF
8915: #define RETSIGTYPE $ac_cv_type_signal
8916: _ACEOF
8917:
8918:
8919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8920: $as_echo_n "checking for working strcoll... " >&6; }
8921: if ${ac_cv_func_strcoll_works+:} false; then :
8922: $as_echo_n "(cached) " >&6
8923: else
8924: if test "$cross_compiling" = yes; then :
8925: ac_cv_func_strcoll_works=no
8926: else
8927: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928: /* end confdefs.h. */
8929: $ac_includes_default
8930: int
8931: main ()
8932: {
8933: return (strcoll ("abc", "def") >= 0 ||
8934: strcoll ("ABC", "DEF") >= 0 ||
8935: strcoll ("123", "456") >= 0)
8936: ;
8937: return 0;
8938: }
8939: _ACEOF
8940: if ac_fn_c_try_run "$LINENO"; then :
8941: ac_cv_func_strcoll_works=yes
8942: else
8943: ac_cv_func_strcoll_works=no
8944: fi
8945: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8946: conftest.$ac_objext conftest.beam conftest.$ac_ext
8947: fi
8948:
8949: fi
8950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
8951: $as_echo "$ac_cv_func_strcoll_works" >&6; }
8952: if test $ac_cv_func_strcoll_works = yes; then
8953:
8954: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
8955:
8956: fi
8957:
8958: for ac_func in strftime
8959: do :
8960: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
8961: if test "x$ac_cv_func_strftime" = xyes; then :
8962: cat >>confdefs.h <<_ACEOF
8963: #define HAVE_STRFTIME 1
8964: _ACEOF
8965:
8966: else
8967: # strftime is in -lintl on SCO UNIX.
8968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
8969: $as_echo_n "checking for strftime in -lintl... " >&6; }
8970: if ${ac_cv_lib_intl_strftime+:} false; then :
8971: $as_echo_n "(cached) " >&6
8972: else
8973: ac_check_lib_save_LIBS=$LIBS
8974: LIBS="-lintl $LIBS"
8975: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976: /* end confdefs.h. */
8977:
8978: /* Override any GCC internal prototype to avoid an error.
8979: Use char because int might match the return type of a GCC
8980: builtin and then its argument prototype would still apply. */
8981: #ifdef __cplusplus
8982: extern "C"
8983: #endif
8984: char strftime ();
8985: int
8986: main ()
8987: {
8988: return strftime ();
8989: ;
8990: return 0;
8991: }
8992: _ACEOF
8993: if ac_fn_c_try_link "$LINENO"; then :
8994: ac_cv_lib_intl_strftime=yes
8995: else
8996: ac_cv_lib_intl_strftime=no
8997: fi
8998: rm -f core conftest.err conftest.$ac_objext \
8999: conftest$ac_exeext conftest.$ac_ext
9000: LIBS=$ac_check_lib_save_LIBS
9001: fi
9002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9003: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9004: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9005: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9006:
9007: LIBS="-lintl $LIBS"
9008: fi
9009:
9010: fi
9011: done
9012:
9013: for ac_func in vprintf
9014: do :
9015: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9016: if test "x$ac_cv_func_vprintf" = xyes; then :
9017: cat >>confdefs.h <<_ACEOF
9018: #define HAVE_VPRINTF 1
9019: _ACEOF
9020:
9021: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9022: if test "x$ac_cv_func__doprnt" = xyes; then :
9023:
9024: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9025:
9026: fi
9027:
9028: fi
9029: done
9030:
9031:
9032: for ac_func in ftime getcwd putenv select strcspn strdup \
9033: strerror strspn strstr strtod
9034: do :
9035: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9036: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9037: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9038: cat >>confdefs.h <<_ACEOF
9039: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9040: _ACEOF
9041:
9042: fi
9043: done
9044:
9045:
9046:
9047: # Check whether --with-openssl_arch was given.
9048: if test "${with_openssl_arch+set}" = set; then :
9049: withval=$with_openssl_arch;
9050: else
9051: with_openssl_arch=none
9052: fi
9053:
9054:
9055: if test $(uname) = "OS/2"; then
9056: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9057: else
9058: if test "x$with_openssl_arch" = xnone; then
9059: (cd tools/$OPENSSL && ./config no-asm)
9060: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9061: (cd tools/$OPENSSL && ./Configure)
9062: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9063: elif test "x$with_openssl_arch" = xlist; then
9064: (cd tools/$OPENSSL && ./Configure)
9065: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9066: else
9067: (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
9068: fi
9069: fi
9070:
9071: if test "$MYGNUPLOT" = "yes"; then
9072: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9073: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9074: (cd "$srcdir/tools" && tar -xf -)
9075: fi
9076: subdirs="$subdirs tools/$GNUPLOT"
9077:
9078: GNUPLOT_COMPILATION=$GNUPLOT
9079: else
9080: GNUPLOT_COMPILATION=
9081: fi
9082:
9083:
9084:
9085: HOST=$host
9086:
9087:
9088: case $host_cpu in
9089:
9090: i?86)
9091: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9092: -Wno-pointer-sign"
9093: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9094: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9095: break ;;
9096:
9097: x86_64*)
9098: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9099: -Wno-pointer-sign"
9100: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9101: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9102: break ;;
9103:
9104: alpha*)
9105: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9106: -Wno-pointer-sign"
9107: FFLAGS="$FFLAGS -mieee -Wall"
9108: FCFLAGS="$FCFLAGS -mieee -Wall"
9109: break ;;
9110:
9111: sparc*)
9112: CFLAGS="$CFLAGS -Wall -funsigned-char \
9113: -Wno-pointer-sign"
9114: FFLAGS="$FFLAGS -Wall"
9115: FCFLAGS="$FCFLAGS -Wall"
9116: break ;;
9117:
9118: esac
9119:
9120: case $host_os in
9121:
9122: cygwin*)
9123: OS=Cygwin
9124: break ;;
9125:
9126: interix*)
9127: OS=Interix
9128: break ;;
9129:
9130: *)
9131: OS=$(uname)
9132: break ;;
9133:
9134: esac
9135:
9136:
9137:
9138: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9139: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9140: MALLOC=
9141:
9142: case $OS in
9143:
9144: Darwin)
9145: EXPORT_DYNAMIC=-Wl,-flat_namespace
9146: NESTED_FUNCTIONS=-fnested-functions
9147: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9148: IPCS_SYSV=-UIPCS_SYSV
9149: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9150: ac_configure_args="$ac_configure_args --with-readline=builtin \
9151: --disable-shared --enable-static --enable-threads \
9152: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9153: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9154: LDFLAGS=\"$LDFLAGS\""
9155: C_STANDARD=-std=gnu99
9156: ELF=
9157: break ;;
9158:
9159: Cygwin)
9160: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9161: NESTED_FUNCTIONS=
9162: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9163: IPCS_SYSV=-UIPCS_SYSV
9164: ac_configure_args="$ac_configure_args --with-readline=builtin \
9165: --disable-shared --enable-static --enable-threads \
9166: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9167: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9168: LDFLAGS=\"$LDFLAGS\""
9169: C_STANDARD=-std=gnu99
9170: ELF=
9171: break ;;
9172:
9173: Interix)
9174: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9175: NESTED_FUNCTIONS=
9176: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9177: IPCS_SYSV=-UIPCS_SYSV
9178: ac_configure_args="$ac_configure_args --with-readline=builtin \
9179: --disable-shared --enable-static --enable-threads \
9180: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9181: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9182: LDFLAGS=\"$LDFLAGS\""
9183: C_STANDARD=-std=gnu99
9184: ELF=
9185: break;;
9186:
9187: AIX)
9188: EXPORT_DYNAMIC=-Wl,--export-dynamic
9189: NESTED_FUNCTIONS=
9190: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9191: IPCS_SYSV=-UIPCS_SYSV
9192: ac_configure_args="$ac_configure_args --with-readline=builtin \
9193: --disable-shared --enable-static --enable-threads \
9194: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9195: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9196: LDFLAGS=\"$LDFLAGS\""
9197: C_STANDARD=-std=gnu99
9198: ELF=
9199: break ;;
9200:
9201: OS/2)
9202: if test $FORCED_FINAL_ENCODING -eq 0; then \
9203: FINAL_ENCODING=CP850; \
9204: fi;
9205: OS=OS2
9206: NESTED_FUNCTIONS=
9207: EXPORT_DYNAMIC=-Zmap
9208: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9209: IPCS_SYSV=-DIPCS_SYSV
9210: ac_configure_args="$ac_configure_args --without-readline \
9211: --without-cairo --disable-shared --enable-static \
9212: --enable-threads \
9213: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9214: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9215: LDFLAGS=\"$LDFLAGS\""
9216: C_STANDARD=
9217: ELF=
9218: break;;
9219:
9220: OpenBSD)
9221: if test $FORCED_FINAL_ENCODING -eq 0; then \
9222: FINAL_ENCODING=UTF-8; \
9223: fi;
9224: EXPORT_DYNAMIC=-Wl,--export-dynamic
9225: NESTED_FUNCTIONS=
9226: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9227: IPCS_SYSV=-DIPCS_SYSV
9228: ac_configure_args="$ac_configure_args --with-readline=builtin \
9229: --disable-shared --enable-static --enable-threads \
9230: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9231: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9232: LDFLAGS=\"$LDFLAGS\""
9233: C_STANDARD=-std=gnu99
9234: ELF=
9235: break;;
9236:
9237: SunOS)
9238: EXPORT_DYNAMIC=-Wl,--export-dynamic
9239: NESTED_FUNCTIONS=
9240: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9241:
9242: if test $IPCS_SYSV = no; then
9243: IPCS_SYSV=-UIPCS_SYSV
9244: else
9245: IPCS_SYSV=-DIPCS_SYSV
9246: fi
9247:
9248: ac_configure_args="$ac_configure_args --with-readline=builtin \
9249: --disable-shared --enable-static --enable-threads \
9250: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9251: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9252: LDFLAGS=\"$LDFLAGS\""
9253: C_STANDARD=-std=gnu99
9254: MALLOC=-lumem
9255: ELF=
9256: break ;;
9257:
9258: NetBSD)
9259: EXPORT_DYNAMIC=-Wl,--export-dynamic
9260: NESTED_FUNCTIONS=
9261: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9262:
9263: if test $IPCS_SYSV = no; then
9264: IPCS_SYSV=-UIPCS_SYSV
9265: else
9266: IPCS_SYSV=-DIPCS_SYSV
9267: fi
9268:
9269: ac_configure_args="$ac_configure_args --with-readline=builtin \
9270: --disable-shared --enable-static --enable-threads \
9271: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9272: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9273: LDFLAGS=\"$LDFLAGS\""
9274: C_STANDARD=-std=gnu99
9275: GCCBIN=`which gcc`
9276: GCCLIB=`dirname $GCCBIN`/../lib
9277: ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
9278: break ;;
9279:
9280: *)
9281: EXPORT_DYNAMIC=-Wl,--export-dynamic
9282: NESTED_FUNCTIONS=
9283: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9284:
9285: if test $IPCS_SYSV = no; then
9286: IPCS_SYSV=-UIPCS_SYSV
9287: else
9288: IPCS_SYSV=-DIPCS_SYSV
9289: fi
9290:
9291: ac_configure_args="$ac_configure_args --with-readline=builtin \
9292: --disable-shared --enable-static --enable-threads \
9293: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9294: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9295: LDFLAGS=\"$LDFLAGS\""
9296: C_STANDARD=-std=gnu99
9297: ELF=
9298: break ;;
9299:
9300: esac
9301:
9302:
9303:
9304:
9305:
9306:
9307:
9308:
9309:
9310:
9311:
9312:
9313:
9314:
9315:
9316:
9317:
9318:
9319:
9320:
9321:
9322:
9323:
9324:
9325:
9326:
9327:
9328:
9329:
9330:
9331:
9332:
9333:
9334:
9335:
9336:
9337:
9338:
9339:
9340:
9341:
9342:
9343:
9344:
9345: subdirs="$subdirs tools/$NCURSES"
9346:
9347: subdirs="$subdirs tools/$READLINE"
9348:
9349: subdirs="$subdirs tools/$GSL"
9350:
9351: subdirs="$subdirs tools/$GPP"
9352:
9353: subdirs="$subdirs tools/$FILE"
9354:
9355: subdirs="$subdirs tools/$ICONV"
9356:
9357: subdirs="$subdirs tools/$SQLITE"
9358:
9359: subdirs="$subdirs tools/$UNITS"
9360:
9361: subdirs="$subdirs tools/$SIGSEGV"
9362:
9363:
9364: ac_config_files="$ac_config_files Makefile"
9365:
9366: ac_config_files="$ac_config_files COPYING"
9367:
9368: ac_config_files="$ac_config_files tools/Makefile"
9369:
9370: ac_config_files="$ac_config_files src/Makefile"
9371:
9372: ac_config_files="$ac_config_files man/Makefile"
9373:
9374: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9375:
9376: ac_config_files="$ac_config_files doc/Makefile"
9377:
9378: ac_config_files="$ac_config_files scripts/Makefile"
9379:
9380: ac_config_files="$ac_config_files scripts/mkrplso"
9381:
9382: ac_config_files="$ac_config_files scripts/rplcc"
9383:
9384: ac_config_files="$ac_config_files scripts/rpllink"
9385:
9386: ac_config_files="$ac_config_files rpltags/Makefile"
9387:
9388: ac_config_files="$ac_config_files rpliconv/Makefile"
9389:
9390: ac_config_files="$ac_config_files rplsums/Makefile"
9391:
9392: ac_config_files="$ac_config_files rplcas/Makefile"
9393:
9394: ac_config_files="$ac_config_files rplawk/Makefile"
9395:
9396: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9397:
9398: ac_config_files="$ac_config_files lapack/blas/Makefile"
9399:
9400:
9401: ac_config_files="$ac_config_files man/rpl.1"
9402:
9403: ac_config_files="$ac_config_files man/rplcc.1"
9404:
9405: ac_config_files="$ac_config_files man/rpllink.1"
9406:
9407: ac_config_files="$ac_config_files man/rpltags.1"
9408:
9409: ac_config_files="$ac_config_files man/mkrplso.1"
9410:
9411: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9412:
9413: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9414:
9415: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9416:
9417: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9418:
9419: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9420:
9421:
9422: cat >confcache <<\_ACEOF
9423: # This file is a shell script that caches the results of configure
9424: # tests run on this system so they can be shared between configure
9425: # scripts and configure runs, see configure's option --config-cache.
9426: # It is not useful on other systems. If it contains results you don't
9427: # want to keep, you may remove or edit it.
9428: #
9429: # config.status only pays attention to the cache file if you give it
9430: # the --recheck option to rerun configure.
9431: #
9432: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9433: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9434: # following values.
9435:
9436: _ACEOF
9437:
9438: # The following way of writing the cache mishandles newlines in values,
9439: # but we know of no workaround that is simple, portable, and efficient.
9440: # So, we kill variables containing newlines.
9441: # Ultrix sh set writes to stderr and can't be redirected directly,
9442: # and sets the high bit in the cache file unless we assign to the vars.
9443: (
9444: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9445: eval ac_val=\$$ac_var
9446: case $ac_val in #(
9447: *${as_nl}*)
9448: case $ac_var in #(
9449: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9450: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9451: esac
9452: case $ac_var in #(
9453: _ | IFS | as_nl) ;; #(
9454: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9455: *) { eval $ac_var=; unset $ac_var;} ;;
9456: esac ;;
9457: esac
9458: done
9459:
9460: (set) 2>&1 |
9461: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9462: *${as_nl}ac_space=\ *)
9463: # `set' does not quote correctly, so add quotes: double-quote
9464: # substitution turns \\\\ into \\, and sed turns \\ into \.
9465: sed -n \
9466: "s/'/'\\\\''/g;
9467: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9468: ;; #(
9469: *)
9470: # `set' quotes correctly as required by POSIX, so do not add quotes.
9471: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9472: ;;
9473: esac |
9474: sort
9475: ) |
9476: sed '
9477: /^ac_cv_env_/b end
9478: t clear
9479: :clear
9480: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9481: t end
9482: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9483: :end' >>confcache
9484: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9485: if test -w "$cache_file"; then
9486: if test "x$cache_file" != "x/dev/null"; then
9487: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9488: $as_echo "$as_me: updating cache $cache_file" >&6;}
9489: if test ! -f "$cache_file" || test -h "$cache_file"; then
9490: cat confcache >"$cache_file"
9491: else
9492: case $cache_file in #(
9493: */* | ?:*)
9494: mv -f confcache "$cache_file"$$ &&
9495: mv -f "$cache_file"$$ "$cache_file" ;; #(
9496: *)
9497: mv -f confcache "$cache_file" ;;
9498: esac
9499: fi
9500: fi
9501: else
9502: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9503: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9504: fi
9505: fi
9506: rm -f confcache
9507:
9508: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9509: # Let make expand exec_prefix.
9510: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9511:
9512: DEFS=-DHAVE_CONFIG_H
9513:
9514: ac_libobjs=
9515: ac_ltlibobjs=
9516: U=
9517: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9518: # 1. Remove the extension, and $U if already installed.
9519: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9520: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9521: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9522: # will be set to the directory where LIBOBJS objects are built.
9523: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9524: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9525: done
9526: LIBOBJS=$ac_libobjs
9527:
9528: LTLIBOBJS=$ac_ltlibobjs
9529:
9530:
9531: if test -n "$EXEEXT"; then
9532: am__EXEEXT_TRUE=
9533: am__EXEEXT_FALSE='#'
9534: else
9535: am__EXEEXT_TRUE='#'
9536: am__EXEEXT_FALSE=
9537: fi
9538:
9539: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9540: as_fn_error $? "conditional \"AMDEP\" was never defined.
9541: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9542: fi
9543: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9544: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9545: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9546: fi
9547: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9548: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9549: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9550: fi
9551:
9552: : "${CONFIG_STATUS=./config.status}"
9553: ac_write_fail=0
9554: ac_clean_files_save=$ac_clean_files
9555: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9556: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9557: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9558: as_write_fail=0
9559: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9560: #! $SHELL
9561: # Generated by $as_me.
9562: # Run this file to recreate the current configuration.
9563: # Compiler output produced by configure, useful for debugging
9564: # configure, is in config.log if it exists.
9565:
9566: debug=false
9567: ac_cs_recheck=false
9568: ac_cs_silent=false
9569:
9570: SHELL=\${CONFIG_SHELL-$SHELL}
9571: export SHELL
9572: _ASEOF
9573: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9574: ## -------------------- ##
9575: ## M4sh Initialization. ##
9576: ## -------------------- ##
9577:
9578: # Be more Bourne compatible
9579: DUALCASE=1; export DUALCASE # for MKS sh
9580: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9581: emulate sh
9582: NULLCMD=:
9583: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9584: # is contrary to our usage. Disable this feature.
9585: alias -g '${1+"$@"}'='"$@"'
9586: setopt NO_GLOB_SUBST
9587: else
9588: case `(set -o) 2>/dev/null` in #(
9589: *posix*) :
9590: set -o posix ;; #(
9591: *) :
9592: ;;
9593: esac
9594: fi
9595:
9596:
9597: as_nl='
9598: '
9599: export as_nl
9600: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9601: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9602: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9603: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9604: # Prefer a ksh shell builtin over an external printf program on Solaris,
9605: # but without wasting forks for bash or zsh.
9606: if test -z "$BASH_VERSION$ZSH_VERSION" \
9607: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9608: as_echo='print -r --'
9609: as_echo_n='print -rn --'
9610: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9611: as_echo='printf %s\n'
9612: as_echo_n='printf %s'
9613: else
9614: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9615: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9616: as_echo_n='/usr/ucb/echo -n'
9617: else
9618: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9619: as_echo_n_body='eval
9620: arg=$1;
9621: case $arg in #(
9622: *"$as_nl"*)
9623: expr "X$arg" : "X\\(.*\\)$as_nl";
9624: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9625: esac;
9626: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9627: '
9628: export as_echo_n_body
9629: as_echo_n='sh -c $as_echo_n_body as_echo'
9630: fi
9631: export as_echo_body
9632: as_echo='sh -c $as_echo_body as_echo'
9633: fi
9634:
9635: # The user is always right.
9636: if test "${PATH_SEPARATOR+set}" != set; then
9637: PATH_SEPARATOR=:
9638: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9639: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9640: PATH_SEPARATOR=';'
9641: }
9642: fi
9643:
9644:
9645: # IFS
9646: # We need space, tab and new line, in precisely that order. Quoting is
9647: # there to prevent editors from complaining about space-tab.
9648: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9649: # splitting by setting IFS to empty value.)
9650: IFS=" "" $as_nl"
9651:
9652: # Find who we are. Look in the path if we contain no directory separator.
9653: as_myself=
9654: case $0 in #((
9655: *[\\/]* ) as_myself=$0 ;;
9656: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657: for as_dir in $PATH
9658: do
9659: IFS=$as_save_IFS
9660: test -z "$as_dir" && as_dir=.
9661: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9662: done
9663: IFS=$as_save_IFS
9664:
9665: ;;
9666: esac
9667: # We did not find ourselves, most probably we were run as `sh COMMAND'
9668: # in which case we are not to be found in the path.
9669: if test "x$as_myself" = x; then
9670: as_myself=$0
9671: fi
9672: if test ! -f "$as_myself"; then
9673: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9674: exit 1
9675: fi
9676:
9677: # Unset variables that we do not need and which cause bugs (e.g. in
9678: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9679: # suppresses any "Segmentation fault" message there. '((' could
9680: # trigger a bug in pdksh 5.2.14.
9681: for as_var in BASH_ENV ENV MAIL MAILPATH
9682: do eval test x\${$as_var+set} = xset \
9683: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9684: done
9685: PS1='$ '
9686: PS2='> '
9687: PS4='+ '
9688:
9689: # NLS nuisances.
9690: LC_ALL=C
9691: export LC_ALL
9692: LANGUAGE=C
9693: export LANGUAGE
9694:
9695: # CDPATH.
9696: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9697:
9698:
9699: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9700: # ----------------------------------------
9701: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9702: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9703: # script with STATUS, using 1 if that was 0.
9704: as_fn_error ()
9705: {
9706: as_status=$1; test $as_status -eq 0 && as_status=1
9707: if test "$4"; then
9708: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9709: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9710: fi
9711: $as_echo "$as_me: error: $2" >&2
9712: as_fn_exit $as_status
9713: } # as_fn_error
9714:
9715:
9716: # as_fn_set_status STATUS
9717: # -----------------------
9718: # Set $? to STATUS, without forking.
9719: as_fn_set_status ()
9720: {
9721: return $1
9722: } # as_fn_set_status
9723:
9724: # as_fn_exit STATUS
9725: # -----------------
9726: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9727: as_fn_exit ()
9728: {
9729: set +e
9730: as_fn_set_status $1
9731: exit $1
9732: } # as_fn_exit
9733:
9734: # as_fn_unset VAR
9735: # ---------------
9736: # Portably unset VAR.
9737: as_fn_unset ()
9738: {
9739: { eval $1=; unset $1;}
9740: }
9741: as_unset=as_fn_unset
9742: # as_fn_append VAR VALUE
9743: # ----------------------
9744: # Append the text in VALUE to the end of the definition contained in VAR. Take
9745: # advantage of any shell optimizations that allow amortized linear growth over
9746: # repeated appends, instead of the typical quadratic growth present in naive
9747: # implementations.
9748: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9749: eval 'as_fn_append ()
9750: {
9751: eval $1+=\$2
9752: }'
9753: else
9754: as_fn_append ()
9755: {
9756: eval $1=\$$1\$2
9757: }
9758: fi # as_fn_append
9759:
9760: # as_fn_arith ARG...
9761: # ------------------
9762: # Perform arithmetic evaluation on the ARGs, and store the result in the
9763: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9764: # must be portable across $(()) and expr.
9765: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9766: eval 'as_fn_arith ()
9767: {
9768: as_val=$(( $* ))
9769: }'
9770: else
9771: as_fn_arith ()
9772: {
9773: as_val=`expr "$@" || test $? -eq 1`
9774: }
9775: fi # as_fn_arith
9776:
9777:
9778: if expr a : '\(a\)' >/dev/null 2>&1 &&
9779: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9780: as_expr=expr
9781: else
9782: as_expr=false
9783: fi
9784:
9785: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9786: as_basename=basename
9787: else
9788: as_basename=false
9789: fi
9790:
9791: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9792: as_dirname=dirname
9793: else
9794: as_dirname=false
9795: fi
9796:
9797: as_me=`$as_basename -- "$0" ||
9798: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9799: X"$0" : 'X\(//\)$' \| \
9800: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9801: $as_echo X/"$0" |
9802: sed '/^.*\/\([^/][^/]*\)\/*$/{
9803: s//\1/
9804: q
9805: }
9806: /^X\/\(\/\/\)$/{
9807: s//\1/
9808: q
9809: }
9810: /^X\/\(\/\).*/{
9811: s//\1/
9812: q
9813: }
9814: s/.*/./; q'`
9815:
9816: # Avoid depending upon Character Ranges.
9817: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9818: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9819: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9820: as_cr_digits='0123456789'
9821: as_cr_alnum=$as_cr_Letters$as_cr_digits
9822:
9823: ECHO_C= ECHO_N= ECHO_T=
9824: case `echo -n x` in #(((((
9825: -n*)
9826: case `echo 'xy\c'` in
9827: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9828: xy) ECHO_C='\c';;
9829: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9830: ECHO_T=' ';;
9831: esac;;
9832: *)
9833: ECHO_N='-n';;
9834: esac
9835:
9836: rm -f conf$$ conf$$.exe conf$$.file
9837: if test -d conf$$.dir; then
9838: rm -f conf$$.dir/conf$$.file
9839: else
9840: rm -f conf$$.dir
9841: mkdir conf$$.dir 2>/dev/null
9842: fi
9843: if (echo >conf$$.file) 2>/dev/null; then
9844: if ln -s conf$$.file conf$$ 2>/dev/null; then
9845: as_ln_s='ln -s'
9846: # ... but there are two gotchas:
9847: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9848: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9849: # In both cases, we have to default to `cp -p'.
9850: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9851: as_ln_s='cp -p'
9852: elif ln conf$$.file conf$$ 2>/dev/null; then
9853: as_ln_s=ln
9854: else
9855: as_ln_s='cp -p'
9856: fi
9857: else
9858: as_ln_s='cp -p'
9859: fi
9860: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9861: rmdir conf$$.dir 2>/dev/null
9862:
9863:
9864: # as_fn_mkdir_p
9865: # -------------
9866: # Create "$as_dir" as a directory, including parents if necessary.
9867: as_fn_mkdir_p ()
9868: {
9869:
9870: case $as_dir in #(
9871: -*) as_dir=./$as_dir;;
9872: esac
9873: test -d "$as_dir" || eval $as_mkdir_p || {
9874: as_dirs=
9875: while :; do
9876: case $as_dir in #(
9877: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9878: *) as_qdir=$as_dir;;
9879: esac
9880: as_dirs="'$as_qdir' $as_dirs"
9881: as_dir=`$as_dirname -- "$as_dir" ||
9882: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9883: X"$as_dir" : 'X\(//\)[^/]' \| \
9884: X"$as_dir" : 'X\(//\)$' \| \
9885: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9886: $as_echo X"$as_dir" |
9887: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9888: s//\1/
9889: q
9890: }
9891: /^X\(\/\/\)[^/].*/{
9892: s//\1/
9893: q
9894: }
9895: /^X\(\/\/\)$/{
9896: s//\1/
9897: q
9898: }
9899: /^X\(\/\).*/{
9900: s//\1/
9901: q
9902: }
9903: s/.*/./; q'`
9904: test -d "$as_dir" && break
9905: done
9906: test -z "$as_dirs" || eval "mkdir $as_dirs"
9907: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9908:
9909:
9910: } # as_fn_mkdir_p
9911: if mkdir -p . 2>/dev/null; then
9912: as_mkdir_p='mkdir -p "$as_dir"'
9913: else
9914: test -d ./-p && rmdir ./-p
9915: as_mkdir_p=false
9916: fi
9917:
9918: if test -x / >/dev/null 2>&1; then
9919: as_test_x='test -x'
9920: else
9921: if ls -dL / >/dev/null 2>&1; then
9922: as_ls_L_option=L
9923: else
9924: as_ls_L_option=
9925: fi
9926: as_test_x='
9927: eval sh -c '\''
9928: if test -d "$1"; then
9929: test -d "$1/.";
9930: else
9931: case $1 in #(
9932: -*)set "./$1";;
9933: esac;
9934: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9935: ???[sx]*):;;*)false;;esac;fi
9936: '\'' sh
9937: '
9938: fi
9939: as_executable_p=$as_test_x
9940:
9941: # Sed expression to map a string onto a valid CPP name.
9942: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9943:
9944: # Sed expression to map a string onto a valid variable name.
9945: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9946:
9947:
9948: exec 6>&1
9949: ## ----------------------------------- ##
9950: ## Main body of $CONFIG_STATUS script. ##
9951: ## ----------------------------------- ##
9952: _ASEOF
9953: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9954:
9955: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9956: # Save the log message, to keep $0 and so on meaningful, and to
9957: # report actual input values of CONFIG_FILES etc. instead of their
9958: # values after options handling.
9959: ac_log="
9960: This file was extended by rpl $as_me 4.1.3, which was
9961: generated by GNU Autoconf 2.68. Invocation command line was
9962:
9963: CONFIG_FILES = $CONFIG_FILES
9964: CONFIG_HEADERS = $CONFIG_HEADERS
9965: CONFIG_LINKS = $CONFIG_LINKS
9966: CONFIG_COMMANDS = $CONFIG_COMMANDS
9967: $ $0 $@
9968:
9969: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9970: "
9971:
9972: _ACEOF
9973:
9974: case $ac_config_files in *"
9975: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9976: esac
9977:
9978: case $ac_config_headers in *"
9979: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9980: esac
9981:
9982:
9983: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9984: # Files that config.status was made for.
9985: config_files="$ac_config_files"
9986: config_headers="$ac_config_headers"
9987: config_commands="$ac_config_commands"
9988:
9989: _ACEOF
9990:
9991: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9992: ac_cs_usage="\
9993: \`$as_me' instantiates files and other configuration actions
9994: from templates according to the current configuration. Unless the files
9995: and actions are specified as TAGs, all are instantiated by default.
9996:
9997: Usage: $0 [OPTION]... [TAG]...
9998:
9999: -h, --help print this help, then exit
10000: -V, --version print version number and configuration settings, then exit
10001: --config print configuration, then exit
10002: -q, --quiet, --silent
10003: do not print progress messages
10004: -d, --debug don't remove temporary files
10005: --recheck update $as_me by reconfiguring in the same conditions
10006: --file=FILE[:TEMPLATE]
10007: instantiate the configuration file FILE
10008: --header=FILE[:TEMPLATE]
10009: instantiate the configuration header FILE
10010:
10011: Configuration files:
10012: $config_files
10013:
10014: Configuration headers:
10015: $config_headers
10016:
10017: Configuration commands:
10018: $config_commands
10019:
10020: Report bugs to the package provider."
10021:
10022: _ACEOF
10023: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10024: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10025: ac_cs_version="\\
10026: rpl config.status 4.1.3
10027: configured by $0, generated by GNU Autoconf 2.68,
10028: with options \\"\$ac_cs_config\\"
10029:
10030: Copyright (C) 2010 Free Software Foundation, Inc.
10031: This config.status script is free software; the Free Software Foundation
10032: gives unlimited permission to copy, distribute and modify it."
10033:
10034: ac_pwd='$ac_pwd'
10035: srcdir='$srcdir'
10036: INSTALL='$INSTALL'
10037: MKDIR_P='$MKDIR_P'
10038: AWK='$AWK'
10039: test -n "\$AWK" || AWK=awk
10040: _ACEOF
10041:
10042: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10043: # The default lists apply if the user does not specify any file.
10044: ac_need_defaults=:
10045: while test $# != 0
10046: do
10047: case $1 in
10048: --*=?*)
10049: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10050: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10051: ac_shift=:
10052: ;;
10053: --*=)
10054: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10055: ac_optarg=
10056: ac_shift=:
10057: ;;
10058: *)
10059: ac_option=$1
10060: ac_optarg=$2
10061: ac_shift=shift
10062: ;;
10063: esac
10064:
10065: case $ac_option in
10066: # Handling of the options.
10067: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10068: ac_cs_recheck=: ;;
10069: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10070: $as_echo "$ac_cs_version"; exit ;;
10071: --config | --confi | --conf | --con | --co | --c )
10072: $as_echo "$ac_cs_config"; exit ;;
10073: --debug | --debu | --deb | --de | --d | -d )
10074: debug=: ;;
10075: --file | --fil | --fi | --f )
10076: $ac_shift
10077: case $ac_optarg in
10078: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10079: '') as_fn_error $? "missing file argument" ;;
10080: esac
10081: as_fn_append CONFIG_FILES " '$ac_optarg'"
10082: ac_need_defaults=false;;
10083: --header | --heade | --head | --hea )
10084: $ac_shift
10085: case $ac_optarg in
10086: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10087: esac
10088: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10089: ac_need_defaults=false;;
10090: --he | --h)
10091: # Conflict between --help and --header
10092: as_fn_error $? "ambiguous option: \`$1'
10093: Try \`$0 --help' for more information.";;
10094: --help | --hel | -h )
10095: $as_echo "$ac_cs_usage"; exit ;;
10096: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10097: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10098: ac_cs_silent=: ;;
10099:
10100: # This is an error.
10101: -*) as_fn_error $? "unrecognized option: \`$1'
10102: Try \`$0 --help' for more information." ;;
10103:
10104: *) as_fn_append ac_config_targets " $1"
10105: ac_need_defaults=false ;;
10106:
10107: esac
10108: shift
10109: done
10110:
10111: ac_configure_extra_args=
10112:
10113: if $ac_cs_silent; then
10114: exec 6>/dev/null
10115: ac_configure_extra_args="$ac_configure_extra_args --silent"
10116: fi
10117:
10118: _ACEOF
10119: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10120: if \$ac_cs_recheck; then
10121: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10122: shift
10123: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10124: CONFIG_SHELL='$SHELL'
10125: export CONFIG_SHELL
10126: exec "\$@"
10127: fi
10128:
10129: _ACEOF
10130: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10131: exec 5>>config.log
10132: {
10133: echo
10134: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10135: ## Running $as_me. ##
10136: _ASBOX
10137: $as_echo "$ac_log"
10138: } >&5
10139:
10140: _ACEOF
10141: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10142: #
10143: # INIT-COMMANDS
10144: #
10145: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10146:
10147: _ACEOF
10148:
10149: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10150:
10151: # Handling of arguments.
10152: for ac_config_target in $ac_config_targets
10153: do
10154: case $ac_config_target in
10155: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10156: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10157: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10158: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10159: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10160: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10161: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10162: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10163: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10164: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10165: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10166: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10167: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10168: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10169: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10170: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10171: "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10172: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10173: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10174: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10175: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10176: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10177: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10178: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10179: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10180: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10181: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10182: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10183: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10184: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10185:
10186: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10187: esac
10188: done
10189:
10190:
10191: # If the user did not use the arguments to specify the items to instantiate,
10192: # then the envvar interface is used. Set only those that are not.
10193: # We use the long form for the default assignment because of an extremely
10194: # bizarre bug on SunOS 4.1.3.
10195: if $ac_need_defaults; then
10196: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10197: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10198: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10199: fi
10200:
10201: # Have a temporary directory for convenience. Make it in the build tree
10202: # simply because there is no reason against having it here, and in addition,
10203: # creating and moving files from /tmp can sometimes cause problems.
10204: # Hook for its removal unless debugging.
10205: # Note that there is a small window in which the directory will not be cleaned:
10206: # after its creation but before its name has been assigned to `$tmp'.
10207: $debug ||
10208: {
10209: tmp= ac_tmp=
10210: trap 'exit_status=$?
10211: : "${ac_tmp:=$tmp}"
10212: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10213: ' 0
10214: trap 'as_fn_exit 1' 1 2 13 15
10215: }
10216: # Create a (secure) tmp directory for tmp files.
10217:
10218: {
10219: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10220: test -d "$tmp"
10221: } ||
10222: {
10223: tmp=./conf$$-$RANDOM
10224: (umask 077 && mkdir "$tmp")
10225: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10226: ac_tmp=$tmp
10227:
10228: # Set up the scripts for CONFIG_FILES section.
10229: # No need to generate them if there are no CONFIG_FILES.
10230: # This happens for instance with `./config.status config.h'.
10231: if test -n "$CONFIG_FILES"; then
10232:
10233:
10234: ac_cr=`echo X | tr X '\015'`
10235: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10236: # But we know of no other shell where ac_cr would be empty at this
10237: # point, so we can use a bashism as a fallback.
10238: if test "x$ac_cr" = x; then
10239: eval ac_cr=\$\'\\r\'
10240: fi
10241: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10242: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10243: ac_cs_awk_cr='\\r'
10244: else
10245: ac_cs_awk_cr=$ac_cr
10246: fi
10247:
10248: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10249: _ACEOF
10250:
10251:
10252: {
10253: echo "cat >conf$$subs.awk <<_ACEOF" &&
10254: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10255: echo "_ACEOF"
10256: } >conf$$subs.sh ||
10257: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10258: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10259: ac_delim='%!_!# '
10260: for ac_last_try in false false false false false :; do
10261: . ./conf$$subs.sh ||
10262: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10263:
10264: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10265: if test $ac_delim_n = $ac_delim_num; then
10266: break
10267: elif $ac_last_try; then
10268: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10269: else
10270: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10271: fi
10272: done
10273: rm -f conf$$subs.sh
10274:
10275: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10276: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10277: _ACEOF
10278: sed -n '
10279: h
10280: s/^/S["/; s/!.*/"]=/
10281: p
10282: g
10283: s/^[^!]*!//
10284: :repl
10285: t repl
10286: s/'"$ac_delim"'$//
10287: t delim
10288: :nl
10289: h
10290: s/\(.\{148\}\)..*/\1/
10291: t more1
10292: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10293: p
10294: n
10295: b repl
10296: :more1
10297: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10298: p
10299: g
10300: s/.\{148\}//
10301: t nl
10302: :delim
10303: h
10304: s/\(.\{148\}\)..*/\1/
10305: t more2
10306: s/["\\]/\\&/g; s/^/"/; s/$/"/
10307: p
10308: b
10309: :more2
10310: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10311: p
10312: g
10313: s/.\{148\}//
10314: t delim
10315: ' <conf$$subs.awk | sed '
10316: /^[^""]/{
10317: N
10318: s/\n//
10319: }
10320: ' >>$CONFIG_STATUS || ac_write_fail=1
10321: rm -f conf$$subs.awk
10322: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10323: _ACAWK
10324: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10325: for (key in S) S_is_set[key] = 1
10326: FS = ""
10327:
10328: }
10329: {
10330: line = $ 0
10331: nfields = split(line, field, "@")
10332: substed = 0
10333: len = length(field[1])
10334: for (i = 2; i < nfields; i++) {
10335: key = field[i]
10336: keylen = length(key)
10337: if (S_is_set[key]) {
10338: value = S[key]
10339: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10340: len += length(value) + length(field[++i])
10341: substed = 1
10342: } else
10343: len += 1 + keylen
10344: }
10345:
10346: print line
10347: }
10348:
10349: _ACAWK
10350: _ACEOF
10351: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10352: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10353: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10354: else
10355: cat
10356: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10357: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10358: _ACEOF
10359:
10360: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10361: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10362: # trailing colons and then remove the whole line if VPATH becomes empty
10363: # (actually we leave an empty line to preserve line numbers).
10364: if test "x$srcdir" = x.; then
10365: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10366: h
10367: s///
10368: s/^/:/
10369: s/[ ]*$/:/
10370: s/:\$(srcdir):/:/g
10371: s/:\${srcdir}:/:/g
10372: s/:@srcdir@:/:/g
10373: s/^:*//
10374: s/:*$//
10375: x
10376: s/\(=[ ]*\).*/\1/
10377: G
10378: s/\n//
10379: s/^[^=]*=[ ]*$//
10380: }'
10381: fi
10382:
10383: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10384: fi # test -n "$CONFIG_FILES"
10385:
10386: # Set up the scripts for CONFIG_HEADERS section.
10387: # No need to generate them if there are no CONFIG_HEADERS.
10388: # This happens for instance with `./config.status Makefile'.
10389: if test -n "$CONFIG_HEADERS"; then
10390: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10391: BEGIN {
10392: _ACEOF
10393:
10394: # Transform confdefs.h into an awk script `defines.awk', embedded as
10395: # here-document in config.status, that substitutes the proper values into
10396: # config.h.in to produce config.h.
10397:
10398: # Create a delimiter string that does not exist in confdefs.h, to ease
10399: # handling of long lines.
10400: ac_delim='%!_!# '
10401: for ac_last_try in false false :; do
10402: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10403: if test -z "$ac_tt"; then
10404: break
10405: elif $ac_last_try; then
10406: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10407: else
10408: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10409: fi
10410: done
10411:
10412: # For the awk script, D is an array of macro values keyed by name,
10413: # likewise P contains macro parameters if any. Preserve backslash
10414: # newline sequences.
10415:
10416: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10417: sed -n '
10418: s/.\{148\}/&'"$ac_delim"'/g
10419: t rset
10420: :rset
10421: s/^[ ]*#[ ]*define[ ][ ]*/ /
10422: t def
10423: d
10424: :def
10425: s/\\$//
10426: t bsnl
10427: s/["\\]/\\&/g
10428: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10429: D["\1"]=" \3"/p
10430: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10431: d
10432: :bsnl
10433: s/["\\]/\\&/g
10434: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10435: D["\1"]=" \3\\\\\\n"\\/p
10436: t cont
10437: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10438: t cont
10439: d
10440: :cont
10441: n
10442: s/.\{148\}/&'"$ac_delim"'/g
10443: t clear
10444: :clear
10445: s/\\$//
10446: t bsnlc
10447: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10448: d
10449: :bsnlc
10450: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10451: b cont
10452: ' <confdefs.h | sed '
10453: s/'"$ac_delim"'/"\\\
10454: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10455:
10456: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10457: for (key in D) D_is_set[key] = 1
10458: FS = ""
10459: }
10460: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10461: line = \$ 0
10462: split(line, arg, " ")
10463: if (arg[1] == "#") {
10464: defundef = arg[2]
10465: mac1 = arg[3]
10466: } else {
10467: defundef = substr(arg[1], 2)
10468: mac1 = arg[2]
10469: }
10470: split(mac1, mac2, "(") #)
10471: macro = mac2[1]
10472: prefix = substr(line, 1, index(line, defundef) - 1)
10473: if (D_is_set[macro]) {
10474: # Preserve the white space surrounding the "#".
10475: print prefix "define", macro P[macro] D[macro]
10476: next
10477: } else {
10478: # Replace #undef with comments. This is necessary, for example,
10479: # in the case of _POSIX_SOURCE, which is predefined and required
10480: # on some systems where configure will not decide to define it.
10481: if (defundef == "undef") {
10482: print "/*", prefix defundef, macro, "*/"
10483: next
10484: }
10485: }
10486: }
10487: { print }
10488: _ACAWK
10489: _ACEOF
10490: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10491: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10492: fi # test -n "$CONFIG_HEADERS"
10493:
10494:
10495: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10496: shift
10497: for ac_tag
10498: do
10499: case $ac_tag in
10500: :[FHLC]) ac_mode=$ac_tag; continue;;
10501: esac
10502: case $ac_mode$ac_tag in
10503: :[FHL]*:*);;
10504: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10505: :[FH]-) ac_tag=-:-;;
10506: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10507: esac
10508: ac_save_IFS=$IFS
10509: IFS=:
10510: set x $ac_tag
10511: IFS=$ac_save_IFS
10512: shift
10513: ac_file=$1
10514: shift
10515:
10516: case $ac_mode in
10517: :L) ac_source=$1;;
10518: :[FH])
10519: ac_file_inputs=
10520: for ac_f
10521: do
10522: case $ac_f in
10523: -) ac_f="$ac_tmp/stdin";;
10524: *) # Look for the file first in the build tree, then in the source tree
10525: # (if the path is not absolute). The absolute path cannot be DOS-style,
10526: # because $ac_f cannot contain `:'.
10527: test -f "$ac_f" ||
10528: case $ac_f in
10529: [\\/$]*) false;;
10530: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10531: esac ||
10532: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10533: esac
10534: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10535: as_fn_append ac_file_inputs " '$ac_f'"
10536: done
10537:
10538: # Let's still pretend it is `configure' which instantiates (i.e., don't
10539: # use $as_me), people would be surprised to read:
10540: # /* config.h. Generated by config.status. */
10541: configure_input='Generated from '`
10542: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10543: `' by configure.'
10544: if test x"$ac_file" != x-; then
10545: configure_input="$ac_file. $configure_input"
10546: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10547: $as_echo "$as_me: creating $ac_file" >&6;}
10548: fi
10549: # Neutralize special characters interpreted by sed in replacement strings.
10550: case $configure_input in #(
10551: *\&* | *\|* | *\\* )
10552: ac_sed_conf_input=`$as_echo "$configure_input" |
10553: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10554: *) ac_sed_conf_input=$configure_input;;
10555: esac
10556:
10557: case $ac_tag in
10558: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10559: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10560: esac
10561: ;;
10562: esac
10563:
10564: ac_dir=`$as_dirname -- "$ac_file" ||
10565: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10566: X"$ac_file" : 'X\(//\)[^/]' \| \
10567: X"$ac_file" : 'X\(//\)$' \| \
10568: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10569: $as_echo X"$ac_file" |
10570: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10571: s//\1/
10572: q
10573: }
10574: /^X\(\/\/\)[^/].*/{
10575: s//\1/
10576: q
10577: }
10578: /^X\(\/\/\)$/{
10579: s//\1/
10580: q
10581: }
10582: /^X\(\/\).*/{
10583: s//\1/
10584: q
10585: }
10586: s/.*/./; q'`
10587: as_dir="$ac_dir"; as_fn_mkdir_p
10588: ac_builddir=.
10589:
10590: case "$ac_dir" in
10591: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10592: *)
10593: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10594: # A ".." for each directory in $ac_dir_suffix.
10595: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10596: case $ac_top_builddir_sub in
10597: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10598: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10599: esac ;;
10600: esac
10601: ac_abs_top_builddir=$ac_pwd
10602: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10603: # for backward compatibility:
10604: ac_top_builddir=$ac_top_build_prefix
10605:
10606: case $srcdir in
10607: .) # We are building in place.
10608: ac_srcdir=.
10609: ac_top_srcdir=$ac_top_builddir_sub
10610: ac_abs_top_srcdir=$ac_pwd ;;
10611: [\\/]* | ?:[\\/]* ) # Absolute name.
10612: ac_srcdir=$srcdir$ac_dir_suffix;
10613: ac_top_srcdir=$srcdir
10614: ac_abs_top_srcdir=$srcdir ;;
10615: *) # Relative name.
10616: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10617: ac_top_srcdir=$ac_top_build_prefix$srcdir
10618: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10619: esac
10620: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10621:
10622:
10623: case $ac_mode in
10624: :F)
10625: #
10626: # CONFIG_FILE
10627: #
10628:
10629: case $INSTALL in
10630: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10631: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10632: esac
10633: ac_MKDIR_P=$MKDIR_P
10634: case $MKDIR_P in
10635: [\\/$]* | ?:[\\/]* ) ;;
10636: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10637: esac
10638: _ACEOF
10639:
10640: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10641: # If the template does not know about datarootdir, expand it.
10642: # FIXME: This hack should be removed a few years after 2.60.
10643: ac_datarootdir_hack=; ac_datarootdir_seen=
10644: ac_sed_dataroot='
10645: /datarootdir/ {
10646: p
10647: q
10648: }
10649: /@datadir@/p
10650: /@docdir@/p
10651: /@infodir@/p
10652: /@localedir@/p
10653: /@mandir@/p'
10654: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10655: *datarootdir*) ac_datarootdir_seen=yes;;
10656: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10657: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10658: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10659: _ACEOF
10660: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10661: ac_datarootdir_hack='
10662: s&@datadir@&$datadir&g
10663: s&@docdir@&$docdir&g
10664: s&@infodir@&$infodir&g
10665: s&@localedir@&$localedir&g
10666: s&@mandir@&$mandir&g
10667: s&\\\${datarootdir}&$datarootdir&g' ;;
10668: esac
10669: _ACEOF
10670:
10671: # Neutralize VPATH when `$srcdir' = `.'.
10672: # Shell code in configure.ac might set extrasub.
10673: # FIXME: do we really want to maintain this feature?
10674: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10675: ac_sed_extra="$ac_vpsub
10676: $extrasub
10677: _ACEOF
10678: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10679: :t
10680: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10681: s|@configure_input@|$ac_sed_conf_input|;t t
10682: s&@top_builddir@&$ac_top_builddir_sub&;t t
10683: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10684: s&@srcdir@&$ac_srcdir&;t t
10685: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10686: s&@top_srcdir@&$ac_top_srcdir&;t t
10687: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10688: s&@builddir@&$ac_builddir&;t t
10689: s&@abs_builddir@&$ac_abs_builddir&;t t
10690: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10691: s&@INSTALL@&$ac_INSTALL&;t t
10692: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10693: $ac_datarootdir_hack
10694: "
10695: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10696: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10697:
10698: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10699: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10700: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10701: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10702: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10703: which seems to be undefined. Please make sure it is defined" >&5
10704: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10705: which seems to be undefined. Please make sure it is defined" >&2;}
10706:
10707: rm -f "$ac_tmp/stdin"
10708: case $ac_file in
10709: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10710: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10711: esac \
10712: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10713: ;;
10714: :H)
10715: #
10716: # CONFIG_HEADER
10717: #
10718: if test x"$ac_file" != x-; then
10719: {
10720: $as_echo "/* $configure_input */" \
10721: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10722: } >"$ac_tmp/config.h" \
10723: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10724: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10725: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10726: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10727: else
10728: rm -f "$ac_file"
10729: mv "$ac_tmp/config.h" "$ac_file" \
10730: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10731: fi
10732: else
10733: $as_echo "/* $configure_input */" \
10734: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10735: || as_fn_error $? "could not create -" "$LINENO" 5
10736: fi
10737: # Compute "$ac_file"'s index in $config_headers.
10738: _am_arg="$ac_file"
10739: _am_stamp_count=1
10740: for _am_header in $config_headers :; do
10741: case $_am_header in
10742: $_am_arg | $_am_arg:* )
10743: break ;;
10744: * )
10745: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10746: esac
10747: done
10748: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10749: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10750: X"$_am_arg" : 'X\(//\)[^/]' \| \
10751: X"$_am_arg" : 'X\(//\)$' \| \
10752: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10753: $as_echo X"$_am_arg" |
10754: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10755: s//\1/
10756: q
10757: }
10758: /^X\(\/\/\)[^/].*/{
10759: s//\1/
10760: q
10761: }
10762: /^X\(\/\/\)$/{
10763: s//\1/
10764: q
10765: }
10766: /^X\(\/\).*/{
10767: s//\1/
10768: q
10769: }
10770: s/.*/./; q'`/stamp-h$_am_stamp_count
10771: ;;
10772:
10773: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10774: $as_echo "$as_me: executing $ac_file commands" >&6;}
10775: ;;
10776: esac
10777:
10778:
10779: case $ac_file$ac_mode in
10780: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10781: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10782: # are listed without --file. Let's play safe and only enable the eval
10783: # if we detect the quoting.
10784: case $CONFIG_FILES in
10785: *\'*) eval set x "$CONFIG_FILES" ;;
10786: *) set x $CONFIG_FILES ;;
10787: esac
10788: shift
10789: for mf
10790: do
10791: # Strip MF so we end up with the name of the file.
10792: mf=`echo "$mf" | sed -e 's/:.*$//'`
10793: # Check whether this is an Automake generated Makefile or not.
10794: # We used to match only the files named `Makefile.in', but
10795: # some people rename them; so instead we look at the file content.
10796: # Grep'ing the first line is not enough: some people post-process
10797: # each Makefile.in and add a new line on top of each file to say so.
10798: # Grep'ing the whole file is not good either: AIX grep has a line
10799: # limit of 2048, but all sed's we know have understand at least 4000.
10800: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10801: dirpart=`$as_dirname -- "$mf" ||
10802: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10803: X"$mf" : 'X\(//\)[^/]' \| \
10804: X"$mf" : 'X\(//\)$' \| \
10805: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10806: $as_echo X"$mf" |
10807: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10808: s//\1/
10809: q
10810: }
10811: /^X\(\/\/\)[^/].*/{
10812: s//\1/
10813: q
10814: }
10815: /^X\(\/\/\)$/{
10816: s//\1/
10817: q
10818: }
10819: /^X\(\/\).*/{
10820: s//\1/
10821: q
10822: }
10823: s/.*/./; q'`
10824: else
10825: continue
10826: fi
10827: # Extract the definition of DEPDIR, am__include, and am__quote
10828: # from the Makefile without running `make'.
10829: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10830: test -z "$DEPDIR" && continue
10831: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10832: test -z "am__include" && continue
10833: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10834: # When using ansi2knr, U may be empty or an underscore; expand it
10835: U=`sed -n 's/^U = //p' < "$mf"`
10836: # Find all dependency output files, they are included files with
10837: # $(DEPDIR) in their names. We invoke sed twice because it is the
10838: # simplest approach to changing $(DEPDIR) to its actual value in the
10839: # expansion.
10840: for file in `sed -n "
10841: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10842: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10843: # Make sure the directory exists.
10844: test -f "$dirpart/$file" && continue
10845: fdir=`$as_dirname -- "$file" ||
10846: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10847: X"$file" : 'X\(//\)[^/]' \| \
10848: X"$file" : 'X\(//\)$' \| \
10849: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10850: $as_echo X"$file" |
10851: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10852: s//\1/
10853: q
10854: }
10855: /^X\(\/\/\)[^/].*/{
10856: s//\1/
10857: q
10858: }
10859: /^X\(\/\/\)$/{
10860: s//\1/
10861: q
10862: }
10863: /^X\(\/\).*/{
10864: s//\1/
10865: q
10866: }
10867: s/.*/./; q'`
10868: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10869: # echo "creating $dirpart/$file"
10870: echo '# dummy' > "$dirpart/$file"
10871: done
10872: done
10873: }
10874: ;;
10875:
10876: esac
10877: done # for ac_tag
10878:
10879:
10880: as_fn_exit 0
10881: _ACEOF
10882: ac_clean_files=$ac_clean_files_save
10883:
10884: test $ac_write_fail = 0 ||
10885: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10886:
10887:
10888: # configure is writing to config.log, and then calls config.status.
10889: # config.status does its own redirection, appending to config.log.
10890: # Unfortunately, on DOS this fails, as config.log is still kept open
10891: # by configure, so config.status won't be able to write to it; its
10892: # output is simply discarded. So we exec the FD to /dev/null,
10893: # effectively closing config.log, so it can be properly (re)opened and
10894: # appended to by config.status. When coming back to configure, we
10895: # need to make the FD available again.
10896: if test "$no_create" != yes; then
10897: ac_cs_success=:
10898: ac_config_status_args=
10899: test "$silent" = yes &&
10900: ac_config_status_args="$ac_config_status_args --quiet"
10901: exec 5>/dev/null
10902: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10903: exec 5>>config.log
10904: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10905: # would make configure fail if this is the last instruction.
10906: $ac_cs_success || as_fn_exit 1
10907: fi
10908:
10909: #
10910: # CONFIG_SUBDIRS section.
10911: #
10912: if test "$no_recursion" != yes; then
10913:
10914: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10915: # so they do not pile up.
10916: ac_sub_configure_args=
10917: ac_prev=
10918: eval "set x $ac_configure_args"
10919: shift
10920: for ac_arg
10921: do
10922: if test -n "$ac_prev"; then
10923: ac_prev=
10924: continue
10925: fi
10926: case $ac_arg in
10927: -cache-file | --cache-file | --cache-fil | --cache-fi \
10928: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10929: ac_prev=cache_file ;;
10930: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10931: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10932: | --c=*)
10933: ;;
10934: --config-cache | -C)
10935: ;;
10936: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10937: ac_prev=srcdir ;;
10938: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10939: ;;
10940: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10941: ac_prev=prefix ;;
10942: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10943: ;;
10944: --disable-option-checking)
10945: ;;
10946: *)
10947: case $ac_arg in
10948: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10949: esac
10950: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10951: esac
10952: done
10953:
10954: # Always prepend --prefix to ensure using the same prefix
10955: # in subdir configurations.
10956: ac_arg="--prefix=$prefix"
10957: case $ac_arg in
10958: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10959: esac
10960: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10961:
10962: # Pass --silent
10963: if test "$silent" = yes; then
10964: ac_sub_configure_args="--silent $ac_sub_configure_args"
10965: fi
10966:
10967: # Always prepend --disable-option-checking to silence warnings, since
10968: # different subdirs can have different --enable and --with options.
10969: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10970:
10971: ac_popdir=`pwd`
10972: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10973:
10974: # Do not complain, so a configure script can configure whichever
10975: # parts of a large source tree are present.
10976: test -d "$srcdir/$ac_dir" || continue
10977:
10978: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10979: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10980: $as_echo "$ac_msg" >&6
10981: as_dir="$ac_dir"; as_fn_mkdir_p
10982: ac_builddir=.
10983:
10984: case "$ac_dir" in
10985: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10986: *)
10987: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10988: # A ".." for each directory in $ac_dir_suffix.
10989: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10990: case $ac_top_builddir_sub in
10991: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10992: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10993: esac ;;
10994: esac
10995: ac_abs_top_builddir=$ac_pwd
10996: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10997: # for backward compatibility:
10998: ac_top_builddir=$ac_top_build_prefix
10999:
11000: case $srcdir in
11001: .) # We are building in place.
11002: ac_srcdir=.
11003: ac_top_srcdir=$ac_top_builddir_sub
11004: ac_abs_top_srcdir=$ac_pwd ;;
11005: [\\/]* | ?:[\\/]* ) # Absolute name.
11006: ac_srcdir=$srcdir$ac_dir_suffix;
11007: ac_top_srcdir=$srcdir
11008: ac_abs_top_srcdir=$srcdir ;;
11009: *) # Relative name.
11010: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11011: ac_top_srcdir=$ac_top_build_prefix$srcdir
11012: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11013: esac
11014: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11015:
11016:
11017: cd "$ac_dir"
11018:
11019: # Check for guested configure; otherwise get Cygnus style configure.
11020: if test -f "$ac_srcdir/configure.gnu"; then
11021: ac_sub_configure=$ac_srcdir/configure.gnu
11022: elif test -f "$ac_srcdir/configure"; then
11023: ac_sub_configure=$ac_srcdir/configure
11024: elif test -f "$ac_srcdir/configure.in"; then
11025: # This should be Cygnus configure.
11026: ac_sub_configure=$ac_aux_dir/configure
11027: else
11028: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11029: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11030: ac_sub_configure=
11031: fi
11032:
11033: # The recursion is here.
11034: if test -n "$ac_sub_configure"; then
11035: # Make the cache file name correct relative to the subdirectory.
11036: case $cache_file in
11037: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11038: *) # Relative name.
11039: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11040: esac
11041:
11042: { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
11043: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11044: # The eval makes quoting arguments work.
11045: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11046: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11047: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11048: fi
11049:
11050: cd "$ac_popdir"
11051: done
11052: fi
11053: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11054: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11055: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11056: fi
11057:
CVSweb interface <joel.bertrand@systella.fr>