File:
[local] /
rpl /
Attic /
configure
Revision
1.90:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed Oct 5 13:14:17 2011 UTC (13 years, 7 months ago) by
bertrand
Branches:
MAIN
CVS tags:
HEAD
Patches pour OS/2 et eComStation. Avec ces patches, j'ai réussi à compiler
le RPL/2 sur un eComStation 2.1 avec gcc/gfortran/g++ 4.4.4. La gestion
des signaux ne fonctionne pas encore correctement.
1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.68 for rpl 4.1.4.
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.4'
561: PACKAGE_STRING='rpl 4.1.4'
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: LIBXPM
623: OPENSSL
624: SQLITE
625: ICONV
626: FILE
627: GNUPLOT
628: GPP
629: GSL
630: UNITS
631: READLINE
632: NCURSES
633: ELF
634: BSH_PATH
635: IPV6
636: SEMUN
637: IPCS_SYSV
638: SEMAPHORES_NOMMES
639: NESTED_FUNCTIONS
640: EXPORT_DYNAMIC
641: C_STANDARD
642: WHOLE_LIB2
643: WHOLE_LIB1
644: OS
645: HOST
646: GNUPLOT_COMPILATION
647: EGREP
648: GREP
649: libPgSQLlib
650: libPgSQLinc
651: POSTGRESQL_SUPPORT
652: libMySQLlib
653: libMySQLinc
654: MYSQL_SUPPORT
655: DATE
656: includeX
657: libX
658: MOTIF_SUPPORT
659: DEBUG
660: EXPERIMENTAL_CODE
661: VIM_SUPPORT
662: POSTSCRIPT_SUPPORT
663: FORCE_GNUPLOT_PATH
664: GNUPLOT_SUPPORT
665: VIM
666: GNUPLOT_P
667: GV
668: GS
669: DVIPS
670: LATEX
671: TEX
672: SED
673: RANLIB
674: LN_S
675: RUNPATH
676: PROFILAGE
677: subdirs
678: SHARED_MEMORY
679: LIBRPLCAS
680: RPLCAS
681: ABI
682: RPLTOOLS
683: X_EXTRA_LIBS
684: X_LIBS
685: X_PRE_LIBS
686: X_CFLAGS
687: CPP
688: XMKMF
689: ac_ct_FC
690: FCFLAGS
691: FC
692: ac_ct_F77
693: FFLAGS
694: F77
695: am__fastdepCXX_FALSE
696: am__fastdepCXX_TRUE
697: CXXDEPMODE
698: ac_ct_CXX
699: CXXFLAGS
700: CXX
701: am__fastdepCC_FALSE
702: am__fastdepCC_TRUE
703: CCDEPMODE
704: AMDEPBACKSLASH
705: AMDEP_FALSE
706: AMDEP_TRUE
707: am__quote
708: am__include
709: DEPDIR
710: OBJEXT
711: EXEEXT
712: ac_ct_CC
713: CPPFLAGS
714: LDFLAGS
715: CFLAGS
716: CC
717: am__untar
718: am__tar
719: AMTAR
720: am__leading_dot
721: SET_MAKE
722: AWK
723: mkdir_p
724: MKDIR_P
725: INSTALL_STRIP_PROGRAM
726: STRIP
727: install_sh
728: MAKEINFO
729: AUTOHEADER
730: AUTOMAKE
731: AUTOCONF
732: ACLOCAL
733: VERSION
734: PACKAGE
735: CYGPATH_W
736: am__isrc
737: INSTALL_DATA
738: INSTALL_SCRIPT
739: INSTALL_PROGRAM
740: target_os
741: target_vendor
742: target_cpu
743: target
744: host_os
745: host_vendor
746: host_cpu
747: host
748: build_os
749: build_vendor
750: build_cpu
751: build
752: target_alias
753: host_alias
754: build_alias
755: LIBS
756: ECHO_T
757: ECHO_N
758: ECHO_C
759: DEFS
760: mandir
761: localedir
762: libdir
763: psdir
764: pdfdir
765: dvidir
766: htmldir
767: infodir
768: docdir
769: oldincludedir
770: includedir
771: localstatedir
772: sharedstatedir
773: sysconfdir
774: datadir
775: datarootdir
776: libexecdir
777: sbindir
778: bindir
779: program_transform_name
780: prefix
781: exec_prefix
782: PACKAGE_URL
783: PACKAGE_BUGREPORT
784: PACKAGE_STRING
785: PACKAGE_VERSION
786: PACKAGE_TARNAME
787: PACKAGE_NAME
788: PATH_SEPARATOR
789: SHELL'
790: ac_subst_files=''
791: ac_user_opts='
792: enable_option_checking
793: enable_dependency_tracking
794: with_x
795: with_32bits_abi
796: with_64bits_abi
797: with_rpltools
798: enable_rplcas
799: enable_shared_memory
800: enable_optimization
801: enable_sysv_ipcs
802: enable_full_static
803: enable_final_encoding
804: enable_tex
805: enable_vim
806: enable_embedded_gnuplot
807: enable_gnuplot
808: enable_motif
809: enable_experimental
810: enable_debug
811: enable_profile
812: enable_final_run_path
813: with_mysql
814: with_postgresql
815: with_bourne_shell
816: with_openssl_arch
817: '
818: ac_precious_vars='build_alias
819: host_alias
820: target_alias
821: CC
822: CFLAGS
823: LDFLAGS
824: LIBS
825: CPPFLAGS
826: CXX
827: CXXFLAGS
828: CCC
829: F77
830: FFLAGS
831: FC
832: FCFLAGS
833: XMKMF
834: CPP'
835: ac_subdirs_all='tools/$LIBXPM
836: tools/$OPENMOTIF
837: tools/$GNUPLOT
838: tools/$NCURSES
839: tools/$READLINE
840: tools/$GSL
841: tools/$GPP
842: tools/$FILE
843: tools/$ICONV
844: tools/$SQLITE
845: tools/$UNITS
846: tools/$SIGSEGV'
847:
848: # Initialize some variables set by options.
849: ac_init_help=
850: ac_init_version=false
851: ac_unrecognized_opts=
852: ac_unrecognized_sep=
853: # The variables have the same names as the options, with
854: # dashes changed to underlines.
855: cache_file=/dev/null
856: exec_prefix=NONE
857: no_create=
858: no_recursion=
859: prefix=NONE
860: program_prefix=NONE
861: program_suffix=NONE
862: program_transform_name=s,x,x,
863: silent=
864: site=
865: srcdir=
866: verbose=
867: x_includes=NONE
868: x_libraries=NONE
869:
870: # Installation directory options.
871: # These are left unexpanded so users can "make install exec_prefix=/foo"
872: # and all the variables that are supposed to be based on exec_prefix
873: # by default will actually change.
874: # Use braces instead of parens because sh, perl, etc. also accept them.
875: # (The list follows the same order as the GNU Coding Standards.)
876: bindir='${exec_prefix}/bin'
877: sbindir='${exec_prefix}/sbin'
878: libexecdir='${exec_prefix}/libexec'
879: datarootdir='${prefix}/share'
880: datadir='${datarootdir}'
881: sysconfdir='${prefix}/etc'
882: sharedstatedir='${prefix}/com'
883: localstatedir='${prefix}/var'
884: includedir='${prefix}/include'
885: oldincludedir='/usr/include'
886: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887: infodir='${datarootdir}/info'
888: htmldir='${docdir}'
889: dvidir='${docdir}'
890: pdfdir='${docdir}'
891: psdir='${docdir}'
892: libdir='${exec_prefix}/lib'
893: localedir='${datarootdir}/locale'
894: mandir='${datarootdir}/man'
895:
896: ac_prev=
897: ac_dashdash=
898: for ac_option
899: do
900: # If the previous option needs an argument, assign it.
901: if test -n "$ac_prev"; then
902: eval $ac_prev=\$ac_option
903: ac_prev=
904: continue
905: fi
906:
907: case $ac_option in
908: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909: *=) ac_optarg= ;;
910: *) ac_optarg=yes ;;
911: esac
912:
913: # Accept the important Cygnus configure options, so we can diagnose typos.
914:
915: case $ac_dashdash$ac_option in
916: --)
917: ac_dashdash=yes ;;
918:
919: -bindir | --bindir | --bindi | --bind | --bin | --bi)
920: ac_prev=bindir ;;
921: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922: bindir=$ac_optarg ;;
923:
924: -build | --build | --buil | --bui | --bu)
925: ac_prev=build_alias ;;
926: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927: build_alias=$ac_optarg ;;
928:
929: -cache-file | --cache-file | --cache-fil | --cache-fi \
930: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931: ac_prev=cache_file ;;
932: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934: cache_file=$ac_optarg ;;
935:
936: --config-cache | -C)
937: cache_file=config.cache ;;
938:
939: -datadir | --datadir | --datadi | --datad)
940: ac_prev=datadir ;;
941: -datadir=* | --datadir=* | --datadi=* | --datad=*)
942: datadir=$ac_optarg ;;
943:
944: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945: | --dataroo | --dataro | --datar)
946: ac_prev=datarootdir ;;
947: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949: datarootdir=$ac_optarg ;;
950:
951: -disable-* | --disable-*)
952: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953: # Reject names that are not valid shell variable names.
954: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955: as_fn_error $? "invalid feature name: $ac_useropt"
956: ac_useropt_orig=$ac_useropt
957: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958: case $ac_user_opts in
959: *"
960: "enable_$ac_useropt"
961: "*) ;;
962: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963: ac_unrecognized_sep=', ';;
964: esac
965: eval enable_$ac_useropt=no ;;
966:
967: -docdir | --docdir | --docdi | --doc | --do)
968: ac_prev=docdir ;;
969: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970: docdir=$ac_optarg ;;
971:
972: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973: ac_prev=dvidir ;;
974: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975: dvidir=$ac_optarg ;;
976:
977: -enable-* | --enable-*)
978: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979: # Reject names that are not valid shell variable names.
980: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981: as_fn_error $? "invalid feature name: $ac_useropt"
982: ac_useropt_orig=$ac_useropt
983: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984: case $ac_user_opts in
985: *"
986: "enable_$ac_useropt"
987: "*) ;;
988: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989: ac_unrecognized_sep=', ';;
990: esac
991: eval enable_$ac_useropt=\$ac_optarg ;;
992:
993: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995: | --exec | --exe | --ex)
996: ac_prev=exec_prefix ;;
997: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999: | --exec=* | --exe=* | --ex=*)
1000: exec_prefix=$ac_optarg ;;
1001:
1002: -gas | --gas | --ga | --g)
1003: # Obsolete; use --with-gas.
1004: with_gas=yes ;;
1005:
1006: -help | --help | --hel | --he | -h)
1007: ac_init_help=long ;;
1008: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009: ac_init_help=recursive ;;
1010: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011: ac_init_help=short ;;
1012:
1013: -host | --host | --hos | --ho)
1014: ac_prev=host_alias ;;
1015: -host=* | --host=* | --hos=* | --ho=*)
1016: host_alias=$ac_optarg ;;
1017:
1018: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019: ac_prev=htmldir ;;
1020: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021: | --ht=*)
1022: htmldir=$ac_optarg ;;
1023:
1024: -includedir | --includedir | --includedi | --included | --include \
1025: | --includ | --inclu | --incl | --inc)
1026: ac_prev=includedir ;;
1027: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028: | --includ=* | --inclu=* | --incl=* | --inc=*)
1029: includedir=$ac_optarg ;;
1030:
1031: -infodir | --infodir | --infodi | --infod | --info | --inf)
1032: ac_prev=infodir ;;
1033: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034: infodir=$ac_optarg ;;
1035:
1036: -libdir | --libdir | --libdi | --libd)
1037: ac_prev=libdir ;;
1038: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039: libdir=$ac_optarg ;;
1040:
1041: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042: | --libexe | --libex | --libe)
1043: ac_prev=libexecdir ;;
1044: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045: | --libexe=* | --libex=* | --libe=*)
1046: libexecdir=$ac_optarg ;;
1047:
1048: -localedir | --localedir | --localedi | --localed | --locale)
1049: ac_prev=localedir ;;
1050: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051: localedir=$ac_optarg ;;
1052:
1053: -localstatedir | --localstatedir | --localstatedi | --localstated \
1054: | --localstate | --localstat | --localsta | --localst | --locals)
1055: ac_prev=localstatedir ;;
1056: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058: localstatedir=$ac_optarg ;;
1059:
1060: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061: ac_prev=mandir ;;
1062: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063: mandir=$ac_optarg ;;
1064:
1065: -nfp | --nfp | --nf)
1066: # Obsolete; use --without-fp.
1067: with_fp=no ;;
1068:
1069: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070: | --no-cr | --no-c | -n)
1071: no_create=yes ;;
1072:
1073: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075: no_recursion=yes ;;
1076:
1077: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079: | --oldin | --oldi | --old | --ol | --o)
1080: ac_prev=oldincludedir ;;
1081: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084: oldincludedir=$ac_optarg ;;
1085:
1086: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087: ac_prev=prefix ;;
1088: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089: prefix=$ac_optarg ;;
1090:
1091: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092: | --program-pre | --program-pr | --program-p)
1093: ac_prev=program_prefix ;;
1094: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096: program_prefix=$ac_optarg ;;
1097:
1098: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099: | --program-suf | --program-su | --program-s)
1100: ac_prev=program_suffix ;;
1101: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103: program_suffix=$ac_optarg ;;
1104:
1105: -program-transform-name | --program-transform-name \
1106: | --program-transform-nam | --program-transform-na \
1107: | --program-transform-n | --program-transform- \
1108: | --program-transform | --program-transfor \
1109: | --program-transfo | --program-transf \
1110: | --program-trans | --program-tran \
1111: | --progr-tra | --program-tr | --program-t)
1112: ac_prev=program_transform_name ;;
1113: -program-transform-name=* | --program-transform-name=* \
1114: | --program-transform-nam=* | --program-transform-na=* \
1115: | --program-transform-n=* | --program-transform-=* \
1116: | --program-transform=* | --program-transfor=* \
1117: | --program-transfo=* | --program-transf=* \
1118: | --program-trans=* | --program-tran=* \
1119: | --progr-tra=* | --program-tr=* | --program-t=*)
1120: program_transform_name=$ac_optarg ;;
1121:
1122: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123: ac_prev=pdfdir ;;
1124: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125: pdfdir=$ac_optarg ;;
1126:
1127: -psdir | --psdir | --psdi | --psd | --ps)
1128: ac_prev=psdir ;;
1129: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130: psdir=$ac_optarg ;;
1131:
1132: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133: | -silent | --silent | --silen | --sile | --sil)
1134: silent=yes ;;
1135:
1136: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137: ac_prev=sbindir ;;
1138: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139: | --sbi=* | --sb=*)
1140: sbindir=$ac_optarg ;;
1141:
1142: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144: | --sharedst | --shareds | --shared | --share | --shar \
1145: | --sha | --sh)
1146: ac_prev=sharedstatedir ;;
1147: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150: | --sha=* | --sh=*)
1151: sharedstatedir=$ac_optarg ;;
1152:
1153: -site | --site | --sit)
1154: ac_prev=site ;;
1155: -site=* | --site=* | --sit=*)
1156: site=$ac_optarg ;;
1157:
1158: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159: ac_prev=srcdir ;;
1160: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161: srcdir=$ac_optarg ;;
1162:
1163: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164: | --syscon | --sysco | --sysc | --sys | --sy)
1165: ac_prev=sysconfdir ;;
1166: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168: sysconfdir=$ac_optarg ;;
1169:
1170: -target | --target | --targe | --targ | --tar | --ta | --t)
1171: ac_prev=target_alias ;;
1172: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173: target_alias=$ac_optarg ;;
1174:
1175: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176: verbose=yes ;;
1177:
1178: -version | --version | --versio | --versi | --vers | -V)
1179: ac_init_version=: ;;
1180:
1181: -with-* | --with-*)
1182: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183: # Reject names that are not valid shell variable names.
1184: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185: as_fn_error $? "invalid package name: $ac_useropt"
1186: ac_useropt_orig=$ac_useropt
1187: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188: case $ac_user_opts in
1189: *"
1190: "with_$ac_useropt"
1191: "*) ;;
1192: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193: ac_unrecognized_sep=', ';;
1194: esac
1195: eval with_$ac_useropt=\$ac_optarg ;;
1196:
1197: -without-* | --without-*)
1198: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199: # Reject names that are not valid shell variable names.
1200: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201: as_fn_error $? "invalid package name: $ac_useropt"
1202: ac_useropt_orig=$ac_useropt
1203: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204: case $ac_user_opts in
1205: *"
1206: "with_$ac_useropt"
1207: "*) ;;
1208: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209: ac_unrecognized_sep=', ';;
1210: esac
1211: eval with_$ac_useropt=no ;;
1212:
1213: --x)
1214: # Obsolete; use --with-x.
1215: with_x=yes ;;
1216:
1217: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218: | --x-incl | --x-inc | --x-in | --x-i)
1219: ac_prev=x_includes ;;
1220: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222: x_includes=$ac_optarg ;;
1223:
1224: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226: ac_prev=x_libraries ;;
1227: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229: x_libraries=$ac_optarg ;;
1230:
1231: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232: Try \`$0 --help' for more information"
1233: ;;
1234:
1235: *=*)
1236: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237: # Reject names that are not valid shell variable names.
1238: case $ac_envvar in #(
1239: '' | [0-9]* | *[!_$as_cr_alnum]* )
1240: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241: esac
1242: eval $ac_envvar=\$ac_optarg
1243: export $ac_envvar ;;
1244:
1245: *)
1246: # FIXME: should be removed in autoconf 3.0.
1247: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251: ;;
1252:
1253: esac
1254: done
1255:
1256: if test -n "$ac_prev"; then
1257: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258: as_fn_error $? "missing argument to $ac_option"
1259: fi
1260:
1261: if test -n "$ac_unrecognized_opts"; then
1262: case $enable_option_checking in
1263: no) ;;
1264: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266: esac
1267: fi
1268:
1269: # Check all directory arguments for consistency.
1270: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271: datadir sysconfdir sharedstatedir localstatedir includedir \
1272: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273: libdir localedir mandir
1274: do
1275: eval ac_val=\$$ac_var
1276: # Remove trailing slashes.
1277: case $ac_val in
1278: */ )
1279: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280: eval $ac_var=\$ac_val;;
1281: esac
1282: # Be sure to have absolute directory names.
1283: case $ac_val in
1284: [\\/$]* | ?:[\\/]* ) continue;;
1285: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286: esac
1287: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288: done
1289:
1290: # There might be people who depend on the old broken behavior: `$host'
1291: # used to hold the argument of --host etc.
1292: # FIXME: To remove some day.
1293: build=$build_alias
1294: host=$host_alias
1295: target=$target_alias
1296:
1297: # FIXME: To remove some day.
1298: if test "x$host_alias" != x; then
1299: if test "x$build_alias" = x; then
1300: cross_compiling=maybe
1301: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1302: If a cross compiler is detected then cross compile mode will be used" >&2
1303: elif test "x$build_alias" != "x$host_alias"; then
1304: cross_compiling=yes
1305: fi
1306: fi
1307:
1308: ac_tool_prefix=
1309: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310:
1311: test "$silent" = yes && exec 6>/dev/null
1312:
1313:
1314: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1315: ac_ls_di=`ls -di .` &&
1316: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1317: as_fn_error $? "working directory cannot be determined"
1318: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319: as_fn_error $? "pwd does not report name of working directory"
1320:
1321:
1322: # Find the source files, if location was not specified.
1323: if test -z "$srcdir"; then
1324: ac_srcdir_defaulted=yes
1325: # Try the directory containing this script, then the parent directory.
1326: ac_confdir=`$as_dirname -- "$as_myself" ||
1327: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1328: X"$as_myself" : 'X\(//\)[^/]' \| \
1329: X"$as_myself" : 'X\(//\)$' \| \
1330: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1331: $as_echo X"$as_myself" |
1332: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333: s//\1/
1334: q
1335: }
1336: /^X\(\/\/\)[^/].*/{
1337: s//\1/
1338: q
1339: }
1340: /^X\(\/\/\)$/{
1341: s//\1/
1342: q
1343: }
1344: /^X\(\/\).*/{
1345: s//\1/
1346: q
1347: }
1348: s/.*/./; q'`
1349: srcdir=$ac_confdir
1350: if test ! -r "$srcdir/$ac_unique_file"; then
1351: srcdir=..
1352: fi
1353: else
1354: ac_srcdir_defaulted=no
1355: fi
1356: if test ! -r "$srcdir/$ac_unique_file"; then
1357: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1358: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1359: fi
1360: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1361: ac_abs_confdir=`(
1362: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1363: pwd)`
1364: # When building in place, set srcdir=.
1365: if test "$ac_abs_confdir" = "$ac_pwd"; then
1366: srcdir=.
1367: fi
1368: # Remove unnecessary trailing slashes from srcdir.
1369: # Double slashes in file names in object file debugging info
1370: # mess up M-x gdb in Emacs.
1371: case $srcdir in
1372: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373: esac
1374: for ac_var in $ac_precious_vars; do
1375: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1376: eval ac_env_${ac_var}_value=\$${ac_var}
1377: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1378: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1379: done
1380:
1381: #
1382: # Report the --help message.
1383: #
1384: if test "$ac_init_help" = "long"; then
1385: # Omit some internal or obsolete options to make the list less imposing.
1386: # This message is too long to be a string in the A/UX 3.1 sh.
1387: cat <<_ACEOF
1388: \`configure' configures rpl 4.1.4 to adapt to many kinds of systems.
1389:
1390: Usage: $0 [OPTION]... [VAR=VALUE]...
1391:
1392: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1393: VAR=VALUE. See below for descriptions of some of the useful variables.
1394:
1395: Defaults for the options are specified in brackets.
1396:
1397: Configuration:
1398: -h, --help display this help and exit
1399: --help=short display options specific to this package
1400: --help=recursive display the short help of all the included packages
1401: -V, --version display version information and exit
1402: -q, --quiet, --silent do not print \`checking ...' messages
1403: --cache-file=FILE cache test results in FILE [disabled]
1404: -C, --config-cache alias for \`--cache-file=config.cache'
1405: -n, --no-create do not create output files
1406: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1407:
1408: Installation directories:
1409: --prefix=PREFIX install architecture-independent files in PREFIX
1410: [$ac_default_prefix]
1411: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412: [PREFIX]
1413:
1414: By default, \`make install' will install all the files in
1415: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1416: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1417: for instance \`--prefix=\$HOME'.
1418:
1419: For better control, use the options below.
1420:
1421: Fine tuning of the installation directories:
1422: --bindir=DIR user executables [EPREFIX/bin]
1423: --sbindir=DIR system admin executables [EPREFIX/sbin]
1424: --libexecdir=DIR program executables [EPREFIX/libexec]
1425: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1426: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1427: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1428: --libdir=DIR object code libraries [EPREFIX/lib]
1429: --includedir=DIR C header files [PREFIX/include]
1430: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1431: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1432: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1433: --infodir=DIR info documentation [DATAROOTDIR/info]
1434: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1435: --mandir=DIR man documentation [DATAROOTDIR/man]
1436: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1437: --htmldir=DIR html documentation [DOCDIR]
1438: --dvidir=DIR dvi documentation [DOCDIR]
1439: --pdfdir=DIR pdf documentation [DOCDIR]
1440: --psdir=DIR ps documentation [DOCDIR]
1441: _ACEOF
1442:
1443: cat <<\_ACEOF
1444:
1445: Program names:
1446: --program-prefix=PREFIX prepend PREFIX to installed program names
1447: --program-suffix=SUFFIX append SUFFIX to installed program names
1448: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1449:
1450: X features:
1451: --x-includes=DIR X include files are in DIR
1452: --x-libraries=DIR X library files are in DIR
1453:
1454: System types:
1455: --build=BUILD configure for building on BUILD [guessed]
1456: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1457: --target=TARGET configure for building compilers for TARGET [HOST]
1458: _ACEOF
1459: fi
1460:
1461: if test -n "$ac_init_help"; then
1462: case $ac_init_help in
1463: short | recursive ) echo "Configuration of rpl 4.1.4:";;
1464: esac
1465: cat <<\_ACEOF
1466:
1467: Optional Features:
1468: --disable-option-checking ignore unrecognized --enable/--with options
1469: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471: --disable-dependency-tracking speeds up one-time build
1472: --enable-dependency-tracking do not reject slow dependency extractors
1473: --enable-rplcas compile rplcas (default=no)
1474: --enable-shared-memory enable shared memory [default=yes]
1475: --enable-optimization set compiler flags [default=environment variables -O3]
1476: --enable-sysv-ipcs use SystemV IPC functions [default=guessed]
1477: --enable-full-static build static RPL/2 engine [default=shared]
1478: --enable-final-encoding force final encoding [default=guessed]
1479: --enable-tex provide the TeX support [default=guessed]
1480: --enable-vim provide the vim support [default=guessed]
1481: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1482: --enable-gnuplot provide the GnuPlot support [default=guessed]
1483: --enable-motif provide the Motif support [default=guessed]
1484: --enable-experimental enable experimental code [default=no]
1485: --enable-debug enable debug code [default=no]
1486: --enable-profile enable profile code [default=no]
1487: --enable-final-run-path=PATH enable another final run path than PREFIX
1488:
1489: Optional Packages:
1490: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492: --with-x use the X Window System
1493: --with-32bits-abi force 32bits ABI (multilib)
1494: --with-64bits-abi force 64bits ABI (multilib)
1495: --with-rpltools specify rpltools path used for cross compilation
1496: --with-mysql=PATH specify directory for installed mysql
1497: --with-postgresql=PATH specify directory for installed postgresql
1498: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1499: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1500:
1501: Some influential environment variables:
1502: CC C compiler command
1503: CFLAGS C compiler flags
1504: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1505: nonstandard directory <lib dir>
1506: LIBS libraries to pass to the linker, e.g. -l<library>
1507: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1508: you have headers in a nonstandard directory <include dir>
1509: CXX C++ compiler command
1510: CXXFLAGS C++ compiler flags
1511: F77 Fortran 77 compiler command
1512: FFLAGS Fortran 77 compiler flags
1513: FC Fortran compiler command
1514: FCFLAGS Fortran compiler flags
1515: XMKMF Path to xmkmf, Makefile generator for X Window System
1516: CPP C preprocessor
1517:
1518: Use these variables to override the choices made by `configure' or to help
1519: it to find libraries and programs with nonstandard names/locations.
1520:
1521: Report bugs to the package provider.
1522: _ACEOF
1523: ac_status=$?
1524: fi
1525:
1526: if test "$ac_init_help" = "recursive"; then
1527: # If there are subdirs, report their specific --help.
1528: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1529: test -d "$ac_dir" ||
1530: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1531: continue
1532: ac_builddir=.
1533:
1534: case "$ac_dir" in
1535: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536: *)
1537: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1538: # A ".." for each directory in $ac_dir_suffix.
1539: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1540: case $ac_top_builddir_sub in
1541: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543: esac ;;
1544: esac
1545: ac_abs_top_builddir=$ac_pwd
1546: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1547: # for backward compatibility:
1548: ac_top_builddir=$ac_top_build_prefix
1549:
1550: case $srcdir in
1551: .) # We are building in place.
1552: ac_srcdir=.
1553: ac_top_srcdir=$ac_top_builddir_sub
1554: ac_abs_top_srcdir=$ac_pwd ;;
1555: [\\/]* | ?:[\\/]* ) # Absolute name.
1556: ac_srcdir=$srcdir$ac_dir_suffix;
1557: ac_top_srcdir=$srcdir
1558: ac_abs_top_srcdir=$srcdir ;;
1559: *) # Relative name.
1560: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1561: ac_top_srcdir=$ac_top_build_prefix$srcdir
1562: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563: esac
1564: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1565:
1566: cd "$ac_dir" || { ac_status=$?; continue; }
1567: # Check for guested configure.
1568: if test -f "$ac_srcdir/configure.gnu"; then
1569: echo &&
1570: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1571: elif test -f "$ac_srcdir/configure"; then
1572: echo &&
1573: $SHELL "$ac_srcdir/configure" --help=recursive
1574: else
1575: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576: fi || ac_status=$?
1577: cd "$ac_pwd" || { ac_status=$?; break; }
1578: done
1579: fi
1580:
1581: test -n "$ac_init_help" && exit $ac_status
1582: if $ac_init_version; then
1583: cat <<\_ACEOF
1584: rpl configure 4.1.4
1585: generated by GNU Autoconf 2.68
1586:
1587: Copyright (C) 2010 Free Software Foundation, Inc.
1588: This configure script is free software; the Free Software Foundation
1589: gives unlimited permission to copy, distribute and modify it.
1590: _ACEOF
1591: exit
1592: fi
1593:
1594: ## ------------------------ ##
1595: ## Autoconf initialization. ##
1596: ## ------------------------ ##
1597:
1598: # ac_fn_c_try_compile LINENO
1599: # --------------------------
1600: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1601: ac_fn_c_try_compile ()
1602: {
1603: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604: rm -f conftest.$ac_objext
1605: if { { ac_try="$ac_compile"
1606: case "(($ac_try" in
1607: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608: *) ac_try_echo=$ac_try;;
1609: esac
1610: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611: $as_echo "$ac_try_echo"; } >&5
1612: (eval "$ac_compile") 2>conftest.err
1613: ac_status=$?
1614: if test -s conftest.err; then
1615: grep -v '^ *+' conftest.err >conftest.er1
1616: cat conftest.er1 >&5
1617: mv -f conftest.er1 conftest.err
1618: fi
1619: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620: test $ac_status = 0; } && {
1621: test -z "$ac_c_werror_flag" ||
1622: test ! -s conftest.err
1623: } && test -s conftest.$ac_objext; then :
1624: ac_retval=0
1625: else
1626: $as_echo "$as_me: failed program was:" >&5
1627: sed 's/^/| /' conftest.$ac_ext >&5
1628:
1629: ac_retval=1
1630: fi
1631: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632: as_fn_set_status $ac_retval
1633:
1634: } # ac_fn_c_try_compile
1635:
1636: # ac_fn_cxx_try_compile LINENO
1637: # ----------------------------
1638: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1639: ac_fn_cxx_try_compile ()
1640: {
1641: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642: rm -f conftest.$ac_objext
1643: if { { ac_try="$ac_compile"
1644: case "(($ac_try" in
1645: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646: *) ac_try_echo=$ac_try;;
1647: esac
1648: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649: $as_echo "$ac_try_echo"; } >&5
1650: (eval "$ac_compile") 2>conftest.err
1651: ac_status=$?
1652: if test -s conftest.err; then
1653: grep -v '^ *+' conftest.err >conftest.er1
1654: cat conftest.er1 >&5
1655: mv -f conftest.er1 conftest.err
1656: fi
1657: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658: test $ac_status = 0; } && {
1659: test -z "$ac_cxx_werror_flag" ||
1660: test ! -s conftest.err
1661: } && test -s conftest.$ac_objext; then :
1662: ac_retval=0
1663: else
1664: $as_echo "$as_me: failed program was:" >&5
1665: sed 's/^/| /' conftest.$ac_ext >&5
1666:
1667: ac_retval=1
1668: fi
1669: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670: as_fn_set_status $ac_retval
1671:
1672: } # ac_fn_cxx_try_compile
1673:
1674: # ac_fn_f77_try_compile LINENO
1675: # ----------------------------
1676: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677: ac_fn_f77_try_compile ()
1678: {
1679: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680: rm -f conftest.$ac_objext
1681: if { { ac_try="$ac_compile"
1682: case "(($ac_try" in
1683: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684: *) ac_try_echo=$ac_try;;
1685: esac
1686: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687: $as_echo "$ac_try_echo"; } >&5
1688: (eval "$ac_compile") 2>conftest.err
1689: ac_status=$?
1690: if test -s conftest.err; then
1691: grep -v '^ *+' conftest.err >conftest.er1
1692: cat conftest.er1 >&5
1693: mv -f conftest.er1 conftest.err
1694: fi
1695: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696: test $ac_status = 0; } && {
1697: test -z "$ac_f77_werror_flag" ||
1698: test ! -s conftest.err
1699: } && test -s conftest.$ac_objext; then :
1700: ac_retval=0
1701: else
1702: $as_echo "$as_me: failed program was:" >&5
1703: sed 's/^/| /' conftest.$ac_ext >&5
1704:
1705: ac_retval=1
1706: fi
1707: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708: as_fn_set_status $ac_retval
1709:
1710: } # ac_fn_f77_try_compile
1711:
1712: # ac_fn_fc_try_compile LINENO
1713: # ---------------------------
1714: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715: ac_fn_fc_try_compile ()
1716: {
1717: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718: rm -f conftest.$ac_objext
1719: if { { ac_try="$ac_compile"
1720: case "(($ac_try" in
1721: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722: *) ac_try_echo=$ac_try;;
1723: esac
1724: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725: $as_echo "$ac_try_echo"; } >&5
1726: (eval "$ac_compile") 2>conftest.err
1727: ac_status=$?
1728: if test -s conftest.err; then
1729: grep -v '^ *+' conftest.err >conftest.er1
1730: cat conftest.er1 >&5
1731: mv -f conftest.er1 conftest.err
1732: fi
1733: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734: test $ac_status = 0; } && {
1735: test -z "$ac_fc_werror_flag" ||
1736: test ! -s conftest.err
1737: } && test -s conftest.$ac_objext; then :
1738: ac_retval=0
1739: else
1740: $as_echo "$as_me: failed program was:" >&5
1741: sed 's/^/| /' conftest.$ac_ext >&5
1742:
1743: ac_retval=1
1744: fi
1745: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746: as_fn_set_status $ac_retval
1747:
1748: } # ac_fn_fc_try_compile
1749:
1750: # ac_fn_c_try_cpp LINENO
1751: # ----------------------
1752: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753: ac_fn_c_try_cpp ()
1754: {
1755: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756: if { { ac_try="$ac_cpp conftest.$ac_ext"
1757: case "(($ac_try" in
1758: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759: *) ac_try_echo=$ac_try;;
1760: esac
1761: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762: $as_echo "$ac_try_echo"; } >&5
1763: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764: ac_status=$?
1765: if test -s conftest.err; then
1766: grep -v '^ *+' conftest.err >conftest.er1
1767: cat conftest.er1 >&5
1768: mv -f conftest.er1 conftest.err
1769: fi
1770: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771: test $ac_status = 0; } > conftest.i && {
1772: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773: test ! -s conftest.err
1774: }; then :
1775: ac_retval=0
1776: else
1777: $as_echo "$as_me: failed program was:" >&5
1778: sed 's/^/| /' conftest.$ac_ext >&5
1779:
1780: ac_retval=1
1781: fi
1782: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783: as_fn_set_status $ac_retval
1784:
1785: } # ac_fn_c_try_cpp
1786:
1787: # ac_fn_c_try_link LINENO
1788: # -----------------------
1789: # Try to link conftest.$ac_ext, and return whether this succeeded.
1790: ac_fn_c_try_link ()
1791: {
1792: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793: rm -f conftest.$ac_objext conftest$ac_exeext
1794: if { { ac_try="$ac_link"
1795: case "(($ac_try" in
1796: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797: *) ac_try_echo=$ac_try;;
1798: esac
1799: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800: $as_echo "$ac_try_echo"; } >&5
1801: (eval "$ac_link") 2>conftest.err
1802: ac_status=$?
1803: if test -s conftest.err; then
1804: grep -v '^ *+' conftest.err >conftest.er1
1805: cat conftest.er1 >&5
1806: mv -f conftest.er1 conftest.err
1807: fi
1808: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809: test $ac_status = 0; } && {
1810: test -z "$ac_c_werror_flag" ||
1811: test ! -s conftest.err
1812: } && test -s conftest$ac_exeext && {
1813: test "$cross_compiling" = yes ||
1814: $as_test_x conftest$ac_exeext
1815: }; then :
1816: ac_retval=0
1817: else
1818: $as_echo "$as_me: failed program was:" >&5
1819: sed 's/^/| /' conftest.$ac_ext >&5
1820:
1821: ac_retval=1
1822: fi
1823: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825: # interfere with the next link command; also delete a directory that is
1826: # left behind by Apple's compiler. We do this before executing the actions.
1827: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829: as_fn_set_status $ac_retval
1830:
1831: } # ac_fn_c_try_link
1832:
1833: # ac_fn_c_check_func LINENO FUNC VAR
1834: # ----------------------------------
1835: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1836: ac_fn_c_check_func ()
1837: {
1838: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840: $as_echo_n "checking for $2... " >&6; }
1841: if eval \${$3+:} false; then :
1842: $as_echo_n "(cached) " >&6
1843: else
1844: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845: /* end confdefs.h. */
1846: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1847: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1848: #define $2 innocuous_$2
1849:
1850: /* System header to define __stub macros and hopefully few prototypes,
1851: which can conflict with char $2 (); below.
1852: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1853: <limits.h> exists even on freestanding compilers. */
1854:
1855: #ifdef __STDC__
1856: # include <limits.h>
1857: #else
1858: # include <assert.h>
1859: #endif
1860:
1861: #undef $2
1862:
1863: /* Override any GCC internal prototype to avoid an error.
1864: Use char because int might match the return type of a GCC
1865: builtin and then its argument prototype would still apply. */
1866: #ifdef __cplusplus
1867: extern "C"
1868: #endif
1869: char $2 ();
1870: /* The GNU C library defines this for functions which it implements
1871: to always fail with ENOSYS. Some functions are actually named
1872: something starting with __ and the normal name is an alias. */
1873: #if defined __stub_$2 || defined __stub___$2
1874: choke me
1875: #endif
1876:
1877: int
1878: main ()
1879: {
1880: return $2 ();
1881: ;
1882: return 0;
1883: }
1884: _ACEOF
1885: if ac_fn_c_try_link "$LINENO"; then :
1886: eval "$3=yes"
1887: else
1888: eval "$3=no"
1889: fi
1890: rm -f core conftest.err conftest.$ac_objext \
1891: conftest$ac_exeext conftest.$ac_ext
1892: fi
1893: eval ac_res=\$$3
1894: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895: $as_echo "$ac_res" >&6; }
1896: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897:
1898: } # ac_fn_c_check_func
1899:
1900: # ac_fn_c_try_run LINENO
1901: # ----------------------
1902: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1903: # that executables *can* be run.
1904: ac_fn_c_try_run ()
1905: {
1906: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907: if { { ac_try="$ac_link"
1908: case "(($ac_try" in
1909: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1910: *) ac_try_echo=$ac_try;;
1911: esac
1912: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913: $as_echo "$ac_try_echo"; } >&5
1914: (eval "$ac_link") 2>&5
1915: ac_status=$?
1916: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1918: { { case "(($ac_try" in
1919: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1920: *) ac_try_echo=$ac_try;;
1921: esac
1922: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923: $as_echo "$ac_try_echo"; } >&5
1924: (eval "$ac_try") 2>&5
1925: ac_status=$?
1926: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927: test $ac_status = 0; }; }; then :
1928: ac_retval=0
1929: else
1930: $as_echo "$as_me: program exited with status $ac_status" >&5
1931: $as_echo "$as_me: failed program was:" >&5
1932: sed 's/^/| /' conftest.$ac_ext >&5
1933:
1934: ac_retval=$ac_status
1935: fi
1936: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938: as_fn_set_status $ac_retval
1939:
1940: } # ac_fn_c_try_run
1941:
1942: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1943: # -------------------------------------------
1944: # Tests whether TYPE exists after having included INCLUDES, setting cache
1945: # variable VAR accordingly.
1946: ac_fn_c_check_type ()
1947: {
1948: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950: $as_echo_n "checking for $2... " >&6; }
1951: if eval \${$3+:} false; then :
1952: $as_echo_n "(cached) " >&6
1953: else
1954: eval "$3=no"
1955: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956: /* end confdefs.h. */
1957: $4
1958: int
1959: main ()
1960: {
1961: if (sizeof ($2))
1962: return 0;
1963: ;
1964: return 0;
1965: }
1966: _ACEOF
1967: if ac_fn_c_try_compile "$LINENO"; then :
1968: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969: /* end confdefs.h. */
1970: $4
1971: int
1972: main ()
1973: {
1974: if (sizeof (($2)))
1975: return 0;
1976: ;
1977: return 0;
1978: }
1979: _ACEOF
1980: if ac_fn_c_try_compile "$LINENO"; then :
1981:
1982: else
1983: eval "$3=yes"
1984: fi
1985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986: fi
1987: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988: fi
1989: eval ac_res=\$$3
1990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991: $as_echo "$ac_res" >&6; }
1992: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993:
1994: } # ac_fn_c_check_type
1995:
1996: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1997: # --------------------------------------------
1998: # Tries to find the compile-time value of EXPR in a program that includes
1999: # INCLUDES, setting VAR accordingly. Returns whether the value could be
2000: # computed
2001: ac_fn_c_compute_int ()
2002: {
2003: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004: if test "$cross_compiling" = yes; then
2005: # Depending upon the size, compute the lo and hi bounds.
2006: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007: /* end confdefs.h. */
2008: $4
2009: int
2010: main ()
2011: {
2012: static int test_array [1 - 2 * !(($2) >= 0)];
2013: test_array [0] = 0
2014:
2015: ;
2016: return 0;
2017: }
2018: _ACEOF
2019: if ac_fn_c_try_compile "$LINENO"; then :
2020: ac_lo=0 ac_mid=0
2021: while :; do
2022: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023: /* end confdefs.h. */
2024: $4
2025: int
2026: main ()
2027: {
2028: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2029: test_array [0] = 0
2030:
2031: ;
2032: return 0;
2033: }
2034: _ACEOF
2035: if ac_fn_c_try_compile "$LINENO"; then :
2036: ac_hi=$ac_mid; break
2037: else
2038: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2039: if test $ac_lo -le $ac_mid; then
2040: ac_lo= ac_hi=
2041: break
2042: fi
2043: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2044: fi
2045: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046: done
2047: else
2048: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049: /* end confdefs.h. */
2050: $4
2051: int
2052: main ()
2053: {
2054: static int test_array [1 - 2 * !(($2) < 0)];
2055: test_array [0] = 0
2056:
2057: ;
2058: return 0;
2059: }
2060: _ACEOF
2061: if ac_fn_c_try_compile "$LINENO"; then :
2062: ac_hi=-1 ac_mid=-1
2063: while :; do
2064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065: /* end confdefs.h. */
2066: $4
2067: int
2068: main ()
2069: {
2070: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2071: test_array [0] = 0
2072:
2073: ;
2074: return 0;
2075: }
2076: _ACEOF
2077: if ac_fn_c_try_compile "$LINENO"; then :
2078: ac_lo=$ac_mid; break
2079: else
2080: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2081: if test $ac_mid -le $ac_hi; then
2082: ac_lo= ac_hi=
2083: break
2084: fi
2085: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2086: fi
2087: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088: done
2089: else
2090: ac_lo= ac_hi=
2091: fi
2092: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093: fi
2094: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095: # Binary search between lo and hi bounds.
2096: while test "x$ac_lo" != "x$ac_hi"; do
2097: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2098: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099: /* end confdefs.h. */
2100: $4
2101: int
2102: main ()
2103: {
2104: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2105: test_array [0] = 0
2106:
2107: ;
2108: return 0;
2109: }
2110: _ACEOF
2111: if ac_fn_c_try_compile "$LINENO"; then :
2112: ac_hi=$ac_mid
2113: else
2114: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2115: fi
2116: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117: done
2118: case $ac_lo in #((
2119: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2120: '') ac_retval=1 ;;
2121: esac
2122: else
2123: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124: /* end confdefs.h. */
2125: $4
2126: static long int longval () { return $2; }
2127: static unsigned long int ulongval () { return $2; }
2128: #include <stdio.h>
2129: #include <stdlib.h>
2130: int
2131: main ()
2132: {
2133:
2134: FILE *f = fopen ("conftest.val", "w");
2135: if (! f)
2136: return 1;
2137: if (($2) < 0)
2138: {
2139: long int i = longval ();
2140: if (i != ($2))
2141: return 1;
2142: fprintf (f, "%ld", i);
2143: }
2144: else
2145: {
2146: unsigned long int i = ulongval ();
2147: if (i != ($2))
2148: return 1;
2149: fprintf (f, "%lu", i);
2150: }
2151: /* Do not output a trailing newline, as this causes \r\n confusion
2152: on some platforms. */
2153: return ferror (f) || fclose (f) != 0;
2154:
2155: ;
2156: return 0;
2157: }
2158: _ACEOF
2159: if ac_fn_c_try_run "$LINENO"; then :
2160: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2161: else
2162: ac_retval=1
2163: fi
2164: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2165: conftest.$ac_objext conftest.beam conftest.$ac_ext
2166: rm -f conftest.val
2167:
2168: fi
2169: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170: as_fn_set_status $ac_retval
2171:
2172: } # ac_fn_c_compute_int
2173:
2174: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2175: # -------------------------------------------------------
2176: # Tests whether HEADER exists and can be compiled using the include files in
2177: # INCLUDES, setting the cache variable VAR accordingly.
2178: ac_fn_c_check_header_compile ()
2179: {
2180: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182: $as_echo_n "checking for $2... " >&6; }
2183: if eval \${$3+:} false; then :
2184: $as_echo_n "(cached) " >&6
2185: else
2186: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187: /* end confdefs.h. */
2188: $4
2189: #include <$2>
2190: _ACEOF
2191: if ac_fn_c_try_compile "$LINENO"; then :
2192: eval "$3=yes"
2193: else
2194: eval "$3=no"
2195: fi
2196: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2197: fi
2198: eval ac_res=\$$3
2199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200: $as_echo "$ac_res" >&6; }
2201: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202:
2203: } # ac_fn_c_check_header_compile
2204:
2205: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2206: # -------------------------------------------------------
2207: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2208: # the include files in INCLUDES and setting the cache variable VAR
2209: # accordingly.
2210: ac_fn_c_check_header_mongrel ()
2211: {
2212: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213: if eval \${$3+:} false; then :
2214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2215: $as_echo_n "checking for $2... " >&6; }
2216: if eval \${$3+:} false; then :
2217: $as_echo_n "(cached) " >&6
2218: fi
2219: eval ac_res=\$$3
2220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221: $as_echo "$ac_res" >&6; }
2222: else
2223: # Is the header compilable?
2224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2225: $as_echo_n "checking $2 usability... " >&6; }
2226: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227: /* end confdefs.h. */
2228: $4
2229: #include <$2>
2230: _ACEOF
2231: if ac_fn_c_try_compile "$LINENO"; then :
2232: ac_header_compiler=yes
2233: else
2234: ac_header_compiler=no
2235: fi
2236: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2238: $as_echo "$ac_header_compiler" >&6; }
2239:
2240: # Is the header present?
2241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2242: $as_echo_n "checking $2 presence... " >&6; }
2243: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244: /* end confdefs.h. */
2245: #include <$2>
2246: _ACEOF
2247: if ac_fn_c_try_cpp "$LINENO"; then :
2248: ac_header_preproc=yes
2249: else
2250: ac_header_preproc=no
2251: fi
2252: rm -f conftest.err conftest.i conftest.$ac_ext
2253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2254: $as_echo "$ac_header_preproc" >&6; }
2255:
2256: # So? What about this header?
2257: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2258: yes:no: )
2259: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2260: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2261: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2262: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2263: ;;
2264: no:yes:* )
2265: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2266: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2267: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2268: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2269: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2270: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2271: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2272: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2273: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2274: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2275: ;;
2276: esac
2277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2278: $as_echo_n "checking for $2... " >&6; }
2279: if eval \${$3+:} false; then :
2280: $as_echo_n "(cached) " >&6
2281: else
2282: eval "$3=\$ac_header_compiler"
2283: fi
2284: eval ac_res=\$$3
2285: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286: $as_echo "$ac_res" >&6; }
2287: fi
2288: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289:
2290: } # ac_fn_c_check_header_mongrel
2291: cat >config.log <<_ACEOF
2292: This file contains any messages produced by compilers while
2293: running configure, to aid debugging if configure makes a mistake.
2294:
2295: It was created by rpl $as_me 4.1.4, which was
2296: generated by GNU Autoconf 2.68. Invocation command line was
2297:
2298: $ $0 $@
2299:
2300: _ACEOF
2301: exec 5>>config.log
2302: {
2303: cat <<_ASUNAME
2304: ## --------- ##
2305: ## Platform. ##
2306: ## --------- ##
2307:
2308: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2309: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2310: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2311: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2312: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2313:
2314: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2315: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2316:
2317: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2318: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2319: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2320: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2321: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2322: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2323: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2324:
2325: _ASUNAME
2326:
2327: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328: for as_dir in $PATH
2329: do
2330: IFS=$as_save_IFS
2331: test -z "$as_dir" && as_dir=.
2332: $as_echo "PATH: $as_dir"
2333: done
2334: IFS=$as_save_IFS
2335:
2336: } >&5
2337:
2338: cat >&5 <<_ACEOF
2339:
2340:
2341: ## ----------- ##
2342: ## Core tests. ##
2343: ## ----------- ##
2344:
2345: _ACEOF
2346:
2347:
2348: # Keep a trace of the command line.
2349: # Strip out --no-create and --no-recursion so they do not pile up.
2350: # Strip out --silent because we don't want to record it for future runs.
2351: # Also quote any args containing shell meta-characters.
2352: # Make two passes to allow for proper duplicate-argument suppression.
2353: ac_configure_args=
2354: ac_configure_args0=
2355: ac_configure_args1=
2356: ac_must_keep_next=false
2357: for ac_pass in 1 2
2358: do
2359: for ac_arg
2360: do
2361: case $ac_arg in
2362: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2363: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2364: | -silent | --silent | --silen | --sile | --sil)
2365: continue ;;
2366: *\'*)
2367: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2368: esac
2369: case $ac_pass in
2370: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2371: 2)
2372: as_fn_append ac_configure_args1 " '$ac_arg'"
2373: if test $ac_must_keep_next = true; then
2374: ac_must_keep_next=false # Got value, back to normal.
2375: else
2376: case $ac_arg in
2377: *=* | --config-cache | -C | -disable-* | --disable-* \
2378: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2379: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2380: | -with-* | --with-* | -without-* | --without-* | --x)
2381: case "$ac_configure_args0 " in
2382: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2383: esac
2384: ;;
2385: -* ) ac_must_keep_next=true ;;
2386: esac
2387: fi
2388: as_fn_append ac_configure_args " '$ac_arg'"
2389: ;;
2390: esac
2391: done
2392: done
2393: { ac_configure_args0=; unset ac_configure_args0;}
2394: { ac_configure_args1=; unset ac_configure_args1;}
2395:
2396: # When interrupted or exit'd, cleanup temporary files, and complete
2397: # config.log. We remove comments because anyway the quotes in there
2398: # would cause problems or look ugly.
2399: # WARNING: Use '\'' to represent an apostrophe within the trap.
2400: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2401: trap 'exit_status=$?
2402: # Save into config.log some information that might help in debugging.
2403: {
2404: echo
2405:
2406: $as_echo "## ---------------- ##
2407: ## Cache variables. ##
2408: ## ---------------- ##"
2409: echo
2410: # The following way of writing the cache mishandles newlines in values,
2411: (
2412: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2413: eval ac_val=\$$ac_var
2414: case $ac_val in #(
2415: *${as_nl}*)
2416: case $ac_var in #(
2417: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2418: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2419: esac
2420: case $ac_var in #(
2421: _ | IFS | as_nl) ;; #(
2422: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2423: *) { eval $ac_var=; unset $ac_var;} ;;
2424: esac ;;
2425: esac
2426: done
2427: (set) 2>&1 |
2428: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2429: *${as_nl}ac_space=\ *)
2430: sed -n \
2431: "s/'\''/'\''\\\\'\'''\''/g;
2432: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2433: ;; #(
2434: *)
2435: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2436: ;;
2437: esac |
2438: sort
2439: )
2440: echo
2441:
2442: $as_echo "## ----------------- ##
2443: ## Output variables. ##
2444: ## ----------------- ##"
2445: echo
2446: for ac_var in $ac_subst_vars
2447: do
2448: eval ac_val=\$$ac_var
2449: case $ac_val in
2450: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2451: esac
2452: $as_echo "$ac_var='\''$ac_val'\''"
2453: done | sort
2454: echo
2455:
2456: if test -n "$ac_subst_files"; then
2457: $as_echo "## ------------------- ##
2458: ## File substitutions. ##
2459: ## ------------------- ##"
2460: echo
2461: for ac_var in $ac_subst_files
2462: do
2463: eval ac_val=\$$ac_var
2464: case $ac_val in
2465: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2466: esac
2467: $as_echo "$ac_var='\''$ac_val'\''"
2468: done | sort
2469: echo
2470: fi
2471:
2472: if test -s confdefs.h; then
2473: $as_echo "## ----------- ##
2474: ## confdefs.h. ##
2475: ## ----------- ##"
2476: echo
2477: cat confdefs.h
2478: echo
2479: fi
2480: test "$ac_signal" != 0 &&
2481: $as_echo "$as_me: caught signal $ac_signal"
2482: $as_echo "$as_me: exit $exit_status"
2483: } >&5
2484: rm -f core *.core core.conftest.* &&
2485: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2486: exit $exit_status
2487: ' 0
2488: for ac_signal in 1 2 13 15; do
2489: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2490: done
2491: ac_signal=0
2492:
2493: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2494: rm -f -r conftest* confdefs.h
2495:
2496: $as_echo "/* confdefs.h */" > confdefs.h
2497:
2498: # Predefined preprocessor variables.
2499:
2500: cat >>confdefs.h <<_ACEOF
2501: #define PACKAGE_NAME "$PACKAGE_NAME"
2502: _ACEOF
2503:
2504: cat >>confdefs.h <<_ACEOF
2505: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2506: _ACEOF
2507:
2508: cat >>confdefs.h <<_ACEOF
2509: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2510: _ACEOF
2511:
2512: cat >>confdefs.h <<_ACEOF
2513: #define PACKAGE_STRING "$PACKAGE_STRING"
2514: _ACEOF
2515:
2516: cat >>confdefs.h <<_ACEOF
2517: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2518: _ACEOF
2519:
2520: cat >>confdefs.h <<_ACEOF
2521: #define PACKAGE_URL "$PACKAGE_URL"
2522: _ACEOF
2523:
2524:
2525: # Let the site file select an alternate cache file if it wants to.
2526: # Prefer an explicitly selected file to automatically selected ones.
2527: ac_site_file1=NONE
2528: ac_site_file2=NONE
2529: if test -n "$CONFIG_SITE"; then
2530: # We do not want a PATH search for config.site.
2531: case $CONFIG_SITE in #((
2532: -*) ac_site_file1=./$CONFIG_SITE;;
2533: */*) ac_site_file1=$CONFIG_SITE;;
2534: *) ac_site_file1=./$CONFIG_SITE;;
2535: esac
2536: elif test "x$prefix" != xNONE; then
2537: ac_site_file1=$prefix/share/config.site
2538: ac_site_file2=$prefix/etc/config.site
2539: else
2540: ac_site_file1=$ac_default_prefix/share/config.site
2541: ac_site_file2=$ac_default_prefix/etc/config.site
2542: fi
2543: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2544: do
2545: test "x$ac_site_file" = xNONE && continue
2546: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2547: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2548: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2549: sed 's/^/| /' "$ac_site_file" >&5
2550: . "$ac_site_file" \
2551: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2552: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2553: as_fn_error $? "failed to load site script $ac_site_file
2554: See \`config.log' for more details" "$LINENO" 5; }
2555: fi
2556: done
2557:
2558: if test -r "$cache_file"; then
2559: # Some versions of bash will fail to source /dev/null (special files
2560: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2561: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2562: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2563: $as_echo "$as_me: loading cache $cache_file" >&6;}
2564: case $cache_file in
2565: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2566: *) . "./$cache_file";;
2567: esac
2568: fi
2569: else
2570: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2571: $as_echo "$as_me: creating cache $cache_file" >&6;}
2572: >$cache_file
2573: fi
2574:
2575: # Check that the precious variables saved in the cache have kept the same
2576: # value.
2577: ac_cache_corrupted=false
2578: for ac_var in $ac_precious_vars; do
2579: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2580: eval ac_new_set=\$ac_env_${ac_var}_set
2581: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2582: eval ac_new_val=\$ac_env_${ac_var}_value
2583: case $ac_old_set,$ac_new_set in
2584: set,)
2585: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2586: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2587: ac_cache_corrupted=: ;;
2588: ,set)
2589: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2590: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2591: ac_cache_corrupted=: ;;
2592: ,);;
2593: *)
2594: if test "x$ac_old_val" != "x$ac_new_val"; then
2595: # differences in whitespace do not lead to failure.
2596: ac_old_val_w=`echo x $ac_old_val`
2597: ac_new_val_w=`echo x $ac_new_val`
2598: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2599: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2600: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2601: ac_cache_corrupted=:
2602: else
2603: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2604: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2605: eval $ac_var=\$ac_old_val
2606: fi
2607: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2608: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2609: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2610: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2611: fi;;
2612: esac
2613: # Pass precious variables to config.status.
2614: if test "$ac_new_set" = set; then
2615: case $ac_new_val in
2616: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2617: *) ac_arg=$ac_var=$ac_new_val ;;
2618: esac
2619: case " $ac_configure_args " in
2620: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2621: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2622: esac
2623: fi
2624: done
2625: if $ac_cache_corrupted; then
2626: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2627: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2628: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2629: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2630: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2631: fi
2632: ## -------------------- ##
2633: ## Main body of script. ##
2634: ## -------------------- ##
2635:
2636: ac_ext=c
2637: ac_cpp='$CPP $CPPFLAGS'
2638: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641:
2642:
2643: ac_aux_dir=
2644: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2645: if test -f "$ac_dir/install-sh"; then
2646: ac_aux_dir=$ac_dir
2647: ac_install_sh="$ac_aux_dir/install-sh -c"
2648: break
2649: elif test -f "$ac_dir/install.sh"; then
2650: ac_aux_dir=$ac_dir
2651: ac_install_sh="$ac_aux_dir/install.sh -c"
2652: break
2653: elif test -f "$ac_dir/shtool"; then
2654: ac_aux_dir=$ac_dir
2655: ac_install_sh="$ac_aux_dir/shtool install -c"
2656: break
2657: fi
2658: done
2659: if test -z "$ac_aux_dir"; then
2660: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2661: fi
2662:
2663: # These three variables are undocumented and unsupported,
2664: # and are intended to be withdrawn in a future Autoconf release.
2665: # They can cause serious problems if a builder's source tree is in a directory
2666: # whose full name contains unusual characters.
2667: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2668: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2669: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2670:
2671:
2672: # Make sure we can run config.sub.
2673: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2674: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2675:
2676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2677: $as_echo_n "checking build system type... " >&6; }
2678: if ${ac_cv_build+:} false; then :
2679: $as_echo_n "(cached) " >&6
2680: else
2681: ac_build_alias=$build_alias
2682: test "x$ac_build_alias" = x &&
2683: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2684: test "x$ac_build_alias" = x &&
2685: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2686: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2687: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2688:
2689: fi
2690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2691: $as_echo "$ac_cv_build" >&6; }
2692: case $ac_cv_build in
2693: *-*-*) ;;
2694: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2695: esac
2696: build=$ac_cv_build
2697: ac_save_IFS=$IFS; IFS='-'
2698: set x $ac_cv_build
2699: shift
2700: build_cpu=$1
2701: build_vendor=$2
2702: shift; shift
2703: # Remember, the first character of IFS is used to create $*,
2704: # except with old shells:
2705: build_os=$*
2706: IFS=$ac_save_IFS
2707: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2708:
2709:
2710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2711: $as_echo_n "checking host system type... " >&6; }
2712: if ${ac_cv_host+:} false; then :
2713: $as_echo_n "(cached) " >&6
2714: else
2715: if test "x$host_alias" = x; then
2716: ac_cv_host=$ac_cv_build
2717: else
2718: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2719: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2720: fi
2721:
2722: fi
2723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2724: $as_echo "$ac_cv_host" >&6; }
2725: case $ac_cv_host in
2726: *-*-*) ;;
2727: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2728: esac
2729: host=$ac_cv_host
2730: ac_save_IFS=$IFS; IFS='-'
2731: set x $ac_cv_host
2732: shift
2733: host_cpu=$1
2734: host_vendor=$2
2735: shift; shift
2736: # Remember, the first character of IFS is used to create $*,
2737: # except with old shells:
2738: host_os=$*
2739: IFS=$ac_save_IFS
2740: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2741:
2742:
2743: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2744: $as_echo_n "checking target system type... " >&6; }
2745: if ${ac_cv_target+:} false; then :
2746: $as_echo_n "(cached) " >&6
2747: else
2748: if test "x$target_alias" = x; then
2749: ac_cv_target=$ac_cv_host
2750: else
2751: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2752: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2753: fi
2754:
2755: fi
2756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2757: $as_echo "$ac_cv_target" >&6; }
2758: case $ac_cv_target in
2759: *-*-*) ;;
2760: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2761: esac
2762: target=$ac_cv_target
2763: ac_save_IFS=$IFS; IFS='-'
2764: set x $ac_cv_target
2765: shift
2766: target_cpu=$1
2767: target_vendor=$2
2768: shift; shift
2769: # Remember, the first character of IFS is used to create $*,
2770: # except with old shells:
2771: target_os=$*
2772: IFS=$ac_save_IFS
2773: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2774:
2775:
2776: # The aliases save the names the user supplied, while $host etc.
2777: # will get canonicalized.
2778: test -n "$target_alias" &&
2779: test "$program_prefix$program_suffix$program_transform_name" = \
2780: NONENONEs,x,x, &&
2781: program_prefix=${target_alias}-
2782:
2783: am__api_version='1.11'
2784:
2785: # Find a good install program. We prefer a C program (faster),
2786: # so one script is as good as another. But avoid the broken or
2787: # incompatible versions:
2788: # SysV /etc/install, /usr/sbin/install
2789: # SunOS /usr/etc/install
2790: # IRIX /sbin/install
2791: # AIX /bin/install
2792: # AmigaOS /C/install, which installs bootblocks on floppy discs
2793: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2794: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2795: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2796: # OS/2's system install, which has a completely different semantic
2797: # ./install, which can be erroneously created by make from ./install.sh.
2798: # Reject install programs that cannot install multiple files.
2799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2800: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2801: if test -z "$INSTALL"; then
2802: if ${ac_cv_path_install+:} false; then :
2803: $as_echo_n "(cached) " >&6
2804: else
2805: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806: for as_dir in $PATH
2807: do
2808: IFS=$as_save_IFS
2809: test -z "$as_dir" && as_dir=.
2810: # Account for people who put trailing slashes in PATH elements.
2811: case $as_dir/ in #((
2812: ./ | .// | /[cC]/* | \
2813: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2814: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2815: /usr/ucb/* ) ;;
2816: *)
2817: # OSF1 and SCO ODT 3.0 have their own names for install.
2818: # Don't use installbsd from OSF since it installs stuff as root
2819: # by default.
2820: for ac_prog in ginstall scoinst install; do
2821: for ac_exec_ext in '' $ac_executable_extensions; do
2822: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2823: if test $ac_prog = install &&
2824: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2825: # AIX install. It has an incompatible calling convention.
2826: :
2827: elif test $ac_prog = install &&
2828: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2829: # program-specific install script used by HP pwplus--don't use.
2830: :
2831: else
2832: rm -rf conftest.one conftest.two conftest.dir
2833: echo one > conftest.one
2834: echo two > conftest.two
2835: mkdir conftest.dir
2836: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2837: test -s conftest.one && test -s conftest.two &&
2838: test -s conftest.dir/conftest.one &&
2839: test -s conftest.dir/conftest.two
2840: then
2841: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2842: break 3
2843: fi
2844: fi
2845: fi
2846: done
2847: done
2848: ;;
2849: esac
2850:
2851: done
2852: IFS=$as_save_IFS
2853:
2854: rm -rf conftest.one conftest.two conftest.dir
2855:
2856: fi
2857: if test "${ac_cv_path_install+set}" = set; then
2858: INSTALL=$ac_cv_path_install
2859: else
2860: # As a last resort, use the slow shell script. Don't cache a
2861: # value for INSTALL within a source directory, because that will
2862: # break other packages using the cache if that directory is
2863: # removed, or if the value is a relative name.
2864: INSTALL=$ac_install_sh
2865: fi
2866: fi
2867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2868: $as_echo "$INSTALL" >&6; }
2869:
2870: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2871: # It thinks the first close brace ends the variable substitution.
2872: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2873:
2874: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2875:
2876: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2877:
2878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2879: $as_echo_n "checking whether build environment is sane... " >&6; }
2880: # Just in case
2881: sleep 1
2882: echo timestamp > conftest.file
2883: # Reject unsafe characters in $srcdir or the absolute working directory
2884: # name. Accept space and tab only in the latter.
2885: am_lf='
2886: '
2887: case `pwd` in
2888: *[\\\"\#\$\&\'\`$am_lf]*)
2889: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2890: esac
2891: case $srcdir in
2892: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2893: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2894: esac
2895:
2896: # Do `set' in a subshell so we don't clobber the current shell's
2897: # arguments. Must try -L first in case configure is actually a
2898: # symlink; some systems play weird games with the mod time of symlinks
2899: # (eg FreeBSD returns the mod time of the symlink's containing
2900: # directory).
2901: if (
2902: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2903: if test "$*" = "X"; then
2904: # -L didn't work.
2905: set X `ls -t "$srcdir/configure" conftest.file`
2906: fi
2907: rm -f conftest.file
2908: if test "$*" != "X $srcdir/configure conftest.file" \
2909: && test "$*" != "X conftest.file $srcdir/configure"; then
2910:
2911: # If neither matched, then we have a broken ls. This can happen
2912: # if, for instance, CONFIG_SHELL is bash and it inherits a
2913: # broken ls alias from the environment. This has actually
2914: # happened. Such a system could not be considered "sane".
2915: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2916: alias in your environment" "$LINENO" 5
2917: fi
2918:
2919: test "$2" = conftest.file
2920: )
2921: then
2922: # Ok.
2923: :
2924: else
2925: as_fn_error $? "newly created file is older than distributed files!
2926: Check your system clock" "$LINENO" 5
2927: fi
2928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2929: $as_echo "yes" >&6; }
2930: test "$program_prefix" != NONE &&
2931: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2932: # Use a double $ so make ignores it.
2933: test "$program_suffix" != NONE &&
2934: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2935: # Double any \ or $.
2936: # By default was `s,x,x', remove it if useless.
2937: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2938: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2939:
2940: # expand $ac_aux_dir to an absolute path
2941: am_aux_dir=`cd $ac_aux_dir && pwd`
2942:
2943: if test x"${MISSING+set}" != xset; then
2944: case $am_aux_dir in
2945: *\ * | *\ *)
2946: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2947: *)
2948: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2949: esac
2950: fi
2951: # Use eval to expand $SHELL
2952: if eval "$MISSING --run true"; then
2953: am_missing_run="$MISSING --run "
2954: else
2955: am_missing_run=
2956: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2957: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2958: fi
2959:
2960: if test x"${install_sh}" != xset; then
2961: case $am_aux_dir in
2962: *\ * | *\ *)
2963: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2964: *)
2965: install_sh="\${SHELL} $am_aux_dir/install-sh"
2966: esac
2967: fi
2968:
2969: # Installed binaries are usually stripped using `strip' when the user
2970: # run `make install-strip'. However `strip' might not be the right
2971: # tool to use in cross-compilation environments, therefore Automake
2972: # will honor the `STRIP' environment variable to overrule this program.
2973: if test "$cross_compiling" != no; then
2974: if test -n "$ac_tool_prefix"; then
2975: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2976: set dummy ${ac_tool_prefix}strip; ac_word=$2
2977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978: $as_echo_n "checking for $ac_word... " >&6; }
2979: if ${ac_cv_prog_STRIP+:} false; then :
2980: $as_echo_n "(cached) " >&6
2981: else
2982: if test -n "$STRIP"; then
2983: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2984: else
2985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986: for as_dir in $PATH
2987: do
2988: IFS=$as_save_IFS
2989: test -z "$as_dir" && as_dir=.
2990: for ac_exec_ext in '' $ac_executable_extensions; do
2991: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2993: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994: break 2
2995: fi
2996: done
2997: done
2998: IFS=$as_save_IFS
2999:
3000: fi
3001: fi
3002: STRIP=$ac_cv_prog_STRIP
3003: if test -n "$STRIP"; then
3004: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3005: $as_echo "$STRIP" >&6; }
3006: else
3007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008: $as_echo "no" >&6; }
3009: fi
3010:
3011:
3012: fi
3013: if test -z "$ac_cv_prog_STRIP"; then
3014: ac_ct_STRIP=$STRIP
3015: # Extract the first word of "strip", so it can be a program name with args.
3016: set dummy strip; ac_word=$2
3017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018: $as_echo_n "checking for $ac_word... " >&6; }
3019: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3020: $as_echo_n "(cached) " >&6
3021: else
3022: if test -n "$ac_ct_STRIP"; then
3023: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3024: else
3025: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026: for as_dir in $PATH
3027: do
3028: IFS=$as_save_IFS
3029: test -z "$as_dir" && as_dir=.
3030: for ac_exec_ext in '' $ac_executable_extensions; do
3031: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032: ac_cv_prog_ac_ct_STRIP="strip"
3033: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034: break 2
3035: fi
3036: done
3037: done
3038: IFS=$as_save_IFS
3039:
3040: fi
3041: fi
3042: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3043: if test -n "$ac_ct_STRIP"; then
3044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3045: $as_echo "$ac_ct_STRIP" >&6; }
3046: else
3047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048: $as_echo "no" >&6; }
3049: fi
3050:
3051: if test "x$ac_ct_STRIP" = x; then
3052: STRIP=":"
3053: else
3054: case $cross_compiling:$ac_tool_warned in
3055: yes:)
3056: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058: ac_tool_warned=yes ;;
3059: esac
3060: STRIP=$ac_ct_STRIP
3061: fi
3062: else
3063: STRIP="$ac_cv_prog_STRIP"
3064: fi
3065:
3066: fi
3067: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3068:
3069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3070: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3071: if test -z "$MKDIR_P"; then
3072: if ${ac_cv_path_mkdir+:} false; then :
3073: $as_echo_n "(cached) " >&6
3074: else
3075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3077: do
3078: IFS=$as_save_IFS
3079: test -z "$as_dir" && as_dir=.
3080: for ac_prog in mkdir gmkdir; do
3081: for ac_exec_ext in '' $ac_executable_extensions; do
3082: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3083: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3084: 'mkdir (GNU coreutils) '* | \
3085: 'mkdir (coreutils) '* | \
3086: 'mkdir (fileutils) '4.1*)
3087: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3088: break 3;;
3089: esac
3090: done
3091: done
3092: done
3093: IFS=$as_save_IFS
3094:
3095: fi
3096:
3097: test -d ./--version && rmdir ./--version
3098: if test "${ac_cv_path_mkdir+set}" = set; then
3099: MKDIR_P="$ac_cv_path_mkdir -p"
3100: else
3101: # As a last resort, use the slow shell script. Don't cache a
3102: # value for MKDIR_P within a source directory, because that will
3103: # break other packages using the cache if that directory is
3104: # removed, or if the value is a relative name.
3105: MKDIR_P="$ac_install_sh -d"
3106: fi
3107: fi
3108: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3109: $as_echo "$MKDIR_P" >&6; }
3110:
3111: mkdir_p="$MKDIR_P"
3112: case $mkdir_p in
3113: [\\/$]* | ?:[\\/]*) ;;
3114: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3115: esac
3116:
3117: for ac_prog in gawk mawk nawk awk
3118: do
3119: # Extract the first word of "$ac_prog", so it can be a program name with args.
3120: set dummy $ac_prog; ac_word=$2
3121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122: $as_echo_n "checking for $ac_word... " >&6; }
3123: if ${ac_cv_prog_AWK+:} false; then :
3124: $as_echo_n "(cached) " >&6
3125: else
3126: if test -n "$AWK"; then
3127: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3128: else
3129: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130: for as_dir in $PATH
3131: do
3132: IFS=$as_save_IFS
3133: test -z "$as_dir" && as_dir=.
3134: for ac_exec_ext in '' $ac_executable_extensions; do
3135: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136: ac_cv_prog_AWK="$ac_prog"
3137: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138: break 2
3139: fi
3140: done
3141: done
3142: IFS=$as_save_IFS
3143:
3144: fi
3145: fi
3146: AWK=$ac_cv_prog_AWK
3147: if test -n "$AWK"; then
3148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3149: $as_echo "$AWK" >&6; }
3150: else
3151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152: $as_echo "no" >&6; }
3153: fi
3154:
3155:
3156: test -n "$AWK" && break
3157: done
3158:
3159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3160: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3161: set x ${MAKE-make}
3162: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3163: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3164: $as_echo_n "(cached) " >&6
3165: else
3166: cat >conftest.make <<\_ACEOF
3167: SHELL = /bin/sh
3168: all:
3169: @echo '@@@%%%=$(MAKE)=@@@%%%'
3170: _ACEOF
3171: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3172: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3173: *@@@%%%=?*=@@@%%%*)
3174: eval ac_cv_prog_make_${ac_make}_set=yes;;
3175: *)
3176: eval ac_cv_prog_make_${ac_make}_set=no;;
3177: esac
3178: rm -f conftest.make
3179: fi
3180: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3182: $as_echo "yes" >&6; }
3183: SET_MAKE=
3184: else
3185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186: $as_echo "no" >&6; }
3187: SET_MAKE="MAKE=${MAKE-make}"
3188: fi
3189:
3190: rm -rf .tst 2>/dev/null
3191: mkdir .tst 2>/dev/null
3192: if test -d .tst; then
3193: am__leading_dot=.
3194: else
3195: am__leading_dot=_
3196: fi
3197: rmdir .tst 2>/dev/null
3198:
3199: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3200: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3201: # is not polluted with repeated "-I."
3202: am__isrc=' -I$(srcdir)'
3203: # test to see if srcdir already configured
3204: if test -f $srcdir/config.status; then
3205: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3206: fi
3207: fi
3208:
3209: # test whether we have cygpath
3210: if test -z "$CYGPATH_W"; then
3211: if (cygpath --version) >/dev/null 2>/dev/null; then
3212: CYGPATH_W='cygpath -w'
3213: else
3214: CYGPATH_W=echo
3215: fi
3216: fi
3217:
3218:
3219: # Define the identity of the package.
3220: PACKAGE='rpl'
3221: VERSION='4.1.4'
3222:
3223:
3224: cat >>confdefs.h <<_ACEOF
3225: #define PACKAGE "$PACKAGE"
3226: _ACEOF
3227:
3228:
3229: cat >>confdefs.h <<_ACEOF
3230: #define VERSION "$VERSION"
3231: _ACEOF
3232:
3233: # Some tools Automake needs.
3234:
3235: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3236:
3237:
3238: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3239:
3240:
3241: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3242:
3243:
3244: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3245:
3246:
3247: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3248:
3249: # We need awk for the "check" target. The system "awk" is bad on
3250: # some platforms.
3251: # Always define AMTAR for backward compatibility.
3252:
3253: AMTAR=${AMTAR-"${am_missing_run}tar"}
3254:
3255: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3256:
3257:
3258:
3259:
3260:
3261:
3262: ac_config_headers="$ac_config_headers rplconfig.h"
3263:
3264:
3265: NCURSES=ncurses-5.9
3266: READLINE=readline-6.2
3267: UNITS=units-1.88
3268: GSL=gsl-1.15
3269: GPP=gpp-3.0
3270: GNUPLOT=gnuplot-4.4.3
3271: FILE=file-5.03
3272: ICONV=libiconv-1.13.1
3273: SQLITE=sqlite-3.7.8
3274: OPENSSL=openssl-1.0.0e
3275: OPENMOTIF=openmotif-2.3.3
3276: LIBXPM=libXpm-3.5.9
3277: SIGSEGV=libsigsegv-2.6
3278:
3279: GMP=gmp-5.0.2
3280: MPFR=mpfr-3.0.1
3281: NTL=ntl-5.5.2
3282: COCOA=CoCoALib-0.9943
3283: PARI=pari-2.5.0
3284: GIAC=giac-0.9.3
3285:
3286: ac_ext=c
3287: ac_cpp='$CPP $CPPFLAGS'
3288: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3289: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3290: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3291: if test -n "$ac_tool_prefix"; then
3292: for ac_prog in gcc
3293: do
3294: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3295: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3296: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297: $as_echo_n "checking for $ac_word... " >&6; }
3298: if ${ac_cv_prog_CC+:} false; then :
3299: $as_echo_n "(cached) " >&6
3300: else
3301: if test -n "$CC"; then
3302: ac_cv_prog_CC="$CC" # Let the user override the test.
3303: else
3304: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305: for as_dir in $PATH
3306: do
3307: IFS=$as_save_IFS
3308: test -z "$as_dir" && as_dir=.
3309: for ac_exec_ext in '' $ac_executable_extensions; do
3310: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3312: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313: break 2
3314: fi
3315: done
3316: done
3317: IFS=$as_save_IFS
3318:
3319: fi
3320: fi
3321: CC=$ac_cv_prog_CC
3322: if test -n "$CC"; then
3323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324: $as_echo "$CC" >&6; }
3325: else
3326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327: $as_echo "no" >&6; }
3328: fi
3329:
3330:
3331: test -n "$CC" && break
3332: done
3333: fi
3334: if test -z "$CC"; then
3335: ac_ct_CC=$CC
3336: for ac_prog in gcc
3337: do
3338: # Extract the first word of "$ac_prog", so it can be a program name with args.
3339: set dummy $ac_prog; ac_word=$2
3340: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341: $as_echo_n "checking for $ac_word... " >&6; }
3342: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3343: $as_echo_n "(cached) " >&6
3344: else
3345: if test -n "$ac_ct_CC"; then
3346: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3347: else
3348: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349: for as_dir in $PATH
3350: do
3351: IFS=$as_save_IFS
3352: test -z "$as_dir" && as_dir=.
3353: for ac_exec_ext in '' $ac_executable_extensions; do
3354: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3355: ac_cv_prog_ac_ct_CC="$ac_prog"
3356: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357: break 2
3358: fi
3359: done
3360: done
3361: IFS=$as_save_IFS
3362:
3363: fi
3364: fi
3365: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3366: if test -n "$ac_ct_CC"; then
3367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3368: $as_echo "$ac_ct_CC" >&6; }
3369: else
3370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371: $as_echo "no" >&6; }
3372: fi
3373:
3374:
3375: test -n "$ac_ct_CC" && break
3376: done
3377:
3378: if test "x$ac_ct_CC" = x; then
3379: CC=""
3380: else
3381: case $cross_compiling:$ac_tool_warned in
3382: yes:)
3383: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3384: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3385: ac_tool_warned=yes ;;
3386: esac
3387: CC=$ac_ct_CC
3388: fi
3389: fi
3390:
3391:
3392: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394: as_fn_error $? "no acceptable C compiler found in \$PATH
3395: See \`config.log' for more details" "$LINENO" 5; }
3396:
3397: # Provide some information about the compiler.
3398: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3399: set X $ac_compile
3400: ac_compiler=$2
3401: for ac_option in --version -v -V -qversion; do
3402: { { ac_try="$ac_compiler $ac_option >&5"
3403: case "(($ac_try" in
3404: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405: *) ac_try_echo=$ac_try;;
3406: esac
3407: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408: $as_echo "$ac_try_echo"; } >&5
3409: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3410: ac_status=$?
3411: if test -s conftest.err; then
3412: sed '10a\
3413: ... rest of stderr output deleted ...
3414: 10q' conftest.err >conftest.er1
3415: cat conftest.er1 >&5
3416: fi
3417: rm -f conftest.er1 conftest.err
3418: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419: test $ac_status = 0; }
3420: done
3421:
3422: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423: /* end confdefs.h. */
3424:
3425: int
3426: main ()
3427: {
3428:
3429: ;
3430: return 0;
3431: }
3432: _ACEOF
3433: ac_clean_files_save=$ac_clean_files
3434: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3435: # Try to create an executable without -o first, disregard a.out.
3436: # It will help us diagnose broken compilers, and finding out an intuition
3437: # of exeext.
3438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3439: $as_echo_n "checking whether the C compiler works... " >&6; }
3440: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3441:
3442: # The possible output files:
3443: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3444:
3445: ac_rmfiles=
3446: for ac_file in $ac_files
3447: do
3448: case $ac_file in
3449: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3450: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3451: esac
3452: done
3453: rm -f $ac_rmfiles
3454:
3455: if { { ac_try="$ac_link_default"
3456: case "(($ac_try" in
3457: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458: *) ac_try_echo=$ac_try;;
3459: esac
3460: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461: $as_echo "$ac_try_echo"; } >&5
3462: (eval "$ac_link_default") 2>&5
3463: ac_status=$?
3464: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465: test $ac_status = 0; }; then :
3466: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3467: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3468: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3469: # so that the user can short-circuit this test for compilers unknown to
3470: # Autoconf.
3471: for ac_file in $ac_files ''
3472: do
3473: test -f "$ac_file" || continue
3474: case $ac_file in
3475: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3476: ;;
3477: [ab].out )
3478: # We found the default executable, but exeext='' is most
3479: # certainly right.
3480: break;;
3481: *.* )
3482: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3483: then :; else
3484: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3485: fi
3486: # We set ac_cv_exeext here because the later test for it is not
3487: # safe: cross compilers may not add the suffix if given an `-o'
3488: # argument, so we may need to know it at that point already.
3489: # Even if this section looks crufty: it has the advantage of
3490: # actually working.
3491: break;;
3492: * )
3493: break;;
3494: esac
3495: done
3496: test "$ac_cv_exeext" = no && ac_cv_exeext=
3497:
3498: else
3499: ac_file=''
3500: fi
3501: if test -z "$ac_file"; then :
3502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503: $as_echo "no" >&6; }
3504: $as_echo "$as_me: failed program was:" >&5
3505: sed 's/^/| /' conftest.$ac_ext >&5
3506:
3507: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509: as_fn_error 77 "C compiler cannot create executables
3510: See \`config.log' for more details" "$LINENO" 5; }
3511: else
3512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513: $as_echo "yes" >&6; }
3514: fi
3515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3516: $as_echo_n "checking for C compiler default output file name... " >&6; }
3517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3518: $as_echo "$ac_file" >&6; }
3519: ac_exeext=$ac_cv_exeext
3520:
3521: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3522: ac_clean_files=$ac_clean_files_save
3523: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3524: $as_echo_n "checking for suffix of executables... " >&6; }
3525: if { { ac_try="$ac_link"
3526: case "(($ac_try" in
3527: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528: *) ac_try_echo=$ac_try;;
3529: esac
3530: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531: $as_echo "$ac_try_echo"; } >&5
3532: (eval "$ac_link") 2>&5
3533: ac_status=$?
3534: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535: test $ac_status = 0; }; then :
3536: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3537: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3538: # work properly (i.e., refer to `conftest.exe'), while it won't with
3539: # `rm'.
3540: for ac_file in conftest.exe conftest conftest.*; do
3541: test -f "$ac_file" || continue
3542: case $ac_file in
3543: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3544: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545: break;;
3546: * ) break;;
3547: esac
3548: done
3549: else
3550: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553: See \`config.log' for more details" "$LINENO" 5; }
3554: fi
3555: rm -f conftest conftest$ac_cv_exeext
3556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3557: $as_echo "$ac_cv_exeext" >&6; }
3558:
3559: rm -f conftest.$ac_ext
3560: EXEEXT=$ac_cv_exeext
3561: ac_exeext=$EXEEXT
3562: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563: /* end confdefs.h. */
3564: #include <stdio.h>
3565: int
3566: main ()
3567: {
3568: FILE *f = fopen ("conftest.out", "w");
3569: return ferror (f) || fclose (f) != 0;
3570:
3571: ;
3572: return 0;
3573: }
3574: _ACEOF
3575: ac_clean_files="$ac_clean_files conftest.out"
3576: # Check that the compiler produces executables we can run. If not, either
3577: # the compiler is broken, or we cross compile.
3578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3579: $as_echo_n "checking whether we are cross compiling... " >&6; }
3580: if test "$cross_compiling" != yes; then
3581: { { ac_try="$ac_link"
3582: case "(($ac_try" in
3583: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584: *) ac_try_echo=$ac_try;;
3585: esac
3586: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587: $as_echo "$ac_try_echo"; } >&5
3588: (eval "$ac_link") 2>&5
3589: ac_status=$?
3590: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591: test $ac_status = 0; }
3592: if { ac_try='./conftest$ac_cv_exeext'
3593: { { case "(($ac_try" in
3594: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595: *) ac_try_echo=$ac_try;;
3596: esac
3597: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598: $as_echo "$ac_try_echo"; } >&5
3599: (eval "$ac_try") 2>&5
3600: ac_status=$?
3601: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602: test $ac_status = 0; }; }; then
3603: cross_compiling=no
3604: else
3605: if test "$cross_compiling" = maybe; then
3606: cross_compiling=yes
3607: else
3608: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610: as_fn_error $? "cannot run C compiled programs.
3611: If you meant to cross compile, use \`--host'.
3612: See \`config.log' for more details" "$LINENO" 5; }
3613: fi
3614: fi
3615: fi
3616: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3617: $as_echo "$cross_compiling" >&6; }
3618:
3619: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3620: ac_clean_files=$ac_clean_files_save
3621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3622: $as_echo_n "checking for suffix of object files... " >&6; }
3623: if ${ac_cv_objext+:} false; then :
3624: $as_echo_n "(cached) " >&6
3625: else
3626: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627: /* end confdefs.h. */
3628:
3629: int
3630: main ()
3631: {
3632:
3633: ;
3634: return 0;
3635: }
3636: _ACEOF
3637: rm -f conftest.o conftest.obj
3638: if { { ac_try="$ac_compile"
3639: case "(($ac_try" in
3640: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641: *) ac_try_echo=$ac_try;;
3642: esac
3643: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3644: $as_echo "$ac_try_echo"; } >&5
3645: (eval "$ac_compile") 2>&5
3646: ac_status=$?
3647: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648: test $ac_status = 0; }; then :
3649: for ac_file in conftest.o conftest.obj conftest.*; do
3650: test -f "$ac_file" || continue;
3651: case $ac_file in
3652: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3653: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3654: break;;
3655: esac
3656: done
3657: else
3658: $as_echo "$as_me: failed program was:" >&5
3659: sed 's/^/| /' conftest.$ac_ext >&5
3660:
3661: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663: as_fn_error $? "cannot compute suffix of object files: cannot compile
3664: See \`config.log' for more details" "$LINENO" 5; }
3665: fi
3666: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667: fi
3668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3669: $as_echo "$ac_cv_objext" >&6; }
3670: OBJEXT=$ac_cv_objext
3671: ac_objext=$OBJEXT
3672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3673: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3674: if ${ac_cv_c_compiler_gnu+:} false; then :
3675: $as_echo_n "(cached) " >&6
3676: else
3677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678: /* end confdefs.h. */
3679:
3680: int
3681: main ()
3682: {
3683: #ifndef __GNUC__
3684: choke me
3685: #endif
3686:
3687: ;
3688: return 0;
3689: }
3690: _ACEOF
3691: if ac_fn_c_try_compile "$LINENO"; then :
3692: ac_compiler_gnu=yes
3693: else
3694: ac_compiler_gnu=no
3695: fi
3696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3698:
3699: fi
3700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3701: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3702: if test $ac_compiler_gnu = yes; then
3703: GCC=yes
3704: else
3705: GCC=
3706: fi
3707: ac_test_CFLAGS=${CFLAGS+set}
3708: ac_save_CFLAGS=$CFLAGS
3709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3710: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3711: if ${ac_cv_prog_cc_g+:} false; then :
3712: $as_echo_n "(cached) " >&6
3713: else
3714: ac_save_c_werror_flag=$ac_c_werror_flag
3715: ac_c_werror_flag=yes
3716: ac_cv_prog_cc_g=no
3717: CFLAGS="-g"
3718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719: /* end confdefs.h. */
3720:
3721: int
3722: main ()
3723: {
3724:
3725: ;
3726: return 0;
3727: }
3728: _ACEOF
3729: if ac_fn_c_try_compile "$LINENO"; then :
3730: ac_cv_prog_cc_g=yes
3731: else
3732: CFLAGS=""
3733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734: /* end confdefs.h. */
3735:
3736: int
3737: main ()
3738: {
3739:
3740: ;
3741: return 0;
3742: }
3743: _ACEOF
3744: if ac_fn_c_try_compile "$LINENO"; then :
3745:
3746: else
3747: ac_c_werror_flag=$ac_save_c_werror_flag
3748: CFLAGS="-g"
3749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750: /* end confdefs.h. */
3751:
3752: int
3753: main ()
3754: {
3755:
3756: ;
3757: return 0;
3758: }
3759: _ACEOF
3760: if ac_fn_c_try_compile "$LINENO"; then :
3761: ac_cv_prog_cc_g=yes
3762: fi
3763: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764: fi
3765: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766: fi
3767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768: ac_c_werror_flag=$ac_save_c_werror_flag
3769: fi
3770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3771: $as_echo "$ac_cv_prog_cc_g" >&6; }
3772: if test "$ac_test_CFLAGS" = set; then
3773: CFLAGS=$ac_save_CFLAGS
3774: elif test $ac_cv_prog_cc_g = yes; then
3775: if test "$GCC" = yes; then
3776: CFLAGS="-g -O2"
3777: else
3778: CFLAGS="-g"
3779: fi
3780: else
3781: if test "$GCC" = yes; then
3782: CFLAGS="-O2"
3783: else
3784: CFLAGS=
3785: fi
3786: fi
3787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3788: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3789: if ${ac_cv_prog_cc_c89+:} false; then :
3790: $as_echo_n "(cached) " >&6
3791: else
3792: ac_cv_prog_cc_c89=no
3793: ac_save_CC=$CC
3794: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795: /* end confdefs.h. */
3796: #include <stdarg.h>
3797: #include <stdio.h>
3798: #include <sys/types.h>
3799: #include <sys/stat.h>
3800: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3801: struct buf { int x; };
3802: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3803: static char *e (p, i)
3804: char **p;
3805: int i;
3806: {
3807: return p[i];
3808: }
3809: static char *f (char * (*g) (char **, int), char **p, ...)
3810: {
3811: char *s;
3812: va_list v;
3813: va_start (v,p);
3814: s = g (p, va_arg (v,int));
3815: va_end (v);
3816: return s;
3817: }
3818:
3819: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3820: function prototypes and stuff, but not '\xHH' hex character constants.
3821: These don't provoke an error unfortunately, instead are silently treated
3822: as 'x'. The following induces an error, until -std is added to get
3823: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3824: array size at least. It's necessary to write '\x00'==0 to get something
3825: that's true only with -std. */
3826: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3827:
3828: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3829: inside strings and character constants. */
3830: #define FOO(x) 'x'
3831: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3832:
3833: int test (int i, double x);
3834: struct s1 {int (*f) (int a);};
3835: struct s2 {int (*f) (double a);};
3836: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3837: int argc;
3838: char **argv;
3839: int
3840: main ()
3841: {
3842: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3843: ;
3844: return 0;
3845: }
3846: _ACEOF
3847: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3848: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3849: do
3850: CC="$ac_save_CC $ac_arg"
3851: if ac_fn_c_try_compile "$LINENO"; then :
3852: ac_cv_prog_cc_c89=$ac_arg
3853: fi
3854: rm -f core conftest.err conftest.$ac_objext
3855: test "x$ac_cv_prog_cc_c89" != "xno" && break
3856: done
3857: rm -f conftest.$ac_ext
3858: CC=$ac_save_CC
3859:
3860: fi
3861: # AC_CACHE_VAL
3862: case "x$ac_cv_prog_cc_c89" in
3863: x)
3864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3865: $as_echo "none needed" >&6; } ;;
3866: xno)
3867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3868: $as_echo "unsupported" >&6; } ;;
3869: *)
3870: CC="$CC $ac_cv_prog_cc_c89"
3871: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3872: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3873: esac
3874: if test "x$ac_cv_prog_cc_c89" != xno; then :
3875:
3876: fi
3877:
3878: ac_ext=c
3879: ac_cpp='$CPP $CPPFLAGS'
3880: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883: DEPDIR="${am__leading_dot}deps"
3884:
3885: ac_config_commands="$ac_config_commands depfiles"
3886:
3887:
3888: am_make=${MAKE-make}
3889: cat > confinc << 'END'
3890: am__doit:
3891: @echo this is the am__doit target
3892: .PHONY: am__doit
3893: END
3894: # If we don't find an include directive, just comment out the code.
3895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3896: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3897: am__include="#"
3898: am__quote=
3899: _am_result=none
3900: # First try GNU make style include.
3901: echo "include confinc" > confmf
3902: # Ignore all kinds of additional output from `make'.
3903: case `$am_make -s -f confmf 2> /dev/null` in #(
3904: *the\ am__doit\ target*)
3905: am__include=include
3906: am__quote=
3907: _am_result=GNU
3908: ;;
3909: esac
3910: # Now try BSD make style include.
3911: if test "$am__include" = "#"; then
3912: echo '.include "confinc"' > confmf
3913: case `$am_make -s -f confmf 2> /dev/null` in #(
3914: *the\ am__doit\ target*)
3915: am__include=.include
3916: am__quote="\""
3917: _am_result=BSD
3918: ;;
3919: esac
3920: fi
3921:
3922:
3923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3924: $as_echo "$_am_result" >&6; }
3925: rm -f confinc confmf
3926:
3927: # Check whether --enable-dependency-tracking was given.
3928: if test "${enable_dependency_tracking+set}" = set; then :
3929: enableval=$enable_dependency_tracking;
3930: fi
3931:
3932: if test "x$enable_dependency_tracking" != xno; then
3933: am_depcomp="$ac_aux_dir/depcomp"
3934: AMDEPBACKSLASH='\'
3935: fi
3936: if test "x$enable_dependency_tracking" != xno; then
3937: AMDEP_TRUE=
3938: AMDEP_FALSE='#'
3939: else
3940: AMDEP_TRUE='#'
3941: AMDEP_FALSE=
3942: fi
3943:
3944:
3945:
3946: depcc="$CC" am_compiler_list=
3947:
3948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3949: $as_echo_n "checking dependency style of $depcc... " >&6; }
3950: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3951: $as_echo_n "(cached) " >&6
3952: else
3953: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3954: # We make a subdir and do the tests there. Otherwise we can end up
3955: # making bogus files that we don't know about and never remove. For
3956: # instance it was reported that on HP-UX the gcc test will end up
3957: # making a dummy file named `D' -- because `-MD' means `put the output
3958: # in D'.
3959: mkdir conftest.dir
3960: # Copy depcomp to subdir because otherwise we won't find it if we're
3961: # using a relative directory.
3962: cp "$am_depcomp" conftest.dir
3963: cd conftest.dir
3964: # We will build objects and dependencies in a subdirectory because
3965: # it helps to detect inapplicable dependency modes. For instance
3966: # both Tru64's cc and ICC support -MD to output dependencies as a
3967: # side effect of compilation, but ICC will put the dependencies in
3968: # the current directory while Tru64 will put them in the object
3969: # directory.
3970: mkdir sub
3971:
3972: am_cv_CC_dependencies_compiler_type=none
3973: if test "$am_compiler_list" = ""; then
3974: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3975: fi
3976: am__universal=false
3977: case " $depcc " in #(
3978: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3979: esac
3980:
3981: for depmode in $am_compiler_list; do
3982: # Setup a source with many dependencies, because some compilers
3983: # like to wrap large dependency lists on column 80 (with \), and
3984: # we should not choose a depcomp mode which is confused by this.
3985: #
3986: # We need to recreate these files for each test, as the compiler may
3987: # overwrite some of them when testing with obscure command lines.
3988: # This happens at least with the AIX C compiler.
3989: : > sub/conftest.c
3990: for i in 1 2 3 4 5 6; do
3991: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3992: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3993: # Solaris 8's {/usr,}/bin/sh.
3994: touch sub/conftst$i.h
3995: done
3996: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3997:
3998: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3999: # mode. It turns out that the SunPro C++ compiler does not properly
4000: # handle `-M -o', and we need to detect this. Also, some Intel
4001: # versions had trouble with output in subdirs
4002: am__obj=sub/conftest.${OBJEXT-o}
4003: am__minus_obj="-o $am__obj"
4004: case $depmode in
4005: gcc)
4006: # This depmode causes a compiler race in universal mode.
4007: test "$am__universal" = false || continue
4008: ;;
4009: nosideeffect)
4010: # after this tag, mechanisms are not by side-effect, so they'll
4011: # only be used when explicitly requested
4012: if test "x$enable_dependency_tracking" = xyes; then
4013: continue
4014: else
4015: break
4016: fi
4017: ;;
4018: msvisualcpp | msvcmsys)
4019: # This compiler won't grok `-c -o', but also, the minuso test has
4020: # not run yet. These depmodes are late enough in the game, and
4021: # so weak that their functioning should not be impacted.
4022: am__obj=conftest.${OBJEXT-o}
4023: am__minus_obj=
4024: ;;
4025: none) break ;;
4026: esac
4027: if depmode=$depmode \
4028: source=sub/conftest.c object=$am__obj \
4029: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4030: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4031: >/dev/null 2>conftest.err &&
4032: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4033: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4034: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4035: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4036: # icc doesn't choke on unknown options, it will just issue warnings
4037: # or remarks (even with -Werror). So we grep stderr for any message
4038: # that says an option was ignored or not supported.
4039: # When given -MP, icc 7.0 and 7.1 complain thusly:
4040: # icc: Command line warning: ignoring option '-M'; no argument required
4041: # The diagnosis changed in icc 8.0:
4042: # icc: Command line remark: option '-MP' not supported
4043: if (grep 'ignoring option' conftest.err ||
4044: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4045: am_cv_CC_dependencies_compiler_type=$depmode
4046: break
4047: fi
4048: fi
4049: done
4050:
4051: cd ..
4052: rm -rf conftest.dir
4053: else
4054: am_cv_CC_dependencies_compiler_type=none
4055: fi
4056:
4057: fi
4058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4059: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4060: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4061:
4062: if
4063: test "x$enable_dependency_tracking" != xno \
4064: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4065: am__fastdepCC_TRUE=
4066: am__fastdepCC_FALSE='#'
4067: else
4068: am__fastdepCC_TRUE='#'
4069: am__fastdepCC_FALSE=
4070: fi
4071:
4072:
4073:
4074: EXT_SQL=
4075:
4076: if test x"$CC" != x""; then
4077: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4078: awk -F. '{ printf("%s", $1);}'`
4079: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4080: awk -F. '{ printf("%s", $2);}'`
4081: if test $GCC_VERSION_MAJEURE -ge 5; then
4082: OPTIMISATION_C=-O3
4083: else
4084: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4085: then
4086: OPTIMISATION_C=-O3
4087: else
4088: if test $GCC_VERSION_MAJEURE -ge 2; then
4089: OPTIMISATION_C=-O2
4090: else
4091: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4092: fi
4093: fi
4094: fi
4095: fi
4096:
4097: if test "x$CC" != xcc; then
4098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4099: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4100: else
4101: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4102: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4103: fi
4104: set dummy $CC; ac_cc=`$as_echo "$2" |
4105: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4106: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4107: $as_echo_n "(cached) " >&6
4108: else
4109: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110: /* end confdefs.h. */
4111:
4112: int
4113: main ()
4114: {
4115:
4116: ;
4117: return 0;
4118: }
4119: _ACEOF
4120: # Make sure it works both with $CC and with simple cc.
4121: # We do the test twice because some compilers refuse to overwrite an
4122: # existing .o file with -o, though they will create one.
4123: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4124: rm -f conftest2.*
4125: if { { case "(($ac_try" in
4126: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127: *) ac_try_echo=$ac_try;;
4128: esac
4129: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130: $as_echo "$ac_try_echo"; } >&5
4131: (eval "$ac_try") 2>&5
4132: ac_status=$?
4133: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134: test $ac_status = 0; } &&
4135: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4136: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137: *) ac_try_echo=$ac_try;;
4138: esac
4139: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140: $as_echo "$ac_try_echo"; } >&5
4141: (eval "$ac_try") 2>&5
4142: ac_status=$?
4143: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144: test $ac_status = 0; };
4145: then
4146: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4147: if test "x$CC" != xcc; then
4148: # Test first that cc exists at all.
4149: if { ac_try='cc -c conftest.$ac_ext >&5'
4150: { { case "(($ac_try" in
4151: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152: *) ac_try_echo=$ac_try;;
4153: esac
4154: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155: $as_echo "$ac_try_echo"; } >&5
4156: (eval "$ac_try") 2>&5
4157: ac_status=$?
4158: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159: test $ac_status = 0; }; }; then
4160: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4161: rm -f conftest2.*
4162: if { { case "(($ac_try" in
4163: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164: *) ac_try_echo=$ac_try;;
4165: esac
4166: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4167: $as_echo "$ac_try_echo"; } >&5
4168: (eval "$ac_try") 2>&5
4169: ac_status=$?
4170: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4171: test $ac_status = 0; } &&
4172: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4173: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174: *) ac_try_echo=$ac_try;;
4175: esac
4176: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177: $as_echo "$ac_try_echo"; } >&5
4178: (eval "$ac_try") 2>&5
4179: ac_status=$?
4180: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181: test $ac_status = 0; };
4182: then
4183: # cc works too.
4184: :
4185: else
4186: # cc exists but doesn't like -o.
4187: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4188: fi
4189: fi
4190: fi
4191: else
4192: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4193: fi
4194: rm -f core conftest*
4195:
4196: fi
4197: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4199: $as_echo "yes" >&6; }
4200: else
4201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202: $as_echo "no" >&6; }
4203:
4204: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4205:
4206: fi
4207:
4208: # FIXME: we rely on the cache variable name because
4209: # there is no other way.
4210: set dummy $CC
4211: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4212: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4213: if test "$am_t" != yes; then
4214: # Losing compiler, so override with the script.
4215: # FIXME: It is wrong to rewrite CC.
4216: # But if we don't then we get into trouble of one sort or another.
4217: # A longer-term fix would be to have automake use am__CC in this case,
4218: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4219: CC="$am_aux_dir/compile $CC"
4220: fi
4221:
4222:
4223:
4224: if test "$GCC" != yes; then
4225: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4226: fi
4227:
4228: ac_ext=cpp
4229: ac_cpp='$CXXCPP $CPPFLAGS'
4230: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4231: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4232: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4233: if test -z "$CXX"; then
4234: if test -n "$CCC"; then
4235: CXX=$CCC
4236: else
4237: if test -n "$ac_tool_prefix"; then
4238: for ac_prog in g++
4239: do
4240: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4241: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4242: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243: $as_echo_n "checking for $ac_word... " >&6; }
4244: if ${ac_cv_prog_CXX+:} false; then :
4245: $as_echo_n "(cached) " >&6
4246: else
4247: if test -n "$CXX"; then
4248: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4249: else
4250: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251: for as_dir in $PATH
4252: do
4253: IFS=$as_save_IFS
4254: test -z "$as_dir" && as_dir=.
4255: for ac_exec_ext in '' $ac_executable_extensions; do
4256: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4258: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259: break 2
4260: fi
4261: done
4262: done
4263: IFS=$as_save_IFS
4264:
4265: fi
4266: fi
4267: CXX=$ac_cv_prog_CXX
4268: if test -n "$CXX"; then
4269: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4270: $as_echo "$CXX" >&6; }
4271: else
4272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273: $as_echo "no" >&6; }
4274: fi
4275:
4276:
4277: test -n "$CXX" && break
4278: done
4279: fi
4280: if test -z "$CXX"; then
4281: ac_ct_CXX=$CXX
4282: for ac_prog in g++
4283: do
4284: # Extract the first word of "$ac_prog", so it can be a program name with args.
4285: set dummy $ac_prog; ac_word=$2
4286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287: $as_echo_n "checking for $ac_word... " >&6; }
4288: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4289: $as_echo_n "(cached) " >&6
4290: else
4291: if test -n "$ac_ct_CXX"; then
4292: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4293: else
4294: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295: for as_dir in $PATH
4296: do
4297: IFS=$as_save_IFS
4298: test -z "$as_dir" && as_dir=.
4299: for ac_exec_ext in '' $ac_executable_extensions; do
4300: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301: ac_cv_prog_ac_ct_CXX="$ac_prog"
4302: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4303: break 2
4304: fi
4305: done
4306: done
4307: IFS=$as_save_IFS
4308:
4309: fi
4310: fi
4311: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4312: if test -n "$ac_ct_CXX"; then
4313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4314: $as_echo "$ac_ct_CXX" >&6; }
4315: else
4316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317: $as_echo "no" >&6; }
4318: fi
4319:
4320:
4321: test -n "$ac_ct_CXX" && break
4322: done
4323:
4324: if test "x$ac_ct_CXX" = x; then
4325: CXX="g++"
4326: else
4327: case $cross_compiling:$ac_tool_warned in
4328: yes:)
4329: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4330: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4331: ac_tool_warned=yes ;;
4332: esac
4333: CXX=$ac_ct_CXX
4334: fi
4335: fi
4336:
4337: fi
4338: fi
4339: # Provide some information about the compiler.
4340: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4341: set X $ac_compile
4342: ac_compiler=$2
4343: for ac_option in --version -v -V -qversion; do
4344: { { ac_try="$ac_compiler $ac_option >&5"
4345: case "(($ac_try" in
4346: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347: *) ac_try_echo=$ac_try;;
4348: esac
4349: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4350: $as_echo "$ac_try_echo"; } >&5
4351: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4352: ac_status=$?
4353: if test -s conftest.err; then
4354: sed '10a\
4355: ... rest of stderr output deleted ...
4356: 10q' conftest.err >conftest.er1
4357: cat conftest.er1 >&5
4358: fi
4359: rm -f conftest.er1 conftest.err
4360: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361: test $ac_status = 0; }
4362: done
4363:
4364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4365: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4366: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4367: $as_echo_n "(cached) " >&6
4368: else
4369: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370: /* end confdefs.h. */
4371:
4372: int
4373: main ()
4374: {
4375: #ifndef __GNUC__
4376: choke me
4377: #endif
4378:
4379: ;
4380: return 0;
4381: }
4382: _ACEOF
4383: if ac_fn_cxx_try_compile "$LINENO"; then :
4384: ac_compiler_gnu=yes
4385: else
4386: ac_compiler_gnu=no
4387: fi
4388: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4390:
4391: fi
4392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4393: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4394: if test $ac_compiler_gnu = yes; then
4395: GXX=yes
4396: else
4397: GXX=
4398: fi
4399: ac_test_CXXFLAGS=${CXXFLAGS+set}
4400: ac_save_CXXFLAGS=$CXXFLAGS
4401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4402: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4403: if ${ac_cv_prog_cxx_g+:} false; then :
4404: $as_echo_n "(cached) " >&6
4405: else
4406: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4407: ac_cxx_werror_flag=yes
4408: ac_cv_prog_cxx_g=no
4409: CXXFLAGS="-g"
4410: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411: /* end confdefs.h. */
4412:
4413: int
4414: main ()
4415: {
4416:
4417: ;
4418: return 0;
4419: }
4420: _ACEOF
4421: if ac_fn_cxx_try_compile "$LINENO"; then :
4422: ac_cv_prog_cxx_g=yes
4423: else
4424: CXXFLAGS=""
4425: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426: /* end confdefs.h. */
4427:
4428: int
4429: main ()
4430: {
4431:
4432: ;
4433: return 0;
4434: }
4435: _ACEOF
4436: if ac_fn_cxx_try_compile "$LINENO"; then :
4437:
4438: else
4439: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4440: CXXFLAGS="-g"
4441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442: /* end confdefs.h. */
4443:
4444: int
4445: main ()
4446: {
4447:
4448: ;
4449: return 0;
4450: }
4451: _ACEOF
4452: if ac_fn_cxx_try_compile "$LINENO"; then :
4453: ac_cv_prog_cxx_g=yes
4454: fi
4455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456: fi
4457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458: fi
4459: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4461: fi
4462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4463: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4464: if test "$ac_test_CXXFLAGS" = set; then
4465: CXXFLAGS=$ac_save_CXXFLAGS
4466: elif test $ac_cv_prog_cxx_g = yes; then
4467: if test "$GXX" = yes; then
4468: CXXFLAGS="-g -O2"
4469: else
4470: CXXFLAGS="-g"
4471: fi
4472: else
4473: if test "$GXX" = yes; then
4474: CXXFLAGS="-O2"
4475: else
4476: CXXFLAGS=
4477: fi
4478: fi
4479: ac_ext=c
4480: ac_cpp='$CPP $CPPFLAGS'
4481: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4484:
4485: depcc="$CXX" am_compiler_list=
4486:
4487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4488: $as_echo_n "checking dependency style of $depcc... " >&6; }
4489: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4490: $as_echo_n "(cached) " >&6
4491: else
4492: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4493: # We make a subdir and do the tests there. Otherwise we can end up
4494: # making bogus files that we don't know about and never remove. For
4495: # instance it was reported that on HP-UX the gcc test will end up
4496: # making a dummy file named `D' -- because `-MD' means `put the output
4497: # in D'.
4498: mkdir conftest.dir
4499: # Copy depcomp to subdir because otherwise we won't find it if we're
4500: # using a relative directory.
4501: cp "$am_depcomp" conftest.dir
4502: cd conftest.dir
4503: # We will build objects and dependencies in a subdirectory because
4504: # it helps to detect inapplicable dependency modes. For instance
4505: # both Tru64's cc and ICC support -MD to output dependencies as a
4506: # side effect of compilation, but ICC will put the dependencies in
4507: # the current directory while Tru64 will put them in the object
4508: # directory.
4509: mkdir sub
4510:
4511: am_cv_CXX_dependencies_compiler_type=none
4512: if test "$am_compiler_list" = ""; then
4513: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4514: fi
4515: am__universal=false
4516: case " $depcc " in #(
4517: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4518: esac
4519:
4520: for depmode in $am_compiler_list; do
4521: # Setup a source with many dependencies, because some compilers
4522: # like to wrap large dependency lists on column 80 (with \), and
4523: # we should not choose a depcomp mode which is confused by this.
4524: #
4525: # We need to recreate these files for each test, as the compiler may
4526: # overwrite some of them when testing with obscure command lines.
4527: # This happens at least with the AIX C compiler.
4528: : > sub/conftest.c
4529: for i in 1 2 3 4 5 6; do
4530: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4531: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4532: # Solaris 8's {/usr,}/bin/sh.
4533: touch sub/conftst$i.h
4534: done
4535: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4536:
4537: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4538: # mode. It turns out that the SunPro C++ compiler does not properly
4539: # handle `-M -o', and we need to detect this. Also, some Intel
4540: # versions had trouble with output in subdirs
4541: am__obj=sub/conftest.${OBJEXT-o}
4542: am__minus_obj="-o $am__obj"
4543: case $depmode in
4544: gcc)
4545: # This depmode causes a compiler race in universal mode.
4546: test "$am__universal" = false || continue
4547: ;;
4548: nosideeffect)
4549: # after this tag, mechanisms are not by side-effect, so they'll
4550: # only be used when explicitly requested
4551: if test "x$enable_dependency_tracking" = xyes; then
4552: continue
4553: else
4554: break
4555: fi
4556: ;;
4557: msvisualcpp | msvcmsys)
4558: # This compiler won't grok `-c -o', but also, the minuso test has
4559: # not run yet. These depmodes are late enough in the game, and
4560: # so weak that their functioning should not be impacted.
4561: am__obj=conftest.${OBJEXT-o}
4562: am__minus_obj=
4563: ;;
4564: none) break ;;
4565: esac
4566: if depmode=$depmode \
4567: source=sub/conftest.c object=$am__obj \
4568: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4569: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4570: >/dev/null 2>conftest.err &&
4571: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4572: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4573: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4574: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4575: # icc doesn't choke on unknown options, it will just issue warnings
4576: # or remarks (even with -Werror). So we grep stderr for any message
4577: # that says an option was ignored or not supported.
4578: # When given -MP, icc 7.0 and 7.1 complain thusly:
4579: # icc: Command line warning: ignoring option '-M'; no argument required
4580: # The diagnosis changed in icc 8.0:
4581: # icc: Command line remark: option '-MP' not supported
4582: if (grep 'ignoring option' conftest.err ||
4583: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4584: am_cv_CXX_dependencies_compiler_type=$depmode
4585: break
4586: fi
4587: fi
4588: done
4589:
4590: cd ..
4591: rm -rf conftest.dir
4592: else
4593: am_cv_CXX_dependencies_compiler_type=none
4594: fi
4595:
4596: fi
4597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4598: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4599: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4600:
4601: if
4602: test "x$enable_dependency_tracking" != xno \
4603: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4604: am__fastdepCXX_TRUE=
4605: am__fastdepCXX_FALSE='#'
4606: else
4607: am__fastdepCXX_TRUE='#'
4608: am__fastdepCXX_FALSE=
4609: fi
4610:
4611:
4612:
4613: if test "$GXX" != yes; then
4614: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4615: fi
4616:
4617: if test x"$CXX" != x""; then
4618: GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4619: awk -F. '{ printf("%s", $1);}'`
4620: GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4621: awk -F. '{ printf("%s", $2);}'`
4622: if test $GCC_VERSION_MAJEURE -ge 5; then
4623: OPTIMISATION_GXX=-O3
4624: else
4625: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
4626: OPTIMISATION_GXX=-O3
4627: else
4628: if test $GCC_VERSION_MAJEURE -ge 3; then
4629: OPTIMISATION_GXX=-O2
4630: else
4631: as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
4632: fi
4633: fi
4634: fi
4635: fi
4636:
4637: ac_ext=f
4638: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4639: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4641: if test -n "$ac_tool_prefix"; then
4642: for ac_prog in gfortran
4643: do
4644: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4645: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647: $as_echo_n "checking for $ac_word... " >&6; }
4648: if ${ac_cv_prog_F77+:} false; then :
4649: $as_echo_n "(cached) " >&6
4650: else
4651: if test -n "$F77"; then
4652: ac_cv_prog_F77="$F77" # Let the user override the test.
4653: else
4654: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655: for as_dir in $PATH
4656: do
4657: IFS=$as_save_IFS
4658: test -z "$as_dir" && as_dir=.
4659: for ac_exec_ext in '' $ac_executable_extensions; do
4660: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4661: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4662: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663: break 2
4664: fi
4665: done
4666: done
4667: IFS=$as_save_IFS
4668:
4669: fi
4670: fi
4671: F77=$ac_cv_prog_F77
4672: if test -n "$F77"; then
4673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4674: $as_echo "$F77" >&6; }
4675: else
4676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677: $as_echo "no" >&6; }
4678: fi
4679:
4680:
4681: test -n "$F77" && break
4682: done
4683: fi
4684: if test -z "$F77"; then
4685: ac_ct_F77=$F77
4686: for ac_prog in gfortran
4687: do
4688: # Extract the first word of "$ac_prog", so it can be a program name with args.
4689: set dummy $ac_prog; ac_word=$2
4690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691: $as_echo_n "checking for $ac_word... " >&6; }
4692: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4693: $as_echo_n "(cached) " >&6
4694: else
4695: if test -n "$ac_ct_F77"; then
4696: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4697: else
4698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699: for as_dir in $PATH
4700: do
4701: IFS=$as_save_IFS
4702: test -z "$as_dir" && as_dir=.
4703: for ac_exec_ext in '' $ac_executable_extensions; do
4704: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705: ac_cv_prog_ac_ct_F77="$ac_prog"
4706: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707: break 2
4708: fi
4709: done
4710: done
4711: IFS=$as_save_IFS
4712:
4713: fi
4714: fi
4715: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4716: if test -n "$ac_ct_F77"; then
4717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4718: $as_echo "$ac_ct_F77" >&6; }
4719: else
4720: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721: $as_echo "no" >&6; }
4722: fi
4723:
4724:
4725: test -n "$ac_ct_F77" && break
4726: done
4727:
4728: if test "x$ac_ct_F77" = x; then
4729: F77=""
4730: else
4731: case $cross_compiling:$ac_tool_warned in
4732: yes:)
4733: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4734: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4735: ac_tool_warned=yes ;;
4736: esac
4737: F77=$ac_ct_F77
4738: fi
4739: fi
4740:
4741:
4742: # Provide some information about the compiler.
4743: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4744: set X $ac_compile
4745: ac_compiler=$2
4746: for ac_option in --version -v -V -qversion; do
4747: { { ac_try="$ac_compiler $ac_option >&5"
4748: case "(($ac_try" in
4749: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750: *) ac_try_echo=$ac_try;;
4751: esac
4752: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4753: $as_echo "$ac_try_echo"; } >&5
4754: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4755: ac_status=$?
4756: if test -s conftest.err; then
4757: sed '10a\
4758: ... rest of stderr output deleted ...
4759: 10q' conftest.err >conftest.er1
4760: cat conftest.er1 >&5
4761: fi
4762: rm -f conftest.er1 conftest.err
4763: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4764: test $ac_status = 0; }
4765: done
4766: rm -f a.out
4767:
4768: # If we don't use `.F' as extension, the preprocessor is not run on the
4769: # input file. (Note that this only needs to work for GNU compilers.)
4770: ac_save_ext=$ac_ext
4771: ac_ext=F
4772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4773: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4774: if ${ac_cv_f77_compiler_gnu+:} false; then :
4775: $as_echo_n "(cached) " >&6
4776: else
4777: cat > conftest.$ac_ext <<_ACEOF
4778: program main
4779: #ifndef __GNUC__
4780: choke me
4781: #endif
4782:
4783: end
4784: _ACEOF
4785: if ac_fn_f77_try_compile "$LINENO"; then :
4786: ac_compiler_gnu=yes
4787: else
4788: ac_compiler_gnu=no
4789: fi
4790: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4792:
4793: fi
4794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4795: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4796: ac_ext=$ac_save_ext
4797: ac_test_FFLAGS=${FFLAGS+set}
4798: ac_save_FFLAGS=$FFLAGS
4799: FFLAGS=
4800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4801: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4802: if ${ac_cv_prog_f77_g+:} false; then :
4803: $as_echo_n "(cached) " >&6
4804: else
4805: FFLAGS=-g
4806: cat > conftest.$ac_ext <<_ACEOF
4807: program main
4808:
4809: end
4810: _ACEOF
4811: if ac_fn_f77_try_compile "$LINENO"; then :
4812: ac_cv_prog_f77_g=yes
4813: else
4814: ac_cv_prog_f77_g=no
4815: fi
4816: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817:
4818: fi
4819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4820: $as_echo "$ac_cv_prog_f77_g" >&6; }
4821: if test "$ac_test_FFLAGS" = set; then
4822: FFLAGS=$ac_save_FFLAGS
4823: elif test $ac_cv_prog_f77_g = yes; then
4824: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4825: FFLAGS="-g -O2"
4826: else
4827: FFLAGS="-g"
4828: fi
4829: else
4830: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4831: FFLAGS="-O2"
4832: else
4833: FFLAGS=
4834: fi
4835: fi
4836:
4837: if test $ac_compiler_gnu = yes; then
4838: G77=yes
4839: else
4840: G77=
4841: fi
4842: ac_ext=c
4843: ac_cpp='$CPP $CPPFLAGS'
4844: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4845: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4846: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847:
4848:
4849: ac_ext=${ac_fc_srcext-f}
4850: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4851: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4852: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4853: if test -n "$ac_tool_prefix"; then
4854: for ac_prog in gfortran
4855: do
4856: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859: $as_echo_n "checking for $ac_word... " >&6; }
4860: if ${ac_cv_prog_FC+:} false; then :
4861: $as_echo_n "(cached) " >&6
4862: else
4863: if test -n "$FC"; then
4864: ac_cv_prog_FC="$FC" # Let the user override the test.
4865: else
4866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867: for as_dir in $PATH
4868: do
4869: IFS=$as_save_IFS
4870: test -z "$as_dir" && as_dir=.
4871: for ac_exec_ext in '' $ac_executable_extensions; do
4872: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4874: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875: break 2
4876: fi
4877: done
4878: done
4879: IFS=$as_save_IFS
4880:
4881: fi
4882: fi
4883: FC=$ac_cv_prog_FC
4884: if test -n "$FC"; then
4885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4886: $as_echo "$FC" >&6; }
4887: else
4888: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889: $as_echo "no" >&6; }
4890: fi
4891:
4892:
4893: test -n "$FC" && break
4894: done
4895: fi
4896: if test -z "$FC"; then
4897: ac_ct_FC=$FC
4898: for ac_prog in gfortran
4899: do
4900: # Extract the first word of "$ac_prog", so it can be a program name with args.
4901: set dummy $ac_prog; ac_word=$2
4902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903: $as_echo_n "checking for $ac_word... " >&6; }
4904: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4905: $as_echo_n "(cached) " >&6
4906: else
4907: if test -n "$ac_ct_FC"; then
4908: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4909: else
4910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911: for as_dir in $PATH
4912: do
4913: IFS=$as_save_IFS
4914: test -z "$as_dir" && as_dir=.
4915: for ac_exec_ext in '' $ac_executable_extensions; do
4916: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917: ac_cv_prog_ac_ct_FC="$ac_prog"
4918: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919: break 2
4920: fi
4921: done
4922: done
4923: IFS=$as_save_IFS
4924:
4925: fi
4926: fi
4927: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4928: if test -n "$ac_ct_FC"; then
4929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4930: $as_echo "$ac_ct_FC" >&6; }
4931: else
4932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933: $as_echo "no" >&6; }
4934: fi
4935:
4936:
4937: test -n "$ac_ct_FC" && break
4938: done
4939:
4940: if test "x$ac_ct_FC" = x; then
4941: FC=""
4942: else
4943: case $cross_compiling:$ac_tool_warned in
4944: yes:)
4945: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947: ac_tool_warned=yes ;;
4948: esac
4949: FC=$ac_ct_FC
4950: fi
4951: fi
4952:
4953:
4954: # Provide some information about the compiler.
4955: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4956: set X $ac_compile
4957: ac_compiler=$2
4958: for ac_option in --version -v -V -qversion; do
4959: { { ac_try="$ac_compiler $ac_option >&5"
4960: case "(($ac_try" in
4961: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962: *) ac_try_echo=$ac_try;;
4963: esac
4964: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4965: $as_echo "$ac_try_echo"; } >&5
4966: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4967: ac_status=$?
4968: if test -s conftest.err; then
4969: sed '10a\
4970: ... rest of stderr output deleted ...
4971: 10q' conftest.err >conftest.er1
4972: cat conftest.er1 >&5
4973: fi
4974: rm -f conftest.er1 conftest.err
4975: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4976: test $ac_status = 0; }
4977: done
4978: rm -f a.out
4979:
4980: # If we don't use `.F' as extension, the preprocessor is not run on the
4981: # input file. (Note that this only needs to work for GNU compilers.)
4982: ac_save_ext=$ac_ext
4983: ac_ext=F
4984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4985: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4986: if ${ac_cv_fc_compiler_gnu+:} false; then :
4987: $as_echo_n "(cached) " >&6
4988: else
4989: cat > conftest.$ac_ext <<_ACEOF
4990: program main
4991: #ifndef __GNUC__
4992: choke me
4993: #endif
4994:
4995: end
4996: _ACEOF
4997: if ac_fn_fc_try_compile "$LINENO"; then :
4998: ac_compiler_gnu=yes
4999: else
5000: ac_compiler_gnu=no
5001: fi
5002: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
5004:
5005: fi
5006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
5007: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
5008: ac_ext=$ac_save_ext
5009: ac_test_FCFLAGS=${FCFLAGS+set}
5010: ac_save_FCFLAGS=$FCFLAGS
5011: FCFLAGS=
5012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
5013: $as_echo_n "checking whether $FC accepts -g... " >&6; }
5014: if ${ac_cv_prog_fc_g+:} false; then :
5015: $as_echo_n "(cached) " >&6
5016: else
5017: FCFLAGS=-g
5018: cat > conftest.$ac_ext <<_ACEOF
5019: program main
5020:
5021: end
5022: _ACEOF
5023: if ac_fn_fc_try_compile "$LINENO"; then :
5024: ac_cv_prog_fc_g=yes
5025: else
5026: ac_cv_prog_fc_g=no
5027: fi
5028: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029:
5030: fi
5031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
5032: $as_echo "$ac_cv_prog_fc_g" >&6; }
5033: if test "$ac_test_FCFLAGS" = set; then
5034: FCFLAGS=$ac_save_FCFLAGS
5035: elif test $ac_cv_prog_fc_g = yes; then
5036: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
5037: FCFLAGS="-g -O2"
5038: else
5039: FCFLAGS="-g"
5040: fi
5041: else
5042: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
5043: FCFLAGS="-O2"
5044: else
5045: FCFLAGS=
5046: fi
5047: fi
5048:
5049: ac_ext=c
5050: ac_cpp='$CPP $CPPFLAGS'
5051: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5054:
5055:
5056: if test x"$F77" == x; then
5057: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5058: fi
5059:
5060: if test x"$FC" == x; then
5061: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5062: fi
5063:
5064: if test x"$FC" != x""; then
5065: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5066: awk -F. '{ printf("%s", $1);}'`
5067: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5068: awk -F. '{ printf("%s", $2);}'`
5069: if test $GCC_VERSION_MAJEURE -ge 5; then
5070: OPTIMISATION_F=-O3
5071: else
5072: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5073: OPTIMISATION_F=-O3
5074: else
5075: if test $GCC_VERSION_MAJEURE -ge 3; then
5076: OPTIMISATION_F=-O2
5077: else
5078: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5079: fi
5080: fi
5081: fi
5082: fi
5083:
5084:
5085: ac_ext=c
5086: ac_cpp='$CPP $CPPFLAGS'
5087: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5091: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5092: # On Suns, sometimes $CPP names a directory.
5093: if test -n "$CPP" && test -d "$CPP"; then
5094: CPP=
5095: fi
5096: if test -z "$CPP"; then
5097: if ${ac_cv_prog_CPP+:} false; then :
5098: $as_echo_n "(cached) " >&6
5099: else
5100: # Double quotes because CPP needs to be expanded
5101: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5102: do
5103: ac_preproc_ok=false
5104: for ac_c_preproc_warn_flag in '' yes
5105: do
5106: # Use a header file that comes with gcc, so configuring glibc
5107: # with a fresh cross-compiler works.
5108: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5109: # <limits.h> exists even on freestanding compilers.
5110: # On the NeXT, cc -E runs the code through the compiler's parser,
5111: # not just through cpp. "Syntax error" is here to catch this case.
5112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113: /* end confdefs.h. */
5114: #ifdef __STDC__
5115: # include <limits.h>
5116: #else
5117: # include <assert.h>
5118: #endif
5119: Syntax error
5120: _ACEOF
5121: if ac_fn_c_try_cpp "$LINENO"; then :
5122:
5123: else
5124: # Broken: fails on valid input.
5125: continue
5126: fi
5127: rm -f conftest.err conftest.i conftest.$ac_ext
5128:
5129: # OK, works on sane cases. Now check whether nonexistent headers
5130: # can be detected and how.
5131: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132: /* end confdefs.h. */
5133: #include <ac_nonexistent.h>
5134: _ACEOF
5135: if ac_fn_c_try_cpp "$LINENO"; then :
5136: # Broken: success on invalid input.
5137: continue
5138: else
5139: # Passes both tests.
5140: ac_preproc_ok=:
5141: break
5142: fi
5143: rm -f conftest.err conftest.i conftest.$ac_ext
5144:
5145: done
5146: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5147: rm -f conftest.i conftest.err conftest.$ac_ext
5148: if $ac_preproc_ok; then :
5149: break
5150: fi
5151:
5152: done
5153: ac_cv_prog_CPP=$CPP
5154:
5155: fi
5156: CPP=$ac_cv_prog_CPP
5157: else
5158: ac_cv_prog_CPP=$CPP
5159: fi
5160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5161: $as_echo "$CPP" >&6; }
5162: ac_preproc_ok=false
5163: for ac_c_preproc_warn_flag in '' yes
5164: do
5165: # Use a header file that comes with gcc, so configuring glibc
5166: # with a fresh cross-compiler works.
5167: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168: # <limits.h> exists even on freestanding compilers.
5169: # On the NeXT, cc -E runs the code through the compiler's parser,
5170: # not just through cpp. "Syntax error" is here to catch this case.
5171: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172: /* end confdefs.h. */
5173: #ifdef __STDC__
5174: # include <limits.h>
5175: #else
5176: # include <assert.h>
5177: #endif
5178: Syntax error
5179: _ACEOF
5180: if ac_fn_c_try_cpp "$LINENO"; then :
5181:
5182: else
5183: # Broken: fails on valid input.
5184: continue
5185: fi
5186: rm -f conftest.err conftest.i conftest.$ac_ext
5187:
5188: # OK, works on sane cases. Now check whether nonexistent headers
5189: # can be detected and how.
5190: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191: /* end confdefs.h. */
5192: #include <ac_nonexistent.h>
5193: _ACEOF
5194: if ac_fn_c_try_cpp "$LINENO"; then :
5195: # Broken: success on invalid input.
5196: continue
5197: else
5198: # Passes both tests.
5199: ac_preproc_ok=:
5200: break
5201: fi
5202: rm -f conftest.err conftest.i conftest.$ac_ext
5203:
5204: done
5205: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206: rm -f conftest.i conftest.err conftest.$ac_ext
5207: if $ac_preproc_ok; then :
5208:
5209: else
5210: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5211: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5212: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5213: See \`config.log' for more details" "$LINENO" 5; }
5214: fi
5215:
5216: ac_ext=c
5217: ac_cpp='$CPP $CPPFLAGS'
5218: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221:
5222:
5223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5224: $as_echo_n "checking for X... " >&6; }
5225:
5226:
5227: # Check whether --with-x was given.
5228: if test "${with_x+set}" = set; then :
5229: withval=$with_x;
5230: fi
5231:
5232: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5233: if test "x$with_x" = xno; then
5234: # The user explicitly disabled X.
5235: have_x=disabled
5236: else
5237: case $x_includes,$x_libraries in #(
5238: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5239: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5240: $as_echo_n "(cached) " >&6
5241: else
5242: # One or both of the vars are not set, and there is no cached value.
5243: ac_x_includes=no ac_x_libraries=no
5244: rm -f -r conftest.dir
5245: if mkdir conftest.dir; then
5246: cd conftest.dir
5247: cat >Imakefile <<'_ACEOF'
5248: incroot:
5249: @echo incroot='${INCROOT}'
5250: usrlibdir:
5251: @echo usrlibdir='${USRLIBDIR}'
5252: libdir:
5253: @echo libdir='${LIBDIR}'
5254: _ACEOF
5255: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5256: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5257: for ac_var in incroot usrlibdir libdir; do
5258: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5259: done
5260: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5261: for ac_extension in a so sl dylib la dll; do
5262: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5263: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5264: ac_im_usrlibdir=$ac_im_libdir; break
5265: fi
5266: done
5267: # Screen out bogus values from the imake configuration. They are
5268: # bogus both because they are the default anyway, and because
5269: # using them would break gcc on systems where it needs fixed includes.
5270: case $ac_im_incroot in
5271: /usr/include) ac_x_includes= ;;
5272: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5273: esac
5274: case $ac_im_usrlibdir in
5275: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5276: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5277: esac
5278: fi
5279: cd ..
5280: rm -f -r conftest.dir
5281: fi
5282:
5283: # Standard set of common directories for X headers.
5284: # Check X11 before X11Rn because it is often a symlink to the current release.
5285: ac_x_header_dirs='
5286: /usr/X11/include
5287: /usr/X11R7/include
5288: /usr/X11R6/include
5289: /usr/X11R5/include
5290: /usr/X11R4/include
5291:
5292: /usr/include/X11
5293: /usr/include/X11R7
5294: /usr/include/X11R6
5295: /usr/include/X11R5
5296: /usr/include/X11R4
5297:
5298: /usr/local/X11/include
5299: /usr/local/X11R7/include
5300: /usr/local/X11R6/include
5301: /usr/local/X11R5/include
5302: /usr/local/X11R4/include
5303:
5304: /usr/local/include/X11
5305: /usr/local/include/X11R7
5306: /usr/local/include/X11R6
5307: /usr/local/include/X11R5
5308: /usr/local/include/X11R4
5309:
5310: /usr/X386/include
5311: /usr/x386/include
5312: /usr/XFree86/include/X11
5313:
5314: /usr/include
5315: /usr/local/include
5316: /usr/unsupported/include
5317: /usr/athena/include
5318: /usr/local/x11r5/include
5319: /usr/lpp/Xamples/include
5320:
5321: /usr/openwin/include
5322: /usr/openwin/share/include'
5323:
5324: if test "$ac_x_includes" = no; then
5325: # Guess where to find include files, by looking for Xlib.h.
5326: # First, try using that file with no special directory specified.
5327: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328: /* end confdefs.h. */
5329: #include <X11/Xlib.h>
5330: _ACEOF
5331: if ac_fn_c_try_cpp "$LINENO"; then :
5332: # We can compile using X headers with no special include directory.
5333: ac_x_includes=
5334: else
5335: for ac_dir in $ac_x_header_dirs; do
5336: if test -r "$ac_dir/X11/Xlib.h"; then
5337: ac_x_includes=$ac_dir
5338: break
5339: fi
5340: done
5341: fi
5342: rm -f conftest.err conftest.i conftest.$ac_ext
5343: fi # $ac_x_includes = no
5344:
5345: if test "$ac_x_libraries" = no; then
5346: # Check for the libraries.
5347: # See if we find them without any special options.
5348: # Don't add to $LIBS permanently.
5349: ac_save_LIBS=$LIBS
5350: LIBS="-lX11 $LIBS"
5351: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352: /* end confdefs.h. */
5353: #include <X11/Xlib.h>
5354: int
5355: main ()
5356: {
5357: XrmInitialize ()
5358: ;
5359: return 0;
5360: }
5361: _ACEOF
5362: if ac_fn_c_try_link "$LINENO"; then :
5363: LIBS=$ac_save_LIBS
5364: # We can link X programs with no special library path.
5365: ac_x_libraries=
5366: else
5367: LIBS=$ac_save_LIBS
5368: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5369: do
5370: # Don't even attempt the hair of trying to link an X program!
5371: for ac_extension in a so sl dylib la dll; do
5372: if test -r "$ac_dir/libX11.$ac_extension"; then
5373: ac_x_libraries=$ac_dir
5374: break 2
5375: fi
5376: done
5377: done
5378: fi
5379: rm -f core conftest.err conftest.$ac_objext \
5380: conftest$ac_exeext conftest.$ac_ext
5381: fi # $ac_x_libraries = no
5382:
5383: case $ac_x_includes,$ac_x_libraries in #(
5384: no,* | *,no | *\'*)
5385: # Didn't find X, or a directory has "'" in its name.
5386: ac_cv_have_x="have_x=no";; #(
5387: *)
5388: # Record where we found X for the cache.
5389: ac_cv_have_x="have_x=yes\
5390: ac_x_includes='$ac_x_includes'\
5391: ac_x_libraries='$ac_x_libraries'"
5392: esac
5393: fi
5394: ;; #(
5395: *) have_x=yes;;
5396: esac
5397: eval "$ac_cv_have_x"
5398: fi # $with_x != no
5399:
5400: if test "$have_x" != yes; then
5401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5402: $as_echo "$have_x" >&6; }
5403: no_x=yes
5404: else
5405: # If each of the values was on the command line, it overrides each guess.
5406: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5407: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5408: # Update the cache value to reflect the command line values.
5409: ac_cv_have_x="have_x=yes\
5410: ac_x_includes='$x_includes'\
5411: ac_x_libraries='$x_libraries'"
5412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5413: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5414: fi
5415:
5416: if test "$no_x" = yes; then
5417: # Not all programs may use this symbol, but it does not hurt to define it.
5418:
5419: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5420:
5421: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5422: else
5423: if test -n "$x_includes"; then
5424: X_CFLAGS="$X_CFLAGS -I$x_includes"
5425: fi
5426:
5427: # It would also be nice to do this for all -L options, not just this one.
5428: if test -n "$x_libraries"; then
5429: X_LIBS="$X_LIBS -L$x_libraries"
5430: # For Solaris; some versions of Sun CC require a space after -R and
5431: # others require no space. Words are not sufficient . . . .
5432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5433: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5434: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5435: ac_xsave_c_werror_flag=$ac_c_werror_flag
5436: ac_c_werror_flag=yes
5437: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438: /* end confdefs.h. */
5439:
5440: int
5441: main ()
5442: {
5443:
5444: ;
5445: return 0;
5446: }
5447: _ACEOF
5448: if ac_fn_c_try_link "$LINENO"; then :
5449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450: $as_echo "no" >&6; }
5451: X_LIBS="$X_LIBS -R$x_libraries"
5452: else
5453: LIBS="$ac_xsave_LIBS -R $x_libraries"
5454: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455: /* end confdefs.h. */
5456:
5457: int
5458: main ()
5459: {
5460:
5461: ;
5462: return 0;
5463: }
5464: _ACEOF
5465: if ac_fn_c_try_link "$LINENO"; then :
5466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5467: $as_echo "yes" >&6; }
5468: X_LIBS="$X_LIBS -R $x_libraries"
5469: else
5470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5471: $as_echo "neither works" >&6; }
5472: fi
5473: rm -f core conftest.err conftest.$ac_objext \
5474: conftest$ac_exeext conftest.$ac_ext
5475: fi
5476: rm -f core conftest.err conftest.$ac_objext \
5477: conftest$ac_exeext conftest.$ac_ext
5478: ac_c_werror_flag=$ac_xsave_c_werror_flag
5479: LIBS=$ac_xsave_LIBS
5480: fi
5481:
5482: # Check for system-dependent libraries X programs must link with.
5483: # Do this before checking for the system-independent R6 libraries
5484: # (-lICE), since we may need -lsocket or whatever for X linking.
5485:
5486: if test "$ISC" = yes; then
5487: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5488: else
5489: # Martyn Johnson says this is needed for Ultrix, if the X
5490: # libraries were built with DECnet support. And Karl Berry says
5491: # the Alpha needs dnet_stub (dnet does not exist).
5492: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5493: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494: /* end confdefs.h. */
5495:
5496: /* Override any GCC internal prototype to avoid an error.
5497: Use char because int might match the return type of a GCC
5498: builtin and then its argument prototype would still apply. */
5499: #ifdef __cplusplus
5500: extern "C"
5501: #endif
5502: char XOpenDisplay ();
5503: int
5504: main ()
5505: {
5506: return XOpenDisplay ();
5507: ;
5508: return 0;
5509: }
5510: _ACEOF
5511: if ac_fn_c_try_link "$LINENO"; then :
5512:
5513: else
5514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5515: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5516: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5517: $as_echo_n "(cached) " >&6
5518: else
5519: ac_check_lib_save_LIBS=$LIBS
5520: LIBS="-ldnet $LIBS"
5521: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522: /* end confdefs.h. */
5523:
5524: /* Override any GCC internal prototype to avoid an error.
5525: Use char because int might match the return type of a GCC
5526: builtin and then its argument prototype would still apply. */
5527: #ifdef __cplusplus
5528: extern "C"
5529: #endif
5530: char dnet_ntoa ();
5531: int
5532: main ()
5533: {
5534: return dnet_ntoa ();
5535: ;
5536: return 0;
5537: }
5538: _ACEOF
5539: if ac_fn_c_try_link "$LINENO"; then :
5540: ac_cv_lib_dnet_dnet_ntoa=yes
5541: else
5542: ac_cv_lib_dnet_dnet_ntoa=no
5543: fi
5544: rm -f core conftest.err conftest.$ac_objext \
5545: conftest$ac_exeext conftest.$ac_ext
5546: LIBS=$ac_check_lib_save_LIBS
5547: fi
5548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5549: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5550: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5551: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5552: fi
5553:
5554: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5556: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5557: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5558: $as_echo_n "(cached) " >&6
5559: else
5560: ac_check_lib_save_LIBS=$LIBS
5561: LIBS="-ldnet_stub $LIBS"
5562: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563: /* end confdefs.h. */
5564:
5565: /* Override any GCC internal prototype to avoid an error.
5566: Use char because int might match the return type of a GCC
5567: builtin and then its argument prototype would still apply. */
5568: #ifdef __cplusplus
5569: extern "C"
5570: #endif
5571: char dnet_ntoa ();
5572: int
5573: main ()
5574: {
5575: return dnet_ntoa ();
5576: ;
5577: return 0;
5578: }
5579: _ACEOF
5580: if ac_fn_c_try_link "$LINENO"; then :
5581: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5582: else
5583: ac_cv_lib_dnet_stub_dnet_ntoa=no
5584: fi
5585: rm -f core conftest.err conftest.$ac_objext \
5586: conftest$ac_exeext conftest.$ac_ext
5587: LIBS=$ac_check_lib_save_LIBS
5588: fi
5589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5590: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5591: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5592: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5593: fi
5594:
5595: fi
5596: fi
5597: rm -f core conftest.err conftest.$ac_objext \
5598: conftest$ac_exeext conftest.$ac_ext
5599: LIBS="$ac_xsave_LIBS"
5600:
5601: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5602: # to get the SysV transport functions.
5603: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5604: # needs -lnsl.
5605: # The nsl library prevents programs from opening the X display
5606: # on Irix 5.2, according to T.E. Dickey.
5607: # The functions gethostbyname, getservbyname, and inet_addr are
5608: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5609: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5610: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5611:
5612: fi
5613:
5614: if test $ac_cv_func_gethostbyname = no; then
5615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5616: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5617: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5618: $as_echo_n "(cached) " >&6
5619: else
5620: ac_check_lib_save_LIBS=$LIBS
5621: LIBS="-lnsl $LIBS"
5622: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623: /* end confdefs.h. */
5624:
5625: /* Override any GCC internal prototype to avoid an error.
5626: Use char because int might match the return type of a GCC
5627: builtin and then its argument prototype would still apply. */
5628: #ifdef __cplusplus
5629: extern "C"
5630: #endif
5631: char gethostbyname ();
5632: int
5633: main ()
5634: {
5635: return gethostbyname ();
5636: ;
5637: return 0;
5638: }
5639: _ACEOF
5640: if ac_fn_c_try_link "$LINENO"; then :
5641: ac_cv_lib_nsl_gethostbyname=yes
5642: else
5643: ac_cv_lib_nsl_gethostbyname=no
5644: fi
5645: rm -f core conftest.err conftest.$ac_objext \
5646: conftest$ac_exeext conftest.$ac_ext
5647: LIBS=$ac_check_lib_save_LIBS
5648: fi
5649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5650: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5651: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5652: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5653: fi
5654:
5655: if test $ac_cv_lib_nsl_gethostbyname = no; then
5656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5657: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5658: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5659: $as_echo_n "(cached) " >&6
5660: else
5661: ac_check_lib_save_LIBS=$LIBS
5662: LIBS="-lbsd $LIBS"
5663: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664: /* end confdefs.h. */
5665:
5666: /* Override any GCC internal prototype to avoid an error.
5667: Use char because int might match the return type of a GCC
5668: builtin and then its argument prototype would still apply. */
5669: #ifdef __cplusplus
5670: extern "C"
5671: #endif
5672: char gethostbyname ();
5673: int
5674: main ()
5675: {
5676: return gethostbyname ();
5677: ;
5678: return 0;
5679: }
5680: _ACEOF
5681: if ac_fn_c_try_link "$LINENO"; then :
5682: ac_cv_lib_bsd_gethostbyname=yes
5683: else
5684: ac_cv_lib_bsd_gethostbyname=no
5685: fi
5686: rm -f core conftest.err conftest.$ac_objext \
5687: conftest$ac_exeext conftest.$ac_ext
5688: LIBS=$ac_check_lib_save_LIBS
5689: fi
5690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5691: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5692: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5693: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5694: fi
5695:
5696: fi
5697: fi
5698:
5699: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5700: # socket/setsockopt and other routines are undefined under SCO ODT
5701: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5702: # on later versions), says Simon Leinen: it contains gethostby*
5703: # variants that don't use the name server (or something). -lsocket
5704: # must be given before -lnsl if both are needed. We assume that
5705: # if connect needs -lnsl, so does gethostbyname.
5706: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5707: if test "x$ac_cv_func_connect" = xyes; then :
5708:
5709: fi
5710:
5711: if test $ac_cv_func_connect = no; then
5712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5713: $as_echo_n "checking for connect in -lsocket... " >&6; }
5714: if ${ac_cv_lib_socket_connect+:} false; then :
5715: $as_echo_n "(cached) " >&6
5716: else
5717: ac_check_lib_save_LIBS=$LIBS
5718: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5719: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5720: /* end confdefs.h. */
5721:
5722: /* Override any GCC internal prototype to avoid an error.
5723: Use char because int might match the return type of a GCC
5724: builtin and then its argument prototype would still apply. */
5725: #ifdef __cplusplus
5726: extern "C"
5727: #endif
5728: char connect ();
5729: int
5730: main ()
5731: {
5732: return connect ();
5733: ;
5734: return 0;
5735: }
5736: _ACEOF
5737: if ac_fn_c_try_link "$LINENO"; then :
5738: ac_cv_lib_socket_connect=yes
5739: else
5740: ac_cv_lib_socket_connect=no
5741: fi
5742: rm -f core conftest.err conftest.$ac_objext \
5743: conftest$ac_exeext conftest.$ac_ext
5744: LIBS=$ac_check_lib_save_LIBS
5745: fi
5746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5747: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5748: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5749: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5750: fi
5751:
5752: fi
5753:
5754: # Guillermo Gomez says -lposix is necessary on A/UX.
5755: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5756: if test "x$ac_cv_func_remove" = xyes; then :
5757:
5758: fi
5759:
5760: if test $ac_cv_func_remove = no; then
5761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5762: $as_echo_n "checking for remove in -lposix... " >&6; }
5763: if ${ac_cv_lib_posix_remove+:} false; then :
5764: $as_echo_n "(cached) " >&6
5765: else
5766: ac_check_lib_save_LIBS=$LIBS
5767: LIBS="-lposix $LIBS"
5768: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769: /* end confdefs.h. */
5770:
5771: /* Override any GCC internal prototype to avoid an error.
5772: Use char because int might match the return type of a GCC
5773: builtin and then its argument prototype would still apply. */
5774: #ifdef __cplusplus
5775: extern "C"
5776: #endif
5777: char remove ();
5778: int
5779: main ()
5780: {
5781: return remove ();
5782: ;
5783: return 0;
5784: }
5785: _ACEOF
5786: if ac_fn_c_try_link "$LINENO"; then :
5787: ac_cv_lib_posix_remove=yes
5788: else
5789: ac_cv_lib_posix_remove=no
5790: fi
5791: rm -f core conftest.err conftest.$ac_objext \
5792: conftest$ac_exeext conftest.$ac_ext
5793: LIBS=$ac_check_lib_save_LIBS
5794: fi
5795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5796: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5797: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5798: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5799: fi
5800:
5801: fi
5802:
5803: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5804: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5805: if test "x$ac_cv_func_shmat" = xyes; then :
5806:
5807: fi
5808:
5809: if test $ac_cv_func_shmat = no; then
5810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5811: $as_echo_n "checking for shmat in -lipc... " >&6; }
5812: if ${ac_cv_lib_ipc_shmat+:} false; then :
5813: $as_echo_n "(cached) " >&6
5814: else
5815: ac_check_lib_save_LIBS=$LIBS
5816: LIBS="-lipc $LIBS"
5817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5818: /* end confdefs.h. */
5819:
5820: /* Override any GCC internal prototype to avoid an error.
5821: Use char because int might match the return type of a GCC
5822: builtin and then its argument prototype would still apply. */
5823: #ifdef __cplusplus
5824: extern "C"
5825: #endif
5826: char shmat ();
5827: int
5828: main ()
5829: {
5830: return shmat ();
5831: ;
5832: return 0;
5833: }
5834: _ACEOF
5835: if ac_fn_c_try_link "$LINENO"; then :
5836: ac_cv_lib_ipc_shmat=yes
5837: else
5838: ac_cv_lib_ipc_shmat=no
5839: fi
5840: rm -f core conftest.err conftest.$ac_objext \
5841: conftest$ac_exeext conftest.$ac_ext
5842: LIBS=$ac_check_lib_save_LIBS
5843: fi
5844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5845: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5846: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5847: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5848: fi
5849:
5850: fi
5851: fi
5852:
5853: # Check for libraries that X11R6 Xt/Xaw programs need.
5854: ac_save_LDFLAGS=$LDFLAGS
5855: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5856: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5857: # check for ICE first), but we must link in the order -lSM -lICE or
5858: # we get undefined symbols. So assume we have SM if we have ICE.
5859: # These have to be linked with before -lX11, unlike the other
5860: # libraries we check for below, so use a different variable.
5861: # John Interrante, Karl Berry
5862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5863: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5864: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5865: $as_echo_n "(cached) " >&6
5866: else
5867: ac_check_lib_save_LIBS=$LIBS
5868: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5869: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870: /* end confdefs.h. */
5871:
5872: /* Override any GCC internal prototype to avoid an error.
5873: Use char because int might match the return type of a GCC
5874: builtin and then its argument prototype would still apply. */
5875: #ifdef __cplusplus
5876: extern "C"
5877: #endif
5878: char IceConnectionNumber ();
5879: int
5880: main ()
5881: {
5882: return IceConnectionNumber ();
5883: ;
5884: return 0;
5885: }
5886: _ACEOF
5887: if ac_fn_c_try_link "$LINENO"; then :
5888: ac_cv_lib_ICE_IceConnectionNumber=yes
5889: else
5890: ac_cv_lib_ICE_IceConnectionNumber=no
5891: fi
5892: rm -f core conftest.err conftest.$ac_objext \
5893: conftest$ac_exeext conftest.$ac_ext
5894: LIBS=$ac_check_lib_save_LIBS
5895: fi
5896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5897: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5898: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5899: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5900: fi
5901:
5902: LDFLAGS=$ac_save_LDFLAGS
5903:
5904: fi
5905:
5906:
5907: if test "$ac_x_includes" != "no"; then
5908: if test x"$ac_x_includes" != x; then
5909: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5910: includeX="-I$ac_x_includes"
5911: fi
5912: fi
5913: if test "$ac_x_libraries" != "no"; then
5914: if test x"$ac_x_libraries" != x; then
5915: X_LIBS="$X_LIBS -L$ac_x_libraries"
5916: fi
5917: fi
5918:
5919:
5920: # Check whether --with-32bits-abi was given.
5921: if test "${with_32bits_abi+set}" = set; then :
5922: withval=$with_32bits_abi;
5923: if test "$with-32bits-abi" = "no"; then
5924: ABI=
5925: else
5926: ABI=-m32
5927: fi
5928: else
5929:
5930: ABI=
5931:
5932:
5933: fi
5934:
5935:
5936: if test x$ABI = x; then
5937:
5938: # Check whether --with-64bits-abi was given.
5939: if test "${with_64bits_abi+set}" = set; then :
5940: withval=$with_64bits_abi;
5941: if test "$with-64bits-abi" = "no"; then
5942: ABI=
5943: else
5944: ABI=-m64
5945: fi
5946: else
5947:
5948: ABI=
5949:
5950:
5951: fi
5952:
5953: fi
5954:
5955: LDFLAGS="$LDFLAGS $ABI"
5956:
5957:
5958: # Check whether --with-rpltools was given.
5959: if test "${with_rpltools+set}" = set; then :
5960: withval=$with_rpltools;
5961: if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then
5962: as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5
5963: else
5964: RPLTOOLS=$with_rpltools
5965: fi
5966: else
5967:
5968: RPLTOOLS=\$\(top_builddir\)
5969:
5970:
5971: fi
5972:
5973:
5974:
5975:
5976: # Check whether --enable-rplcas was given.
5977: if test "${enable_rplcas+set}" = set; then :
5978: enableval=$enable_rplcas;
5979: if test "$enableval" = "no"; then
5980: RPLCAS=-URPLCAS
5981: LIBRPLCAS=
5982: else
5983: RPLCAS=-DRPLCAS
5984: LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
5985: fi
5986: else
5987:
5988: RPLCAS=-URPLCAS
5989: LIBRPLCAS=
5990:
5991:
5992: fi
5993:
5994:
5995:
5996:
5997:
5998:
5999: # Check whether --enable-shared-memory was given.
6000: if test "${enable_shared_memory+set}" = set; then :
6001: enableval=$enable_shared_memory;
6002: if test "$enableval" = "no"; then
6003: SHARED_MEMORY="-USHARED_MEMORY"
6004: else
6005: SHARED_MEMORY="-DSHARED_MEMORY"
6006: fi
6007: else
6008:
6009: SHARED_MEMORY="-USHARED_MEMORY"
6010: fi
6011:
6012:
6013:
6014:
6015: # Check whether --enable-optimization was given.
6016: if test "${enable_optimization+set}" = set; then :
6017: enableval=$enable_optimization;
6018: if test "$enableval" = "no"; then
6019: CFLAGS=$ABI
6020: FFLAGS=$ABI
6021: CXXFLAGS=$ABI
6022: FCFLAGS=$ABI
6023: else
6024: CFLAGS="$CFLAGS $ABI $enable_optimization"
6025: FFLAGS="$FFLAGS $ABI $enable_optimization"
6026: CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
6027: FCFLAGS="$FCFLAGS $ABI $enable_optimization"
6028: fi
6029: else
6030:
6031: CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
6032: FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
6033: CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
6034: FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
6035:
6036:
6037: fi
6038:
6039:
6040: # Check whether --enable-sysv-ipcs was given.
6041: if test "${enable_sysv_ipcs+set}" = set; then :
6042: enableval=$enable_sysv_ipcs;
6043: if test "$enableval" = "no"; then
6044: IPCS_SYSV=-UIPCS_SYSV
6045: POSIX_IPCS=no
6046: else
6047: IPCS_SYSV=-DIPCS_SYSV
6048: POSIX_IPCS=yes
6049: fi
6050: else
6051: REG=$LDFLAGS
6052: POSIX_IPCS=guessed
6053: LDFLAGS=-lrt
6054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
6055: $as_echo_n "checking for POSIX semaphores and shared objects... " >&6; }
6056: if test "$cross_compiling" = yes; then :
6057: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6058: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6059: as_fn_error $? "cannot run test program while cross compiling
6060: See \`config.log' for more details" "$LINENO" 5; }
6061: else
6062: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063: /* end confdefs.h. */
6064: #include <sys/mman.h>
6065: #include <sys/stat.h>
6066: #include <fcntl.h>
6067:
6068: int
6069: main ()
6070: {
6071: int fd; char *sem = "/test";
6072: fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
6073: close(fd);
6074: shm_unlink(sem);
6075: fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
6076: close(fd);
6077: sem_unlink(sem);
6078: return(0);
6079:
6080: ;
6081: return 0;
6082: }
6083: _ACEOF
6084: if ac_fn_c_try_run "$LINENO"; then :
6085: IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6086: $as_echo "yes" >&6; }
6087: else
6088: IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089: $as_echo "no" >&6; }
6090:
6091: fi
6092: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6093: conftest.$ac_objext conftest.beam conftest.$ac_ext
6094: fi
6095:
6096: LDFLAGS=$REG
6097:
6098: fi
6099:
6100:
6101: if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
6102: REG=$LDFLAGS
6103: LDFLAGS=-pthread
6104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
6105: $as_echo_n "checking for POSIX anonymous semaphores... " >&6; }
6106: if test "$cross_compiling" = yes; then :
6107: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6108: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6109: as_fn_error $? "cannot run test program while cross compiling
6110: See \`config.log' for more details" "$LINENO" 5; }
6111: else
6112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113: /* end confdefs.h. */
6114: #include <semaphore.h>
6115:
6116: int
6117: main ()
6118: {
6119: sem_t sem;
6120: if (sem_init(&sem, 1, 0) != 0) return(1);
6121: sem_destroy(&sem);
6122: return(0);
6123:
6124: ;
6125: return 0;
6126: }
6127: _ACEOF
6128: if ac_fn_c_try_run "$LINENO"; then :
6129: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130: $as_echo "yes" >&6; }
6131: else
6132: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133: $as_echo "no" >&6; }
6134:
6135: fi
6136: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6137: conftest.$ac_objext conftest.beam conftest.$ac_ext
6138: fi
6139:
6140: LDFLAGS=$REG
6141: REG=""
6142: else
6143: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
6144: fi
6145:
6146: # Check whether --enable-full-static was given.
6147: if test "${enable_full_static+set}" = set; then :
6148: enableval=$enable_full_static;
6149: if test "$enableval" = "no"; then
6150: STATIC=no
6151: else
6152: STATIC=yes
6153: fi
6154: else
6155: STATIC=no
6156: fi
6157:
6158:
6159: # Check whether --enable-final-encoding was given.
6160: if test "${enable_final_encoding+set}" = set; then :
6161: enableval=$enable_final_encoding;
6162: if test "$enableval" = "no"; then
6163: FINAL_ENCODING="\$(shell locale charmap | \
6164: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
6165: FORCED_FINAL_ENCODING=0
6166: else
6167: FINAL_ENCODING="$enable_final_encoding"
6168: FORCED_FINAL_ENCODING=1
6169: fi
6170: else
6171:
6172: FORCED_FINAL_ENCODING=0
6173: FINAL_ENCODING="\$(shell locale charmap | \
6174: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
6175: fi
6176:
6177:
6178: # Check whether --enable-tex was given.
6179: if test "${enable_tex+set}" = set; then :
6180: enableval=$enable_tex;
6181: if test "$enableval" = "no"; then
6182: TEX_SUPPORT=no
6183: else
6184: TEX_SUPPORT=yes
6185: fi
6186: else
6187: TEX_SUPPORT=guessed
6188: fi
6189:
6190:
6191: # Check whether --enable-vim was given.
6192: if test "${enable_vim+set}" = set; then :
6193: enableval=$enable_vim;
6194: if test "$enableval" = "no"; then
6195: VIM_SUPPORT=no
6196: else
6197: VIM_SUPPORT=yes
6198: fi
6199: else
6200: VIM_SUPPORT=guessed
6201: fi
6202:
6203:
6204: # Check whether --enable-embedded-gnuplot was given.
6205: if test "${enable_embedded_gnuplot+set}" = set; then :
6206: enableval=$enable_embedded_gnuplot;
6207: if test "$enableval" = "no"; then
6208: MYGNUPLOT=no
6209: else
6210: MYGNUPLOT=yes
6211: fi
6212: else
6213:
6214: MYGNUPLOT=yes
6215: fi
6216:
6217:
6218: # Check whether --enable-gnuplot was given.
6219: if test "${enable_gnuplot+set}" = set; then :
6220: enableval=$enable_gnuplot;
6221: if test "$enableval" = "no"; then
6222: GNUPLOT_SUPPORT=no
6223: MYGNUPLOT=no
6224: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6225: else
6226: GNUPLOT_SUPPORT=yes
6227: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6228: fi
6229: else
6230:
6231: if test "$MYGNUPLOT" = "yes"; then
6232: GNUPLOT_SUPPORT=yes
6233: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6234: else
6235: GNUPLOT_SUPPORT=guessed
6236: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6237: fi
6238: fi
6239:
6240:
6241: libX=""
6242: LIBMOTIF=""
6243: INCMOTIF=""
6244: BUILD_OPENMOTIF=""
6245:
6246: # Check whether --enable-motif was given.
6247: if test "${enable_motif+set}" = set; then :
6248: enableval=$enable_motif;
6249: if test "$enableval" = "no"; then
6250: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6251: else
6252: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6253: fi
6254: else
6255: if test "$have_x" == "yes"; then
6256: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6257: else
6258: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6259: fi
6260: fi
6261:
6262:
6263: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6264: libX="$X_LIBS -lXt -lX11"
6265: LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
6266: \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
6267: INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
6268: -I\$(top_builddir)/tools/$OPENMOTIF/lib \
6269: -I\$(top_builddir)/tools/$LIBXPM/include"
6270: BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
6271:
6272:
6273: subdirs="$subdirs tools/$LIBXPM"
6274:
6275: subdirs="$subdirs tools/$OPENMOTIF"
6276:
6277: fi
6278:
6279: # Check whether --enable-experimental was given.
6280: if test "${enable_experimental+set}" = set; then :
6281: enableval=$enable_experimental;
6282: if test "$enableval" = "no"; then
6283: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6284: else
6285: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6286: fi
6287: else
6288: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6289: fi
6290:
6291:
6292: # Check whether --enable-debug was given.
6293: if test "${enable_debug+set}" = set; then :
6294: enableval=$enable_debug;
6295: if test "$enableval" = "no"; then
6296: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6297: else
6298: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6299: fi
6300: else
6301: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6302: fi
6303:
6304:
6305: # Check whether --enable-profile was given.
6306: if test "${enable_profile+set}" = set; then :
6307: enableval=$enable_profile;
6308: if test "$enableval" = "no"; then
6309: PROFILAGE=""
6310: else
6311: PROFILAGE="-pg"
6312: fi
6313: else
6314: PROFILAGE=""
6315: fi
6316:
6317:
6318:
6319:
6320: if test ! -d tools; then
6321: mkdir tools
6322: fi
6323: if test ! -d "$srcdir"/tools/$NCURSES; then
6324: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6325: (cd "$srcdir/tools" && tar -xf -)
6326: (cd "$srcdir/tools/"$NCURSES && \
6327: for i in ../$NCURSES*.patch.gz;
6328: do gunzip -c $i | patch -p1;
6329: done);
6330: fi
6331: if test ! -d "$srcdir"/tools/$READLINE; then
6332: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6333: (cd "$srcdir/tools" && tar -xf -)
6334: fi
6335: if test ! -d "$srcdir"/tools/$UNITS; then
6336: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6337: (cd "$srcdir/tools" && tar -xf -)
6338: fi
6339: if test ! -d "$srcdir"/tools/$GSL; then
6340: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6341: (cd "$srcdir/tools" && tar -xf -)
6342: if test $(uname) = "OS/2"; then
6343: (cd "$srcdir"/tools/$GSL; \
6344: TMP=$(mktemp tmp.XXXXXXXXXX); \
6345: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6346: \mv -f $TMP ltmain.sh)
6347: fi
6348: fi
6349: if test ! -d "$srcdir"/tools/$GPP; then
6350: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6351: (cd "$srcdir/tools" && tar -xf -)
6352: fi
6353: if test ! -d "$srcdir"/tools/$FILE; then
6354: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6355: (cd "$srcdir/tools" && tar -xf - )
6356: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6357: fi
6358: if test ! -d "$srcdir"/tools/$ICONV; then
6359: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6360: (cd "$srcdir/tools" && tar -xf -)
6361: fi
6362: if test ! -d "$srcdir"/tools/$SQLITE; then
6363: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6364: (cd "$srcdir/tools" && tar -xf -)
6365: fi
6366: if test ! -d "$srcdir"/tools/$SIGSEGV; then
6367: gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
6368: (cd "$srcdir/tools" && tar -xf -)
6369: fi
6370: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
6371: gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
6372: (cd "$srcdir/tools" && tar -xf -)
6373: fi
6374: if test ! -d "$srcdir"/tools/$LIBXPM; then
6375: gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
6376: (cd "$srcdir/tools" && tar -xf -)
6377: fi
6378: if test ! -d tools/$OPENSSL; then
6379: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6380: (cd tools && tar -xf -)
6381: fi
6382: if test ! -d rplcas; then
6383: mkdir rplcas
6384: fi
6385: if test ! -d "$srcdir"/rplcas/$GMP; then
6386: gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
6387: (cd "$srcdir/rplcas" && tar -xf -)
6388: fi
6389: if test ! -d "$srcdir"/rplcas/$MPFR; then
6390: gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
6391: (cd "$srcdir/rplcas" && tar -xf -)
6392: fi
6393: if test ! -d rplcas/$NTL; then
6394: gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
6395: (cd rplcas && tar -xf -)
6396: fi
6397: if test ! -d rplcas/$COCOA; then
6398: gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
6399: (cd rplcas && tar -xf -)
6400: fi
6401: if test ! -d rplcas/$PARI; then
6402: gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
6403: (cd rplcas && tar -xf -)
6404: fi
6405: if test ! -d "$srcdir"/rplcas/$GIAC; then
6406: gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
6407: (cd "$srcdir/rplcas" && tar -xf -)
6408: fi
6409:
6410: touch tools/openmotif.lib
6411:
6412:
6413:
6414: # Check whether --enable-final-run-path was given.
6415: if test "${enable_final_run_path+set}" = set; then :
6416: enableval=$enable_final_run_path;
6417: if test "x$enable_final_run_path" = "x"; then
6418: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6419: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6420: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6421: else
6422: RUNPATH="$enable_final_run_path"
6423: fi
6424:
6425: else
6426: RUNPATH="\${prefix}"
6427:
6428: fi
6429:
6430:
6431:
6432:
6433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6434: $as_echo_n "checking whether ln -s works... " >&6; }
6435: LN_S=$as_ln_s
6436: if test "$LN_S" = "ln -s"; then
6437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6438: $as_echo "yes" >&6; }
6439: else
6440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6441: $as_echo "no, using $LN_S" >&6; }
6442: fi
6443:
6444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6445: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6446: set x ${MAKE-make}
6447: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6448: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6449: $as_echo_n "(cached) " >&6
6450: else
6451: cat >conftest.make <<\_ACEOF
6452: SHELL = /bin/sh
6453: all:
6454: @echo '@@@%%%=$(MAKE)=@@@%%%'
6455: _ACEOF
6456: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6457: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6458: *@@@%%%=?*=@@@%%%*)
6459: eval ac_cv_prog_make_${ac_make}_set=yes;;
6460: *)
6461: eval ac_cv_prog_make_${ac_make}_set=no;;
6462: esac
6463: rm -f conftest.make
6464: fi
6465: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6467: $as_echo "yes" >&6; }
6468: SET_MAKE=
6469: else
6470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471: $as_echo "no" >&6; }
6472: SET_MAKE="MAKE=${MAKE-make}"
6473: fi
6474:
6475: if test -n "$ac_tool_prefix"; then
6476: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6477: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479: $as_echo_n "checking for $ac_word... " >&6; }
6480: if ${ac_cv_prog_RANLIB+:} false; then :
6481: $as_echo_n "(cached) " >&6
6482: else
6483: if test -n "$RANLIB"; then
6484: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6485: else
6486: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487: for as_dir in $PATH
6488: do
6489: IFS=$as_save_IFS
6490: test -z "$as_dir" && as_dir=.
6491: for ac_exec_ext in '' $ac_executable_extensions; do
6492: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6494: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495: break 2
6496: fi
6497: done
6498: done
6499: IFS=$as_save_IFS
6500:
6501: fi
6502: fi
6503: RANLIB=$ac_cv_prog_RANLIB
6504: if test -n "$RANLIB"; then
6505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6506: $as_echo "$RANLIB" >&6; }
6507: else
6508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509: $as_echo "no" >&6; }
6510: fi
6511:
6512:
6513: fi
6514: if test -z "$ac_cv_prog_RANLIB"; then
6515: ac_ct_RANLIB=$RANLIB
6516: # Extract the first word of "ranlib", so it can be a program name with args.
6517: set dummy ranlib; ac_word=$2
6518: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6519: $as_echo_n "checking for $ac_word... " >&6; }
6520: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6521: $as_echo_n "(cached) " >&6
6522: else
6523: if test -n "$ac_ct_RANLIB"; then
6524: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6525: else
6526: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527: for as_dir in $PATH
6528: do
6529: IFS=$as_save_IFS
6530: test -z "$as_dir" && as_dir=.
6531: for ac_exec_ext in '' $ac_executable_extensions; do
6532: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6533: ac_cv_prog_ac_ct_RANLIB="ranlib"
6534: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6535: break 2
6536: fi
6537: done
6538: done
6539: IFS=$as_save_IFS
6540:
6541: fi
6542: fi
6543: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6544: if test -n "$ac_ct_RANLIB"; then
6545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6546: $as_echo "$ac_ct_RANLIB" >&6; }
6547: else
6548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6549: $as_echo "no" >&6; }
6550: fi
6551:
6552: if test "x$ac_ct_RANLIB" = x; then
6553: RANLIB=":"
6554: else
6555: case $cross_compiling:$ac_tool_warned in
6556: yes:)
6557: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6558: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6559: ac_tool_warned=yes ;;
6560: esac
6561: RANLIB=$ac_ct_RANLIB
6562: fi
6563: else
6564: RANLIB="$ac_cv_prog_RANLIB"
6565: fi
6566:
6567:
6568: # Extract the first word of "nawk", so it can be a program name with args.
6569: set dummy nawk; ac_word=$2
6570: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571: $as_echo_n "checking for $ac_word... " >&6; }
6572: if ${ac_cv_prog_AWK+:} false; then :
6573: $as_echo_n "(cached) " >&6
6574: else
6575: if test -n "$AWK"; then
6576: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6577: else
6578: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579: for as_dir in $PATH
6580: do
6581: IFS=$as_save_IFS
6582: test -z "$as_dir" && as_dir=.
6583: for ac_exec_ext in '' $ac_executable_extensions; do
6584: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6585: ac_cv_prog_AWK="yes"
6586: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6587: break 2
6588: fi
6589: done
6590: done
6591: IFS=$as_save_IFS
6592:
6593: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6594: fi
6595: fi
6596: AWK=$ac_cv_prog_AWK
6597: if test -n "$AWK"; then
6598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6599: $as_echo "$AWK" >&6; }
6600: else
6601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602: $as_echo "no" >&6; }
6603: fi
6604:
6605:
6606: if test "$AWK" = no; then
6607: # Extract the first word of "gawk", so it can be a program name with args.
6608: set dummy gawk; ac_word=$2
6609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610: $as_echo_n "checking for $ac_word... " >&6; }
6611: if ${ac_cv_prog_AWK+:} false; then :
6612: $as_echo_n "(cached) " >&6
6613: else
6614: if test -n "$AWK"; then
6615: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6616: else
6617: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618: for as_dir in $PATH
6619: do
6620: IFS=$as_save_IFS
6621: test -z "$as_dir" && as_dir=.
6622: for ac_exec_ext in '' $ac_executable_extensions; do
6623: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624: ac_cv_prog_AWK="yes"
6625: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626: break 2
6627: fi
6628: done
6629: done
6630: IFS=$as_save_IFS
6631:
6632: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6633: fi
6634: fi
6635: AWK=$ac_cv_prog_AWK
6636: if test -n "$AWK"; then
6637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6638: $as_echo "$AWK" >&6; }
6639: else
6640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641: $as_echo "no" >&6; }
6642: fi
6643:
6644:
6645: if test "$AWK" = no; then
6646: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6647: fi
6648: fi
6649:
6650: # Extract the first word of "sed", so it can be a program name with args.
6651: set dummy sed; ac_word=$2
6652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653: $as_echo_n "checking for $ac_word... " >&6; }
6654: if ${ac_cv_prog_SED+:} false; then :
6655: $as_echo_n "(cached) " >&6
6656: else
6657: if test -n "$SED"; then
6658: ac_cv_prog_SED="$SED" # Let the user override the test.
6659: else
6660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661: for as_dir in $PATH
6662: do
6663: IFS=$as_save_IFS
6664: test -z "$as_dir" && as_dir=.
6665: for ac_exec_ext in '' $ac_executable_extensions; do
6666: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6667: ac_cv_prog_SED="yes"
6668: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669: break 2
6670: fi
6671: done
6672: done
6673: IFS=$as_save_IFS
6674:
6675: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6676: fi
6677: fi
6678: SED=$ac_cv_prog_SED
6679: if test -n "$SED"; then
6680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6681: $as_echo "$SED" >&6; }
6682: else
6683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684: $as_echo "no" >&6; }
6685: fi
6686:
6687:
6688: if test "$SED" = no; then
6689: as_fn_error $? "Can not find sed !" "$LINENO" 5
6690: fi
6691:
6692: if test "$TEX_SUPPORT" = guessed; then
6693: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6694:
6695: # Extract the first word of "tex", so it can be a program name with args.
6696: set dummy tex; ac_word=$2
6697: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698: $as_echo_n "checking for $ac_word... " >&6; }
6699: if ${ac_cv_prog_TEX+:} false; then :
6700: $as_echo_n "(cached) " >&6
6701: else
6702: if test -n "$TEX"; then
6703: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6704: else
6705: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706: for as_dir in $PATH
6707: do
6708: IFS=$as_save_IFS
6709: test -z "$as_dir" && as_dir=.
6710: for ac_exec_ext in '' $ac_executable_extensions; do
6711: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6712: ac_cv_prog_TEX="yes"
6713: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714: break 2
6715: fi
6716: done
6717: done
6718: IFS=$as_save_IFS
6719:
6720: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6721: fi
6722: fi
6723: TEX=$ac_cv_prog_TEX
6724: if test -n "$TEX"; then
6725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6726: $as_echo "$TEX" >&6; }
6727: else
6728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729: $as_echo "no" >&6; }
6730: fi
6731:
6732:
6733: if test "$TEX" = no; then
6734: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6735: Download at http://tex.loria.fr/
6736: " >&5
6737: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6738: Download at http://tex.loria.fr/
6739: " >&2;}
6740: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6741: fi
6742:
6743: # Extract the first word of "latex", so it can be a program name with args.
6744: set dummy latex; ac_word=$2
6745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746: $as_echo_n "checking for $ac_word... " >&6; }
6747: if ${ac_cv_prog_LATEX+:} false; then :
6748: $as_echo_n "(cached) " >&6
6749: else
6750: if test -n "$LATEX"; then
6751: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6752: else
6753: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754: for as_dir in $PATH
6755: do
6756: IFS=$as_save_IFS
6757: test -z "$as_dir" && as_dir=.
6758: for ac_exec_ext in '' $ac_executable_extensions; do
6759: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760: ac_cv_prog_LATEX="yes"
6761: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762: break 2
6763: fi
6764: done
6765: done
6766: IFS=$as_save_IFS
6767:
6768: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6769: fi
6770: fi
6771: LATEX=$ac_cv_prog_LATEX
6772: if test -n "$LATEX"; then
6773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6774: $as_echo "$LATEX" >&6; }
6775: else
6776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777: $as_echo "no" >&6; }
6778: fi
6779:
6780:
6781: if test "$LATEX" = no; then
6782: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6783: Download at http://tex.loria.fr/
6784: " >&5
6785: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6786: Download at http://tex.loria.fr/
6787: " >&2;}
6788: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6789: fi
6790:
6791: # Extract the first word of "dvips", so it can be a program name with args.
6792: set dummy dvips; ac_word=$2
6793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794: $as_echo_n "checking for $ac_word... " >&6; }
6795: if ${ac_cv_prog_DVIPS+:} false; then :
6796: $as_echo_n "(cached) " >&6
6797: else
6798: if test -n "$DVIPS"; then
6799: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6800: else
6801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802: for as_dir in $PATH
6803: do
6804: IFS=$as_save_IFS
6805: test -z "$as_dir" && as_dir=.
6806: for ac_exec_ext in '' $ac_executable_extensions; do
6807: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808: ac_cv_prog_DVIPS="yes"
6809: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810: break 2
6811: fi
6812: done
6813: done
6814: IFS=$as_save_IFS
6815:
6816: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6817: fi
6818: fi
6819: DVIPS=$ac_cv_prog_DVIPS
6820: if test -n "$DVIPS"; then
6821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6822: $as_echo "$DVIPS" >&6; }
6823: else
6824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825: $as_echo "no" >&6; }
6826: fi
6827:
6828:
6829: if test "$DVIPS" = no; then
6830: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6831: Download at http://tex.loria.fr/
6832: " >&5
6833: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6834: Download at http://tex.loria.fr/
6835: " >&2;}
6836: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6837: fi
6838:
6839: # Extract the first word of "gs", so it can be a program name with args.
6840: set dummy gs; ac_word=$2
6841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842: $as_echo_n "checking for $ac_word... " >&6; }
6843: if ${ac_cv_prog_GS+:} false; then :
6844: $as_echo_n "(cached) " >&6
6845: else
6846: if test -n "$GS"; then
6847: ac_cv_prog_GS="$GS" # Let the user override the test.
6848: else
6849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850: for as_dir in $PATH
6851: do
6852: IFS=$as_save_IFS
6853: test -z "$as_dir" && as_dir=.
6854: for ac_exec_ext in '' $ac_executable_extensions; do
6855: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6856: ac_cv_prog_GS="yes"
6857: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858: break 2
6859: fi
6860: done
6861: done
6862: IFS=$as_save_IFS
6863:
6864: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6865: fi
6866: fi
6867: GS=$ac_cv_prog_GS
6868: if test -n "$GS"; then
6869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6870: $as_echo "$GS" >&6; }
6871: else
6872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873: $as_echo "no" >&6; }
6874: fi
6875:
6876:
6877: if test "$GS" = no; then
6878: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6879: Download at http://ftp.lip6.fr/
6880: " >&5
6881: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6882: Download at http://ftp.lip6.fr/
6883: " >&2;}
6884: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6885: fi
6886:
6887: # Extract the first word of "gv", so it can be a program name with args.
6888: set dummy gv; ac_word=$2
6889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890: $as_echo_n "checking for $ac_word... " >&6; }
6891: if ${ac_cv_prog_GV+:} false; then :
6892: $as_echo_n "(cached) " >&6
6893: else
6894: if test -n "$GV"; then
6895: ac_cv_prog_GV="$GV" # Let the user override the test.
6896: else
6897: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898: for as_dir in $PATH
6899: do
6900: IFS=$as_save_IFS
6901: test -z "$as_dir" && as_dir=.
6902: for ac_exec_ext in '' $ac_executable_extensions; do
6903: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904: ac_cv_prog_GV="yes"
6905: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906: break 2
6907: fi
6908: done
6909: done
6910: IFS=$as_save_IFS
6911:
6912: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6913: fi
6914: fi
6915: GV=$ac_cv_prog_GV
6916: if test -n "$GV"; then
6917: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6918: $as_echo "$GV" >&6; }
6919: else
6920: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921: $as_echo "no" >&6; }
6922: fi
6923:
6924:
6925: if test "$GV" = no; then
6926: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6927: Download at http://ftp.lip6.fr/
6928: " >&5
6929: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6930: Download at http://ftp.lip6.fr/
6931: " >&2;}
6932: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6933: fi
6934: else
6935: if test "$TEX_SUPPORT" = no; then
6936: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6937: else
6938: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6939: fi
6940: fi
6941:
6942: if test "$GNUPLOT_SUPPORT" = guessed; then
6943: # Extract the first word of "gnuplot", so it can be a program name with args.
6944: set dummy gnuplot; ac_word=$2
6945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946: $as_echo_n "checking for $ac_word... " >&6; }
6947: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6948: $as_echo_n "(cached) " >&6
6949: else
6950: if test -n "$GNUPLOT_P"; then
6951: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6952: else
6953: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954: for as_dir in $PATH
6955: do
6956: IFS=$as_save_IFS
6957: test -z "$as_dir" && as_dir=.
6958: for ac_exec_ext in '' $ac_executable_extensions; do
6959: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960: ac_cv_prog_GNUPLOT_P="yes"
6961: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962: break 2
6963: fi
6964: done
6965: done
6966: IFS=$as_save_IFS
6967:
6968: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6969: fi
6970: fi
6971: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6972: if test -n "$GNUPLOT_P"; then
6973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6974: $as_echo "$GNUPLOT_P" >&6; }
6975: else
6976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977: $as_echo "no" >&6; }
6978: fi
6979:
6980:
6981: if test "$GNUPLOT_P" = no; then
6982: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6983: Download at http://www.gnuplot.vt.edu/
6984: " >&5
6985: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6986: Download at http://www.gnuplot.vt.edu/
6987: " >&2;}
6988: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6989: else
6990: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6991: fi
6992: else
6993: if test "$GNUPLOT_SUPPORT" = no; then
6994: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6995: else
6996: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6997: fi
6998: fi
6999:
7000: if test "$VIM_SUPPORT" = guessed; then
7001: # Extract the first word of "vim", so it can be a program name with args.
7002: set dummy vim; ac_word=$2
7003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004: $as_echo_n "checking for $ac_word... " >&6; }
7005: if ${ac_cv_prog_VIM+:} false; then :
7006: $as_echo_n "(cached) " >&6
7007: else
7008: if test -n "$VIM"; then
7009: ac_cv_prog_VIM="$VIM" # Let the user override the test.
7010: else
7011: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012: for as_dir in $PATH
7013: do
7014: IFS=$as_save_IFS
7015: test -z "$as_dir" && as_dir=.
7016: for ac_exec_ext in '' $ac_executable_extensions; do
7017: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7018: ac_cv_prog_VIM="yes"
7019: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020: break 2
7021: fi
7022: done
7023: done
7024: IFS=$as_save_IFS
7025:
7026: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
7027: fi
7028: fi
7029: VIM=$ac_cv_prog_VIM
7030: if test -n "$VIM"; then
7031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
7032: $as_echo "$VIM" >&6; }
7033: else
7034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035: $as_echo "no" >&6; }
7036: fi
7037:
7038:
7039: if test "$VIM" = no; then
7040: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
7041: Download at http://www.vim.org/
7042: " >&5
7043: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
7044: Download at http://www.vim.org/
7045: " >&2;}
7046: VIM_SUPPORT="-UVIM_SUPPORT"
7047: else
7048: VIM_SUPPORT="-DVIM_SUPPORT"
7049: fi
7050: else
7051: if test "$VIM_SUPPORT" = no; then
7052: VIM_SUPPORT="-UVIM_SUPPORT"
7053: else
7054: VIM_SUPPORT="-DVIM_SUPPORT"
7055: fi
7056: fi
7057:
7058:
7059:
7060:
7061:
7062:
7063:
7064:
7065:
7066:
7067:
7068: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
7069:
7070:
7071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
7072: $as_echo_n "checking for main in -lm... " >&6; }
7073: if ${ac_cv_lib_m_main+:} false; then :
7074: $as_echo_n "(cached) " >&6
7075: else
7076: ac_check_lib_save_LIBS=$LIBS
7077: LIBS="-lm $LIBS"
7078: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7079: /* end confdefs.h. */
7080:
7081:
7082: int
7083: main ()
7084: {
7085: return main ();
7086: ;
7087: return 0;
7088: }
7089: _ACEOF
7090: if ac_fn_c_try_link "$LINENO"; then :
7091: ac_cv_lib_m_main=yes
7092: else
7093: ac_cv_lib_m_main=no
7094: fi
7095: rm -f core conftest.err conftest.$ac_objext \
7096: conftest$ac_exeext conftest.$ac_ext
7097: LIBS=$ac_check_lib_save_LIBS
7098: fi
7099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
7100: $as_echo "$ac_cv_lib_m_main" >&6; }
7101: if test "x$ac_cv_lib_m_main" = xyes; then :
7102: cat >>confdefs.h <<_ACEOF
7103: #define HAVE_LIBM 1
7104: _ACEOF
7105:
7106: LIBS="-lm $LIBS"
7107:
7108: else
7109: as_fn_error $? "Can not find libm !" "$LINENO" 5
7110: fi
7111:
7112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
7113: $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
7114: if ${ac_cv_lib_c_pthread_mutex_init+:} false; then :
7115: $as_echo_n "(cached) " >&6
7116: else
7117: ac_check_lib_save_LIBS=$LIBS
7118: LIBS="-lc $LIBS"
7119: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120: /* end confdefs.h. */
7121:
7122: /* Override any GCC internal prototype to avoid an error.
7123: Use char because int might match the return type of a GCC
7124: builtin and then its argument prototype would still apply. */
7125: #ifdef __cplusplus
7126: extern "C"
7127: #endif
7128: char pthread_mutex_init ();
7129: int
7130: main ()
7131: {
7132: return pthread_mutex_init ();
7133: ;
7134: return 0;
7135: }
7136: _ACEOF
7137: if ac_fn_c_try_link "$LINENO"; then :
7138: ac_cv_lib_c_pthread_mutex_init=yes
7139: else
7140: ac_cv_lib_c_pthread_mutex_init=no
7141: fi
7142: rm -f core conftest.err conftest.$ac_objext \
7143: conftest$ac_exeext conftest.$ac_ext
7144: LIBS=$ac_check_lib_save_LIBS
7145: fi
7146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
7147: $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
7148: if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then :
7149: cat >>confdefs.h <<_ACEOF
7150: #define HAVE_LIBC 1
7151: _ACEOF
7152:
7153: LIBS="-lc $LIBS"
7154:
7155: else
7156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
7157: $as_echo_n "checking for main in -lpthread... " >&6; }
7158: if ${ac_cv_lib_pthread_main+:} false; then :
7159: $as_echo_n "(cached) " >&6
7160: else
7161: ac_check_lib_save_LIBS=$LIBS
7162: LIBS="-lpthread $LIBS"
7163: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164: /* end confdefs.h. */
7165:
7166:
7167: int
7168: main ()
7169: {
7170: return main ();
7171: ;
7172: return 0;
7173: }
7174: _ACEOF
7175: if ac_fn_c_try_link "$LINENO"; then :
7176: ac_cv_lib_pthread_main=yes
7177: else
7178: ac_cv_lib_pthread_main=no
7179: fi
7180: rm -f core conftest.err conftest.$ac_objext \
7181: conftest$ac_exeext conftest.$ac_ext
7182: LIBS=$ac_check_lib_save_LIBS
7183: fi
7184: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
7185: $as_echo "$ac_cv_lib_pthread_main" >&6; }
7186: if test "x$ac_cv_lib_pthread_main" = xyes; then :
7187: cat >>confdefs.h <<_ACEOF
7188: #define HAVE_LIBPTHREAD 1
7189: _ACEOF
7190:
7191: LIBS="-lpthread $LIBS"
7192:
7193: else
7194: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
7195: fi
7196:
7197: fi
7198:
7199:
7200: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
7201: #include <sys/sem.h>
7202:
7203: "
7204: if test "x$ac_cv_type_union_semun" = xyes; then :
7205: SEMUN=-DUNION_SEMUN
7206: else
7207: SEMUN=-UUNION_SEMUN
7208: fi
7209:
7210:
7211: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7212: #include <sys/types.h>
7213: #include <netinet/in.h>
7214:
7215: "
7216: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7217: IPV6=-DIPV6
7218: else
7219: IPV6=-UIPV6
7220: fi
7221:
7222:
7223: if test "$CYGWIN" != yes; then
7224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7225: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7226: if ${ac_cv_lib_dl_dlopen+:} false; then :
7227: $as_echo_n "(cached) " >&6
7228: else
7229: ac_check_lib_save_LIBS=$LIBS
7230: LIBS="-ldl $LIBS"
7231: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232: /* end confdefs.h. */
7233:
7234: /* Override any GCC internal prototype to avoid an error.
7235: Use char because int might match the return type of a GCC
7236: builtin and then its argument prototype would still apply. */
7237: #ifdef __cplusplus
7238: extern "C"
7239: #endif
7240: char dlopen ();
7241: int
7242: main ()
7243: {
7244: return dlopen ();
7245: ;
7246: return 0;
7247: }
7248: _ACEOF
7249: if ac_fn_c_try_link "$LINENO"; then :
7250: ac_cv_lib_dl_dlopen=yes
7251: else
7252: ac_cv_lib_dl_dlopen=no
7253: fi
7254: rm -f core conftest.err conftest.$ac_objext \
7255: conftest$ac_exeext conftest.$ac_ext
7256: LIBS=$ac_check_lib_save_LIBS
7257: fi
7258: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7259: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7260: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7261: LIBS="$LIBS -ldl"
7262: else
7263: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7264: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7265: fi
7266:
7267: fi
7268:
7269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7270: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7271: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7272: $as_echo_n "(cached) " >&6
7273: else
7274: ac_check_lib_save_LIBS=$LIBS
7275: LIBS="-lrt $LIBS"
7276: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277: /* end confdefs.h. */
7278:
7279: /* Override any GCC internal prototype to avoid an error.
7280: Use char because int might match the return type of a GCC
7281: builtin and then its argument prototype would still apply. */
7282: #ifdef __cplusplus
7283: extern "C"
7284: #endif
7285: char nanosleep ();
7286: int
7287: main ()
7288: {
7289: return nanosleep ();
7290: ;
7291: return 0;
7292: }
7293: _ACEOF
7294: if ac_fn_c_try_link "$LINENO"; then :
7295: ac_cv_lib_rt_nanosleep=yes
7296: else
7297: ac_cv_lib_rt_nanosleep=no
7298: fi
7299: rm -f core conftest.err conftest.$ac_objext \
7300: conftest$ac_exeext conftest.$ac_ext
7301: LIBS=$ac_check_lib_save_LIBS
7302: fi
7303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7304: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7305: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7306: LIBS="$LIBS -lrt"
7307: else
7308: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7309: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7310: fi
7311:
7312:
7313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7314: $as_echo_n "checking for bind in -lsocket... " >&6; }
7315: if ${ac_cv_lib_socket_bind+:} false; then :
7316: $as_echo_n "(cached) " >&6
7317: else
7318: ac_check_lib_save_LIBS=$LIBS
7319: LIBS="-lsocket $LIBS"
7320: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321: /* end confdefs.h. */
7322:
7323: /* Override any GCC internal prototype to avoid an error.
7324: Use char because int might match the return type of a GCC
7325: builtin and then its argument prototype would still apply. */
7326: #ifdef __cplusplus
7327: extern "C"
7328: #endif
7329: char bind ();
7330: int
7331: main ()
7332: {
7333: return bind ();
7334: ;
7335: return 0;
7336: }
7337: _ACEOF
7338: if ac_fn_c_try_link "$LINENO"; then :
7339: ac_cv_lib_socket_bind=yes
7340: else
7341: ac_cv_lib_socket_bind=no
7342: fi
7343: rm -f core conftest.err conftest.$ac_objext \
7344: conftest$ac_exeext conftest.$ac_ext
7345: LIBS=$ac_check_lib_save_LIBS
7346: fi
7347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7348: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7349: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7350: LIBS="$LIBS -lsocket"
7351: else
7352: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7353: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7354: fi
7355:
7356:
7357: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7358:
7359: # Check whether --with-mysql was given.
7360: if test "${with_mysql+set}" = set; then :
7361: withval=$with_mysql;
7362: else
7363: with_mysql=check
7364: fi
7365:
7366:
7367: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7368: libMySQLinc="-I/usr/include"
7369: libMySQLlib="/usr/lib"
7370:
7371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7372: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7373: saved_CFLAGS="$CFLAGS"
7374: CFLAGS="$CFLAGS -L/$libMySQLinc"
7375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376: /* end confdefs.h. */
7377: #include "mysql.h"
7378: int
7379: main ()
7380: {
7381:
7382: ;
7383: return 0;
7384: }
7385: _ACEOF
7386: if ac_fn_c_try_compile "$LINENO"; then :
7387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7388: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7389: libMySQLinc=$libMySQLinc/mysql
7390: else
7391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7393: fi
7394: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7395: CFLAGS=$saved_CFLAGS
7396:
7397: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7399: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7400: saved_CFLAGS="$CFLAGS"
7401: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403: /* end confdefs.h. */
7404: #include "mysql.h"
7405: int
7406: main ()
7407: {
7408:
7409: ;
7410: return 0;
7411: }
7412: _ACEOF
7413: if ac_fn_c_try_compile "$LINENO"; then :
7414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7415: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7416: libMySQLinc=$libMySQLinc
7417: else
7418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7420: fi
7421: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7422: CFLAGS=$saved_CFLAGS
7423: libMySQLinc=$libMySQLinc/mysql
7424: fi
7425:
7426: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7428: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7429: saved_CFLAGS="$CFLAGS"
7430: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7431: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432: /* end confdefs.h. */
7433: #include "mysql.h"
7434: int
7435: main ()
7436: {
7437:
7438: ;
7439: return 0;
7440: }
7441: _ACEOF
7442: if ac_fn_c_try_compile "$LINENO"; then :
7443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7444: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7445: libMySQLinc=$libMySQLinc/mysql
7446: else
7447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7449: fi
7450: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7451: CFLAGS=$saved_CFLAGS
7452: libMySQLinc=$libMySQLinc/../local/include
7453: libMySQLlib=$libMySQLlib/../local/lib
7454: fi
7455:
7456: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7458: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7459: saved_CFLAGS="$CFLAGS"
7460: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7461: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462: /* end confdefs.h. */
7463: #include "mysql.h"
7464: int
7465: main ()
7466: {
7467:
7468: ;
7469: return 0;
7470: }
7471: _ACEOF
7472: if ac_fn_c_try_compile "$LINENO"; then :
7473: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7474: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7475: libMySQLinc=$libMySQLinc/mysql
7476: else
7477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7479: fi
7480: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481: CFLAGS=$saved_CFLAGS
7482: libMySQLinc=$libMySQLinc/../local/include/mysql
7483: libMySQLlib=$libMySQLlib/../local/lib
7484: fi
7485: else
7486: if test "x$with_mysql" != xno; then
7487: libMySQLinc="-I$with_mysql/include"
7488: libMySQLlib="$with_mysql/lib"
7489:
7490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7491: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7492: saved_CFLAGS="$CFLAGS"
7493: CFLAGS="$CFLAGS $libMySQLinc"
7494: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495: /* end confdefs.h. */
7496: #include "mysql.h"
7497: int
7498: main ()
7499: {
7500:
7501: ;
7502: return 0;
7503: }
7504: _ACEOF
7505: if ac_fn_c_try_compile "$LINENO"; then :
7506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7507: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7508: libMySQLinc=$libMySQLinc/mysql
7509: else
7510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7512: fi
7513: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7514: CFLAGS=$saved_CFLAGS
7515:
7516: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7518: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7519: saved_CFLAGS="$CFLAGS"
7520: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7521: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522: /* end confdefs.h. */
7523: #include "mysql.h"
7524: int
7525: main ()
7526: {
7527:
7528: ;
7529: return 0;
7530: }
7531: _ACEOF
7532: if ac_fn_c_try_compile "$LINENO"; then :
7533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7534: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7535: libMySQLinc=$libMySQLinc
7536: else
7537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7539: fi
7540: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7541: CFLAGS=$saved_CFLAGS
7542: libMySQLinc=$libMySQLinc/mysql
7543: fi
7544: else
7545: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7546: fi
7547: fi
7548:
7549: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7550: MYSQL_LIB=no
7551:
7552: if test $MYSQL_LIB = no; then
7553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7554: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7555: saved_LIBS="$LIBS"
7556: if test $STATIC = no; then
7557: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7558: else
7559: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7560: fi
7561: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562: /* end confdefs.h. */
7563: #include "mysql.h"
7564: int
7565: main ()
7566: {
7567: MYSQL mysql; mysql_init(&mysql);
7568: ;
7569: return 0;
7570: }
7571: _ACEOF
7572: if ac_fn_c_try_link "$LINENO"; then :
7573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7574: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7575: else
7576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577: $as_echo "no" >&6; }; MYSQL_LIB="no"
7578: fi
7579: rm -f core conftest.err conftest.$ac_objext \
7580: conftest$ac_exeext conftest.$ac_ext
7581: LIBS=$saved_LIBS;
7582: if test $STATIC = no; then
7583: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7584: else
7585: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7586: EXT_SQL="$EXT_SQL $libMySQLlib"
7587: fi
7588: fi
7589:
7590: if test $MYSQL_LIB = no; then
7591: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7592: fi
7593: fi
7594:
7595: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7596: libMySQLinc=
7597: libMySQLlib=
7598: fi
7599:
7600:
7601:
7602:
7603:
7604: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7605:
7606: # Check whether --with-postgresql was given.
7607: if test "${with_postgresql+set}" = set; then :
7608: withval=$with_postgresql;
7609: else
7610: with_postgresql=check
7611: fi
7612:
7613:
7614: # with_postgresql : check [pas défini], yes [uniquement --with],
7615: # no [--without], valeur [--with=valeur].
7616:
7617: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7618: libPgSQLinc="-I/usr/include"
7619: libPgSQLlib="/usr/lib"
7620:
7621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7622: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7623: saved_CFLAGS="$CFLAGS"
7624: CFLAGS="$CFLAGS $libPgSQLinc"
7625: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626: /* end confdefs.h. */
7627: #include "libpq-fe.h"
7628: int
7629: main ()
7630: {
7631:
7632: ;
7633: return 0;
7634: }
7635: _ACEOF
7636: if ac_fn_c_try_compile "$LINENO"; then :
7637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7638: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7639: else
7640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641: $as_echo "no" >&6; }; 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 /usr/include/postgresql" >&5
7648: $as_echo_n "checking for libpq includes in /usr/include/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 /usr/include/pgsql" >&5
7678: $as_echo_n "checking for libpq includes in /usr/include/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:
7706: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7708: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7709: saved_CFLAGS="$CFLAGS"
7710: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7711: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712: /* end confdefs.h. */
7713: #include "libpq-fe.h"
7714: int
7715: main ()
7716: {
7717:
7718: ;
7719: return 0;
7720: }
7721: _ACEOF
7722: if ac_fn_c_try_compile "$LINENO"; then :
7723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7724: $as_echo "yes" >&6; };
7725: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7726: else
7727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728: $as_echo "no" >&6; };
7729: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7730: fi
7731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732: CFLAGS=$saved_CFLAGS
7733: libPgSQLinc=$libPgSQLinc/../local/include
7734: libPgSQLlib=$libPgSQLlib/../local/lib
7735: fi
7736:
7737: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7739: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7740: saved_CFLAGS="$CFLAGS"
7741: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7742: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743: /* end confdefs.h. */
7744: #include "libpq-fe.h"
7745: int
7746: main ()
7747: {
7748:
7749: ;
7750: return 0;
7751: }
7752: _ACEOF
7753: if ac_fn_c_try_compile "$LINENO"; then :
7754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7755: $as_echo "yes" >&6; };
7756: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7757: else
7758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759: $as_echo "no" >&6; };
7760: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7761: fi
7762: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763: CFLAGS=$saved_CFLAGS
7764: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7765: libPgSQLlib=$libPgSQLlib/../local/lib
7766: fi
7767:
7768: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7770: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7771: saved_CFLAGS="$CFLAGS"
7772: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7773: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774: /* end confdefs.h. */
7775: #include "libpq-fe.h"
7776: int
7777: main ()
7778: {
7779:
7780: ;
7781: return 0;
7782: }
7783: _ACEOF
7784: if ac_fn_c_try_compile "$LINENO"; then :
7785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7786: $as_echo "yes" >&6; };
7787: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7788: else
7789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790: $as_echo "no" >&6; };
7791: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7792: fi
7793: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794: CFLAGS=$saved_CFLAGS
7795: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7796: libPgSQLlib=$libPgSQLlib/../local/lib
7797: fi
7798: else
7799: if test "x$with_postgresql" != xno; then
7800: libPgSQLinc="-I$with_postgresql/include"
7801: libPgSQLlib="$with_postgresql/lib"
7802:
7803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7804: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7805: saved_CFLAGS="$CFLAGS"
7806: CFLAGS="$CFLAGS $libPgSQLinc"
7807: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808: /* end confdefs.h. */
7809: #include "libpq-fe.h"
7810: int
7811: main ()
7812: {
7813:
7814: ;
7815: return 0;
7816: }
7817: _ACEOF
7818: if ac_fn_c_try_compile "$LINENO"; then :
7819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7820: $as_echo "yes" >&6; };
7821: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7822: else
7823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824: $as_echo "no" >&6; };
7825: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7826: fi
7827: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7828: CFLAGS=$saved_CFLAGS
7829:
7830: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7832: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7833: saved_CFLAGS="$CFLAGS"
7834: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7835: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836: /* end confdefs.h. */
7837: #include "libpq-fe.h"
7838: int
7839: main ()
7840: {
7841:
7842: ;
7843: return 0;
7844: }
7845: _ACEOF
7846: if ac_fn_c_try_compile "$LINENO"; then :
7847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7848: $as_echo "yes" >&6; };
7849: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7850: else
7851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852: $as_echo "no" >&6; };
7853: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7854: fi
7855: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7856: CFLAGS=$saved_CFLAGS
7857: libPgSQLinc=$libPgSQLinc/postgresql
7858: fi
7859:
7860: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7862: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7863: saved_CFLAGS="$CFLAGS"
7864: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7865: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866: /* end confdefs.h. */
7867: #include "libpq-fe.h"
7868: int
7869: main ()
7870: {
7871:
7872: ;
7873: return 0;
7874: }
7875: _ACEOF
7876: if ac_fn_c_try_compile "$LINENO"; then :
7877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7878: $as_echo "yes" >&6; };
7879: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7880: else
7881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882: $as_echo "no" >&6; };
7883: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7884: fi
7885: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7886: CFLAGS=$saved_CFLAGS
7887: libPgSQLinc=$libPgSQLinc/pgsql
7888: fi
7889: else
7890: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7891: fi
7892: fi
7893:
7894: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7895: POSTGRESQL_LIB=no
7896:
7897: if test $POSTGRESQL_LIB = no; then
7898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7899: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7900: saved_LIBS="$LIBS"
7901: if test $STATIC = no; then
7902: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7903: else
7904: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7905: fi
7906: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7907: /* end confdefs.h. */
7908: #include "libpq-fe.h"
7909: int
7910: main ()
7911: {
7912: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7913: PQconnectdb(conninfo);
7914: ;
7915: return 0;
7916: }
7917: _ACEOF
7918: if ac_fn_c_try_link "$LINENO"; then :
7919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7920: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7921: else
7922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7924: fi
7925: rm -f core conftest.err conftest.$ac_objext \
7926: conftest$ac_exeext conftest.$ac_ext
7927: LIBS=$saved_LIBS;
7928: if test $STATIC = no; then
7929: libPgSQLlib="-L/$libPgSQLlib -lpq"
7930: else
7931: libPgSQLlib="$libPgSQLlib/libpq.a"
7932: EXT_SQL="$EXT_SQL $libPgSQLlib"
7933: fi
7934: fi
7935: fi
7936:
7937: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7938: libPgSQLinc=
7939: libPgSQLlib=
7940: fi
7941:
7942:
7943:
7944:
7945:
7946: # with_postgresql : check [pas défini], yes [uniquement --with],
7947: # no [--without], valeur [--with=valeur].
7948:
7949: # Check whether --with-bourne_shell was given.
7950: if test "${with_bourne_shell+set}" = set; then :
7951: withval=$with_bourne_shell;
7952: else
7953: with_bourne_shell=no
7954: fi
7955:
7956:
7957: if test "x$with_bourne_shell" = xyes; then
7958: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7959: fi
7960:
7961: if test "x$with_bourne_shell" = xno; then
7962: if test $(uname) = "OS/2"; then
7963: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
7964: shell path with --with-bourne-shell=PATH !" "$LINENO" 5
7965: fi
7966:
7967: BSH_PATH=
7968: else
7969: if test ! -x $with_bourne_shell; then
7970: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7971: fi
7972:
7973: if test $(uname) = "OS/2"; then
7974: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7975: sed -e '1,$s/\//\\\\\\\\/g')
7976: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7977: else
7978: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7979: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7980: BSH_PATH=
7981: fi
7982: fi
7983:
7984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7985: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7986: if ${ac_cv_path_GREP+:} false; then :
7987: $as_echo_n "(cached) " >&6
7988: else
7989: if test -z "$GREP"; then
7990: ac_path_GREP_found=false
7991: # Loop through the user's path and test for each of PROGNAME-LIST
7992: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7994: do
7995: IFS=$as_save_IFS
7996: test -z "$as_dir" && as_dir=.
7997: for ac_prog in grep ggrep; do
7998: for ac_exec_ext in '' $ac_executable_extensions; do
7999: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8000: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
8001: # Check for GNU ac_path_GREP and select it if it is found.
8002: # Check for GNU $ac_path_GREP
8003: case `"$ac_path_GREP" --version 2>&1` in
8004: *GNU*)
8005: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8006: *)
8007: ac_count=0
8008: $as_echo_n 0123456789 >"conftest.in"
8009: while :
8010: do
8011: cat "conftest.in" "conftest.in" >"conftest.tmp"
8012: mv "conftest.tmp" "conftest.in"
8013: cp "conftest.in" "conftest.nl"
8014: $as_echo 'GREP' >> "conftest.nl"
8015: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8016: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8017: as_fn_arith $ac_count + 1 && ac_count=$as_val
8018: if test $ac_count -gt ${ac_path_GREP_max-0}; then
8019: # Best one so far, save it but keep looking for a better one
8020: ac_cv_path_GREP="$ac_path_GREP"
8021: ac_path_GREP_max=$ac_count
8022: fi
8023: # 10*(2^10) chars as input seems more than enough
8024: test $ac_count -gt 10 && break
8025: done
8026: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8027: esac
8028:
8029: $ac_path_GREP_found && break 3
8030: done
8031: done
8032: done
8033: IFS=$as_save_IFS
8034: if test -z "$ac_cv_path_GREP"; then
8035: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8036: fi
8037: else
8038: ac_cv_path_GREP=$GREP
8039: fi
8040:
8041: fi
8042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8043: $as_echo "$ac_cv_path_GREP" >&6; }
8044: GREP="$ac_cv_path_GREP"
8045:
8046:
8047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8048: $as_echo_n "checking for egrep... " >&6; }
8049: if ${ac_cv_path_EGREP+:} false; then :
8050: $as_echo_n "(cached) " >&6
8051: else
8052: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8053: then ac_cv_path_EGREP="$GREP -E"
8054: else
8055: if test -z "$EGREP"; then
8056: ac_path_EGREP_found=false
8057: # Loop through the user's path and test for each of PROGNAME-LIST
8058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8060: do
8061: IFS=$as_save_IFS
8062: test -z "$as_dir" && as_dir=.
8063: for ac_prog in egrep; do
8064: for ac_exec_ext in '' $ac_executable_extensions; do
8065: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8066: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8067: # Check for GNU ac_path_EGREP and select it if it is found.
8068: # Check for GNU $ac_path_EGREP
8069: case `"$ac_path_EGREP" --version 2>&1` in
8070: *GNU*)
8071: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8072: *)
8073: ac_count=0
8074: $as_echo_n 0123456789 >"conftest.in"
8075: while :
8076: do
8077: cat "conftest.in" "conftest.in" >"conftest.tmp"
8078: mv "conftest.tmp" "conftest.in"
8079: cp "conftest.in" "conftest.nl"
8080: $as_echo 'EGREP' >> "conftest.nl"
8081: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8082: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8083: as_fn_arith $ac_count + 1 && ac_count=$as_val
8084: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8085: # Best one so far, save it but keep looking for a better one
8086: ac_cv_path_EGREP="$ac_path_EGREP"
8087: ac_path_EGREP_max=$ac_count
8088: fi
8089: # 10*(2^10) chars as input seems more than enough
8090: test $ac_count -gt 10 && break
8091: done
8092: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8093: esac
8094:
8095: $ac_path_EGREP_found && break 3
8096: done
8097: done
8098: done
8099: IFS=$as_save_IFS
8100: if test -z "$ac_cv_path_EGREP"; then
8101: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8102: fi
8103: else
8104: ac_cv_path_EGREP=$EGREP
8105: fi
8106:
8107: fi
8108: fi
8109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8110: $as_echo "$ac_cv_path_EGREP" >&6; }
8111: EGREP="$ac_cv_path_EGREP"
8112:
8113:
8114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8115: $as_echo_n "checking for ANSI C header files... " >&6; }
8116: if ${ac_cv_header_stdc+:} false; then :
8117: $as_echo_n "(cached) " >&6
8118: else
8119: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120: /* end confdefs.h. */
8121: #include <stdlib.h>
8122: #include <stdarg.h>
8123: #include <string.h>
8124: #include <float.h>
8125:
8126: int
8127: main ()
8128: {
8129:
8130: ;
8131: return 0;
8132: }
8133: _ACEOF
8134: if ac_fn_c_try_compile "$LINENO"; then :
8135: ac_cv_header_stdc=yes
8136: else
8137: ac_cv_header_stdc=no
8138: fi
8139: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8140:
8141: if test $ac_cv_header_stdc = yes; then
8142: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8143: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144: /* end confdefs.h. */
8145: #include <string.h>
8146:
8147: _ACEOF
8148: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8149: $EGREP "memchr" >/dev/null 2>&1; then :
8150:
8151: else
8152: ac_cv_header_stdc=no
8153: fi
8154: rm -f conftest*
8155:
8156: fi
8157:
8158: if test $ac_cv_header_stdc = yes; then
8159: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8160: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161: /* end confdefs.h. */
8162: #include <stdlib.h>
8163:
8164: _ACEOF
8165: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8166: $EGREP "free" >/dev/null 2>&1; then :
8167:
8168: else
8169: ac_cv_header_stdc=no
8170: fi
8171: rm -f conftest*
8172:
8173: fi
8174:
8175: if test $ac_cv_header_stdc = yes; then
8176: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8177: if test "$cross_compiling" = yes; then :
8178: :
8179: else
8180: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181: /* end confdefs.h. */
8182: #include <ctype.h>
8183: #include <stdlib.h>
8184: #if ((' ' & 0x0FF) == 0x020)
8185: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8186: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8187: #else
8188: # define ISLOWER(c) \
8189: (('a' <= (c) && (c) <= 'i') \
8190: || ('j' <= (c) && (c) <= 'r') \
8191: || ('s' <= (c) && (c) <= 'z'))
8192: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8193: #endif
8194:
8195: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8196: int
8197: main ()
8198: {
8199: int i;
8200: for (i = 0; i < 256; i++)
8201: if (XOR (islower (i), ISLOWER (i))
8202: || toupper (i) != TOUPPER (i))
8203: return 2;
8204: return 0;
8205: }
8206: _ACEOF
8207: if ac_fn_c_try_run "$LINENO"; then :
8208:
8209: else
8210: ac_cv_header_stdc=no
8211: fi
8212: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8213: conftest.$ac_objext conftest.beam conftest.$ac_ext
8214: fi
8215:
8216: fi
8217: fi
8218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8219: $as_echo "$ac_cv_header_stdc" >&6; }
8220: if test $ac_cv_header_stdc = yes; then
8221:
8222: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8223:
8224: fi
8225:
8226: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8227: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8228: inttypes.h stdint.h unistd.h
8229: do :
8230: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8231: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8232: "
8233: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8234: cat >>confdefs.h <<_ACEOF
8235: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8236: _ACEOF
8237:
8238: fi
8239:
8240: done
8241:
8242:
8243: # The cast to long int works around a bug in the HP C Compiler
8244: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8245: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8246: # This bug is HP SR number 8606223364.
8247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8248: $as_echo_n "checking size of void *... " >&6; }
8249: if ${ac_cv_sizeof_void_p+:} false; then :
8250: $as_echo_n "(cached) " >&6
8251: else
8252: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8253:
8254: else
8255: if test "$ac_cv_type_void_p" = yes; then
8256: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8257: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8258: as_fn_error 77 "cannot compute sizeof (void *)
8259: See \`config.log' for more details" "$LINENO" 5; }
8260: else
8261: ac_cv_sizeof_void_p=0
8262: fi
8263: fi
8264:
8265: fi
8266: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8267: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8268:
8269:
8270:
8271: cat >>confdefs.h <<_ACEOF
8272: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8273: _ACEOF
8274:
8275:
8276: # The cast to long int works around a bug in the HP C Compiler
8277: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8278: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8279: # This bug is HP SR number 8606223364.
8280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8281: $as_echo_n "checking size of char... " >&6; }
8282: if ${ac_cv_sizeof_char+:} false; then :
8283: $as_echo_n "(cached) " >&6
8284: else
8285: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8286:
8287: else
8288: if test "$ac_cv_type_char" = yes; then
8289: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8290: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8291: as_fn_error 77 "cannot compute sizeof (char)
8292: See \`config.log' for more details" "$LINENO" 5; }
8293: else
8294: ac_cv_sizeof_char=0
8295: fi
8296: fi
8297:
8298: fi
8299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8300: $as_echo "$ac_cv_sizeof_char" >&6; }
8301:
8302:
8303:
8304: cat >>confdefs.h <<_ACEOF
8305: #define SIZEOF_CHAR $ac_cv_sizeof_char
8306: _ACEOF
8307:
8308:
8309: # The cast to long int works around a bug in the HP C Compiler
8310: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8311: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8312: # This bug is HP SR number 8606223364.
8313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8314: $as_echo_n "checking size of short int... " >&6; }
8315: if ${ac_cv_sizeof_short_int+:} false; then :
8316: $as_echo_n "(cached) " >&6
8317: else
8318: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8319:
8320: else
8321: if test "$ac_cv_type_short_int" = yes; then
8322: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8323: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8324: as_fn_error 77 "cannot compute sizeof (short int)
8325: See \`config.log' for more details" "$LINENO" 5; }
8326: else
8327: ac_cv_sizeof_short_int=0
8328: fi
8329: fi
8330:
8331: fi
8332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8333: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8334:
8335:
8336:
8337: cat >>confdefs.h <<_ACEOF
8338: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8339: _ACEOF
8340:
8341:
8342: # The cast to long int works around a bug in the HP C Compiler
8343: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8344: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8345: # This bug is HP SR number 8606223364.
8346: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8347: $as_echo_n "checking size of int... " >&6; }
8348: if ${ac_cv_sizeof_int+:} false; then :
8349: $as_echo_n "(cached) " >&6
8350: else
8351: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8352:
8353: else
8354: if test "$ac_cv_type_int" = yes; then
8355: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8356: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8357: as_fn_error 77 "cannot compute sizeof (int)
8358: See \`config.log' for more details" "$LINENO" 5; }
8359: else
8360: ac_cv_sizeof_int=0
8361: fi
8362: fi
8363:
8364: fi
8365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8366: $as_echo "$ac_cv_sizeof_int" >&6; }
8367:
8368:
8369:
8370: cat >>confdefs.h <<_ACEOF
8371: #define SIZEOF_INT $ac_cv_sizeof_int
8372: _ACEOF
8373:
8374:
8375: # The cast to long int works around a bug in the HP C Compiler
8376: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8377: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8378: # This bug is HP SR number 8606223364.
8379: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8380: $as_echo_n "checking size of long int... " >&6; }
8381: if ${ac_cv_sizeof_long_int+:} false; then :
8382: $as_echo_n "(cached) " >&6
8383: else
8384: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8385:
8386: else
8387: if test "$ac_cv_type_long_int" = yes; then
8388: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8389: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8390: as_fn_error 77 "cannot compute sizeof (long int)
8391: See \`config.log' for more details" "$LINENO" 5; }
8392: else
8393: ac_cv_sizeof_long_int=0
8394: fi
8395: fi
8396:
8397: fi
8398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8399: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8400:
8401:
8402:
8403: cat >>confdefs.h <<_ACEOF
8404: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8405: _ACEOF
8406:
8407:
8408: # The cast to long int works around a bug in the HP C Compiler
8409: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8410: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8411: # This bug is HP SR number 8606223364.
8412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8413: $as_echo_n "checking size of long long int... " >&6; }
8414: if ${ac_cv_sizeof_long_long_int+:} false; then :
8415: $as_echo_n "(cached) " >&6
8416: else
8417: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8418:
8419: else
8420: if test "$ac_cv_type_long_long_int" = yes; then
8421: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8422: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8423: as_fn_error 77 "cannot compute sizeof (long long int)
8424: See \`config.log' for more details" "$LINENO" 5; }
8425: else
8426: ac_cv_sizeof_long_long_int=0
8427: fi
8428: fi
8429:
8430: fi
8431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8432: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8433:
8434:
8435:
8436: cat >>confdefs.h <<_ACEOF
8437: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8438: _ACEOF
8439:
8440:
8441: # The cast to long int works around a bug in the HP C Compiler
8442: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8443: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8444: # This bug is HP SR number 8606223364.
8445: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8446: $as_echo_n "checking size of float... " >&6; }
8447: if ${ac_cv_sizeof_float+:} false; then :
8448: $as_echo_n "(cached) " >&6
8449: else
8450: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8451:
8452: else
8453: if test "$ac_cv_type_float" = yes; then
8454: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8455: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8456: as_fn_error 77 "cannot compute sizeof (float)
8457: See \`config.log' for more details" "$LINENO" 5; }
8458: else
8459: ac_cv_sizeof_float=0
8460: fi
8461: fi
8462:
8463: fi
8464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8465: $as_echo "$ac_cv_sizeof_float" >&6; }
8466:
8467:
8468:
8469: cat >>confdefs.h <<_ACEOF
8470: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8471: _ACEOF
8472:
8473:
8474: # The cast to long int works around a bug in the HP C Compiler
8475: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8476: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8477: # This bug is HP SR number 8606223364.
8478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8479: $as_echo_n "checking size of double... " >&6; }
8480: if ${ac_cv_sizeof_double+:} false; then :
8481: $as_echo_n "(cached) " >&6
8482: else
8483: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8484:
8485: else
8486: if test "$ac_cv_type_double" = yes; then
8487: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8488: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8489: as_fn_error 77 "cannot compute sizeof (double)
8490: See \`config.log' for more details" "$LINENO" 5; }
8491: else
8492: ac_cv_sizeof_double=0
8493: fi
8494: fi
8495:
8496: fi
8497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8498: $as_echo "$ac_cv_sizeof_double" >&6; }
8499:
8500:
8501:
8502: cat >>confdefs.h <<_ACEOF
8503: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8504: _ACEOF
8505:
8506:
8507: # The cast to long int works around a bug in the HP C Compiler
8508: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8509: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8510: # This bug is HP SR number 8606223364.
8511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8512: $as_echo_n "checking size of long double... " >&6; }
8513: if ${ac_cv_sizeof_long_double+:} false; then :
8514: $as_echo_n "(cached) " >&6
8515: else
8516: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8517:
8518: else
8519: if test "$ac_cv_type_long_double" = yes; then
8520: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8521: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8522: as_fn_error 77 "cannot compute sizeof (long double)
8523: See \`config.log' for more details" "$LINENO" 5; }
8524: else
8525: ac_cv_sizeof_long_double=0
8526: fi
8527: fi
8528:
8529: fi
8530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8531: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8532:
8533:
8534:
8535: cat >>confdefs.h <<_ACEOF
8536: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8537: _ACEOF
8538:
8539:
8540:
8541: ac_header_dirent=no
8542: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8543: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8545: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8546: if eval \${$as_ac_Header+:} false; then :
8547: $as_echo_n "(cached) " >&6
8548: else
8549: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550: /* end confdefs.h. */
8551: #include <sys/types.h>
8552: #include <$ac_hdr>
8553:
8554: int
8555: main ()
8556: {
8557: if ((DIR *) 0)
8558: return 0;
8559: ;
8560: return 0;
8561: }
8562: _ACEOF
8563: if ac_fn_c_try_compile "$LINENO"; then :
8564: eval "$as_ac_Header=yes"
8565: else
8566: eval "$as_ac_Header=no"
8567: fi
8568: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8569: fi
8570: eval ac_res=\$$as_ac_Header
8571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572: $as_echo "$ac_res" >&6; }
8573: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8574: cat >>confdefs.h <<_ACEOF
8575: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8576: _ACEOF
8577:
8578: ac_header_dirent=$ac_hdr; break
8579: fi
8580:
8581: done
8582: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8583: if test $ac_header_dirent = dirent.h; then
8584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8585: $as_echo_n "checking for library containing opendir... " >&6; }
8586: if ${ac_cv_search_opendir+:} false; then :
8587: $as_echo_n "(cached) " >&6
8588: else
8589: ac_func_search_save_LIBS=$LIBS
8590: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591: /* end confdefs.h. */
8592:
8593: /* Override any GCC internal prototype to avoid an error.
8594: Use char because int might match the return type of a GCC
8595: builtin and then its argument prototype would still apply. */
8596: #ifdef __cplusplus
8597: extern "C"
8598: #endif
8599: char opendir ();
8600: int
8601: main ()
8602: {
8603: return opendir ();
8604: ;
8605: return 0;
8606: }
8607: _ACEOF
8608: for ac_lib in '' dir; do
8609: if test -z "$ac_lib"; then
8610: ac_res="none required"
8611: else
8612: ac_res=-l$ac_lib
8613: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8614: fi
8615: if ac_fn_c_try_link "$LINENO"; then :
8616: ac_cv_search_opendir=$ac_res
8617: fi
8618: rm -f core conftest.err conftest.$ac_objext \
8619: conftest$ac_exeext
8620: if ${ac_cv_search_opendir+:} false; then :
8621: break
8622: fi
8623: done
8624: if ${ac_cv_search_opendir+:} false; then :
8625:
8626: else
8627: ac_cv_search_opendir=no
8628: fi
8629: rm conftest.$ac_ext
8630: LIBS=$ac_func_search_save_LIBS
8631: fi
8632: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8633: $as_echo "$ac_cv_search_opendir" >&6; }
8634: ac_res=$ac_cv_search_opendir
8635: if test "$ac_res" != no; then :
8636: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8637:
8638: fi
8639:
8640: else
8641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8642: $as_echo_n "checking for library containing opendir... " >&6; }
8643: if ${ac_cv_search_opendir+:} false; then :
8644: $as_echo_n "(cached) " >&6
8645: else
8646: ac_func_search_save_LIBS=$LIBS
8647: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648: /* end confdefs.h. */
8649:
8650: /* Override any GCC internal prototype to avoid an error.
8651: Use char because int might match the return type of a GCC
8652: builtin and then its argument prototype would still apply. */
8653: #ifdef __cplusplus
8654: extern "C"
8655: #endif
8656: char opendir ();
8657: int
8658: main ()
8659: {
8660: return opendir ();
8661: ;
8662: return 0;
8663: }
8664: _ACEOF
8665: for ac_lib in '' x; do
8666: if test -z "$ac_lib"; then
8667: ac_res="none required"
8668: else
8669: ac_res=-l$ac_lib
8670: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8671: fi
8672: if ac_fn_c_try_link "$LINENO"; then :
8673: ac_cv_search_opendir=$ac_res
8674: fi
8675: rm -f core conftest.err conftest.$ac_objext \
8676: conftest$ac_exeext
8677: if ${ac_cv_search_opendir+:} false; then :
8678: break
8679: fi
8680: done
8681: if ${ac_cv_search_opendir+:} false; then :
8682:
8683: else
8684: ac_cv_search_opendir=no
8685: fi
8686: rm conftest.$ac_ext
8687: LIBS=$ac_func_search_save_LIBS
8688: fi
8689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8690: $as_echo "$ac_cv_search_opendir" >&6; }
8691: ac_res=$ac_cv_search_opendir
8692: if test "$ac_res" != no; then :
8693: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8694:
8695: fi
8696:
8697: fi
8698:
8699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8700: $as_echo_n "checking for ANSI C header files... " >&6; }
8701: if ${ac_cv_header_stdc+:} false; then :
8702: $as_echo_n "(cached) " >&6
8703: else
8704: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705: /* end confdefs.h. */
8706: #include <stdlib.h>
8707: #include <stdarg.h>
8708: #include <string.h>
8709: #include <float.h>
8710:
8711: int
8712: main ()
8713: {
8714:
8715: ;
8716: return 0;
8717: }
8718: _ACEOF
8719: if ac_fn_c_try_compile "$LINENO"; then :
8720: ac_cv_header_stdc=yes
8721: else
8722: ac_cv_header_stdc=no
8723: fi
8724: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8725:
8726: if test $ac_cv_header_stdc = yes; then
8727: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8728: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729: /* end confdefs.h. */
8730: #include <string.h>
8731:
8732: _ACEOF
8733: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8734: $EGREP "memchr" >/dev/null 2>&1; then :
8735:
8736: else
8737: ac_cv_header_stdc=no
8738: fi
8739: rm -f conftest*
8740:
8741: fi
8742:
8743: if test $ac_cv_header_stdc = yes; then
8744: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8745: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746: /* end confdefs.h. */
8747: #include <stdlib.h>
8748:
8749: _ACEOF
8750: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8751: $EGREP "free" >/dev/null 2>&1; then :
8752:
8753: else
8754: ac_cv_header_stdc=no
8755: fi
8756: rm -f conftest*
8757:
8758: fi
8759:
8760: if test $ac_cv_header_stdc = yes; then
8761: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8762: if test "$cross_compiling" = yes; then :
8763: :
8764: else
8765: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766: /* end confdefs.h. */
8767: #include <ctype.h>
8768: #include <stdlib.h>
8769: #if ((' ' & 0x0FF) == 0x020)
8770: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8771: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8772: #else
8773: # define ISLOWER(c) \
8774: (('a' <= (c) && (c) <= 'i') \
8775: || ('j' <= (c) && (c) <= 'r') \
8776: || ('s' <= (c) && (c) <= 'z'))
8777: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8778: #endif
8779:
8780: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8781: int
8782: main ()
8783: {
8784: int i;
8785: for (i = 0; i < 256; i++)
8786: if (XOR (islower (i), ISLOWER (i))
8787: || toupper (i) != TOUPPER (i))
8788: return 2;
8789: return 0;
8790: }
8791: _ACEOF
8792: if ac_fn_c_try_run "$LINENO"; then :
8793:
8794: else
8795: ac_cv_header_stdc=no
8796: fi
8797: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8798: conftest.$ac_objext conftest.beam conftest.$ac_ext
8799: fi
8800:
8801: fi
8802: fi
8803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8804: $as_echo "$ac_cv_header_stdc" >&6; }
8805: if test $ac_cv_header_stdc = yes; then
8806:
8807: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8808:
8809: fi
8810:
8811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8812: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8813: if ${ac_cv_header_sys_wait_h+:} false; then :
8814: $as_echo_n "(cached) " >&6
8815: else
8816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817: /* end confdefs.h. */
8818: #include <sys/types.h>
8819: #include <sys/wait.h>
8820: #ifndef WEXITSTATUS
8821: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8822: #endif
8823: #ifndef WIFEXITED
8824: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8825: #endif
8826:
8827: int
8828: main ()
8829: {
8830: int s;
8831: wait (&s);
8832: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8833: ;
8834: return 0;
8835: }
8836: _ACEOF
8837: if ac_fn_c_try_compile "$LINENO"; then :
8838: ac_cv_header_sys_wait_h=yes
8839: else
8840: ac_cv_header_sys_wait_h=no
8841: fi
8842: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8843: fi
8844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8845: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8846: if test $ac_cv_header_sys_wait_h = yes; then
8847:
8848: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8849:
8850: fi
8851:
8852: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8853: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8854: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8855: do :
8856: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8857: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8858: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8859: cat >>confdefs.h <<_ACEOF
8860: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8861: _ACEOF
8862:
8863: fi
8864:
8865: done
8866:
8867:
8868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8869: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8870: if ${ac_cv_c_const+:} false; then :
8871: $as_echo_n "(cached) " >&6
8872: else
8873: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874: /* end confdefs.h. */
8875:
8876: int
8877: main ()
8878: {
8879: /* FIXME: Include the comments suggested by Paul. */
8880: #ifndef __cplusplus
8881: /* Ultrix mips cc rejects this. */
8882: typedef int charset[2];
8883: const charset cs;
8884: /* SunOS 4.1.1 cc rejects this. */
8885: char const *const *pcpcc;
8886: char **ppc;
8887: /* NEC SVR4.0.2 mips cc rejects this. */
8888: struct point {int x, y;};
8889: static struct point const zero = {0,0};
8890: /* AIX XL C 1.02.0.0 rejects this.
8891: It does not let you subtract one const X* pointer from another in
8892: an arm of an if-expression whose if-part is not a constant
8893: expression */
8894: const char *g = "string";
8895: pcpcc = &g + (g ? g-g : 0);
8896: /* HPUX 7.0 cc rejects these. */
8897: ++pcpcc;
8898: ppc = (char**) pcpcc;
8899: pcpcc = (char const *const *) ppc;
8900: { /* SCO 3.2v4 cc rejects this. */
8901: char *t;
8902: char const *s = 0 ? (char *) 0 : (char const *) 0;
8903:
8904: *t++ = 0;
8905: if (s) return 0;
8906: }
8907: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8908: int x[] = {25, 17};
8909: const int *foo = &x[0];
8910: ++foo;
8911: }
8912: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8913: typedef const int *iptr;
8914: iptr p = 0;
8915: ++p;
8916: }
8917: { /* AIX XL C 1.02.0.0 rejects this saying
8918: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8919: struct s { int j; const int *ap[3]; };
8920: struct s *b; b->j = 5;
8921: }
8922: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8923: const int foo = 10;
8924: if (!foo) return 0;
8925: }
8926: return !cs[0] && !zero.x;
8927: #endif
8928:
8929: ;
8930: return 0;
8931: }
8932: _ACEOF
8933: if ac_fn_c_try_compile "$LINENO"; then :
8934: ac_cv_c_const=yes
8935: else
8936: ac_cv_c_const=no
8937: fi
8938: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8939: fi
8940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8941: $as_echo "$ac_cv_c_const" >&6; }
8942: if test $ac_cv_c_const = no; then
8943:
8944: $as_echo "#define const /**/" >>confdefs.h
8945:
8946: fi
8947:
8948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8949: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8950: if ${ac_cv_type_uid_t+:} false; then :
8951: $as_echo_n "(cached) " >&6
8952: else
8953: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8954: /* end confdefs.h. */
8955: #include <sys/types.h>
8956:
8957: _ACEOF
8958: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8959: $EGREP "uid_t" >/dev/null 2>&1; then :
8960: ac_cv_type_uid_t=yes
8961: else
8962: ac_cv_type_uid_t=no
8963: fi
8964: rm -f conftest*
8965:
8966: fi
8967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8968: $as_echo "$ac_cv_type_uid_t" >&6; }
8969: if test $ac_cv_type_uid_t = no; then
8970:
8971: $as_echo "#define uid_t int" >>confdefs.h
8972:
8973:
8974: $as_echo "#define gid_t int" >>confdefs.h
8975:
8976: fi
8977:
8978: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8979: if test "x$ac_cv_type_pid_t" = xyes; then :
8980:
8981: else
8982:
8983: cat >>confdefs.h <<_ACEOF
8984: #define pid_t int
8985: _ACEOF
8986:
8987: fi
8988:
8989: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8990: if test "x$ac_cv_type_size_t" = xyes; then :
8991:
8992: else
8993:
8994: cat >>confdefs.h <<_ACEOF
8995: #define size_t unsigned int
8996: _ACEOF
8997:
8998: fi
8999:
9000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9001: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9002: if ${ac_cv_header_time+:} false; then :
9003: $as_echo_n "(cached) " >&6
9004: else
9005: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006: /* end confdefs.h. */
9007: #include <sys/types.h>
9008: #include <sys/time.h>
9009: #include <time.h>
9010:
9011: int
9012: main ()
9013: {
9014: if ((struct tm *) 0)
9015: return 0;
9016: ;
9017: return 0;
9018: }
9019: _ACEOF
9020: if ac_fn_c_try_compile "$LINENO"; then :
9021: ac_cv_header_time=yes
9022: else
9023: ac_cv_header_time=no
9024: fi
9025: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9026: fi
9027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9028: $as_echo "$ac_cv_header_time" >&6; }
9029: if test $ac_cv_header_time = yes; then
9030:
9031: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9032:
9033: fi
9034:
9035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9036: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9037: if ${ac_cv_struct_tm+:} false; then :
9038: $as_echo_n "(cached) " >&6
9039: else
9040: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041: /* end confdefs.h. */
9042: #include <sys/types.h>
9043: #include <time.h>
9044:
9045: int
9046: main ()
9047: {
9048: struct tm tm;
9049: int *p = &tm.tm_sec;
9050: return !p;
9051: ;
9052: return 0;
9053: }
9054: _ACEOF
9055: if ac_fn_c_try_compile "$LINENO"; then :
9056: ac_cv_struct_tm=time.h
9057: else
9058: ac_cv_struct_tm=sys/time.h
9059: fi
9060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9061: fi
9062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9063: $as_echo "$ac_cv_struct_tm" >&6; }
9064: if test $ac_cv_struct_tm = sys/time.h; then
9065:
9066: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9067:
9068: fi
9069:
9070:
9071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
9072: $as_echo_n "checking return type of signal handlers... " >&6; }
9073: if ${ac_cv_type_signal+:} false; then :
9074: $as_echo_n "(cached) " >&6
9075: else
9076: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077: /* end confdefs.h. */
9078: #include <sys/types.h>
9079: #include <signal.h>
9080:
9081: int
9082: main ()
9083: {
9084: return *(signal (0, 0)) (0) == 1;
9085: ;
9086: return 0;
9087: }
9088: _ACEOF
9089: if ac_fn_c_try_compile "$LINENO"; then :
9090: ac_cv_type_signal=int
9091: else
9092: ac_cv_type_signal=void
9093: fi
9094: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9095: fi
9096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
9097: $as_echo "$ac_cv_type_signal" >&6; }
9098:
9099: cat >>confdefs.h <<_ACEOF
9100: #define RETSIGTYPE $ac_cv_type_signal
9101: _ACEOF
9102:
9103:
9104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
9105: $as_echo_n "checking for working strcoll... " >&6; }
9106: if ${ac_cv_func_strcoll_works+:} false; then :
9107: $as_echo_n "(cached) " >&6
9108: else
9109: if test "$cross_compiling" = yes; then :
9110: ac_cv_func_strcoll_works=no
9111: else
9112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113: /* end confdefs.h. */
9114: $ac_includes_default
9115: int
9116: main ()
9117: {
9118: return (strcoll ("abc", "def") >= 0 ||
9119: strcoll ("ABC", "DEF") >= 0 ||
9120: strcoll ("123", "456") >= 0)
9121: ;
9122: return 0;
9123: }
9124: _ACEOF
9125: if ac_fn_c_try_run "$LINENO"; then :
9126: ac_cv_func_strcoll_works=yes
9127: else
9128: ac_cv_func_strcoll_works=no
9129: fi
9130: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9131: conftest.$ac_objext conftest.beam conftest.$ac_ext
9132: fi
9133:
9134: fi
9135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
9136: $as_echo "$ac_cv_func_strcoll_works" >&6; }
9137: if test $ac_cv_func_strcoll_works = yes; then
9138:
9139: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
9140:
9141: fi
9142:
9143: for ac_func in strftime
9144: do :
9145: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
9146: if test "x$ac_cv_func_strftime" = xyes; then :
9147: cat >>confdefs.h <<_ACEOF
9148: #define HAVE_STRFTIME 1
9149: _ACEOF
9150:
9151: else
9152: # strftime is in -lintl on SCO UNIX.
9153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
9154: $as_echo_n "checking for strftime in -lintl... " >&6; }
9155: if ${ac_cv_lib_intl_strftime+:} false; then :
9156: $as_echo_n "(cached) " >&6
9157: else
9158: ac_check_lib_save_LIBS=$LIBS
9159: LIBS="-lintl $LIBS"
9160: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161: /* end confdefs.h. */
9162:
9163: /* Override any GCC internal prototype to avoid an error.
9164: Use char because int might match the return type of a GCC
9165: builtin and then its argument prototype would still apply. */
9166: #ifdef __cplusplus
9167: extern "C"
9168: #endif
9169: char strftime ();
9170: int
9171: main ()
9172: {
9173: return strftime ();
9174: ;
9175: return 0;
9176: }
9177: _ACEOF
9178: if ac_fn_c_try_link "$LINENO"; then :
9179: ac_cv_lib_intl_strftime=yes
9180: else
9181: ac_cv_lib_intl_strftime=no
9182: fi
9183: rm -f core conftest.err conftest.$ac_objext \
9184: conftest$ac_exeext conftest.$ac_ext
9185: LIBS=$ac_check_lib_save_LIBS
9186: fi
9187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9188: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9189: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9190: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9191:
9192: LIBS="-lintl $LIBS"
9193: fi
9194:
9195: fi
9196: done
9197:
9198: for ac_func in vprintf
9199: do :
9200: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9201: if test "x$ac_cv_func_vprintf" = xyes; then :
9202: cat >>confdefs.h <<_ACEOF
9203: #define HAVE_VPRINTF 1
9204: _ACEOF
9205:
9206: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9207: if test "x$ac_cv_func__doprnt" = xyes; then :
9208:
9209: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9210:
9211: fi
9212:
9213: fi
9214: done
9215:
9216:
9217: for ac_func in ftime getcwd putenv select strcspn strdup \
9218: strerror strspn strstr strtod
9219: do :
9220: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9221: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9222: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9223: cat >>confdefs.h <<_ACEOF
9224: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9225: _ACEOF
9226:
9227: fi
9228: done
9229:
9230:
9231:
9232: # Check whether --with-openssl_arch was given.
9233: if test "${with_openssl_arch+set}" = set; then :
9234: withval=$with_openssl_arch;
9235: else
9236: with_openssl_arch=none
9237: fi
9238:
9239:
9240: if test $(uname) = "OS/2"; then
9241: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9242: else
9243: if test "x$with_openssl_arch" = xnone; then
9244: (cd tools/$OPENSSL && ./config no-asm)
9245: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9246: (cd tools/$OPENSSL && ./Configure)
9247: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9248: elif test "x$with_openssl_arch" = xlist; then
9249: (cd tools/$OPENSSL && ./Configure)
9250: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9251: else
9252: (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
9253: fi
9254: fi
9255:
9256: if test "$MYGNUPLOT" = "yes"; then
9257: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9258: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9259: (cd "$srcdir/tools" && tar -xf -)
9260: fi
9261: subdirs="$subdirs tools/$GNUPLOT"
9262:
9263: GNUPLOT_COMPILATION=$GNUPLOT
9264: else
9265: GNUPLOT_COMPILATION=
9266: fi
9267:
9268:
9269:
9270: HOST=$target
9271:
9272:
9273: my_save_cflags="$CFLAGS"
9274: FPCFLAGS=""
9275:
9276: CFLAGS=-malign-double
9277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5
9278: $as_echo_n "checking whether CC supports -malign-double... " >&6; }
9279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280: /* end confdefs.h. */
9281:
9282: int
9283: main ()
9284: {
9285:
9286: ;
9287: return 0;
9288: }
9289: _ACEOF
9290: if ac_fn_c_try_compile "$LINENO"; then :
9291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9292: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double"
9293: else
9294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9295: $as_echo "no" >&6; }
9296: fi
9297: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9298: CFLAGS=-mieee-fp
9299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5
9300: $as_echo_n "checking whether CC supports -mieee-fp... " >&6; }
9301: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302: /* end confdefs.h. */
9303:
9304: int
9305: main ()
9306: {
9307:
9308: ;
9309: return 0;
9310: }
9311: _ACEOF
9312: if ac_fn_c_try_compile "$LINENO"; then :
9313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9314: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp"
9315: else
9316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317: $as_echo "no" >&6; }
9318: fi
9319: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9320: CFLAGS=-mieee
9321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5
9322: $as_echo_n "checking whether CC supports -mieee... " >&6; }
9323: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324: /* end confdefs.h. */
9325:
9326: int
9327: main ()
9328: {
9329:
9330: ;
9331: return 0;
9332: }
9333: _ACEOF
9334: if ac_fn_c_try_compile "$LINENO"; then :
9335: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9336: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee"
9337: else
9338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339: $as_echo "no" >&6; }
9340: fi
9341: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9342: CFLAGS=$my_save_cflags
9343:
9344: CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign"
9345: FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c"
9346: FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c"
9347: CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char"
9348:
9349: case $target_os in
9350:
9351: cygwin*)
9352: OS=Cygwin
9353: break ;;
9354:
9355: interix*)
9356: OS=Interix
9357: break ;;
9358:
9359: *)
9360: OS=$(uname)
9361: break ;;
9362:
9363: esac
9364:
9365:
9366:
9367: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9368: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9369: MALLOC=
9370:
9371: case $OS in
9372: Darwin)
9373: EXPORT_DYNAMIC=-Wl,-flat_namespace
9374: NESTED_FUNCTIONS=-fnested-functions
9375: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9376: ac_configure_args="$ac_configure_args --with-readline=builtin \
9377: --disable-shared --enable-static --enable-threads \
9378: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9379: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9380: LDFLAGS=\"$LDFLAGS\""
9381: C_STANDARD=-std=gnu99
9382: ELF=
9383: break ;;
9384:
9385: Cygwin)
9386: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9387: NESTED_FUNCTIONS=
9388: ac_configure_args="$ac_configure_args --with-readline=builtin \
9389: --disable-shared --enable-static --enable-threads \
9390: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9391: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9392: LDFLAGS=\"$LDFLAGS\""
9393: C_STANDARD=-std=gnu99
9394: ELF=
9395: break ;;
9396:
9397: Interix)
9398: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9399: NESTED_FUNCTIONS=
9400: ac_configure_args="$ac_configure_args --with-readline=builtin \
9401: --disable-shared --enable-static --enable-threads \
9402: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9403: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9404: LDFLAGS=\"$LDFLAGS\""
9405: C_STANDARD=-std=gnu99
9406: ELF=
9407: break;;
9408:
9409: AIX)
9410: EXPORT_DYNAMIC=-Wl,--export-dynamic
9411: NESTED_FUNCTIONS=
9412: ac_configure_args="$ac_configure_args --with-readline=builtin \
9413: --disable-shared --enable-static --enable-threads \
9414: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9415: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9416: LDFLAGS=\"$LDFLAGS\""
9417: C_STANDARD=-std=gnu99
9418: ELF=
9419: break ;;
9420:
9421: OS/2)
9422: if test $FORCED_FINAL_ENCODING -eq 0; then \
9423: FINAL_ENCODING=CP850; \
9424: fi;
9425: OS=OS2
9426: NESTED_FUNCTIONS=
9427: EXPORT_DYNAMIC=-Zmap
9428: ac_configure_args="$ac_configure_args --without-readline \
9429: --without-cairo --disable-shared --enable-static \
9430: --enable-threads \
9431: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9432: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9433: LDFLAGS=\"$LDFLAGS\""
9434: C_STANDARD=
9435: ELF=
9436: break;;
9437:
9438: OpenBSD)
9439: if test $FORCED_FINAL_ENCODING -eq 0; then \
9440: FINAL_ENCODING=UTF-8; \
9441: fi;
9442: EXPORT_DYNAMIC=-Wl,--export-dynamic
9443: NESTED_FUNCTIONS=
9444: ac_configure_args="$ac_configure_args --with-readline=builtin \
9445: --disable-shared --enable-static --enable-threads \
9446: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9447: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9448: LDFLAGS=\"$LDFLAGS\""
9449: C_STANDARD=-std=gnu99
9450: ELF=
9451: break;;
9452:
9453: SunOS)
9454: EXPORT_DYNAMIC=-Wl,--export-dynamic
9455: NESTED_FUNCTIONS=
9456:
9457: ac_configure_args="$ac_configure_args --with-readline=builtin \
9458: --disable-shared --enable-static --enable-threads \
9459: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9460: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9461: LDFLAGS=\"$LDFLAGS\""
9462: C_STANDARD=-std=gnu99
9463: MALLOC=-lumem
9464: ELF=
9465: break ;;
9466:
9467: NetBSD)
9468: EXPORT_DYNAMIC=-Wl,--export-dynamic
9469: NESTED_FUNCTIONS=
9470:
9471: ac_configure_args="$ac_configure_args --with-readline=builtin \
9472: --disable-shared --enable-static --enable-threads \
9473: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9474: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9475: LDFLAGS=\"$LDFLAGS\""
9476: C_STANDARD=-std=gnu99
9477: GCCBIN=`which gcc`
9478: GCCLIB=`dirname $GCCBIN`/../lib
9479: ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
9480: break ;;
9481:
9482: *)
9483: EXPORT_DYNAMIC=-Wl,--export-dynamic
9484: NESTED_FUNCTIONS=
9485:
9486: ac_configure_args="$ac_configure_args --with-readline=builtin \
9487: --disable-shared --enable-static --enable-threads \
9488: CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
9489: FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
9490: LDFLAGS=\"$LDFLAGS\""
9491: C_STANDARD=-std=gnu99
9492: ELF=
9493: break ;;
9494: esac
9495:
9496: case $OS in
9497: OS2)
9498: WHOLE_LIB1=""
9499: WHOLE_LIB2=""
9500: break ;;
9501:
9502: *)
9503: WHOLE_LIB1="-Wl,-whole-archive"
9504: WHOLE_LIB2="-Wl,-no-whole-archive"
9505: break ;;
9506: esac
9507:
9508:
9509:
9510:
9511:
9512:
9513:
9514:
9515:
9516:
9517:
9518:
9519:
9520:
9521:
9522:
9523:
9524:
9525:
9526:
9527:
9528:
9529:
9530:
9531:
9532:
9533:
9534:
9535:
9536:
9537:
9538:
9539:
9540:
9541:
9542:
9543:
9544:
9545:
9546:
9547:
9548:
9549:
9550:
9551:
9552:
9553:
9554:
9555: subdirs="$subdirs tools/$NCURSES"
9556:
9557: subdirs="$subdirs tools/$READLINE"
9558:
9559: subdirs="$subdirs tools/$GSL"
9560:
9561: subdirs="$subdirs tools/$GPP"
9562:
9563: subdirs="$subdirs tools/$FILE"
9564:
9565: subdirs="$subdirs tools/$ICONV"
9566:
9567: subdirs="$subdirs tools/$SQLITE"
9568:
9569: subdirs="$subdirs tools/$UNITS"
9570:
9571: subdirs="$subdirs tools/$SIGSEGV"
9572:
9573:
9574: ac_config_files="$ac_config_files Makefile"
9575:
9576: ac_config_files="$ac_config_files COPYING"
9577:
9578: ac_config_files="$ac_config_files tools/Makefile"
9579:
9580: ac_config_files="$ac_config_files src/Makefile"
9581:
9582: ac_config_files="$ac_config_files man/Makefile"
9583:
9584: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9585:
9586: ac_config_files="$ac_config_files doc/Makefile"
9587:
9588: ac_config_files="$ac_config_files scripts/Makefile"
9589:
9590: ac_config_files="$ac_config_files scripts/mkrplso"
9591:
9592: ac_config_files="$ac_config_files scripts/rplcc"
9593:
9594: ac_config_files="$ac_config_files scripts/rpllink"
9595:
9596: ac_config_files="$ac_config_files rpltags/Makefile"
9597:
9598: ac_config_files="$ac_config_files rpliconv/Makefile"
9599:
9600: ac_config_files="$ac_config_files rplsums/Makefile"
9601:
9602: ac_config_files="$ac_config_files rplcas/Makefile"
9603:
9604: ac_config_files="$ac_config_files rplawk/Makefile"
9605:
9606: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9607:
9608: ac_config_files="$ac_config_files lapack/blas/Makefile"
9609:
9610:
9611: ac_config_files="$ac_config_files man/rpl.1"
9612:
9613: ac_config_files="$ac_config_files man/rplcc.1"
9614:
9615: ac_config_files="$ac_config_files man/rpllink.1"
9616:
9617: ac_config_files="$ac_config_files man/rpltags.1"
9618:
9619: ac_config_files="$ac_config_files man/mkrplso.1"
9620:
9621: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9622:
9623: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9624:
9625: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9626:
9627: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9628:
9629: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9630:
9631:
9632: cat >confcache <<\_ACEOF
9633: # This file is a shell script that caches the results of configure
9634: # tests run on this system so they can be shared between configure
9635: # scripts and configure runs, see configure's option --config-cache.
9636: # It is not useful on other systems. If it contains results you don't
9637: # want to keep, you may remove or edit it.
9638: #
9639: # config.status only pays attention to the cache file if you give it
9640: # the --recheck option to rerun configure.
9641: #
9642: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9643: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9644: # following values.
9645:
9646: _ACEOF
9647:
9648: # The following way of writing the cache mishandles newlines in values,
9649: # but we know of no workaround that is simple, portable, and efficient.
9650: # So, we kill variables containing newlines.
9651: # Ultrix sh set writes to stderr and can't be redirected directly,
9652: # and sets the high bit in the cache file unless we assign to the vars.
9653: (
9654: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9655: eval ac_val=\$$ac_var
9656: case $ac_val in #(
9657: *${as_nl}*)
9658: case $ac_var in #(
9659: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9660: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9661: esac
9662: case $ac_var in #(
9663: _ | IFS | as_nl) ;; #(
9664: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9665: *) { eval $ac_var=; unset $ac_var;} ;;
9666: esac ;;
9667: esac
9668: done
9669:
9670: (set) 2>&1 |
9671: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9672: *${as_nl}ac_space=\ *)
9673: # `set' does not quote correctly, so add quotes: double-quote
9674: # substitution turns \\\\ into \\, and sed turns \\ into \.
9675: sed -n \
9676: "s/'/'\\\\''/g;
9677: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9678: ;; #(
9679: *)
9680: # `set' quotes correctly as required by POSIX, so do not add quotes.
9681: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9682: ;;
9683: esac |
9684: sort
9685: ) |
9686: sed '
9687: /^ac_cv_env_/b end
9688: t clear
9689: :clear
9690: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9691: t end
9692: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9693: :end' >>confcache
9694: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9695: if test -w "$cache_file"; then
9696: if test "x$cache_file" != "x/dev/null"; then
9697: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9698: $as_echo "$as_me: updating cache $cache_file" >&6;}
9699: if test ! -f "$cache_file" || test -h "$cache_file"; then
9700: cat confcache >"$cache_file"
9701: else
9702: case $cache_file in #(
9703: */* | ?:*)
9704: mv -f confcache "$cache_file"$$ &&
9705: mv -f "$cache_file"$$ "$cache_file" ;; #(
9706: *)
9707: mv -f confcache "$cache_file" ;;
9708: esac
9709: fi
9710: fi
9711: else
9712: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9713: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9714: fi
9715: fi
9716: rm -f confcache
9717:
9718: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9719: # Let make expand exec_prefix.
9720: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9721:
9722: DEFS=-DHAVE_CONFIG_H
9723:
9724: ac_libobjs=
9725: ac_ltlibobjs=
9726: U=
9727: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9728: # 1. Remove the extension, and $U if already installed.
9729: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9730: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9731: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9732: # will be set to the directory where LIBOBJS objects are built.
9733: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9734: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9735: done
9736: LIBOBJS=$ac_libobjs
9737:
9738: LTLIBOBJS=$ac_ltlibobjs
9739:
9740:
9741: if test -n "$EXEEXT"; then
9742: am__EXEEXT_TRUE=
9743: am__EXEEXT_FALSE='#'
9744: else
9745: am__EXEEXT_TRUE='#'
9746: am__EXEEXT_FALSE=
9747: fi
9748:
9749: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9750: as_fn_error $? "conditional \"AMDEP\" was never defined.
9751: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9752: fi
9753: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9754: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9755: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9756: fi
9757: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9758: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9759: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9760: fi
9761:
9762: : "${CONFIG_STATUS=./config.status}"
9763: ac_write_fail=0
9764: ac_clean_files_save=$ac_clean_files
9765: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9766: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9767: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9768: as_write_fail=0
9769: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9770: #! $SHELL
9771: # Generated by $as_me.
9772: # Run this file to recreate the current configuration.
9773: # Compiler output produced by configure, useful for debugging
9774: # configure, is in config.log if it exists.
9775:
9776: debug=false
9777: ac_cs_recheck=false
9778: ac_cs_silent=false
9779:
9780: SHELL=\${CONFIG_SHELL-$SHELL}
9781: export SHELL
9782: _ASEOF
9783: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9784: ## -------------------- ##
9785: ## M4sh Initialization. ##
9786: ## -------------------- ##
9787:
9788: # Be more Bourne compatible
9789: DUALCASE=1; export DUALCASE # for MKS sh
9790: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9791: emulate sh
9792: NULLCMD=:
9793: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9794: # is contrary to our usage. Disable this feature.
9795: alias -g '${1+"$@"}'='"$@"'
9796: setopt NO_GLOB_SUBST
9797: else
9798: case `(set -o) 2>/dev/null` in #(
9799: *posix*) :
9800: set -o posix ;; #(
9801: *) :
9802: ;;
9803: esac
9804: fi
9805:
9806:
9807: as_nl='
9808: '
9809: export as_nl
9810: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9811: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9812: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9813: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9814: # Prefer a ksh shell builtin over an external printf program on Solaris,
9815: # but without wasting forks for bash or zsh.
9816: if test -z "$BASH_VERSION$ZSH_VERSION" \
9817: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9818: as_echo='print -r --'
9819: as_echo_n='print -rn --'
9820: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9821: as_echo='printf %s\n'
9822: as_echo_n='printf %s'
9823: else
9824: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9825: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9826: as_echo_n='/usr/ucb/echo -n'
9827: else
9828: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9829: as_echo_n_body='eval
9830: arg=$1;
9831: case $arg in #(
9832: *"$as_nl"*)
9833: expr "X$arg" : "X\\(.*\\)$as_nl";
9834: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9835: esac;
9836: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9837: '
9838: export as_echo_n_body
9839: as_echo_n='sh -c $as_echo_n_body as_echo'
9840: fi
9841: export as_echo_body
9842: as_echo='sh -c $as_echo_body as_echo'
9843: fi
9844:
9845: # The user is always right.
9846: if test "${PATH_SEPARATOR+set}" != set; then
9847: PATH_SEPARATOR=:
9848: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9849: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9850: PATH_SEPARATOR=';'
9851: }
9852: fi
9853:
9854:
9855: # IFS
9856: # We need space, tab and new line, in precisely that order. Quoting is
9857: # there to prevent editors from complaining about space-tab.
9858: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9859: # splitting by setting IFS to empty value.)
9860: IFS=" "" $as_nl"
9861:
9862: # Find who we are. Look in the path if we contain no directory separator.
9863: as_myself=
9864: case $0 in #((
9865: *[\\/]* ) as_myself=$0 ;;
9866: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9867: for as_dir in $PATH
9868: do
9869: IFS=$as_save_IFS
9870: test -z "$as_dir" && as_dir=.
9871: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9872: done
9873: IFS=$as_save_IFS
9874:
9875: ;;
9876: esac
9877: # We did not find ourselves, most probably we were run as `sh COMMAND'
9878: # in which case we are not to be found in the path.
9879: if test "x$as_myself" = x; then
9880: as_myself=$0
9881: fi
9882: if test ! -f "$as_myself"; then
9883: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9884: exit 1
9885: fi
9886:
9887: # Unset variables that we do not need and which cause bugs (e.g. in
9888: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9889: # suppresses any "Segmentation fault" message there. '((' could
9890: # trigger a bug in pdksh 5.2.14.
9891: for as_var in BASH_ENV ENV MAIL MAILPATH
9892: do eval test x\${$as_var+set} = xset \
9893: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9894: done
9895: PS1='$ '
9896: PS2='> '
9897: PS4='+ '
9898:
9899: # NLS nuisances.
9900: LC_ALL=C
9901: export LC_ALL
9902: LANGUAGE=C
9903: export LANGUAGE
9904:
9905: # CDPATH.
9906: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9907:
9908:
9909: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9910: # ----------------------------------------
9911: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9912: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9913: # script with STATUS, using 1 if that was 0.
9914: as_fn_error ()
9915: {
9916: as_status=$1; test $as_status -eq 0 && as_status=1
9917: if test "$4"; then
9918: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9919: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9920: fi
9921: $as_echo "$as_me: error: $2" >&2
9922: as_fn_exit $as_status
9923: } # as_fn_error
9924:
9925:
9926: # as_fn_set_status STATUS
9927: # -----------------------
9928: # Set $? to STATUS, without forking.
9929: as_fn_set_status ()
9930: {
9931: return $1
9932: } # as_fn_set_status
9933:
9934: # as_fn_exit STATUS
9935: # -----------------
9936: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9937: as_fn_exit ()
9938: {
9939: set +e
9940: as_fn_set_status $1
9941: exit $1
9942: } # as_fn_exit
9943:
9944: # as_fn_unset VAR
9945: # ---------------
9946: # Portably unset VAR.
9947: as_fn_unset ()
9948: {
9949: { eval $1=; unset $1;}
9950: }
9951: as_unset=as_fn_unset
9952: # as_fn_append VAR VALUE
9953: # ----------------------
9954: # Append the text in VALUE to the end of the definition contained in VAR. Take
9955: # advantage of any shell optimizations that allow amortized linear growth over
9956: # repeated appends, instead of the typical quadratic growth present in naive
9957: # implementations.
9958: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9959: eval 'as_fn_append ()
9960: {
9961: eval $1+=\$2
9962: }'
9963: else
9964: as_fn_append ()
9965: {
9966: eval $1=\$$1\$2
9967: }
9968: fi # as_fn_append
9969:
9970: # as_fn_arith ARG...
9971: # ------------------
9972: # Perform arithmetic evaluation on the ARGs, and store the result in the
9973: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9974: # must be portable across $(()) and expr.
9975: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9976: eval 'as_fn_arith ()
9977: {
9978: as_val=$(( $* ))
9979: }'
9980: else
9981: as_fn_arith ()
9982: {
9983: as_val=`expr "$@" || test $? -eq 1`
9984: }
9985: fi # as_fn_arith
9986:
9987:
9988: if expr a : '\(a\)' >/dev/null 2>&1 &&
9989: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9990: as_expr=expr
9991: else
9992: as_expr=false
9993: fi
9994:
9995: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9996: as_basename=basename
9997: else
9998: as_basename=false
9999: fi
10000:
10001: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10002: as_dirname=dirname
10003: else
10004: as_dirname=false
10005: fi
10006:
10007: as_me=`$as_basename -- "$0" ||
10008: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10009: X"$0" : 'X\(//\)$' \| \
10010: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10011: $as_echo X/"$0" |
10012: sed '/^.*\/\([^/][^/]*\)\/*$/{
10013: s//\1/
10014: q
10015: }
10016: /^X\/\(\/\/\)$/{
10017: s//\1/
10018: q
10019: }
10020: /^X\/\(\/\).*/{
10021: s//\1/
10022: q
10023: }
10024: s/.*/./; q'`
10025:
10026: # Avoid depending upon Character Ranges.
10027: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10028: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10029: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10030: as_cr_digits='0123456789'
10031: as_cr_alnum=$as_cr_Letters$as_cr_digits
10032:
10033: ECHO_C= ECHO_N= ECHO_T=
10034: case `echo -n x` in #(((((
10035: -n*)
10036: case `echo 'xy\c'` in
10037: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10038: xy) ECHO_C='\c';;
10039: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
10040: ECHO_T=' ';;
10041: esac;;
10042: *)
10043: ECHO_N='-n';;
10044: esac
10045:
10046: rm -f conf$$ conf$$.exe conf$$.file
10047: if test -d conf$$.dir; then
10048: rm -f conf$$.dir/conf$$.file
10049: else
10050: rm -f conf$$.dir
10051: mkdir conf$$.dir 2>/dev/null
10052: fi
10053: if (echo >conf$$.file) 2>/dev/null; then
10054: if ln -s conf$$.file conf$$ 2>/dev/null; then
10055: as_ln_s='ln -s'
10056: # ... but there are two gotchas:
10057: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10058: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10059: # In both cases, we have to default to `cp -p'.
10060: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10061: as_ln_s='cp -p'
10062: elif ln conf$$.file conf$$ 2>/dev/null; then
10063: as_ln_s=ln
10064: else
10065: as_ln_s='cp -p'
10066: fi
10067: else
10068: as_ln_s='cp -p'
10069: fi
10070: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10071: rmdir conf$$.dir 2>/dev/null
10072:
10073:
10074: # as_fn_mkdir_p
10075: # -------------
10076: # Create "$as_dir" as a directory, including parents if necessary.
10077: as_fn_mkdir_p ()
10078: {
10079:
10080: case $as_dir in #(
10081: -*) as_dir=./$as_dir;;
10082: esac
10083: test -d "$as_dir" || eval $as_mkdir_p || {
10084: as_dirs=
10085: while :; do
10086: case $as_dir in #(
10087: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10088: *) as_qdir=$as_dir;;
10089: esac
10090: as_dirs="'$as_qdir' $as_dirs"
10091: as_dir=`$as_dirname -- "$as_dir" ||
10092: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10093: X"$as_dir" : 'X\(//\)[^/]' \| \
10094: X"$as_dir" : 'X\(//\)$' \| \
10095: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10096: $as_echo X"$as_dir" |
10097: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10098: s//\1/
10099: q
10100: }
10101: /^X\(\/\/\)[^/].*/{
10102: s//\1/
10103: q
10104: }
10105: /^X\(\/\/\)$/{
10106: s//\1/
10107: q
10108: }
10109: /^X\(\/\).*/{
10110: s//\1/
10111: q
10112: }
10113: s/.*/./; q'`
10114: test -d "$as_dir" && break
10115: done
10116: test -z "$as_dirs" || eval "mkdir $as_dirs"
10117: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10118:
10119:
10120: } # as_fn_mkdir_p
10121: if mkdir -p . 2>/dev/null; then
10122: as_mkdir_p='mkdir -p "$as_dir"'
10123: else
10124: test -d ./-p && rmdir ./-p
10125: as_mkdir_p=false
10126: fi
10127:
10128: if test -x / >/dev/null 2>&1; then
10129: as_test_x='test -x'
10130: else
10131: if ls -dL / >/dev/null 2>&1; then
10132: as_ls_L_option=L
10133: else
10134: as_ls_L_option=
10135: fi
10136: as_test_x='
10137: eval sh -c '\''
10138: if test -d "$1"; then
10139: test -d "$1/.";
10140: else
10141: case $1 in #(
10142: -*)set "./$1";;
10143: esac;
10144: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10145: ???[sx]*):;;*)false;;esac;fi
10146: '\'' sh
10147: '
10148: fi
10149: as_executable_p=$as_test_x
10150:
10151: # Sed expression to map a string onto a valid CPP name.
10152: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10153:
10154: # Sed expression to map a string onto a valid variable name.
10155: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10156:
10157:
10158: exec 6>&1
10159: ## ----------------------------------- ##
10160: ## Main body of $CONFIG_STATUS script. ##
10161: ## ----------------------------------- ##
10162: _ASEOF
10163: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10164:
10165: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10166: # Save the log message, to keep $0 and so on meaningful, and to
10167: # report actual input values of CONFIG_FILES etc. instead of their
10168: # values after options handling.
10169: ac_log="
10170: This file was extended by rpl $as_me 4.1.4, which was
10171: generated by GNU Autoconf 2.68. Invocation command line was
10172:
10173: CONFIG_FILES = $CONFIG_FILES
10174: CONFIG_HEADERS = $CONFIG_HEADERS
10175: CONFIG_LINKS = $CONFIG_LINKS
10176: CONFIG_COMMANDS = $CONFIG_COMMANDS
10177: $ $0 $@
10178:
10179: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10180: "
10181:
10182: _ACEOF
10183:
10184: case $ac_config_files in *"
10185: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10186: esac
10187:
10188: case $ac_config_headers in *"
10189: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10190: esac
10191:
10192:
10193: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10194: # Files that config.status was made for.
10195: config_files="$ac_config_files"
10196: config_headers="$ac_config_headers"
10197: config_commands="$ac_config_commands"
10198:
10199: _ACEOF
10200:
10201: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10202: ac_cs_usage="\
10203: \`$as_me' instantiates files and other configuration actions
10204: from templates according to the current configuration. Unless the files
10205: and actions are specified as TAGs, all are instantiated by default.
10206:
10207: Usage: $0 [OPTION]... [TAG]...
10208:
10209: -h, --help print this help, then exit
10210: -V, --version print version number and configuration settings, then exit
10211: --config print configuration, then exit
10212: -q, --quiet, --silent
10213: do not print progress messages
10214: -d, --debug don't remove temporary files
10215: --recheck update $as_me by reconfiguring in the same conditions
10216: --file=FILE[:TEMPLATE]
10217: instantiate the configuration file FILE
10218: --header=FILE[:TEMPLATE]
10219: instantiate the configuration header FILE
10220:
10221: Configuration files:
10222: $config_files
10223:
10224: Configuration headers:
10225: $config_headers
10226:
10227: Configuration commands:
10228: $config_commands
10229:
10230: Report bugs to the package provider."
10231:
10232: _ACEOF
10233: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10234: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10235: ac_cs_version="\\
10236: rpl config.status 4.1.4
10237: configured by $0, generated by GNU Autoconf 2.68,
10238: with options \\"\$ac_cs_config\\"
10239:
10240: Copyright (C) 2010 Free Software Foundation, Inc.
10241: This config.status script is free software; the Free Software Foundation
10242: gives unlimited permission to copy, distribute and modify it."
10243:
10244: ac_pwd='$ac_pwd'
10245: srcdir='$srcdir'
10246: INSTALL='$INSTALL'
10247: MKDIR_P='$MKDIR_P'
10248: AWK='$AWK'
10249: test -n "\$AWK" || AWK=awk
10250: _ACEOF
10251:
10252: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10253: # The default lists apply if the user does not specify any file.
10254: ac_need_defaults=:
10255: while test $# != 0
10256: do
10257: case $1 in
10258: --*=?*)
10259: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10260: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10261: ac_shift=:
10262: ;;
10263: --*=)
10264: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10265: ac_optarg=
10266: ac_shift=:
10267: ;;
10268: *)
10269: ac_option=$1
10270: ac_optarg=$2
10271: ac_shift=shift
10272: ;;
10273: esac
10274:
10275: case $ac_option in
10276: # Handling of the options.
10277: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10278: ac_cs_recheck=: ;;
10279: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10280: $as_echo "$ac_cs_version"; exit ;;
10281: --config | --confi | --conf | --con | --co | --c )
10282: $as_echo "$ac_cs_config"; exit ;;
10283: --debug | --debu | --deb | --de | --d | -d )
10284: debug=: ;;
10285: --file | --fil | --fi | --f )
10286: $ac_shift
10287: case $ac_optarg in
10288: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10289: '') as_fn_error $? "missing file argument" ;;
10290: esac
10291: as_fn_append CONFIG_FILES " '$ac_optarg'"
10292: ac_need_defaults=false;;
10293: --header | --heade | --head | --hea )
10294: $ac_shift
10295: case $ac_optarg in
10296: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10297: esac
10298: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10299: ac_need_defaults=false;;
10300: --he | --h)
10301: # Conflict between --help and --header
10302: as_fn_error $? "ambiguous option: \`$1'
10303: Try \`$0 --help' for more information.";;
10304: --help | --hel | -h )
10305: $as_echo "$ac_cs_usage"; exit ;;
10306: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10307: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10308: ac_cs_silent=: ;;
10309:
10310: # This is an error.
10311: -*) as_fn_error $? "unrecognized option: \`$1'
10312: Try \`$0 --help' for more information." ;;
10313:
10314: *) as_fn_append ac_config_targets " $1"
10315: ac_need_defaults=false ;;
10316:
10317: esac
10318: shift
10319: done
10320:
10321: ac_configure_extra_args=
10322:
10323: if $ac_cs_silent; then
10324: exec 6>/dev/null
10325: ac_configure_extra_args="$ac_configure_extra_args --silent"
10326: fi
10327:
10328: _ACEOF
10329: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10330: if \$ac_cs_recheck; then
10331: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10332: shift
10333: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10334: CONFIG_SHELL='$SHELL'
10335: export CONFIG_SHELL
10336: exec "\$@"
10337: fi
10338:
10339: _ACEOF
10340: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10341: exec 5>>config.log
10342: {
10343: echo
10344: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10345: ## Running $as_me. ##
10346: _ASBOX
10347: $as_echo "$ac_log"
10348: } >&5
10349:
10350: _ACEOF
10351: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10352: #
10353: # INIT-COMMANDS
10354: #
10355: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10356:
10357: _ACEOF
10358:
10359: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10360:
10361: # Handling of arguments.
10362: for ac_config_target in $ac_config_targets
10363: do
10364: case $ac_config_target in
10365: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10366: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10367: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10368: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10369: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10370: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10371: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10372: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10373: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10374: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10375: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10376: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10377: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10378: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10379: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10380: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10381: "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10382: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10383: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10384: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10385: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10386: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10387: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10388: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10389: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10390: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10391: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10392: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10393: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10394: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10395:
10396: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10397: esac
10398: done
10399:
10400:
10401: # If the user did not use the arguments to specify the items to instantiate,
10402: # then the envvar interface is used. Set only those that are not.
10403: # We use the long form for the default assignment because of an extremely
10404: # bizarre bug on SunOS 4.1.3.
10405: if $ac_need_defaults; then
10406: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10407: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10408: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10409: fi
10410:
10411: # Have a temporary directory for convenience. Make it in the build tree
10412: # simply because there is no reason against having it here, and in addition,
10413: # creating and moving files from /tmp can sometimes cause problems.
10414: # Hook for its removal unless debugging.
10415: # Note that there is a small window in which the directory will not be cleaned:
10416: # after its creation but before its name has been assigned to `$tmp'.
10417: $debug ||
10418: {
10419: tmp= ac_tmp=
10420: trap 'exit_status=$?
10421: : "${ac_tmp:=$tmp}"
10422: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10423: ' 0
10424: trap 'as_fn_exit 1' 1 2 13 15
10425: }
10426: # Create a (secure) tmp directory for tmp files.
10427:
10428: {
10429: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10430: test -d "$tmp"
10431: } ||
10432: {
10433: tmp=./conf$$-$RANDOM
10434: (umask 077 && mkdir "$tmp")
10435: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10436: ac_tmp=$tmp
10437:
10438: # Set up the scripts for CONFIG_FILES section.
10439: # No need to generate them if there are no CONFIG_FILES.
10440: # This happens for instance with `./config.status config.h'.
10441: if test -n "$CONFIG_FILES"; then
10442:
10443:
10444: ac_cr=`echo X | tr X '\015'`
10445: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10446: # But we know of no other shell where ac_cr would be empty at this
10447: # point, so we can use a bashism as a fallback.
10448: if test "x$ac_cr" = x; then
10449: eval ac_cr=\$\'\\r\'
10450: fi
10451: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10452: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10453: ac_cs_awk_cr='\\r'
10454: else
10455: ac_cs_awk_cr=$ac_cr
10456: fi
10457:
10458: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10459: _ACEOF
10460:
10461:
10462: {
10463: echo "cat >conf$$subs.awk <<_ACEOF" &&
10464: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10465: echo "_ACEOF"
10466: } >conf$$subs.sh ||
10467: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10468: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10469: ac_delim='%!_!# '
10470: for ac_last_try in false false false false false :; do
10471: . ./conf$$subs.sh ||
10472: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10473:
10474: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10475: if test $ac_delim_n = $ac_delim_num; then
10476: break
10477: elif $ac_last_try; then
10478: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10479: else
10480: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10481: fi
10482: done
10483: rm -f conf$$subs.sh
10484:
10485: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10486: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10487: _ACEOF
10488: sed -n '
10489: h
10490: s/^/S["/; s/!.*/"]=/
10491: p
10492: g
10493: s/^[^!]*!//
10494: :repl
10495: t repl
10496: s/'"$ac_delim"'$//
10497: t delim
10498: :nl
10499: h
10500: s/\(.\{148\}\)..*/\1/
10501: t more1
10502: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10503: p
10504: n
10505: b repl
10506: :more1
10507: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10508: p
10509: g
10510: s/.\{148\}//
10511: t nl
10512: :delim
10513: h
10514: s/\(.\{148\}\)..*/\1/
10515: t more2
10516: s/["\\]/\\&/g; s/^/"/; s/$/"/
10517: p
10518: b
10519: :more2
10520: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10521: p
10522: g
10523: s/.\{148\}//
10524: t delim
10525: ' <conf$$subs.awk | sed '
10526: /^[^""]/{
10527: N
10528: s/\n//
10529: }
10530: ' >>$CONFIG_STATUS || ac_write_fail=1
10531: rm -f conf$$subs.awk
10532: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10533: _ACAWK
10534: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10535: for (key in S) S_is_set[key] = 1
10536: FS = ""
10537:
10538: }
10539: {
10540: line = $ 0
10541: nfields = split(line, field, "@")
10542: substed = 0
10543: len = length(field[1])
10544: for (i = 2; i < nfields; i++) {
10545: key = field[i]
10546: keylen = length(key)
10547: if (S_is_set[key]) {
10548: value = S[key]
10549: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10550: len += length(value) + length(field[++i])
10551: substed = 1
10552: } else
10553: len += 1 + keylen
10554: }
10555:
10556: print line
10557: }
10558:
10559: _ACAWK
10560: _ACEOF
10561: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10562: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10563: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10564: else
10565: cat
10566: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10567: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10568: _ACEOF
10569:
10570: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10571: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10572: # trailing colons and then remove the whole line if VPATH becomes empty
10573: # (actually we leave an empty line to preserve line numbers).
10574: if test "x$srcdir" = x.; then
10575: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10576: h
10577: s///
10578: s/^/:/
10579: s/[ ]*$/:/
10580: s/:\$(srcdir):/:/g
10581: s/:\${srcdir}:/:/g
10582: s/:@srcdir@:/:/g
10583: s/^:*//
10584: s/:*$//
10585: x
10586: s/\(=[ ]*\).*/\1/
10587: G
10588: s/\n//
10589: s/^[^=]*=[ ]*$//
10590: }'
10591: fi
10592:
10593: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10594: fi # test -n "$CONFIG_FILES"
10595:
10596: # Set up the scripts for CONFIG_HEADERS section.
10597: # No need to generate them if there are no CONFIG_HEADERS.
10598: # This happens for instance with `./config.status Makefile'.
10599: if test -n "$CONFIG_HEADERS"; then
10600: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10601: BEGIN {
10602: _ACEOF
10603:
10604: # Transform confdefs.h into an awk script `defines.awk', embedded as
10605: # here-document in config.status, that substitutes the proper values into
10606: # config.h.in to produce config.h.
10607:
10608: # Create a delimiter string that does not exist in confdefs.h, to ease
10609: # handling of long lines.
10610: ac_delim='%!_!# '
10611: for ac_last_try in false false :; do
10612: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10613: if test -z "$ac_tt"; then
10614: break
10615: elif $ac_last_try; then
10616: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10617: else
10618: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10619: fi
10620: done
10621:
10622: # For the awk script, D is an array of macro values keyed by name,
10623: # likewise P contains macro parameters if any. Preserve backslash
10624: # newline sequences.
10625:
10626: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10627: sed -n '
10628: s/.\{148\}/&'"$ac_delim"'/g
10629: t rset
10630: :rset
10631: s/^[ ]*#[ ]*define[ ][ ]*/ /
10632: t def
10633: d
10634: :def
10635: s/\\$//
10636: t bsnl
10637: s/["\\]/\\&/g
10638: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10639: D["\1"]=" \3"/p
10640: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10641: d
10642: :bsnl
10643: s/["\\]/\\&/g
10644: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10645: D["\1"]=" \3\\\\\\n"\\/p
10646: t cont
10647: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10648: t cont
10649: d
10650: :cont
10651: n
10652: s/.\{148\}/&'"$ac_delim"'/g
10653: t clear
10654: :clear
10655: s/\\$//
10656: t bsnlc
10657: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10658: d
10659: :bsnlc
10660: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10661: b cont
10662: ' <confdefs.h | sed '
10663: s/'"$ac_delim"'/"\\\
10664: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10665:
10666: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10667: for (key in D) D_is_set[key] = 1
10668: FS = ""
10669: }
10670: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10671: line = \$ 0
10672: split(line, arg, " ")
10673: if (arg[1] == "#") {
10674: defundef = arg[2]
10675: mac1 = arg[3]
10676: } else {
10677: defundef = substr(arg[1], 2)
10678: mac1 = arg[2]
10679: }
10680: split(mac1, mac2, "(") #)
10681: macro = mac2[1]
10682: prefix = substr(line, 1, index(line, defundef) - 1)
10683: if (D_is_set[macro]) {
10684: # Preserve the white space surrounding the "#".
10685: print prefix "define", macro P[macro] D[macro]
10686: next
10687: } else {
10688: # Replace #undef with comments. This is necessary, for example,
10689: # in the case of _POSIX_SOURCE, which is predefined and required
10690: # on some systems where configure will not decide to define it.
10691: if (defundef == "undef") {
10692: print "/*", prefix defundef, macro, "*/"
10693: next
10694: }
10695: }
10696: }
10697: { print }
10698: _ACAWK
10699: _ACEOF
10700: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10701: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10702: fi # test -n "$CONFIG_HEADERS"
10703:
10704:
10705: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10706: shift
10707: for ac_tag
10708: do
10709: case $ac_tag in
10710: :[FHLC]) ac_mode=$ac_tag; continue;;
10711: esac
10712: case $ac_mode$ac_tag in
10713: :[FHL]*:*);;
10714: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10715: :[FH]-) ac_tag=-:-;;
10716: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10717: esac
10718: ac_save_IFS=$IFS
10719: IFS=:
10720: set x $ac_tag
10721: IFS=$ac_save_IFS
10722: shift
10723: ac_file=$1
10724: shift
10725:
10726: case $ac_mode in
10727: :L) ac_source=$1;;
10728: :[FH])
10729: ac_file_inputs=
10730: for ac_f
10731: do
10732: case $ac_f in
10733: -) ac_f="$ac_tmp/stdin";;
10734: *) # Look for the file first in the build tree, then in the source tree
10735: # (if the path is not absolute). The absolute path cannot be DOS-style,
10736: # because $ac_f cannot contain `:'.
10737: test -f "$ac_f" ||
10738: case $ac_f in
10739: [\\/$]*) false;;
10740: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10741: esac ||
10742: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10743: esac
10744: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10745: as_fn_append ac_file_inputs " '$ac_f'"
10746: done
10747:
10748: # Let's still pretend it is `configure' which instantiates (i.e., don't
10749: # use $as_me), people would be surprised to read:
10750: # /* config.h. Generated by config.status. */
10751: configure_input='Generated from '`
10752: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10753: `' by configure.'
10754: if test x"$ac_file" != x-; then
10755: configure_input="$ac_file. $configure_input"
10756: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10757: $as_echo "$as_me: creating $ac_file" >&6;}
10758: fi
10759: # Neutralize special characters interpreted by sed in replacement strings.
10760: case $configure_input in #(
10761: *\&* | *\|* | *\\* )
10762: ac_sed_conf_input=`$as_echo "$configure_input" |
10763: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10764: *) ac_sed_conf_input=$configure_input;;
10765: esac
10766:
10767: case $ac_tag in
10768: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10769: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10770: esac
10771: ;;
10772: esac
10773:
10774: ac_dir=`$as_dirname -- "$ac_file" ||
10775: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10776: X"$ac_file" : 'X\(//\)[^/]' \| \
10777: X"$ac_file" : 'X\(//\)$' \| \
10778: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10779: $as_echo X"$ac_file" |
10780: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10781: s//\1/
10782: q
10783: }
10784: /^X\(\/\/\)[^/].*/{
10785: s//\1/
10786: q
10787: }
10788: /^X\(\/\/\)$/{
10789: s//\1/
10790: q
10791: }
10792: /^X\(\/\).*/{
10793: s//\1/
10794: q
10795: }
10796: s/.*/./; q'`
10797: as_dir="$ac_dir"; as_fn_mkdir_p
10798: ac_builddir=.
10799:
10800: case "$ac_dir" in
10801: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10802: *)
10803: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10804: # A ".." for each directory in $ac_dir_suffix.
10805: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10806: case $ac_top_builddir_sub in
10807: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10808: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10809: esac ;;
10810: esac
10811: ac_abs_top_builddir=$ac_pwd
10812: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10813: # for backward compatibility:
10814: ac_top_builddir=$ac_top_build_prefix
10815:
10816: case $srcdir in
10817: .) # We are building in place.
10818: ac_srcdir=.
10819: ac_top_srcdir=$ac_top_builddir_sub
10820: ac_abs_top_srcdir=$ac_pwd ;;
10821: [\\/]* | ?:[\\/]* ) # Absolute name.
10822: ac_srcdir=$srcdir$ac_dir_suffix;
10823: ac_top_srcdir=$srcdir
10824: ac_abs_top_srcdir=$srcdir ;;
10825: *) # Relative name.
10826: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10827: ac_top_srcdir=$ac_top_build_prefix$srcdir
10828: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10829: esac
10830: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10831:
10832:
10833: case $ac_mode in
10834: :F)
10835: #
10836: # CONFIG_FILE
10837: #
10838:
10839: case $INSTALL in
10840: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10841: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10842: esac
10843: ac_MKDIR_P=$MKDIR_P
10844: case $MKDIR_P in
10845: [\\/$]* | ?:[\\/]* ) ;;
10846: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10847: esac
10848: _ACEOF
10849:
10850: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10851: # If the template does not know about datarootdir, expand it.
10852: # FIXME: This hack should be removed a few years after 2.60.
10853: ac_datarootdir_hack=; ac_datarootdir_seen=
10854: ac_sed_dataroot='
10855: /datarootdir/ {
10856: p
10857: q
10858: }
10859: /@datadir@/p
10860: /@docdir@/p
10861: /@infodir@/p
10862: /@localedir@/p
10863: /@mandir@/p'
10864: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10865: *datarootdir*) ac_datarootdir_seen=yes;;
10866: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10867: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10868: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10869: _ACEOF
10870: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10871: ac_datarootdir_hack='
10872: s&@datadir@&$datadir&g
10873: s&@docdir@&$docdir&g
10874: s&@infodir@&$infodir&g
10875: s&@localedir@&$localedir&g
10876: s&@mandir@&$mandir&g
10877: s&\\\${datarootdir}&$datarootdir&g' ;;
10878: esac
10879: _ACEOF
10880:
10881: # Neutralize VPATH when `$srcdir' = `.'.
10882: # Shell code in configure.ac might set extrasub.
10883: # FIXME: do we really want to maintain this feature?
10884: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10885: ac_sed_extra="$ac_vpsub
10886: $extrasub
10887: _ACEOF
10888: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10889: :t
10890: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10891: s|@configure_input@|$ac_sed_conf_input|;t t
10892: s&@top_builddir@&$ac_top_builddir_sub&;t t
10893: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10894: s&@srcdir@&$ac_srcdir&;t t
10895: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10896: s&@top_srcdir@&$ac_top_srcdir&;t t
10897: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10898: s&@builddir@&$ac_builddir&;t t
10899: s&@abs_builddir@&$ac_abs_builddir&;t t
10900: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10901: s&@INSTALL@&$ac_INSTALL&;t t
10902: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10903: $ac_datarootdir_hack
10904: "
10905: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10906: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10907:
10908: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10909: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10910: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10911: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10912: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10913: which seems to be undefined. Please make sure it is defined" >&5
10914: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10915: which seems to be undefined. Please make sure it is defined" >&2;}
10916:
10917: rm -f "$ac_tmp/stdin"
10918: case $ac_file in
10919: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10920: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10921: esac \
10922: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10923: ;;
10924: :H)
10925: #
10926: # CONFIG_HEADER
10927: #
10928: if test x"$ac_file" != x-; then
10929: {
10930: $as_echo "/* $configure_input */" \
10931: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10932: } >"$ac_tmp/config.h" \
10933: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10934: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10935: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10936: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10937: else
10938: rm -f "$ac_file"
10939: mv "$ac_tmp/config.h" "$ac_file" \
10940: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10941: fi
10942: else
10943: $as_echo "/* $configure_input */" \
10944: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10945: || as_fn_error $? "could not create -" "$LINENO" 5
10946: fi
10947: # Compute "$ac_file"'s index in $config_headers.
10948: _am_arg="$ac_file"
10949: _am_stamp_count=1
10950: for _am_header in $config_headers :; do
10951: case $_am_header in
10952: $_am_arg | $_am_arg:* )
10953: break ;;
10954: * )
10955: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10956: esac
10957: done
10958: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10959: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10960: X"$_am_arg" : 'X\(//\)[^/]' \| \
10961: X"$_am_arg" : 'X\(//\)$' \| \
10962: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10963: $as_echo X"$_am_arg" |
10964: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10965: s//\1/
10966: q
10967: }
10968: /^X\(\/\/\)[^/].*/{
10969: s//\1/
10970: q
10971: }
10972: /^X\(\/\/\)$/{
10973: s//\1/
10974: q
10975: }
10976: /^X\(\/\).*/{
10977: s//\1/
10978: q
10979: }
10980: s/.*/./; q'`/stamp-h$_am_stamp_count
10981: ;;
10982:
10983: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10984: $as_echo "$as_me: executing $ac_file commands" >&6;}
10985: ;;
10986: esac
10987:
10988:
10989: case $ac_file$ac_mode in
10990: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10991: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10992: # are listed without --file. Let's play safe and only enable the eval
10993: # if we detect the quoting.
10994: case $CONFIG_FILES in
10995: *\'*) eval set x "$CONFIG_FILES" ;;
10996: *) set x $CONFIG_FILES ;;
10997: esac
10998: shift
10999: for mf
11000: do
11001: # Strip MF so we end up with the name of the file.
11002: mf=`echo "$mf" | sed -e 's/:.*$//'`
11003: # Check whether this is an Automake generated Makefile or not.
11004: # We used to match only the files named `Makefile.in', but
11005: # some people rename them; so instead we look at the file content.
11006: # Grep'ing the first line is not enough: some people post-process
11007: # each Makefile.in and add a new line on top of each file to say so.
11008: # Grep'ing the whole file is not good either: AIX grep has a line
11009: # limit of 2048, but all sed's we know have understand at least 4000.
11010: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11011: dirpart=`$as_dirname -- "$mf" ||
11012: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11013: X"$mf" : 'X\(//\)[^/]' \| \
11014: X"$mf" : 'X\(//\)$' \| \
11015: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11016: $as_echo X"$mf" |
11017: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11018: s//\1/
11019: q
11020: }
11021: /^X\(\/\/\)[^/].*/{
11022: s//\1/
11023: q
11024: }
11025: /^X\(\/\/\)$/{
11026: s//\1/
11027: q
11028: }
11029: /^X\(\/\).*/{
11030: s//\1/
11031: q
11032: }
11033: s/.*/./; q'`
11034: else
11035: continue
11036: fi
11037: # Extract the definition of DEPDIR, am__include, and am__quote
11038: # from the Makefile without running `make'.
11039: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11040: test -z "$DEPDIR" && continue
11041: am__include=`sed -n 's/^am__include = //p' < "$mf"`
11042: test -z "am__include" && continue
11043: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11044: # When using ansi2knr, U may be empty or an underscore; expand it
11045: U=`sed -n 's/^U = //p' < "$mf"`
11046: # Find all dependency output files, they are included files with
11047: # $(DEPDIR) in their names. We invoke sed twice because it is the
11048: # simplest approach to changing $(DEPDIR) to its actual value in the
11049: # expansion.
11050: for file in `sed -n "
11051: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11052: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11053: # Make sure the directory exists.
11054: test -f "$dirpart/$file" && continue
11055: fdir=`$as_dirname -- "$file" ||
11056: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11057: X"$file" : 'X\(//\)[^/]' \| \
11058: X"$file" : 'X\(//\)$' \| \
11059: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11060: $as_echo X"$file" |
11061: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11062: s//\1/
11063: q
11064: }
11065: /^X\(\/\/\)[^/].*/{
11066: s//\1/
11067: q
11068: }
11069: /^X\(\/\/\)$/{
11070: s//\1/
11071: q
11072: }
11073: /^X\(\/\).*/{
11074: s//\1/
11075: q
11076: }
11077: s/.*/./; q'`
11078: as_dir=$dirpart/$fdir; as_fn_mkdir_p
11079: # echo "creating $dirpart/$file"
11080: echo '# dummy' > "$dirpart/$file"
11081: done
11082: done
11083: }
11084: ;;
11085:
11086: esac
11087: done # for ac_tag
11088:
11089:
11090: as_fn_exit 0
11091: _ACEOF
11092: ac_clean_files=$ac_clean_files_save
11093:
11094: test $ac_write_fail = 0 ||
11095: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11096:
11097:
11098: # configure is writing to config.log, and then calls config.status.
11099: # config.status does its own redirection, appending to config.log.
11100: # Unfortunately, on DOS this fails, as config.log is still kept open
11101: # by configure, so config.status won't be able to write to it; its
11102: # output is simply discarded. So we exec the FD to /dev/null,
11103: # effectively closing config.log, so it can be properly (re)opened and
11104: # appended to by config.status. When coming back to configure, we
11105: # need to make the FD available again.
11106: if test "$no_create" != yes; then
11107: ac_cs_success=:
11108: ac_config_status_args=
11109: test "$silent" = yes &&
11110: ac_config_status_args="$ac_config_status_args --quiet"
11111: exec 5>/dev/null
11112: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11113: exec 5>>config.log
11114: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11115: # would make configure fail if this is the last instruction.
11116: $ac_cs_success || as_fn_exit 1
11117: fi
11118:
11119: #
11120: # CONFIG_SUBDIRS section.
11121: #
11122: if test "$no_recursion" != yes; then
11123:
11124: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11125: # so they do not pile up.
11126: ac_sub_configure_args=
11127: ac_prev=
11128: eval "set x $ac_configure_args"
11129: shift
11130: for ac_arg
11131: do
11132: if test -n "$ac_prev"; then
11133: ac_prev=
11134: continue
11135: fi
11136: case $ac_arg in
11137: -cache-file | --cache-file | --cache-fil | --cache-fi \
11138: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11139: ac_prev=cache_file ;;
11140: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11141: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
11142: | --c=*)
11143: ;;
11144: --config-cache | -C)
11145: ;;
11146: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11147: ac_prev=srcdir ;;
11148: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11149: ;;
11150: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11151: ac_prev=prefix ;;
11152: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11153: ;;
11154: --disable-option-checking)
11155: ;;
11156: *)
11157: case $ac_arg in
11158: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11159: esac
11160: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11161: esac
11162: done
11163:
11164: # Always prepend --prefix to ensure using the same prefix
11165: # in subdir configurations.
11166: ac_arg="--prefix=$prefix"
11167: case $ac_arg in
11168: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11169: esac
11170: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11171:
11172: # Pass --silent
11173: if test "$silent" = yes; then
11174: ac_sub_configure_args="--silent $ac_sub_configure_args"
11175: fi
11176:
11177: # Always prepend --disable-option-checking to silence warnings, since
11178: # different subdirs can have different --enable and --with options.
11179: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11180:
11181: ac_popdir=`pwd`
11182: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11183:
11184: # Do not complain, so a configure script can configure whichever
11185: # parts of a large source tree are present.
11186: test -d "$srcdir/$ac_dir" || continue
11187:
11188: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11189: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11190: $as_echo "$ac_msg" >&6
11191: as_dir="$ac_dir"; as_fn_mkdir_p
11192: ac_builddir=.
11193:
11194: case "$ac_dir" in
11195: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11196: *)
11197: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11198: # A ".." for each directory in $ac_dir_suffix.
11199: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11200: case $ac_top_builddir_sub in
11201: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11202: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11203: esac ;;
11204: esac
11205: ac_abs_top_builddir=$ac_pwd
11206: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11207: # for backward compatibility:
11208: ac_top_builddir=$ac_top_build_prefix
11209:
11210: case $srcdir in
11211: .) # We are building in place.
11212: ac_srcdir=.
11213: ac_top_srcdir=$ac_top_builddir_sub
11214: ac_abs_top_srcdir=$ac_pwd ;;
11215: [\\/]* | ?:[\\/]* ) # Absolute name.
11216: ac_srcdir=$srcdir$ac_dir_suffix;
11217: ac_top_srcdir=$srcdir
11218: ac_abs_top_srcdir=$srcdir ;;
11219: *) # Relative name.
11220: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11221: ac_top_srcdir=$ac_top_build_prefix$srcdir
11222: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11223: esac
11224: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11225:
11226:
11227: cd "$ac_dir"
11228:
11229: # Check for guested configure; otherwise get Cygnus style configure.
11230: if test -f "$ac_srcdir/configure.gnu"; then
11231: ac_sub_configure=$ac_srcdir/configure.gnu
11232: elif test -f "$ac_srcdir/configure"; then
11233: ac_sub_configure=$ac_srcdir/configure
11234: elif test -f "$ac_srcdir/configure.in"; then
11235: # This should be Cygnus configure.
11236: ac_sub_configure=$ac_aux_dir/configure
11237: else
11238: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11239: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11240: ac_sub_configure=
11241: fi
11242:
11243: # The recursion is here.
11244: if test -n "$ac_sub_configure"; then
11245: # Make the cache file name correct relative to the subdirectory.
11246: case $cache_file in
11247: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11248: *) # Relative name.
11249: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11250: esac
11251:
11252: { $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
11253: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11254: # The eval makes quoting arguments work.
11255: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11256: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11257: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11258: fi
11259:
11260: cd "$ac_popdir"
11261: done
11262: fi
11263: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11264: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11265: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11266: fi
11267:
CVSweb interface <joel.bertrand@systella.fr>