File:
[local] /
rpl /
Attic /
configure
Revision
1.59:
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Jun 21 15:26:26 2011 UTC (13 years, 10 months ago) by
bertrand
Branches:
MAIN
CVS tags:
HEAD
Correction d'une réinitialisation sauvage de la pile des variables par niveau
dans la copie de la structure de description du processus. Cela corrige
la fonction SPAWN qui échouait sur un segmentation fault car la pile des
variables par niveau était vide alors même que l'arbre des variables contenait
bien les variables. Passage à la prerelease 2.
1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.68 for rpl 4.1.0.prerelease.2.
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.0.prerelease.2'
561: PACKAGE_STRING='rpl 4.1.0.prerelease.2'
562: PACKAGE_BUGREPORT=''
563: PACKAGE_URL=''
564:
565: ac_default_prefix=/usr/local
566: # Factoring default headers for most tests.
567: ac_includes_default="\
568: #include <stdio.h>
569: #ifdef HAVE_SYS_TYPES_H
570: # include <sys/types.h>
571: #endif
572: #ifdef HAVE_SYS_STAT_H
573: # include <sys/stat.h>
574: #endif
575: #ifdef STDC_HEADERS
576: # include <stdlib.h>
577: # include <stddef.h>
578: #else
579: # ifdef HAVE_STDLIB_H
580: # include <stdlib.h>
581: # endif
582: #endif
583: #ifdef HAVE_STRING_H
584: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585: # include <memory.h>
586: # endif
587: # include <string.h>
588: #endif
589: #ifdef HAVE_STRINGS_H
590: # include <strings.h>
591: #endif
592: #ifdef HAVE_INTTYPES_H
593: # include <inttypes.h>
594: #endif
595: #ifdef HAVE_STDINT_H
596: # include <stdint.h>
597: #endif
598: #ifdef HAVE_UNISTD_H
599: # include <unistd.h>
600: #endif"
601:
602: enable_option_checking=no
603: ac_subst_vars='am__EXEEXT_FALSE
604: am__EXEEXT_TRUE
605: LTLIBOBJS
606: LIBOBJS
607: GIAC
608: PARI
609: COCOA
610: NTL
611: MPFR
612: GMP
613: MALLOC
614: EXT_SQL
615: DATE_FR
616: FINAL_ENCODING
617: OPENSSL
618: SQLITE
619: ICONV
620: FILE
621: GNUPLOT
622: GPP
623: GSL
624: UNITS
625: READLINE
626: NCURSES
627: BSH_PATH
628: BROKEN_SIGINFO
629: IPV6
630: SEMUN
631: IPCS_SYSV
632: SEMAPHORES_NOMMES
633: NESTED_FUNCTIONS
634: EXPORT_DYNAMIC
635: C_STANDARD
636: OS
637: GNUPLOT_COMPILATION
638: subdirs
639: EGREP
640: GREP
641: libPgSQLlib
642: libPgSQLinc
643: POSTGRESQL_SUPPORT
644: libMySQLlib
645: libMySQLinc
646: MYSQL_SUPPORT
647: DATE
648: includeX
649: libX
650: MOTIF_SUPPORT
651: DEBUG
652: EXPERIMENTAL_CODE
653: VIM_SUPPORT
654: POSTSCRIPT_SUPPORT
655: FORCE_GNUPLOT_PATH
656: GNUPLOT_SUPPORT
657: VIM
658: GNUPLOT_P
659: GV
660: GS
661: DVIPS
662: LATEX
663: TEX
664: SED
665: RANLIB
666: LN_S
667: RUNPATH
668: PROFILAGE
669: X_EXTRA_LIBS
670: X_LIBS
671: X_PRE_LIBS
672: X_CFLAGS
673: CPP
674: XMKMF
675: ac_ct_FC
676: FCFLAGS
677: FC
678: ac_ct_F77
679: FFLAGS
680: F77
681: am__fastdepCXX_FALSE
682: am__fastdepCXX_TRUE
683: CXXDEPMODE
684: ac_ct_CXX
685: CXXFLAGS
686: CXX
687: am__fastdepCC_FALSE
688: am__fastdepCC_TRUE
689: CCDEPMODE
690: AMDEPBACKSLASH
691: AMDEP_FALSE
692: AMDEP_TRUE
693: am__quote
694: am__include
695: DEPDIR
696: OBJEXT
697: EXEEXT
698: ac_ct_CC
699: CPPFLAGS
700: LDFLAGS
701: CFLAGS
702: CC
703: am__untar
704: am__tar
705: AMTAR
706: am__leading_dot
707: SET_MAKE
708: AWK
709: mkdir_p
710: MKDIR_P
711: INSTALL_STRIP_PROGRAM
712: STRIP
713: install_sh
714: MAKEINFO
715: AUTOHEADER
716: AUTOMAKE
717: AUTOCONF
718: ACLOCAL
719: VERSION
720: PACKAGE
721: CYGPATH_W
722: am__isrc
723: INSTALL_DATA
724: INSTALL_SCRIPT
725: INSTALL_PROGRAM
726: target_os
727: target_vendor
728: target_cpu
729: target
730: host_os
731: host_vendor
732: host_cpu
733: host
734: build_os
735: build_vendor
736: build_cpu
737: build
738: target_alias
739: host_alias
740: build_alias
741: LIBS
742: ECHO_T
743: ECHO_N
744: ECHO_C
745: DEFS
746: mandir
747: localedir
748: libdir
749: psdir
750: pdfdir
751: dvidir
752: htmldir
753: infodir
754: docdir
755: oldincludedir
756: includedir
757: localstatedir
758: sharedstatedir
759: sysconfdir
760: datadir
761: datarootdir
762: libexecdir
763: sbindir
764: bindir
765: program_transform_name
766: prefix
767: exec_prefix
768: PACKAGE_URL
769: PACKAGE_BUGREPORT
770: PACKAGE_STRING
771: PACKAGE_VERSION
772: PACKAGE_TARNAME
773: PACKAGE_NAME
774: PATH_SEPARATOR
775: SHELL'
776: ac_subst_files=''
777: ac_user_opts='
778: enable_option_checking
779: enable_dependency_tracking
780: with_x
781: enable_optimization
782: enable_sysv_semaphores
783: enable_full_static
784: enable_final_encoding
785: enable_tex
786: enable_vim
787: enable_embedded_gnuplot
788: enable_gnuplot
789: enable_motif
790: enable_experimental
791: enable_debug
792: enable_profile
793: enable_final_run_path
794: with_mysql
795: with_postgresql
796: with_bourne_shell
797: with_openssl_arch
798: '
799: ac_precious_vars='build_alias
800: host_alias
801: target_alias
802: CC
803: CFLAGS
804: LDFLAGS
805: LIBS
806: CPPFLAGS
807: CXX
808: CXXFLAGS
809: CCC
810: F77
811: FFLAGS
812: FC
813: FCFLAGS
814: XMKMF
815: CPP'
816: ac_subdirs_all='tools/$NCURSES
817: tools/$READLINE
818: tools/$GSL
819: tools/$GPP
820: tools/$FILE
821: tools/$ICONV
822: tools/$SQLITE
823: tools/$UNITS
824: tools/$GNUPLOT'
825:
826: # Initialize some variables set by options.
827: ac_init_help=
828: ac_init_version=false
829: ac_unrecognized_opts=
830: ac_unrecognized_sep=
831: # The variables have the same names as the options, with
832: # dashes changed to underlines.
833: cache_file=/dev/null
834: exec_prefix=NONE
835: no_create=
836: no_recursion=
837: prefix=NONE
838: program_prefix=NONE
839: program_suffix=NONE
840: program_transform_name=s,x,x,
841: silent=
842: site=
843: srcdir=
844: verbose=
845: x_includes=NONE
846: x_libraries=NONE
847:
848: # Installation directory options.
849: # These are left unexpanded so users can "make install exec_prefix=/foo"
850: # and all the variables that are supposed to be based on exec_prefix
851: # by default will actually change.
852: # Use braces instead of parens because sh, perl, etc. also accept them.
853: # (The list follows the same order as the GNU Coding Standards.)
854: bindir='${exec_prefix}/bin'
855: sbindir='${exec_prefix}/sbin'
856: libexecdir='${exec_prefix}/libexec'
857: datarootdir='${prefix}/share'
858: datadir='${datarootdir}'
859: sysconfdir='${prefix}/etc'
860: sharedstatedir='${prefix}/com'
861: localstatedir='${prefix}/var'
862: includedir='${prefix}/include'
863: oldincludedir='/usr/include'
864: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
865: infodir='${datarootdir}/info'
866: htmldir='${docdir}'
867: dvidir='${docdir}'
868: pdfdir='${docdir}'
869: psdir='${docdir}'
870: libdir='${exec_prefix}/lib'
871: localedir='${datarootdir}/locale'
872: mandir='${datarootdir}/man'
873:
874: ac_prev=
875: ac_dashdash=
876: for ac_option
877: do
878: # If the previous option needs an argument, assign it.
879: if test -n "$ac_prev"; then
880: eval $ac_prev=\$ac_option
881: ac_prev=
882: continue
883: fi
884:
885: case $ac_option in
886: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887: *=) ac_optarg= ;;
888: *) ac_optarg=yes ;;
889: esac
890:
891: # Accept the important Cygnus configure options, so we can diagnose typos.
892:
893: case $ac_dashdash$ac_option in
894: --)
895: ac_dashdash=yes ;;
896:
897: -bindir | --bindir | --bindi | --bind | --bin | --bi)
898: ac_prev=bindir ;;
899: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
900: bindir=$ac_optarg ;;
901:
902: -build | --build | --buil | --bui | --bu)
903: ac_prev=build_alias ;;
904: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
905: build_alias=$ac_optarg ;;
906:
907: -cache-file | --cache-file | --cache-fil | --cache-fi \
908: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
909: ac_prev=cache_file ;;
910: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
911: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
912: cache_file=$ac_optarg ;;
913:
914: --config-cache | -C)
915: cache_file=config.cache ;;
916:
917: -datadir | --datadir | --datadi | --datad)
918: ac_prev=datadir ;;
919: -datadir=* | --datadir=* | --datadi=* | --datad=*)
920: datadir=$ac_optarg ;;
921:
922: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
923: | --dataroo | --dataro | --datar)
924: ac_prev=datarootdir ;;
925: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
926: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
927: datarootdir=$ac_optarg ;;
928:
929: -disable-* | --disable-*)
930: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931: # Reject names that are not valid shell variable names.
932: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933: as_fn_error $? "invalid feature name: $ac_useropt"
934: ac_useropt_orig=$ac_useropt
935: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936: case $ac_user_opts in
937: *"
938: "enable_$ac_useropt"
939: "*) ;;
940: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941: ac_unrecognized_sep=', ';;
942: esac
943: eval enable_$ac_useropt=no ;;
944:
945: -docdir | --docdir | --docdi | --doc | --do)
946: ac_prev=docdir ;;
947: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
948: docdir=$ac_optarg ;;
949:
950: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
951: ac_prev=dvidir ;;
952: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
953: dvidir=$ac_optarg ;;
954:
955: -enable-* | --enable-*)
956: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957: # Reject names that are not valid shell variable names.
958: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959: as_fn_error $? "invalid feature name: $ac_useropt"
960: ac_useropt_orig=$ac_useropt
961: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962: case $ac_user_opts in
963: *"
964: "enable_$ac_useropt"
965: "*) ;;
966: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967: ac_unrecognized_sep=', ';;
968: esac
969: eval enable_$ac_useropt=\$ac_optarg ;;
970:
971: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
972: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
973: | --exec | --exe | --ex)
974: ac_prev=exec_prefix ;;
975: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
976: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
977: | --exec=* | --exe=* | --ex=*)
978: exec_prefix=$ac_optarg ;;
979:
980: -gas | --gas | --ga | --g)
981: # Obsolete; use --with-gas.
982: with_gas=yes ;;
983:
984: -help | --help | --hel | --he | -h)
985: ac_init_help=long ;;
986: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
987: ac_init_help=recursive ;;
988: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
989: ac_init_help=short ;;
990:
991: -host | --host | --hos | --ho)
992: ac_prev=host_alias ;;
993: -host=* | --host=* | --hos=* | --ho=*)
994: host_alias=$ac_optarg ;;
995:
996: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
997: ac_prev=htmldir ;;
998: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
999: | --ht=*)
1000: htmldir=$ac_optarg ;;
1001:
1002: -includedir | --includedir | --includedi | --included | --include \
1003: | --includ | --inclu | --incl | --inc)
1004: ac_prev=includedir ;;
1005: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1006: | --includ=* | --inclu=* | --incl=* | --inc=*)
1007: includedir=$ac_optarg ;;
1008:
1009: -infodir | --infodir | --infodi | --infod | --info | --inf)
1010: ac_prev=infodir ;;
1011: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1012: infodir=$ac_optarg ;;
1013:
1014: -libdir | --libdir | --libdi | --libd)
1015: ac_prev=libdir ;;
1016: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1017: libdir=$ac_optarg ;;
1018:
1019: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1020: | --libexe | --libex | --libe)
1021: ac_prev=libexecdir ;;
1022: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1023: | --libexe=* | --libex=* | --libe=*)
1024: libexecdir=$ac_optarg ;;
1025:
1026: -localedir | --localedir | --localedi | --localed | --locale)
1027: ac_prev=localedir ;;
1028: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1029: localedir=$ac_optarg ;;
1030:
1031: -localstatedir | --localstatedir | --localstatedi | --localstated \
1032: | --localstate | --localstat | --localsta | --localst | --locals)
1033: ac_prev=localstatedir ;;
1034: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1035: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1036: localstatedir=$ac_optarg ;;
1037:
1038: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1039: ac_prev=mandir ;;
1040: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1041: mandir=$ac_optarg ;;
1042:
1043: -nfp | --nfp | --nf)
1044: # Obsolete; use --without-fp.
1045: with_fp=no ;;
1046:
1047: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1048: | --no-cr | --no-c | -n)
1049: no_create=yes ;;
1050:
1051: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1052: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1053: no_recursion=yes ;;
1054:
1055: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1056: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1057: | --oldin | --oldi | --old | --ol | --o)
1058: ac_prev=oldincludedir ;;
1059: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1060: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1061: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1062: oldincludedir=$ac_optarg ;;
1063:
1064: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1065: ac_prev=prefix ;;
1066: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1067: prefix=$ac_optarg ;;
1068:
1069: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1070: | --program-pre | --program-pr | --program-p)
1071: ac_prev=program_prefix ;;
1072: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1073: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1074: program_prefix=$ac_optarg ;;
1075:
1076: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1077: | --program-suf | --program-su | --program-s)
1078: ac_prev=program_suffix ;;
1079: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1080: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1081: program_suffix=$ac_optarg ;;
1082:
1083: -program-transform-name | --program-transform-name \
1084: | --program-transform-nam | --program-transform-na \
1085: | --program-transform-n | --program-transform- \
1086: | --program-transform | --program-transfor \
1087: | --program-transfo | --program-transf \
1088: | --program-trans | --program-tran \
1089: | --progr-tra | --program-tr | --program-t)
1090: ac_prev=program_transform_name ;;
1091: -program-transform-name=* | --program-transform-name=* \
1092: | --program-transform-nam=* | --program-transform-na=* \
1093: | --program-transform-n=* | --program-transform-=* \
1094: | --program-transform=* | --program-transfor=* \
1095: | --program-transfo=* | --program-transf=* \
1096: | --program-trans=* | --program-tran=* \
1097: | --progr-tra=* | --program-tr=* | --program-t=*)
1098: program_transform_name=$ac_optarg ;;
1099:
1100: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1101: ac_prev=pdfdir ;;
1102: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1103: pdfdir=$ac_optarg ;;
1104:
1105: -psdir | --psdir | --psdi | --psd | --ps)
1106: ac_prev=psdir ;;
1107: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1108: psdir=$ac_optarg ;;
1109:
1110: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1111: | -silent | --silent | --silen | --sile | --sil)
1112: silent=yes ;;
1113:
1114: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1115: ac_prev=sbindir ;;
1116: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1117: | --sbi=* | --sb=*)
1118: sbindir=$ac_optarg ;;
1119:
1120: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1121: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1122: | --sharedst | --shareds | --shared | --share | --shar \
1123: | --sha | --sh)
1124: ac_prev=sharedstatedir ;;
1125: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1126: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1127: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1128: | --sha=* | --sh=*)
1129: sharedstatedir=$ac_optarg ;;
1130:
1131: -site | --site | --sit)
1132: ac_prev=site ;;
1133: -site=* | --site=* | --sit=*)
1134: site=$ac_optarg ;;
1135:
1136: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1137: ac_prev=srcdir ;;
1138: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1139: srcdir=$ac_optarg ;;
1140:
1141: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1142: | --syscon | --sysco | --sysc | --sys | --sy)
1143: ac_prev=sysconfdir ;;
1144: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1145: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1146: sysconfdir=$ac_optarg ;;
1147:
1148: -target | --target | --targe | --targ | --tar | --ta | --t)
1149: ac_prev=target_alias ;;
1150: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1151: target_alias=$ac_optarg ;;
1152:
1153: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1154: verbose=yes ;;
1155:
1156: -version | --version | --versio | --versi | --vers | -V)
1157: ac_init_version=: ;;
1158:
1159: -with-* | --with-*)
1160: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1161: # Reject names that are not valid shell variable names.
1162: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163: as_fn_error $? "invalid package name: $ac_useropt"
1164: ac_useropt_orig=$ac_useropt
1165: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166: case $ac_user_opts in
1167: *"
1168: "with_$ac_useropt"
1169: "*) ;;
1170: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171: ac_unrecognized_sep=', ';;
1172: esac
1173: eval with_$ac_useropt=\$ac_optarg ;;
1174:
1175: -without-* | --without-*)
1176: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177: # Reject names that are not valid shell variable names.
1178: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179: as_fn_error $? "invalid package name: $ac_useropt"
1180: ac_useropt_orig=$ac_useropt
1181: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182: case $ac_user_opts in
1183: *"
1184: "with_$ac_useropt"
1185: "*) ;;
1186: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187: ac_unrecognized_sep=', ';;
1188: esac
1189: eval with_$ac_useropt=no ;;
1190:
1191: --x)
1192: # Obsolete; use --with-x.
1193: with_x=yes ;;
1194:
1195: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1196: | --x-incl | --x-inc | --x-in | --x-i)
1197: ac_prev=x_includes ;;
1198: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1199: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1200: x_includes=$ac_optarg ;;
1201:
1202: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1203: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1204: ac_prev=x_libraries ;;
1205: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1206: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1207: x_libraries=$ac_optarg ;;
1208:
1209: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1210: Try \`$0 --help' for more information"
1211: ;;
1212:
1213: *=*)
1214: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1215: # Reject names that are not valid shell variable names.
1216: case $ac_envvar in #(
1217: '' | [0-9]* | *[!_$as_cr_alnum]* )
1218: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1219: esac
1220: eval $ac_envvar=\$ac_optarg
1221: export $ac_envvar ;;
1222:
1223: *)
1224: # FIXME: should be removed in autoconf 3.0.
1225: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1227: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229: ;;
1230:
1231: esac
1232: done
1233:
1234: if test -n "$ac_prev"; then
1235: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1236: as_fn_error $? "missing argument to $ac_option"
1237: fi
1238:
1239: if test -n "$ac_unrecognized_opts"; then
1240: case $enable_option_checking in
1241: no) ;;
1242: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1243: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244: esac
1245: fi
1246:
1247: # Check all directory arguments for consistency.
1248: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249: datadir sysconfdir sharedstatedir localstatedir includedir \
1250: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251: libdir localedir mandir
1252: do
1253: eval ac_val=\$$ac_var
1254: # Remove trailing slashes.
1255: case $ac_val in
1256: */ )
1257: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258: eval $ac_var=\$ac_val;;
1259: esac
1260: # Be sure to have absolute directory names.
1261: case $ac_val in
1262: [\\/$]* | ?:[\\/]* ) continue;;
1263: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1264: esac
1265: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1266: done
1267:
1268: # There might be people who depend on the old broken behavior: `$host'
1269: # used to hold the argument of --host etc.
1270: # FIXME: To remove some day.
1271: build=$build_alias
1272: host=$host_alias
1273: target=$target_alias
1274:
1275: # FIXME: To remove some day.
1276: if test "x$host_alias" != x; then
1277: if test "x$build_alias" = x; then
1278: cross_compiling=maybe
1279: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1280: If a cross compiler is detected then cross compile mode will be used" >&2
1281: elif test "x$build_alias" != "x$host_alias"; then
1282: cross_compiling=yes
1283: fi
1284: fi
1285:
1286: ac_tool_prefix=
1287: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1288:
1289: test "$silent" = yes && exec 6>/dev/null
1290:
1291:
1292: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293: ac_ls_di=`ls -di .` &&
1294: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295: as_fn_error $? "working directory cannot be determined"
1296: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297: as_fn_error $? "pwd does not report name of working directory"
1298:
1299:
1300: # Find the source files, if location was not specified.
1301: if test -z "$srcdir"; then
1302: ac_srcdir_defaulted=yes
1303: # Try the directory containing this script, then the parent directory.
1304: ac_confdir=`$as_dirname -- "$as_myself" ||
1305: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306: X"$as_myself" : 'X\(//\)[^/]' \| \
1307: X"$as_myself" : 'X\(//\)$' \| \
1308: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309: $as_echo X"$as_myself" |
1310: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311: s//\1/
1312: q
1313: }
1314: /^X\(\/\/\)[^/].*/{
1315: s//\1/
1316: q
1317: }
1318: /^X\(\/\/\)$/{
1319: s//\1/
1320: q
1321: }
1322: /^X\(\/\).*/{
1323: s//\1/
1324: q
1325: }
1326: s/.*/./; q'`
1327: srcdir=$ac_confdir
1328: if test ! -r "$srcdir/$ac_unique_file"; then
1329: srcdir=..
1330: fi
1331: else
1332: ac_srcdir_defaulted=no
1333: fi
1334: if test ! -r "$srcdir/$ac_unique_file"; then
1335: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1337: fi
1338: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1339: ac_abs_confdir=`(
1340: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1341: pwd)`
1342: # When building in place, set srcdir=.
1343: if test "$ac_abs_confdir" = "$ac_pwd"; then
1344: srcdir=.
1345: fi
1346: # Remove unnecessary trailing slashes from srcdir.
1347: # Double slashes in file names in object file debugging info
1348: # mess up M-x gdb in Emacs.
1349: case $srcdir in
1350: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351: esac
1352: for ac_var in $ac_precious_vars; do
1353: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354: eval ac_env_${ac_var}_value=\$${ac_var}
1355: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1357: done
1358:
1359: #
1360: # Report the --help message.
1361: #
1362: if test "$ac_init_help" = "long"; then
1363: # Omit some internal or obsolete options to make the list less imposing.
1364: # This message is too long to be a string in the A/UX 3.1 sh.
1365: cat <<_ACEOF
1366: \`configure' configures rpl 4.1.0.prerelease.2 to adapt to many kinds of systems.
1367:
1368: Usage: $0 [OPTION]... [VAR=VALUE]...
1369:
1370: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371: VAR=VALUE. See below for descriptions of some of the useful variables.
1372:
1373: Defaults for the options are specified in brackets.
1374:
1375: Configuration:
1376: -h, --help display this help and exit
1377: --help=short display options specific to this package
1378: --help=recursive display the short help of all the included packages
1379: -V, --version display version information and exit
1380: -q, --quiet, --silent do not print \`checking ...' messages
1381: --cache-file=FILE cache test results in FILE [disabled]
1382: -C, --config-cache alias for \`--cache-file=config.cache'
1383: -n, --no-create do not create output files
1384: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1385:
1386: Installation directories:
1387: --prefix=PREFIX install architecture-independent files in PREFIX
1388: [$ac_default_prefix]
1389: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1390: [PREFIX]
1391:
1392: By default, \`make install' will install all the files in
1393: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395: for instance \`--prefix=\$HOME'.
1396:
1397: For better control, use the options below.
1398:
1399: Fine tuning of the installation directories:
1400: --bindir=DIR user executables [EPREFIX/bin]
1401: --sbindir=DIR system admin executables [EPREFIX/sbin]
1402: --libexecdir=DIR program executables [EPREFIX/libexec]
1403: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406: --libdir=DIR object code libraries [EPREFIX/lib]
1407: --includedir=DIR C header files [PREFIX/include]
1408: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411: --infodir=DIR info documentation [DATAROOTDIR/info]
1412: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413: --mandir=DIR man documentation [DATAROOTDIR/man]
1414: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1415: --htmldir=DIR html documentation [DOCDIR]
1416: --dvidir=DIR dvi documentation [DOCDIR]
1417: --pdfdir=DIR pdf documentation [DOCDIR]
1418: --psdir=DIR ps documentation [DOCDIR]
1419: _ACEOF
1420:
1421: cat <<\_ACEOF
1422:
1423: Program names:
1424: --program-prefix=PREFIX prepend PREFIX to installed program names
1425: --program-suffix=SUFFIX append SUFFIX to installed program names
1426: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1427:
1428: X features:
1429: --x-includes=DIR X include files are in DIR
1430: --x-libraries=DIR X library files are in DIR
1431:
1432: System types:
1433: --build=BUILD configure for building on BUILD [guessed]
1434: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1435: --target=TARGET configure for building compilers for TARGET [HOST]
1436: _ACEOF
1437: fi
1438:
1439: if test -n "$ac_init_help"; then
1440: case $ac_init_help in
1441: short | recursive ) echo "Configuration of rpl 4.1.0.prerelease.2:";;
1442: esac
1443: cat <<\_ACEOF
1444:
1445: Optional Features:
1446: --disable-option-checking ignore unrecognized --enable/--with options
1447: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1448: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1449: --disable-dependency-tracking speeds up one-time build
1450: --enable-dependency-tracking do not reject slow dependency extractors
1451: --enable-optimization set compiler flags [default=environment variables -O3]
1452: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1453: --enable-full-static build static RPL/2 engine [default=shared]
1454: --enable-final-encoding force final encoding [default=guessed]
1455: --enable-tex provide the TeX support [default=guessed]
1456: --enable-vim provide the vim support [default=guessed]
1457: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1458: --enable-gnuplot provide the GnuPlot support [default=guessed]
1459: --enable-motif provide the Motif support [default=guessed]
1460: --enable-experimental enable experimental code [default=no]
1461: --enable-debug enable debug code [default=no]
1462: --enable-profile enable profile code [default=no]
1463: --enable-final-run-path=PATH enable another final run path than PREFIX
1464:
1465: Optional Packages:
1466: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1467: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1468: --with-x use the X Window System
1469: --with-mysql=PATH specify directory for installed mysql
1470: --with-postgresql=PATH specify directory for installed postgresql
1471: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1472: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1473:
1474: Some influential environment variables:
1475: CC C compiler command
1476: CFLAGS C compiler flags
1477: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478: nonstandard directory <lib dir>
1479: LIBS libraries to pass to the linker, e.g. -l<library>
1480: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1481: you have headers in a nonstandard directory <include dir>
1482: CXX C++ compiler command
1483: CXXFLAGS C++ compiler flags
1484: F77 Fortran 77 compiler command
1485: FFLAGS Fortran 77 compiler flags
1486: FC Fortran compiler command
1487: FCFLAGS Fortran compiler flags
1488: XMKMF Path to xmkmf, Makefile generator for X Window System
1489: CPP C preprocessor
1490:
1491: Use these variables to override the choices made by `configure' or to help
1492: it to find libraries and programs with nonstandard names/locations.
1493:
1494: Report bugs to the package provider.
1495: _ACEOF
1496: ac_status=$?
1497: fi
1498:
1499: if test "$ac_init_help" = "recursive"; then
1500: # If there are subdirs, report their specific --help.
1501: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1502: test -d "$ac_dir" ||
1503: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1504: continue
1505: ac_builddir=.
1506:
1507: case "$ac_dir" in
1508: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509: *)
1510: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1511: # A ".." for each directory in $ac_dir_suffix.
1512: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1513: case $ac_top_builddir_sub in
1514: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1515: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1516: esac ;;
1517: esac
1518: ac_abs_top_builddir=$ac_pwd
1519: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1520: # for backward compatibility:
1521: ac_top_builddir=$ac_top_build_prefix
1522:
1523: case $srcdir in
1524: .) # We are building in place.
1525: ac_srcdir=.
1526: ac_top_srcdir=$ac_top_builddir_sub
1527: ac_abs_top_srcdir=$ac_pwd ;;
1528: [\\/]* | ?:[\\/]* ) # Absolute name.
1529: ac_srcdir=$srcdir$ac_dir_suffix;
1530: ac_top_srcdir=$srcdir
1531: ac_abs_top_srcdir=$srcdir ;;
1532: *) # Relative name.
1533: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1534: ac_top_srcdir=$ac_top_build_prefix$srcdir
1535: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1536: esac
1537: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1538:
1539: cd "$ac_dir" || { ac_status=$?; continue; }
1540: # Check for guested configure.
1541: if test -f "$ac_srcdir/configure.gnu"; then
1542: echo &&
1543: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1544: elif test -f "$ac_srcdir/configure"; then
1545: echo &&
1546: $SHELL "$ac_srcdir/configure" --help=recursive
1547: else
1548: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549: fi || ac_status=$?
1550: cd "$ac_pwd" || { ac_status=$?; break; }
1551: done
1552: fi
1553:
1554: test -n "$ac_init_help" && exit $ac_status
1555: if $ac_init_version; then
1556: cat <<\_ACEOF
1557: rpl configure 4.1.0.prerelease.2
1558: generated by GNU Autoconf 2.68
1559:
1560: Copyright (C) 2010 Free Software Foundation, Inc.
1561: This configure script is free software; the Free Software Foundation
1562: gives unlimited permission to copy, distribute and modify it.
1563: _ACEOF
1564: exit
1565: fi
1566:
1567: ## ------------------------ ##
1568: ## Autoconf initialization. ##
1569: ## ------------------------ ##
1570:
1571: # ac_fn_c_try_compile LINENO
1572: # --------------------------
1573: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1574: ac_fn_c_try_compile ()
1575: {
1576: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1577: rm -f conftest.$ac_objext
1578: if { { ac_try="$ac_compile"
1579: case "(($ac_try" in
1580: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581: *) ac_try_echo=$ac_try;;
1582: esac
1583: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584: $as_echo "$ac_try_echo"; } >&5
1585: (eval "$ac_compile") 2>conftest.err
1586: ac_status=$?
1587: if test -s conftest.err; then
1588: grep -v '^ *+' conftest.err >conftest.er1
1589: cat conftest.er1 >&5
1590: mv -f conftest.er1 conftest.err
1591: fi
1592: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593: test $ac_status = 0; } && {
1594: test -z "$ac_c_werror_flag" ||
1595: test ! -s conftest.err
1596: } && test -s conftest.$ac_objext; then :
1597: ac_retval=0
1598: else
1599: $as_echo "$as_me: failed program was:" >&5
1600: sed 's/^/| /' conftest.$ac_ext >&5
1601:
1602: ac_retval=1
1603: fi
1604: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605: as_fn_set_status $ac_retval
1606:
1607: } # ac_fn_c_try_compile
1608:
1609: # ac_fn_cxx_try_compile LINENO
1610: # ----------------------------
1611: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612: ac_fn_cxx_try_compile ()
1613: {
1614: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615: rm -f conftest.$ac_objext
1616: if { { ac_try="$ac_compile"
1617: case "(($ac_try" in
1618: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619: *) ac_try_echo=$ac_try;;
1620: esac
1621: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622: $as_echo "$ac_try_echo"; } >&5
1623: (eval "$ac_compile") 2>conftest.err
1624: ac_status=$?
1625: if test -s conftest.err; then
1626: grep -v '^ *+' conftest.err >conftest.er1
1627: cat conftest.er1 >&5
1628: mv -f conftest.er1 conftest.err
1629: fi
1630: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631: test $ac_status = 0; } && {
1632: test -z "$ac_cxx_werror_flag" ||
1633: test ! -s conftest.err
1634: } && test -s conftest.$ac_objext; then :
1635: ac_retval=0
1636: else
1637: $as_echo "$as_me: failed program was:" >&5
1638: sed 's/^/| /' conftest.$ac_ext >&5
1639:
1640: ac_retval=1
1641: fi
1642: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643: as_fn_set_status $ac_retval
1644:
1645: } # ac_fn_cxx_try_compile
1646:
1647: # ac_fn_f77_try_compile LINENO
1648: # ----------------------------
1649: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650: ac_fn_f77_try_compile ()
1651: {
1652: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653: rm -f conftest.$ac_objext
1654: if { { ac_try="$ac_compile"
1655: case "(($ac_try" in
1656: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657: *) ac_try_echo=$ac_try;;
1658: esac
1659: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660: $as_echo "$ac_try_echo"; } >&5
1661: (eval "$ac_compile") 2>conftest.err
1662: ac_status=$?
1663: if test -s conftest.err; then
1664: grep -v '^ *+' conftest.err >conftest.er1
1665: cat conftest.er1 >&5
1666: mv -f conftest.er1 conftest.err
1667: fi
1668: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669: test $ac_status = 0; } && {
1670: test -z "$ac_f77_werror_flag" ||
1671: test ! -s conftest.err
1672: } && test -s conftest.$ac_objext; then :
1673: ac_retval=0
1674: else
1675: $as_echo "$as_me: failed program was:" >&5
1676: sed 's/^/| /' conftest.$ac_ext >&5
1677:
1678: ac_retval=1
1679: fi
1680: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681: as_fn_set_status $ac_retval
1682:
1683: } # ac_fn_f77_try_compile
1684:
1685: # ac_fn_fc_try_compile LINENO
1686: # ---------------------------
1687: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688: ac_fn_fc_try_compile ()
1689: {
1690: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691: rm -f conftest.$ac_objext
1692: if { { ac_try="$ac_compile"
1693: case "(($ac_try" in
1694: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695: *) ac_try_echo=$ac_try;;
1696: esac
1697: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698: $as_echo "$ac_try_echo"; } >&5
1699: (eval "$ac_compile") 2>conftest.err
1700: ac_status=$?
1701: if test -s conftest.err; then
1702: grep -v '^ *+' conftest.err >conftest.er1
1703: cat conftest.er1 >&5
1704: mv -f conftest.er1 conftest.err
1705: fi
1706: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707: test $ac_status = 0; } && {
1708: test -z "$ac_fc_werror_flag" ||
1709: test ! -s conftest.err
1710: } && test -s conftest.$ac_objext; then :
1711: ac_retval=0
1712: else
1713: $as_echo "$as_me: failed program was:" >&5
1714: sed 's/^/| /' conftest.$ac_ext >&5
1715:
1716: ac_retval=1
1717: fi
1718: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719: as_fn_set_status $ac_retval
1720:
1721: } # ac_fn_fc_try_compile
1722:
1723: # ac_fn_c_try_cpp LINENO
1724: # ----------------------
1725: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1726: ac_fn_c_try_cpp ()
1727: {
1728: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729: if { { ac_try="$ac_cpp conftest.$ac_ext"
1730: case "(($ac_try" in
1731: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732: *) ac_try_echo=$ac_try;;
1733: esac
1734: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735: $as_echo "$ac_try_echo"; } >&5
1736: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1737: ac_status=$?
1738: if test -s conftest.err; then
1739: grep -v '^ *+' conftest.err >conftest.er1
1740: cat conftest.er1 >&5
1741: mv -f conftest.er1 conftest.err
1742: fi
1743: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744: test $ac_status = 0; } > conftest.i && {
1745: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1746: test ! -s conftest.err
1747: }; then :
1748: ac_retval=0
1749: else
1750: $as_echo "$as_me: failed program was:" >&5
1751: sed 's/^/| /' conftest.$ac_ext >&5
1752:
1753: ac_retval=1
1754: fi
1755: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756: as_fn_set_status $ac_retval
1757:
1758: } # ac_fn_c_try_cpp
1759:
1760: # ac_fn_c_try_link LINENO
1761: # -----------------------
1762: # Try to link conftest.$ac_ext, and return whether this succeeded.
1763: ac_fn_c_try_link ()
1764: {
1765: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766: rm -f conftest.$ac_objext conftest$ac_exeext
1767: if { { ac_try="$ac_link"
1768: case "(($ac_try" in
1769: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770: *) ac_try_echo=$ac_try;;
1771: esac
1772: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773: $as_echo "$ac_try_echo"; } >&5
1774: (eval "$ac_link") 2>conftest.err
1775: ac_status=$?
1776: if test -s conftest.err; then
1777: grep -v '^ *+' conftest.err >conftest.er1
1778: cat conftest.er1 >&5
1779: mv -f conftest.er1 conftest.err
1780: fi
1781: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782: test $ac_status = 0; } && {
1783: test -z "$ac_c_werror_flag" ||
1784: test ! -s conftest.err
1785: } && test -s conftest$ac_exeext && {
1786: test "$cross_compiling" = yes ||
1787: $as_test_x conftest$ac_exeext
1788: }; then :
1789: ac_retval=0
1790: else
1791: $as_echo "$as_me: failed program was:" >&5
1792: sed 's/^/| /' conftest.$ac_ext >&5
1793:
1794: ac_retval=1
1795: fi
1796: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1797: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1798: # interfere with the next link command; also delete a directory that is
1799: # left behind by Apple's compiler. We do this before executing the actions.
1800: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802: as_fn_set_status $ac_retval
1803:
1804: } # ac_fn_c_try_link
1805:
1806: # ac_fn_c_check_func LINENO FUNC VAR
1807: # ----------------------------------
1808: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1809: ac_fn_c_check_func ()
1810: {
1811: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813: $as_echo_n "checking for $2... " >&6; }
1814: if eval \${$3+:} false; then :
1815: $as_echo_n "(cached) " >&6
1816: else
1817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818: /* end confdefs.h. */
1819: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1820: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1821: #define $2 innocuous_$2
1822:
1823: /* System header to define __stub macros and hopefully few prototypes,
1824: which can conflict with char $2 (); below.
1825: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1826: <limits.h> exists even on freestanding compilers. */
1827:
1828: #ifdef __STDC__
1829: # include <limits.h>
1830: #else
1831: # include <assert.h>
1832: #endif
1833:
1834: #undef $2
1835:
1836: /* Override any GCC internal prototype to avoid an error.
1837: Use char because int might match the return type of a GCC
1838: builtin and then its argument prototype would still apply. */
1839: #ifdef __cplusplus
1840: extern "C"
1841: #endif
1842: char $2 ();
1843: /* The GNU C library defines this for functions which it implements
1844: to always fail with ENOSYS. Some functions are actually named
1845: something starting with __ and the normal name is an alias. */
1846: #if defined __stub_$2 || defined __stub___$2
1847: choke me
1848: #endif
1849:
1850: int
1851: main ()
1852: {
1853: return $2 ();
1854: ;
1855: return 0;
1856: }
1857: _ACEOF
1858: if ac_fn_c_try_link "$LINENO"; then :
1859: eval "$3=yes"
1860: else
1861: eval "$3=no"
1862: fi
1863: rm -f core conftest.err conftest.$ac_objext \
1864: conftest$ac_exeext conftest.$ac_ext
1865: fi
1866: eval ac_res=\$$3
1867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868: $as_echo "$ac_res" >&6; }
1869: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870:
1871: } # ac_fn_c_check_func
1872:
1873: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1874: # -------------------------------------------
1875: # Tests whether TYPE exists after having included INCLUDES, setting cache
1876: # variable VAR accordingly.
1877: ac_fn_c_check_type ()
1878: {
1879: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881: $as_echo_n "checking for $2... " >&6; }
1882: if eval \${$3+:} false; then :
1883: $as_echo_n "(cached) " >&6
1884: else
1885: eval "$3=no"
1886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887: /* end confdefs.h. */
1888: $4
1889: int
1890: main ()
1891: {
1892: if (sizeof ($2))
1893: return 0;
1894: ;
1895: return 0;
1896: }
1897: _ACEOF
1898: if ac_fn_c_try_compile "$LINENO"; then :
1899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900: /* end confdefs.h. */
1901: $4
1902: int
1903: main ()
1904: {
1905: if (sizeof (($2)))
1906: return 0;
1907: ;
1908: return 0;
1909: }
1910: _ACEOF
1911: if ac_fn_c_try_compile "$LINENO"; then :
1912:
1913: else
1914: eval "$3=yes"
1915: fi
1916: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917: fi
1918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919: fi
1920: eval ac_res=\$$3
1921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922: $as_echo "$ac_res" >&6; }
1923: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924:
1925: } # ac_fn_c_check_type
1926:
1927: # ac_fn_c_try_run LINENO
1928: # ----------------------
1929: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1930: # that executables *can* be run.
1931: ac_fn_c_try_run ()
1932: {
1933: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934: if { { ac_try="$ac_link"
1935: case "(($ac_try" in
1936: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1937: *) ac_try_echo=$ac_try;;
1938: esac
1939: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940: $as_echo "$ac_try_echo"; } >&5
1941: (eval "$ac_link") 2>&5
1942: ac_status=$?
1943: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1945: { { case "(($ac_try" in
1946: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947: *) ac_try_echo=$ac_try;;
1948: esac
1949: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950: $as_echo "$ac_try_echo"; } >&5
1951: (eval "$ac_try") 2>&5
1952: ac_status=$?
1953: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954: test $ac_status = 0; }; }; then :
1955: ac_retval=0
1956: else
1957: $as_echo "$as_me: program exited with status $ac_status" >&5
1958: $as_echo "$as_me: failed program was:" >&5
1959: sed 's/^/| /' conftest.$ac_ext >&5
1960:
1961: ac_retval=$ac_status
1962: fi
1963: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965: as_fn_set_status $ac_retval
1966:
1967: } # ac_fn_c_try_run
1968:
1969: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1970: # --------------------------------------------
1971: # Tries to find the compile-time value of EXPR in a program that includes
1972: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1973: # computed
1974: ac_fn_c_compute_int ()
1975: {
1976: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977: if test "$cross_compiling" = yes; then
1978: # Depending upon the size, compute the lo and hi bounds.
1979: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980: /* end confdefs.h. */
1981: $4
1982: int
1983: main ()
1984: {
1985: static int test_array [1 - 2 * !(($2) >= 0)];
1986: test_array [0] = 0
1987:
1988: ;
1989: return 0;
1990: }
1991: _ACEOF
1992: if ac_fn_c_try_compile "$LINENO"; then :
1993: ac_lo=0 ac_mid=0
1994: while :; do
1995: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996: /* end confdefs.h. */
1997: $4
1998: int
1999: main ()
2000: {
2001: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2002: test_array [0] = 0
2003:
2004: ;
2005: return 0;
2006: }
2007: _ACEOF
2008: if ac_fn_c_try_compile "$LINENO"; then :
2009: ac_hi=$ac_mid; break
2010: else
2011: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2012: if test $ac_lo -le $ac_mid; then
2013: ac_lo= ac_hi=
2014: break
2015: fi
2016: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2017: fi
2018: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019: done
2020: else
2021: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022: /* end confdefs.h. */
2023: $4
2024: int
2025: main ()
2026: {
2027: static int test_array [1 - 2 * !(($2) < 0)];
2028: test_array [0] = 0
2029:
2030: ;
2031: return 0;
2032: }
2033: _ACEOF
2034: if ac_fn_c_try_compile "$LINENO"; then :
2035: ac_hi=-1 ac_mid=-1
2036: while :; do
2037: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038: /* end confdefs.h. */
2039: $4
2040: int
2041: main ()
2042: {
2043: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2044: test_array [0] = 0
2045:
2046: ;
2047: return 0;
2048: }
2049: _ACEOF
2050: if ac_fn_c_try_compile "$LINENO"; then :
2051: ac_lo=$ac_mid; break
2052: else
2053: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2054: if test $ac_mid -le $ac_hi; then
2055: ac_lo= ac_hi=
2056: break
2057: fi
2058: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2059: fi
2060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061: done
2062: else
2063: ac_lo= ac_hi=
2064: fi
2065: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066: fi
2067: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068: # Binary search between lo and hi bounds.
2069: while test "x$ac_lo" != "x$ac_hi"; do
2070: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2071: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072: /* end confdefs.h. */
2073: $4
2074: int
2075: main ()
2076: {
2077: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2078: test_array [0] = 0
2079:
2080: ;
2081: return 0;
2082: }
2083: _ACEOF
2084: if ac_fn_c_try_compile "$LINENO"; then :
2085: ac_hi=$ac_mid
2086: else
2087: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2088: fi
2089: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090: done
2091: case $ac_lo in #((
2092: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2093: '') ac_retval=1 ;;
2094: esac
2095: else
2096: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097: /* end confdefs.h. */
2098: $4
2099: static long int longval () { return $2; }
2100: static unsigned long int ulongval () { return $2; }
2101: #include <stdio.h>
2102: #include <stdlib.h>
2103: int
2104: main ()
2105: {
2106:
2107: FILE *f = fopen ("conftest.val", "w");
2108: if (! f)
2109: return 1;
2110: if (($2) < 0)
2111: {
2112: long int i = longval ();
2113: if (i != ($2))
2114: return 1;
2115: fprintf (f, "%ld", i);
2116: }
2117: else
2118: {
2119: unsigned long int i = ulongval ();
2120: if (i != ($2))
2121: return 1;
2122: fprintf (f, "%lu", i);
2123: }
2124: /* Do not output a trailing newline, as this causes \r\n confusion
2125: on some platforms. */
2126: return ferror (f) || fclose (f) != 0;
2127:
2128: ;
2129: return 0;
2130: }
2131: _ACEOF
2132: if ac_fn_c_try_run "$LINENO"; then :
2133: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2134: else
2135: ac_retval=1
2136: fi
2137: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2138: conftest.$ac_objext conftest.beam conftest.$ac_ext
2139: rm -f conftest.val
2140:
2141: fi
2142: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143: as_fn_set_status $ac_retval
2144:
2145: } # ac_fn_c_compute_int
2146:
2147: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2148: # -------------------------------------------------------
2149: # Tests whether HEADER exists and can be compiled using the include files in
2150: # INCLUDES, setting the cache variable VAR accordingly.
2151: ac_fn_c_check_header_compile ()
2152: {
2153: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155: $as_echo_n "checking for $2... " >&6; }
2156: if eval \${$3+:} false; then :
2157: $as_echo_n "(cached) " >&6
2158: else
2159: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160: /* end confdefs.h. */
2161: $4
2162: #include <$2>
2163: _ACEOF
2164: if ac_fn_c_try_compile "$LINENO"; then :
2165: eval "$3=yes"
2166: else
2167: eval "$3=no"
2168: fi
2169: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170: fi
2171: eval ac_res=\$$3
2172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173: $as_echo "$ac_res" >&6; }
2174: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2175:
2176: } # ac_fn_c_check_header_compile
2177:
2178: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2179: # -------------------------------------------------------
2180: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2181: # the include files in INCLUDES and setting the cache variable VAR
2182: # accordingly.
2183: ac_fn_c_check_header_mongrel ()
2184: {
2185: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186: if eval \${$3+:} false; then :
2187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188: $as_echo_n "checking for $2... " >&6; }
2189: if eval \${$3+:} false; then :
2190: $as_echo_n "(cached) " >&6
2191: fi
2192: eval ac_res=\$$3
2193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2194: $as_echo "$ac_res" >&6; }
2195: else
2196: # Is the header compilable?
2197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2198: $as_echo_n "checking $2 usability... " >&6; }
2199: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200: /* end confdefs.h. */
2201: $4
2202: #include <$2>
2203: _ACEOF
2204: if ac_fn_c_try_compile "$LINENO"; then :
2205: ac_header_compiler=yes
2206: else
2207: ac_header_compiler=no
2208: fi
2209: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2211: $as_echo "$ac_header_compiler" >&6; }
2212:
2213: # Is the header present?
2214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2215: $as_echo_n "checking $2 presence... " >&6; }
2216: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217: /* end confdefs.h. */
2218: #include <$2>
2219: _ACEOF
2220: if ac_fn_c_try_cpp "$LINENO"; then :
2221: ac_header_preproc=yes
2222: else
2223: ac_header_preproc=no
2224: fi
2225: rm -f conftest.err conftest.i conftest.$ac_ext
2226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2227: $as_echo "$ac_header_preproc" >&6; }
2228:
2229: # So? What about this header?
2230: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2231: yes:no: )
2232: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2233: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2234: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2235: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2236: ;;
2237: no:yes:* )
2238: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2239: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2240: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2241: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2242: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2243: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2244: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2245: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2246: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2247: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2248: ;;
2249: esac
2250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2251: $as_echo_n "checking for $2... " >&6; }
2252: if eval \${$3+:} false; then :
2253: $as_echo_n "(cached) " >&6
2254: else
2255: eval "$3=\$ac_header_compiler"
2256: fi
2257: eval ac_res=\$$3
2258: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259: $as_echo "$ac_res" >&6; }
2260: fi
2261: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262:
2263: } # ac_fn_c_check_header_mongrel
2264: cat >config.log <<_ACEOF
2265: This file contains any messages produced by compilers while
2266: running configure, to aid debugging if configure makes a mistake.
2267:
2268: It was created by rpl $as_me 4.1.0.prerelease.2, which was
2269: generated by GNU Autoconf 2.68. Invocation command line was
2270:
2271: $ $0 $@
2272:
2273: _ACEOF
2274: exec 5>>config.log
2275: {
2276: cat <<_ASUNAME
2277: ## --------- ##
2278: ## Platform. ##
2279: ## --------- ##
2280:
2281: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2286:
2287: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2289:
2290: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2291: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2292: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2294: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2295: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2296: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2297:
2298: _ASUNAME
2299:
2300: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301: for as_dir in $PATH
2302: do
2303: IFS=$as_save_IFS
2304: test -z "$as_dir" && as_dir=.
2305: $as_echo "PATH: $as_dir"
2306: done
2307: IFS=$as_save_IFS
2308:
2309: } >&5
2310:
2311: cat >&5 <<_ACEOF
2312:
2313:
2314: ## ----------- ##
2315: ## Core tests. ##
2316: ## ----------- ##
2317:
2318: _ACEOF
2319:
2320:
2321: # Keep a trace of the command line.
2322: # Strip out --no-create and --no-recursion so they do not pile up.
2323: # Strip out --silent because we don't want to record it for future runs.
2324: # Also quote any args containing shell meta-characters.
2325: # Make two passes to allow for proper duplicate-argument suppression.
2326: ac_configure_args=
2327: ac_configure_args0=
2328: ac_configure_args1=
2329: ac_must_keep_next=false
2330: for ac_pass in 1 2
2331: do
2332: for ac_arg
2333: do
2334: case $ac_arg in
2335: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2336: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337: | -silent | --silent | --silen | --sile | --sil)
2338: continue ;;
2339: *\'*)
2340: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2341: esac
2342: case $ac_pass in
2343: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2344: 2)
2345: as_fn_append ac_configure_args1 " '$ac_arg'"
2346: if test $ac_must_keep_next = true; then
2347: ac_must_keep_next=false # Got value, back to normal.
2348: else
2349: case $ac_arg in
2350: *=* | --config-cache | -C | -disable-* | --disable-* \
2351: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2352: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2353: | -with-* | --with-* | -without-* | --without-* | --x)
2354: case "$ac_configure_args0 " in
2355: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356: esac
2357: ;;
2358: -* ) ac_must_keep_next=true ;;
2359: esac
2360: fi
2361: as_fn_append ac_configure_args " '$ac_arg'"
2362: ;;
2363: esac
2364: done
2365: done
2366: { ac_configure_args0=; unset ac_configure_args0;}
2367: { ac_configure_args1=; unset ac_configure_args1;}
2368:
2369: # When interrupted or exit'd, cleanup temporary files, and complete
2370: # config.log. We remove comments because anyway the quotes in there
2371: # would cause problems or look ugly.
2372: # WARNING: Use '\'' to represent an apostrophe within the trap.
2373: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374: trap 'exit_status=$?
2375: # Save into config.log some information that might help in debugging.
2376: {
2377: echo
2378:
2379: $as_echo "## ---------------- ##
2380: ## Cache variables. ##
2381: ## ---------------- ##"
2382: echo
2383: # The following way of writing the cache mishandles newlines in values,
2384: (
2385: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2386: eval ac_val=\$$ac_var
2387: case $ac_val in #(
2388: *${as_nl}*)
2389: case $ac_var in #(
2390: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2391: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392: esac
2393: case $ac_var in #(
2394: _ | IFS | as_nl) ;; #(
2395: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2396: *) { eval $ac_var=; unset $ac_var;} ;;
2397: esac ;;
2398: esac
2399: done
2400: (set) 2>&1 |
2401: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2402: *${as_nl}ac_space=\ *)
2403: sed -n \
2404: "s/'\''/'\''\\\\'\'''\''/g;
2405: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406: ;; #(
2407: *)
2408: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409: ;;
2410: esac |
2411: sort
2412: )
2413: echo
2414:
2415: $as_echo "## ----------------- ##
2416: ## Output variables. ##
2417: ## ----------------- ##"
2418: echo
2419: for ac_var in $ac_subst_vars
2420: do
2421: eval ac_val=\$$ac_var
2422: case $ac_val in
2423: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424: esac
2425: $as_echo "$ac_var='\''$ac_val'\''"
2426: done | sort
2427: echo
2428:
2429: if test -n "$ac_subst_files"; then
2430: $as_echo "## ------------------- ##
2431: ## File substitutions. ##
2432: ## ------------------- ##"
2433: echo
2434: for ac_var in $ac_subst_files
2435: do
2436: eval ac_val=\$$ac_var
2437: case $ac_val in
2438: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2439: esac
2440: $as_echo "$ac_var='\''$ac_val'\''"
2441: done | sort
2442: echo
2443: fi
2444:
2445: if test -s confdefs.h; then
2446: $as_echo "## ----------- ##
2447: ## confdefs.h. ##
2448: ## ----------- ##"
2449: echo
2450: cat confdefs.h
2451: echo
2452: fi
2453: test "$ac_signal" != 0 &&
2454: $as_echo "$as_me: caught signal $ac_signal"
2455: $as_echo "$as_me: exit $exit_status"
2456: } >&5
2457: rm -f core *.core core.conftest.* &&
2458: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459: exit $exit_status
2460: ' 0
2461: for ac_signal in 1 2 13 15; do
2462: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2463: done
2464: ac_signal=0
2465:
2466: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2467: rm -f -r conftest* confdefs.h
2468:
2469: $as_echo "/* confdefs.h */" > confdefs.h
2470:
2471: # Predefined preprocessor variables.
2472:
2473: cat >>confdefs.h <<_ACEOF
2474: #define PACKAGE_NAME "$PACKAGE_NAME"
2475: _ACEOF
2476:
2477: cat >>confdefs.h <<_ACEOF
2478: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479: _ACEOF
2480:
2481: cat >>confdefs.h <<_ACEOF
2482: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2483: _ACEOF
2484:
2485: cat >>confdefs.h <<_ACEOF
2486: #define PACKAGE_STRING "$PACKAGE_STRING"
2487: _ACEOF
2488:
2489: cat >>confdefs.h <<_ACEOF
2490: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491: _ACEOF
2492:
2493: cat >>confdefs.h <<_ACEOF
2494: #define PACKAGE_URL "$PACKAGE_URL"
2495: _ACEOF
2496:
2497:
2498: # Let the site file select an alternate cache file if it wants to.
2499: # Prefer an explicitly selected file to automatically selected ones.
2500: ac_site_file1=NONE
2501: ac_site_file2=NONE
2502: if test -n "$CONFIG_SITE"; then
2503: # We do not want a PATH search for config.site.
2504: case $CONFIG_SITE in #((
2505: -*) ac_site_file1=./$CONFIG_SITE;;
2506: */*) ac_site_file1=$CONFIG_SITE;;
2507: *) ac_site_file1=./$CONFIG_SITE;;
2508: esac
2509: elif test "x$prefix" != xNONE; then
2510: ac_site_file1=$prefix/share/config.site
2511: ac_site_file2=$prefix/etc/config.site
2512: else
2513: ac_site_file1=$ac_default_prefix/share/config.site
2514: ac_site_file2=$ac_default_prefix/etc/config.site
2515: fi
2516: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2517: do
2518: test "x$ac_site_file" = xNONE && continue
2519: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2520: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522: sed 's/^/| /' "$ac_site_file" >&5
2523: . "$ac_site_file" \
2524: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526: as_fn_error $? "failed to load site script $ac_site_file
2527: See \`config.log' for more details" "$LINENO" 5; }
2528: fi
2529: done
2530:
2531: if test -r "$cache_file"; then
2532: # Some versions of bash will fail to source /dev/null (special files
2533: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2534: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2535: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2536: $as_echo "$as_me: loading cache $cache_file" >&6;}
2537: case $cache_file in
2538: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2539: *) . "./$cache_file";;
2540: esac
2541: fi
2542: else
2543: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2544: $as_echo "$as_me: creating cache $cache_file" >&6;}
2545: >$cache_file
2546: fi
2547:
2548: # Check that the precious variables saved in the cache have kept the same
2549: # value.
2550: ac_cache_corrupted=false
2551: for ac_var in $ac_precious_vars; do
2552: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2553: eval ac_new_set=\$ac_env_${ac_var}_set
2554: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2555: eval ac_new_val=\$ac_env_${ac_var}_value
2556: case $ac_old_set,$ac_new_set in
2557: set,)
2558: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2559: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2560: ac_cache_corrupted=: ;;
2561: ,set)
2562: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2563: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2564: ac_cache_corrupted=: ;;
2565: ,);;
2566: *)
2567: if test "x$ac_old_val" != "x$ac_new_val"; then
2568: # differences in whitespace do not lead to failure.
2569: ac_old_val_w=`echo x $ac_old_val`
2570: ac_new_val_w=`echo x $ac_new_val`
2571: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2572: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2573: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2574: ac_cache_corrupted=:
2575: else
2576: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2577: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2578: eval $ac_var=\$ac_old_val
2579: fi
2580: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2581: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2582: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2583: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2584: fi;;
2585: esac
2586: # Pass precious variables to config.status.
2587: if test "$ac_new_set" = set; then
2588: case $ac_new_val in
2589: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2590: *) ac_arg=$ac_var=$ac_new_val ;;
2591: esac
2592: case " $ac_configure_args " in
2593: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2594: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2595: esac
2596: fi
2597: done
2598: if $ac_cache_corrupted; then
2599: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2602: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2603: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2604: fi
2605: ## -------------------- ##
2606: ## Main body of script. ##
2607: ## -------------------- ##
2608:
2609: ac_ext=c
2610: ac_cpp='$CPP $CPPFLAGS'
2611: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2612: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2613: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2614:
2615:
2616: ac_aux_dir=
2617: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2618: if test -f "$ac_dir/install-sh"; then
2619: ac_aux_dir=$ac_dir
2620: ac_install_sh="$ac_aux_dir/install-sh -c"
2621: break
2622: elif test -f "$ac_dir/install.sh"; then
2623: ac_aux_dir=$ac_dir
2624: ac_install_sh="$ac_aux_dir/install.sh -c"
2625: break
2626: elif test -f "$ac_dir/shtool"; then
2627: ac_aux_dir=$ac_dir
2628: ac_install_sh="$ac_aux_dir/shtool install -c"
2629: break
2630: fi
2631: done
2632: if test -z "$ac_aux_dir"; then
2633: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2634: fi
2635:
2636: # These three variables are undocumented and unsupported,
2637: # and are intended to be withdrawn in a future Autoconf release.
2638: # They can cause serious problems if a builder's source tree is in a directory
2639: # whose full name contains unusual characters.
2640: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2641: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2642: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2643:
2644:
2645: # Make sure we can run config.sub.
2646: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2647: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2648:
2649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2650: $as_echo_n "checking build system type... " >&6; }
2651: if ${ac_cv_build+:} false; then :
2652: $as_echo_n "(cached) " >&6
2653: else
2654: ac_build_alias=$build_alias
2655: test "x$ac_build_alias" = x &&
2656: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2657: test "x$ac_build_alias" = x &&
2658: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2659: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2660: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2661:
2662: fi
2663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2664: $as_echo "$ac_cv_build" >&6; }
2665: case $ac_cv_build in
2666: *-*-*) ;;
2667: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2668: esac
2669: build=$ac_cv_build
2670: ac_save_IFS=$IFS; IFS='-'
2671: set x $ac_cv_build
2672: shift
2673: build_cpu=$1
2674: build_vendor=$2
2675: shift; shift
2676: # Remember, the first character of IFS is used to create $*,
2677: # except with old shells:
2678: build_os=$*
2679: IFS=$ac_save_IFS
2680: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2681:
2682:
2683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2684: $as_echo_n "checking host system type... " >&6; }
2685: if ${ac_cv_host+:} false; then :
2686: $as_echo_n "(cached) " >&6
2687: else
2688: if test "x$host_alias" = x; then
2689: ac_cv_host=$ac_cv_build
2690: else
2691: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2692: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2693: fi
2694:
2695: fi
2696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2697: $as_echo "$ac_cv_host" >&6; }
2698: case $ac_cv_host in
2699: *-*-*) ;;
2700: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2701: esac
2702: host=$ac_cv_host
2703: ac_save_IFS=$IFS; IFS='-'
2704: set x $ac_cv_host
2705: shift
2706: host_cpu=$1
2707: host_vendor=$2
2708: shift; shift
2709: # Remember, the first character of IFS is used to create $*,
2710: # except with old shells:
2711: host_os=$*
2712: IFS=$ac_save_IFS
2713: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2714:
2715:
2716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2717: $as_echo_n "checking target system type... " >&6; }
2718: if ${ac_cv_target+:} false; then :
2719: $as_echo_n "(cached) " >&6
2720: else
2721: if test "x$target_alias" = x; then
2722: ac_cv_target=$ac_cv_host
2723: else
2724: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2725: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2726: fi
2727:
2728: fi
2729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2730: $as_echo "$ac_cv_target" >&6; }
2731: case $ac_cv_target in
2732: *-*-*) ;;
2733: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2734: esac
2735: target=$ac_cv_target
2736: ac_save_IFS=$IFS; IFS='-'
2737: set x $ac_cv_target
2738: shift
2739: target_cpu=$1
2740: target_vendor=$2
2741: shift; shift
2742: # Remember, the first character of IFS is used to create $*,
2743: # except with old shells:
2744: target_os=$*
2745: IFS=$ac_save_IFS
2746: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2747:
2748:
2749: # The aliases save the names the user supplied, while $host etc.
2750: # will get canonicalized.
2751: test -n "$target_alias" &&
2752: test "$program_prefix$program_suffix$program_transform_name" = \
2753: NONENONEs,x,x, &&
2754: program_prefix=${target_alias}-
2755:
2756: am__api_version='1.11'
2757:
2758: # Find a good install program. We prefer a C program (faster),
2759: # so one script is as good as another. But avoid the broken or
2760: # incompatible versions:
2761: # SysV /etc/install, /usr/sbin/install
2762: # SunOS /usr/etc/install
2763: # IRIX /sbin/install
2764: # AIX /bin/install
2765: # AmigaOS /C/install, which installs bootblocks on floppy discs
2766: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2767: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2768: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2769: # OS/2's system install, which has a completely different semantic
2770: # ./install, which can be erroneously created by make from ./install.sh.
2771: # Reject install programs that cannot install multiple files.
2772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2773: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2774: if test -z "$INSTALL"; then
2775: if ${ac_cv_path_install+:} false; then :
2776: $as_echo_n "(cached) " >&6
2777: else
2778: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779: for as_dir in $PATH
2780: do
2781: IFS=$as_save_IFS
2782: test -z "$as_dir" && as_dir=.
2783: # Account for people who put trailing slashes in PATH elements.
2784: case $as_dir/ in #((
2785: ./ | .// | /[cC]/* | \
2786: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2787: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2788: /usr/ucb/* ) ;;
2789: *)
2790: # OSF1 and SCO ODT 3.0 have their own names for install.
2791: # Don't use installbsd from OSF since it installs stuff as root
2792: # by default.
2793: for ac_prog in ginstall scoinst install; do
2794: for ac_exec_ext in '' $ac_executable_extensions; do
2795: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2796: if test $ac_prog = install &&
2797: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2798: # AIX install. It has an incompatible calling convention.
2799: :
2800: elif test $ac_prog = install &&
2801: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2802: # program-specific install script used by HP pwplus--don't use.
2803: :
2804: else
2805: rm -rf conftest.one conftest.two conftest.dir
2806: echo one > conftest.one
2807: echo two > conftest.two
2808: mkdir conftest.dir
2809: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2810: test -s conftest.one && test -s conftest.two &&
2811: test -s conftest.dir/conftest.one &&
2812: test -s conftest.dir/conftest.two
2813: then
2814: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2815: break 3
2816: fi
2817: fi
2818: fi
2819: done
2820: done
2821: ;;
2822: esac
2823:
2824: done
2825: IFS=$as_save_IFS
2826:
2827: rm -rf conftest.one conftest.two conftest.dir
2828:
2829: fi
2830: if test "${ac_cv_path_install+set}" = set; then
2831: INSTALL=$ac_cv_path_install
2832: else
2833: # As a last resort, use the slow shell script. Don't cache a
2834: # value for INSTALL within a source directory, because that will
2835: # break other packages using the cache if that directory is
2836: # removed, or if the value is a relative name.
2837: INSTALL=$ac_install_sh
2838: fi
2839: fi
2840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2841: $as_echo "$INSTALL" >&6; }
2842:
2843: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2844: # It thinks the first close brace ends the variable substitution.
2845: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2846:
2847: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2848:
2849: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2850:
2851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2852: $as_echo_n "checking whether build environment is sane... " >&6; }
2853: # Just in case
2854: sleep 1
2855: echo timestamp > conftest.file
2856: # Reject unsafe characters in $srcdir or the absolute working directory
2857: # name. Accept space and tab only in the latter.
2858: am_lf='
2859: '
2860: case `pwd` in
2861: *[\\\"\#\$\&\'\`$am_lf]*)
2862: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2863: esac
2864: case $srcdir in
2865: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2866: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2867: esac
2868:
2869: # Do `set' in a subshell so we don't clobber the current shell's
2870: # arguments. Must try -L first in case configure is actually a
2871: # symlink; some systems play weird games with the mod time of symlinks
2872: # (eg FreeBSD returns the mod time of the symlink's containing
2873: # directory).
2874: if (
2875: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2876: if test "$*" = "X"; then
2877: # -L didn't work.
2878: set X `ls -t "$srcdir/configure" conftest.file`
2879: fi
2880: rm -f conftest.file
2881: if test "$*" != "X $srcdir/configure conftest.file" \
2882: && test "$*" != "X conftest.file $srcdir/configure"; then
2883:
2884: # If neither matched, then we have a broken ls. This can happen
2885: # if, for instance, CONFIG_SHELL is bash and it inherits a
2886: # broken ls alias from the environment. This has actually
2887: # happened. Such a system could not be considered "sane".
2888: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2889: alias in your environment" "$LINENO" 5
2890: fi
2891:
2892: test "$2" = conftest.file
2893: )
2894: then
2895: # Ok.
2896: :
2897: else
2898: as_fn_error $? "newly created file is older than distributed files!
2899: Check your system clock" "$LINENO" 5
2900: fi
2901: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2902: $as_echo "yes" >&6; }
2903: test "$program_prefix" != NONE &&
2904: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2905: # Use a double $ so make ignores it.
2906: test "$program_suffix" != NONE &&
2907: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2908: # Double any \ or $.
2909: # By default was `s,x,x', remove it if useless.
2910: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2911: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2912:
2913: # expand $ac_aux_dir to an absolute path
2914: am_aux_dir=`cd $ac_aux_dir && pwd`
2915:
2916: if test x"${MISSING+set}" != xset; then
2917: case $am_aux_dir in
2918: *\ * | *\ *)
2919: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2920: *)
2921: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2922: esac
2923: fi
2924: # Use eval to expand $SHELL
2925: if eval "$MISSING --run true"; then
2926: am_missing_run="$MISSING --run "
2927: else
2928: am_missing_run=
2929: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2930: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2931: fi
2932:
2933: if test x"${install_sh}" != xset; then
2934: case $am_aux_dir in
2935: *\ * | *\ *)
2936: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2937: *)
2938: install_sh="\${SHELL} $am_aux_dir/install-sh"
2939: esac
2940: fi
2941:
2942: # Installed binaries are usually stripped using `strip' when the user
2943: # run `make install-strip'. However `strip' might not be the right
2944: # tool to use in cross-compilation environments, therefore Automake
2945: # will honor the `STRIP' environment variable to overrule this program.
2946: if test "$cross_compiling" != no; then
2947: if test -n "$ac_tool_prefix"; then
2948: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2949: set dummy ${ac_tool_prefix}strip; ac_word=$2
2950: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951: $as_echo_n "checking for $ac_word... " >&6; }
2952: if ${ac_cv_prog_STRIP+:} false; then :
2953: $as_echo_n "(cached) " >&6
2954: else
2955: if test -n "$STRIP"; then
2956: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2957: else
2958: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2959: for as_dir in $PATH
2960: do
2961: IFS=$as_save_IFS
2962: test -z "$as_dir" && as_dir=.
2963: for ac_exec_ext in '' $ac_executable_extensions; do
2964: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2966: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967: break 2
2968: fi
2969: done
2970: done
2971: IFS=$as_save_IFS
2972:
2973: fi
2974: fi
2975: STRIP=$ac_cv_prog_STRIP
2976: if test -n "$STRIP"; then
2977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2978: $as_echo "$STRIP" >&6; }
2979: else
2980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981: $as_echo "no" >&6; }
2982: fi
2983:
2984:
2985: fi
2986: if test -z "$ac_cv_prog_STRIP"; then
2987: ac_ct_STRIP=$STRIP
2988: # Extract the first word of "strip", so it can be a program name with args.
2989: set dummy strip; ac_word=$2
2990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991: $as_echo_n "checking for $ac_word... " >&6; }
2992: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2993: $as_echo_n "(cached) " >&6
2994: else
2995: if test -n "$ac_ct_STRIP"; then
2996: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2997: else
2998: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999: for as_dir in $PATH
3000: do
3001: IFS=$as_save_IFS
3002: test -z "$as_dir" && as_dir=.
3003: for ac_exec_ext in '' $ac_executable_extensions; do
3004: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005: ac_cv_prog_ac_ct_STRIP="strip"
3006: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007: break 2
3008: fi
3009: done
3010: done
3011: IFS=$as_save_IFS
3012:
3013: fi
3014: fi
3015: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3016: if test -n "$ac_ct_STRIP"; then
3017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3018: $as_echo "$ac_ct_STRIP" >&6; }
3019: else
3020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021: $as_echo "no" >&6; }
3022: fi
3023:
3024: if test "x$ac_ct_STRIP" = x; then
3025: STRIP=":"
3026: else
3027: case $cross_compiling:$ac_tool_warned in
3028: yes:)
3029: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031: ac_tool_warned=yes ;;
3032: esac
3033: STRIP=$ac_ct_STRIP
3034: fi
3035: else
3036: STRIP="$ac_cv_prog_STRIP"
3037: fi
3038:
3039: fi
3040: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3041:
3042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3043: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3044: if test -z "$MKDIR_P"; then
3045: if ${ac_cv_path_mkdir+:} false; then :
3046: $as_echo_n "(cached) " >&6
3047: else
3048: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3050: do
3051: IFS=$as_save_IFS
3052: test -z "$as_dir" && as_dir=.
3053: for ac_prog in mkdir gmkdir; do
3054: for ac_exec_ext in '' $ac_executable_extensions; do
3055: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3056: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3057: 'mkdir (GNU coreutils) '* | \
3058: 'mkdir (coreutils) '* | \
3059: 'mkdir (fileutils) '4.1*)
3060: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3061: break 3;;
3062: esac
3063: done
3064: done
3065: done
3066: IFS=$as_save_IFS
3067:
3068: fi
3069:
3070: test -d ./--version && rmdir ./--version
3071: if test "${ac_cv_path_mkdir+set}" = set; then
3072: MKDIR_P="$ac_cv_path_mkdir -p"
3073: else
3074: # As a last resort, use the slow shell script. Don't cache a
3075: # value for MKDIR_P within a source directory, because that will
3076: # break other packages using the cache if that directory is
3077: # removed, or if the value is a relative name.
3078: MKDIR_P="$ac_install_sh -d"
3079: fi
3080: fi
3081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3082: $as_echo "$MKDIR_P" >&6; }
3083:
3084: mkdir_p="$MKDIR_P"
3085: case $mkdir_p in
3086: [\\/$]* | ?:[\\/]*) ;;
3087: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3088: esac
3089:
3090: for ac_prog in gawk mawk nawk awk
3091: do
3092: # Extract the first word of "$ac_prog", so it can be a program name with args.
3093: set dummy $ac_prog; ac_word=$2
3094: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095: $as_echo_n "checking for $ac_word... " >&6; }
3096: if ${ac_cv_prog_AWK+:} false; then :
3097: $as_echo_n "(cached) " >&6
3098: else
3099: if test -n "$AWK"; then
3100: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3101: else
3102: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103: for as_dir in $PATH
3104: do
3105: IFS=$as_save_IFS
3106: test -z "$as_dir" && as_dir=.
3107: for ac_exec_ext in '' $ac_executable_extensions; do
3108: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109: ac_cv_prog_AWK="$ac_prog"
3110: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111: break 2
3112: fi
3113: done
3114: done
3115: IFS=$as_save_IFS
3116:
3117: fi
3118: fi
3119: AWK=$ac_cv_prog_AWK
3120: if test -n "$AWK"; then
3121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3122: $as_echo "$AWK" >&6; }
3123: else
3124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125: $as_echo "no" >&6; }
3126: fi
3127:
3128:
3129: test -n "$AWK" && break
3130: done
3131:
3132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3133: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3134: set x ${MAKE-make}
3135: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3136: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3137: $as_echo_n "(cached) " >&6
3138: else
3139: cat >conftest.make <<\_ACEOF
3140: SHELL = /bin/sh
3141: all:
3142: @echo '@@@%%%=$(MAKE)=@@@%%%'
3143: _ACEOF
3144: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3145: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3146: *@@@%%%=?*=@@@%%%*)
3147: eval ac_cv_prog_make_${ac_make}_set=yes;;
3148: *)
3149: eval ac_cv_prog_make_${ac_make}_set=no;;
3150: esac
3151: rm -f conftest.make
3152: fi
3153: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155: $as_echo "yes" >&6; }
3156: SET_MAKE=
3157: else
3158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159: $as_echo "no" >&6; }
3160: SET_MAKE="MAKE=${MAKE-make}"
3161: fi
3162:
3163: rm -rf .tst 2>/dev/null
3164: mkdir .tst 2>/dev/null
3165: if test -d .tst; then
3166: am__leading_dot=.
3167: else
3168: am__leading_dot=_
3169: fi
3170: rmdir .tst 2>/dev/null
3171:
3172: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3173: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3174: # is not polluted with repeated "-I."
3175: am__isrc=' -I$(srcdir)'
3176: # test to see if srcdir already configured
3177: if test -f $srcdir/config.status; then
3178: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3179: fi
3180: fi
3181:
3182: # test whether we have cygpath
3183: if test -z "$CYGPATH_W"; then
3184: if (cygpath --version) >/dev/null 2>/dev/null; then
3185: CYGPATH_W='cygpath -w'
3186: else
3187: CYGPATH_W=echo
3188: fi
3189: fi
3190:
3191:
3192: # Define the identity of the package.
3193: PACKAGE='rpl'
3194: VERSION='4.1.0.prerelease.2'
3195:
3196:
3197: cat >>confdefs.h <<_ACEOF
3198: #define PACKAGE "$PACKAGE"
3199: _ACEOF
3200:
3201:
3202: cat >>confdefs.h <<_ACEOF
3203: #define VERSION "$VERSION"
3204: _ACEOF
3205:
3206: # Some tools Automake needs.
3207:
3208: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3209:
3210:
3211: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3212:
3213:
3214: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3215:
3216:
3217: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3218:
3219:
3220: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3221:
3222: # We need awk for the "check" target. The system "awk" is bad on
3223: # some platforms.
3224: # Always define AMTAR for backward compatibility.
3225:
3226: AMTAR=${AMTAR-"${am_missing_run}tar"}
3227:
3228: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3229:
3230:
3231:
3232:
3233:
3234:
3235: ac_config_headers="$ac_config_headers rplconfig.h"
3236:
3237:
3238: NCURSES=ncurses-5.9
3239: READLINE=readline-6.2
3240: UNITS=units-1.88
3241: GSL=gsl-1.15
3242: GPP=gpp-2.24
3243: GNUPLOT=gnuplot-4.4.3
3244: FILE=file-5.03
3245: ICONV=libiconv-1.13.1
3246: SQLITE=sqlite-3.7.6.3
3247: OPENSSL=openssl-1.0.0d
3248:
3249: GMP=gmp-5.0.1
3250: MPFR=mpfr-3.0.1
3251: NTL=ntl-5.5.2
3252: COCOA=CoCoALib-0.9943
3253: PARI=pari-2.3.5
3254: GIAC=giac-0.9.2
3255:
3256: ac_ext=c
3257: ac_cpp='$CPP $CPPFLAGS'
3258: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3259: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3260: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3261: if test -n "$ac_tool_prefix"; then
3262: for ac_prog in gcc
3263: do
3264: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3265: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267: $as_echo_n "checking for $ac_word... " >&6; }
3268: if ${ac_cv_prog_CC+:} false; then :
3269: $as_echo_n "(cached) " >&6
3270: else
3271: if test -n "$CC"; then
3272: ac_cv_prog_CC="$CC" # Let the user override the test.
3273: else
3274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275: for as_dir in $PATH
3276: do
3277: IFS=$as_save_IFS
3278: test -z "$as_dir" && as_dir=.
3279: for ac_exec_ext in '' $ac_executable_extensions; do
3280: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3282: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283: break 2
3284: fi
3285: done
3286: done
3287: IFS=$as_save_IFS
3288:
3289: fi
3290: fi
3291: CC=$ac_cv_prog_CC
3292: if test -n "$CC"; then
3293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294: $as_echo "$CC" >&6; }
3295: else
3296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297: $as_echo "no" >&6; }
3298: fi
3299:
3300:
3301: test -n "$CC" && break
3302: done
3303: fi
3304: if test -z "$CC"; then
3305: ac_ct_CC=$CC
3306: for ac_prog in gcc
3307: do
3308: # Extract the first word of "$ac_prog", so it can be a program name with args.
3309: set dummy $ac_prog; ac_word=$2
3310: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311: $as_echo_n "checking for $ac_word... " >&6; }
3312: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3313: $as_echo_n "(cached) " >&6
3314: else
3315: if test -n "$ac_ct_CC"; then
3316: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3317: else
3318: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319: for as_dir in $PATH
3320: do
3321: IFS=$as_save_IFS
3322: test -z "$as_dir" && as_dir=.
3323: for ac_exec_ext in '' $ac_executable_extensions; do
3324: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3325: ac_cv_prog_ac_ct_CC="$ac_prog"
3326: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327: break 2
3328: fi
3329: done
3330: done
3331: IFS=$as_save_IFS
3332:
3333: fi
3334: fi
3335: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3336: if test -n "$ac_ct_CC"; then
3337: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3338: $as_echo "$ac_ct_CC" >&6; }
3339: else
3340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341: $as_echo "no" >&6; }
3342: fi
3343:
3344:
3345: test -n "$ac_ct_CC" && break
3346: done
3347:
3348: if test "x$ac_ct_CC" = x; then
3349: CC=""
3350: else
3351: case $cross_compiling:$ac_tool_warned in
3352: yes:)
3353: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3354: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3355: ac_tool_warned=yes ;;
3356: esac
3357: CC=$ac_ct_CC
3358: fi
3359: fi
3360:
3361:
3362: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364: as_fn_error $? "no acceptable C compiler found in \$PATH
3365: See \`config.log' for more details" "$LINENO" 5; }
3366:
3367: # Provide some information about the compiler.
3368: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3369: set X $ac_compile
3370: ac_compiler=$2
3371: for ac_option in --version -v -V -qversion; do
3372: { { ac_try="$ac_compiler $ac_option >&5"
3373: case "(($ac_try" in
3374: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375: *) ac_try_echo=$ac_try;;
3376: esac
3377: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378: $as_echo "$ac_try_echo"; } >&5
3379: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3380: ac_status=$?
3381: if test -s conftest.err; then
3382: sed '10a\
3383: ... rest of stderr output deleted ...
3384: 10q' conftest.err >conftest.er1
3385: cat conftest.er1 >&5
3386: fi
3387: rm -f conftest.er1 conftest.err
3388: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389: test $ac_status = 0; }
3390: done
3391:
3392: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393: /* end confdefs.h. */
3394:
3395: int
3396: main ()
3397: {
3398:
3399: ;
3400: return 0;
3401: }
3402: _ACEOF
3403: ac_clean_files_save=$ac_clean_files
3404: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3405: # Try to create an executable without -o first, disregard a.out.
3406: # It will help us diagnose broken compilers, and finding out an intuition
3407: # of exeext.
3408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3409: $as_echo_n "checking whether the C compiler works... " >&6; }
3410: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3411:
3412: # The possible output files:
3413: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3414:
3415: ac_rmfiles=
3416: for ac_file in $ac_files
3417: do
3418: case $ac_file in
3419: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3420: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3421: esac
3422: done
3423: rm -f $ac_rmfiles
3424:
3425: if { { ac_try="$ac_link_default"
3426: case "(($ac_try" in
3427: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428: *) ac_try_echo=$ac_try;;
3429: esac
3430: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3431: $as_echo "$ac_try_echo"; } >&5
3432: (eval "$ac_link_default") 2>&5
3433: ac_status=$?
3434: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435: test $ac_status = 0; }; then :
3436: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3437: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3438: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3439: # so that the user can short-circuit this test for compilers unknown to
3440: # Autoconf.
3441: for ac_file in $ac_files ''
3442: do
3443: test -f "$ac_file" || continue
3444: case $ac_file in
3445: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3446: ;;
3447: [ab].out )
3448: # We found the default executable, but exeext='' is most
3449: # certainly right.
3450: break;;
3451: *.* )
3452: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3453: then :; else
3454: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3455: fi
3456: # We set ac_cv_exeext here because the later test for it is not
3457: # safe: cross compilers may not add the suffix if given an `-o'
3458: # argument, so we may need to know it at that point already.
3459: # Even if this section looks crufty: it has the advantage of
3460: # actually working.
3461: break;;
3462: * )
3463: break;;
3464: esac
3465: done
3466: test "$ac_cv_exeext" = no && ac_cv_exeext=
3467:
3468: else
3469: ac_file=''
3470: fi
3471: if test -z "$ac_file"; then :
3472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473: $as_echo "no" >&6; }
3474: $as_echo "$as_me: failed program was:" >&5
3475: sed 's/^/| /' conftest.$ac_ext >&5
3476:
3477: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479: as_fn_error 77 "C compiler cannot create executables
3480: See \`config.log' for more details" "$LINENO" 5; }
3481: else
3482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483: $as_echo "yes" >&6; }
3484: fi
3485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3486: $as_echo_n "checking for C compiler default output file name... " >&6; }
3487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3488: $as_echo "$ac_file" >&6; }
3489: ac_exeext=$ac_cv_exeext
3490:
3491: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3492: ac_clean_files=$ac_clean_files_save
3493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3494: $as_echo_n "checking for suffix of executables... " >&6; }
3495: if { { ac_try="$ac_link"
3496: case "(($ac_try" in
3497: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498: *) ac_try_echo=$ac_try;;
3499: esac
3500: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501: $as_echo "$ac_try_echo"; } >&5
3502: (eval "$ac_link") 2>&5
3503: ac_status=$?
3504: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505: test $ac_status = 0; }; then :
3506: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3507: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3508: # work properly (i.e., refer to `conftest.exe'), while it won't with
3509: # `rm'.
3510: for ac_file in conftest.exe conftest conftest.*; do
3511: test -f "$ac_file" || continue
3512: case $ac_file in
3513: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3514: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3515: break;;
3516: * ) break;;
3517: esac
3518: done
3519: else
3520: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3523: See \`config.log' for more details" "$LINENO" 5; }
3524: fi
3525: rm -f conftest conftest$ac_cv_exeext
3526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3527: $as_echo "$ac_cv_exeext" >&6; }
3528:
3529: rm -f conftest.$ac_ext
3530: EXEEXT=$ac_cv_exeext
3531: ac_exeext=$EXEEXT
3532: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533: /* end confdefs.h. */
3534: #include <stdio.h>
3535: int
3536: main ()
3537: {
3538: FILE *f = fopen ("conftest.out", "w");
3539: return ferror (f) || fclose (f) != 0;
3540:
3541: ;
3542: return 0;
3543: }
3544: _ACEOF
3545: ac_clean_files="$ac_clean_files conftest.out"
3546: # Check that the compiler produces executables we can run. If not, either
3547: # the compiler is broken, or we cross compile.
3548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3549: $as_echo_n "checking whether we are cross compiling... " >&6; }
3550: if test "$cross_compiling" != yes; then
3551: { { ac_try="$ac_link"
3552: case "(($ac_try" in
3553: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554: *) ac_try_echo=$ac_try;;
3555: esac
3556: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557: $as_echo "$ac_try_echo"; } >&5
3558: (eval "$ac_link") 2>&5
3559: ac_status=$?
3560: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561: test $ac_status = 0; }
3562: if { ac_try='./conftest$ac_cv_exeext'
3563: { { case "(($ac_try" in
3564: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565: *) ac_try_echo=$ac_try;;
3566: esac
3567: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568: $as_echo "$ac_try_echo"; } >&5
3569: (eval "$ac_try") 2>&5
3570: ac_status=$?
3571: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572: test $ac_status = 0; }; }; then
3573: cross_compiling=no
3574: else
3575: if test "$cross_compiling" = maybe; then
3576: cross_compiling=yes
3577: else
3578: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580: as_fn_error $? "cannot run C compiled programs.
3581: If you meant to cross compile, use \`--host'.
3582: See \`config.log' for more details" "$LINENO" 5; }
3583: fi
3584: fi
3585: fi
3586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3587: $as_echo "$cross_compiling" >&6; }
3588:
3589: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3590: ac_clean_files=$ac_clean_files_save
3591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3592: $as_echo_n "checking for suffix of object files... " >&6; }
3593: if ${ac_cv_objext+:} false; then :
3594: $as_echo_n "(cached) " >&6
3595: else
3596: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597: /* end confdefs.h. */
3598:
3599: int
3600: main ()
3601: {
3602:
3603: ;
3604: return 0;
3605: }
3606: _ACEOF
3607: rm -f conftest.o conftest.obj
3608: if { { ac_try="$ac_compile"
3609: case "(($ac_try" in
3610: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611: *) ac_try_echo=$ac_try;;
3612: esac
3613: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614: $as_echo "$ac_try_echo"; } >&5
3615: (eval "$ac_compile") 2>&5
3616: ac_status=$?
3617: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618: test $ac_status = 0; }; then :
3619: for ac_file in conftest.o conftest.obj conftest.*; do
3620: test -f "$ac_file" || continue;
3621: case $ac_file in
3622: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3623: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3624: break;;
3625: esac
3626: done
3627: else
3628: $as_echo "$as_me: failed program was:" >&5
3629: sed 's/^/| /' conftest.$ac_ext >&5
3630:
3631: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633: as_fn_error $? "cannot compute suffix of object files: cannot compile
3634: See \`config.log' for more details" "$LINENO" 5; }
3635: fi
3636: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3637: fi
3638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3639: $as_echo "$ac_cv_objext" >&6; }
3640: OBJEXT=$ac_cv_objext
3641: ac_objext=$OBJEXT
3642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3643: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3644: if ${ac_cv_c_compiler_gnu+:} false; then :
3645: $as_echo_n "(cached) " >&6
3646: else
3647: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648: /* end confdefs.h. */
3649:
3650: int
3651: main ()
3652: {
3653: #ifndef __GNUC__
3654: choke me
3655: #endif
3656:
3657: ;
3658: return 0;
3659: }
3660: _ACEOF
3661: if ac_fn_c_try_compile "$LINENO"; then :
3662: ac_compiler_gnu=yes
3663: else
3664: ac_compiler_gnu=no
3665: fi
3666: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668:
3669: fi
3670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3671: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3672: if test $ac_compiler_gnu = yes; then
3673: GCC=yes
3674: else
3675: GCC=
3676: fi
3677: ac_test_CFLAGS=${CFLAGS+set}
3678: ac_save_CFLAGS=$CFLAGS
3679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3680: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3681: if ${ac_cv_prog_cc_g+:} false; then :
3682: $as_echo_n "(cached) " >&6
3683: else
3684: ac_save_c_werror_flag=$ac_c_werror_flag
3685: ac_c_werror_flag=yes
3686: ac_cv_prog_cc_g=no
3687: CFLAGS="-g"
3688: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689: /* end confdefs.h. */
3690:
3691: int
3692: main ()
3693: {
3694:
3695: ;
3696: return 0;
3697: }
3698: _ACEOF
3699: if ac_fn_c_try_compile "$LINENO"; then :
3700: ac_cv_prog_cc_g=yes
3701: else
3702: CFLAGS=""
3703: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704: /* end confdefs.h. */
3705:
3706: int
3707: main ()
3708: {
3709:
3710: ;
3711: return 0;
3712: }
3713: _ACEOF
3714: if ac_fn_c_try_compile "$LINENO"; then :
3715:
3716: else
3717: ac_c_werror_flag=$ac_save_c_werror_flag
3718: CFLAGS="-g"
3719: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720: /* end confdefs.h. */
3721:
3722: int
3723: main ()
3724: {
3725:
3726: ;
3727: return 0;
3728: }
3729: _ACEOF
3730: if ac_fn_c_try_compile "$LINENO"; then :
3731: ac_cv_prog_cc_g=yes
3732: fi
3733: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734: fi
3735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736: fi
3737: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738: ac_c_werror_flag=$ac_save_c_werror_flag
3739: fi
3740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3741: $as_echo "$ac_cv_prog_cc_g" >&6; }
3742: if test "$ac_test_CFLAGS" = set; then
3743: CFLAGS=$ac_save_CFLAGS
3744: elif test $ac_cv_prog_cc_g = yes; then
3745: if test "$GCC" = yes; then
3746: CFLAGS="-g -O2"
3747: else
3748: CFLAGS="-g"
3749: fi
3750: else
3751: if test "$GCC" = yes; then
3752: CFLAGS="-O2"
3753: else
3754: CFLAGS=
3755: fi
3756: fi
3757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3758: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3759: if ${ac_cv_prog_cc_c89+:} false; then :
3760: $as_echo_n "(cached) " >&6
3761: else
3762: ac_cv_prog_cc_c89=no
3763: ac_save_CC=$CC
3764: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765: /* end confdefs.h. */
3766: #include <stdarg.h>
3767: #include <stdio.h>
3768: #include <sys/types.h>
3769: #include <sys/stat.h>
3770: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3771: struct buf { int x; };
3772: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3773: static char *e (p, i)
3774: char **p;
3775: int i;
3776: {
3777: return p[i];
3778: }
3779: static char *f (char * (*g) (char **, int), char **p, ...)
3780: {
3781: char *s;
3782: va_list v;
3783: va_start (v,p);
3784: s = g (p, va_arg (v,int));
3785: va_end (v);
3786: return s;
3787: }
3788:
3789: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3790: function prototypes and stuff, but not '\xHH' hex character constants.
3791: These don't provoke an error unfortunately, instead are silently treated
3792: as 'x'. The following induces an error, until -std is added to get
3793: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3794: array size at least. It's necessary to write '\x00'==0 to get something
3795: that's true only with -std. */
3796: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3797:
3798: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3799: inside strings and character constants. */
3800: #define FOO(x) 'x'
3801: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3802:
3803: int test (int i, double x);
3804: struct s1 {int (*f) (int a);};
3805: struct s2 {int (*f) (double a);};
3806: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3807: int argc;
3808: char **argv;
3809: int
3810: main ()
3811: {
3812: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3813: ;
3814: return 0;
3815: }
3816: _ACEOF
3817: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3818: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3819: do
3820: CC="$ac_save_CC $ac_arg"
3821: if ac_fn_c_try_compile "$LINENO"; then :
3822: ac_cv_prog_cc_c89=$ac_arg
3823: fi
3824: rm -f core conftest.err conftest.$ac_objext
3825: test "x$ac_cv_prog_cc_c89" != "xno" && break
3826: done
3827: rm -f conftest.$ac_ext
3828: CC=$ac_save_CC
3829:
3830: fi
3831: # AC_CACHE_VAL
3832: case "x$ac_cv_prog_cc_c89" in
3833: x)
3834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3835: $as_echo "none needed" >&6; } ;;
3836: xno)
3837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3838: $as_echo "unsupported" >&6; } ;;
3839: *)
3840: CC="$CC $ac_cv_prog_cc_c89"
3841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3842: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3843: esac
3844: if test "x$ac_cv_prog_cc_c89" != xno; then :
3845:
3846: fi
3847:
3848: ac_ext=c
3849: ac_cpp='$CPP $CPPFLAGS'
3850: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3851: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3852: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853: DEPDIR="${am__leading_dot}deps"
3854:
3855: ac_config_commands="$ac_config_commands depfiles"
3856:
3857:
3858: am_make=${MAKE-make}
3859: cat > confinc << 'END'
3860: am__doit:
3861: @echo this is the am__doit target
3862: .PHONY: am__doit
3863: END
3864: # If we don't find an include directive, just comment out the code.
3865: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3866: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3867: am__include="#"
3868: am__quote=
3869: _am_result=none
3870: # First try GNU make style include.
3871: echo "include confinc" > confmf
3872: # Ignore all kinds of additional output from `make'.
3873: case `$am_make -s -f confmf 2> /dev/null` in #(
3874: *the\ am__doit\ target*)
3875: am__include=include
3876: am__quote=
3877: _am_result=GNU
3878: ;;
3879: esac
3880: # Now try BSD make style include.
3881: if test "$am__include" = "#"; then
3882: echo '.include "confinc"' > confmf
3883: case `$am_make -s -f confmf 2> /dev/null` in #(
3884: *the\ am__doit\ target*)
3885: am__include=.include
3886: am__quote="\""
3887: _am_result=BSD
3888: ;;
3889: esac
3890: fi
3891:
3892:
3893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3894: $as_echo "$_am_result" >&6; }
3895: rm -f confinc confmf
3896:
3897: # Check whether --enable-dependency-tracking was given.
3898: if test "${enable_dependency_tracking+set}" = set; then :
3899: enableval=$enable_dependency_tracking;
3900: fi
3901:
3902: if test "x$enable_dependency_tracking" != xno; then
3903: am_depcomp="$ac_aux_dir/depcomp"
3904: AMDEPBACKSLASH='\'
3905: fi
3906: if test "x$enable_dependency_tracking" != xno; then
3907: AMDEP_TRUE=
3908: AMDEP_FALSE='#'
3909: else
3910: AMDEP_TRUE='#'
3911: AMDEP_FALSE=
3912: fi
3913:
3914:
3915:
3916: depcc="$CC" am_compiler_list=
3917:
3918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3919: $as_echo_n "checking dependency style of $depcc... " >&6; }
3920: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3921: $as_echo_n "(cached) " >&6
3922: else
3923: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3924: # We make a subdir and do the tests there. Otherwise we can end up
3925: # making bogus files that we don't know about and never remove. For
3926: # instance it was reported that on HP-UX the gcc test will end up
3927: # making a dummy file named `D' -- because `-MD' means `put the output
3928: # in D'.
3929: mkdir conftest.dir
3930: # Copy depcomp to subdir because otherwise we won't find it if we're
3931: # using a relative directory.
3932: cp "$am_depcomp" conftest.dir
3933: cd conftest.dir
3934: # We will build objects and dependencies in a subdirectory because
3935: # it helps to detect inapplicable dependency modes. For instance
3936: # both Tru64's cc and ICC support -MD to output dependencies as a
3937: # side effect of compilation, but ICC will put the dependencies in
3938: # the current directory while Tru64 will put them in the object
3939: # directory.
3940: mkdir sub
3941:
3942: am_cv_CC_dependencies_compiler_type=none
3943: if test "$am_compiler_list" = ""; then
3944: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945: fi
3946: am__universal=false
3947: case " $depcc " in #(
3948: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3949: esac
3950:
3951: for depmode in $am_compiler_list; do
3952: # Setup a source with many dependencies, because some compilers
3953: # like to wrap large dependency lists on column 80 (with \), and
3954: # we should not choose a depcomp mode which is confused by this.
3955: #
3956: # We need to recreate these files for each test, as the compiler may
3957: # overwrite some of them when testing with obscure command lines.
3958: # This happens at least with the AIX C compiler.
3959: : > sub/conftest.c
3960: for i in 1 2 3 4 5 6; do
3961: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3962: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3963: # Solaris 8's {/usr,}/bin/sh.
3964: touch sub/conftst$i.h
3965: done
3966: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3967:
3968: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3969: # mode. It turns out that the SunPro C++ compiler does not properly
3970: # handle `-M -o', and we need to detect this. Also, some Intel
3971: # versions had trouble with output in subdirs
3972: am__obj=sub/conftest.${OBJEXT-o}
3973: am__minus_obj="-o $am__obj"
3974: case $depmode in
3975: gcc)
3976: # This depmode causes a compiler race in universal mode.
3977: test "$am__universal" = false || continue
3978: ;;
3979: nosideeffect)
3980: # after this tag, mechanisms are not by side-effect, so they'll
3981: # only be used when explicitly requested
3982: if test "x$enable_dependency_tracking" = xyes; then
3983: continue
3984: else
3985: break
3986: fi
3987: ;;
3988: msvisualcpp | msvcmsys)
3989: # This compiler won't grok `-c -o', but also, the minuso test has
3990: # not run yet. These depmodes are late enough in the game, and
3991: # so weak that their functioning should not be impacted.
3992: am__obj=conftest.${OBJEXT-o}
3993: am__minus_obj=
3994: ;;
3995: none) break ;;
3996: esac
3997: if depmode=$depmode \
3998: source=sub/conftest.c object=$am__obj \
3999: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4000: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4001: >/dev/null 2>conftest.err &&
4002: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4003: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4004: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4005: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4006: # icc doesn't choke on unknown options, it will just issue warnings
4007: # or remarks (even with -Werror). So we grep stderr for any message
4008: # that says an option was ignored or not supported.
4009: # When given -MP, icc 7.0 and 7.1 complain thusly:
4010: # icc: Command line warning: ignoring option '-M'; no argument required
4011: # The diagnosis changed in icc 8.0:
4012: # icc: Command line remark: option '-MP' not supported
4013: if (grep 'ignoring option' conftest.err ||
4014: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4015: am_cv_CC_dependencies_compiler_type=$depmode
4016: break
4017: fi
4018: fi
4019: done
4020:
4021: cd ..
4022: rm -rf conftest.dir
4023: else
4024: am_cv_CC_dependencies_compiler_type=none
4025: fi
4026:
4027: fi
4028: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4029: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4030: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4031:
4032: if
4033: test "x$enable_dependency_tracking" != xno \
4034: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4035: am__fastdepCC_TRUE=
4036: am__fastdepCC_FALSE='#'
4037: else
4038: am__fastdepCC_TRUE='#'
4039: am__fastdepCC_FALSE=
4040: fi
4041:
4042:
4043:
4044: EXT_SQL=
4045:
4046: if test x"$CC" != x""; then
4047: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4048: awk -F. '{ printf("%s", $1);}'`
4049: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4050: awk -F. '{ printf("%s", $2);}'`
4051: if test $GCC_VERSION_MAJEURE -ge 5; then
4052: OPTIMISATION_C=-O3
4053: else
4054: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4055: then
4056: OPTIMISATION_C=-O3
4057: else
4058: if test $GCC_VERSION_MAJEURE -ge 2; then
4059: OPTIMISATION_C=-O2
4060: else
4061: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4062: fi
4063: fi
4064: fi
4065: fi
4066:
4067: if test "x$CC" != xcc; then
4068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4069: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4070: else
4071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4072: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4073: fi
4074: set dummy $CC; ac_cc=`$as_echo "$2" |
4075: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4076: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4077: $as_echo_n "(cached) " >&6
4078: else
4079: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080: /* end confdefs.h. */
4081:
4082: int
4083: main ()
4084: {
4085:
4086: ;
4087: return 0;
4088: }
4089: _ACEOF
4090: # Make sure it works both with $CC and with simple cc.
4091: # We do the test twice because some compilers refuse to overwrite an
4092: # existing .o file with -o, though they will create one.
4093: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4094: rm -f conftest2.*
4095: if { { case "(($ac_try" in
4096: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097: *) ac_try_echo=$ac_try;;
4098: esac
4099: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100: $as_echo "$ac_try_echo"; } >&5
4101: (eval "$ac_try") 2>&5
4102: ac_status=$?
4103: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104: test $ac_status = 0; } &&
4105: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4106: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107: *) ac_try_echo=$ac_try;;
4108: esac
4109: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110: $as_echo "$ac_try_echo"; } >&5
4111: (eval "$ac_try") 2>&5
4112: ac_status=$?
4113: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114: test $ac_status = 0; };
4115: then
4116: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4117: if test "x$CC" != xcc; then
4118: # Test first that cc exists at all.
4119: if { ac_try='cc -c conftest.$ac_ext >&5'
4120: { { case "(($ac_try" in
4121: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122: *) ac_try_echo=$ac_try;;
4123: esac
4124: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125: $as_echo "$ac_try_echo"; } >&5
4126: (eval "$ac_try") 2>&5
4127: ac_status=$?
4128: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129: test $ac_status = 0; }; }; then
4130: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4131: rm -f conftest2.*
4132: if { { case "(($ac_try" in
4133: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134: *) ac_try_echo=$ac_try;;
4135: esac
4136: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137: $as_echo "$ac_try_echo"; } >&5
4138: (eval "$ac_try") 2>&5
4139: ac_status=$?
4140: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141: test $ac_status = 0; } &&
4142: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4143: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144: *) ac_try_echo=$ac_try;;
4145: esac
4146: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147: $as_echo "$ac_try_echo"; } >&5
4148: (eval "$ac_try") 2>&5
4149: ac_status=$?
4150: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151: test $ac_status = 0; };
4152: then
4153: # cc works too.
4154: :
4155: else
4156: # cc exists but doesn't like -o.
4157: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4158: fi
4159: fi
4160: fi
4161: else
4162: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4163: fi
4164: rm -f core conftest*
4165:
4166: fi
4167: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169: $as_echo "yes" >&6; }
4170: else
4171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172: $as_echo "no" >&6; }
4173:
4174: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4175:
4176: fi
4177:
4178: # FIXME: we rely on the cache variable name because
4179: # there is no other way.
4180: set dummy $CC
4181: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4182: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4183: if test "$am_t" != yes; then
4184: # Losing compiler, so override with the script.
4185: # FIXME: It is wrong to rewrite CC.
4186: # But if we don't then we get into trouble of one sort or another.
4187: # A longer-term fix would be to have automake use am__CC in this case,
4188: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4189: CC="$am_aux_dir/compile $CC"
4190: fi
4191:
4192:
4193:
4194: if test "$GCC" != yes; then
4195: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4196: fi
4197:
4198: ac_ext=cpp
4199: ac_cpp='$CXXCPP $CPPFLAGS'
4200: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4203: if test -z "$CXX"; then
4204: if test -n "$CCC"; then
4205: CXX=$CCC
4206: else
4207: if test -n "$ac_tool_prefix"; then
4208: for ac_prog in g++
4209: do
4210: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4211: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213: $as_echo_n "checking for $ac_word... " >&6; }
4214: if ${ac_cv_prog_CXX+:} false; then :
4215: $as_echo_n "(cached) " >&6
4216: else
4217: if test -n "$CXX"; then
4218: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4219: else
4220: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221: for as_dir in $PATH
4222: do
4223: IFS=$as_save_IFS
4224: test -z "$as_dir" && as_dir=.
4225: for ac_exec_ext in '' $ac_executable_extensions; do
4226: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4227: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4228: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229: break 2
4230: fi
4231: done
4232: done
4233: IFS=$as_save_IFS
4234:
4235: fi
4236: fi
4237: CXX=$ac_cv_prog_CXX
4238: if test -n "$CXX"; then
4239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4240: $as_echo "$CXX" >&6; }
4241: else
4242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243: $as_echo "no" >&6; }
4244: fi
4245:
4246:
4247: test -n "$CXX" && break
4248: done
4249: fi
4250: if test -z "$CXX"; then
4251: ac_ct_CXX=$CXX
4252: for ac_prog in g++
4253: do
4254: # Extract the first word of "$ac_prog", so it can be a program name with args.
4255: set dummy $ac_prog; ac_word=$2
4256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257: $as_echo_n "checking for $ac_word... " >&6; }
4258: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4259: $as_echo_n "(cached) " >&6
4260: else
4261: if test -n "$ac_ct_CXX"; then
4262: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4263: else
4264: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265: for as_dir in $PATH
4266: do
4267: IFS=$as_save_IFS
4268: test -z "$as_dir" && as_dir=.
4269: for ac_exec_ext in '' $ac_executable_extensions; do
4270: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4271: ac_cv_prog_ac_ct_CXX="$ac_prog"
4272: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273: break 2
4274: fi
4275: done
4276: done
4277: IFS=$as_save_IFS
4278:
4279: fi
4280: fi
4281: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4282: if test -n "$ac_ct_CXX"; then
4283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4284: $as_echo "$ac_ct_CXX" >&6; }
4285: else
4286: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287: $as_echo "no" >&6; }
4288: fi
4289:
4290:
4291: test -n "$ac_ct_CXX" && break
4292: done
4293:
4294: if test "x$ac_ct_CXX" = x; then
4295: CXX="g++"
4296: else
4297: case $cross_compiling:$ac_tool_warned in
4298: yes:)
4299: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301: ac_tool_warned=yes ;;
4302: esac
4303: CXX=$ac_ct_CXX
4304: fi
4305: fi
4306:
4307: fi
4308: fi
4309: # Provide some information about the compiler.
4310: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4311: set X $ac_compile
4312: ac_compiler=$2
4313: for ac_option in --version -v -V -qversion; do
4314: { { ac_try="$ac_compiler $ac_option >&5"
4315: case "(($ac_try" in
4316: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317: *) ac_try_echo=$ac_try;;
4318: esac
4319: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4320: $as_echo "$ac_try_echo"; } >&5
4321: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4322: ac_status=$?
4323: if test -s conftest.err; then
4324: sed '10a\
4325: ... rest of stderr output deleted ...
4326: 10q' conftest.err >conftest.er1
4327: cat conftest.er1 >&5
4328: fi
4329: rm -f conftest.er1 conftest.err
4330: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331: test $ac_status = 0; }
4332: done
4333:
4334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4335: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4336: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4337: $as_echo_n "(cached) " >&6
4338: else
4339: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340: /* end confdefs.h. */
4341:
4342: int
4343: main ()
4344: {
4345: #ifndef __GNUC__
4346: choke me
4347: #endif
4348:
4349: ;
4350: return 0;
4351: }
4352: _ACEOF
4353: if ac_fn_cxx_try_compile "$LINENO"; then :
4354: ac_compiler_gnu=yes
4355: else
4356: ac_compiler_gnu=no
4357: fi
4358: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4360:
4361: fi
4362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4363: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4364: if test $ac_compiler_gnu = yes; then
4365: GXX=yes
4366: else
4367: GXX=
4368: fi
4369: ac_test_CXXFLAGS=${CXXFLAGS+set}
4370: ac_save_CXXFLAGS=$CXXFLAGS
4371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4372: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4373: if ${ac_cv_prog_cxx_g+:} false; then :
4374: $as_echo_n "(cached) " >&6
4375: else
4376: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4377: ac_cxx_werror_flag=yes
4378: ac_cv_prog_cxx_g=no
4379: CXXFLAGS="-g"
4380: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381: /* end confdefs.h. */
4382:
4383: int
4384: main ()
4385: {
4386:
4387: ;
4388: return 0;
4389: }
4390: _ACEOF
4391: if ac_fn_cxx_try_compile "$LINENO"; then :
4392: ac_cv_prog_cxx_g=yes
4393: else
4394: CXXFLAGS=""
4395: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396: /* end confdefs.h. */
4397:
4398: int
4399: main ()
4400: {
4401:
4402: ;
4403: return 0;
4404: }
4405: _ACEOF
4406: if ac_fn_cxx_try_compile "$LINENO"; then :
4407:
4408: else
4409: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4410: CXXFLAGS="-g"
4411: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412: /* end confdefs.h. */
4413:
4414: int
4415: main ()
4416: {
4417:
4418: ;
4419: return 0;
4420: }
4421: _ACEOF
4422: if ac_fn_cxx_try_compile "$LINENO"; then :
4423: ac_cv_prog_cxx_g=yes
4424: fi
4425: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426: fi
4427: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428: fi
4429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4431: fi
4432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4433: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4434: if test "$ac_test_CXXFLAGS" = set; then
4435: CXXFLAGS=$ac_save_CXXFLAGS
4436: elif test $ac_cv_prog_cxx_g = yes; then
4437: if test "$GXX" = yes; then
4438: CXXFLAGS="-g -O2"
4439: else
4440: CXXFLAGS="-g"
4441: fi
4442: else
4443: if test "$GXX" = yes; then
4444: CXXFLAGS="-O2"
4445: else
4446: CXXFLAGS=
4447: fi
4448: fi
4449: ac_ext=c
4450: ac_cpp='$CPP $CPPFLAGS'
4451: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4454:
4455: depcc="$CXX" am_compiler_list=
4456:
4457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4458: $as_echo_n "checking dependency style of $depcc... " >&6; }
4459: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4460: $as_echo_n "(cached) " >&6
4461: else
4462: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4463: # We make a subdir and do the tests there. Otherwise we can end up
4464: # making bogus files that we don't know about and never remove. For
4465: # instance it was reported that on HP-UX the gcc test will end up
4466: # making a dummy file named `D' -- because `-MD' means `put the output
4467: # in D'.
4468: mkdir conftest.dir
4469: # Copy depcomp to subdir because otherwise we won't find it if we're
4470: # using a relative directory.
4471: cp "$am_depcomp" conftest.dir
4472: cd conftest.dir
4473: # We will build objects and dependencies in a subdirectory because
4474: # it helps to detect inapplicable dependency modes. For instance
4475: # both Tru64's cc and ICC support -MD to output dependencies as a
4476: # side effect of compilation, but ICC will put the dependencies in
4477: # the current directory while Tru64 will put them in the object
4478: # directory.
4479: mkdir sub
4480:
4481: am_cv_CXX_dependencies_compiler_type=none
4482: if test "$am_compiler_list" = ""; then
4483: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4484: fi
4485: am__universal=false
4486: case " $depcc " in #(
4487: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4488: esac
4489:
4490: for depmode in $am_compiler_list; do
4491: # Setup a source with many dependencies, because some compilers
4492: # like to wrap large dependency lists on column 80 (with \), and
4493: # we should not choose a depcomp mode which is confused by this.
4494: #
4495: # We need to recreate these files for each test, as the compiler may
4496: # overwrite some of them when testing with obscure command lines.
4497: # This happens at least with the AIX C compiler.
4498: : > sub/conftest.c
4499: for i in 1 2 3 4 5 6; do
4500: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4501: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4502: # Solaris 8's {/usr,}/bin/sh.
4503: touch sub/conftst$i.h
4504: done
4505: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4506:
4507: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4508: # mode. It turns out that the SunPro C++ compiler does not properly
4509: # handle `-M -o', and we need to detect this. Also, some Intel
4510: # versions had trouble with output in subdirs
4511: am__obj=sub/conftest.${OBJEXT-o}
4512: am__minus_obj="-o $am__obj"
4513: case $depmode in
4514: gcc)
4515: # This depmode causes a compiler race in universal mode.
4516: test "$am__universal" = false || continue
4517: ;;
4518: nosideeffect)
4519: # after this tag, mechanisms are not by side-effect, so they'll
4520: # only be used when explicitly requested
4521: if test "x$enable_dependency_tracking" = xyes; then
4522: continue
4523: else
4524: break
4525: fi
4526: ;;
4527: msvisualcpp | msvcmsys)
4528: # This compiler won't grok `-c -o', but also, the minuso test has
4529: # not run yet. These depmodes are late enough in the game, and
4530: # so weak that their functioning should not be impacted.
4531: am__obj=conftest.${OBJEXT-o}
4532: am__minus_obj=
4533: ;;
4534: none) break ;;
4535: esac
4536: if depmode=$depmode \
4537: source=sub/conftest.c object=$am__obj \
4538: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4539: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4540: >/dev/null 2>conftest.err &&
4541: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4542: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4543: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4544: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4545: # icc doesn't choke on unknown options, it will just issue warnings
4546: # or remarks (even with -Werror). So we grep stderr for any message
4547: # that says an option was ignored or not supported.
4548: # When given -MP, icc 7.0 and 7.1 complain thusly:
4549: # icc: Command line warning: ignoring option '-M'; no argument required
4550: # The diagnosis changed in icc 8.0:
4551: # icc: Command line remark: option '-MP' not supported
4552: if (grep 'ignoring option' conftest.err ||
4553: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4554: am_cv_CXX_dependencies_compiler_type=$depmode
4555: break
4556: fi
4557: fi
4558: done
4559:
4560: cd ..
4561: rm -rf conftest.dir
4562: else
4563: am_cv_CXX_dependencies_compiler_type=none
4564: fi
4565:
4566: fi
4567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4568: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4569: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4570:
4571: if
4572: test "x$enable_dependency_tracking" != xno \
4573: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4574: am__fastdepCXX_TRUE=
4575: am__fastdepCXX_FALSE='#'
4576: else
4577: am__fastdepCXX_TRUE='#'
4578: am__fastdepCXX_FALSE=
4579: fi
4580:
4581:
4582:
4583: if test "$GXX" != yes; then
4584: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4585: fi
4586:
4587: ac_ext=f
4588: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4589: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4591: if test -n "$ac_tool_prefix"; then
4592: for ac_prog in gfortran
4593: do
4594: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4595: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597: $as_echo_n "checking for $ac_word... " >&6; }
4598: if ${ac_cv_prog_F77+:} false; then :
4599: $as_echo_n "(cached) " >&6
4600: else
4601: if test -n "$F77"; then
4602: ac_cv_prog_F77="$F77" # Let the user override the test.
4603: else
4604: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605: for as_dir in $PATH
4606: do
4607: IFS=$as_save_IFS
4608: test -z "$as_dir" && as_dir=.
4609: for ac_exec_ext in '' $ac_executable_extensions; do
4610: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4612: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613: break 2
4614: fi
4615: done
4616: done
4617: IFS=$as_save_IFS
4618:
4619: fi
4620: fi
4621: F77=$ac_cv_prog_F77
4622: if test -n "$F77"; then
4623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4624: $as_echo "$F77" >&6; }
4625: else
4626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627: $as_echo "no" >&6; }
4628: fi
4629:
4630:
4631: test -n "$F77" && break
4632: done
4633: fi
4634: if test -z "$F77"; then
4635: ac_ct_F77=$F77
4636: for ac_prog in gfortran
4637: do
4638: # Extract the first word of "$ac_prog", so it can be a program name with args.
4639: set dummy $ac_prog; ac_word=$2
4640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641: $as_echo_n "checking for $ac_word... " >&6; }
4642: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4643: $as_echo_n "(cached) " >&6
4644: else
4645: if test -n "$ac_ct_F77"; then
4646: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4647: else
4648: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649: for as_dir in $PATH
4650: do
4651: IFS=$as_save_IFS
4652: test -z "$as_dir" && as_dir=.
4653: for ac_exec_ext in '' $ac_executable_extensions; do
4654: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655: ac_cv_prog_ac_ct_F77="$ac_prog"
4656: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657: break 2
4658: fi
4659: done
4660: done
4661: IFS=$as_save_IFS
4662:
4663: fi
4664: fi
4665: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4666: if test -n "$ac_ct_F77"; then
4667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4668: $as_echo "$ac_ct_F77" >&6; }
4669: else
4670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671: $as_echo "no" >&6; }
4672: fi
4673:
4674:
4675: test -n "$ac_ct_F77" && break
4676: done
4677:
4678: if test "x$ac_ct_F77" = x; then
4679: F77=""
4680: else
4681: case $cross_compiling:$ac_tool_warned in
4682: yes:)
4683: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4684: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4685: ac_tool_warned=yes ;;
4686: esac
4687: F77=$ac_ct_F77
4688: fi
4689: fi
4690:
4691:
4692: # Provide some information about the compiler.
4693: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4694: set X $ac_compile
4695: ac_compiler=$2
4696: for ac_option in --version -v -V -qversion; do
4697: { { ac_try="$ac_compiler $ac_option >&5"
4698: case "(($ac_try" in
4699: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700: *) ac_try_echo=$ac_try;;
4701: esac
4702: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4703: $as_echo "$ac_try_echo"; } >&5
4704: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4705: ac_status=$?
4706: if test -s conftest.err; then
4707: sed '10a\
4708: ... rest of stderr output deleted ...
4709: 10q' conftest.err >conftest.er1
4710: cat conftest.er1 >&5
4711: fi
4712: rm -f conftest.er1 conftest.err
4713: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714: test $ac_status = 0; }
4715: done
4716: rm -f a.out
4717:
4718: # If we don't use `.F' as extension, the preprocessor is not run on the
4719: # input file. (Note that this only needs to work for GNU compilers.)
4720: ac_save_ext=$ac_ext
4721: ac_ext=F
4722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4723: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4724: if ${ac_cv_f77_compiler_gnu+:} false; then :
4725: $as_echo_n "(cached) " >&6
4726: else
4727: cat > conftest.$ac_ext <<_ACEOF
4728: program main
4729: #ifndef __GNUC__
4730: choke me
4731: #endif
4732:
4733: end
4734: _ACEOF
4735: if ac_fn_f77_try_compile "$LINENO"; then :
4736: ac_compiler_gnu=yes
4737: else
4738: ac_compiler_gnu=no
4739: fi
4740: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4742:
4743: fi
4744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4745: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4746: ac_ext=$ac_save_ext
4747: ac_test_FFLAGS=${FFLAGS+set}
4748: ac_save_FFLAGS=$FFLAGS
4749: FFLAGS=
4750: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4751: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4752: if ${ac_cv_prog_f77_g+:} false; then :
4753: $as_echo_n "(cached) " >&6
4754: else
4755: FFLAGS=-g
4756: cat > conftest.$ac_ext <<_ACEOF
4757: program main
4758:
4759: end
4760: _ACEOF
4761: if ac_fn_f77_try_compile "$LINENO"; then :
4762: ac_cv_prog_f77_g=yes
4763: else
4764: ac_cv_prog_f77_g=no
4765: fi
4766: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767:
4768: fi
4769: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4770: $as_echo "$ac_cv_prog_f77_g" >&6; }
4771: if test "$ac_test_FFLAGS" = set; then
4772: FFLAGS=$ac_save_FFLAGS
4773: elif test $ac_cv_prog_f77_g = yes; then
4774: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4775: FFLAGS="-g -O2"
4776: else
4777: FFLAGS="-g"
4778: fi
4779: else
4780: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4781: FFLAGS="-O2"
4782: else
4783: FFLAGS=
4784: fi
4785: fi
4786:
4787: if test $ac_compiler_gnu = yes; then
4788: G77=yes
4789: else
4790: G77=
4791: fi
4792: ac_ext=c
4793: ac_cpp='$CPP $CPPFLAGS'
4794: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4797:
4798:
4799: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4800: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4801: fi
4802:
4803: ac_ext=${ac_fc_srcext-f}
4804: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4805: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4806: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4807: if test -n "$ac_tool_prefix"; then
4808: for ac_prog in gfortran
4809: do
4810: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4811: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813: $as_echo_n "checking for $ac_word... " >&6; }
4814: if ${ac_cv_prog_FC+:} false; then :
4815: $as_echo_n "(cached) " >&6
4816: else
4817: if test -n "$FC"; then
4818: ac_cv_prog_FC="$FC" # Let the user override the test.
4819: else
4820: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821: for as_dir in $PATH
4822: do
4823: IFS=$as_save_IFS
4824: test -z "$as_dir" && as_dir=.
4825: for ac_exec_ext in '' $ac_executable_extensions; do
4826: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4827: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4828: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829: break 2
4830: fi
4831: done
4832: done
4833: IFS=$as_save_IFS
4834:
4835: fi
4836: fi
4837: FC=$ac_cv_prog_FC
4838: if test -n "$FC"; then
4839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4840: $as_echo "$FC" >&6; }
4841: else
4842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843: $as_echo "no" >&6; }
4844: fi
4845:
4846:
4847: test -n "$FC" && break
4848: done
4849: fi
4850: if test -z "$FC"; then
4851: ac_ct_FC=$FC
4852: for ac_prog in gfortran
4853: do
4854: # Extract the first word of "$ac_prog", so it can be a program name with args.
4855: set dummy $ac_prog; ac_word=$2
4856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857: $as_echo_n "checking for $ac_word... " >&6; }
4858: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4859: $as_echo_n "(cached) " >&6
4860: else
4861: if test -n "$ac_ct_FC"; then
4862: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4863: else
4864: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865: for as_dir in $PATH
4866: do
4867: IFS=$as_save_IFS
4868: test -z "$as_dir" && as_dir=.
4869: for ac_exec_ext in '' $ac_executable_extensions; do
4870: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871: ac_cv_prog_ac_ct_FC="$ac_prog"
4872: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873: break 2
4874: fi
4875: done
4876: done
4877: IFS=$as_save_IFS
4878:
4879: fi
4880: fi
4881: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4882: if test -n "$ac_ct_FC"; then
4883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4884: $as_echo "$ac_ct_FC" >&6; }
4885: else
4886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887: $as_echo "no" >&6; }
4888: fi
4889:
4890:
4891: test -n "$ac_ct_FC" && break
4892: done
4893:
4894: if test "x$ac_ct_FC" = x; then
4895: FC=""
4896: else
4897: case $cross_compiling:$ac_tool_warned in
4898: yes:)
4899: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4900: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4901: ac_tool_warned=yes ;;
4902: esac
4903: FC=$ac_ct_FC
4904: fi
4905: fi
4906:
4907:
4908: # Provide some information about the compiler.
4909: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4910: set X $ac_compile
4911: ac_compiler=$2
4912: for ac_option in --version -v -V -qversion; do
4913: { { ac_try="$ac_compiler $ac_option >&5"
4914: case "(($ac_try" in
4915: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916: *) ac_try_echo=$ac_try;;
4917: esac
4918: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4919: $as_echo "$ac_try_echo"; } >&5
4920: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4921: ac_status=$?
4922: if test -s conftest.err; then
4923: sed '10a\
4924: ... rest of stderr output deleted ...
4925: 10q' conftest.err >conftest.er1
4926: cat conftest.er1 >&5
4927: fi
4928: rm -f conftest.er1 conftest.err
4929: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4930: test $ac_status = 0; }
4931: done
4932: rm -f a.out
4933:
4934: # If we don't use `.F' as extension, the preprocessor is not run on the
4935: # input file. (Note that this only needs to work for GNU compilers.)
4936: ac_save_ext=$ac_ext
4937: ac_ext=F
4938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4939: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4940: if ${ac_cv_fc_compiler_gnu+:} false; then :
4941: $as_echo_n "(cached) " >&6
4942: else
4943: cat > conftest.$ac_ext <<_ACEOF
4944: program main
4945: #ifndef __GNUC__
4946: choke me
4947: #endif
4948:
4949: end
4950: _ACEOF
4951: if ac_fn_fc_try_compile "$LINENO"; then :
4952: ac_compiler_gnu=yes
4953: else
4954: ac_compiler_gnu=no
4955: fi
4956: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4958:
4959: fi
4960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4961: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4962: ac_ext=$ac_save_ext
4963: ac_test_FCFLAGS=${FCFLAGS+set}
4964: ac_save_FCFLAGS=$FCFLAGS
4965: FCFLAGS=
4966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4967: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4968: if ${ac_cv_prog_fc_g+:} false; then :
4969: $as_echo_n "(cached) " >&6
4970: else
4971: FCFLAGS=-g
4972: cat > conftest.$ac_ext <<_ACEOF
4973: program main
4974:
4975: end
4976: _ACEOF
4977: if ac_fn_fc_try_compile "$LINENO"; then :
4978: ac_cv_prog_fc_g=yes
4979: else
4980: ac_cv_prog_fc_g=no
4981: fi
4982: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983:
4984: fi
4985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4986: $as_echo "$ac_cv_prog_fc_g" >&6; }
4987: if test "$ac_test_FCFLAGS" = set; then
4988: FCFLAGS=$ac_save_FCFLAGS
4989: elif test $ac_cv_prog_fc_g = yes; then
4990: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4991: FCFLAGS="-g -O2"
4992: else
4993: FCFLAGS="-g"
4994: fi
4995: else
4996: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4997: FCFLAGS="-O2"
4998: else
4999: FCFLAGS=
5000: fi
5001: fi
5002:
5003: ac_ext=c
5004: ac_cpp='$CPP $CPPFLAGS'
5005: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5008:
5009:
5010: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
5011: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5012: fi
5013:
5014: if test x"$FC" != x""; then
5015: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5016: awk -F. '{ printf("%s", $1);}'`
5017: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5018: awk -F. '{ printf("%s", $2);}'`
5019: if test $GCC_VERSION_MAJEURE -ge 5; then
5020: OPTIMISATION_F=-O3
5021: else
5022: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5023: OPTIMISATION_F=-O3
5024: else
5025: if test $GCC_VERSION_MAJEURE -ge 3; then
5026: OPTIMISATION_F=-O2
5027: else
5028: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5029: fi
5030: fi
5031: fi
5032: fi
5033:
5034:
5035: ac_ext=c
5036: ac_cpp='$CPP $CPPFLAGS'
5037: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5041: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5042: # On Suns, sometimes $CPP names a directory.
5043: if test -n "$CPP" && test -d "$CPP"; then
5044: CPP=
5045: fi
5046: if test -z "$CPP"; then
5047: if ${ac_cv_prog_CPP+:} false; then :
5048: $as_echo_n "(cached) " >&6
5049: else
5050: # Double quotes because CPP needs to be expanded
5051: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5052: do
5053: ac_preproc_ok=false
5054: for ac_c_preproc_warn_flag in '' yes
5055: do
5056: # Use a header file that comes with gcc, so configuring glibc
5057: # with a fresh cross-compiler works.
5058: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059: # <limits.h> exists even on freestanding compilers.
5060: # On the NeXT, cc -E runs the code through the compiler's parser,
5061: # not just through cpp. "Syntax error" is here to catch this case.
5062: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063: /* end confdefs.h. */
5064: #ifdef __STDC__
5065: # include <limits.h>
5066: #else
5067: # include <assert.h>
5068: #endif
5069: Syntax error
5070: _ACEOF
5071: if ac_fn_c_try_cpp "$LINENO"; then :
5072:
5073: else
5074: # Broken: fails on valid input.
5075: continue
5076: fi
5077: rm -f conftest.err conftest.i conftest.$ac_ext
5078:
5079: # OK, works on sane cases. Now check whether nonexistent headers
5080: # can be detected and how.
5081: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082: /* end confdefs.h. */
5083: #include <ac_nonexistent.h>
5084: _ACEOF
5085: if ac_fn_c_try_cpp "$LINENO"; then :
5086: # Broken: success on invalid input.
5087: continue
5088: else
5089: # Passes both tests.
5090: ac_preproc_ok=:
5091: break
5092: fi
5093: rm -f conftest.err conftest.i conftest.$ac_ext
5094:
5095: done
5096: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5097: rm -f conftest.i conftest.err conftest.$ac_ext
5098: if $ac_preproc_ok; then :
5099: break
5100: fi
5101:
5102: done
5103: ac_cv_prog_CPP=$CPP
5104:
5105: fi
5106: CPP=$ac_cv_prog_CPP
5107: else
5108: ac_cv_prog_CPP=$CPP
5109: fi
5110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5111: $as_echo "$CPP" >&6; }
5112: ac_preproc_ok=false
5113: for ac_c_preproc_warn_flag in '' yes
5114: do
5115: # Use a header file that comes with gcc, so configuring glibc
5116: # with a fresh cross-compiler works.
5117: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5118: # <limits.h> exists even on freestanding compilers.
5119: # On the NeXT, cc -E runs the code through the compiler's parser,
5120: # not just through cpp. "Syntax error" is here to catch this case.
5121: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122: /* end confdefs.h. */
5123: #ifdef __STDC__
5124: # include <limits.h>
5125: #else
5126: # include <assert.h>
5127: #endif
5128: Syntax error
5129: _ACEOF
5130: if ac_fn_c_try_cpp "$LINENO"; then :
5131:
5132: else
5133: # Broken: fails on valid input.
5134: continue
5135: fi
5136: rm -f conftest.err conftest.i conftest.$ac_ext
5137:
5138: # OK, works on sane cases. Now check whether nonexistent headers
5139: # can be detected and how.
5140: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141: /* end confdefs.h. */
5142: #include <ac_nonexistent.h>
5143: _ACEOF
5144: if ac_fn_c_try_cpp "$LINENO"; then :
5145: # Broken: success on invalid input.
5146: continue
5147: else
5148: # Passes both tests.
5149: ac_preproc_ok=:
5150: break
5151: fi
5152: rm -f conftest.err conftest.i conftest.$ac_ext
5153:
5154: done
5155: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5156: rm -f conftest.i conftest.err conftest.$ac_ext
5157: if $ac_preproc_ok; then :
5158:
5159: else
5160: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5161: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5162: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5163: See \`config.log' for more details" "$LINENO" 5; }
5164: fi
5165:
5166: ac_ext=c
5167: ac_cpp='$CPP $CPPFLAGS'
5168: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5171:
5172:
5173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5174: $as_echo_n "checking for X... " >&6; }
5175:
5176:
5177: # Check whether --with-x was given.
5178: if test "${with_x+set}" = set; then :
5179: withval=$with_x;
5180: fi
5181:
5182: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5183: if test "x$with_x" = xno; then
5184: # The user explicitly disabled X.
5185: have_x=disabled
5186: else
5187: case $x_includes,$x_libraries in #(
5188: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5189: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5190: $as_echo_n "(cached) " >&6
5191: else
5192: # One or both of the vars are not set, and there is no cached value.
5193: ac_x_includes=no ac_x_libraries=no
5194: rm -f -r conftest.dir
5195: if mkdir conftest.dir; then
5196: cd conftest.dir
5197: cat >Imakefile <<'_ACEOF'
5198: incroot:
5199: @echo incroot='${INCROOT}'
5200: usrlibdir:
5201: @echo usrlibdir='${USRLIBDIR}'
5202: libdir:
5203: @echo libdir='${LIBDIR}'
5204: _ACEOF
5205: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5206: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5207: for ac_var in incroot usrlibdir libdir; do
5208: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5209: done
5210: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5211: for ac_extension in a so sl dylib la dll; do
5212: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5213: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5214: ac_im_usrlibdir=$ac_im_libdir; break
5215: fi
5216: done
5217: # Screen out bogus values from the imake configuration. They are
5218: # bogus both because they are the default anyway, and because
5219: # using them would break gcc on systems where it needs fixed includes.
5220: case $ac_im_incroot in
5221: /usr/include) ac_x_includes= ;;
5222: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5223: esac
5224: case $ac_im_usrlibdir in
5225: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5226: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5227: esac
5228: fi
5229: cd ..
5230: rm -f -r conftest.dir
5231: fi
5232:
5233: # Standard set of common directories for X headers.
5234: # Check X11 before X11Rn because it is often a symlink to the current release.
5235: ac_x_header_dirs='
5236: /usr/X11/include
5237: /usr/X11R7/include
5238: /usr/X11R6/include
5239: /usr/X11R5/include
5240: /usr/X11R4/include
5241:
5242: /usr/include/X11
5243: /usr/include/X11R7
5244: /usr/include/X11R6
5245: /usr/include/X11R5
5246: /usr/include/X11R4
5247:
5248: /usr/local/X11/include
5249: /usr/local/X11R7/include
5250: /usr/local/X11R6/include
5251: /usr/local/X11R5/include
5252: /usr/local/X11R4/include
5253:
5254: /usr/local/include/X11
5255: /usr/local/include/X11R7
5256: /usr/local/include/X11R6
5257: /usr/local/include/X11R5
5258: /usr/local/include/X11R4
5259:
5260: /usr/X386/include
5261: /usr/x386/include
5262: /usr/XFree86/include/X11
5263:
5264: /usr/include
5265: /usr/local/include
5266: /usr/unsupported/include
5267: /usr/athena/include
5268: /usr/local/x11r5/include
5269: /usr/lpp/Xamples/include
5270:
5271: /usr/openwin/include
5272: /usr/openwin/share/include'
5273:
5274: if test "$ac_x_includes" = no; then
5275: # Guess where to find include files, by looking for Xlib.h.
5276: # First, try using that file with no special directory specified.
5277: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278: /* end confdefs.h. */
5279: #include <X11/Xlib.h>
5280: _ACEOF
5281: if ac_fn_c_try_cpp "$LINENO"; then :
5282: # We can compile using X headers with no special include directory.
5283: ac_x_includes=
5284: else
5285: for ac_dir in $ac_x_header_dirs; do
5286: if test -r "$ac_dir/X11/Xlib.h"; then
5287: ac_x_includes=$ac_dir
5288: break
5289: fi
5290: done
5291: fi
5292: rm -f conftest.err conftest.i conftest.$ac_ext
5293: fi # $ac_x_includes = no
5294:
5295: if test "$ac_x_libraries" = no; then
5296: # Check for the libraries.
5297: # See if we find them without any special options.
5298: # Don't add to $LIBS permanently.
5299: ac_save_LIBS=$LIBS
5300: LIBS="-lX11 $LIBS"
5301: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302: /* end confdefs.h. */
5303: #include <X11/Xlib.h>
5304: int
5305: main ()
5306: {
5307: XrmInitialize ()
5308: ;
5309: return 0;
5310: }
5311: _ACEOF
5312: if ac_fn_c_try_link "$LINENO"; then :
5313: LIBS=$ac_save_LIBS
5314: # We can link X programs with no special library path.
5315: ac_x_libraries=
5316: else
5317: LIBS=$ac_save_LIBS
5318: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5319: do
5320: # Don't even attempt the hair of trying to link an X program!
5321: for ac_extension in a so sl dylib la dll; do
5322: if test -r "$ac_dir/libX11.$ac_extension"; then
5323: ac_x_libraries=$ac_dir
5324: break 2
5325: fi
5326: done
5327: done
5328: fi
5329: rm -f core conftest.err conftest.$ac_objext \
5330: conftest$ac_exeext conftest.$ac_ext
5331: fi # $ac_x_libraries = no
5332:
5333: case $ac_x_includes,$ac_x_libraries in #(
5334: no,* | *,no | *\'*)
5335: # Didn't find X, or a directory has "'" in its name.
5336: ac_cv_have_x="have_x=no";; #(
5337: *)
5338: # Record where we found X for the cache.
5339: ac_cv_have_x="have_x=yes\
5340: ac_x_includes='$ac_x_includes'\
5341: ac_x_libraries='$ac_x_libraries'"
5342: esac
5343: fi
5344: ;; #(
5345: *) have_x=yes;;
5346: esac
5347: eval "$ac_cv_have_x"
5348: fi # $with_x != no
5349:
5350: if test "$have_x" != yes; then
5351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5352: $as_echo "$have_x" >&6; }
5353: no_x=yes
5354: else
5355: # If each of the values was on the command line, it overrides each guess.
5356: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5357: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5358: # Update the cache value to reflect the command line values.
5359: ac_cv_have_x="have_x=yes\
5360: ac_x_includes='$x_includes'\
5361: ac_x_libraries='$x_libraries'"
5362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5363: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5364: fi
5365:
5366: if test "$no_x" = yes; then
5367: # Not all programs may use this symbol, but it does not hurt to define it.
5368:
5369: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5370:
5371: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5372: else
5373: if test -n "$x_includes"; then
5374: X_CFLAGS="$X_CFLAGS -I$x_includes"
5375: fi
5376:
5377: # It would also be nice to do this for all -L options, not just this one.
5378: if test -n "$x_libraries"; then
5379: X_LIBS="$X_LIBS -L$x_libraries"
5380: # For Solaris; some versions of Sun CC require a space after -R and
5381: # others require no space. Words are not sufficient . . . .
5382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5383: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5384: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5385: ac_xsave_c_werror_flag=$ac_c_werror_flag
5386: ac_c_werror_flag=yes
5387: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388: /* end confdefs.h. */
5389:
5390: int
5391: main ()
5392: {
5393:
5394: ;
5395: return 0;
5396: }
5397: _ACEOF
5398: if ac_fn_c_try_link "$LINENO"; then :
5399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400: $as_echo "no" >&6; }
5401: X_LIBS="$X_LIBS -R$x_libraries"
5402: else
5403: LIBS="$ac_xsave_LIBS -R $x_libraries"
5404: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405: /* end confdefs.h. */
5406:
5407: int
5408: main ()
5409: {
5410:
5411: ;
5412: return 0;
5413: }
5414: _ACEOF
5415: if ac_fn_c_try_link "$LINENO"; then :
5416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417: $as_echo "yes" >&6; }
5418: X_LIBS="$X_LIBS -R $x_libraries"
5419: else
5420: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5421: $as_echo "neither works" >&6; }
5422: fi
5423: rm -f core conftest.err conftest.$ac_objext \
5424: conftest$ac_exeext conftest.$ac_ext
5425: fi
5426: rm -f core conftest.err conftest.$ac_objext \
5427: conftest$ac_exeext conftest.$ac_ext
5428: ac_c_werror_flag=$ac_xsave_c_werror_flag
5429: LIBS=$ac_xsave_LIBS
5430: fi
5431:
5432: # Check for system-dependent libraries X programs must link with.
5433: # Do this before checking for the system-independent R6 libraries
5434: # (-lICE), since we may need -lsocket or whatever for X linking.
5435:
5436: if test "$ISC" = yes; then
5437: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5438: else
5439: # Martyn Johnson says this is needed for Ultrix, if the X
5440: # libraries were built with DECnet support. And Karl Berry says
5441: # the Alpha needs dnet_stub (dnet does not exist).
5442: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444: /* end confdefs.h. */
5445:
5446: /* Override any GCC internal prototype to avoid an error.
5447: Use char because int might match the return type of a GCC
5448: builtin and then its argument prototype would still apply. */
5449: #ifdef __cplusplus
5450: extern "C"
5451: #endif
5452: char XOpenDisplay ();
5453: int
5454: main ()
5455: {
5456: return XOpenDisplay ();
5457: ;
5458: return 0;
5459: }
5460: _ACEOF
5461: if ac_fn_c_try_link "$LINENO"; then :
5462:
5463: else
5464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5465: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5466: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5467: $as_echo_n "(cached) " >&6
5468: else
5469: ac_check_lib_save_LIBS=$LIBS
5470: LIBS="-ldnet $LIBS"
5471: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472: /* end confdefs.h. */
5473:
5474: /* Override any GCC internal prototype to avoid an error.
5475: Use char because int might match the return type of a GCC
5476: builtin and then its argument prototype would still apply. */
5477: #ifdef __cplusplus
5478: extern "C"
5479: #endif
5480: char dnet_ntoa ();
5481: int
5482: main ()
5483: {
5484: return dnet_ntoa ();
5485: ;
5486: return 0;
5487: }
5488: _ACEOF
5489: if ac_fn_c_try_link "$LINENO"; then :
5490: ac_cv_lib_dnet_dnet_ntoa=yes
5491: else
5492: ac_cv_lib_dnet_dnet_ntoa=no
5493: fi
5494: rm -f core conftest.err conftest.$ac_objext \
5495: conftest$ac_exeext conftest.$ac_ext
5496: LIBS=$ac_check_lib_save_LIBS
5497: fi
5498: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5499: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5500: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5501: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5502: fi
5503:
5504: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5506: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5507: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5508: $as_echo_n "(cached) " >&6
5509: else
5510: ac_check_lib_save_LIBS=$LIBS
5511: LIBS="-ldnet_stub $LIBS"
5512: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513: /* end confdefs.h. */
5514:
5515: /* Override any GCC internal prototype to avoid an error.
5516: Use char because int might match the return type of a GCC
5517: builtin and then its argument prototype would still apply. */
5518: #ifdef __cplusplus
5519: extern "C"
5520: #endif
5521: char dnet_ntoa ();
5522: int
5523: main ()
5524: {
5525: return dnet_ntoa ();
5526: ;
5527: return 0;
5528: }
5529: _ACEOF
5530: if ac_fn_c_try_link "$LINENO"; then :
5531: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5532: else
5533: ac_cv_lib_dnet_stub_dnet_ntoa=no
5534: fi
5535: rm -f core conftest.err conftest.$ac_objext \
5536: conftest$ac_exeext conftest.$ac_ext
5537: LIBS=$ac_check_lib_save_LIBS
5538: fi
5539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5540: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5541: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5542: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5543: fi
5544:
5545: fi
5546: fi
5547: rm -f core conftest.err conftest.$ac_objext \
5548: conftest$ac_exeext conftest.$ac_ext
5549: LIBS="$ac_xsave_LIBS"
5550:
5551: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5552: # to get the SysV transport functions.
5553: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5554: # needs -lnsl.
5555: # The nsl library prevents programs from opening the X display
5556: # on Irix 5.2, according to T.E. Dickey.
5557: # The functions gethostbyname, getservbyname, and inet_addr are
5558: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5559: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5560: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5561:
5562: fi
5563:
5564: if test $ac_cv_func_gethostbyname = no; then
5565: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5566: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5567: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5568: $as_echo_n "(cached) " >&6
5569: else
5570: ac_check_lib_save_LIBS=$LIBS
5571: LIBS="-lnsl $LIBS"
5572: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573: /* end confdefs.h. */
5574:
5575: /* Override any GCC internal prototype to avoid an error.
5576: Use char because int might match the return type of a GCC
5577: builtin and then its argument prototype would still apply. */
5578: #ifdef __cplusplus
5579: extern "C"
5580: #endif
5581: char gethostbyname ();
5582: int
5583: main ()
5584: {
5585: return gethostbyname ();
5586: ;
5587: return 0;
5588: }
5589: _ACEOF
5590: if ac_fn_c_try_link "$LINENO"; then :
5591: ac_cv_lib_nsl_gethostbyname=yes
5592: else
5593: ac_cv_lib_nsl_gethostbyname=no
5594: fi
5595: rm -f core conftest.err conftest.$ac_objext \
5596: conftest$ac_exeext conftest.$ac_ext
5597: LIBS=$ac_check_lib_save_LIBS
5598: fi
5599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5600: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5601: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5602: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5603: fi
5604:
5605: if test $ac_cv_lib_nsl_gethostbyname = no; then
5606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5607: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5608: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5609: $as_echo_n "(cached) " >&6
5610: else
5611: ac_check_lib_save_LIBS=$LIBS
5612: LIBS="-lbsd $LIBS"
5613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614: /* end confdefs.h. */
5615:
5616: /* Override any GCC internal prototype to avoid an error.
5617: Use char because int might match the return type of a GCC
5618: builtin and then its argument prototype would still apply. */
5619: #ifdef __cplusplus
5620: extern "C"
5621: #endif
5622: char gethostbyname ();
5623: int
5624: main ()
5625: {
5626: return gethostbyname ();
5627: ;
5628: return 0;
5629: }
5630: _ACEOF
5631: if ac_fn_c_try_link "$LINENO"; then :
5632: ac_cv_lib_bsd_gethostbyname=yes
5633: else
5634: ac_cv_lib_bsd_gethostbyname=no
5635: fi
5636: rm -f core conftest.err conftest.$ac_objext \
5637: conftest$ac_exeext conftest.$ac_ext
5638: LIBS=$ac_check_lib_save_LIBS
5639: fi
5640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5641: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5642: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5643: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5644: fi
5645:
5646: fi
5647: fi
5648:
5649: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5650: # socket/setsockopt and other routines are undefined under SCO ODT
5651: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5652: # on later versions), says Simon Leinen: it contains gethostby*
5653: # variants that don't use the name server (or something). -lsocket
5654: # must be given before -lnsl if both are needed. We assume that
5655: # if connect needs -lnsl, so does gethostbyname.
5656: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5657: if test "x$ac_cv_func_connect" = xyes; then :
5658:
5659: fi
5660:
5661: if test $ac_cv_func_connect = no; then
5662: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5663: $as_echo_n "checking for connect in -lsocket... " >&6; }
5664: if ${ac_cv_lib_socket_connect+:} false; then :
5665: $as_echo_n "(cached) " >&6
5666: else
5667: ac_check_lib_save_LIBS=$LIBS
5668: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670: /* end confdefs.h. */
5671:
5672: /* Override any GCC internal prototype to avoid an error.
5673: Use char because int might match the return type of a GCC
5674: builtin and then its argument prototype would still apply. */
5675: #ifdef __cplusplus
5676: extern "C"
5677: #endif
5678: char connect ();
5679: int
5680: main ()
5681: {
5682: return connect ();
5683: ;
5684: return 0;
5685: }
5686: _ACEOF
5687: if ac_fn_c_try_link "$LINENO"; then :
5688: ac_cv_lib_socket_connect=yes
5689: else
5690: ac_cv_lib_socket_connect=no
5691: fi
5692: rm -f core conftest.err conftest.$ac_objext \
5693: conftest$ac_exeext conftest.$ac_ext
5694: LIBS=$ac_check_lib_save_LIBS
5695: fi
5696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5697: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5698: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5699: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5700: fi
5701:
5702: fi
5703:
5704: # Guillermo Gomez says -lposix is necessary on A/UX.
5705: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5706: if test "x$ac_cv_func_remove" = xyes; then :
5707:
5708: fi
5709:
5710: if test $ac_cv_func_remove = no; then
5711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5712: $as_echo_n "checking for remove in -lposix... " >&6; }
5713: if ${ac_cv_lib_posix_remove+:} false; then :
5714: $as_echo_n "(cached) " >&6
5715: else
5716: ac_check_lib_save_LIBS=$LIBS
5717: LIBS="-lposix $LIBS"
5718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5719: /* end confdefs.h. */
5720:
5721: /* Override any GCC internal prototype to avoid an error.
5722: Use char because int might match the return type of a GCC
5723: builtin and then its argument prototype would still apply. */
5724: #ifdef __cplusplus
5725: extern "C"
5726: #endif
5727: char remove ();
5728: int
5729: main ()
5730: {
5731: return remove ();
5732: ;
5733: return 0;
5734: }
5735: _ACEOF
5736: if ac_fn_c_try_link "$LINENO"; then :
5737: ac_cv_lib_posix_remove=yes
5738: else
5739: ac_cv_lib_posix_remove=no
5740: fi
5741: rm -f core conftest.err conftest.$ac_objext \
5742: conftest$ac_exeext conftest.$ac_ext
5743: LIBS=$ac_check_lib_save_LIBS
5744: fi
5745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5746: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5747: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5748: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5749: fi
5750:
5751: fi
5752:
5753: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5754: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5755: if test "x$ac_cv_func_shmat" = xyes; then :
5756:
5757: fi
5758:
5759: if test $ac_cv_func_shmat = no; then
5760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5761: $as_echo_n "checking for shmat in -lipc... " >&6; }
5762: if ${ac_cv_lib_ipc_shmat+:} false; then :
5763: $as_echo_n "(cached) " >&6
5764: else
5765: ac_check_lib_save_LIBS=$LIBS
5766: LIBS="-lipc $LIBS"
5767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768: /* end confdefs.h. */
5769:
5770: /* Override any GCC internal prototype to avoid an error.
5771: Use char because int might match the return type of a GCC
5772: builtin and then its argument prototype would still apply. */
5773: #ifdef __cplusplus
5774: extern "C"
5775: #endif
5776: char shmat ();
5777: int
5778: main ()
5779: {
5780: return shmat ();
5781: ;
5782: return 0;
5783: }
5784: _ACEOF
5785: if ac_fn_c_try_link "$LINENO"; then :
5786: ac_cv_lib_ipc_shmat=yes
5787: else
5788: ac_cv_lib_ipc_shmat=no
5789: fi
5790: rm -f core conftest.err conftest.$ac_objext \
5791: conftest$ac_exeext conftest.$ac_ext
5792: LIBS=$ac_check_lib_save_LIBS
5793: fi
5794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5795: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5796: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5797: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5798: fi
5799:
5800: fi
5801: fi
5802:
5803: # Check for libraries that X11R6 Xt/Xaw programs need.
5804: ac_save_LDFLAGS=$LDFLAGS
5805: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5806: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5807: # check for ICE first), but we must link in the order -lSM -lICE or
5808: # we get undefined symbols. So assume we have SM if we have ICE.
5809: # These have to be linked with before -lX11, unlike the other
5810: # libraries we check for below, so use a different variable.
5811: # John Interrante, Karl Berry
5812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5813: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5814: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5815: $as_echo_n "(cached) " >&6
5816: else
5817: ac_check_lib_save_LIBS=$LIBS
5818: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5819: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820: /* end confdefs.h. */
5821:
5822: /* Override any GCC internal prototype to avoid an error.
5823: Use char because int might match the return type of a GCC
5824: builtin and then its argument prototype would still apply. */
5825: #ifdef __cplusplus
5826: extern "C"
5827: #endif
5828: char IceConnectionNumber ();
5829: int
5830: main ()
5831: {
5832: return IceConnectionNumber ();
5833: ;
5834: return 0;
5835: }
5836: _ACEOF
5837: if ac_fn_c_try_link "$LINENO"; then :
5838: ac_cv_lib_ICE_IceConnectionNumber=yes
5839: else
5840: ac_cv_lib_ICE_IceConnectionNumber=no
5841: fi
5842: rm -f core conftest.err conftest.$ac_objext \
5843: conftest$ac_exeext conftest.$ac_ext
5844: LIBS=$ac_check_lib_save_LIBS
5845: fi
5846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5847: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5848: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5849: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5850: fi
5851:
5852: LDFLAGS=$ac_save_LDFLAGS
5853:
5854: fi
5855:
5856:
5857: if test "$ac_x_includes" != "no"; then
5858: if test x"$ac_x_includes" != x; then
5859: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5860: includeX="-I$ac_x_includes"
5861: fi
5862: fi
5863: if test "$ac_x_libraries" != "no"; then
5864: if test x"$ac_x_libraries" != x; then
5865: X_LIBS="$X_LIBS -L$ac_x_libraries"
5866: fi
5867: fi
5868:
5869: # Check whether --enable-optimization was given.
5870: if test "${enable_optimization+set}" = set; then :
5871: enableval=$enable_optimization;
5872: if test "$enableval" = "no"; then
5873: CFLAGS=
5874: FFLAGS=
5875: CXXFLAGS=
5876: FCFLAGS=
5877: else
5878: CFLAGS="$CFLAGS $enable_optimization"
5879: FFLAGS="$FFLAGS $enable_optimization"
5880: FCFLAGS="$FCFLAGS $enable_optimization"
5881: fi
5882: else
5883:
5884: CFLAGS="$CFLAGS $OPTIMISATION_C"
5885: FFLAGS="$FFLAGS $OPTIMISATION_F"
5886: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5887:
5888:
5889: fi
5890:
5891:
5892: # Check whether --enable-sysv-semaphores was given.
5893: if test "${enable_sysv_semaphores+set}" = set; then :
5894: enableval=$enable_sysv_semaphores;
5895: if test "$enableval" = "no"; then
5896: IPCS_SYSV=no
5897: else
5898: IPCS_SYSV=yes
5899: fi
5900: else
5901: IPCS_SYSV=no
5902: fi
5903:
5904:
5905: # Check whether --enable-full-static was given.
5906: if test "${enable_full_static+set}" = set; then :
5907: enableval=$enable_full_static;
5908: if test "$enableval" = "no"; then
5909: STATIC=no
5910: else
5911: STATIC=yes
5912: fi
5913: else
5914: STATIC=no
5915: fi
5916:
5917:
5918: # Check whether --enable-final-encoding was given.
5919: if test "${enable_final_encoding+set}" = set; then :
5920: enableval=$enable_final_encoding;
5921: if test "$enableval" = "no"; then
5922: FINAL_ENCODING="\$(shell locale charmap | \
5923: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5924: FORCED_FINAL_ENCODING=0
5925: else
5926: FINAL_ENCODING="$enable_final_encoding"
5927: FORCED_FINAL_ENCODING=1
5928: fi
5929: else
5930:
5931: FORCED_FINAL_ENCODING=0
5932: FINAL_ENCODING="\$(shell locale charmap | \
5933: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5934: fi
5935:
5936:
5937: # Check whether --enable-tex was given.
5938: if test "${enable_tex+set}" = set; then :
5939: enableval=$enable_tex;
5940: if test "$enableval" = "no"; then
5941: TEX_SUPPORT=no
5942: else
5943: TEX_SUPPORT=yes
5944: fi
5945: else
5946: TEX_SUPPORT=guessed
5947: fi
5948:
5949:
5950: # Check whether --enable-vim was given.
5951: if test "${enable_vim+set}" = set; then :
5952: enableval=$enable_vim;
5953: if test "$enableval" = "no"; then
5954: VIM_SUPPORT=no
5955: else
5956: VIM_SUPPORT=yes
5957: fi
5958: else
5959: VIM_SUPPORT=guessed
5960: fi
5961:
5962:
5963: # Check whether --enable-embedded-gnuplot was given.
5964: if test "${enable_embedded_gnuplot+set}" = set; then :
5965: enableval=$enable_embedded_gnuplot;
5966: if test "$enableval" = "no"; then
5967: MYGNUPLOT=no
5968: else
5969: MYGNUPLOT=yes
5970: fi
5971: else
5972:
5973: MYGNUPLOT=yes
5974: fi
5975:
5976:
5977: # Check whether --enable-gnuplot was given.
5978: if test "${enable_gnuplot+set}" = set; then :
5979: enableval=$enable_gnuplot;
5980: if test "$enableval" = "no"; then
5981: GNUPLOT_SUPPORT=no
5982: MYGNUPLOT=no
5983: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5984: else
5985: GNUPLOT_SUPPORT=yes
5986: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5987: fi
5988: else
5989:
5990: if test "$MYGNUPLOT" = "yes"; then
5991: GNUPLOT_SUPPORT=yes
5992: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5993: else
5994: GNUPLOT_SUPPORT=guessed
5995: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5996: fi
5997: fi
5998:
5999:
6000: # Check whether --enable-motif was given.
6001: if test "${enable_motif+set}" = set; then :
6002: enableval=$enable_motif;
6003: if test "$enableval" = "no"; then
6004: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6005: else
6006: CFLAGS_ORIG=$CFLAGS
6007: LIBS_ORIG=$LIBS
6008: CFLAGS="$CFLAGS $X_CFLAGS"
6009: LIBS="$LIB $X_LIBS"
6010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6011: $as_echo_n "checking for main in -lXm... " >&6; }
6012: if ${ac_cv_lib_Xm_main+:} false; then :
6013: $as_echo_n "(cached) " >&6
6014: else
6015: ac_check_lib_save_LIBS=$LIBS
6016: LIBS="-lXm $LIBS"
6017: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018: /* end confdefs.h. */
6019:
6020:
6021: int
6022: main ()
6023: {
6024: return main ();
6025: ;
6026: return 0;
6027: }
6028: _ACEOF
6029: if ac_fn_c_try_link "$LINENO"; then :
6030: ac_cv_lib_Xm_main=yes
6031: else
6032: ac_cv_lib_Xm_main=no
6033: fi
6034: rm -f core conftest.err conftest.$ac_objext \
6035: conftest$ac_exeext conftest.$ac_ext
6036: LIBS=$ac_check_lib_save_LIBS
6037: fi
6038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6039: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6040: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6041: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6042: else
6043: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6044: fi
6045:
6046: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6047: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
6048: Motif flag is disabled.
6049: " >&5
6050: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
6051: Motif flag is disabled.
6052: " >&2;}
6053: fi
6054: LIBS=$LIBS_ORIG
6055: CFLAGS=$CFLAGS_ORIG
6056: fi
6057: else
6058: MOTIF_SUPPORT=guessed
6059: fi
6060:
6061:
6062: # Check whether --enable-experimental was given.
6063: if test "${enable_experimental+set}" = set; then :
6064: enableval=$enable_experimental;
6065: if test "$enableval" = "no"; then
6066: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6067: else
6068: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6069: fi
6070: else
6071: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6072: fi
6073:
6074:
6075: # Check whether --enable-debug was given.
6076: if test "${enable_debug+set}" = set; then :
6077: enableval=$enable_debug;
6078: if test "$enableval" = "no"; then
6079: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6080: else
6081: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6082: fi
6083: else
6084: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6085: fi
6086:
6087:
6088: # Check whether --enable-profile was given.
6089: if test "${enable_profile+set}" = set; then :
6090: enableval=$enable_profile;
6091: if test "$enableval" = "no"; then
6092: PROFILAGE=""
6093: else
6094: PROFILAGE="-pg"
6095: fi
6096: else
6097: PROFILAGE=""
6098: fi
6099:
6100:
6101:
6102:
6103: if test ! -d tools; then
6104: mkdir tools
6105: fi
6106: if test ! -d "$srcdir"/tools/$NCURSES; then
6107: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6108: (cd "$srcdir/tools" && tar -xf -)
6109: (cd "$srcdir/tools/"$NCURSES && \
6110: for i in ../$NCURSES*.patch.gz;
6111: do gunzip -c $i | patch -p1;
6112: done);
6113: fi
6114: if test ! -d "$srcdir"/tools/$READLINE; then
6115: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6116: (cd "$srcdir/tools" && tar -xf -)
6117: fi
6118: if test ! -d "$srcdir"/tools/$UNITS; then
6119: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6120: (cd "$srcdir/tools" && tar -xf -)
6121: fi
6122: if test ! -d "$srcdir"/tools/$GSL; then
6123: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6124: (cd "$srcdir/tools" && tar -xf -)
6125: if test $(uname) = "OS/2"; then
6126: (cd "$srcdir"/tools/$GSL; \
6127: TMP=$(mktemp tmp.XXXXXXXXXX); \
6128: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6129: \mv -f $TMP ltmain.sh)
6130: fi
6131: fi
6132: if test ! -d "$srcdir"/tools/$GPP; then
6133: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6134: (cd "$srcdir/tools" && tar -xf -)
6135: fi
6136: if test ! -d "$srcdir"/tools/$FILE; then
6137: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6138: (cd "$srcdir/tools" && tar -xf - )
6139: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6140: fi
6141: if test ! -d "$srcdir"/tools/$ICONV; then
6142: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6143: (cd "$srcdir/tools" && tar -xf -)
6144: fi
6145: if test ! -d "$srcdir"/tools/$SQLITE; then
6146: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6147: (cd "$srcdir/tools" && tar -xf -)
6148: fi
6149: if test ! -d tools/$OPENSSL; then
6150: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6151: (cd tools && tar -xf -)
6152: fi
6153: if test ! -d rplcas; then
6154: mkdir rplcas
6155: fi
6156: if test ! -d "$srcdir"/rplcas/$GMP; then
6157: gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
6158: (cd "$srcdir/rplcas" && tar -xf -)
6159: fi
6160: if test ! -d "$srcdir"/rplcas/$MPFR; then
6161: gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
6162: (cd "$srcdir/rplcas" && tar -xf -)
6163: fi
6164: if test ! -d rplcas/$NTL; then
6165: gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
6166: (cd rplcas && tar -xf -)
6167: fi
6168: if test ! -d rplcas/$COCOA; then
6169: gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
6170: (cd rplcas && tar -xf -)
6171: fi
6172: if test ! -d rplcas/$PARI; then
6173: gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
6174: (cd rplcas && tar -xf -)
6175: fi
6176: if test ! -d "$srcdir"/rplcas/$GIAC; then
6177: gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
6178: (cd "$srcdir/rplcas" && tar -xf -)
6179: fi
6180:
6181:
6182:
6183: # Check whether --enable-final-run-path was given.
6184: if test "${enable_final_run_path+set}" = set; then :
6185: enableval=$enable_final_run_path;
6186: if test "x$enable_final_run_path" = "x"; then
6187: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6188: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6189: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6190: else
6191: RUNPATH="$enable_final_run_path"
6192: fi
6193:
6194: else
6195: RUNPATH="\${prefix}"
6196:
6197: fi
6198:
6199:
6200:
6201:
6202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6203: $as_echo_n "checking whether ln -s works... " >&6; }
6204: LN_S=$as_ln_s
6205: if test "$LN_S" = "ln -s"; then
6206: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6207: $as_echo "yes" >&6; }
6208: else
6209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6210: $as_echo "no, using $LN_S" >&6; }
6211: fi
6212:
6213: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6214: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6215: set x ${MAKE-make}
6216: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6217: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6218: $as_echo_n "(cached) " >&6
6219: else
6220: cat >conftest.make <<\_ACEOF
6221: SHELL = /bin/sh
6222: all:
6223: @echo '@@@%%%=$(MAKE)=@@@%%%'
6224: _ACEOF
6225: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6226: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6227: *@@@%%%=?*=@@@%%%*)
6228: eval ac_cv_prog_make_${ac_make}_set=yes;;
6229: *)
6230: eval ac_cv_prog_make_${ac_make}_set=no;;
6231: esac
6232: rm -f conftest.make
6233: fi
6234: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6236: $as_echo "yes" >&6; }
6237: SET_MAKE=
6238: else
6239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240: $as_echo "no" >&6; }
6241: SET_MAKE="MAKE=${MAKE-make}"
6242: fi
6243:
6244: if test -n "$ac_tool_prefix"; then
6245: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6246: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248: $as_echo_n "checking for $ac_word... " >&6; }
6249: if ${ac_cv_prog_RANLIB+:} false; then :
6250: $as_echo_n "(cached) " >&6
6251: else
6252: if test -n "$RANLIB"; then
6253: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6254: else
6255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256: for as_dir in $PATH
6257: do
6258: IFS=$as_save_IFS
6259: test -z "$as_dir" && as_dir=.
6260: for ac_exec_ext in '' $ac_executable_extensions; do
6261: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6263: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264: break 2
6265: fi
6266: done
6267: done
6268: IFS=$as_save_IFS
6269:
6270: fi
6271: fi
6272: RANLIB=$ac_cv_prog_RANLIB
6273: if test -n "$RANLIB"; then
6274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6275: $as_echo "$RANLIB" >&6; }
6276: else
6277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278: $as_echo "no" >&6; }
6279: fi
6280:
6281:
6282: fi
6283: if test -z "$ac_cv_prog_RANLIB"; then
6284: ac_ct_RANLIB=$RANLIB
6285: # Extract the first word of "ranlib", so it can be a program name with args.
6286: set dummy ranlib; ac_word=$2
6287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288: $as_echo_n "checking for $ac_word... " >&6; }
6289: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6290: $as_echo_n "(cached) " >&6
6291: else
6292: if test -n "$ac_ct_RANLIB"; then
6293: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6294: else
6295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296: for as_dir in $PATH
6297: do
6298: IFS=$as_save_IFS
6299: test -z "$as_dir" && as_dir=.
6300: for ac_exec_ext in '' $ac_executable_extensions; do
6301: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302: ac_cv_prog_ac_ct_RANLIB="ranlib"
6303: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304: break 2
6305: fi
6306: done
6307: done
6308: IFS=$as_save_IFS
6309:
6310: fi
6311: fi
6312: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6313: if test -n "$ac_ct_RANLIB"; then
6314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6315: $as_echo "$ac_ct_RANLIB" >&6; }
6316: else
6317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318: $as_echo "no" >&6; }
6319: fi
6320:
6321: if test "x$ac_ct_RANLIB" = x; then
6322: RANLIB=":"
6323: else
6324: case $cross_compiling:$ac_tool_warned in
6325: yes:)
6326: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6327: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6328: ac_tool_warned=yes ;;
6329: esac
6330: RANLIB=$ac_ct_RANLIB
6331: fi
6332: else
6333: RANLIB="$ac_cv_prog_RANLIB"
6334: fi
6335:
6336:
6337: # Extract the first word of "nawk", so it can be a program name with args.
6338: set dummy nawk; ac_word=$2
6339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340: $as_echo_n "checking for $ac_word... " >&6; }
6341: if ${ac_cv_prog_AWK+:} false; then :
6342: $as_echo_n "(cached) " >&6
6343: else
6344: if test -n "$AWK"; then
6345: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6346: else
6347: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348: for as_dir in $PATH
6349: do
6350: IFS=$as_save_IFS
6351: test -z "$as_dir" && as_dir=.
6352: for ac_exec_ext in '' $ac_executable_extensions; do
6353: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354: ac_cv_prog_AWK="yes"
6355: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356: break 2
6357: fi
6358: done
6359: done
6360: IFS=$as_save_IFS
6361:
6362: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6363: fi
6364: fi
6365: AWK=$ac_cv_prog_AWK
6366: if test -n "$AWK"; then
6367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6368: $as_echo "$AWK" >&6; }
6369: else
6370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371: $as_echo "no" >&6; }
6372: fi
6373:
6374:
6375: if test "$AWK" = no; then
6376: # Extract the first word of "gawk", so it can be a program name with args.
6377: set dummy gawk; ac_word=$2
6378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379: $as_echo_n "checking for $ac_word... " >&6; }
6380: if ${ac_cv_prog_AWK+:} false; then :
6381: $as_echo_n "(cached) " >&6
6382: else
6383: if test -n "$AWK"; then
6384: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6385: else
6386: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387: for as_dir in $PATH
6388: do
6389: IFS=$as_save_IFS
6390: test -z "$as_dir" && as_dir=.
6391: for ac_exec_ext in '' $ac_executable_extensions; do
6392: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393: ac_cv_prog_AWK="yes"
6394: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395: break 2
6396: fi
6397: done
6398: done
6399: IFS=$as_save_IFS
6400:
6401: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6402: fi
6403: fi
6404: AWK=$ac_cv_prog_AWK
6405: if test -n "$AWK"; then
6406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6407: $as_echo "$AWK" >&6; }
6408: else
6409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410: $as_echo "no" >&6; }
6411: fi
6412:
6413:
6414: if test "$AWK" = no; then
6415: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6416: fi
6417: fi
6418:
6419: # Extract the first word of "sed", so it can be a program name with args.
6420: set dummy sed; ac_word=$2
6421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422: $as_echo_n "checking for $ac_word... " >&6; }
6423: if ${ac_cv_prog_SED+:} false; then :
6424: $as_echo_n "(cached) " >&6
6425: else
6426: if test -n "$SED"; then
6427: ac_cv_prog_SED="$SED" # Let the user override the test.
6428: else
6429: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430: for as_dir in $PATH
6431: do
6432: IFS=$as_save_IFS
6433: test -z "$as_dir" && as_dir=.
6434: for ac_exec_ext in '' $ac_executable_extensions; do
6435: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436: ac_cv_prog_SED="yes"
6437: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438: break 2
6439: fi
6440: done
6441: done
6442: IFS=$as_save_IFS
6443:
6444: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6445: fi
6446: fi
6447: SED=$ac_cv_prog_SED
6448: if test -n "$SED"; then
6449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6450: $as_echo "$SED" >&6; }
6451: else
6452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453: $as_echo "no" >&6; }
6454: fi
6455:
6456:
6457: if test "$SED" = no; then
6458: as_fn_error $? "Can not find sed !" "$LINENO" 5
6459: fi
6460:
6461: if test "$TEX_SUPPORT" = guessed; then
6462: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6463:
6464: # Extract the first word of "tex", so it can be a program name with args.
6465: set dummy tex; ac_word=$2
6466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467: $as_echo_n "checking for $ac_word... " >&6; }
6468: if ${ac_cv_prog_TEX+:} false; then :
6469: $as_echo_n "(cached) " >&6
6470: else
6471: if test -n "$TEX"; then
6472: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6473: else
6474: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475: for as_dir in $PATH
6476: do
6477: IFS=$as_save_IFS
6478: test -z "$as_dir" && as_dir=.
6479: for ac_exec_ext in '' $ac_executable_extensions; do
6480: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6481: ac_cv_prog_TEX="yes"
6482: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483: break 2
6484: fi
6485: done
6486: done
6487: IFS=$as_save_IFS
6488:
6489: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6490: fi
6491: fi
6492: TEX=$ac_cv_prog_TEX
6493: if test -n "$TEX"; then
6494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6495: $as_echo "$TEX" >&6; }
6496: else
6497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498: $as_echo "no" >&6; }
6499: fi
6500:
6501:
6502: if test "$TEX" = no; then
6503: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6504: Download at http://tex.loria.fr/
6505: " >&5
6506: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6507: Download at http://tex.loria.fr/
6508: " >&2;}
6509: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6510: fi
6511:
6512: # Extract the first word of "latex", so it can be a program name with args.
6513: set dummy latex; ac_word=$2
6514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515: $as_echo_n "checking for $ac_word... " >&6; }
6516: if ${ac_cv_prog_LATEX+:} false; then :
6517: $as_echo_n "(cached) " >&6
6518: else
6519: if test -n "$LATEX"; then
6520: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6521: else
6522: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523: for as_dir in $PATH
6524: do
6525: IFS=$as_save_IFS
6526: test -z "$as_dir" && as_dir=.
6527: for ac_exec_ext in '' $ac_executable_extensions; do
6528: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529: ac_cv_prog_LATEX="yes"
6530: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531: break 2
6532: fi
6533: done
6534: done
6535: IFS=$as_save_IFS
6536:
6537: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6538: fi
6539: fi
6540: LATEX=$ac_cv_prog_LATEX
6541: if test -n "$LATEX"; then
6542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6543: $as_echo "$LATEX" >&6; }
6544: else
6545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546: $as_echo "no" >&6; }
6547: fi
6548:
6549:
6550: if test "$LATEX" = no; then
6551: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6552: Download at http://tex.loria.fr/
6553: " >&5
6554: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6555: Download at http://tex.loria.fr/
6556: " >&2;}
6557: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6558: fi
6559:
6560: # Extract the first word of "dvips", so it can be a program name with args.
6561: set dummy dvips; ac_word=$2
6562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563: $as_echo_n "checking for $ac_word... " >&6; }
6564: if ${ac_cv_prog_DVIPS+:} false; then :
6565: $as_echo_n "(cached) " >&6
6566: else
6567: if test -n "$DVIPS"; then
6568: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6569: else
6570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571: for as_dir in $PATH
6572: do
6573: IFS=$as_save_IFS
6574: test -z "$as_dir" && as_dir=.
6575: for ac_exec_ext in '' $ac_executable_extensions; do
6576: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577: ac_cv_prog_DVIPS="yes"
6578: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579: break 2
6580: fi
6581: done
6582: done
6583: IFS=$as_save_IFS
6584:
6585: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6586: fi
6587: fi
6588: DVIPS=$ac_cv_prog_DVIPS
6589: if test -n "$DVIPS"; then
6590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6591: $as_echo "$DVIPS" >&6; }
6592: else
6593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594: $as_echo "no" >&6; }
6595: fi
6596:
6597:
6598: if test "$DVIPS" = no; then
6599: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6600: Download at http://tex.loria.fr/
6601: " >&5
6602: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6603: Download at http://tex.loria.fr/
6604: " >&2;}
6605: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6606: fi
6607:
6608: # Extract the first word of "gs", so it can be a program name with args.
6609: set dummy gs; ac_word=$2
6610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611: $as_echo_n "checking for $ac_word... " >&6; }
6612: if ${ac_cv_prog_GS+:} false; then :
6613: $as_echo_n "(cached) " >&6
6614: else
6615: if test -n "$GS"; then
6616: ac_cv_prog_GS="$GS" # Let the user override the test.
6617: else
6618: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619: for as_dir in $PATH
6620: do
6621: IFS=$as_save_IFS
6622: test -z "$as_dir" && as_dir=.
6623: for ac_exec_ext in '' $ac_executable_extensions; do
6624: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625: ac_cv_prog_GS="yes"
6626: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627: break 2
6628: fi
6629: done
6630: done
6631: IFS=$as_save_IFS
6632:
6633: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6634: fi
6635: fi
6636: GS=$ac_cv_prog_GS
6637: if test -n "$GS"; then
6638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6639: $as_echo "$GS" >&6; }
6640: else
6641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642: $as_echo "no" >&6; }
6643: fi
6644:
6645:
6646: if test "$GS" = no; then
6647: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6648: Download at http://ftp.lip6.fr/
6649: " >&5
6650: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6651: Download at http://ftp.lip6.fr/
6652: " >&2;}
6653: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6654: fi
6655:
6656: # Extract the first word of "gv", so it can be a program name with args.
6657: set dummy gv; ac_word=$2
6658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659: $as_echo_n "checking for $ac_word... " >&6; }
6660: if ${ac_cv_prog_GV+:} false; then :
6661: $as_echo_n "(cached) " >&6
6662: else
6663: if test -n "$GV"; then
6664: ac_cv_prog_GV="$GV" # Let the user override the test.
6665: else
6666: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667: for as_dir in $PATH
6668: do
6669: IFS=$as_save_IFS
6670: test -z "$as_dir" && as_dir=.
6671: for ac_exec_ext in '' $ac_executable_extensions; do
6672: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673: ac_cv_prog_GV="yes"
6674: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675: break 2
6676: fi
6677: done
6678: done
6679: IFS=$as_save_IFS
6680:
6681: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6682: fi
6683: fi
6684: GV=$ac_cv_prog_GV
6685: if test -n "$GV"; then
6686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6687: $as_echo "$GV" >&6; }
6688: else
6689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690: $as_echo "no" >&6; }
6691: fi
6692:
6693:
6694: if test "$GV" = no; then
6695: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6696: Download at http://ftp.lip6.fr/
6697: " >&5
6698: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6699: Download at http://ftp.lip6.fr/
6700: " >&2;}
6701: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6702: fi
6703: else
6704: if test "$TEX_SUPPORT" = no; then
6705: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6706: else
6707: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6708: fi
6709: fi
6710:
6711: if test "$GNUPLOT_SUPPORT" = guessed; then
6712: # Extract the first word of "gnuplot", so it can be a program name with args.
6713: set dummy gnuplot; ac_word=$2
6714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715: $as_echo_n "checking for $ac_word... " >&6; }
6716: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6717: $as_echo_n "(cached) " >&6
6718: else
6719: if test -n "$GNUPLOT_P"; then
6720: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6721: else
6722: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723: for as_dir in $PATH
6724: do
6725: IFS=$as_save_IFS
6726: test -z "$as_dir" && as_dir=.
6727: for ac_exec_ext in '' $ac_executable_extensions; do
6728: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6729: ac_cv_prog_GNUPLOT_P="yes"
6730: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731: break 2
6732: fi
6733: done
6734: done
6735: IFS=$as_save_IFS
6736:
6737: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6738: fi
6739: fi
6740: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6741: if test -n "$GNUPLOT_P"; then
6742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6743: $as_echo "$GNUPLOT_P" >&6; }
6744: else
6745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746: $as_echo "no" >&6; }
6747: fi
6748:
6749:
6750: if test "$GNUPLOT_P" = no; then
6751: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6752: Download at http://www.gnuplot.vt.edu/
6753: " >&5
6754: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6755: Download at http://www.gnuplot.vt.edu/
6756: " >&2;}
6757: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6758: else
6759: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6760: fi
6761: else
6762: if test "$GNUPLOT_SUPPORT" = no; then
6763: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6764: else
6765: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6766: fi
6767: fi
6768:
6769: if test "$VIM_SUPPORT" = guessed; then
6770: # Extract the first word of "vim", so it can be a program name with args.
6771: set dummy vim; ac_word=$2
6772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773: $as_echo_n "checking for $ac_word... " >&6; }
6774: if ${ac_cv_prog_VIM+:} false; then :
6775: $as_echo_n "(cached) " >&6
6776: else
6777: if test -n "$VIM"; then
6778: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6779: else
6780: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781: for as_dir in $PATH
6782: do
6783: IFS=$as_save_IFS
6784: test -z "$as_dir" && as_dir=.
6785: for ac_exec_ext in '' $ac_executable_extensions; do
6786: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787: ac_cv_prog_VIM="yes"
6788: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789: break 2
6790: fi
6791: done
6792: done
6793: IFS=$as_save_IFS
6794:
6795: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6796: fi
6797: fi
6798: VIM=$ac_cv_prog_VIM
6799: if test -n "$VIM"; then
6800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6801: $as_echo "$VIM" >&6; }
6802: else
6803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804: $as_echo "no" >&6; }
6805: fi
6806:
6807:
6808: if test "$VIM" = no; then
6809: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6810: Download at http://www.vim.org/
6811: " >&5
6812: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6813: Download at http://www.vim.org/
6814: " >&2;}
6815: VIM_SUPPORT="-UVIM_SUPPORT"
6816: else
6817: VIM_SUPPORT="-DVIM_SUPPORT"
6818: fi
6819: else
6820: if test "$VIM_SUPPORT" = no; then
6821: VIM_SUPPORT="-UVIM_SUPPORT"
6822: else
6823: VIM_SUPPORT="-DVIM_SUPPORT"
6824: fi
6825: fi
6826:
6827: if test "$MOTIF_SUPPORT" = guessed; then
6828: CFLAGS_ORIG=$CFLAGS
6829: LIBS_ORIG=$LIBS
6830: CFLAGS="$CFLAGS $X_CFLAGS"
6831: LIBS="$LIB $X_LIBS"
6832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6833: $as_echo_n "checking for main in -lXm... " >&6; }
6834: if ${ac_cv_lib_Xm_main+:} false; then :
6835: $as_echo_n "(cached) " >&6
6836: else
6837: ac_check_lib_save_LIBS=$LIBS
6838: LIBS="-lXm $LIBS"
6839: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6840: /* end confdefs.h. */
6841:
6842:
6843: int
6844: main ()
6845: {
6846: return main ();
6847: ;
6848: return 0;
6849: }
6850: _ACEOF
6851: if ac_fn_c_try_link "$LINENO"; then :
6852: ac_cv_lib_Xm_main=yes
6853: else
6854: ac_cv_lib_Xm_main=no
6855: fi
6856: rm -f core conftest.err conftest.$ac_objext \
6857: conftest$ac_exeext conftest.$ac_ext
6858: LIBS=$ac_check_lib_save_LIBS
6859: fi
6860: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6861: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6862: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6863: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6864: else
6865: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6866: fi
6867:
6868: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6869: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6870: Motif flag is disabled.
6871: " >&5
6872: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6873: Motif flag is disabled.
6874: " >&2;}
6875: fi
6876: LIBS=$LIBS_ORIG
6877: CFLAGS=$CFLAGS_ORIG
6878: fi
6879:
6880: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6881: CFLAGS_ORIG=$CFLAGS
6882: LIBS_ORIG=$LIBS
6883: CFLAGS="$CFLAGS $X_CFLAGS"
6884: LIBS="$LIB $X_LIBS"
6885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6886: $as_echo_n "checking for main in -lXpm... " >&6; }
6887: if ${ac_cv_lib_Xpm_main+:} false; then :
6888: $as_echo_n "(cached) " >&6
6889: else
6890: ac_check_lib_save_LIBS=$LIBS
6891: LIBS="-lXpm $LIBS"
6892: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893: /* end confdefs.h. */
6894:
6895:
6896: int
6897: main ()
6898: {
6899: return main ();
6900: ;
6901: return 0;
6902: }
6903: _ACEOF
6904: if ac_fn_c_try_link "$LINENO"; then :
6905: ac_cv_lib_Xpm_main=yes
6906: else
6907: ac_cv_lib_Xpm_main=no
6908: fi
6909: rm -f core conftest.err conftest.$ac_objext \
6910: conftest$ac_exeext conftest.$ac_ext
6911: LIBS=$ac_check_lib_save_LIBS
6912: fi
6913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6914: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6915: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
6916: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6917: else
6918: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6919: fi
6920:
6921: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6922: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6923: else
6924: libX=""
6925: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6926: Motif flag is disabled.
6927: " >&5
6928: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6929: Motif flag is disabled.
6930: " >&2;}
6931: fi
6932: LIBS=$LIBS_ORIG
6933: CFLAGS=$CFLAGS_ORIG
6934: else
6935: libX=""
6936: fi
6937:
6938:
6939:
6940:
6941:
6942:
6943:
6944:
6945:
6946:
6947:
6948: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6949:
6950:
6951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6952: $as_echo_n "checking for main in -lm... " >&6; }
6953: if ${ac_cv_lib_m_main+:} false; then :
6954: $as_echo_n "(cached) " >&6
6955: else
6956: ac_check_lib_save_LIBS=$LIBS
6957: LIBS="-lm $LIBS"
6958: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959: /* end confdefs.h. */
6960:
6961:
6962: int
6963: main ()
6964: {
6965: return main ();
6966: ;
6967: return 0;
6968: }
6969: _ACEOF
6970: if ac_fn_c_try_link "$LINENO"; then :
6971: ac_cv_lib_m_main=yes
6972: else
6973: ac_cv_lib_m_main=no
6974: fi
6975: rm -f core conftest.err conftest.$ac_objext \
6976: conftest$ac_exeext conftest.$ac_ext
6977: LIBS=$ac_check_lib_save_LIBS
6978: fi
6979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
6980: $as_echo "$ac_cv_lib_m_main" >&6; }
6981: if test "x$ac_cv_lib_m_main" = xyes; then :
6982: cat >>confdefs.h <<_ACEOF
6983: #define HAVE_LIBM 1
6984: _ACEOF
6985:
6986: LIBS="-lm $LIBS"
6987:
6988: else
6989: as_fn_error $? "Can not find libm !" "$LINENO" 5
6990: fi
6991:
6992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
6993: $as_echo_n "checking for main in -lpthread... " >&6; }
6994: if ${ac_cv_lib_pthread_main+:} false; then :
6995: $as_echo_n "(cached) " >&6
6996: else
6997: ac_check_lib_save_LIBS=$LIBS
6998: LIBS="-lpthread $LIBS"
6999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000: /* end confdefs.h. */
7001:
7002:
7003: int
7004: main ()
7005: {
7006: return main ();
7007: ;
7008: return 0;
7009: }
7010: _ACEOF
7011: if ac_fn_c_try_link "$LINENO"; then :
7012: ac_cv_lib_pthread_main=yes
7013: else
7014: ac_cv_lib_pthread_main=no
7015: fi
7016: rm -f core conftest.err conftest.$ac_objext \
7017: conftest$ac_exeext conftest.$ac_ext
7018: LIBS=$ac_check_lib_save_LIBS
7019: fi
7020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
7021: $as_echo "$ac_cv_lib_pthread_main" >&6; }
7022: if test "x$ac_cv_lib_pthread_main" = xyes; then :
7023: cat >>confdefs.h <<_ACEOF
7024: #define HAVE_LIBPTHREAD 1
7025: _ACEOF
7026:
7027: LIBS="-lpthread $LIBS"
7028:
7029: else
7030: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
7031: fi
7032:
7033:
7034: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
7035: #include <sys/sem.h>
7036:
7037: "
7038: if test "x$ac_cv_type_union_semun" = xyes; then :
7039: SEMUN=-DUNION_SEMUN
7040: else
7041: SEMUN=-UUNION_SEMUN
7042: fi
7043:
7044:
7045: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7046: #include <sys/types.h>
7047: #include <netinet/in.h>
7048:
7049: "
7050: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7051: IPV6=-DIPV6
7052: else
7053: IPV6=-UIPV6
7054: fi
7055:
7056:
7057: if test "$CYGWIN" != yes; then
7058: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7059: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7060: if ${ac_cv_lib_dl_dlopen+:} false; then :
7061: $as_echo_n "(cached) " >&6
7062: else
7063: ac_check_lib_save_LIBS=$LIBS
7064: LIBS="-ldl $LIBS"
7065: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7066: /* end confdefs.h. */
7067:
7068: /* Override any GCC internal prototype to avoid an error.
7069: Use char because int might match the return type of a GCC
7070: builtin and then its argument prototype would still apply. */
7071: #ifdef __cplusplus
7072: extern "C"
7073: #endif
7074: char dlopen ();
7075: int
7076: main ()
7077: {
7078: return dlopen ();
7079: ;
7080: return 0;
7081: }
7082: _ACEOF
7083: if ac_fn_c_try_link "$LINENO"; then :
7084: ac_cv_lib_dl_dlopen=yes
7085: else
7086: ac_cv_lib_dl_dlopen=no
7087: fi
7088: rm -f core conftest.err conftest.$ac_objext \
7089: conftest$ac_exeext conftest.$ac_ext
7090: LIBS=$ac_check_lib_save_LIBS
7091: fi
7092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7093: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7094: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7095: LIBS="$LIBS -ldl"
7096: else
7097: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7098: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7099: fi
7100:
7101: fi
7102:
7103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7104: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7105: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7106: $as_echo_n "(cached) " >&6
7107: else
7108: ac_check_lib_save_LIBS=$LIBS
7109: LIBS="-lrt $LIBS"
7110: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111: /* end confdefs.h. */
7112:
7113: /* Override any GCC internal prototype to avoid an error.
7114: Use char because int might match the return type of a GCC
7115: builtin and then its argument prototype would still apply. */
7116: #ifdef __cplusplus
7117: extern "C"
7118: #endif
7119: char nanosleep ();
7120: int
7121: main ()
7122: {
7123: return nanosleep ();
7124: ;
7125: return 0;
7126: }
7127: _ACEOF
7128: if ac_fn_c_try_link "$LINENO"; then :
7129: ac_cv_lib_rt_nanosleep=yes
7130: else
7131: ac_cv_lib_rt_nanosleep=no
7132: fi
7133: rm -f core conftest.err conftest.$ac_objext \
7134: conftest$ac_exeext conftest.$ac_ext
7135: LIBS=$ac_check_lib_save_LIBS
7136: fi
7137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7138: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7139: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7140: LIBS="$LIBS -lrt"
7141: else
7142: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7143: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7144: fi
7145:
7146:
7147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7148: $as_echo_n "checking for bind in -lsocket... " >&6; }
7149: if ${ac_cv_lib_socket_bind+:} false; then :
7150: $as_echo_n "(cached) " >&6
7151: else
7152: ac_check_lib_save_LIBS=$LIBS
7153: LIBS="-lsocket $LIBS"
7154: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155: /* end confdefs.h. */
7156:
7157: /* Override any GCC internal prototype to avoid an error.
7158: Use char because int might match the return type of a GCC
7159: builtin and then its argument prototype would still apply. */
7160: #ifdef __cplusplus
7161: extern "C"
7162: #endif
7163: char bind ();
7164: int
7165: main ()
7166: {
7167: return bind ();
7168: ;
7169: return 0;
7170: }
7171: _ACEOF
7172: if ac_fn_c_try_link "$LINENO"; then :
7173: ac_cv_lib_socket_bind=yes
7174: else
7175: ac_cv_lib_socket_bind=no
7176: fi
7177: rm -f core conftest.err conftest.$ac_objext \
7178: conftest$ac_exeext conftest.$ac_ext
7179: LIBS=$ac_check_lib_save_LIBS
7180: fi
7181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7182: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7183: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7184: LIBS="$LIBS -lsocket"
7185: else
7186: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7187: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7188: fi
7189:
7190:
7191: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7192:
7193: # Check whether --with-mysql was given.
7194: if test "${with_mysql+set}" = set; then :
7195: withval=$with_mysql;
7196: else
7197: with_mysql=check
7198: fi
7199:
7200:
7201: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7202: libMySQLinc="-I/usr/include"
7203: libMySQLlib="/usr/lib"
7204:
7205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7206: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7207: saved_CFLAGS="$CFLAGS"
7208: CFLAGS="$CFLAGS -L/$libMySQLinc"
7209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210: /* end confdefs.h. */
7211: #include "mysql.h"
7212: int
7213: main ()
7214: {
7215:
7216: ;
7217: return 0;
7218: }
7219: _ACEOF
7220: if ac_fn_c_try_compile "$LINENO"; then :
7221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7222: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7223: libMySQLinc=$libMySQLinc/mysql
7224: else
7225: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7227: fi
7228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7229: CFLAGS=$saved_CFLAGS
7230:
7231: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7233: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7234: saved_CFLAGS="$CFLAGS"
7235: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7236: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237: /* end confdefs.h. */
7238: #include "mysql.h"
7239: int
7240: main ()
7241: {
7242:
7243: ;
7244: return 0;
7245: }
7246: _ACEOF
7247: if ac_fn_c_try_compile "$LINENO"; then :
7248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7249: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7250: libMySQLinc=$libMySQLinc
7251: else
7252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7254: fi
7255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7256: CFLAGS=$saved_CFLAGS
7257: libMySQLinc=$libMySQLinc/mysql
7258: fi
7259:
7260: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7261: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7262: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7263: saved_CFLAGS="$CFLAGS"
7264: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7265: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266: /* end confdefs.h. */
7267: #include "mysql.h"
7268: int
7269: main ()
7270: {
7271:
7272: ;
7273: return 0;
7274: }
7275: _ACEOF
7276: if ac_fn_c_try_compile "$LINENO"; then :
7277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7278: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7279: libMySQLinc=$libMySQLinc/mysql
7280: else
7281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7283: fi
7284: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285: CFLAGS=$saved_CFLAGS
7286: libMySQLinc=$libMySQLinc/../local/include
7287: libMySQLlib=$libMySQLlib/../local/lib
7288: fi
7289:
7290: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7292: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7293: saved_CFLAGS="$CFLAGS"
7294: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7295: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296: /* end confdefs.h. */
7297: #include "mysql.h"
7298: int
7299: main ()
7300: {
7301:
7302: ;
7303: return 0;
7304: }
7305: _ACEOF
7306: if ac_fn_c_try_compile "$LINENO"; then :
7307: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7308: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7309: libMySQLinc=$libMySQLinc/mysql
7310: else
7311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7313: fi
7314: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7315: CFLAGS=$saved_CFLAGS
7316: libMySQLinc=$libMySQLinc/../local/include/mysql
7317: libMySQLlib=$libMySQLlib/../local/lib
7318: fi
7319: else
7320: if test "x$with_mysql" != xno; then
7321: libMySQLinc="-I$with_mysql/include"
7322: libMySQLlib="$with_mysql/lib"
7323:
7324: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7325: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7326: saved_CFLAGS="$CFLAGS"
7327: CFLAGS="$CFLAGS $libMySQLinc"
7328: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329: /* end confdefs.h. */
7330: #include "mysql.h"
7331: int
7332: main ()
7333: {
7334:
7335: ;
7336: return 0;
7337: }
7338: _ACEOF
7339: if ac_fn_c_try_compile "$LINENO"; then :
7340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7341: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7342: libMySQLinc=$libMySQLinc/mysql
7343: else
7344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7346: fi
7347: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7348: CFLAGS=$saved_CFLAGS
7349:
7350: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7352: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7353: saved_CFLAGS="$CFLAGS"
7354: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7355: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356: /* end confdefs.h. */
7357: #include "mysql.h"
7358: int
7359: main ()
7360: {
7361:
7362: ;
7363: return 0;
7364: }
7365: _ACEOF
7366: if ac_fn_c_try_compile "$LINENO"; then :
7367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7368: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7369: libMySQLinc=$libMySQLinc
7370: else
7371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7373: fi
7374: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375: CFLAGS=$saved_CFLAGS
7376: libMySQLinc=$libMySQLinc/mysql
7377: fi
7378: else
7379: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7380: fi
7381: fi
7382:
7383: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7384: MYSQL_LIB=no
7385:
7386: if test $MYSQL_LIB = no; then
7387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7388: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7389: saved_LIBS="$LIBS"
7390: if test $STATIC = no; then
7391: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7392: else
7393: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7394: fi
7395: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7396: /* end confdefs.h. */
7397: #include "mysql.h"
7398: int
7399: main ()
7400: {
7401: MYSQL mysql; mysql_init(&mysql);
7402: ;
7403: return 0;
7404: }
7405: _ACEOF
7406: if ac_fn_c_try_link "$LINENO"; then :
7407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7408: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7409: else
7410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411: $as_echo "no" >&6; }; MYSQL_LIB="no"
7412: fi
7413: rm -f core conftest.err conftest.$ac_objext \
7414: conftest$ac_exeext conftest.$ac_ext
7415: LIBS=$saved_LIBS;
7416: if test $STATIC = no; then
7417: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7418: else
7419: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7420: EXT_SQL="$EXT_SQL $libMySQLlib"
7421: fi
7422: fi
7423:
7424: if test $MYSQL_LIB = no; then
7425: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7426: fi
7427: fi
7428:
7429: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7430: libMySQLinc=
7431: libMySQLlib=
7432: fi
7433:
7434:
7435:
7436:
7437:
7438: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7439:
7440: # Check whether --with-postgresql was given.
7441: if test "${with_postgresql+set}" = set; then :
7442: withval=$with_postgresql;
7443: else
7444: with_postgresql=check
7445: fi
7446:
7447:
7448: # with_postgresql : check [pas défini], yes [uniquement --with],
7449: # no [--without], valeur [--with=valeur].
7450:
7451: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7452: libPgSQLinc="-I/usr/include"
7453: libPgSQLlib="/usr/lib"
7454:
7455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7456: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7457: saved_CFLAGS="$CFLAGS"
7458: CFLAGS="$CFLAGS $libPgSQLinc"
7459: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460: /* end confdefs.h. */
7461: #include "libpq-fe.h"
7462: int
7463: main ()
7464: {
7465:
7466: ;
7467: return 0;
7468: }
7469: _ACEOF
7470: if ac_fn_c_try_compile "$LINENO"; then :
7471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7472: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7473: else
7474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7476: fi
7477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478: CFLAGS=$saved_CFLAGS
7479:
7480: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7482: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7483: saved_CFLAGS="$CFLAGS"
7484: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7485: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7486: /* end confdefs.h. */
7487: #include "libpq-fe.h"
7488: int
7489: main ()
7490: {
7491:
7492: ;
7493: return 0;
7494: }
7495: _ACEOF
7496: if ac_fn_c_try_compile "$LINENO"; then :
7497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7498: $as_echo "yes" >&6; };
7499: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7500: else
7501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502: $as_echo "no" >&6; };
7503: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7504: fi
7505: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7506: CFLAGS=$saved_CFLAGS
7507: libPgSQLinc=$libPgSQLinc/postgresql
7508: fi
7509:
7510: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7512: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7513: saved_CFLAGS="$CFLAGS"
7514: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7515: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516: /* end confdefs.h. */
7517: #include "libpq-fe.h"
7518: int
7519: main ()
7520: {
7521:
7522: ;
7523: return 0;
7524: }
7525: _ACEOF
7526: if ac_fn_c_try_compile "$LINENO"; then :
7527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7528: $as_echo "yes" >&6; };
7529: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7530: else
7531: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532: $as_echo "no" >&6; };
7533: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7534: fi
7535: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7536: CFLAGS=$saved_CFLAGS
7537: libPgSQLinc=$libPgSQLinc/pgsql
7538: fi
7539:
7540: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7542: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7543: saved_CFLAGS="$CFLAGS"
7544: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7545: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546: /* end confdefs.h. */
7547: #include "libpq-fe.h"
7548: int
7549: main ()
7550: {
7551:
7552: ;
7553: return 0;
7554: }
7555: _ACEOF
7556: if ac_fn_c_try_compile "$LINENO"; then :
7557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7558: $as_echo "yes" >&6; };
7559: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7560: else
7561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562: $as_echo "no" >&6; };
7563: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7564: fi
7565: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7566: CFLAGS=$saved_CFLAGS
7567: libPgSQLinc=$libPgSQLinc/../local/include
7568: libPgSQLlib=$libPgSQLlib/../local/lib
7569: fi
7570:
7571: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7572: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7573: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7574: saved_CFLAGS="$CFLAGS"
7575: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7576: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577: /* end confdefs.h. */
7578: #include "libpq-fe.h"
7579: int
7580: main ()
7581: {
7582:
7583: ;
7584: return 0;
7585: }
7586: _ACEOF
7587: if ac_fn_c_try_compile "$LINENO"; then :
7588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7589: $as_echo "yes" >&6; };
7590: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7591: else
7592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593: $as_echo "no" >&6; };
7594: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7595: fi
7596: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597: CFLAGS=$saved_CFLAGS
7598: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7599: libPgSQLlib=$libPgSQLlib/../local/lib
7600: fi
7601:
7602: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7604: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7605: saved_CFLAGS="$CFLAGS"
7606: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7607: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608: /* end confdefs.h. */
7609: #include "libpq-fe.h"
7610: int
7611: main ()
7612: {
7613:
7614: ;
7615: return 0;
7616: }
7617: _ACEOF
7618: if ac_fn_c_try_compile "$LINENO"; then :
7619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7620: $as_echo "yes" >&6; };
7621: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7622: else
7623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624: $as_echo "no" >&6; };
7625: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7626: fi
7627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7628: CFLAGS=$saved_CFLAGS
7629: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7630: libPgSQLlib=$libPgSQLlib/../local/lib
7631: fi
7632: else
7633: if test "x$with_postgresql" != xno; then
7634: libPgSQLinc="-I$with_postgresql/include"
7635: libPgSQLlib="$with_postgresql/lib"
7636:
7637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7638: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7639: saved_CFLAGS="$CFLAGS"
7640: CFLAGS="$CFLAGS $libPgSQLinc"
7641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642: /* end confdefs.h. */
7643: #include "libpq-fe.h"
7644: int
7645: main ()
7646: {
7647:
7648: ;
7649: return 0;
7650: }
7651: _ACEOF
7652: if ac_fn_c_try_compile "$LINENO"; then :
7653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7654: $as_echo "yes" >&6; };
7655: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7656: else
7657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658: $as_echo "no" >&6; };
7659: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7660: fi
7661: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7662: CFLAGS=$saved_CFLAGS
7663:
7664: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7666: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7667: saved_CFLAGS="$CFLAGS"
7668: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7670: /* end confdefs.h. */
7671: #include "libpq-fe.h"
7672: int
7673: main ()
7674: {
7675:
7676: ;
7677: return 0;
7678: }
7679: _ACEOF
7680: if ac_fn_c_try_compile "$LINENO"; then :
7681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7682: $as_echo "yes" >&6; };
7683: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7684: else
7685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686: $as_echo "no" >&6; };
7687: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7688: fi
7689: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7690: CFLAGS=$saved_CFLAGS
7691: libPgSQLinc=$libPgSQLinc/postgresql
7692: fi
7693:
7694: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7696: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7697: saved_CFLAGS="$CFLAGS"
7698: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7699: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700: /* end confdefs.h. */
7701: #include "libpq-fe.h"
7702: int
7703: main ()
7704: {
7705:
7706: ;
7707: return 0;
7708: }
7709: _ACEOF
7710: if ac_fn_c_try_compile "$LINENO"; then :
7711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7712: $as_echo "yes" >&6; };
7713: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7714: else
7715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716: $as_echo "no" >&6; };
7717: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7718: fi
7719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7720: CFLAGS=$saved_CFLAGS
7721: libPgSQLinc=$libPgSQLinc/pgsql
7722: fi
7723: else
7724: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7725: fi
7726: fi
7727:
7728: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7729: POSTGRESQL_LIB=no
7730:
7731: if test $POSTGRESQL_LIB = no; then
7732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7733: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7734: saved_LIBS="$LIBS"
7735: if test $STATIC = no; then
7736: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7737: else
7738: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7739: fi
7740: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741: /* end confdefs.h. */
7742: #include "libpq-fe.h"
7743: int
7744: main ()
7745: {
7746: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7747: PQconnectdb(conninfo);
7748: ;
7749: return 0;
7750: }
7751: _ACEOF
7752: if ac_fn_c_try_link "$LINENO"; then :
7753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7754: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7755: else
7756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7757: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7758: fi
7759: rm -f core conftest.err conftest.$ac_objext \
7760: conftest$ac_exeext conftest.$ac_ext
7761: LIBS=$saved_LIBS;
7762: if test $STATIC = no; then
7763: libPgSQLlib="-L/$libPgSQLlib -lpq"
7764: else
7765: libPgSQLlib="$libPgSQLlib/libpq.a"
7766: EXT_SQL="$EXT_SQL $libPgSQLlib"
7767: fi
7768: fi
7769: fi
7770:
7771: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7772: libPgSQLinc=
7773: libPgSQLlib=
7774: fi
7775:
7776:
7777:
7778:
7779:
7780: # with_postgresql : check [pas défini], yes [uniquement --with],
7781: # no [--without], valeur [--with=valeur].
7782:
7783: # Check whether --with-bourne_shell was given.
7784: if test "${with_bourne_shell+set}" = set; then :
7785: withval=$with_bourne_shell;
7786: else
7787: with_bourne_shell=no
7788: fi
7789:
7790:
7791: if test "x$with_bourne_shell" = xyes; then
7792: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7793: fi
7794:
7795: if test "x$with_bourne_shell" = xno; then
7796: if test $(uname) = "OS/2"; then
7797: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7798: fi
7799:
7800: BSH_PATH=
7801: else
7802: if test ! -x $with_bourne_shell; then
7803: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7804: fi
7805:
7806: if test $(uname) = "OS/2"; then
7807: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7808: sed -e '1,$s/\//\\\\\\\\/g')
7809: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7810: else
7811: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7812: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7813: BSH_PATH=
7814: fi
7815: fi
7816:
7817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7818: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7819: if ${ac_cv_path_GREP+:} false; then :
7820: $as_echo_n "(cached) " >&6
7821: else
7822: if test -z "$GREP"; then
7823: ac_path_GREP_found=false
7824: # Loop through the user's path and test for each of PROGNAME-LIST
7825: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7827: do
7828: IFS=$as_save_IFS
7829: test -z "$as_dir" && as_dir=.
7830: for ac_prog in grep ggrep; do
7831: for ac_exec_ext in '' $ac_executable_extensions; do
7832: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7833: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7834: # Check for GNU ac_path_GREP and select it if it is found.
7835: # Check for GNU $ac_path_GREP
7836: case `"$ac_path_GREP" --version 2>&1` in
7837: *GNU*)
7838: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7839: *)
7840: ac_count=0
7841: $as_echo_n 0123456789 >"conftest.in"
7842: while :
7843: do
7844: cat "conftest.in" "conftest.in" >"conftest.tmp"
7845: mv "conftest.tmp" "conftest.in"
7846: cp "conftest.in" "conftest.nl"
7847: $as_echo 'GREP' >> "conftest.nl"
7848: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7849: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7850: as_fn_arith $ac_count + 1 && ac_count=$as_val
7851: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7852: # Best one so far, save it but keep looking for a better one
7853: ac_cv_path_GREP="$ac_path_GREP"
7854: ac_path_GREP_max=$ac_count
7855: fi
7856: # 10*(2^10) chars as input seems more than enough
7857: test $ac_count -gt 10 && break
7858: done
7859: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7860: esac
7861:
7862: $ac_path_GREP_found && break 3
7863: done
7864: done
7865: done
7866: IFS=$as_save_IFS
7867: if test -z "$ac_cv_path_GREP"; then
7868: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7869: fi
7870: else
7871: ac_cv_path_GREP=$GREP
7872: fi
7873:
7874: fi
7875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7876: $as_echo "$ac_cv_path_GREP" >&6; }
7877: GREP="$ac_cv_path_GREP"
7878:
7879:
7880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7881: $as_echo_n "checking for egrep... " >&6; }
7882: if ${ac_cv_path_EGREP+:} false; then :
7883: $as_echo_n "(cached) " >&6
7884: else
7885: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7886: then ac_cv_path_EGREP="$GREP -E"
7887: else
7888: if test -z "$EGREP"; then
7889: ac_path_EGREP_found=false
7890: # Loop through the user's path and test for each of PROGNAME-LIST
7891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7893: do
7894: IFS=$as_save_IFS
7895: test -z "$as_dir" && as_dir=.
7896: for ac_prog in egrep; do
7897: for ac_exec_ext in '' $ac_executable_extensions; do
7898: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7899: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7900: # Check for GNU ac_path_EGREP and select it if it is found.
7901: # Check for GNU $ac_path_EGREP
7902: case `"$ac_path_EGREP" --version 2>&1` in
7903: *GNU*)
7904: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7905: *)
7906: ac_count=0
7907: $as_echo_n 0123456789 >"conftest.in"
7908: while :
7909: do
7910: cat "conftest.in" "conftest.in" >"conftest.tmp"
7911: mv "conftest.tmp" "conftest.in"
7912: cp "conftest.in" "conftest.nl"
7913: $as_echo 'EGREP' >> "conftest.nl"
7914: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7915: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7916: as_fn_arith $ac_count + 1 && ac_count=$as_val
7917: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7918: # Best one so far, save it but keep looking for a better one
7919: ac_cv_path_EGREP="$ac_path_EGREP"
7920: ac_path_EGREP_max=$ac_count
7921: fi
7922: # 10*(2^10) chars as input seems more than enough
7923: test $ac_count -gt 10 && break
7924: done
7925: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7926: esac
7927:
7928: $ac_path_EGREP_found && break 3
7929: done
7930: done
7931: done
7932: IFS=$as_save_IFS
7933: if test -z "$ac_cv_path_EGREP"; then
7934: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7935: fi
7936: else
7937: ac_cv_path_EGREP=$EGREP
7938: fi
7939:
7940: fi
7941: fi
7942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7943: $as_echo "$ac_cv_path_EGREP" >&6; }
7944: EGREP="$ac_cv_path_EGREP"
7945:
7946:
7947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7948: $as_echo_n "checking for ANSI C header files... " >&6; }
7949: if ${ac_cv_header_stdc+:} false; then :
7950: $as_echo_n "(cached) " >&6
7951: else
7952: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7953: /* end confdefs.h. */
7954: #include <stdlib.h>
7955: #include <stdarg.h>
7956: #include <string.h>
7957: #include <float.h>
7958:
7959: int
7960: main ()
7961: {
7962:
7963: ;
7964: return 0;
7965: }
7966: _ACEOF
7967: if ac_fn_c_try_compile "$LINENO"; then :
7968: ac_cv_header_stdc=yes
7969: else
7970: ac_cv_header_stdc=no
7971: fi
7972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7973:
7974: if test $ac_cv_header_stdc = yes; then
7975: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7976: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977: /* end confdefs.h. */
7978: #include <string.h>
7979:
7980: _ACEOF
7981: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7982: $EGREP "memchr" >/dev/null 2>&1; then :
7983:
7984: else
7985: ac_cv_header_stdc=no
7986: fi
7987: rm -f conftest*
7988:
7989: fi
7990:
7991: if test $ac_cv_header_stdc = yes; then
7992: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7993: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994: /* end confdefs.h. */
7995: #include <stdlib.h>
7996:
7997: _ACEOF
7998: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999: $EGREP "free" >/dev/null 2>&1; then :
8000:
8001: else
8002: ac_cv_header_stdc=no
8003: fi
8004: rm -f conftest*
8005:
8006: fi
8007:
8008: if test $ac_cv_header_stdc = yes; then
8009: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8010: if test "$cross_compiling" = yes; then :
8011: :
8012: else
8013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014: /* end confdefs.h. */
8015: #include <ctype.h>
8016: #include <stdlib.h>
8017: #if ((' ' & 0x0FF) == 0x020)
8018: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8019: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8020: #else
8021: # define ISLOWER(c) \
8022: (('a' <= (c) && (c) <= 'i') \
8023: || ('j' <= (c) && (c) <= 'r') \
8024: || ('s' <= (c) && (c) <= 'z'))
8025: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8026: #endif
8027:
8028: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8029: int
8030: main ()
8031: {
8032: int i;
8033: for (i = 0; i < 256; i++)
8034: if (XOR (islower (i), ISLOWER (i))
8035: || toupper (i) != TOUPPER (i))
8036: return 2;
8037: return 0;
8038: }
8039: _ACEOF
8040: if ac_fn_c_try_run "$LINENO"; then :
8041:
8042: else
8043: ac_cv_header_stdc=no
8044: fi
8045: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8046: conftest.$ac_objext conftest.beam conftest.$ac_ext
8047: fi
8048:
8049: fi
8050: fi
8051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8052: $as_echo "$ac_cv_header_stdc" >&6; }
8053: if test $ac_cv_header_stdc = yes; then
8054:
8055: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8056:
8057: fi
8058:
8059: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8060: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8061: inttypes.h stdint.h unistd.h
8062: do :
8063: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8064: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8065: "
8066: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8067: cat >>confdefs.h <<_ACEOF
8068: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8069: _ACEOF
8070:
8071: fi
8072:
8073: done
8074:
8075:
8076: # The cast to long int works around a bug in the HP C Compiler
8077: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8078: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8079: # This bug is HP SR number 8606223364.
8080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8081: $as_echo_n "checking size of void *... " >&6; }
8082: if ${ac_cv_sizeof_void_p+:} false; then :
8083: $as_echo_n "(cached) " >&6
8084: else
8085: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8086:
8087: else
8088: if test "$ac_cv_type_void_p" = yes; then
8089: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8090: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8091: as_fn_error 77 "cannot compute sizeof (void *)
8092: See \`config.log' for more details" "$LINENO" 5; }
8093: else
8094: ac_cv_sizeof_void_p=0
8095: fi
8096: fi
8097:
8098: fi
8099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8100: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8101:
8102:
8103:
8104: cat >>confdefs.h <<_ACEOF
8105: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8106: _ACEOF
8107:
8108:
8109: # The cast to long int works around a bug in the HP C Compiler
8110: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8111: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8112: # This bug is HP SR number 8606223364.
8113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8114: $as_echo_n "checking size of char... " >&6; }
8115: if ${ac_cv_sizeof_char+:} false; then :
8116: $as_echo_n "(cached) " >&6
8117: else
8118: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8119:
8120: else
8121: if test "$ac_cv_type_char" = yes; then
8122: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8123: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8124: as_fn_error 77 "cannot compute sizeof (char)
8125: See \`config.log' for more details" "$LINENO" 5; }
8126: else
8127: ac_cv_sizeof_char=0
8128: fi
8129: fi
8130:
8131: fi
8132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8133: $as_echo "$ac_cv_sizeof_char" >&6; }
8134:
8135:
8136:
8137: cat >>confdefs.h <<_ACEOF
8138: #define SIZEOF_CHAR $ac_cv_sizeof_char
8139: _ACEOF
8140:
8141:
8142: # The cast to long int works around a bug in the HP C Compiler
8143: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8144: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8145: # This bug is HP SR number 8606223364.
8146: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8147: $as_echo_n "checking size of short int... " >&6; }
8148: if ${ac_cv_sizeof_short_int+:} false; then :
8149: $as_echo_n "(cached) " >&6
8150: else
8151: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8152:
8153: else
8154: if test "$ac_cv_type_short_int" = yes; then
8155: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8156: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8157: as_fn_error 77 "cannot compute sizeof (short int)
8158: See \`config.log' for more details" "$LINENO" 5; }
8159: else
8160: ac_cv_sizeof_short_int=0
8161: fi
8162: fi
8163:
8164: fi
8165: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8166: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8167:
8168:
8169:
8170: cat >>confdefs.h <<_ACEOF
8171: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8172: _ACEOF
8173:
8174:
8175: # The cast to long int works around a bug in the HP C Compiler
8176: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8177: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8178: # This bug is HP SR number 8606223364.
8179: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8180: $as_echo_n "checking size of int... " >&6; }
8181: if ${ac_cv_sizeof_int+:} false; then :
8182: $as_echo_n "(cached) " >&6
8183: else
8184: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8185:
8186: else
8187: if test "$ac_cv_type_int" = yes; then
8188: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8189: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8190: as_fn_error 77 "cannot compute sizeof (int)
8191: See \`config.log' for more details" "$LINENO" 5; }
8192: else
8193: ac_cv_sizeof_int=0
8194: fi
8195: fi
8196:
8197: fi
8198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8199: $as_echo "$ac_cv_sizeof_int" >&6; }
8200:
8201:
8202:
8203: cat >>confdefs.h <<_ACEOF
8204: #define SIZEOF_INT $ac_cv_sizeof_int
8205: _ACEOF
8206:
8207:
8208: # The cast to long int works around a bug in the HP C Compiler
8209: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8210: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8211: # This bug is HP SR number 8606223364.
8212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8213: $as_echo_n "checking size of long int... " >&6; }
8214: if ${ac_cv_sizeof_long_int+:} false; then :
8215: $as_echo_n "(cached) " >&6
8216: else
8217: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8218:
8219: else
8220: if test "$ac_cv_type_long_int" = yes; then
8221: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8222: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8223: as_fn_error 77 "cannot compute sizeof (long int)
8224: See \`config.log' for more details" "$LINENO" 5; }
8225: else
8226: ac_cv_sizeof_long_int=0
8227: fi
8228: fi
8229:
8230: fi
8231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8232: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8233:
8234:
8235:
8236: cat >>confdefs.h <<_ACEOF
8237: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8238: _ACEOF
8239:
8240:
8241: # The cast to long int works around a bug in the HP C Compiler
8242: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8243: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8244: # This bug is HP SR number 8606223364.
8245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8246: $as_echo_n "checking size of long long int... " >&6; }
8247: if ${ac_cv_sizeof_long_long_int+:} false; then :
8248: $as_echo_n "(cached) " >&6
8249: else
8250: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8251:
8252: else
8253: if test "$ac_cv_type_long_long_int" = yes; then
8254: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8255: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8256: as_fn_error 77 "cannot compute sizeof (long long int)
8257: See \`config.log' for more details" "$LINENO" 5; }
8258: else
8259: ac_cv_sizeof_long_long_int=0
8260: fi
8261: fi
8262:
8263: fi
8264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8265: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8266:
8267:
8268:
8269: cat >>confdefs.h <<_ACEOF
8270: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8271: _ACEOF
8272:
8273:
8274: # The cast to long int works around a bug in the HP C Compiler
8275: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8276: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8277: # This bug is HP SR number 8606223364.
8278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8279: $as_echo_n "checking size of float... " >&6; }
8280: if ${ac_cv_sizeof_float+:} false; then :
8281: $as_echo_n "(cached) " >&6
8282: else
8283: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8284:
8285: else
8286: if test "$ac_cv_type_float" = yes; then
8287: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8288: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8289: as_fn_error 77 "cannot compute sizeof (float)
8290: See \`config.log' for more details" "$LINENO" 5; }
8291: else
8292: ac_cv_sizeof_float=0
8293: fi
8294: fi
8295:
8296: fi
8297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8298: $as_echo "$ac_cv_sizeof_float" >&6; }
8299:
8300:
8301:
8302: cat >>confdefs.h <<_ACEOF
8303: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8304: _ACEOF
8305:
8306:
8307: # The cast to long int works around a bug in the HP C Compiler
8308: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8309: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8310: # This bug is HP SR number 8606223364.
8311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8312: $as_echo_n "checking size of double... " >&6; }
8313: if ${ac_cv_sizeof_double+:} false; then :
8314: $as_echo_n "(cached) " >&6
8315: else
8316: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8317:
8318: else
8319: if test "$ac_cv_type_double" = yes; then
8320: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8321: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8322: as_fn_error 77 "cannot compute sizeof (double)
8323: See \`config.log' for more details" "$LINENO" 5; }
8324: else
8325: ac_cv_sizeof_double=0
8326: fi
8327: fi
8328:
8329: fi
8330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8331: $as_echo "$ac_cv_sizeof_double" >&6; }
8332:
8333:
8334:
8335: cat >>confdefs.h <<_ACEOF
8336: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8337: _ACEOF
8338:
8339:
8340: # The cast to long int works around a bug in the HP C Compiler
8341: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8342: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8343: # This bug is HP SR number 8606223364.
8344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8345: $as_echo_n "checking size of long double... " >&6; }
8346: if ${ac_cv_sizeof_long_double+:} false; then :
8347: $as_echo_n "(cached) " >&6
8348: else
8349: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8350:
8351: else
8352: if test "$ac_cv_type_long_double" = yes; then
8353: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8354: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8355: as_fn_error 77 "cannot compute sizeof (long double)
8356: See \`config.log' for more details" "$LINENO" 5; }
8357: else
8358: ac_cv_sizeof_long_double=0
8359: fi
8360: fi
8361:
8362: fi
8363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8364: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8365:
8366:
8367:
8368: cat >>confdefs.h <<_ACEOF
8369: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8370: _ACEOF
8371:
8372:
8373:
8374: ac_header_dirent=no
8375: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8376: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8378: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8379: if eval \${$as_ac_Header+:} false; then :
8380: $as_echo_n "(cached) " >&6
8381: else
8382: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383: /* end confdefs.h. */
8384: #include <sys/types.h>
8385: #include <$ac_hdr>
8386:
8387: int
8388: main ()
8389: {
8390: if ((DIR *) 0)
8391: return 0;
8392: ;
8393: return 0;
8394: }
8395: _ACEOF
8396: if ac_fn_c_try_compile "$LINENO"; then :
8397: eval "$as_ac_Header=yes"
8398: else
8399: eval "$as_ac_Header=no"
8400: fi
8401: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8402: fi
8403: eval ac_res=\$$as_ac_Header
8404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8405: $as_echo "$ac_res" >&6; }
8406: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8407: cat >>confdefs.h <<_ACEOF
8408: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8409: _ACEOF
8410:
8411: ac_header_dirent=$ac_hdr; break
8412: fi
8413:
8414: done
8415: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8416: if test $ac_header_dirent = dirent.h; then
8417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8418: $as_echo_n "checking for library containing opendir... " >&6; }
8419: if ${ac_cv_search_opendir+:} false; then :
8420: $as_echo_n "(cached) " >&6
8421: else
8422: ac_func_search_save_LIBS=$LIBS
8423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424: /* end confdefs.h. */
8425:
8426: /* Override any GCC internal prototype to avoid an error.
8427: Use char because int might match the return type of a GCC
8428: builtin and then its argument prototype would still apply. */
8429: #ifdef __cplusplus
8430: extern "C"
8431: #endif
8432: char opendir ();
8433: int
8434: main ()
8435: {
8436: return opendir ();
8437: ;
8438: return 0;
8439: }
8440: _ACEOF
8441: for ac_lib in '' dir; do
8442: if test -z "$ac_lib"; then
8443: ac_res="none required"
8444: else
8445: ac_res=-l$ac_lib
8446: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8447: fi
8448: if ac_fn_c_try_link "$LINENO"; then :
8449: ac_cv_search_opendir=$ac_res
8450: fi
8451: rm -f core conftest.err conftest.$ac_objext \
8452: conftest$ac_exeext
8453: if ${ac_cv_search_opendir+:} false; then :
8454: break
8455: fi
8456: done
8457: if ${ac_cv_search_opendir+:} false; then :
8458:
8459: else
8460: ac_cv_search_opendir=no
8461: fi
8462: rm conftest.$ac_ext
8463: LIBS=$ac_func_search_save_LIBS
8464: fi
8465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8466: $as_echo "$ac_cv_search_opendir" >&6; }
8467: ac_res=$ac_cv_search_opendir
8468: if test "$ac_res" != no; then :
8469: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8470:
8471: fi
8472:
8473: else
8474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8475: $as_echo_n "checking for library containing opendir... " >&6; }
8476: if ${ac_cv_search_opendir+:} false; then :
8477: $as_echo_n "(cached) " >&6
8478: else
8479: ac_func_search_save_LIBS=$LIBS
8480: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481: /* end confdefs.h. */
8482:
8483: /* Override any GCC internal prototype to avoid an error.
8484: Use char because int might match the return type of a GCC
8485: builtin and then its argument prototype would still apply. */
8486: #ifdef __cplusplus
8487: extern "C"
8488: #endif
8489: char opendir ();
8490: int
8491: main ()
8492: {
8493: return opendir ();
8494: ;
8495: return 0;
8496: }
8497: _ACEOF
8498: for ac_lib in '' x; do
8499: if test -z "$ac_lib"; then
8500: ac_res="none required"
8501: else
8502: ac_res=-l$ac_lib
8503: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8504: fi
8505: if ac_fn_c_try_link "$LINENO"; then :
8506: ac_cv_search_opendir=$ac_res
8507: fi
8508: rm -f core conftest.err conftest.$ac_objext \
8509: conftest$ac_exeext
8510: if ${ac_cv_search_opendir+:} false; then :
8511: break
8512: fi
8513: done
8514: if ${ac_cv_search_opendir+:} false; then :
8515:
8516: else
8517: ac_cv_search_opendir=no
8518: fi
8519: rm conftest.$ac_ext
8520: LIBS=$ac_func_search_save_LIBS
8521: fi
8522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8523: $as_echo "$ac_cv_search_opendir" >&6; }
8524: ac_res=$ac_cv_search_opendir
8525: if test "$ac_res" != no; then :
8526: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8527:
8528: fi
8529:
8530: fi
8531:
8532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8533: $as_echo_n "checking for ANSI C header files... " >&6; }
8534: if ${ac_cv_header_stdc+:} false; then :
8535: $as_echo_n "(cached) " >&6
8536: else
8537: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538: /* end confdefs.h. */
8539: #include <stdlib.h>
8540: #include <stdarg.h>
8541: #include <string.h>
8542: #include <float.h>
8543:
8544: int
8545: main ()
8546: {
8547:
8548: ;
8549: return 0;
8550: }
8551: _ACEOF
8552: if ac_fn_c_try_compile "$LINENO"; then :
8553: ac_cv_header_stdc=yes
8554: else
8555: ac_cv_header_stdc=no
8556: fi
8557: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558:
8559: if test $ac_cv_header_stdc = yes; then
8560: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8561: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562: /* end confdefs.h. */
8563: #include <string.h>
8564:
8565: _ACEOF
8566: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8567: $EGREP "memchr" >/dev/null 2>&1; then :
8568:
8569: else
8570: ac_cv_header_stdc=no
8571: fi
8572: rm -f conftest*
8573:
8574: fi
8575:
8576: if test $ac_cv_header_stdc = yes; then
8577: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8578: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579: /* end confdefs.h. */
8580: #include <stdlib.h>
8581:
8582: _ACEOF
8583: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8584: $EGREP "free" >/dev/null 2>&1; then :
8585:
8586: else
8587: ac_cv_header_stdc=no
8588: fi
8589: rm -f conftest*
8590:
8591: fi
8592:
8593: if test $ac_cv_header_stdc = yes; then
8594: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8595: if test "$cross_compiling" = yes; then :
8596: :
8597: else
8598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599: /* end confdefs.h. */
8600: #include <ctype.h>
8601: #include <stdlib.h>
8602: #if ((' ' & 0x0FF) == 0x020)
8603: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8604: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8605: #else
8606: # define ISLOWER(c) \
8607: (('a' <= (c) && (c) <= 'i') \
8608: || ('j' <= (c) && (c) <= 'r') \
8609: || ('s' <= (c) && (c) <= 'z'))
8610: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8611: #endif
8612:
8613: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8614: int
8615: main ()
8616: {
8617: int i;
8618: for (i = 0; i < 256; i++)
8619: if (XOR (islower (i), ISLOWER (i))
8620: || toupper (i) != TOUPPER (i))
8621: return 2;
8622: return 0;
8623: }
8624: _ACEOF
8625: if ac_fn_c_try_run "$LINENO"; then :
8626:
8627: else
8628: ac_cv_header_stdc=no
8629: fi
8630: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8631: conftest.$ac_objext conftest.beam conftest.$ac_ext
8632: fi
8633:
8634: fi
8635: fi
8636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8637: $as_echo "$ac_cv_header_stdc" >&6; }
8638: if test $ac_cv_header_stdc = yes; then
8639:
8640: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8641:
8642: fi
8643:
8644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8645: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8646: if ${ac_cv_header_sys_wait_h+:} false; then :
8647: $as_echo_n "(cached) " >&6
8648: else
8649: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650: /* end confdefs.h. */
8651: #include <sys/types.h>
8652: #include <sys/wait.h>
8653: #ifndef WEXITSTATUS
8654: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8655: #endif
8656: #ifndef WIFEXITED
8657: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8658: #endif
8659:
8660: int
8661: main ()
8662: {
8663: int s;
8664: wait (&s);
8665: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8666: ;
8667: return 0;
8668: }
8669: _ACEOF
8670: if ac_fn_c_try_compile "$LINENO"; then :
8671: ac_cv_header_sys_wait_h=yes
8672: else
8673: ac_cv_header_sys_wait_h=no
8674: fi
8675: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8676: fi
8677: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8678: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8679: if test $ac_cv_header_sys_wait_h = yes; then
8680:
8681: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8682:
8683: fi
8684:
8685: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8686: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8687: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8688: do :
8689: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8690: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8691: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8692: cat >>confdefs.h <<_ACEOF
8693: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8694: _ACEOF
8695:
8696: fi
8697:
8698: done
8699:
8700:
8701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8702: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8703: if ${ac_cv_c_const+:} false; then :
8704: $as_echo_n "(cached) " >&6
8705: else
8706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707: /* end confdefs.h. */
8708:
8709: int
8710: main ()
8711: {
8712: /* FIXME: Include the comments suggested by Paul. */
8713: #ifndef __cplusplus
8714: /* Ultrix mips cc rejects this. */
8715: typedef int charset[2];
8716: const charset cs;
8717: /* SunOS 4.1.1 cc rejects this. */
8718: char const *const *pcpcc;
8719: char **ppc;
8720: /* NEC SVR4.0.2 mips cc rejects this. */
8721: struct point {int x, y;};
8722: static struct point const zero = {0,0};
8723: /* AIX XL C 1.02.0.0 rejects this.
8724: It does not let you subtract one const X* pointer from another in
8725: an arm of an if-expression whose if-part is not a constant
8726: expression */
8727: const char *g = "string";
8728: pcpcc = &g + (g ? g-g : 0);
8729: /* HPUX 7.0 cc rejects these. */
8730: ++pcpcc;
8731: ppc = (char**) pcpcc;
8732: pcpcc = (char const *const *) ppc;
8733: { /* SCO 3.2v4 cc rejects this. */
8734: char *t;
8735: char const *s = 0 ? (char *) 0 : (char const *) 0;
8736:
8737: *t++ = 0;
8738: if (s) return 0;
8739: }
8740: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8741: int x[] = {25, 17};
8742: const int *foo = &x[0];
8743: ++foo;
8744: }
8745: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8746: typedef const int *iptr;
8747: iptr p = 0;
8748: ++p;
8749: }
8750: { /* AIX XL C 1.02.0.0 rejects this saying
8751: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8752: struct s { int j; const int *ap[3]; };
8753: struct s *b; b->j = 5;
8754: }
8755: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8756: const int foo = 10;
8757: if (!foo) return 0;
8758: }
8759: return !cs[0] && !zero.x;
8760: #endif
8761:
8762: ;
8763: return 0;
8764: }
8765: _ACEOF
8766: if ac_fn_c_try_compile "$LINENO"; then :
8767: ac_cv_c_const=yes
8768: else
8769: ac_cv_c_const=no
8770: fi
8771: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8772: fi
8773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8774: $as_echo "$ac_cv_c_const" >&6; }
8775: if test $ac_cv_c_const = no; then
8776:
8777: $as_echo "#define const /**/" >>confdefs.h
8778:
8779: fi
8780:
8781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8782: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8783: if ${ac_cv_type_uid_t+:} false; then :
8784: $as_echo_n "(cached) " >&6
8785: else
8786: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787: /* end confdefs.h. */
8788: #include <sys/types.h>
8789:
8790: _ACEOF
8791: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8792: $EGREP "uid_t" >/dev/null 2>&1; then :
8793: ac_cv_type_uid_t=yes
8794: else
8795: ac_cv_type_uid_t=no
8796: fi
8797: rm -f conftest*
8798:
8799: fi
8800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8801: $as_echo "$ac_cv_type_uid_t" >&6; }
8802: if test $ac_cv_type_uid_t = no; then
8803:
8804: $as_echo "#define uid_t int" >>confdefs.h
8805:
8806:
8807: $as_echo "#define gid_t int" >>confdefs.h
8808:
8809: fi
8810:
8811: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8812: if test "x$ac_cv_type_pid_t" = xyes; then :
8813:
8814: else
8815:
8816: cat >>confdefs.h <<_ACEOF
8817: #define pid_t int
8818: _ACEOF
8819:
8820: fi
8821:
8822: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8823: if test "x$ac_cv_type_size_t" = xyes; then :
8824:
8825: else
8826:
8827: cat >>confdefs.h <<_ACEOF
8828: #define size_t unsigned int
8829: _ACEOF
8830:
8831: fi
8832:
8833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8834: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8835: if ${ac_cv_header_time+:} false; then :
8836: $as_echo_n "(cached) " >&6
8837: else
8838: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839: /* end confdefs.h. */
8840: #include <sys/types.h>
8841: #include <sys/time.h>
8842: #include <time.h>
8843:
8844: int
8845: main ()
8846: {
8847: if ((struct tm *) 0)
8848: return 0;
8849: ;
8850: return 0;
8851: }
8852: _ACEOF
8853: if ac_fn_c_try_compile "$LINENO"; then :
8854: ac_cv_header_time=yes
8855: else
8856: ac_cv_header_time=no
8857: fi
8858: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8859: fi
8860: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8861: $as_echo "$ac_cv_header_time" >&6; }
8862: if test $ac_cv_header_time = yes; then
8863:
8864: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8865:
8866: fi
8867:
8868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8869: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8870: if ${ac_cv_struct_tm+:} false; then :
8871: $as_echo_n "(cached) " >&6
8872: else
8873: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874: /* end confdefs.h. */
8875: #include <sys/types.h>
8876: #include <time.h>
8877:
8878: int
8879: main ()
8880: {
8881: struct tm tm;
8882: int *p = &tm.tm_sec;
8883: return !p;
8884: ;
8885: return 0;
8886: }
8887: _ACEOF
8888: if ac_fn_c_try_compile "$LINENO"; then :
8889: ac_cv_struct_tm=time.h
8890: else
8891: ac_cv_struct_tm=sys/time.h
8892: fi
8893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8894: fi
8895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8896: $as_echo "$ac_cv_struct_tm" >&6; }
8897: if test $ac_cv_struct_tm = sys/time.h; then
8898:
8899: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8900:
8901: fi
8902:
8903:
8904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8905: $as_echo_n "checking return type of signal handlers... " >&6; }
8906: if ${ac_cv_type_signal+:} false; then :
8907: $as_echo_n "(cached) " >&6
8908: else
8909: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8910: /* end confdefs.h. */
8911: #include <sys/types.h>
8912: #include <signal.h>
8913:
8914: int
8915: main ()
8916: {
8917: return *(signal (0, 0)) (0) == 1;
8918: ;
8919: return 0;
8920: }
8921: _ACEOF
8922: if ac_fn_c_try_compile "$LINENO"; then :
8923: ac_cv_type_signal=int
8924: else
8925: ac_cv_type_signal=void
8926: fi
8927: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8928: fi
8929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8930: $as_echo "$ac_cv_type_signal" >&6; }
8931:
8932: cat >>confdefs.h <<_ACEOF
8933: #define RETSIGTYPE $ac_cv_type_signal
8934: _ACEOF
8935:
8936:
8937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
8938: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
8939: if test "$cross_compiling" = yes; then :
8940: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8941: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8942: as_fn_error $? "cannot run test program while cross compiling
8943: See \`config.log' for more details" "$LINENO" 5; }
8944: else
8945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946: /* end confdefs.h. */
8947: #include <unistd.h>
8948: #include <signal.h>
8949: int flag;
8950: void handler(int signal, siginfo_t *siginfo, void *context)
8951: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
8952: int
8953: main ()
8954: {
8955: struct sigaction action;
8956: action.sa_sigaction = handler;
8957: action.sa_flags = SA_SIGINFO;
8958: sigaction(SIGUSR1, &action, NULL);
8959: raise(SIGUSR1);
8960: return(flag);
8961: ;
8962: return 0;
8963: }
8964: _ACEOF
8965: if ac_fn_c_try_run "$LINENO"; then :
8966: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967: $as_echo "no" >&6; }
8968: else
8969: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8970: $as_echo "yes" >&6; }
8971: fi
8972: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8973: conftest.$ac_objext conftest.beam conftest.$ac_ext
8974: fi
8975:
8976:
8977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8978: $as_echo_n "checking for working strcoll... " >&6; }
8979: if ${ac_cv_func_strcoll_works+:} false; then :
8980: $as_echo_n "(cached) " >&6
8981: else
8982: if test "$cross_compiling" = yes; then :
8983: ac_cv_func_strcoll_works=no
8984: else
8985: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986: /* end confdefs.h. */
8987: $ac_includes_default
8988: int
8989: main ()
8990: {
8991: return (strcoll ("abc", "def") >= 0 ||
8992: strcoll ("ABC", "DEF") >= 0 ||
8993: strcoll ("123", "456") >= 0)
8994: ;
8995: return 0;
8996: }
8997: _ACEOF
8998: if ac_fn_c_try_run "$LINENO"; then :
8999: ac_cv_func_strcoll_works=yes
9000: else
9001: ac_cv_func_strcoll_works=no
9002: fi
9003: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9004: conftest.$ac_objext conftest.beam conftest.$ac_ext
9005: fi
9006:
9007: fi
9008: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
9009: $as_echo "$ac_cv_func_strcoll_works" >&6; }
9010: if test $ac_cv_func_strcoll_works = yes; then
9011:
9012: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
9013:
9014: fi
9015:
9016: for ac_func in strftime
9017: do :
9018: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
9019: if test "x$ac_cv_func_strftime" = xyes; then :
9020: cat >>confdefs.h <<_ACEOF
9021: #define HAVE_STRFTIME 1
9022: _ACEOF
9023:
9024: else
9025: # strftime is in -lintl on SCO UNIX.
9026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
9027: $as_echo_n "checking for strftime in -lintl... " >&6; }
9028: if ${ac_cv_lib_intl_strftime+:} false; then :
9029: $as_echo_n "(cached) " >&6
9030: else
9031: ac_check_lib_save_LIBS=$LIBS
9032: LIBS="-lintl $LIBS"
9033: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034: /* end confdefs.h. */
9035:
9036: /* Override any GCC internal prototype to avoid an error.
9037: Use char because int might match the return type of a GCC
9038: builtin and then its argument prototype would still apply. */
9039: #ifdef __cplusplus
9040: extern "C"
9041: #endif
9042: char strftime ();
9043: int
9044: main ()
9045: {
9046: return strftime ();
9047: ;
9048: return 0;
9049: }
9050: _ACEOF
9051: if ac_fn_c_try_link "$LINENO"; then :
9052: ac_cv_lib_intl_strftime=yes
9053: else
9054: ac_cv_lib_intl_strftime=no
9055: fi
9056: rm -f core conftest.err conftest.$ac_objext \
9057: conftest$ac_exeext conftest.$ac_ext
9058: LIBS=$ac_check_lib_save_LIBS
9059: fi
9060: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9061: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9062: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9063: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9064:
9065: LIBS="-lintl $LIBS"
9066: fi
9067:
9068: fi
9069: done
9070:
9071: for ac_func in vprintf
9072: do :
9073: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9074: if test "x$ac_cv_func_vprintf" = xyes; then :
9075: cat >>confdefs.h <<_ACEOF
9076: #define HAVE_VPRINTF 1
9077: _ACEOF
9078:
9079: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9080: if test "x$ac_cv_func__doprnt" = xyes; then :
9081:
9082: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9083:
9084: fi
9085:
9086: fi
9087: done
9088:
9089:
9090: for ac_func in ftime getcwd putenv select strcspn strdup \
9091: strerror strspn strstr strtod
9092: do :
9093: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9094: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9095: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9096: cat >>confdefs.h <<_ACEOF
9097: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9098: _ACEOF
9099:
9100: fi
9101: done
9102:
9103:
9104:
9105: # Check whether --with-openssl_arch was given.
9106: if test "${with_openssl_arch+set}" = set; then :
9107: withval=$with_openssl_arch;
9108: else
9109: with_openssl_arch=none
9110: fi
9111:
9112:
9113: if test $(uname) = "OS/2"; then
9114: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9115: else
9116: if test "x$with_openssl_arch" = xnone; then
9117: (cd tools/$OPENSSL && ./config)
9118: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9119: (cd tools/$OPENSSL && ./Configure)
9120: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9121: elif test "x$with_openssl_arch" = xlist; then
9122: (cd tools/$OPENSSL && ./Configure)
9123: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9124: else
9125: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
9126: fi
9127: fi
9128:
9129:
9130:
9131: subdirs="$subdirs tools/$NCURSES"
9132:
9133: subdirs="$subdirs tools/$READLINE"
9134:
9135: subdirs="$subdirs tools/$GSL"
9136:
9137: subdirs="$subdirs tools/$GPP"
9138:
9139: subdirs="$subdirs tools/$FILE"
9140:
9141: subdirs="$subdirs tools/$ICONV"
9142:
9143: subdirs="$subdirs tools/$SQLITE"
9144:
9145: subdirs="$subdirs tools/$UNITS"
9146:
9147:
9148: if test "$MYGNUPLOT" = "yes"; then
9149: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9150: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9151: (cd "$srcdir/tools" && tar -xf -)
9152: fi
9153: subdirs="$subdirs tools/$GNUPLOT"
9154:
9155: GNUPLOT_COMPILATION=$GNUPLOT
9156: else
9157: GNUPLOT_COMPILATION=
9158: fi
9159:
9160:
9161:
9162: case $host_cpu in
9163:
9164: i?86)
9165: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9166: -Wno-pointer-sign"
9167: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9168: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9169: break ;;
9170:
9171: x86_64*)
9172: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9173: -Wno-pointer-sign"
9174: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9175: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9176: break ;;
9177:
9178: alpha*)
9179: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9180: -Wno-pointer-sign"
9181: FFLAGS="$FFLAGS -mieee -Wall"
9182: FCFLAGS="$FCFLAGS -mieee -Wall"
9183: break ;;
9184:
9185: sparc*)
9186: CFLAGS="$CFLAGS -Wall -funsigned-char \
9187: -Wno-pointer-sign"
9188: FFLAGS="$FFLAGS -Wall"
9189: FCFLAGS="$FCFLAGS -Wall"
9190: break ;;
9191:
9192: esac
9193:
9194: case $host_os in
9195:
9196: cygwin*)
9197: OS=Cygwin
9198: break ;;
9199:
9200: interix*)
9201: OS=Interix
9202: break ;;
9203:
9204: *)
9205: OS=$(uname)
9206: break ;;
9207:
9208: esac
9209:
9210:
9211:
9212: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9213: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9214: MALLOC=
9215:
9216: case $OS in
9217:
9218: Darwin)
9219: EXPORT_DYNAMIC=-Wl,-flat_namespace
9220: NESTED_FUNCTIONS=-fnested-functions
9221: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9222: IPCS_SYSV=-UIPCS_SYSV
9223: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9224: ac_configure_args="$ac_configure_args --with-readline=builtin \
9225: --disable-shared --enable-static --enable-threads"
9226: C_STANDARD=-std=gnu99
9227: break ;;
9228:
9229: Cygwin)
9230: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9231: NESTED_FUNCTIONS=
9232: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9233: IPCS_SYSV=-UIPCS_SYSV
9234: ac_configure_args="$ac_configure_args --with-readline=builtin \
9235: --disable-shared --enable-static --enable-threads"
9236: C_STANDARD=-std=gnu99
9237: break ;;
9238:
9239: Interix)
9240: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9241: NESTED_FUNCTIONS=
9242: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9243: IPCS_SYSV=-UIPCS_SYSV
9244: ac_configure_args="$ac_configure_args --with-readline=builtin \
9245: --disable-shared --enable-static --enable-threads"
9246: C_STANDARD=-std=gnu99
9247: break;;
9248:
9249: AIX)
9250: EXPORT_DYNAMIC=-Wl,--export-dynamic
9251: NESTED_FUNCTIONS=
9252: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9253: IPCS_SYSV=-UIPCS_SYSV
9254: ac_configure_args="$ac_configure_args --with-readline=builtin \
9255: --disable-shared --enable-static --enable-threads"
9256: C_STANDARD=-std=gnu99
9257: break ;;
9258:
9259: OS/2)
9260: if test $FORCED_FINAL_ENCODING -eq 0; then \
9261: FINAL_ENCODING=CP850; \
9262: fi;
9263: OS=OS2
9264: NESTED_FUNCTIONS=
9265: EXPORT_DYNAMIC=-Zmap
9266: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9267: IPCS_SYSV=-DIPCS_SYSV
9268: ac_configure_args="$ac_configure_args --without-readline \
9269: --without-cairo --disable-shared --enable-static \
9270: --enable-threads"
9271: C_STANDARD=
9272: break;;
9273:
9274: OpenBSD)
9275: if test $FORCED_FINAL_ENCODING -eq 0; then \
9276: FINAL_ENCODING=UTF-8; \
9277: fi;
9278: EXPORT_DYNAMIC=-Wl,--export-dynamic
9279: NESTED_FUNCTIONS=
9280: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9281: IPCS_SYSV=-DIPCS_SYSV
9282: ac_configure_args="$ac_configure_args --with-readline=builtin \
9283: --disable-shared --enable-static --enable-threads"
9284: C_STANDARD=-std=gnu99
9285: break;;
9286:
9287: SunOS)
9288: EXPORT_DYNAMIC=-Wl,--export-dynamic
9289: NESTED_FUNCTIONS=
9290: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9291:
9292: if test $IPCS_SYSV = no; then
9293: IPCS_SYSV=-UIPCS_SYSV
9294: else
9295: IPCS_SYSV=-DIPCS_SYSV
9296: fi
9297:
9298: ac_configure_args="$ac_configure_args --with-readline=builtin \
9299: --disable-shared --enable-static --enable-threads"
9300: C_STANDARD=-std=gnu99
9301: MALLOC=-lumem
9302: break ;;
9303:
9304: *)
9305: EXPORT_DYNAMIC=-Wl,--export-dynamic
9306: NESTED_FUNCTIONS=
9307: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9308:
9309: if test $IPCS_SYSV = no; then
9310: IPCS_SYSV=-UIPCS_SYSV
9311: else
9312: IPCS_SYSV=-DIPCS_SYSV
9313: fi
9314:
9315: ac_configure_args="$ac_configure_args --with-readline=builtin \
9316: --disable-shared --enable-static --enable-threads"
9317: C_STANDARD=-std=gnu99
9318: break ;;
9319:
9320: esac
9321:
9322:
9323:
9324:
9325:
9326:
9327:
9328:
9329:
9330:
9331:
9332:
9333:
9334:
9335:
9336:
9337:
9338:
9339:
9340:
9341:
9342:
9343:
9344:
9345:
9346:
9347:
9348:
9349:
9350:
9351:
9352:
9353:
9354:
9355:
9356:
9357:
9358:
9359: ac_config_files="$ac_config_files Makefile"
9360:
9361: ac_config_files="$ac_config_files COPYING"
9362:
9363: ac_config_files="$ac_config_files tools/Makefile"
9364:
9365: ac_config_files="$ac_config_files src/Makefile"
9366:
9367: ac_config_files="$ac_config_files man/Makefile"
9368:
9369: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9370:
9371: ac_config_files="$ac_config_files doc/Makefile"
9372:
9373: ac_config_files="$ac_config_files scripts/Makefile"
9374:
9375: ac_config_files="$ac_config_files scripts/mkrplso"
9376:
9377: ac_config_files="$ac_config_files scripts/rplcc"
9378:
9379: ac_config_files="$ac_config_files scripts/rpllink"
9380:
9381: ac_config_files="$ac_config_files rpltags/Makefile"
9382:
9383: ac_config_files="$ac_config_files rpliconv/Makefile"
9384:
9385: ac_config_files="$ac_config_files rplsums/Makefile"
9386:
9387: ac_config_files="$ac_config_files rplcas/Makefile"
9388:
9389: ac_config_files="$ac_config_files rplawk/Makefile"
9390:
9391: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9392:
9393: ac_config_files="$ac_config_files lapack/blas/Makefile"
9394:
9395:
9396: ac_config_files="$ac_config_files man/rpl.1"
9397:
9398: ac_config_files="$ac_config_files man/rplcc.1"
9399:
9400: ac_config_files="$ac_config_files man/rpllink.1"
9401:
9402: ac_config_files="$ac_config_files man/rpltags.1"
9403:
9404: ac_config_files="$ac_config_files man/mkrplso.1"
9405:
9406: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9407:
9408: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9409:
9410: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9411:
9412: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9413:
9414: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9415:
9416:
9417: cat >confcache <<\_ACEOF
9418: # This file is a shell script that caches the results of configure
9419: # tests run on this system so they can be shared between configure
9420: # scripts and configure runs, see configure's option --config-cache.
9421: # It is not useful on other systems. If it contains results you don't
9422: # want to keep, you may remove or edit it.
9423: #
9424: # config.status only pays attention to the cache file if you give it
9425: # the --recheck option to rerun configure.
9426: #
9427: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9428: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9429: # following values.
9430:
9431: _ACEOF
9432:
9433: # The following way of writing the cache mishandles newlines in values,
9434: # but we know of no workaround that is simple, portable, and efficient.
9435: # So, we kill variables containing newlines.
9436: # Ultrix sh set writes to stderr and can't be redirected directly,
9437: # and sets the high bit in the cache file unless we assign to the vars.
9438: (
9439: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9440: eval ac_val=\$$ac_var
9441: case $ac_val in #(
9442: *${as_nl}*)
9443: case $ac_var in #(
9444: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9445: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9446: esac
9447: case $ac_var in #(
9448: _ | IFS | as_nl) ;; #(
9449: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9450: *) { eval $ac_var=; unset $ac_var;} ;;
9451: esac ;;
9452: esac
9453: done
9454:
9455: (set) 2>&1 |
9456: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9457: *${as_nl}ac_space=\ *)
9458: # `set' does not quote correctly, so add quotes: double-quote
9459: # substitution turns \\\\ into \\, and sed turns \\ into \.
9460: sed -n \
9461: "s/'/'\\\\''/g;
9462: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9463: ;; #(
9464: *)
9465: # `set' quotes correctly as required by POSIX, so do not add quotes.
9466: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9467: ;;
9468: esac |
9469: sort
9470: ) |
9471: sed '
9472: /^ac_cv_env_/b end
9473: t clear
9474: :clear
9475: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9476: t end
9477: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9478: :end' >>confcache
9479: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9480: if test -w "$cache_file"; then
9481: if test "x$cache_file" != "x/dev/null"; then
9482: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9483: $as_echo "$as_me: updating cache $cache_file" >&6;}
9484: if test ! -f "$cache_file" || test -h "$cache_file"; then
9485: cat confcache >"$cache_file"
9486: else
9487: case $cache_file in #(
9488: */* | ?:*)
9489: mv -f confcache "$cache_file"$$ &&
9490: mv -f "$cache_file"$$ "$cache_file" ;; #(
9491: *)
9492: mv -f confcache "$cache_file" ;;
9493: esac
9494: fi
9495: fi
9496: else
9497: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9498: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9499: fi
9500: fi
9501: rm -f confcache
9502:
9503: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9504: # Let make expand exec_prefix.
9505: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9506:
9507: DEFS=-DHAVE_CONFIG_H
9508:
9509: ac_libobjs=
9510: ac_ltlibobjs=
9511: U=
9512: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9513: # 1. Remove the extension, and $U if already installed.
9514: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9515: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9516: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9517: # will be set to the directory where LIBOBJS objects are built.
9518: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9519: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9520: done
9521: LIBOBJS=$ac_libobjs
9522:
9523: LTLIBOBJS=$ac_ltlibobjs
9524:
9525:
9526: if test -n "$EXEEXT"; then
9527: am__EXEEXT_TRUE=
9528: am__EXEEXT_FALSE='#'
9529: else
9530: am__EXEEXT_TRUE='#'
9531: am__EXEEXT_FALSE=
9532: fi
9533:
9534: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9535: as_fn_error $? "conditional \"AMDEP\" was never defined.
9536: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9537: fi
9538: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9539: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9540: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9541: fi
9542: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9543: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9544: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9545: fi
9546:
9547: : "${CONFIG_STATUS=./config.status}"
9548: ac_write_fail=0
9549: ac_clean_files_save=$ac_clean_files
9550: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9551: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9552: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9553: as_write_fail=0
9554: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9555: #! $SHELL
9556: # Generated by $as_me.
9557: # Run this file to recreate the current configuration.
9558: # Compiler output produced by configure, useful for debugging
9559: # configure, is in config.log if it exists.
9560:
9561: debug=false
9562: ac_cs_recheck=false
9563: ac_cs_silent=false
9564:
9565: SHELL=\${CONFIG_SHELL-$SHELL}
9566: export SHELL
9567: _ASEOF
9568: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9569: ## -------------------- ##
9570: ## M4sh Initialization. ##
9571: ## -------------------- ##
9572:
9573: # Be more Bourne compatible
9574: DUALCASE=1; export DUALCASE # for MKS sh
9575: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9576: emulate sh
9577: NULLCMD=:
9578: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9579: # is contrary to our usage. Disable this feature.
9580: alias -g '${1+"$@"}'='"$@"'
9581: setopt NO_GLOB_SUBST
9582: else
9583: case `(set -o) 2>/dev/null` in #(
9584: *posix*) :
9585: set -o posix ;; #(
9586: *) :
9587: ;;
9588: esac
9589: fi
9590:
9591:
9592: as_nl='
9593: '
9594: export as_nl
9595: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9596: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9597: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9598: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9599: # Prefer a ksh shell builtin over an external printf program on Solaris,
9600: # but without wasting forks for bash or zsh.
9601: if test -z "$BASH_VERSION$ZSH_VERSION" \
9602: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9603: as_echo='print -r --'
9604: as_echo_n='print -rn --'
9605: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9606: as_echo='printf %s\n'
9607: as_echo_n='printf %s'
9608: else
9609: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9610: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9611: as_echo_n='/usr/ucb/echo -n'
9612: else
9613: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9614: as_echo_n_body='eval
9615: arg=$1;
9616: case $arg in #(
9617: *"$as_nl"*)
9618: expr "X$arg" : "X\\(.*\\)$as_nl";
9619: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9620: esac;
9621: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9622: '
9623: export as_echo_n_body
9624: as_echo_n='sh -c $as_echo_n_body as_echo'
9625: fi
9626: export as_echo_body
9627: as_echo='sh -c $as_echo_body as_echo'
9628: fi
9629:
9630: # The user is always right.
9631: if test "${PATH_SEPARATOR+set}" != set; then
9632: PATH_SEPARATOR=:
9633: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9634: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9635: PATH_SEPARATOR=';'
9636: }
9637: fi
9638:
9639:
9640: # IFS
9641: # We need space, tab and new line, in precisely that order. Quoting is
9642: # there to prevent editors from complaining about space-tab.
9643: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9644: # splitting by setting IFS to empty value.)
9645: IFS=" "" $as_nl"
9646:
9647: # Find who we are. Look in the path if we contain no directory separator.
9648: as_myself=
9649: case $0 in #((
9650: *[\\/]* ) as_myself=$0 ;;
9651: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9652: for as_dir in $PATH
9653: do
9654: IFS=$as_save_IFS
9655: test -z "$as_dir" && as_dir=.
9656: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9657: done
9658: IFS=$as_save_IFS
9659:
9660: ;;
9661: esac
9662: # We did not find ourselves, most probably we were run as `sh COMMAND'
9663: # in which case we are not to be found in the path.
9664: if test "x$as_myself" = x; then
9665: as_myself=$0
9666: fi
9667: if test ! -f "$as_myself"; then
9668: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9669: exit 1
9670: fi
9671:
9672: # Unset variables that we do not need and which cause bugs (e.g. in
9673: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9674: # suppresses any "Segmentation fault" message there. '((' could
9675: # trigger a bug in pdksh 5.2.14.
9676: for as_var in BASH_ENV ENV MAIL MAILPATH
9677: do eval test x\${$as_var+set} = xset \
9678: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9679: done
9680: PS1='$ '
9681: PS2='> '
9682: PS4='+ '
9683:
9684: # NLS nuisances.
9685: LC_ALL=C
9686: export LC_ALL
9687: LANGUAGE=C
9688: export LANGUAGE
9689:
9690: # CDPATH.
9691: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9692:
9693:
9694: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9695: # ----------------------------------------
9696: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9697: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9698: # script with STATUS, using 1 if that was 0.
9699: as_fn_error ()
9700: {
9701: as_status=$1; test $as_status -eq 0 && as_status=1
9702: if test "$4"; then
9703: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9704: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9705: fi
9706: $as_echo "$as_me: error: $2" >&2
9707: as_fn_exit $as_status
9708: } # as_fn_error
9709:
9710:
9711: # as_fn_set_status STATUS
9712: # -----------------------
9713: # Set $? to STATUS, without forking.
9714: as_fn_set_status ()
9715: {
9716: return $1
9717: } # as_fn_set_status
9718:
9719: # as_fn_exit STATUS
9720: # -----------------
9721: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9722: as_fn_exit ()
9723: {
9724: set +e
9725: as_fn_set_status $1
9726: exit $1
9727: } # as_fn_exit
9728:
9729: # as_fn_unset VAR
9730: # ---------------
9731: # Portably unset VAR.
9732: as_fn_unset ()
9733: {
9734: { eval $1=; unset $1;}
9735: }
9736: as_unset=as_fn_unset
9737: # as_fn_append VAR VALUE
9738: # ----------------------
9739: # Append the text in VALUE to the end of the definition contained in VAR. Take
9740: # advantage of any shell optimizations that allow amortized linear growth over
9741: # repeated appends, instead of the typical quadratic growth present in naive
9742: # implementations.
9743: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9744: eval 'as_fn_append ()
9745: {
9746: eval $1+=\$2
9747: }'
9748: else
9749: as_fn_append ()
9750: {
9751: eval $1=\$$1\$2
9752: }
9753: fi # as_fn_append
9754:
9755: # as_fn_arith ARG...
9756: # ------------------
9757: # Perform arithmetic evaluation on the ARGs, and store the result in the
9758: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9759: # must be portable across $(()) and expr.
9760: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9761: eval 'as_fn_arith ()
9762: {
9763: as_val=$(( $* ))
9764: }'
9765: else
9766: as_fn_arith ()
9767: {
9768: as_val=`expr "$@" || test $? -eq 1`
9769: }
9770: fi # as_fn_arith
9771:
9772:
9773: if expr a : '\(a\)' >/dev/null 2>&1 &&
9774: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9775: as_expr=expr
9776: else
9777: as_expr=false
9778: fi
9779:
9780: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9781: as_basename=basename
9782: else
9783: as_basename=false
9784: fi
9785:
9786: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9787: as_dirname=dirname
9788: else
9789: as_dirname=false
9790: fi
9791:
9792: as_me=`$as_basename -- "$0" ||
9793: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9794: X"$0" : 'X\(//\)$' \| \
9795: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9796: $as_echo X/"$0" |
9797: sed '/^.*\/\([^/][^/]*\)\/*$/{
9798: s//\1/
9799: q
9800: }
9801: /^X\/\(\/\/\)$/{
9802: s//\1/
9803: q
9804: }
9805: /^X\/\(\/\).*/{
9806: s//\1/
9807: q
9808: }
9809: s/.*/./; q'`
9810:
9811: # Avoid depending upon Character Ranges.
9812: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9813: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9814: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9815: as_cr_digits='0123456789'
9816: as_cr_alnum=$as_cr_Letters$as_cr_digits
9817:
9818: ECHO_C= ECHO_N= ECHO_T=
9819: case `echo -n x` in #(((((
9820: -n*)
9821: case `echo 'xy\c'` in
9822: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9823: xy) ECHO_C='\c';;
9824: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9825: ECHO_T=' ';;
9826: esac;;
9827: *)
9828: ECHO_N='-n';;
9829: esac
9830:
9831: rm -f conf$$ conf$$.exe conf$$.file
9832: if test -d conf$$.dir; then
9833: rm -f conf$$.dir/conf$$.file
9834: else
9835: rm -f conf$$.dir
9836: mkdir conf$$.dir 2>/dev/null
9837: fi
9838: if (echo >conf$$.file) 2>/dev/null; then
9839: if ln -s conf$$.file conf$$ 2>/dev/null; then
9840: as_ln_s='ln -s'
9841: # ... but there are two gotchas:
9842: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9843: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9844: # In both cases, we have to default to `cp -p'.
9845: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9846: as_ln_s='cp -p'
9847: elif ln conf$$.file conf$$ 2>/dev/null; then
9848: as_ln_s=ln
9849: else
9850: as_ln_s='cp -p'
9851: fi
9852: else
9853: as_ln_s='cp -p'
9854: fi
9855: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9856: rmdir conf$$.dir 2>/dev/null
9857:
9858:
9859: # as_fn_mkdir_p
9860: # -------------
9861: # Create "$as_dir" as a directory, including parents if necessary.
9862: as_fn_mkdir_p ()
9863: {
9864:
9865: case $as_dir in #(
9866: -*) as_dir=./$as_dir;;
9867: esac
9868: test -d "$as_dir" || eval $as_mkdir_p || {
9869: as_dirs=
9870: while :; do
9871: case $as_dir in #(
9872: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9873: *) as_qdir=$as_dir;;
9874: esac
9875: as_dirs="'$as_qdir' $as_dirs"
9876: as_dir=`$as_dirname -- "$as_dir" ||
9877: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9878: X"$as_dir" : 'X\(//\)[^/]' \| \
9879: X"$as_dir" : 'X\(//\)$' \| \
9880: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9881: $as_echo X"$as_dir" |
9882: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9883: s//\1/
9884: q
9885: }
9886: /^X\(\/\/\)[^/].*/{
9887: s//\1/
9888: q
9889: }
9890: /^X\(\/\/\)$/{
9891: s//\1/
9892: q
9893: }
9894: /^X\(\/\).*/{
9895: s//\1/
9896: q
9897: }
9898: s/.*/./; q'`
9899: test -d "$as_dir" && break
9900: done
9901: test -z "$as_dirs" || eval "mkdir $as_dirs"
9902: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9903:
9904:
9905: } # as_fn_mkdir_p
9906: if mkdir -p . 2>/dev/null; then
9907: as_mkdir_p='mkdir -p "$as_dir"'
9908: else
9909: test -d ./-p && rmdir ./-p
9910: as_mkdir_p=false
9911: fi
9912:
9913: if test -x / >/dev/null 2>&1; then
9914: as_test_x='test -x'
9915: else
9916: if ls -dL / >/dev/null 2>&1; then
9917: as_ls_L_option=L
9918: else
9919: as_ls_L_option=
9920: fi
9921: as_test_x='
9922: eval sh -c '\''
9923: if test -d "$1"; then
9924: test -d "$1/.";
9925: else
9926: case $1 in #(
9927: -*)set "./$1";;
9928: esac;
9929: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9930: ???[sx]*):;;*)false;;esac;fi
9931: '\'' sh
9932: '
9933: fi
9934: as_executable_p=$as_test_x
9935:
9936: # Sed expression to map a string onto a valid CPP name.
9937: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9938:
9939: # Sed expression to map a string onto a valid variable name.
9940: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9941:
9942:
9943: exec 6>&1
9944: ## ----------------------------------- ##
9945: ## Main body of $CONFIG_STATUS script. ##
9946: ## ----------------------------------- ##
9947: _ASEOF
9948: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9949:
9950: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9951: # Save the log message, to keep $0 and so on meaningful, and to
9952: # report actual input values of CONFIG_FILES etc. instead of their
9953: # values after options handling.
9954: ac_log="
9955: This file was extended by rpl $as_me 4.1.0.prerelease.2, which was
9956: generated by GNU Autoconf 2.68. Invocation command line was
9957:
9958: CONFIG_FILES = $CONFIG_FILES
9959: CONFIG_HEADERS = $CONFIG_HEADERS
9960: CONFIG_LINKS = $CONFIG_LINKS
9961: CONFIG_COMMANDS = $CONFIG_COMMANDS
9962: $ $0 $@
9963:
9964: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9965: "
9966:
9967: _ACEOF
9968:
9969: case $ac_config_files in *"
9970: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9971: esac
9972:
9973: case $ac_config_headers in *"
9974: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9975: esac
9976:
9977:
9978: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9979: # Files that config.status was made for.
9980: config_files="$ac_config_files"
9981: config_headers="$ac_config_headers"
9982: config_commands="$ac_config_commands"
9983:
9984: _ACEOF
9985:
9986: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9987: ac_cs_usage="\
9988: \`$as_me' instantiates files and other configuration actions
9989: from templates according to the current configuration. Unless the files
9990: and actions are specified as TAGs, all are instantiated by default.
9991:
9992: Usage: $0 [OPTION]... [TAG]...
9993:
9994: -h, --help print this help, then exit
9995: -V, --version print version number and configuration settings, then exit
9996: --config print configuration, then exit
9997: -q, --quiet, --silent
9998: do not print progress messages
9999: -d, --debug don't remove temporary files
10000: --recheck update $as_me by reconfiguring in the same conditions
10001: --file=FILE[:TEMPLATE]
10002: instantiate the configuration file FILE
10003: --header=FILE[:TEMPLATE]
10004: instantiate the configuration header FILE
10005:
10006: Configuration files:
10007: $config_files
10008:
10009: Configuration headers:
10010: $config_headers
10011:
10012: Configuration commands:
10013: $config_commands
10014:
10015: Report bugs to the package provider."
10016:
10017: _ACEOF
10018: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10019: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10020: ac_cs_version="\\
10021: rpl config.status 4.1.0.prerelease.2
10022: configured by $0, generated by GNU Autoconf 2.68,
10023: with options \\"\$ac_cs_config\\"
10024:
10025: Copyright (C) 2010 Free Software Foundation, Inc.
10026: This config.status script is free software; the Free Software Foundation
10027: gives unlimited permission to copy, distribute and modify it."
10028:
10029: ac_pwd='$ac_pwd'
10030: srcdir='$srcdir'
10031: INSTALL='$INSTALL'
10032: MKDIR_P='$MKDIR_P'
10033: AWK='$AWK'
10034: test -n "\$AWK" || AWK=awk
10035: _ACEOF
10036:
10037: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10038: # The default lists apply if the user does not specify any file.
10039: ac_need_defaults=:
10040: while test $# != 0
10041: do
10042: case $1 in
10043: --*=?*)
10044: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10045: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10046: ac_shift=:
10047: ;;
10048: --*=)
10049: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10050: ac_optarg=
10051: ac_shift=:
10052: ;;
10053: *)
10054: ac_option=$1
10055: ac_optarg=$2
10056: ac_shift=shift
10057: ;;
10058: esac
10059:
10060: case $ac_option in
10061: # Handling of the options.
10062: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10063: ac_cs_recheck=: ;;
10064: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10065: $as_echo "$ac_cs_version"; exit ;;
10066: --config | --confi | --conf | --con | --co | --c )
10067: $as_echo "$ac_cs_config"; exit ;;
10068: --debug | --debu | --deb | --de | --d | -d )
10069: debug=: ;;
10070: --file | --fil | --fi | --f )
10071: $ac_shift
10072: case $ac_optarg in
10073: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10074: '') as_fn_error $? "missing file argument" ;;
10075: esac
10076: as_fn_append CONFIG_FILES " '$ac_optarg'"
10077: ac_need_defaults=false;;
10078: --header | --heade | --head | --hea )
10079: $ac_shift
10080: case $ac_optarg in
10081: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10082: esac
10083: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10084: ac_need_defaults=false;;
10085: --he | --h)
10086: # Conflict between --help and --header
10087: as_fn_error $? "ambiguous option: \`$1'
10088: Try \`$0 --help' for more information.";;
10089: --help | --hel | -h )
10090: $as_echo "$ac_cs_usage"; exit ;;
10091: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10092: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10093: ac_cs_silent=: ;;
10094:
10095: # This is an error.
10096: -*) as_fn_error $? "unrecognized option: \`$1'
10097: Try \`$0 --help' for more information." ;;
10098:
10099: *) as_fn_append ac_config_targets " $1"
10100: ac_need_defaults=false ;;
10101:
10102: esac
10103: shift
10104: done
10105:
10106: ac_configure_extra_args=
10107:
10108: if $ac_cs_silent; then
10109: exec 6>/dev/null
10110: ac_configure_extra_args="$ac_configure_extra_args --silent"
10111: fi
10112:
10113: _ACEOF
10114: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10115: if \$ac_cs_recheck; then
10116: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10117: shift
10118: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10119: CONFIG_SHELL='$SHELL'
10120: export CONFIG_SHELL
10121: exec "\$@"
10122: fi
10123:
10124: _ACEOF
10125: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10126: exec 5>>config.log
10127: {
10128: echo
10129: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10130: ## Running $as_me. ##
10131: _ASBOX
10132: $as_echo "$ac_log"
10133: } >&5
10134:
10135: _ACEOF
10136: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10137: #
10138: # INIT-COMMANDS
10139: #
10140: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10141:
10142: _ACEOF
10143:
10144: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10145:
10146: # Handling of arguments.
10147: for ac_config_target in $ac_config_targets
10148: do
10149: case $ac_config_target in
10150: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10151: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10152: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10153: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10154: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10155: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10156: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10157: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10158: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10159: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10160: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10161: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10162: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10163: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10164: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10165: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10166: "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10167: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10168: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10169: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10170: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10171: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10172: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10173: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10174: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10175: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10176: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10177: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10178: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10179: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10180:
10181: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10182: esac
10183: done
10184:
10185:
10186: # If the user did not use the arguments to specify the items to instantiate,
10187: # then the envvar interface is used. Set only those that are not.
10188: # We use the long form for the default assignment because of an extremely
10189: # bizarre bug on SunOS 4.1.3.
10190: if $ac_need_defaults; then
10191: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10192: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10193: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10194: fi
10195:
10196: # Have a temporary directory for convenience. Make it in the build tree
10197: # simply because there is no reason against having it here, and in addition,
10198: # creating and moving files from /tmp can sometimes cause problems.
10199: # Hook for its removal unless debugging.
10200: # Note that there is a small window in which the directory will not be cleaned:
10201: # after its creation but before its name has been assigned to `$tmp'.
10202: $debug ||
10203: {
10204: tmp= ac_tmp=
10205: trap 'exit_status=$?
10206: : "${ac_tmp:=$tmp}"
10207: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10208: ' 0
10209: trap 'as_fn_exit 1' 1 2 13 15
10210: }
10211: # Create a (secure) tmp directory for tmp files.
10212:
10213: {
10214: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10215: test -d "$tmp"
10216: } ||
10217: {
10218: tmp=./conf$$-$RANDOM
10219: (umask 077 && mkdir "$tmp")
10220: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10221: ac_tmp=$tmp
10222:
10223: # Set up the scripts for CONFIG_FILES section.
10224: # No need to generate them if there are no CONFIG_FILES.
10225: # This happens for instance with `./config.status config.h'.
10226: if test -n "$CONFIG_FILES"; then
10227:
10228:
10229: ac_cr=`echo X | tr X '\015'`
10230: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10231: # But we know of no other shell where ac_cr would be empty at this
10232: # point, so we can use a bashism as a fallback.
10233: if test "x$ac_cr" = x; then
10234: eval ac_cr=\$\'\\r\'
10235: fi
10236: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10237: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10238: ac_cs_awk_cr='\\r'
10239: else
10240: ac_cs_awk_cr=$ac_cr
10241: fi
10242:
10243: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10244: _ACEOF
10245:
10246:
10247: {
10248: echo "cat >conf$$subs.awk <<_ACEOF" &&
10249: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10250: echo "_ACEOF"
10251: } >conf$$subs.sh ||
10252: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10253: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10254: ac_delim='%!_!# '
10255: for ac_last_try in false false false false false :; do
10256: . ./conf$$subs.sh ||
10257: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10258:
10259: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10260: if test $ac_delim_n = $ac_delim_num; then
10261: break
10262: elif $ac_last_try; then
10263: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10264: else
10265: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10266: fi
10267: done
10268: rm -f conf$$subs.sh
10269:
10270: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10271: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10272: _ACEOF
10273: sed -n '
10274: h
10275: s/^/S["/; s/!.*/"]=/
10276: p
10277: g
10278: s/^[^!]*!//
10279: :repl
10280: t repl
10281: s/'"$ac_delim"'$//
10282: t delim
10283: :nl
10284: h
10285: s/\(.\{148\}\)..*/\1/
10286: t more1
10287: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10288: p
10289: n
10290: b repl
10291: :more1
10292: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10293: p
10294: g
10295: s/.\{148\}//
10296: t nl
10297: :delim
10298: h
10299: s/\(.\{148\}\)..*/\1/
10300: t more2
10301: s/["\\]/\\&/g; s/^/"/; s/$/"/
10302: p
10303: b
10304: :more2
10305: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10306: p
10307: g
10308: s/.\{148\}//
10309: t delim
10310: ' <conf$$subs.awk | sed '
10311: /^[^""]/{
10312: N
10313: s/\n//
10314: }
10315: ' >>$CONFIG_STATUS || ac_write_fail=1
10316: rm -f conf$$subs.awk
10317: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10318: _ACAWK
10319: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10320: for (key in S) S_is_set[key] = 1
10321: FS = ""
10322:
10323: }
10324: {
10325: line = $ 0
10326: nfields = split(line, field, "@")
10327: substed = 0
10328: len = length(field[1])
10329: for (i = 2; i < nfields; i++) {
10330: key = field[i]
10331: keylen = length(key)
10332: if (S_is_set[key]) {
10333: value = S[key]
10334: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10335: len += length(value) + length(field[++i])
10336: substed = 1
10337: } else
10338: len += 1 + keylen
10339: }
10340:
10341: print line
10342: }
10343:
10344: _ACAWK
10345: _ACEOF
10346: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10347: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10348: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10349: else
10350: cat
10351: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10352: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10353: _ACEOF
10354:
10355: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10356: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10357: # trailing colons and then remove the whole line if VPATH becomes empty
10358: # (actually we leave an empty line to preserve line numbers).
10359: if test "x$srcdir" = x.; then
10360: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10361: h
10362: s///
10363: s/^/:/
10364: s/[ ]*$/:/
10365: s/:\$(srcdir):/:/g
10366: s/:\${srcdir}:/:/g
10367: s/:@srcdir@:/:/g
10368: s/^:*//
10369: s/:*$//
10370: x
10371: s/\(=[ ]*\).*/\1/
10372: G
10373: s/\n//
10374: s/^[^=]*=[ ]*$//
10375: }'
10376: fi
10377:
10378: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10379: fi # test -n "$CONFIG_FILES"
10380:
10381: # Set up the scripts for CONFIG_HEADERS section.
10382: # No need to generate them if there are no CONFIG_HEADERS.
10383: # This happens for instance with `./config.status Makefile'.
10384: if test -n "$CONFIG_HEADERS"; then
10385: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10386: BEGIN {
10387: _ACEOF
10388:
10389: # Transform confdefs.h into an awk script `defines.awk', embedded as
10390: # here-document in config.status, that substitutes the proper values into
10391: # config.h.in to produce config.h.
10392:
10393: # Create a delimiter string that does not exist in confdefs.h, to ease
10394: # handling of long lines.
10395: ac_delim='%!_!# '
10396: for ac_last_try in false false :; do
10397: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10398: if test -z "$ac_tt"; then
10399: break
10400: elif $ac_last_try; then
10401: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10402: else
10403: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10404: fi
10405: done
10406:
10407: # For the awk script, D is an array of macro values keyed by name,
10408: # likewise P contains macro parameters if any. Preserve backslash
10409: # newline sequences.
10410:
10411: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10412: sed -n '
10413: s/.\{148\}/&'"$ac_delim"'/g
10414: t rset
10415: :rset
10416: s/^[ ]*#[ ]*define[ ][ ]*/ /
10417: t def
10418: d
10419: :def
10420: s/\\$//
10421: t bsnl
10422: s/["\\]/\\&/g
10423: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10424: D["\1"]=" \3"/p
10425: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10426: d
10427: :bsnl
10428: s/["\\]/\\&/g
10429: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10430: D["\1"]=" \3\\\\\\n"\\/p
10431: t cont
10432: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10433: t cont
10434: d
10435: :cont
10436: n
10437: s/.\{148\}/&'"$ac_delim"'/g
10438: t clear
10439: :clear
10440: s/\\$//
10441: t bsnlc
10442: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10443: d
10444: :bsnlc
10445: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10446: b cont
10447: ' <confdefs.h | sed '
10448: s/'"$ac_delim"'/"\\\
10449: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10450:
10451: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10452: for (key in D) D_is_set[key] = 1
10453: FS = ""
10454: }
10455: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10456: line = \$ 0
10457: split(line, arg, " ")
10458: if (arg[1] == "#") {
10459: defundef = arg[2]
10460: mac1 = arg[3]
10461: } else {
10462: defundef = substr(arg[1], 2)
10463: mac1 = arg[2]
10464: }
10465: split(mac1, mac2, "(") #)
10466: macro = mac2[1]
10467: prefix = substr(line, 1, index(line, defundef) - 1)
10468: if (D_is_set[macro]) {
10469: # Preserve the white space surrounding the "#".
10470: print prefix "define", macro P[macro] D[macro]
10471: next
10472: } else {
10473: # Replace #undef with comments. This is necessary, for example,
10474: # in the case of _POSIX_SOURCE, which is predefined and required
10475: # on some systems where configure will not decide to define it.
10476: if (defundef == "undef") {
10477: print "/*", prefix defundef, macro, "*/"
10478: next
10479: }
10480: }
10481: }
10482: { print }
10483: _ACAWK
10484: _ACEOF
10485: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10486: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10487: fi # test -n "$CONFIG_HEADERS"
10488:
10489:
10490: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10491: shift
10492: for ac_tag
10493: do
10494: case $ac_tag in
10495: :[FHLC]) ac_mode=$ac_tag; continue;;
10496: esac
10497: case $ac_mode$ac_tag in
10498: :[FHL]*:*);;
10499: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10500: :[FH]-) ac_tag=-:-;;
10501: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10502: esac
10503: ac_save_IFS=$IFS
10504: IFS=:
10505: set x $ac_tag
10506: IFS=$ac_save_IFS
10507: shift
10508: ac_file=$1
10509: shift
10510:
10511: case $ac_mode in
10512: :L) ac_source=$1;;
10513: :[FH])
10514: ac_file_inputs=
10515: for ac_f
10516: do
10517: case $ac_f in
10518: -) ac_f="$ac_tmp/stdin";;
10519: *) # Look for the file first in the build tree, then in the source tree
10520: # (if the path is not absolute). The absolute path cannot be DOS-style,
10521: # because $ac_f cannot contain `:'.
10522: test -f "$ac_f" ||
10523: case $ac_f in
10524: [\\/$]*) false;;
10525: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10526: esac ||
10527: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10528: esac
10529: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10530: as_fn_append ac_file_inputs " '$ac_f'"
10531: done
10532:
10533: # Let's still pretend it is `configure' which instantiates (i.e., don't
10534: # use $as_me), people would be surprised to read:
10535: # /* config.h. Generated by config.status. */
10536: configure_input='Generated from '`
10537: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10538: `' by configure.'
10539: if test x"$ac_file" != x-; then
10540: configure_input="$ac_file. $configure_input"
10541: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10542: $as_echo "$as_me: creating $ac_file" >&6;}
10543: fi
10544: # Neutralize special characters interpreted by sed in replacement strings.
10545: case $configure_input in #(
10546: *\&* | *\|* | *\\* )
10547: ac_sed_conf_input=`$as_echo "$configure_input" |
10548: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10549: *) ac_sed_conf_input=$configure_input;;
10550: esac
10551:
10552: case $ac_tag in
10553: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10554: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10555: esac
10556: ;;
10557: esac
10558:
10559: ac_dir=`$as_dirname -- "$ac_file" ||
10560: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10561: X"$ac_file" : 'X\(//\)[^/]' \| \
10562: X"$ac_file" : 'X\(//\)$' \| \
10563: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10564: $as_echo X"$ac_file" |
10565: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10566: s//\1/
10567: q
10568: }
10569: /^X\(\/\/\)[^/].*/{
10570: s//\1/
10571: q
10572: }
10573: /^X\(\/\/\)$/{
10574: s//\1/
10575: q
10576: }
10577: /^X\(\/\).*/{
10578: s//\1/
10579: q
10580: }
10581: s/.*/./; q'`
10582: as_dir="$ac_dir"; as_fn_mkdir_p
10583: ac_builddir=.
10584:
10585: case "$ac_dir" in
10586: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10587: *)
10588: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10589: # A ".." for each directory in $ac_dir_suffix.
10590: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10591: case $ac_top_builddir_sub in
10592: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10593: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10594: esac ;;
10595: esac
10596: ac_abs_top_builddir=$ac_pwd
10597: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10598: # for backward compatibility:
10599: ac_top_builddir=$ac_top_build_prefix
10600:
10601: case $srcdir in
10602: .) # We are building in place.
10603: ac_srcdir=.
10604: ac_top_srcdir=$ac_top_builddir_sub
10605: ac_abs_top_srcdir=$ac_pwd ;;
10606: [\\/]* | ?:[\\/]* ) # Absolute name.
10607: ac_srcdir=$srcdir$ac_dir_suffix;
10608: ac_top_srcdir=$srcdir
10609: ac_abs_top_srcdir=$srcdir ;;
10610: *) # Relative name.
10611: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10612: ac_top_srcdir=$ac_top_build_prefix$srcdir
10613: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10614: esac
10615: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10616:
10617:
10618: case $ac_mode in
10619: :F)
10620: #
10621: # CONFIG_FILE
10622: #
10623:
10624: case $INSTALL in
10625: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10626: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10627: esac
10628: ac_MKDIR_P=$MKDIR_P
10629: case $MKDIR_P in
10630: [\\/$]* | ?:[\\/]* ) ;;
10631: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10632: esac
10633: _ACEOF
10634:
10635: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10636: # If the template does not know about datarootdir, expand it.
10637: # FIXME: This hack should be removed a few years after 2.60.
10638: ac_datarootdir_hack=; ac_datarootdir_seen=
10639: ac_sed_dataroot='
10640: /datarootdir/ {
10641: p
10642: q
10643: }
10644: /@datadir@/p
10645: /@docdir@/p
10646: /@infodir@/p
10647: /@localedir@/p
10648: /@mandir@/p'
10649: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10650: *datarootdir*) ac_datarootdir_seen=yes;;
10651: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10652: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10653: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10654: _ACEOF
10655: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10656: ac_datarootdir_hack='
10657: s&@datadir@&$datadir&g
10658: s&@docdir@&$docdir&g
10659: s&@infodir@&$infodir&g
10660: s&@localedir@&$localedir&g
10661: s&@mandir@&$mandir&g
10662: s&\\\${datarootdir}&$datarootdir&g' ;;
10663: esac
10664: _ACEOF
10665:
10666: # Neutralize VPATH when `$srcdir' = `.'.
10667: # Shell code in configure.ac might set extrasub.
10668: # FIXME: do we really want to maintain this feature?
10669: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10670: ac_sed_extra="$ac_vpsub
10671: $extrasub
10672: _ACEOF
10673: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10674: :t
10675: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10676: s|@configure_input@|$ac_sed_conf_input|;t t
10677: s&@top_builddir@&$ac_top_builddir_sub&;t t
10678: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10679: s&@srcdir@&$ac_srcdir&;t t
10680: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10681: s&@top_srcdir@&$ac_top_srcdir&;t t
10682: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10683: s&@builddir@&$ac_builddir&;t t
10684: s&@abs_builddir@&$ac_abs_builddir&;t t
10685: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10686: s&@INSTALL@&$ac_INSTALL&;t t
10687: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10688: $ac_datarootdir_hack
10689: "
10690: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10691: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10692:
10693: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10694: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10695: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10696: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10697: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10698: which seems to be undefined. Please make sure it is defined" >&5
10699: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10700: which seems to be undefined. Please make sure it is defined" >&2;}
10701:
10702: rm -f "$ac_tmp/stdin"
10703: case $ac_file in
10704: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10705: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10706: esac \
10707: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10708: ;;
10709: :H)
10710: #
10711: # CONFIG_HEADER
10712: #
10713: if test x"$ac_file" != x-; then
10714: {
10715: $as_echo "/* $configure_input */" \
10716: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10717: } >"$ac_tmp/config.h" \
10718: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10719: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10720: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10721: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10722: else
10723: rm -f "$ac_file"
10724: mv "$ac_tmp/config.h" "$ac_file" \
10725: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10726: fi
10727: else
10728: $as_echo "/* $configure_input */" \
10729: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10730: || as_fn_error $? "could not create -" "$LINENO" 5
10731: fi
10732: # Compute "$ac_file"'s index in $config_headers.
10733: _am_arg="$ac_file"
10734: _am_stamp_count=1
10735: for _am_header in $config_headers :; do
10736: case $_am_header in
10737: $_am_arg | $_am_arg:* )
10738: break ;;
10739: * )
10740: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10741: esac
10742: done
10743: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10744: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10745: X"$_am_arg" : 'X\(//\)[^/]' \| \
10746: X"$_am_arg" : 'X\(//\)$' \| \
10747: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10748: $as_echo X"$_am_arg" |
10749: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10750: s//\1/
10751: q
10752: }
10753: /^X\(\/\/\)[^/].*/{
10754: s//\1/
10755: q
10756: }
10757: /^X\(\/\/\)$/{
10758: s//\1/
10759: q
10760: }
10761: /^X\(\/\).*/{
10762: s//\1/
10763: q
10764: }
10765: s/.*/./; q'`/stamp-h$_am_stamp_count
10766: ;;
10767:
10768: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10769: $as_echo "$as_me: executing $ac_file commands" >&6;}
10770: ;;
10771: esac
10772:
10773:
10774: case $ac_file$ac_mode in
10775: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10776: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10777: # are listed without --file. Let's play safe and only enable the eval
10778: # if we detect the quoting.
10779: case $CONFIG_FILES in
10780: *\'*) eval set x "$CONFIG_FILES" ;;
10781: *) set x $CONFIG_FILES ;;
10782: esac
10783: shift
10784: for mf
10785: do
10786: # Strip MF so we end up with the name of the file.
10787: mf=`echo "$mf" | sed -e 's/:.*$//'`
10788: # Check whether this is an Automake generated Makefile or not.
10789: # We used to match only the files named `Makefile.in', but
10790: # some people rename them; so instead we look at the file content.
10791: # Grep'ing the first line is not enough: some people post-process
10792: # each Makefile.in and add a new line on top of each file to say so.
10793: # Grep'ing the whole file is not good either: AIX grep has a line
10794: # limit of 2048, but all sed's we know have understand at least 4000.
10795: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10796: dirpart=`$as_dirname -- "$mf" ||
10797: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10798: X"$mf" : 'X\(//\)[^/]' \| \
10799: X"$mf" : 'X\(//\)$' \| \
10800: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10801: $as_echo X"$mf" |
10802: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10803: s//\1/
10804: q
10805: }
10806: /^X\(\/\/\)[^/].*/{
10807: s//\1/
10808: q
10809: }
10810: /^X\(\/\/\)$/{
10811: s//\1/
10812: q
10813: }
10814: /^X\(\/\).*/{
10815: s//\1/
10816: q
10817: }
10818: s/.*/./; q'`
10819: else
10820: continue
10821: fi
10822: # Extract the definition of DEPDIR, am__include, and am__quote
10823: # from the Makefile without running `make'.
10824: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10825: test -z "$DEPDIR" && continue
10826: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10827: test -z "am__include" && continue
10828: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10829: # When using ansi2knr, U may be empty or an underscore; expand it
10830: U=`sed -n 's/^U = //p' < "$mf"`
10831: # Find all dependency output files, they are included files with
10832: # $(DEPDIR) in their names. We invoke sed twice because it is the
10833: # simplest approach to changing $(DEPDIR) to its actual value in the
10834: # expansion.
10835: for file in `sed -n "
10836: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10837: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10838: # Make sure the directory exists.
10839: test -f "$dirpart/$file" && continue
10840: fdir=`$as_dirname -- "$file" ||
10841: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10842: X"$file" : 'X\(//\)[^/]' \| \
10843: X"$file" : 'X\(//\)$' \| \
10844: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10845: $as_echo X"$file" |
10846: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10847: s//\1/
10848: q
10849: }
10850: /^X\(\/\/\)[^/].*/{
10851: s//\1/
10852: q
10853: }
10854: /^X\(\/\/\)$/{
10855: s//\1/
10856: q
10857: }
10858: /^X\(\/\).*/{
10859: s//\1/
10860: q
10861: }
10862: s/.*/./; q'`
10863: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10864: # echo "creating $dirpart/$file"
10865: echo '# dummy' > "$dirpart/$file"
10866: done
10867: done
10868: }
10869: ;;
10870:
10871: esac
10872: done # for ac_tag
10873:
10874:
10875: as_fn_exit 0
10876: _ACEOF
10877: ac_clean_files=$ac_clean_files_save
10878:
10879: test $ac_write_fail = 0 ||
10880: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10881:
10882:
10883: # configure is writing to config.log, and then calls config.status.
10884: # config.status does its own redirection, appending to config.log.
10885: # Unfortunately, on DOS this fails, as config.log is still kept open
10886: # by configure, so config.status won't be able to write to it; its
10887: # output is simply discarded. So we exec the FD to /dev/null,
10888: # effectively closing config.log, so it can be properly (re)opened and
10889: # appended to by config.status. When coming back to configure, we
10890: # need to make the FD available again.
10891: if test "$no_create" != yes; then
10892: ac_cs_success=:
10893: ac_config_status_args=
10894: test "$silent" = yes &&
10895: ac_config_status_args="$ac_config_status_args --quiet"
10896: exec 5>/dev/null
10897: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10898: exec 5>>config.log
10899: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10900: # would make configure fail if this is the last instruction.
10901: $ac_cs_success || as_fn_exit 1
10902: fi
10903:
10904: #
10905: # CONFIG_SUBDIRS section.
10906: #
10907: if test "$no_recursion" != yes; then
10908:
10909: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10910: # so they do not pile up.
10911: ac_sub_configure_args=
10912: ac_prev=
10913: eval "set x $ac_configure_args"
10914: shift
10915: for ac_arg
10916: do
10917: if test -n "$ac_prev"; then
10918: ac_prev=
10919: continue
10920: fi
10921: case $ac_arg in
10922: -cache-file | --cache-file | --cache-fil | --cache-fi \
10923: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10924: ac_prev=cache_file ;;
10925: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10926: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10927: | --c=*)
10928: ;;
10929: --config-cache | -C)
10930: ;;
10931: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10932: ac_prev=srcdir ;;
10933: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10934: ;;
10935: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10936: ac_prev=prefix ;;
10937: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10938: ;;
10939: --disable-option-checking)
10940: ;;
10941: *)
10942: case $ac_arg in
10943: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10944: esac
10945: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10946: esac
10947: done
10948:
10949: # Always prepend --prefix to ensure using the same prefix
10950: # in subdir configurations.
10951: ac_arg="--prefix=$prefix"
10952: case $ac_arg in
10953: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10954: esac
10955: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10956:
10957: # Pass --silent
10958: if test "$silent" = yes; then
10959: ac_sub_configure_args="--silent $ac_sub_configure_args"
10960: fi
10961:
10962: # Always prepend --disable-option-checking to silence warnings, since
10963: # different subdirs can have different --enable and --with options.
10964: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10965:
10966: ac_popdir=`pwd`
10967: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10968:
10969: # Do not complain, so a configure script can configure whichever
10970: # parts of a large source tree are present.
10971: test -d "$srcdir/$ac_dir" || continue
10972:
10973: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10974: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10975: $as_echo "$ac_msg" >&6
10976: as_dir="$ac_dir"; as_fn_mkdir_p
10977: ac_builddir=.
10978:
10979: case "$ac_dir" in
10980: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10981: *)
10982: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10983: # A ".." for each directory in $ac_dir_suffix.
10984: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10985: case $ac_top_builddir_sub in
10986: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10987: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10988: esac ;;
10989: esac
10990: ac_abs_top_builddir=$ac_pwd
10991: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10992: # for backward compatibility:
10993: ac_top_builddir=$ac_top_build_prefix
10994:
10995: case $srcdir in
10996: .) # We are building in place.
10997: ac_srcdir=.
10998: ac_top_srcdir=$ac_top_builddir_sub
10999: ac_abs_top_srcdir=$ac_pwd ;;
11000: [\\/]* | ?:[\\/]* ) # Absolute name.
11001: ac_srcdir=$srcdir$ac_dir_suffix;
11002: ac_top_srcdir=$srcdir
11003: ac_abs_top_srcdir=$srcdir ;;
11004: *) # Relative name.
11005: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11006: ac_top_srcdir=$ac_top_build_prefix$srcdir
11007: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11008: esac
11009: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11010:
11011:
11012: cd "$ac_dir"
11013:
11014: # Check for guested configure; otherwise get Cygnus style configure.
11015: if test -f "$ac_srcdir/configure.gnu"; then
11016: ac_sub_configure=$ac_srcdir/configure.gnu
11017: elif test -f "$ac_srcdir/configure"; then
11018: ac_sub_configure=$ac_srcdir/configure
11019: elif test -f "$ac_srcdir/configure.in"; then
11020: # This should be Cygnus configure.
11021: ac_sub_configure=$ac_aux_dir/configure
11022: else
11023: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11024: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11025: ac_sub_configure=
11026: fi
11027:
11028: # The recursion is here.
11029: if test -n "$ac_sub_configure"; then
11030: # Make the cache file name correct relative to the subdirectory.
11031: case $cache_file in
11032: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11033: *) # Relative name.
11034: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11035: esac
11036:
11037: { $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
11038: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11039: # The eval makes quoting arguments work.
11040: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11041: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11042: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11043: fi
11044:
11045: cd "$ac_popdir"
11046: done
11047: fi
11048: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11049: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11050: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11051: fi
11052:
CVSweb interface <joel.bertrand@systella.fr>