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.
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'
561: PACKAGE_STRING='rpl 4.1.0'
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: with_32bits
782: enable_optimization
783: enable_sysv_semaphores
784: enable_full_static
785: enable_final_encoding
786: enable_tex
787: enable_vim
788: enable_embedded_gnuplot
789: enable_gnuplot
790: enable_motif
791: enable_experimental
792: enable_debug
793: enable_profile
794: enable_final_run_path
795: with_mysql
796: with_postgresql
797: with_bourne_shell
798: with_openssl_arch
799: '
800: ac_precious_vars='build_alias
801: host_alias
802: target_alias
803: CC
804: CFLAGS
805: LDFLAGS
806: LIBS
807: CPPFLAGS
808: CXX
809: CXXFLAGS
810: CCC
811: F77
812: FFLAGS
813: FC
814: FCFLAGS
815: XMKMF
816: CPP'
817: ac_subdirs_all='tools/$NCURSES
818: tools/$READLINE
819: tools/$GSL
820: tools/$GPP
821: tools/$FILE
822: tools/$ICONV
823: tools/$SQLITE
824: tools/$UNITS
825: tools/$GNUPLOT'
826:
827: # Initialize some variables set by options.
828: ac_init_help=
829: ac_init_version=false
830: ac_unrecognized_opts=
831: ac_unrecognized_sep=
832: # The variables have the same names as the options, with
833: # dashes changed to underlines.
834: cache_file=/dev/null
835: exec_prefix=NONE
836: no_create=
837: no_recursion=
838: prefix=NONE
839: program_prefix=NONE
840: program_suffix=NONE
841: program_transform_name=s,x,x,
842: silent=
843: site=
844: srcdir=
845: verbose=
846: x_includes=NONE
847: x_libraries=NONE
848:
849: # Installation directory options.
850: # These are left unexpanded so users can "make install exec_prefix=/foo"
851: # and all the variables that are supposed to be based on exec_prefix
852: # by default will actually change.
853: # Use braces instead of parens because sh, perl, etc. also accept them.
854: # (The list follows the same order as the GNU Coding Standards.)
855: bindir='${exec_prefix}/bin'
856: sbindir='${exec_prefix}/sbin'
857: libexecdir='${exec_prefix}/libexec'
858: datarootdir='${prefix}/share'
859: datadir='${datarootdir}'
860: sysconfdir='${prefix}/etc'
861: sharedstatedir='${prefix}/com'
862: localstatedir='${prefix}/var'
863: includedir='${prefix}/include'
864: oldincludedir='/usr/include'
865: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
866: infodir='${datarootdir}/info'
867: htmldir='${docdir}'
868: dvidir='${docdir}'
869: pdfdir='${docdir}'
870: psdir='${docdir}'
871: libdir='${exec_prefix}/lib'
872: localedir='${datarootdir}/locale'
873: mandir='${datarootdir}/man'
874:
875: ac_prev=
876: ac_dashdash=
877: for ac_option
878: do
879: # If the previous option needs an argument, assign it.
880: if test -n "$ac_prev"; then
881: eval $ac_prev=\$ac_option
882: ac_prev=
883: continue
884: fi
885:
886: case $ac_option in
887: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
888: *=) ac_optarg= ;;
889: *) ac_optarg=yes ;;
890: esac
891:
892: # Accept the important Cygnus configure options, so we can diagnose typos.
893:
894: case $ac_dashdash$ac_option in
895: --)
896: ac_dashdash=yes ;;
897:
898: -bindir | --bindir | --bindi | --bind | --bin | --bi)
899: ac_prev=bindir ;;
900: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
901: bindir=$ac_optarg ;;
902:
903: -build | --build | --buil | --bui | --bu)
904: ac_prev=build_alias ;;
905: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
906: build_alias=$ac_optarg ;;
907:
908: -cache-file | --cache-file | --cache-fil | --cache-fi \
909: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
910: ac_prev=cache_file ;;
911: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
912: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
913: cache_file=$ac_optarg ;;
914:
915: --config-cache | -C)
916: cache_file=config.cache ;;
917:
918: -datadir | --datadir | --datadi | --datad)
919: ac_prev=datadir ;;
920: -datadir=* | --datadir=* | --datadi=* | --datad=*)
921: datadir=$ac_optarg ;;
922:
923: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
924: | --dataroo | --dataro | --datar)
925: ac_prev=datarootdir ;;
926: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
927: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
928: datarootdir=$ac_optarg ;;
929:
930: -disable-* | --disable-*)
931: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
932: # Reject names that are not valid shell variable names.
933: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934: as_fn_error $? "invalid feature name: $ac_useropt"
935: ac_useropt_orig=$ac_useropt
936: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937: case $ac_user_opts in
938: *"
939: "enable_$ac_useropt"
940: "*) ;;
941: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
942: ac_unrecognized_sep=', ';;
943: esac
944: eval enable_$ac_useropt=no ;;
945:
946: -docdir | --docdir | --docdi | --doc | --do)
947: ac_prev=docdir ;;
948: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
949: docdir=$ac_optarg ;;
950:
951: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
952: ac_prev=dvidir ;;
953: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
954: dvidir=$ac_optarg ;;
955:
956: -enable-* | --enable-*)
957: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
958: # Reject names that are not valid shell variable names.
959: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960: as_fn_error $? "invalid feature name: $ac_useropt"
961: ac_useropt_orig=$ac_useropt
962: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963: case $ac_user_opts in
964: *"
965: "enable_$ac_useropt"
966: "*) ;;
967: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
968: ac_unrecognized_sep=', ';;
969: esac
970: eval enable_$ac_useropt=\$ac_optarg ;;
971:
972: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
973: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
974: | --exec | --exe | --ex)
975: ac_prev=exec_prefix ;;
976: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
977: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
978: | --exec=* | --exe=* | --ex=*)
979: exec_prefix=$ac_optarg ;;
980:
981: -gas | --gas | --ga | --g)
982: # Obsolete; use --with-gas.
983: with_gas=yes ;;
984:
985: -help | --help | --hel | --he | -h)
986: ac_init_help=long ;;
987: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
988: ac_init_help=recursive ;;
989: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
990: ac_init_help=short ;;
991:
992: -host | --host | --hos | --ho)
993: ac_prev=host_alias ;;
994: -host=* | --host=* | --hos=* | --ho=*)
995: host_alias=$ac_optarg ;;
996:
997: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
998: ac_prev=htmldir ;;
999: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1000: | --ht=*)
1001: htmldir=$ac_optarg ;;
1002:
1003: -includedir | --includedir | --includedi | --included | --include \
1004: | --includ | --inclu | --incl | --inc)
1005: ac_prev=includedir ;;
1006: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1007: | --includ=* | --inclu=* | --incl=* | --inc=*)
1008: includedir=$ac_optarg ;;
1009:
1010: -infodir | --infodir | --infodi | --infod | --info | --inf)
1011: ac_prev=infodir ;;
1012: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1013: infodir=$ac_optarg ;;
1014:
1015: -libdir | --libdir | --libdi | --libd)
1016: ac_prev=libdir ;;
1017: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1018: libdir=$ac_optarg ;;
1019:
1020: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1021: | --libexe | --libex | --libe)
1022: ac_prev=libexecdir ;;
1023: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1024: | --libexe=* | --libex=* | --libe=*)
1025: libexecdir=$ac_optarg ;;
1026:
1027: -localedir | --localedir | --localedi | --localed | --locale)
1028: ac_prev=localedir ;;
1029: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1030: localedir=$ac_optarg ;;
1031:
1032: -localstatedir | --localstatedir | --localstatedi | --localstated \
1033: | --localstate | --localstat | --localsta | --localst | --locals)
1034: ac_prev=localstatedir ;;
1035: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1036: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1037: localstatedir=$ac_optarg ;;
1038:
1039: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1040: ac_prev=mandir ;;
1041: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1042: mandir=$ac_optarg ;;
1043:
1044: -nfp | --nfp | --nf)
1045: # Obsolete; use --without-fp.
1046: with_fp=no ;;
1047:
1048: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1049: | --no-cr | --no-c | -n)
1050: no_create=yes ;;
1051:
1052: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1053: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1054: no_recursion=yes ;;
1055:
1056: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1057: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1058: | --oldin | --oldi | --old | --ol | --o)
1059: ac_prev=oldincludedir ;;
1060: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1061: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1062: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1063: oldincludedir=$ac_optarg ;;
1064:
1065: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1066: ac_prev=prefix ;;
1067: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1068: prefix=$ac_optarg ;;
1069:
1070: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1071: | --program-pre | --program-pr | --program-p)
1072: ac_prev=program_prefix ;;
1073: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1074: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1075: program_prefix=$ac_optarg ;;
1076:
1077: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1078: | --program-suf | --program-su | --program-s)
1079: ac_prev=program_suffix ;;
1080: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1081: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1082: program_suffix=$ac_optarg ;;
1083:
1084: -program-transform-name | --program-transform-name \
1085: | --program-transform-nam | --program-transform-na \
1086: | --program-transform-n | --program-transform- \
1087: | --program-transform | --program-transfor \
1088: | --program-transfo | --program-transf \
1089: | --program-trans | --program-tran \
1090: | --progr-tra | --program-tr | --program-t)
1091: ac_prev=program_transform_name ;;
1092: -program-transform-name=* | --program-transform-name=* \
1093: | --program-transform-nam=* | --program-transform-na=* \
1094: | --program-transform-n=* | --program-transform-=* \
1095: | --program-transform=* | --program-transfor=* \
1096: | --program-transfo=* | --program-transf=* \
1097: | --program-trans=* | --program-tran=* \
1098: | --progr-tra=* | --program-tr=* | --program-t=*)
1099: program_transform_name=$ac_optarg ;;
1100:
1101: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1102: ac_prev=pdfdir ;;
1103: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1104: pdfdir=$ac_optarg ;;
1105:
1106: -psdir | --psdir | --psdi | --psd | --ps)
1107: ac_prev=psdir ;;
1108: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1109: psdir=$ac_optarg ;;
1110:
1111: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1112: | -silent | --silent | --silen | --sile | --sil)
1113: silent=yes ;;
1114:
1115: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1116: ac_prev=sbindir ;;
1117: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1118: | --sbi=* | --sb=*)
1119: sbindir=$ac_optarg ;;
1120:
1121: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1122: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1123: | --sharedst | --shareds | --shared | --share | --shar \
1124: | --sha | --sh)
1125: ac_prev=sharedstatedir ;;
1126: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1127: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1128: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1129: | --sha=* | --sh=*)
1130: sharedstatedir=$ac_optarg ;;
1131:
1132: -site | --site | --sit)
1133: ac_prev=site ;;
1134: -site=* | --site=* | --sit=*)
1135: site=$ac_optarg ;;
1136:
1137: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1138: ac_prev=srcdir ;;
1139: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1140: srcdir=$ac_optarg ;;
1141:
1142: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1143: | --syscon | --sysco | --sysc | --sys | --sy)
1144: ac_prev=sysconfdir ;;
1145: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1146: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1147: sysconfdir=$ac_optarg ;;
1148:
1149: -target | --target | --targe | --targ | --tar | --ta | --t)
1150: ac_prev=target_alias ;;
1151: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1152: target_alias=$ac_optarg ;;
1153:
1154: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1155: verbose=yes ;;
1156:
1157: -version | --version | --versio | --versi | --vers | -V)
1158: ac_init_version=: ;;
1159:
1160: -with-* | --with-*)
1161: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1162: # Reject names that are not valid shell variable names.
1163: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1164: as_fn_error $? "invalid package name: $ac_useropt"
1165: ac_useropt_orig=$ac_useropt
1166: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167: case $ac_user_opts in
1168: *"
1169: "with_$ac_useropt"
1170: "*) ;;
1171: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1172: ac_unrecognized_sep=', ';;
1173: esac
1174: eval with_$ac_useropt=\$ac_optarg ;;
1175:
1176: -without-* | --without-*)
1177: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1178: # Reject names that are not valid shell variable names.
1179: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180: as_fn_error $? "invalid package name: $ac_useropt"
1181: ac_useropt_orig=$ac_useropt
1182: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183: case $ac_user_opts in
1184: *"
1185: "with_$ac_useropt"
1186: "*) ;;
1187: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1188: ac_unrecognized_sep=', ';;
1189: esac
1190: eval with_$ac_useropt=no ;;
1191:
1192: --x)
1193: # Obsolete; use --with-x.
1194: with_x=yes ;;
1195:
1196: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1197: | --x-incl | --x-inc | --x-in | --x-i)
1198: ac_prev=x_includes ;;
1199: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1200: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1201: x_includes=$ac_optarg ;;
1202:
1203: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1204: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1205: ac_prev=x_libraries ;;
1206: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1207: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1208: x_libraries=$ac_optarg ;;
1209:
1210: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1211: Try \`$0 --help' for more information"
1212: ;;
1213:
1214: *=*)
1215: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1216: # Reject names that are not valid shell variable names.
1217: case $ac_envvar in #(
1218: '' | [0-9]* | *[!_$as_cr_alnum]* )
1219: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1220: esac
1221: eval $ac_envvar=\$ac_optarg
1222: export $ac_envvar ;;
1223:
1224: *)
1225: # FIXME: should be removed in autoconf 3.0.
1226: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1227: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1228: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1229: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1230: ;;
1231:
1232: esac
1233: done
1234:
1235: if test -n "$ac_prev"; then
1236: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1237: as_fn_error $? "missing argument to $ac_option"
1238: fi
1239:
1240: if test -n "$ac_unrecognized_opts"; then
1241: case $enable_option_checking in
1242: no) ;;
1243: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1244: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1245: esac
1246: fi
1247:
1248: # Check all directory arguments for consistency.
1249: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1250: datadir sysconfdir sharedstatedir localstatedir includedir \
1251: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1252: libdir localedir mandir
1253: do
1254: eval ac_val=\$$ac_var
1255: # Remove trailing slashes.
1256: case $ac_val in
1257: */ )
1258: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1259: eval $ac_var=\$ac_val;;
1260: esac
1261: # Be sure to have absolute directory names.
1262: case $ac_val in
1263: [\\/$]* | ?:[\\/]* ) continue;;
1264: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1265: esac
1266: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1267: done
1268:
1269: # There might be people who depend on the old broken behavior: `$host'
1270: # used to hold the argument of --host etc.
1271: # FIXME: To remove some day.
1272: build=$build_alias
1273: host=$host_alias
1274: target=$target_alias
1275:
1276: # FIXME: To remove some day.
1277: if test "x$host_alias" != x; then
1278: if test "x$build_alias" = x; then
1279: cross_compiling=maybe
1280: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1281: If a cross compiler is detected then cross compile mode will be used" >&2
1282: elif test "x$build_alias" != "x$host_alias"; then
1283: cross_compiling=yes
1284: fi
1285: fi
1286:
1287: ac_tool_prefix=
1288: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289:
1290: test "$silent" = yes && exec 6>/dev/null
1291:
1292:
1293: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1294: ac_ls_di=`ls -di .` &&
1295: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1296: as_fn_error $? "working directory cannot be determined"
1297: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1298: as_fn_error $? "pwd does not report name of working directory"
1299:
1300:
1301: # Find the source files, if location was not specified.
1302: if test -z "$srcdir"; then
1303: ac_srcdir_defaulted=yes
1304: # Try the directory containing this script, then the parent directory.
1305: ac_confdir=`$as_dirname -- "$as_myself" ||
1306: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1307: X"$as_myself" : 'X\(//\)[^/]' \| \
1308: X"$as_myself" : 'X\(//\)$' \| \
1309: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1310: $as_echo X"$as_myself" |
1311: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1312: s//\1/
1313: q
1314: }
1315: /^X\(\/\/\)[^/].*/{
1316: s//\1/
1317: q
1318: }
1319: /^X\(\/\/\)$/{
1320: s//\1/
1321: q
1322: }
1323: /^X\(\/\).*/{
1324: s//\1/
1325: q
1326: }
1327: s/.*/./; q'`
1328: srcdir=$ac_confdir
1329: if test ! -r "$srcdir/$ac_unique_file"; then
1330: srcdir=..
1331: fi
1332: else
1333: ac_srcdir_defaulted=no
1334: fi
1335: if test ! -r "$srcdir/$ac_unique_file"; then
1336: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1337: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338: fi
1339: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340: ac_abs_confdir=`(
1341: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342: pwd)`
1343: # When building in place, set srcdir=.
1344: if test "$ac_abs_confdir" = "$ac_pwd"; then
1345: srcdir=.
1346: fi
1347: # Remove unnecessary trailing slashes from srcdir.
1348: # Double slashes in file names in object file debugging info
1349: # mess up M-x gdb in Emacs.
1350: case $srcdir in
1351: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352: esac
1353: for ac_var in $ac_precious_vars; do
1354: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1355: eval ac_env_${ac_var}_value=\$${ac_var}
1356: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1357: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1358: done
1359:
1360: #
1361: # Report the --help message.
1362: #
1363: if test "$ac_init_help" = "long"; then
1364: # Omit some internal or obsolete options to make the list less imposing.
1365: # This message is too long to be a string in the A/UX 3.1 sh.
1366: cat <<_ACEOF
1367: \`configure' configures rpl 4.1.0 to adapt to many kinds of systems.
1368:
1369: Usage: $0 [OPTION]... [VAR=VALUE]...
1370:
1371: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1372: VAR=VALUE. See below for descriptions of some of the useful variables.
1373:
1374: Defaults for the options are specified in brackets.
1375:
1376: Configuration:
1377: -h, --help display this help and exit
1378: --help=short display options specific to this package
1379: --help=recursive display the short help of all the included packages
1380: -V, --version display version information and exit
1381: -q, --quiet, --silent do not print \`checking ...' messages
1382: --cache-file=FILE cache test results in FILE [disabled]
1383: -C, --config-cache alias for \`--cache-file=config.cache'
1384: -n, --no-create do not create output files
1385: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386:
1387: Installation directories:
1388: --prefix=PREFIX install architecture-independent files in PREFIX
1389: [$ac_default_prefix]
1390: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391: [PREFIX]
1392:
1393: By default, \`make install' will install all the files in
1394: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1395: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1396: for instance \`--prefix=\$HOME'.
1397:
1398: For better control, use the options below.
1399:
1400: Fine tuning of the installation directories:
1401: --bindir=DIR user executables [EPREFIX/bin]
1402: --sbindir=DIR system admin executables [EPREFIX/sbin]
1403: --libexecdir=DIR program executables [EPREFIX/libexec]
1404: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1405: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1406: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1407: --libdir=DIR object code libraries [EPREFIX/lib]
1408: --includedir=DIR C header files [PREFIX/include]
1409: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1410: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1411: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1412: --infodir=DIR info documentation [DATAROOTDIR/info]
1413: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1414: --mandir=DIR man documentation [DATAROOTDIR/man]
1415: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1416: --htmldir=DIR html documentation [DOCDIR]
1417: --dvidir=DIR dvi documentation [DOCDIR]
1418: --pdfdir=DIR pdf documentation [DOCDIR]
1419: --psdir=DIR ps documentation [DOCDIR]
1420: _ACEOF
1421:
1422: cat <<\_ACEOF
1423:
1424: Program names:
1425: --program-prefix=PREFIX prepend PREFIX to installed program names
1426: --program-suffix=SUFFIX append SUFFIX to installed program names
1427: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1428:
1429: X features:
1430: --x-includes=DIR X include files are in DIR
1431: --x-libraries=DIR X library files are in DIR
1432:
1433: System types:
1434: --build=BUILD configure for building on BUILD [guessed]
1435: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436: --target=TARGET configure for building compilers for TARGET [HOST]
1437: _ACEOF
1438: fi
1439:
1440: if test -n "$ac_init_help"; then
1441: case $ac_init_help in
1442: short | recursive ) echo "Configuration of rpl 4.1.0:";;
1443: esac
1444: cat <<\_ACEOF
1445:
1446: Optional Features:
1447: --disable-option-checking ignore unrecognized --enable/--with options
1448: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450: --disable-dependency-tracking speeds up one-time build
1451: --enable-dependency-tracking do not reject slow dependency extractors
1452: --enable-optimization set compiler flags [default=environment variables -O3]
1453: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1454: --enable-full-static build static RPL/2 engine [default=shared]
1455: --enable-final-encoding force final encoding [default=guessed]
1456: --enable-tex provide the TeX support [default=guessed]
1457: --enable-vim provide the vim support [default=guessed]
1458: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1459: --enable-gnuplot provide the GnuPlot support [default=guessed]
1460: --enable-motif provide the Motif support [default=guessed]
1461: --enable-experimental enable experimental code [default=no]
1462: --enable-debug enable debug code [default=no]
1463: --enable-profile enable profile code [default=no]
1464: --enable-final-run-path=PATH enable another final run path than PREFIX
1465:
1466: Optional Packages:
1467: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469: --with-x use the X Window System
1470: --with-32bits-abi force 32bits ABI (multilib)
1471: --with-mysql=PATH specify directory for installed mysql
1472: --with-postgresql=PATH specify directory for installed postgresql
1473: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1474: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1475:
1476: Some influential environment variables:
1477: CC C compiler command
1478: CFLAGS C compiler flags
1479: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1480: nonstandard directory <lib dir>
1481: LIBS libraries to pass to the linker, e.g. -l<library>
1482: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1483: you have headers in a nonstandard directory <include dir>
1484: CXX C++ compiler command
1485: CXXFLAGS C++ compiler flags
1486: F77 Fortran 77 compiler command
1487: FFLAGS Fortran 77 compiler flags
1488: FC Fortran compiler command
1489: FCFLAGS Fortran compiler flags
1490: XMKMF Path to xmkmf, Makefile generator for X Window System
1491: CPP C preprocessor
1492:
1493: Use these variables to override the choices made by `configure' or to help
1494: it to find libraries and programs with nonstandard names/locations.
1495:
1496: Report bugs to the package provider.
1497: _ACEOF
1498: ac_status=$?
1499: fi
1500:
1501: if test "$ac_init_help" = "recursive"; then
1502: # If there are subdirs, report their specific --help.
1503: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504: test -d "$ac_dir" ||
1505: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506: continue
1507: ac_builddir=.
1508:
1509: case "$ac_dir" in
1510: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511: *)
1512: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1513: # A ".." for each directory in $ac_dir_suffix.
1514: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515: case $ac_top_builddir_sub in
1516: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518: esac ;;
1519: esac
1520: ac_abs_top_builddir=$ac_pwd
1521: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522: # for backward compatibility:
1523: ac_top_builddir=$ac_top_build_prefix
1524:
1525: case $srcdir in
1526: .) # We are building in place.
1527: ac_srcdir=.
1528: ac_top_srcdir=$ac_top_builddir_sub
1529: ac_abs_top_srcdir=$ac_pwd ;;
1530: [\\/]* | ?:[\\/]* ) # Absolute name.
1531: ac_srcdir=$srcdir$ac_dir_suffix;
1532: ac_top_srcdir=$srcdir
1533: ac_abs_top_srcdir=$srcdir ;;
1534: *) # Relative name.
1535: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536: ac_top_srcdir=$ac_top_build_prefix$srcdir
1537: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538: esac
1539: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540:
1541: cd "$ac_dir" || { ac_status=$?; continue; }
1542: # Check for guested configure.
1543: if test -f "$ac_srcdir/configure.gnu"; then
1544: echo &&
1545: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546: elif test -f "$ac_srcdir/configure"; then
1547: echo &&
1548: $SHELL "$ac_srcdir/configure" --help=recursive
1549: else
1550: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551: fi || ac_status=$?
1552: cd "$ac_pwd" || { ac_status=$?; break; }
1553: done
1554: fi
1555:
1556: test -n "$ac_init_help" && exit $ac_status
1557: if $ac_init_version; then
1558: cat <<\_ACEOF
1559: rpl configure 4.1.0
1560: generated by GNU Autoconf 2.68
1561:
1562: Copyright (C) 2010 Free Software Foundation, Inc.
1563: This configure script is free software; the Free Software Foundation
1564: gives unlimited permission to copy, distribute and modify it.
1565: _ACEOF
1566: exit
1567: fi
1568:
1569: ## ------------------------ ##
1570: ## Autoconf initialization. ##
1571: ## ------------------------ ##
1572:
1573: # ac_fn_c_try_compile LINENO
1574: # --------------------------
1575: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1576: ac_fn_c_try_compile ()
1577: {
1578: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579: rm -f conftest.$ac_objext
1580: if { { ac_try="$ac_compile"
1581: case "(($ac_try" in
1582: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583: *) ac_try_echo=$ac_try;;
1584: esac
1585: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586: $as_echo "$ac_try_echo"; } >&5
1587: (eval "$ac_compile") 2>conftest.err
1588: ac_status=$?
1589: if test -s conftest.err; then
1590: grep -v '^ *+' conftest.err >conftest.er1
1591: cat conftest.er1 >&5
1592: mv -f conftest.er1 conftest.err
1593: fi
1594: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595: test $ac_status = 0; } && {
1596: test -z "$ac_c_werror_flag" ||
1597: test ! -s conftest.err
1598: } && test -s conftest.$ac_objext; then :
1599: ac_retval=0
1600: else
1601: $as_echo "$as_me: failed program was:" >&5
1602: sed 's/^/| /' conftest.$ac_ext >&5
1603:
1604: ac_retval=1
1605: fi
1606: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607: as_fn_set_status $ac_retval
1608:
1609: } # ac_fn_c_try_compile
1610:
1611: # ac_fn_cxx_try_compile LINENO
1612: # ----------------------------
1613: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614: ac_fn_cxx_try_compile ()
1615: {
1616: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617: rm -f conftest.$ac_objext
1618: if { { ac_try="$ac_compile"
1619: case "(($ac_try" in
1620: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621: *) ac_try_echo=$ac_try;;
1622: esac
1623: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624: $as_echo "$ac_try_echo"; } >&5
1625: (eval "$ac_compile") 2>conftest.err
1626: ac_status=$?
1627: if test -s conftest.err; then
1628: grep -v '^ *+' conftest.err >conftest.er1
1629: cat conftest.er1 >&5
1630: mv -f conftest.er1 conftest.err
1631: fi
1632: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633: test $ac_status = 0; } && {
1634: test -z "$ac_cxx_werror_flag" ||
1635: test ! -s conftest.err
1636: } && test -s conftest.$ac_objext; then :
1637: ac_retval=0
1638: else
1639: $as_echo "$as_me: failed program was:" >&5
1640: sed 's/^/| /' conftest.$ac_ext >&5
1641:
1642: ac_retval=1
1643: fi
1644: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645: as_fn_set_status $ac_retval
1646:
1647: } # ac_fn_cxx_try_compile
1648:
1649: # ac_fn_f77_try_compile LINENO
1650: # ----------------------------
1651: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652: ac_fn_f77_try_compile ()
1653: {
1654: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655: rm -f conftest.$ac_objext
1656: if { { ac_try="$ac_compile"
1657: case "(($ac_try" in
1658: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659: *) ac_try_echo=$ac_try;;
1660: esac
1661: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662: $as_echo "$ac_try_echo"; } >&5
1663: (eval "$ac_compile") 2>conftest.err
1664: ac_status=$?
1665: if test -s conftest.err; then
1666: grep -v '^ *+' conftest.err >conftest.er1
1667: cat conftest.er1 >&5
1668: mv -f conftest.er1 conftest.err
1669: fi
1670: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671: test $ac_status = 0; } && {
1672: test -z "$ac_f77_werror_flag" ||
1673: test ! -s conftest.err
1674: } && test -s conftest.$ac_objext; then :
1675: ac_retval=0
1676: else
1677: $as_echo "$as_me: failed program was:" >&5
1678: sed 's/^/| /' conftest.$ac_ext >&5
1679:
1680: ac_retval=1
1681: fi
1682: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683: as_fn_set_status $ac_retval
1684:
1685: } # ac_fn_f77_try_compile
1686:
1687: # ac_fn_fc_try_compile LINENO
1688: # ---------------------------
1689: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690: ac_fn_fc_try_compile ()
1691: {
1692: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693: rm -f conftest.$ac_objext
1694: if { { ac_try="$ac_compile"
1695: case "(($ac_try" in
1696: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697: *) ac_try_echo=$ac_try;;
1698: esac
1699: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700: $as_echo "$ac_try_echo"; } >&5
1701: (eval "$ac_compile") 2>conftest.err
1702: ac_status=$?
1703: if test -s conftest.err; then
1704: grep -v '^ *+' conftest.err >conftest.er1
1705: cat conftest.er1 >&5
1706: mv -f conftest.er1 conftest.err
1707: fi
1708: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709: test $ac_status = 0; } && {
1710: test -z "$ac_fc_werror_flag" ||
1711: test ! -s conftest.err
1712: } && test -s conftest.$ac_objext; then :
1713: ac_retval=0
1714: else
1715: $as_echo "$as_me: failed program was:" >&5
1716: sed 's/^/| /' conftest.$ac_ext >&5
1717:
1718: ac_retval=1
1719: fi
1720: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721: as_fn_set_status $ac_retval
1722:
1723: } # ac_fn_fc_try_compile
1724:
1725: # ac_fn_c_try_cpp LINENO
1726: # ----------------------
1727: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728: ac_fn_c_try_cpp ()
1729: {
1730: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731: if { { ac_try="$ac_cpp conftest.$ac_ext"
1732: case "(($ac_try" in
1733: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734: *) ac_try_echo=$ac_try;;
1735: esac
1736: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737: $as_echo "$ac_try_echo"; } >&5
1738: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739: ac_status=$?
1740: if test -s conftest.err; then
1741: grep -v '^ *+' conftest.err >conftest.er1
1742: cat conftest.er1 >&5
1743: mv -f conftest.er1 conftest.err
1744: fi
1745: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746: test $ac_status = 0; } > conftest.i && {
1747: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748: test ! -s conftest.err
1749: }; then :
1750: ac_retval=0
1751: else
1752: $as_echo "$as_me: failed program was:" >&5
1753: sed 's/^/| /' conftest.$ac_ext >&5
1754:
1755: ac_retval=1
1756: fi
1757: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758: as_fn_set_status $ac_retval
1759:
1760: } # ac_fn_c_try_cpp
1761:
1762: # ac_fn_c_try_link LINENO
1763: # -----------------------
1764: # Try to link conftest.$ac_ext, and return whether this succeeded.
1765: ac_fn_c_try_link ()
1766: {
1767: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768: rm -f conftest.$ac_objext conftest$ac_exeext
1769: if { { ac_try="$ac_link"
1770: case "(($ac_try" in
1771: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772: *) ac_try_echo=$ac_try;;
1773: esac
1774: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775: $as_echo "$ac_try_echo"; } >&5
1776: (eval "$ac_link") 2>conftest.err
1777: ac_status=$?
1778: if test -s conftest.err; then
1779: grep -v '^ *+' conftest.err >conftest.er1
1780: cat conftest.er1 >&5
1781: mv -f conftest.er1 conftest.err
1782: fi
1783: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784: test $ac_status = 0; } && {
1785: test -z "$ac_c_werror_flag" ||
1786: test ! -s conftest.err
1787: } && test -s conftest$ac_exeext && {
1788: test "$cross_compiling" = yes ||
1789: $as_test_x conftest$ac_exeext
1790: }; then :
1791: ac_retval=0
1792: else
1793: $as_echo "$as_me: failed program was:" >&5
1794: sed 's/^/| /' conftest.$ac_ext >&5
1795:
1796: ac_retval=1
1797: fi
1798: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800: # interfere with the next link command; also delete a directory that is
1801: # left behind by Apple's compiler. We do this before executing the actions.
1802: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804: as_fn_set_status $ac_retval
1805:
1806: } # ac_fn_c_try_link
1807:
1808: # ac_fn_c_check_func LINENO FUNC VAR
1809: # ----------------------------------
1810: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811: ac_fn_c_check_func ()
1812: {
1813: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815: $as_echo_n "checking for $2... " >&6; }
1816: if eval \${$3+:} false; then :
1817: $as_echo_n "(cached) " >&6
1818: else
1819: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820: /* end confdefs.h. */
1821: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1822: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1823: #define $2 innocuous_$2
1824:
1825: /* System header to define __stub macros and hopefully few prototypes,
1826: which can conflict with char $2 (); below.
1827: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1828: <limits.h> exists even on freestanding compilers. */
1829:
1830: #ifdef __STDC__
1831: # include <limits.h>
1832: #else
1833: # include <assert.h>
1834: #endif
1835:
1836: #undef $2
1837:
1838: /* Override any GCC internal prototype to avoid an error.
1839: Use char because int might match the return type of a GCC
1840: builtin and then its argument prototype would still apply. */
1841: #ifdef __cplusplus
1842: extern "C"
1843: #endif
1844: char $2 ();
1845: /* The GNU C library defines this for functions which it implements
1846: to always fail with ENOSYS. Some functions are actually named
1847: something starting with __ and the normal name is an alias. */
1848: #if defined __stub_$2 || defined __stub___$2
1849: choke me
1850: #endif
1851:
1852: int
1853: main ()
1854: {
1855: return $2 ();
1856: ;
1857: return 0;
1858: }
1859: _ACEOF
1860: if ac_fn_c_try_link "$LINENO"; then :
1861: eval "$3=yes"
1862: else
1863: eval "$3=no"
1864: fi
1865: rm -f core conftest.err conftest.$ac_objext \
1866: conftest$ac_exeext conftest.$ac_ext
1867: fi
1868: eval ac_res=\$$3
1869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870: $as_echo "$ac_res" >&6; }
1871: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872:
1873: } # ac_fn_c_check_func
1874:
1875: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1876: # -------------------------------------------
1877: # Tests whether TYPE exists after having included INCLUDES, setting cache
1878: # variable VAR accordingly.
1879: ac_fn_c_check_type ()
1880: {
1881: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883: $as_echo_n "checking for $2... " >&6; }
1884: if eval \${$3+:} false; then :
1885: $as_echo_n "(cached) " >&6
1886: else
1887: eval "$3=no"
1888: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889: /* end confdefs.h. */
1890: $4
1891: int
1892: main ()
1893: {
1894: if (sizeof ($2))
1895: return 0;
1896: ;
1897: return 0;
1898: }
1899: _ACEOF
1900: if ac_fn_c_try_compile "$LINENO"; then :
1901: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902: /* end confdefs.h. */
1903: $4
1904: int
1905: main ()
1906: {
1907: if (sizeof (($2)))
1908: return 0;
1909: ;
1910: return 0;
1911: }
1912: _ACEOF
1913: if ac_fn_c_try_compile "$LINENO"; then :
1914:
1915: else
1916: eval "$3=yes"
1917: fi
1918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919: fi
1920: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921: fi
1922: eval ac_res=\$$3
1923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924: $as_echo "$ac_res" >&6; }
1925: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926:
1927: } # ac_fn_c_check_type
1928:
1929: # ac_fn_c_try_run LINENO
1930: # ----------------------
1931: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1932: # that executables *can* be run.
1933: ac_fn_c_try_run ()
1934: {
1935: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936: if { { ac_try="$ac_link"
1937: case "(($ac_try" in
1938: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939: *) ac_try_echo=$ac_try;;
1940: esac
1941: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942: $as_echo "$ac_try_echo"; } >&5
1943: (eval "$ac_link") 2>&5
1944: ac_status=$?
1945: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1947: { { case "(($ac_try" in
1948: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949: *) ac_try_echo=$ac_try;;
1950: esac
1951: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952: $as_echo "$ac_try_echo"; } >&5
1953: (eval "$ac_try") 2>&5
1954: ac_status=$?
1955: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956: test $ac_status = 0; }; }; then :
1957: ac_retval=0
1958: else
1959: $as_echo "$as_me: program exited with status $ac_status" >&5
1960: $as_echo "$as_me: failed program was:" >&5
1961: sed 's/^/| /' conftest.$ac_ext >&5
1962:
1963: ac_retval=$ac_status
1964: fi
1965: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967: as_fn_set_status $ac_retval
1968:
1969: } # ac_fn_c_try_run
1970:
1971: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1972: # --------------------------------------------
1973: # Tries to find the compile-time value of EXPR in a program that includes
1974: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1975: # computed
1976: ac_fn_c_compute_int ()
1977: {
1978: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979: if test "$cross_compiling" = yes; then
1980: # Depending upon the size, compute the lo and hi bounds.
1981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982: /* end confdefs.h. */
1983: $4
1984: int
1985: main ()
1986: {
1987: static int test_array [1 - 2 * !(($2) >= 0)];
1988: test_array [0] = 0
1989:
1990: ;
1991: return 0;
1992: }
1993: _ACEOF
1994: if ac_fn_c_try_compile "$LINENO"; then :
1995: ac_lo=0 ac_mid=0
1996: while :; do
1997: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998: /* end confdefs.h. */
1999: $4
2000: int
2001: main ()
2002: {
2003: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2004: test_array [0] = 0
2005:
2006: ;
2007: return 0;
2008: }
2009: _ACEOF
2010: if ac_fn_c_try_compile "$LINENO"; then :
2011: ac_hi=$ac_mid; break
2012: else
2013: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2014: if test $ac_lo -le $ac_mid; then
2015: ac_lo= ac_hi=
2016: break
2017: fi
2018: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2019: fi
2020: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021: done
2022: else
2023: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024: /* end confdefs.h. */
2025: $4
2026: int
2027: main ()
2028: {
2029: static int test_array [1 - 2 * !(($2) < 0)];
2030: test_array [0] = 0
2031:
2032: ;
2033: return 0;
2034: }
2035: _ACEOF
2036: if ac_fn_c_try_compile "$LINENO"; then :
2037: ac_hi=-1 ac_mid=-1
2038: while :; do
2039: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040: /* end confdefs.h. */
2041: $4
2042: int
2043: main ()
2044: {
2045: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2046: test_array [0] = 0
2047:
2048: ;
2049: return 0;
2050: }
2051: _ACEOF
2052: if ac_fn_c_try_compile "$LINENO"; then :
2053: ac_lo=$ac_mid; break
2054: else
2055: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2056: if test $ac_mid -le $ac_hi; then
2057: ac_lo= ac_hi=
2058: break
2059: fi
2060: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2061: fi
2062: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063: done
2064: else
2065: ac_lo= ac_hi=
2066: fi
2067: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068: fi
2069: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070: # Binary search between lo and hi bounds.
2071: while test "x$ac_lo" != "x$ac_hi"; do
2072: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2073: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074: /* end confdefs.h. */
2075: $4
2076: int
2077: main ()
2078: {
2079: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2080: test_array [0] = 0
2081:
2082: ;
2083: return 0;
2084: }
2085: _ACEOF
2086: if ac_fn_c_try_compile "$LINENO"; then :
2087: ac_hi=$ac_mid
2088: else
2089: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2090: fi
2091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092: done
2093: case $ac_lo in #((
2094: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2095: '') ac_retval=1 ;;
2096: esac
2097: else
2098: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099: /* end confdefs.h. */
2100: $4
2101: static long int longval () { return $2; }
2102: static unsigned long int ulongval () { return $2; }
2103: #include <stdio.h>
2104: #include <stdlib.h>
2105: int
2106: main ()
2107: {
2108:
2109: FILE *f = fopen ("conftest.val", "w");
2110: if (! f)
2111: return 1;
2112: if (($2) < 0)
2113: {
2114: long int i = longval ();
2115: if (i != ($2))
2116: return 1;
2117: fprintf (f, "%ld", i);
2118: }
2119: else
2120: {
2121: unsigned long int i = ulongval ();
2122: if (i != ($2))
2123: return 1;
2124: fprintf (f, "%lu", i);
2125: }
2126: /* Do not output a trailing newline, as this causes \r\n confusion
2127: on some platforms. */
2128: return ferror (f) || fclose (f) != 0;
2129:
2130: ;
2131: return 0;
2132: }
2133: _ACEOF
2134: if ac_fn_c_try_run "$LINENO"; then :
2135: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2136: else
2137: ac_retval=1
2138: fi
2139: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2140: conftest.$ac_objext conftest.beam conftest.$ac_ext
2141: rm -f conftest.val
2142:
2143: fi
2144: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145: as_fn_set_status $ac_retval
2146:
2147: } # ac_fn_c_compute_int
2148:
2149: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2150: # -------------------------------------------------------
2151: # Tests whether HEADER exists and can be compiled using the include files in
2152: # INCLUDES, setting the cache variable VAR accordingly.
2153: ac_fn_c_check_header_compile ()
2154: {
2155: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157: $as_echo_n "checking for $2... " >&6; }
2158: if eval \${$3+:} false; then :
2159: $as_echo_n "(cached) " >&6
2160: else
2161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162: /* end confdefs.h. */
2163: $4
2164: #include <$2>
2165: _ACEOF
2166: if ac_fn_c_try_compile "$LINENO"; then :
2167: eval "$3=yes"
2168: else
2169: eval "$3=no"
2170: fi
2171: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172: fi
2173: eval ac_res=\$$3
2174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175: $as_echo "$ac_res" >&6; }
2176: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177:
2178: } # ac_fn_c_check_header_compile
2179:
2180: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2181: # -------------------------------------------------------
2182: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2183: # the include files in INCLUDES and setting the cache variable VAR
2184: # accordingly.
2185: ac_fn_c_check_header_mongrel ()
2186: {
2187: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2188: if eval \${$3+:} false; then :
2189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190: $as_echo_n "checking for $2... " >&6; }
2191: if eval \${$3+:} false; then :
2192: $as_echo_n "(cached) " >&6
2193: fi
2194: eval ac_res=\$$3
2195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196: $as_echo "$ac_res" >&6; }
2197: else
2198: # Is the header compilable?
2199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2200: $as_echo_n "checking $2 usability... " >&6; }
2201: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202: /* end confdefs.h. */
2203: $4
2204: #include <$2>
2205: _ACEOF
2206: if ac_fn_c_try_compile "$LINENO"; then :
2207: ac_header_compiler=yes
2208: else
2209: ac_header_compiler=no
2210: fi
2211: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2213: $as_echo "$ac_header_compiler" >&6; }
2214:
2215: # Is the header present?
2216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2217: $as_echo_n "checking $2 presence... " >&6; }
2218: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219: /* end confdefs.h. */
2220: #include <$2>
2221: _ACEOF
2222: if ac_fn_c_try_cpp "$LINENO"; then :
2223: ac_header_preproc=yes
2224: else
2225: ac_header_preproc=no
2226: fi
2227: rm -f conftest.err conftest.i conftest.$ac_ext
2228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2229: $as_echo "$ac_header_preproc" >&6; }
2230:
2231: # So? What about this header?
2232: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2233: yes:no: )
2234: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2235: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2236: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2237: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2238: ;;
2239: no:yes:* )
2240: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2241: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2242: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2243: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2244: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2245: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2246: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2247: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2248: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2249: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2250: ;;
2251: esac
2252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2253: $as_echo_n "checking for $2... " >&6; }
2254: if eval \${$3+:} false; then :
2255: $as_echo_n "(cached) " >&6
2256: else
2257: eval "$3=\$ac_header_compiler"
2258: fi
2259: eval ac_res=\$$3
2260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2261: $as_echo "$ac_res" >&6; }
2262: fi
2263: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2264:
2265: } # ac_fn_c_check_header_mongrel
2266: cat >config.log <<_ACEOF
2267: This file contains any messages produced by compilers while
2268: running configure, to aid debugging if configure makes a mistake.
2269:
2270: It was created by rpl $as_me 4.1.0, which was
2271: generated by GNU Autoconf 2.68. Invocation command line was
2272:
2273: $ $0 $@
2274:
2275: _ACEOF
2276: exec 5>>config.log
2277: {
2278: cat <<_ASUNAME
2279: ## --------- ##
2280: ## Platform. ##
2281: ## --------- ##
2282:
2283: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2284: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2285: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2286: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2287: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2288:
2289: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2290: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2291:
2292: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2293: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2294: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2295: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2296: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2297: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2298: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2299:
2300: _ASUNAME
2301:
2302: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303: for as_dir in $PATH
2304: do
2305: IFS=$as_save_IFS
2306: test -z "$as_dir" && as_dir=.
2307: $as_echo "PATH: $as_dir"
2308: done
2309: IFS=$as_save_IFS
2310:
2311: } >&5
2312:
2313: cat >&5 <<_ACEOF
2314:
2315:
2316: ## ----------- ##
2317: ## Core tests. ##
2318: ## ----------- ##
2319:
2320: _ACEOF
2321:
2322:
2323: # Keep a trace of the command line.
2324: # Strip out --no-create and --no-recursion so they do not pile up.
2325: # Strip out --silent because we don't want to record it for future runs.
2326: # Also quote any args containing shell meta-characters.
2327: # Make two passes to allow for proper duplicate-argument suppression.
2328: ac_configure_args=
2329: ac_configure_args0=
2330: ac_configure_args1=
2331: ac_must_keep_next=false
2332: for ac_pass in 1 2
2333: do
2334: for ac_arg
2335: do
2336: case $ac_arg in
2337: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2338: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2339: | -silent | --silent | --silen | --sile | --sil)
2340: continue ;;
2341: *\'*)
2342: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2343: esac
2344: case $ac_pass in
2345: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2346: 2)
2347: as_fn_append ac_configure_args1 " '$ac_arg'"
2348: if test $ac_must_keep_next = true; then
2349: ac_must_keep_next=false # Got value, back to normal.
2350: else
2351: case $ac_arg in
2352: *=* | --config-cache | -C | -disable-* | --disable-* \
2353: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2354: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2355: | -with-* | --with-* | -without-* | --without-* | --x)
2356: case "$ac_configure_args0 " in
2357: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2358: esac
2359: ;;
2360: -* ) ac_must_keep_next=true ;;
2361: esac
2362: fi
2363: as_fn_append ac_configure_args " '$ac_arg'"
2364: ;;
2365: esac
2366: done
2367: done
2368: { ac_configure_args0=; unset ac_configure_args0;}
2369: { ac_configure_args1=; unset ac_configure_args1;}
2370:
2371: # When interrupted or exit'd, cleanup temporary files, and complete
2372: # config.log. We remove comments because anyway the quotes in there
2373: # would cause problems or look ugly.
2374: # WARNING: Use '\'' to represent an apostrophe within the trap.
2375: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2376: trap 'exit_status=$?
2377: # Save into config.log some information that might help in debugging.
2378: {
2379: echo
2380:
2381: $as_echo "## ---------------- ##
2382: ## Cache variables. ##
2383: ## ---------------- ##"
2384: echo
2385: # The following way of writing the cache mishandles newlines in values,
2386: (
2387: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2388: eval ac_val=\$$ac_var
2389: case $ac_val in #(
2390: *${as_nl}*)
2391: case $ac_var in #(
2392: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2393: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2394: esac
2395: case $ac_var in #(
2396: _ | IFS | as_nl) ;; #(
2397: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2398: *) { eval $ac_var=; unset $ac_var;} ;;
2399: esac ;;
2400: esac
2401: done
2402: (set) 2>&1 |
2403: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2404: *${as_nl}ac_space=\ *)
2405: sed -n \
2406: "s/'\''/'\''\\\\'\'''\''/g;
2407: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2408: ;; #(
2409: *)
2410: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2411: ;;
2412: esac |
2413: sort
2414: )
2415: echo
2416:
2417: $as_echo "## ----------------- ##
2418: ## Output variables. ##
2419: ## ----------------- ##"
2420: echo
2421: for ac_var in $ac_subst_vars
2422: do
2423: eval ac_val=\$$ac_var
2424: case $ac_val in
2425: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426: esac
2427: $as_echo "$ac_var='\''$ac_val'\''"
2428: done | sort
2429: echo
2430:
2431: if test -n "$ac_subst_files"; then
2432: $as_echo "## ------------------- ##
2433: ## File substitutions. ##
2434: ## ------------------- ##"
2435: echo
2436: for ac_var in $ac_subst_files
2437: do
2438: eval ac_val=\$$ac_var
2439: case $ac_val in
2440: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2441: esac
2442: $as_echo "$ac_var='\''$ac_val'\''"
2443: done | sort
2444: echo
2445: fi
2446:
2447: if test -s confdefs.h; then
2448: $as_echo "## ----------- ##
2449: ## confdefs.h. ##
2450: ## ----------- ##"
2451: echo
2452: cat confdefs.h
2453: echo
2454: fi
2455: test "$ac_signal" != 0 &&
2456: $as_echo "$as_me: caught signal $ac_signal"
2457: $as_echo "$as_me: exit $exit_status"
2458: } >&5
2459: rm -f core *.core core.conftest.* &&
2460: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2461: exit $exit_status
2462: ' 0
2463: for ac_signal in 1 2 13 15; do
2464: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2465: done
2466: ac_signal=0
2467:
2468: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2469: rm -f -r conftest* confdefs.h
2470:
2471: $as_echo "/* confdefs.h */" > confdefs.h
2472:
2473: # Predefined preprocessor variables.
2474:
2475: cat >>confdefs.h <<_ACEOF
2476: #define PACKAGE_NAME "$PACKAGE_NAME"
2477: _ACEOF
2478:
2479: cat >>confdefs.h <<_ACEOF
2480: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2481: _ACEOF
2482:
2483: cat >>confdefs.h <<_ACEOF
2484: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2485: _ACEOF
2486:
2487: cat >>confdefs.h <<_ACEOF
2488: #define PACKAGE_STRING "$PACKAGE_STRING"
2489: _ACEOF
2490:
2491: cat >>confdefs.h <<_ACEOF
2492: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2493: _ACEOF
2494:
2495: cat >>confdefs.h <<_ACEOF
2496: #define PACKAGE_URL "$PACKAGE_URL"
2497: _ACEOF
2498:
2499:
2500: # Let the site file select an alternate cache file if it wants to.
2501: # Prefer an explicitly selected file to automatically selected ones.
2502: ac_site_file1=NONE
2503: ac_site_file2=NONE
2504: if test -n "$CONFIG_SITE"; then
2505: # We do not want a PATH search for config.site.
2506: case $CONFIG_SITE in #((
2507: -*) ac_site_file1=./$CONFIG_SITE;;
2508: */*) ac_site_file1=$CONFIG_SITE;;
2509: *) ac_site_file1=./$CONFIG_SITE;;
2510: esac
2511: elif test "x$prefix" != xNONE; then
2512: ac_site_file1=$prefix/share/config.site
2513: ac_site_file2=$prefix/etc/config.site
2514: else
2515: ac_site_file1=$ac_default_prefix/share/config.site
2516: ac_site_file2=$ac_default_prefix/etc/config.site
2517: fi
2518: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2519: do
2520: test "x$ac_site_file" = xNONE && continue
2521: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2522: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2523: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2524: sed 's/^/| /' "$ac_site_file" >&5
2525: . "$ac_site_file" \
2526: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528: as_fn_error $? "failed to load site script $ac_site_file
2529: See \`config.log' for more details" "$LINENO" 5; }
2530: fi
2531: done
2532:
2533: if test -r "$cache_file"; then
2534: # Some versions of bash will fail to source /dev/null (special files
2535: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2536: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2537: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2538: $as_echo "$as_me: loading cache $cache_file" >&6;}
2539: case $cache_file in
2540: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2541: *) . "./$cache_file";;
2542: esac
2543: fi
2544: else
2545: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2546: $as_echo "$as_me: creating cache $cache_file" >&6;}
2547: >$cache_file
2548: fi
2549:
2550: # Check that the precious variables saved in the cache have kept the same
2551: # value.
2552: ac_cache_corrupted=false
2553: for ac_var in $ac_precious_vars; do
2554: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2555: eval ac_new_set=\$ac_env_${ac_var}_set
2556: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2557: eval ac_new_val=\$ac_env_${ac_var}_value
2558: case $ac_old_set,$ac_new_set in
2559: set,)
2560: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2561: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2562: ac_cache_corrupted=: ;;
2563: ,set)
2564: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2565: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2566: ac_cache_corrupted=: ;;
2567: ,);;
2568: *)
2569: if test "x$ac_old_val" != "x$ac_new_val"; then
2570: # differences in whitespace do not lead to failure.
2571: ac_old_val_w=`echo x $ac_old_val`
2572: ac_new_val_w=`echo x $ac_new_val`
2573: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2574: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2575: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2576: ac_cache_corrupted=:
2577: else
2578: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2579: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2580: eval $ac_var=\$ac_old_val
2581: fi
2582: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2583: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2584: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2585: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2586: fi;;
2587: esac
2588: # Pass precious variables to config.status.
2589: if test "$ac_new_set" = set; then
2590: case $ac_new_val in
2591: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2592: *) ac_arg=$ac_var=$ac_new_val ;;
2593: esac
2594: case " $ac_configure_args " in
2595: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2596: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2597: esac
2598: fi
2599: done
2600: if $ac_cache_corrupted; then
2601: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2602: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2603: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2604: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2605: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2606: fi
2607: ## -------------------- ##
2608: ## Main body of script. ##
2609: ## -------------------- ##
2610:
2611: ac_ext=c
2612: ac_cpp='$CPP $CPPFLAGS'
2613: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2614: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2615: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2616:
2617:
2618: ac_aux_dir=
2619: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2620: if test -f "$ac_dir/install-sh"; then
2621: ac_aux_dir=$ac_dir
2622: ac_install_sh="$ac_aux_dir/install-sh -c"
2623: break
2624: elif test -f "$ac_dir/install.sh"; then
2625: ac_aux_dir=$ac_dir
2626: ac_install_sh="$ac_aux_dir/install.sh -c"
2627: break
2628: elif test -f "$ac_dir/shtool"; then
2629: ac_aux_dir=$ac_dir
2630: ac_install_sh="$ac_aux_dir/shtool install -c"
2631: break
2632: fi
2633: done
2634: if test -z "$ac_aux_dir"; then
2635: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2636: fi
2637:
2638: # These three variables are undocumented and unsupported,
2639: # and are intended to be withdrawn in a future Autoconf release.
2640: # They can cause serious problems if a builder's source tree is in a directory
2641: # whose full name contains unusual characters.
2642: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2643: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2644: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2645:
2646:
2647: # Make sure we can run config.sub.
2648: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2649: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2650:
2651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2652: $as_echo_n "checking build system type... " >&6; }
2653: if ${ac_cv_build+:} false; then :
2654: $as_echo_n "(cached) " >&6
2655: else
2656: ac_build_alias=$build_alias
2657: test "x$ac_build_alias" = x &&
2658: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2659: test "x$ac_build_alias" = x &&
2660: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2661: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2662: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2663:
2664: fi
2665: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2666: $as_echo "$ac_cv_build" >&6; }
2667: case $ac_cv_build in
2668: *-*-*) ;;
2669: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2670: esac
2671: build=$ac_cv_build
2672: ac_save_IFS=$IFS; IFS='-'
2673: set x $ac_cv_build
2674: shift
2675: build_cpu=$1
2676: build_vendor=$2
2677: shift; shift
2678: # Remember, the first character of IFS is used to create $*,
2679: # except with old shells:
2680: build_os=$*
2681: IFS=$ac_save_IFS
2682: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2683:
2684:
2685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2686: $as_echo_n "checking host system type... " >&6; }
2687: if ${ac_cv_host+:} false; then :
2688: $as_echo_n "(cached) " >&6
2689: else
2690: if test "x$host_alias" = x; then
2691: ac_cv_host=$ac_cv_build
2692: else
2693: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2694: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2695: fi
2696:
2697: fi
2698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2699: $as_echo "$ac_cv_host" >&6; }
2700: case $ac_cv_host in
2701: *-*-*) ;;
2702: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2703: esac
2704: host=$ac_cv_host
2705: ac_save_IFS=$IFS; IFS='-'
2706: set x $ac_cv_host
2707: shift
2708: host_cpu=$1
2709: host_vendor=$2
2710: shift; shift
2711: # Remember, the first character of IFS is used to create $*,
2712: # except with old shells:
2713: host_os=$*
2714: IFS=$ac_save_IFS
2715: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2716:
2717:
2718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2719: $as_echo_n "checking target system type... " >&6; }
2720: if ${ac_cv_target+:} false; then :
2721: $as_echo_n "(cached) " >&6
2722: else
2723: if test "x$target_alias" = x; then
2724: ac_cv_target=$ac_cv_host
2725: else
2726: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2727: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2728: fi
2729:
2730: fi
2731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2732: $as_echo "$ac_cv_target" >&6; }
2733: case $ac_cv_target in
2734: *-*-*) ;;
2735: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2736: esac
2737: target=$ac_cv_target
2738: ac_save_IFS=$IFS; IFS='-'
2739: set x $ac_cv_target
2740: shift
2741: target_cpu=$1
2742: target_vendor=$2
2743: shift; shift
2744: # Remember, the first character of IFS is used to create $*,
2745: # except with old shells:
2746: target_os=$*
2747: IFS=$ac_save_IFS
2748: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2749:
2750:
2751: # The aliases save the names the user supplied, while $host etc.
2752: # will get canonicalized.
2753: test -n "$target_alias" &&
2754: test "$program_prefix$program_suffix$program_transform_name" = \
2755: NONENONEs,x,x, &&
2756: program_prefix=${target_alias}-
2757:
2758: am__api_version='1.11'
2759:
2760: # Find a good install program. We prefer a C program (faster),
2761: # so one script is as good as another. But avoid the broken or
2762: # incompatible versions:
2763: # SysV /etc/install, /usr/sbin/install
2764: # SunOS /usr/etc/install
2765: # IRIX /sbin/install
2766: # AIX /bin/install
2767: # AmigaOS /C/install, which installs bootblocks on floppy discs
2768: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2769: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2770: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2771: # OS/2's system install, which has a completely different semantic
2772: # ./install, which can be erroneously created by make from ./install.sh.
2773: # Reject install programs that cannot install multiple files.
2774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2775: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2776: if test -z "$INSTALL"; then
2777: if ${ac_cv_path_install+:} false; then :
2778: $as_echo_n "(cached) " >&6
2779: else
2780: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781: for as_dir in $PATH
2782: do
2783: IFS=$as_save_IFS
2784: test -z "$as_dir" && as_dir=.
2785: # Account for people who put trailing slashes in PATH elements.
2786: case $as_dir/ in #((
2787: ./ | .// | /[cC]/* | \
2788: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2789: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2790: /usr/ucb/* ) ;;
2791: *)
2792: # OSF1 and SCO ODT 3.0 have their own names for install.
2793: # Don't use installbsd from OSF since it installs stuff as root
2794: # by default.
2795: for ac_prog in ginstall scoinst install; do
2796: for ac_exec_ext in '' $ac_executable_extensions; do
2797: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2798: if test $ac_prog = install &&
2799: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2800: # AIX install. It has an incompatible calling convention.
2801: :
2802: elif test $ac_prog = install &&
2803: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2804: # program-specific install script used by HP pwplus--don't use.
2805: :
2806: else
2807: rm -rf conftest.one conftest.two conftest.dir
2808: echo one > conftest.one
2809: echo two > conftest.two
2810: mkdir conftest.dir
2811: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2812: test -s conftest.one && test -s conftest.two &&
2813: test -s conftest.dir/conftest.one &&
2814: test -s conftest.dir/conftest.two
2815: then
2816: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2817: break 3
2818: fi
2819: fi
2820: fi
2821: done
2822: done
2823: ;;
2824: esac
2825:
2826: done
2827: IFS=$as_save_IFS
2828:
2829: rm -rf conftest.one conftest.two conftest.dir
2830:
2831: fi
2832: if test "${ac_cv_path_install+set}" = set; then
2833: INSTALL=$ac_cv_path_install
2834: else
2835: # As a last resort, use the slow shell script. Don't cache a
2836: # value for INSTALL within a source directory, because that will
2837: # break other packages using the cache if that directory is
2838: # removed, or if the value is a relative name.
2839: INSTALL=$ac_install_sh
2840: fi
2841: fi
2842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2843: $as_echo "$INSTALL" >&6; }
2844:
2845: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2846: # It thinks the first close brace ends the variable substitution.
2847: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2848:
2849: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2850:
2851: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2852:
2853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2854: $as_echo_n "checking whether build environment is sane... " >&6; }
2855: # Just in case
2856: sleep 1
2857: echo timestamp > conftest.file
2858: # Reject unsafe characters in $srcdir or the absolute working directory
2859: # name. Accept space and tab only in the latter.
2860: am_lf='
2861: '
2862: case `pwd` in
2863: *[\\\"\#\$\&\'\`$am_lf]*)
2864: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2865: esac
2866: case $srcdir in
2867: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2868: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2869: esac
2870:
2871: # Do `set' in a subshell so we don't clobber the current shell's
2872: # arguments. Must try -L first in case configure is actually a
2873: # symlink; some systems play weird games with the mod time of symlinks
2874: # (eg FreeBSD returns the mod time of the symlink's containing
2875: # directory).
2876: if (
2877: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2878: if test "$*" = "X"; then
2879: # -L didn't work.
2880: set X `ls -t "$srcdir/configure" conftest.file`
2881: fi
2882: rm -f conftest.file
2883: if test "$*" != "X $srcdir/configure conftest.file" \
2884: && test "$*" != "X conftest.file $srcdir/configure"; then
2885:
2886: # If neither matched, then we have a broken ls. This can happen
2887: # if, for instance, CONFIG_SHELL is bash and it inherits a
2888: # broken ls alias from the environment. This has actually
2889: # happened. Such a system could not be considered "sane".
2890: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2891: alias in your environment" "$LINENO" 5
2892: fi
2893:
2894: test "$2" = conftest.file
2895: )
2896: then
2897: # Ok.
2898: :
2899: else
2900: as_fn_error $? "newly created file is older than distributed files!
2901: Check your system clock" "$LINENO" 5
2902: fi
2903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2904: $as_echo "yes" >&6; }
2905: test "$program_prefix" != NONE &&
2906: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2907: # Use a double $ so make ignores it.
2908: test "$program_suffix" != NONE &&
2909: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2910: # Double any \ or $.
2911: # By default was `s,x,x', remove it if useless.
2912: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2913: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2914:
2915: # expand $ac_aux_dir to an absolute path
2916: am_aux_dir=`cd $ac_aux_dir && pwd`
2917:
2918: if test x"${MISSING+set}" != xset; then
2919: case $am_aux_dir in
2920: *\ * | *\ *)
2921: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2922: *)
2923: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2924: esac
2925: fi
2926: # Use eval to expand $SHELL
2927: if eval "$MISSING --run true"; then
2928: am_missing_run="$MISSING --run "
2929: else
2930: am_missing_run=
2931: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2932: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2933: fi
2934:
2935: if test x"${install_sh}" != xset; then
2936: case $am_aux_dir in
2937: *\ * | *\ *)
2938: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2939: *)
2940: install_sh="\${SHELL} $am_aux_dir/install-sh"
2941: esac
2942: fi
2943:
2944: # Installed binaries are usually stripped using `strip' when the user
2945: # run `make install-strip'. However `strip' might not be the right
2946: # tool to use in cross-compilation environments, therefore Automake
2947: # will honor the `STRIP' environment variable to overrule this program.
2948: if test "$cross_compiling" != no; then
2949: if test -n "$ac_tool_prefix"; then
2950: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2951: set dummy ${ac_tool_prefix}strip; ac_word=$2
2952: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953: $as_echo_n "checking for $ac_word... " >&6; }
2954: if ${ac_cv_prog_STRIP+:} false; then :
2955: $as_echo_n "(cached) " >&6
2956: else
2957: if test -n "$STRIP"; then
2958: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2959: else
2960: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961: for as_dir in $PATH
2962: do
2963: IFS=$as_save_IFS
2964: test -z "$as_dir" && as_dir=.
2965: for ac_exec_ext in '' $ac_executable_extensions; do
2966: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2968: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969: break 2
2970: fi
2971: done
2972: done
2973: IFS=$as_save_IFS
2974:
2975: fi
2976: fi
2977: STRIP=$ac_cv_prog_STRIP
2978: if test -n "$STRIP"; then
2979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2980: $as_echo "$STRIP" >&6; }
2981: else
2982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983: $as_echo "no" >&6; }
2984: fi
2985:
2986:
2987: fi
2988: if test -z "$ac_cv_prog_STRIP"; then
2989: ac_ct_STRIP=$STRIP
2990: # Extract the first word of "strip", so it can be a program name with args.
2991: set dummy strip; ac_word=$2
2992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993: $as_echo_n "checking for $ac_word... " >&6; }
2994: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2995: $as_echo_n "(cached) " >&6
2996: else
2997: if test -n "$ac_ct_STRIP"; then
2998: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2999: else
3000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001: for as_dir in $PATH
3002: do
3003: IFS=$as_save_IFS
3004: test -z "$as_dir" && as_dir=.
3005: for ac_exec_ext in '' $ac_executable_extensions; do
3006: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007: ac_cv_prog_ac_ct_STRIP="strip"
3008: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009: break 2
3010: fi
3011: done
3012: done
3013: IFS=$as_save_IFS
3014:
3015: fi
3016: fi
3017: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3018: if test -n "$ac_ct_STRIP"; then
3019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3020: $as_echo "$ac_ct_STRIP" >&6; }
3021: else
3022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023: $as_echo "no" >&6; }
3024: fi
3025:
3026: if test "x$ac_ct_STRIP" = x; then
3027: STRIP=":"
3028: else
3029: case $cross_compiling:$ac_tool_warned in
3030: yes:)
3031: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033: ac_tool_warned=yes ;;
3034: esac
3035: STRIP=$ac_ct_STRIP
3036: fi
3037: else
3038: STRIP="$ac_cv_prog_STRIP"
3039: fi
3040:
3041: fi
3042: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3043:
3044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3045: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3046: if test -z "$MKDIR_P"; then
3047: if ${ac_cv_path_mkdir+:} false; then :
3048: $as_echo_n "(cached) " >&6
3049: else
3050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3052: do
3053: IFS=$as_save_IFS
3054: test -z "$as_dir" && as_dir=.
3055: for ac_prog in mkdir gmkdir; do
3056: for ac_exec_ext in '' $ac_executable_extensions; do
3057: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3058: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3059: 'mkdir (GNU coreutils) '* | \
3060: 'mkdir (coreutils) '* | \
3061: 'mkdir (fileutils) '4.1*)
3062: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3063: break 3;;
3064: esac
3065: done
3066: done
3067: done
3068: IFS=$as_save_IFS
3069:
3070: fi
3071:
3072: test -d ./--version && rmdir ./--version
3073: if test "${ac_cv_path_mkdir+set}" = set; then
3074: MKDIR_P="$ac_cv_path_mkdir -p"
3075: else
3076: # As a last resort, use the slow shell script. Don't cache a
3077: # value for MKDIR_P within a source directory, because that will
3078: # break other packages using the cache if that directory is
3079: # removed, or if the value is a relative name.
3080: MKDIR_P="$ac_install_sh -d"
3081: fi
3082: fi
3083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3084: $as_echo "$MKDIR_P" >&6; }
3085:
3086: mkdir_p="$MKDIR_P"
3087: case $mkdir_p in
3088: [\\/$]* | ?:[\\/]*) ;;
3089: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3090: esac
3091:
3092: for ac_prog in gawk mawk nawk awk
3093: do
3094: # Extract the first word of "$ac_prog", so it can be a program name with args.
3095: set dummy $ac_prog; ac_word=$2
3096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097: $as_echo_n "checking for $ac_word... " >&6; }
3098: if ${ac_cv_prog_AWK+:} false; then :
3099: $as_echo_n "(cached) " >&6
3100: else
3101: if test -n "$AWK"; then
3102: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3103: else
3104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105: for as_dir in $PATH
3106: do
3107: IFS=$as_save_IFS
3108: test -z "$as_dir" && as_dir=.
3109: for ac_exec_ext in '' $ac_executable_extensions; do
3110: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111: ac_cv_prog_AWK="$ac_prog"
3112: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113: break 2
3114: fi
3115: done
3116: done
3117: IFS=$as_save_IFS
3118:
3119: fi
3120: fi
3121: AWK=$ac_cv_prog_AWK
3122: if test -n "$AWK"; then
3123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3124: $as_echo "$AWK" >&6; }
3125: else
3126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127: $as_echo "no" >&6; }
3128: fi
3129:
3130:
3131: test -n "$AWK" && break
3132: done
3133:
3134: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3135: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3136: set x ${MAKE-make}
3137: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3138: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3139: $as_echo_n "(cached) " >&6
3140: else
3141: cat >conftest.make <<\_ACEOF
3142: SHELL = /bin/sh
3143: all:
3144: @echo '@@@%%%=$(MAKE)=@@@%%%'
3145: _ACEOF
3146: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3147: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3148: *@@@%%%=?*=@@@%%%*)
3149: eval ac_cv_prog_make_${ac_make}_set=yes;;
3150: *)
3151: eval ac_cv_prog_make_${ac_make}_set=no;;
3152: esac
3153: rm -f conftest.make
3154: fi
3155: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3156: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3157: $as_echo "yes" >&6; }
3158: SET_MAKE=
3159: else
3160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161: $as_echo "no" >&6; }
3162: SET_MAKE="MAKE=${MAKE-make}"
3163: fi
3164:
3165: rm -rf .tst 2>/dev/null
3166: mkdir .tst 2>/dev/null
3167: if test -d .tst; then
3168: am__leading_dot=.
3169: else
3170: am__leading_dot=_
3171: fi
3172: rmdir .tst 2>/dev/null
3173:
3174: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3175: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3176: # is not polluted with repeated "-I."
3177: am__isrc=' -I$(srcdir)'
3178: # test to see if srcdir already configured
3179: if test -f $srcdir/config.status; then
3180: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3181: fi
3182: fi
3183:
3184: # test whether we have cygpath
3185: if test -z "$CYGPATH_W"; then
3186: if (cygpath --version) >/dev/null 2>/dev/null; then
3187: CYGPATH_W='cygpath -w'
3188: else
3189: CYGPATH_W=echo
3190: fi
3191: fi
3192:
3193:
3194: # Define the identity of the package.
3195: PACKAGE='rpl'
3196: VERSION='4.1.0'
3197:
3198:
3199: cat >>confdefs.h <<_ACEOF
3200: #define PACKAGE "$PACKAGE"
3201: _ACEOF
3202:
3203:
3204: cat >>confdefs.h <<_ACEOF
3205: #define VERSION "$VERSION"
3206: _ACEOF
3207:
3208: # Some tools Automake needs.
3209:
3210: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3211:
3212:
3213: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3214:
3215:
3216: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3217:
3218:
3219: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3220:
3221:
3222: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3223:
3224: # We need awk for the "check" target. The system "awk" is bad on
3225: # some platforms.
3226: # Always define AMTAR for backward compatibility.
3227:
3228: AMTAR=${AMTAR-"${am_missing_run}tar"}
3229:
3230: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3231:
3232:
3233:
3234:
3235:
3236:
3237: ac_config_headers="$ac_config_headers rplconfig.h"
3238:
3239:
3240: NCURSES=ncurses-5.9
3241: READLINE=readline-6.2
3242: UNITS=units-1.88
3243: GSL=gsl-1.15
3244: GPP=gpp-2.24
3245: GNUPLOT=gnuplot-4.4.3
3246: FILE=file-5.03
3247: ICONV=libiconv-1.13.1
3248: SQLITE=sqlite-3.7.6.3
3249: OPENSSL=openssl-1.0.0d
3250:
3251: GMP=gmp-5.0.1
3252: MPFR=mpfr-3.0.1
3253: NTL=ntl-5.5.2
3254: COCOA=CoCoALib-0.9943
3255: PARI=pari-2.3.5
3256: GIAC=giac-0.9.1
3257:
3258: ac_ext=c
3259: ac_cpp='$CPP $CPPFLAGS'
3260: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263: if test -n "$ac_tool_prefix"; then
3264: for ac_prog in gcc
3265: do
3266: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3267: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269: $as_echo_n "checking for $ac_word... " >&6; }
3270: if ${ac_cv_prog_CC+:} false; then :
3271: $as_echo_n "(cached) " >&6
3272: else
3273: if test -n "$CC"; then
3274: ac_cv_prog_CC="$CC" # Let the user override the test.
3275: else
3276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277: for as_dir in $PATH
3278: do
3279: IFS=$as_save_IFS
3280: test -z "$as_dir" && as_dir=.
3281: for ac_exec_ext in '' $ac_executable_extensions; do
3282: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3284: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285: break 2
3286: fi
3287: done
3288: done
3289: IFS=$as_save_IFS
3290:
3291: fi
3292: fi
3293: CC=$ac_cv_prog_CC
3294: if test -n "$CC"; then
3295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296: $as_echo "$CC" >&6; }
3297: else
3298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299: $as_echo "no" >&6; }
3300: fi
3301:
3302:
3303: test -n "$CC" && break
3304: done
3305: fi
3306: if test -z "$CC"; then
3307: ac_ct_CC=$CC
3308: for ac_prog in gcc
3309: do
3310: # Extract the first word of "$ac_prog", so it can be a program name with args.
3311: set dummy $ac_prog; ac_word=$2
3312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313: $as_echo_n "checking for $ac_word... " >&6; }
3314: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3315: $as_echo_n "(cached) " >&6
3316: else
3317: if test -n "$ac_ct_CC"; then
3318: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3319: else
3320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321: for as_dir in $PATH
3322: do
3323: IFS=$as_save_IFS
3324: test -z "$as_dir" && as_dir=.
3325: for ac_exec_ext in '' $ac_executable_extensions; do
3326: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327: ac_cv_prog_ac_ct_CC="$ac_prog"
3328: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329: break 2
3330: fi
3331: done
3332: done
3333: IFS=$as_save_IFS
3334:
3335: fi
3336: fi
3337: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3338: if test -n "$ac_ct_CC"; then
3339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3340: $as_echo "$ac_ct_CC" >&6; }
3341: else
3342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343: $as_echo "no" >&6; }
3344: fi
3345:
3346:
3347: test -n "$ac_ct_CC" && break
3348: done
3349:
3350: if test "x$ac_ct_CC" = x; then
3351: CC=""
3352: else
3353: case $cross_compiling:$ac_tool_warned in
3354: yes:)
3355: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3356: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3357: ac_tool_warned=yes ;;
3358: esac
3359: CC=$ac_ct_CC
3360: fi
3361: fi
3362:
3363:
3364: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366: as_fn_error $? "no acceptable C compiler found in \$PATH
3367: See \`config.log' for more details" "$LINENO" 5; }
3368:
3369: # Provide some information about the compiler.
3370: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3371: set X $ac_compile
3372: ac_compiler=$2
3373: for ac_option in --version -v -V -qversion; do
3374: { { ac_try="$ac_compiler $ac_option >&5"
3375: case "(($ac_try" in
3376: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377: *) ac_try_echo=$ac_try;;
3378: esac
3379: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380: $as_echo "$ac_try_echo"; } >&5
3381: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3382: ac_status=$?
3383: if test -s conftest.err; then
3384: sed '10a\
3385: ... rest of stderr output deleted ...
3386: 10q' conftest.err >conftest.er1
3387: cat conftest.er1 >&5
3388: fi
3389: rm -f conftest.er1 conftest.err
3390: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391: test $ac_status = 0; }
3392: done
3393:
3394: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395: /* end confdefs.h. */
3396:
3397: int
3398: main ()
3399: {
3400:
3401: ;
3402: return 0;
3403: }
3404: _ACEOF
3405: ac_clean_files_save=$ac_clean_files
3406: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3407: # Try to create an executable without -o first, disregard a.out.
3408: # It will help us diagnose broken compilers, and finding out an intuition
3409: # of exeext.
3410: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3411: $as_echo_n "checking whether the C compiler works... " >&6; }
3412: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3413:
3414: # The possible output files:
3415: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3416:
3417: ac_rmfiles=
3418: for ac_file in $ac_files
3419: do
3420: case $ac_file in
3421: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3422: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3423: esac
3424: done
3425: rm -f $ac_rmfiles
3426:
3427: if { { ac_try="$ac_link_default"
3428: case "(($ac_try" in
3429: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430: *) ac_try_echo=$ac_try;;
3431: esac
3432: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433: $as_echo "$ac_try_echo"; } >&5
3434: (eval "$ac_link_default") 2>&5
3435: ac_status=$?
3436: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437: test $ac_status = 0; }; then :
3438: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3439: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3440: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3441: # so that the user can short-circuit this test for compilers unknown to
3442: # Autoconf.
3443: for ac_file in $ac_files ''
3444: do
3445: test -f "$ac_file" || continue
3446: case $ac_file in
3447: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3448: ;;
3449: [ab].out )
3450: # We found the default executable, but exeext='' is most
3451: # certainly right.
3452: break;;
3453: *.* )
3454: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3455: then :; else
3456: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3457: fi
3458: # We set ac_cv_exeext here because the later test for it is not
3459: # safe: cross compilers may not add the suffix if given an `-o'
3460: # argument, so we may need to know it at that point already.
3461: # Even if this section looks crufty: it has the advantage of
3462: # actually working.
3463: break;;
3464: * )
3465: break;;
3466: esac
3467: done
3468: test "$ac_cv_exeext" = no && ac_cv_exeext=
3469:
3470: else
3471: ac_file=''
3472: fi
3473: if test -z "$ac_file"; then :
3474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475: $as_echo "no" >&6; }
3476: $as_echo "$as_me: failed program was:" >&5
3477: sed 's/^/| /' conftest.$ac_ext >&5
3478:
3479: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481: as_fn_error 77 "C compiler cannot create executables
3482: See \`config.log' for more details" "$LINENO" 5; }
3483: else
3484: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485: $as_echo "yes" >&6; }
3486: fi
3487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3488: $as_echo_n "checking for C compiler default output file name... " >&6; }
3489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3490: $as_echo "$ac_file" >&6; }
3491: ac_exeext=$ac_cv_exeext
3492:
3493: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3494: ac_clean_files=$ac_clean_files_save
3495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3496: $as_echo_n "checking for suffix of executables... " >&6; }
3497: if { { ac_try="$ac_link"
3498: case "(($ac_try" in
3499: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500: *) ac_try_echo=$ac_try;;
3501: esac
3502: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503: $as_echo "$ac_try_echo"; } >&5
3504: (eval "$ac_link") 2>&5
3505: ac_status=$?
3506: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507: test $ac_status = 0; }; then :
3508: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3509: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3510: # work properly (i.e., refer to `conftest.exe'), while it won't with
3511: # `rm'.
3512: for ac_file in conftest.exe conftest conftest.*; do
3513: test -f "$ac_file" || continue
3514: case $ac_file in
3515: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3516: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3517: break;;
3518: * ) break;;
3519: esac
3520: done
3521: else
3522: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3525: See \`config.log' for more details" "$LINENO" 5; }
3526: fi
3527: rm -f conftest conftest$ac_cv_exeext
3528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3529: $as_echo "$ac_cv_exeext" >&6; }
3530:
3531: rm -f conftest.$ac_ext
3532: EXEEXT=$ac_cv_exeext
3533: ac_exeext=$EXEEXT
3534: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535: /* end confdefs.h. */
3536: #include <stdio.h>
3537: int
3538: main ()
3539: {
3540: FILE *f = fopen ("conftest.out", "w");
3541: return ferror (f) || fclose (f) != 0;
3542:
3543: ;
3544: return 0;
3545: }
3546: _ACEOF
3547: ac_clean_files="$ac_clean_files conftest.out"
3548: # Check that the compiler produces executables we can run. If not, either
3549: # the compiler is broken, or we cross compile.
3550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3551: $as_echo_n "checking whether we are cross compiling... " >&6; }
3552: if test "$cross_compiling" != yes; then
3553: { { ac_try="$ac_link"
3554: case "(($ac_try" in
3555: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556: *) ac_try_echo=$ac_try;;
3557: esac
3558: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559: $as_echo "$ac_try_echo"; } >&5
3560: (eval "$ac_link") 2>&5
3561: ac_status=$?
3562: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563: test $ac_status = 0; }
3564: if { ac_try='./conftest$ac_cv_exeext'
3565: { { case "(($ac_try" in
3566: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567: *) ac_try_echo=$ac_try;;
3568: esac
3569: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3570: $as_echo "$ac_try_echo"; } >&5
3571: (eval "$ac_try") 2>&5
3572: ac_status=$?
3573: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3574: test $ac_status = 0; }; }; then
3575: cross_compiling=no
3576: else
3577: if test "$cross_compiling" = maybe; then
3578: cross_compiling=yes
3579: else
3580: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582: as_fn_error $? "cannot run C compiled programs.
3583: If you meant to cross compile, use \`--host'.
3584: See \`config.log' for more details" "$LINENO" 5; }
3585: fi
3586: fi
3587: fi
3588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3589: $as_echo "$cross_compiling" >&6; }
3590:
3591: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3592: ac_clean_files=$ac_clean_files_save
3593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3594: $as_echo_n "checking for suffix of object files... " >&6; }
3595: if ${ac_cv_objext+:} false; then :
3596: $as_echo_n "(cached) " >&6
3597: else
3598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599: /* end confdefs.h. */
3600:
3601: int
3602: main ()
3603: {
3604:
3605: ;
3606: return 0;
3607: }
3608: _ACEOF
3609: rm -f conftest.o conftest.obj
3610: if { { ac_try="$ac_compile"
3611: case "(($ac_try" in
3612: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613: *) ac_try_echo=$ac_try;;
3614: esac
3615: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616: $as_echo "$ac_try_echo"; } >&5
3617: (eval "$ac_compile") 2>&5
3618: ac_status=$?
3619: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620: test $ac_status = 0; }; then :
3621: for ac_file in conftest.o conftest.obj conftest.*; do
3622: test -f "$ac_file" || continue;
3623: case $ac_file in
3624: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3625: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3626: break;;
3627: esac
3628: done
3629: else
3630: $as_echo "$as_me: failed program was:" >&5
3631: sed 's/^/| /' conftest.$ac_ext >&5
3632:
3633: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635: as_fn_error $? "cannot compute suffix of object files: cannot compile
3636: See \`config.log' for more details" "$LINENO" 5; }
3637: fi
3638: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3639: fi
3640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3641: $as_echo "$ac_cv_objext" >&6; }
3642: OBJEXT=$ac_cv_objext
3643: ac_objext=$OBJEXT
3644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3645: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3646: if ${ac_cv_c_compiler_gnu+:} false; then :
3647: $as_echo_n "(cached) " >&6
3648: else
3649: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650: /* end confdefs.h. */
3651:
3652: int
3653: main ()
3654: {
3655: #ifndef __GNUC__
3656: choke me
3657: #endif
3658:
3659: ;
3660: return 0;
3661: }
3662: _ACEOF
3663: if ac_fn_c_try_compile "$LINENO"; then :
3664: ac_compiler_gnu=yes
3665: else
3666: ac_compiler_gnu=no
3667: fi
3668: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3670:
3671: fi
3672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3673: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3674: if test $ac_compiler_gnu = yes; then
3675: GCC=yes
3676: else
3677: GCC=
3678: fi
3679: ac_test_CFLAGS=${CFLAGS+set}
3680: ac_save_CFLAGS=$CFLAGS
3681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3682: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3683: if ${ac_cv_prog_cc_g+:} false; then :
3684: $as_echo_n "(cached) " >&6
3685: else
3686: ac_save_c_werror_flag=$ac_c_werror_flag
3687: ac_c_werror_flag=yes
3688: ac_cv_prog_cc_g=no
3689: CFLAGS="-g"
3690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691: /* end confdefs.h. */
3692:
3693: int
3694: main ()
3695: {
3696:
3697: ;
3698: return 0;
3699: }
3700: _ACEOF
3701: if ac_fn_c_try_compile "$LINENO"; then :
3702: ac_cv_prog_cc_g=yes
3703: else
3704: CFLAGS=""
3705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706: /* end confdefs.h. */
3707:
3708: int
3709: main ()
3710: {
3711:
3712: ;
3713: return 0;
3714: }
3715: _ACEOF
3716: if ac_fn_c_try_compile "$LINENO"; then :
3717:
3718: else
3719: ac_c_werror_flag=$ac_save_c_werror_flag
3720: CFLAGS="-g"
3721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722: /* end confdefs.h. */
3723:
3724: int
3725: main ()
3726: {
3727:
3728: ;
3729: return 0;
3730: }
3731: _ACEOF
3732: if ac_fn_c_try_compile "$LINENO"; then :
3733: ac_cv_prog_cc_g=yes
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: fi
3739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740: ac_c_werror_flag=$ac_save_c_werror_flag
3741: fi
3742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3743: $as_echo "$ac_cv_prog_cc_g" >&6; }
3744: if test "$ac_test_CFLAGS" = set; then
3745: CFLAGS=$ac_save_CFLAGS
3746: elif test $ac_cv_prog_cc_g = yes; then
3747: if test "$GCC" = yes; then
3748: CFLAGS="-g -O2"
3749: else
3750: CFLAGS="-g"
3751: fi
3752: else
3753: if test "$GCC" = yes; then
3754: CFLAGS="-O2"
3755: else
3756: CFLAGS=
3757: fi
3758: fi
3759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3760: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3761: if ${ac_cv_prog_cc_c89+:} false; then :
3762: $as_echo_n "(cached) " >&6
3763: else
3764: ac_cv_prog_cc_c89=no
3765: ac_save_CC=$CC
3766: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767: /* end confdefs.h. */
3768: #include <stdarg.h>
3769: #include <stdio.h>
3770: #include <sys/types.h>
3771: #include <sys/stat.h>
3772: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3773: struct buf { int x; };
3774: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3775: static char *e (p, i)
3776: char **p;
3777: int i;
3778: {
3779: return p[i];
3780: }
3781: static char *f (char * (*g) (char **, int), char **p, ...)
3782: {
3783: char *s;
3784: va_list v;
3785: va_start (v,p);
3786: s = g (p, va_arg (v,int));
3787: va_end (v);
3788: return s;
3789: }
3790:
3791: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3792: function prototypes and stuff, but not '\xHH' hex character constants.
3793: These don't provoke an error unfortunately, instead are silently treated
3794: as 'x'. The following induces an error, until -std is added to get
3795: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3796: array size at least. It's necessary to write '\x00'==0 to get something
3797: that's true only with -std. */
3798: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3799:
3800: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3801: inside strings and character constants. */
3802: #define FOO(x) 'x'
3803: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3804:
3805: int test (int i, double x);
3806: struct s1 {int (*f) (int a);};
3807: struct s2 {int (*f) (double a);};
3808: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3809: int argc;
3810: char **argv;
3811: int
3812: main ()
3813: {
3814: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3815: ;
3816: return 0;
3817: }
3818: _ACEOF
3819: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3820: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3821: do
3822: CC="$ac_save_CC $ac_arg"
3823: if ac_fn_c_try_compile "$LINENO"; then :
3824: ac_cv_prog_cc_c89=$ac_arg
3825: fi
3826: rm -f core conftest.err conftest.$ac_objext
3827: test "x$ac_cv_prog_cc_c89" != "xno" && break
3828: done
3829: rm -f conftest.$ac_ext
3830: CC=$ac_save_CC
3831:
3832: fi
3833: # AC_CACHE_VAL
3834: case "x$ac_cv_prog_cc_c89" in
3835: x)
3836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3837: $as_echo "none needed" >&6; } ;;
3838: xno)
3839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3840: $as_echo "unsupported" >&6; } ;;
3841: *)
3842: CC="$CC $ac_cv_prog_cc_c89"
3843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3844: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3845: esac
3846: if test "x$ac_cv_prog_cc_c89" != xno; then :
3847:
3848: fi
3849:
3850: ac_ext=c
3851: ac_cpp='$CPP $CPPFLAGS'
3852: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3853: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3854: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3855: DEPDIR="${am__leading_dot}deps"
3856:
3857: ac_config_commands="$ac_config_commands depfiles"
3858:
3859:
3860: am_make=${MAKE-make}
3861: cat > confinc << 'END'
3862: am__doit:
3863: @echo this is the am__doit target
3864: .PHONY: am__doit
3865: END
3866: # If we don't find an include directive, just comment out the code.
3867: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3868: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3869: am__include="#"
3870: am__quote=
3871: _am_result=none
3872: # First try GNU make style include.
3873: echo "include confinc" > confmf
3874: # Ignore all kinds of additional output from `make'.
3875: case `$am_make -s -f confmf 2> /dev/null` in #(
3876: *the\ am__doit\ target*)
3877: am__include=include
3878: am__quote=
3879: _am_result=GNU
3880: ;;
3881: esac
3882: # Now try BSD make style include.
3883: if test "$am__include" = "#"; then
3884: echo '.include "confinc"' > confmf
3885: case `$am_make -s -f confmf 2> /dev/null` in #(
3886: *the\ am__doit\ target*)
3887: am__include=.include
3888: am__quote="\""
3889: _am_result=BSD
3890: ;;
3891: esac
3892: fi
3893:
3894:
3895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3896: $as_echo "$_am_result" >&6; }
3897: rm -f confinc confmf
3898:
3899: # Check whether --enable-dependency-tracking was given.
3900: if test "${enable_dependency_tracking+set}" = set; then :
3901: enableval=$enable_dependency_tracking;
3902: fi
3903:
3904: if test "x$enable_dependency_tracking" != xno; then
3905: am_depcomp="$ac_aux_dir/depcomp"
3906: AMDEPBACKSLASH='\'
3907: fi
3908: if test "x$enable_dependency_tracking" != xno; then
3909: AMDEP_TRUE=
3910: AMDEP_FALSE='#'
3911: else
3912: AMDEP_TRUE='#'
3913: AMDEP_FALSE=
3914: fi
3915:
3916:
3917:
3918: depcc="$CC" am_compiler_list=
3919:
3920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3921: $as_echo_n "checking dependency style of $depcc... " >&6; }
3922: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3923: $as_echo_n "(cached) " >&6
3924: else
3925: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3926: # We make a subdir and do the tests there. Otherwise we can end up
3927: # making bogus files that we don't know about and never remove. For
3928: # instance it was reported that on HP-UX the gcc test will end up
3929: # making a dummy file named `D' -- because `-MD' means `put the output
3930: # in D'.
3931: mkdir conftest.dir
3932: # Copy depcomp to subdir because otherwise we won't find it if we're
3933: # using a relative directory.
3934: cp "$am_depcomp" conftest.dir
3935: cd conftest.dir
3936: # We will build objects and dependencies in a subdirectory because
3937: # it helps to detect inapplicable dependency modes. For instance
3938: # both Tru64's cc and ICC support -MD to output dependencies as a
3939: # side effect of compilation, but ICC will put the dependencies in
3940: # the current directory while Tru64 will put them in the object
3941: # directory.
3942: mkdir sub
3943:
3944: am_cv_CC_dependencies_compiler_type=none
3945: if test "$am_compiler_list" = ""; then
3946: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3947: fi
3948: am__universal=false
3949: case " $depcc " in #(
3950: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3951: esac
3952:
3953: for depmode in $am_compiler_list; do
3954: # Setup a source with many dependencies, because some compilers
3955: # like to wrap large dependency lists on column 80 (with \), and
3956: # we should not choose a depcomp mode which is confused by this.
3957: #
3958: # We need to recreate these files for each test, as the compiler may
3959: # overwrite some of them when testing with obscure command lines.
3960: # This happens at least with the AIX C compiler.
3961: : > sub/conftest.c
3962: for i in 1 2 3 4 5 6; do
3963: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3964: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3965: # Solaris 8's {/usr,}/bin/sh.
3966: touch sub/conftst$i.h
3967: done
3968: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3969:
3970: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3971: # mode. It turns out that the SunPro C++ compiler does not properly
3972: # handle `-M -o', and we need to detect this. Also, some Intel
3973: # versions had trouble with output in subdirs
3974: am__obj=sub/conftest.${OBJEXT-o}
3975: am__minus_obj="-o $am__obj"
3976: case $depmode in
3977: gcc)
3978: # This depmode causes a compiler race in universal mode.
3979: test "$am__universal" = false || continue
3980: ;;
3981: nosideeffect)
3982: # after this tag, mechanisms are not by side-effect, so they'll
3983: # only be used when explicitly requested
3984: if test "x$enable_dependency_tracking" = xyes; then
3985: continue
3986: else
3987: break
3988: fi
3989: ;;
3990: msvisualcpp | msvcmsys)
3991: # This compiler won't grok `-c -o', but also, the minuso test has
3992: # not run yet. These depmodes are late enough in the game, and
3993: # so weak that their functioning should not be impacted.
3994: am__obj=conftest.${OBJEXT-o}
3995: am__minus_obj=
3996: ;;
3997: none) break ;;
3998: esac
3999: if depmode=$depmode \
4000: source=sub/conftest.c object=$am__obj \
4001: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4002: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4003: >/dev/null 2>conftest.err &&
4004: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4005: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4006: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4007: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4008: # icc doesn't choke on unknown options, it will just issue warnings
4009: # or remarks (even with -Werror). So we grep stderr for any message
4010: # that says an option was ignored or not supported.
4011: # When given -MP, icc 7.0 and 7.1 complain thusly:
4012: # icc: Command line warning: ignoring option '-M'; no argument required
4013: # The diagnosis changed in icc 8.0:
4014: # icc: Command line remark: option '-MP' not supported
4015: if (grep 'ignoring option' conftest.err ||
4016: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4017: am_cv_CC_dependencies_compiler_type=$depmode
4018: break
4019: fi
4020: fi
4021: done
4022:
4023: cd ..
4024: rm -rf conftest.dir
4025: else
4026: am_cv_CC_dependencies_compiler_type=none
4027: fi
4028:
4029: fi
4030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4031: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4032: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4033:
4034: if
4035: test "x$enable_dependency_tracking" != xno \
4036: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4037: am__fastdepCC_TRUE=
4038: am__fastdepCC_FALSE='#'
4039: else
4040: am__fastdepCC_TRUE='#'
4041: am__fastdepCC_FALSE=
4042: fi
4043:
4044:
4045:
4046: EXT_SQL=
4047:
4048: if test x"$CC" != x""; then
4049: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4050: awk -F. '{ printf("%s", $1);}'`
4051: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4052: awk -F. '{ printf("%s", $2);}'`
4053: if test $GCC_VERSION_MAJEURE -ge 5; then
4054: OPTIMISATION_C=-O3
4055: else
4056: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4057: then
4058: OPTIMISATION_C=-O3
4059: else
4060: if test $GCC_VERSION_MAJEURE -ge 2; then
4061: OPTIMISATION_C=-O2
4062: else
4063: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4064: fi
4065: fi
4066: fi
4067: fi
4068:
4069: if test "x$CC" != xcc; then
4070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4071: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4072: else
4073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4074: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4075: fi
4076: set dummy $CC; ac_cc=`$as_echo "$2" |
4077: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4078: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4079: $as_echo_n "(cached) " >&6
4080: else
4081: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082: /* end confdefs.h. */
4083:
4084: int
4085: main ()
4086: {
4087:
4088: ;
4089: return 0;
4090: }
4091: _ACEOF
4092: # Make sure it works both with $CC and with simple cc.
4093: # We do the test twice because some compilers refuse to overwrite an
4094: # existing .o file with -o, though they will create one.
4095: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4096: rm -f conftest2.*
4097: if { { case "(($ac_try" in
4098: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099: *) ac_try_echo=$ac_try;;
4100: esac
4101: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102: $as_echo "$ac_try_echo"; } >&5
4103: (eval "$ac_try") 2>&5
4104: ac_status=$?
4105: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106: test $ac_status = 0; } &&
4107: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4108: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109: *) ac_try_echo=$ac_try;;
4110: esac
4111: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112: $as_echo "$ac_try_echo"; } >&5
4113: (eval "$ac_try") 2>&5
4114: ac_status=$?
4115: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116: test $ac_status = 0; };
4117: then
4118: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4119: if test "x$CC" != xcc; then
4120: # Test first that cc exists at all.
4121: if { ac_try='cc -c conftest.$ac_ext >&5'
4122: { { case "(($ac_try" in
4123: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124: *) ac_try_echo=$ac_try;;
4125: esac
4126: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127: $as_echo "$ac_try_echo"; } >&5
4128: (eval "$ac_try") 2>&5
4129: ac_status=$?
4130: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131: test $ac_status = 0; }; }; then
4132: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4133: rm -f conftest2.*
4134: if { { case "(($ac_try" in
4135: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136: *) ac_try_echo=$ac_try;;
4137: esac
4138: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139: $as_echo "$ac_try_echo"; } >&5
4140: (eval "$ac_try") 2>&5
4141: ac_status=$?
4142: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143: test $ac_status = 0; } &&
4144: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4145: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146: *) ac_try_echo=$ac_try;;
4147: esac
4148: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149: $as_echo "$ac_try_echo"; } >&5
4150: (eval "$ac_try") 2>&5
4151: ac_status=$?
4152: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153: test $ac_status = 0; };
4154: then
4155: # cc works too.
4156: :
4157: else
4158: # cc exists but doesn't like -o.
4159: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4160: fi
4161: fi
4162: fi
4163: else
4164: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4165: fi
4166: rm -f core conftest*
4167:
4168: fi
4169: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4171: $as_echo "yes" >&6; }
4172: else
4173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174: $as_echo "no" >&6; }
4175:
4176: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4177:
4178: fi
4179:
4180: # FIXME: we rely on the cache variable name because
4181: # there is no other way.
4182: set dummy $CC
4183: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4184: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4185: if test "$am_t" != yes; then
4186: # Losing compiler, so override with the script.
4187: # FIXME: It is wrong to rewrite CC.
4188: # But if we don't then we get into trouble of one sort or another.
4189: # A longer-term fix would be to have automake use am__CC in this case,
4190: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4191: CC="$am_aux_dir/compile $CC"
4192: fi
4193:
4194:
4195:
4196: if test "$GCC" != yes; then
4197: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4198: fi
4199:
4200: ac_ext=cpp
4201: ac_cpp='$CXXCPP $CPPFLAGS'
4202: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4205: if test -z "$CXX"; then
4206: if test -n "$CCC"; then
4207: CXX=$CCC
4208: else
4209: if test -n "$ac_tool_prefix"; then
4210: for ac_prog in g++
4211: do
4212: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4213: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215: $as_echo_n "checking for $ac_word... " >&6; }
4216: if ${ac_cv_prog_CXX+:} false; then :
4217: $as_echo_n "(cached) " >&6
4218: else
4219: if test -n "$CXX"; then
4220: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4221: else
4222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4223: for as_dir in $PATH
4224: do
4225: IFS=$as_save_IFS
4226: test -z "$as_dir" && as_dir=.
4227: for ac_exec_ext in '' $ac_executable_extensions; do
4228: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4229: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4230: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231: break 2
4232: fi
4233: done
4234: done
4235: IFS=$as_save_IFS
4236:
4237: fi
4238: fi
4239: CXX=$ac_cv_prog_CXX
4240: if test -n "$CXX"; then
4241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4242: $as_echo "$CXX" >&6; }
4243: else
4244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245: $as_echo "no" >&6; }
4246: fi
4247:
4248:
4249: test -n "$CXX" && break
4250: done
4251: fi
4252: if test -z "$CXX"; then
4253: ac_ct_CXX=$CXX
4254: for ac_prog in g++
4255: do
4256: # Extract the first word of "$ac_prog", so it can be a program name with args.
4257: set dummy $ac_prog; ac_word=$2
4258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259: $as_echo_n "checking for $ac_word... " >&6; }
4260: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4261: $as_echo_n "(cached) " >&6
4262: else
4263: if test -n "$ac_ct_CXX"; then
4264: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4265: else
4266: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267: for as_dir in $PATH
4268: do
4269: IFS=$as_save_IFS
4270: test -z "$as_dir" && as_dir=.
4271: for ac_exec_ext in '' $ac_executable_extensions; do
4272: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273: ac_cv_prog_ac_ct_CXX="$ac_prog"
4274: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4275: break 2
4276: fi
4277: done
4278: done
4279: IFS=$as_save_IFS
4280:
4281: fi
4282: fi
4283: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4284: if test -n "$ac_ct_CXX"; then
4285: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4286: $as_echo "$ac_ct_CXX" >&6; }
4287: else
4288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289: $as_echo "no" >&6; }
4290: fi
4291:
4292:
4293: test -n "$ac_ct_CXX" && break
4294: done
4295:
4296: if test "x$ac_ct_CXX" = x; then
4297: CXX="g++"
4298: else
4299: case $cross_compiling:$ac_tool_warned in
4300: yes:)
4301: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4302: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4303: ac_tool_warned=yes ;;
4304: esac
4305: CXX=$ac_ct_CXX
4306: fi
4307: fi
4308:
4309: fi
4310: fi
4311: # Provide some information about the compiler.
4312: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4313: set X $ac_compile
4314: ac_compiler=$2
4315: for ac_option in --version -v -V -qversion; do
4316: { { ac_try="$ac_compiler $ac_option >&5"
4317: case "(($ac_try" in
4318: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319: *) ac_try_echo=$ac_try;;
4320: esac
4321: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322: $as_echo "$ac_try_echo"; } >&5
4323: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4324: ac_status=$?
4325: if test -s conftest.err; then
4326: sed '10a\
4327: ... rest of stderr output deleted ...
4328: 10q' conftest.err >conftest.er1
4329: cat conftest.er1 >&5
4330: fi
4331: rm -f conftest.er1 conftest.err
4332: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333: test $ac_status = 0; }
4334: done
4335:
4336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4337: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4338: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4339: $as_echo_n "(cached) " >&6
4340: else
4341: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342: /* end confdefs.h. */
4343:
4344: int
4345: main ()
4346: {
4347: #ifndef __GNUC__
4348: choke me
4349: #endif
4350:
4351: ;
4352: return 0;
4353: }
4354: _ACEOF
4355: if ac_fn_cxx_try_compile "$LINENO"; then :
4356: ac_compiler_gnu=yes
4357: else
4358: ac_compiler_gnu=no
4359: fi
4360: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4362:
4363: fi
4364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4365: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4366: if test $ac_compiler_gnu = yes; then
4367: GXX=yes
4368: else
4369: GXX=
4370: fi
4371: ac_test_CXXFLAGS=${CXXFLAGS+set}
4372: ac_save_CXXFLAGS=$CXXFLAGS
4373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4374: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4375: if ${ac_cv_prog_cxx_g+:} false; then :
4376: $as_echo_n "(cached) " >&6
4377: else
4378: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4379: ac_cxx_werror_flag=yes
4380: ac_cv_prog_cxx_g=no
4381: CXXFLAGS="-g"
4382: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383: /* end confdefs.h. */
4384:
4385: int
4386: main ()
4387: {
4388:
4389: ;
4390: return 0;
4391: }
4392: _ACEOF
4393: if ac_fn_cxx_try_compile "$LINENO"; then :
4394: ac_cv_prog_cxx_g=yes
4395: else
4396: CXXFLAGS=""
4397: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398: /* end confdefs.h. */
4399:
4400: int
4401: main ()
4402: {
4403:
4404: ;
4405: return 0;
4406: }
4407: _ACEOF
4408: if ac_fn_cxx_try_compile "$LINENO"; then :
4409:
4410: else
4411: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4412: CXXFLAGS="-g"
4413: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414: /* end confdefs.h. */
4415:
4416: int
4417: main ()
4418: {
4419:
4420: ;
4421: return 0;
4422: }
4423: _ACEOF
4424: if ac_fn_cxx_try_compile "$LINENO"; then :
4425: ac_cv_prog_cxx_g=yes
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: fi
4431: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4433: fi
4434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4435: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4436: if test "$ac_test_CXXFLAGS" = set; then
4437: CXXFLAGS=$ac_save_CXXFLAGS
4438: elif test $ac_cv_prog_cxx_g = yes; then
4439: if test "$GXX" = yes; then
4440: CXXFLAGS="-g -O2"
4441: else
4442: CXXFLAGS="-g"
4443: fi
4444: else
4445: if test "$GXX" = yes; then
4446: CXXFLAGS="-O2"
4447: else
4448: CXXFLAGS=
4449: fi
4450: fi
4451: ac_ext=c
4452: ac_cpp='$CPP $CPPFLAGS'
4453: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456:
4457: depcc="$CXX" am_compiler_list=
4458:
4459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4460: $as_echo_n "checking dependency style of $depcc... " >&6; }
4461: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4462: $as_echo_n "(cached) " >&6
4463: else
4464: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4465: # We make a subdir and do the tests there. Otherwise we can end up
4466: # making bogus files that we don't know about and never remove. For
4467: # instance it was reported that on HP-UX the gcc test will end up
4468: # making a dummy file named `D' -- because `-MD' means `put the output
4469: # in D'.
4470: mkdir conftest.dir
4471: # Copy depcomp to subdir because otherwise we won't find it if we're
4472: # using a relative directory.
4473: cp "$am_depcomp" conftest.dir
4474: cd conftest.dir
4475: # We will build objects and dependencies in a subdirectory because
4476: # it helps to detect inapplicable dependency modes. For instance
4477: # both Tru64's cc and ICC support -MD to output dependencies as a
4478: # side effect of compilation, but ICC will put the dependencies in
4479: # the current directory while Tru64 will put them in the object
4480: # directory.
4481: mkdir sub
4482:
4483: am_cv_CXX_dependencies_compiler_type=none
4484: if test "$am_compiler_list" = ""; then
4485: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4486: fi
4487: am__universal=false
4488: case " $depcc " in #(
4489: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4490: esac
4491:
4492: for depmode in $am_compiler_list; do
4493: # Setup a source with many dependencies, because some compilers
4494: # like to wrap large dependency lists on column 80 (with \), and
4495: # we should not choose a depcomp mode which is confused by this.
4496: #
4497: # We need to recreate these files for each test, as the compiler may
4498: # overwrite some of them when testing with obscure command lines.
4499: # This happens at least with the AIX C compiler.
4500: : > sub/conftest.c
4501: for i in 1 2 3 4 5 6; do
4502: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4503: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4504: # Solaris 8's {/usr,}/bin/sh.
4505: touch sub/conftst$i.h
4506: done
4507: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4508:
4509: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4510: # mode. It turns out that the SunPro C++ compiler does not properly
4511: # handle `-M -o', and we need to detect this. Also, some Intel
4512: # versions had trouble with output in subdirs
4513: am__obj=sub/conftest.${OBJEXT-o}
4514: am__minus_obj="-o $am__obj"
4515: case $depmode in
4516: gcc)
4517: # This depmode causes a compiler race in universal mode.
4518: test "$am__universal" = false || continue
4519: ;;
4520: nosideeffect)
4521: # after this tag, mechanisms are not by side-effect, so they'll
4522: # only be used when explicitly requested
4523: if test "x$enable_dependency_tracking" = xyes; then
4524: continue
4525: else
4526: break
4527: fi
4528: ;;
4529: msvisualcpp | msvcmsys)
4530: # This compiler won't grok `-c -o', but also, the minuso test has
4531: # not run yet. These depmodes are late enough in the game, and
4532: # so weak that their functioning should not be impacted.
4533: am__obj=conftest.${OBJEXT-o}
4534: am__minus_obj=
4535: ;;
4536: none) break ;;
4537: esac
4538: if depmode=$depmode \
4539: source=sub/conftest.c object=$am__obj \
4540: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4541: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4542: >/dev/null 2>conftest.err &&
4543: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4544: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4545: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4546: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4547: # icc doesn't choke on unknown options, it will just issue warnings
4548: # or remarks (even with -Werror). So we grep stderr for any message
4549: # that says an option was ignored or not supported.
4550: # When given -MP, icc 7.0 and 7.1 complain thusly:
4551: # icc: Command line warning: ignoring option '-M'; no argument required
4552: # The diagnosis changed in icc 8.0:
4553: # icc: Command line remark: option '-MP' not supported
4554: if (grep 'ignoring option' conftest.err ||
4555: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4556: am_cv_CXX_dependencies_compiler_type=$depmode
4557: break
4558: fi
4559: fi
4560: done
4561:
4562: cd ..
4563: rm -rf conftest.dir
4564: else
4565: am_cv_CXX_dependencies_compiler_type=none
4566: fi
4567:
4568: fi
4569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4570: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4571: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4572:
4573: if
4574: test "x$enable_dependency_tracking" != xno \
4575: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4576: am__fastdepCXX_TRUE=
4577: am__fastdepCXX_FALSE='#'
4578: else
4579: am__fastdepCXX_TRUE='#'
4580: am__fastdepCXX_FALSE=
4581: fi
4582:
4583:
4584:
4585: if test "$GXX" != yes; then
4586: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4587: fi
4588:
4589: ac_ext=f
4590: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4591: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4593: if test -n "$ac_tool_prefix"; then
4594: for ac_prog in gfortran
4595: do
4596: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4597: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599: $as_echo_n "checking for $ac_word... " >&6; }
4600: if ${ac_cv_prog_F77+:} false; then :
4601: $as_echo_n "(cached) " >&6
4602: else
4603: if test -n "$F77"; then
4604: ac_cv_prog_F77="$F77" # Let the user override the test.
4605: else
4606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607: for as_dir in $PATH
4608: do
4609: IFS=$as_save_IFS
4610: test -z "$as_dir" && as_dir=.
4611: for ac_exec_ext in '' $ac_executable_extensions; do
4612: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4613: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4614: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615: break 2
4616: fi
4617: done
4618: done
4619: IFS=$as_save_IFS
4620:
4621: fi
4622: fi
4623: F77=$ac_cv_prog_F77
4624: if test -n "$F77"; then
4625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4626: $as_echo "$F77" >&6; }
4627: else
4628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629: $as_echo "no" >&6; }
4630: fi
4631:
4632:
4633: test -n "$F77" && break
4634: done
4635: fi
4636: if test -z "$F77"; then
4637: ac_ct_F77=$F77
4638: for ac_prog in gfortran
4639: do
4640: # Extract the first word of "$ac_prog", so it can be a program name with args.
4641: set dummy $ac_prog; ac_word=$2
4642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643: $as_echo_n "checking for $ac_word... " >&6; }
4644: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4645: $as_echo_n "(cached) " >&6
4646: else
4647: if test -n "$ac_ct_F77"; then
4648: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4649: else
4650: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651: for as_dir in $PATH
4652: do
4653: IFS=$as_save_IFS
4654: test -z "$as_dir" && as_dir=.
4655: for ac_exec_ext in '' $ac_executable_extensions; do
4656: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657: ac_cv_prog_ac_ct_F77="$ac_prog"
4658: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659: break 2
4660: fi
4661: done
4662: done
4663: IFS=$as_save_IFS
4664:
4665: fi
4666: fi
4667: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4668: if test -n "$ac_ct_F77"; then
4669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4670: $as_echo "$ac_ct_F77" >&6; }
4671: else
4672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673: $as_echo "no" >&6; }
4674: fi
4675:
4676:
4677: test -n "$ac_ct_F77" && break
4678: done
4679:
4680: if test "x$ac_ct_F77" = x; then
4681: F77=""
4682: else
4683: case $cross_compiling:$ac_tool_warned in
4684: yes:)
4685: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687: ac_tool_warned=yes ;;
4688: esac
4689: F77=$ac_ct_F77
4690: fi
4691: fi
4692:
4693:
4694: # Provide some information about the compiler.
4695: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4696: set X $ac_compile
4697: ac_compiler=$2
4698: for ac_option in --version -v -V -qversion; do
4699: { { ac_try="$ac_compiler $ac_option >&5"
4700: case "(($ac_try" in
4701: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4702: *) ac_try_echo=$ac_try;;
4703: esac
4704: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4705: $as_echo "$ac_try_echo"; } >&5
4706: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4707: ac_status=$?
4708: if test -s conftest.err; then
4709: sed '10a\
4710: ... rest of stderr output deleted ...
4711: 10q' conftest.err >conftest.er1
4712: cat conftest.er1 >&5
4713: fi
4714: rm -f conftest.er1 conftest.err
4715: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716: test $ac_status = 0; }
4717: done
4718: rm -f a.out
4719:
4720: # If we don't use `.F' as extension, the preprocessor is not run on the
4721: # input file. (Note that this only needs to work for GNU compilers.)
4722: ac_save_ext=$ac_ext
4723: ac_ext=F
4724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4725: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4726: if ${ac_cv_f77_compiler_gnu+:} false; then :
4727: $as_echo_n "(cached) " >&6
4728: else
4729: cat > conftest.$ac_ext <<_ACEOF
4730: program main
4731: #ifndef __GNUC__
4732: choke me
4733: #endif
4734:
4735: end
4736: _ACEOF
4737: if ac_fn_f77_try_compile "$LINENO"; then :
4738: ac_compiler_gnu=yes
4739: else
4740: ac_compiler_gnu=no
4741: fi
4742: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4744:
4745: fi
4746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4747: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4748: ac_ext=$ac_save_ext
4749: ac_test_FFLAGS=${FFLAGS+set}
4750: ac_save_FFLAGS=$FFLAGS
4751: FFLAGS=
4752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4753: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4754: if ${ac_cv_prog_f77_g+:} false; then :
4755: $as_echo_n "(cached) " >&6
4756: else
4757: FFLAGS=-g
4758: cat > conftest.$ac_ext <<_ACEOF
4759: program main
4760:
4761: end
4762: _ACEOF
4763: if ac_fn_f77_try_compile "$LINENO"; then :
4764: ac_cv_prog_f77_g=yes
4765: else
4766: ac_cv_prog_f77_g=no
4767: fi
4768: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4769:
4770: fi
4771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4772: $as_echo "$ac_cv_prog_f77_g" >&6; }
4773: if test "$ac_test_FFLAGS" = set; then
4774: FFLAGS=$ac_save_FFLAGS
4775: elif test $ac_cv_prog_f77_g = yes; then
4776: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4777: FFLAGS="-g -O2"
4778: else
4779: FFLAGS="-g"
4780: fi
4781: else
4782: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4783: FFLAGS="-O2"
4784: else
4785: FFLAGS=
4786: fi
4787: fi
4788:
4789: if test $ac_compiler_gnu = yes; then
4790: G77=yes
4791: else
4792: G77=
4793: fi
4794: ac_ext=c
4795: ac_cpp='$CPP $CPPFLAGS'
4796: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4799:
4800:
4801: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4802: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4803: fi
4804:
4805: ac_ext=${ac_fc_srcext-f}
4806: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4807: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4808: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4809: if test -n "$ac_tool_prefix"; then
4810: for ac_prog in gfortran
4811: do
4812: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4813: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815: $as_echo_n "checking for $ac_word... " >&6; }
4816: if ${ac_cv_prog_FC+:} false; then :
4817: $as_echo_n "(cached) " >&6
4818: else
4819: if test -n "$FC"; then
4820: ac_cv_prog_FC="$FC" # Let the user override the test.
4821: else
4822: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823: for as_dir in $PATH
4824: do
4825: IFS=$as_save_IFS
4826: test -z "$as_dir" && as_dir=.
4827: for ac_exec_ext in '' $ac_executable_extensions; do
4828: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4830: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831: break 2
4832: fi
4833: done
4834: done
4835: IFS=$as_save_IFS
4836:
4837: fi
4838: fi
4839: FC=$ac_cv_prog_FC
4840: if test -n "$FC"; then
4841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4842: $as_echo "$FC" >&6; }
4843: else
4844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845: $as_echo "no" >&6; }
4846: fi
4847:
4848:
4849: test -n "$FC" && break
4850: done
4851: fi
4852: if test -z "$FC"; then
4853: ac_ct_FC=$FC
4854: for ac_prog in gfortran
4855: do
4856: # Extract the first word of "$ac_prog", so it can be a program name with args.
4857: set dummy $ac_prog; ac_word=$2
4858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859: $as_echo_n "checking for $ac_word... " >&6; }
4860: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4861: $as_echo_n "(cached) " >&6
4862: else
4863: if test -n "$ac_ct_FC"; then
4864: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4865: else
4866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867: for as_dir in $PATH
4868: do
4869: IFS=$as_save_IFS
4870: test -z "$as_dir" && as_dir=.
4871: for ac_exec_ext in '' $ac_executable_extensions; do
4872: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873: ac_cv_prog_ac_ct_FC="$ac_prog"
4874: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875: break 2
4876: fi
4877: done
4878: done
4879: IFS=$as_save_IFS
4880:
4881: fi
4882: fi
4883: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4884: if test -n "$ac_ct_FC"; then
4885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4886: $as_echo "$ac_ct_FC" >&6; }
4887: else
4888: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889: $as_echo "no" >&6; }
4890: fi
4891:
4892:
4893: test -n "$ac_ct_FC" && break
4894: done
4895:
4896: if test "x$ac_ct_FC" = x; then
4897: FC=""
4898: else
4899: case $cross_compiling:$ac_tool_warned in
4900: yes:)
4901: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903: ac_tool_warned=yes ;;
4904: esac
4905: FC=$ac_ct_FC
4906: fi
4907: fi
4908:
4909:
4910: # Provide some information about the compiler.
4911: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4912: set X $ac_compile
4913: ac_compiler=$2
4914: for ac_option in --version -v -V -qversion; do
4915: { { ac_try="$ac_compiler $ac_option >&5"
4916: case "(($ac_try" in
4917: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918: *) ac_try_echo=$ac_try;;
4919: esac
4920: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921: $as_echo "$ac_try_echo"; } >&5
4922: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4923: ac_status=$?
4924: if test -s conftest.err; then
4925: sed '10a\
4926: ... rest of stderr output deleted ...
4927: 10q' conftest.err >conftest.er1
4928: cat conftest.er1 >&5
4929: fi
4930: rm -f conftest.er1 conftest.err
4931: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4932: test $ac_status = 0; }
4933: done
4934: rm -f a.out
4935:
4936: # If we don't use `.F' as extension, the preprocessor is not run on the
4937: # input file. (Note that this only needs to work for GNU compilers.)
4938: ac_save_ext=$ac_ext
4939: ac_ext=F
4940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4941: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4942: if ${ac_cv_fc_compiler_gnu+:} false; then :
4943: $as_echo_n "(cached) " >&6
4944: else
4945: cat > conftest.$ac_ext <<_ACEOF
4946: program main
4947: #ifndef __GNUC__
4948: choke me
4949: #endif
4950:
4951: end
4952: _ACEOF
4953: if ac_fn_fc_try_compile "$LINENO"; then :
4954: ac_compiler_gnu=yes
4955: else
4956: ac_compiler_gnu=no
4957: fi
4958: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4959: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4960:
4961: fi
4962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4963: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4964: ac_ext=$ac_save_ext
4965: ac_test_FCFLAGS=${FCFLAGS+set}
4966: ac_save_FCFLAGS=$FCFLAGS
4967: FCFLAGS=
4968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4969: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4970: if ${ac_cv_prog_fc_g+:} false; then :
4971: $as_echo_n "(cached) " >&6
4972: else
4973: FCFLAGS=-g
4974: cat > conftest.$ac_ext <<_ACEOF
4975: program main
4976:
4977: end
4978: _ACEOF
4979: if ac_fn_fc_try_compile "$LINENO"; then :
4980: ac_cv_prog_fc_g=yes
4981: else
4982: ac_cv_prog_fc_g=no
4983: fi
4984: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4985:
4986: fi
4987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4988: $as_echo "$ac_cv_prog_fc_g" >&6; }
4989: if test "$ac_test_FCFLAGS" = set; then
4990: FCFLAGS=$ac_save_FCFLAGS
4991: elif test $ac_cv_prog_fc_g = yes; then
4992: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4993: FCFLAGS="-g -O2"
4994: else
4995: FCFLAGS="-g"
4996: fi
4997: else
4998: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4999: FCFLAGS="-O2"
5000: else
5001: FCFLAGS=
5002: fi
5003: fi
5004:
5005: ac_ext=c
5006: ac_cpp='$CPP $CPPFLAGS'
5007: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5010:
5011:
5012: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
5013: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5014: fi
5015:
5016: if test x"$FC" != x""; then
5017: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5018: awk -F. '{ printf("%s", $1);}'`
5019: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5020: awk -F. '{ printf("%s", $2);}'`
5021: if test $GCC_VERSION_MAJEURE -ge 5; then
5022: OPTIMISATION_F=-O3
5023: else
5024: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5025: OPTIMISATION_F=-O3
5026: else
5027: if test $GCC_VERSION_MAJEURE -ge 3; then
5028: OPTIMISATION_F=-O2
5029: else
5030: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5031: fi
5032: fi
5033: fi
5034: fi
5035:
5036:
5037: ac_ext=c
5038: ac_cpp='$CPP $CPPFLAGS'
5039: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5040: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5041: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5043: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5044: # On Suns, sometimes $CPP names a directory.
5045: if test -n "$CPP" && test -d "$CPP"; then
5046: CPP=
5047: fi
5048: if test -z "$CPP"; then
5049: if ${ac_cv_prog_CPP+:} false; then :
5050: $as_echo_n "(cached) " >&6
5051: else
5052: # Double quotes because CPP needs to be expanded
5053: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5054: do
5055: ac_preproc_ok=false
5056: for ac_c_preproc_warn_flag in '' yes
5057: do
5058: # Use a header file that comes with gcc, so configuring glibc
5059: # with a fresh cross-compiler works.
5060: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5061: # <limits.h> exists even on freestanding compilers.
5062: # On the NeXT, cc -E runs the code through the compiler's parser,
5063: # not just through cpp. "Syntax error" is here to catch this case.
5064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065: /* end confdefs.h. */
5066: #ifdef __STDC__
5067: # include <limits.h>
5068: #else
5069: # include <assert.h>
5070: #endif
5071: Syntax error
5072: _ACEOF
5073: if ac_fn_c_try_cpp "$LINENO"; then :
5074:
5075: else
5076: # Broken: fails on valid input.
5077: continue
5078: fi
5079: rm -f conftest.err conftest.i conftest.$ac_ext
5080:
5081: # OK, works on sane cases. Now check whether nonexistent headers
5082: # can be detected and how.
5083: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084: /* end confdefs.h. */
5085: #include <ac_nonexistent.h>
5086: _ACEOF
5087: if ac_fn_c_try_cpp "$LINENO"; then :
5088: # Broken: success on invalid input.
5089: continue
5090: else
5091: # Passes both tests.
5092: ac_preproc_ok=:
5093: break
5094: fi
5095: rm -f conftest.err conftest.i conftest.$ac_ext
5096:
5097: done
5098: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5099: rm -f conftest.i conftest.err conftest.$ac_ext
5100: if $ac_preproc_ok; then :
5101: break
5102: fi
5103:
5104: done
5105: ac_cv_prog_CPP=$CPP
5106:
5107: fi
5108: CPP=$ac_cv_prog_CPP
5109: else
5110: ac_cv_prog_CPP=$CPP
5111: fi
5112: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5113: $as_echo "$CPP" >&6; }
5114: ac_preproc_ok=false
5115: for ac_c_preproc_warn_flag in '' yes
5116: do
5117: # Use a header file that comes with gcc, so configuring glibc
5118: # with a fresh cross-compiler works.
5119: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5120: # <limits.h> exists even on freestanding compilers.
5121: # On the NeXT, cc -E runs the code through the compiler's parser,
5122: # not just through cpp. "Syntax error" is here to catch this case.
5123: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124: /* end confdefs.h. */
5125: #ifdef __STDC__
5126: # include <limits.h>
5127: #else
5128: # include <assert.h>
5129: #endif
5130: Syntax error
5131: _ACEOF
5132: if ac_fn_c_try_cpp "$LINENO"; then :
5133:
5134: else
5135: # Broken: fails on valid input.
5136: continue
5137: fi
5138: rm -f conftest.err conftest.i conftest.$ac_ext
5139:
5140: # OK, works on sane cases. Now check whether nonexistent headers
5141: # can be detected and how.
5142: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143: /* end confdefs.h. */
5144: #include <ac_nonexistent.h>
5145: _ACEOF
5146: if ac_fn_c_try_cpp "$LINENO"; then :
5147: # Broken: success on invalid input.
5148: continue
5149: else
5150: # Passes both tests.
5151: ac_preproc_ok=:
5152: break
5153: fi
5154: rm -f conftest.err conftest.i conftest.$ac_ext
5155:
5156: done
5157: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5158: rm -f conftest.i conftest.err conftest.$ac_ext
5159: if $ac_preproc_ok; then :
5160:
5161: else
5162: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5163: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5164: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5165: See \`config.log' for more details" "$LINENO" 5; }
5166: fi
5167:
5168: ac_ext=c
5169: ac_cpp='$CPP $CPPFLAGS'
5170: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5173:
5174:
5175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5176: $as_echo_n "checking for X... " >&6; }
5177:
5178:
5179: # Check whether --with-x was given.
5180: if test "${with_x+set}" = set; then :
5181: withval=$with_x;
5182: fi
5183:
5184: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5185: if test "x$with_x" = xno; then
5186: # The user explicitly disabled X.
5187: have_x=disabled
5188: else
5189: case $x_includes,$x_libraries in #(
5190: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5191: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5192: $as_echo_n "(cached) " >&6
5193: else
5194: # One or both of the vars are not set, and there is no cached value.
5195: ac_x_includes=no ac_x_libraries=no
5196: rm -f -r conftest.dir
5197: if mkdir conftest.dir; then
5198: cd conftest.dir
5199: cat >Imakefile <<'_ACEOF'
5200: incroot:
5201: @echo incroot='${INCROOT}'
5202: usrlibdir:
5203: @echo usrlibdir='${USRLIBDIR}'
5204: libdir:
5205: @echo libdir='${LIBDIR}'
5206: _ACEOF
5207: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5208: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5209: for ac_var in incroot usrlibdir libdir; do
5210: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5211: done
5212: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5213: for ac_extension in a so sl dylib la dll; do
5214: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5215: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5216: ac_im_usrlibdir=$ac_im_libdir; break
5217: fi
5218: done
5219: # Screen out bogus values from the imake configuration. They are
5220: # bogus both because they are the default anyway, and because
5221: # using them would break gcc on systems where it needs fixed includes.
5222: case $ac_im_incroot in
5223: /usr/include) ac_x_includes= ;;
5224: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5225: esac
5226: case $ac_im_usrlibdir in
5227: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5228: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5229: esac
5230: fi
5231: cd ..
5232: rm -f -r conftest.dir
5233: fi
5234:
5235: # Standard set of common directories for X headers.
5236: # Check X11 before X11Rn because it is often a symlink to the current release.
5237: ac_x_header_dirs='
5238: /usr/X11/include
5239: /usr/X11R7/include
5240: /usr/X11R6/include
5241: /usr/X11R5/include
5242: /usr/X11R4/include
5243:
5244: /usr/include/X11
5245: /usr/include/X11R7
5246: /usr/include/X11R6
5247: /usr/include/X11R5
5248: /usr/include/X11R4
5249:
5250: /usr/local/X11/include
5251: /usr/local/X11R7/include
5252: /usr/local/X11R6/include
5253: /usr/local/X11R5/include
5254: /usr/local/X11R4/include
5255:
5256: /usr/local/include/X11
5257: /usr/local/include/X11R7
5258: /usr/local/include/X11R6
5259: /usr/local/include/X11R5
5260: /usr/local/include/X11R4
5261:
5262: /usr/X386/include
5263: /usr/x386/include
5264: /usr/XFree86/include/X11
5265:
5266: /usr/include
5267: /usr/local/include
5268: /usr/unsupported/include
5269: /usr/athena/include
5270: /usr/local/x11r5/include
5271: /usr/lpp/Xamples/include
5272:
5273: /usr/openwin/include
5274: /usr/openwin/share/include'
5275:
5276: if test "$ac_x_includes" = no; then
5277: # Guess where to find include files, by looking for Xlib.h.
5278: # First, try using that file with no special directory specified.
5279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280: /* end confdefs.h. */
5281: #include <X11/Xlib.h>
5282: _ACEOF
5283: if ac_fn_c_try_cpp "$LINENO"; then :
5284: # We can compile using X headers with no special include directory.
5285: ac_x_includes=
5286: else
5287: for ac_dir in $ac_x_header_dirs; do
5288: if test -r "$ac_dir/X11/Xlib.h"; then
5289: ac_x_includes=$ac_dir
5290: break
5291: fi
5292: done
5293: fi
5294: rm -f conftest.err conftest.i conftest.$ac_ext
5295: fi # $ac_x_includes = no
5296:
5297: if test "$ac_x_libraries" = no; then
5298: # Check for the libraries.
5299: # See if we find them without any special options.
5300: # Don't add to $LIBS permanently.
5301: ac_save_LIBS=$LIBS
5302: LIBS="-lX11 $LIBS"
5303: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304: /* end confdefs.h. */
5305: #include <X11/Xlib.h>
5306: int
5307: main ()
5308: {
5309: XrmInitialize ()
5310: ;
5311: return 0;
5312: }
5313: _ACEOF
5314: if ac_fn_c_try_link "$LINENO"; then :
5315: LIBS=$ac_save_LIBS
5316: # We can link X programs with no special library path.
5317: ac_x_libraries=
5318: else
5319: LIBS=$ac_save_LIBS
5320: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5321: do
5322: # Don't even attempt the hair of trying to link an X program!
5323: for ac_extension in a so sl dylib la dll; do
5324: if test -r "$ac_dir/libX11.$ac_extension"; then
5325: ac_x_libraries=$ac_dir
5326: break 2
5327: fi
5328: done
5329: done
5330: fi
5331: rm -f core conftest.err conftest.$ac_objext \
5332: conftest$ac_exeext conftest.$ac_ext
5333: fi # $ac_x_libraries = no
5334:
5335: case $ac_x_includes,$ac_x_libraries in #(
5336: no,* | *,no | *\'*)
5337: # Didn't find X, or a directory has "'" in its name.
5338: ac_cv_have_x="have_x=no";; #(
5339: *)
5340: # Record where we found X for the cache.
5341: ac_cv_have_x="have_x=yes\
5342: ac_x_includes='$ac_x_includes'\
5343: ac_x_libraries='$ac_x_libraries'"
5344: esac
5345: fi
5346: ;; #(
5347: *) have_x=yes;;
5348: esac
5349: eval "$ac_cv_have_x"
5350: fi # $with_x != no
5351:
5352: if test "$have_x" != yes; then
5353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5354: $as_echo "$have_x" >&6; }
5355: no_x=yes
5356: else
5357: # If each of the values was on the command line, it overrides each guess.
5358: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5359: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5360: # Update the cache value to reflect the command line values.
5361: ac_cv_have_x="have_x=yes\
5362: ac_x_includes='$x_includes'\
5363: ac_x_libraries='$x_libraries'"
5364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5365: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5366: fi
5367:
5368: if test "$no_x" = yes; then
5369: # Not all programs may use this symbol, but it does not hurt to define it.
5370:
5371: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5372:
5373: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5374: else
5375: if test -n "$x_includes"; then
5376: X_CFLAGS="$X_CFLAGS -I$x_includes"
5377: fi
5378:
5379: # It would also be nice to do this for all -L options, not just this one.
5380: if test -n "$x_libraries"; then
5381: X_LIBS="$X_LIBS -L$x_libraries"
5382: # For Solaris; some versions of Sun CC require a space after -R and
5383: # others require no space. Words are not sufficient . . . .
5384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5385: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5386: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5387: ac_xsave_c_werror_flag=$ac_c_werror_flag
5388: ac_c_werror_flag=yes
5389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390: /* end confdefs.h. */
5391:
5392: int
5393: main ()
5394: {
5395:
5396: ;
5397: return 0;
5398: }
5399: _ACEOF
5400: if ac_fn_c_try_link "$LINENO"; then :
5401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402: $as_echo "no" >&6; }
5403: X_LIBS="$X_LIBS -R$x_libraries"
5404: else
5405: LIBS="$ac_xsave_LIBS -R $x_libraries"
5406: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407: /* end confdefs.h. */
5408:
5409: int
5410: main ()
5411: {
5412:
5413: ;
5414: return 0;
5415: }
5416: _ACEOF
5417: if ac_fn_c_try_link "$LINENO"; then :
5418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5419: $as_echo "yes" >&6; }
5420: X_LIBS="$X_LIBS -R $x_libraries"
5421: else
5422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5423: $as_echo "neither works" >&6; }
5424: fi
5425: rm -f core conftest.err conftest.$ac_objext \
5426: conftest$ac_exeext conftest.$ac_ext
5427: fi
5428: rm -f core conftest.err conftest.$ac_objext \
5429: conftest$ac_exeext conftest.$ac_ext
5430: ac_c_werror_flag=$ac_xsave_c_werror_flag
5431: LIBS=$ac_xsave_LIBS
5432: fi
5433:
5434: # Check for system-dependent libraries X programs must link with.
5435: # Do this before checking for the system-independent R6 libraries
5436: # (-lICE), since we may need -lsocket or whatever for X linking.
5437:
5438: if test "$ISC" = yes; then
5439: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5440: else
5441: # Martyn Johnson says this is needed for Ultrix, if the X
5442: # libraries were built with DECnet support. And Karl Berry says
5443: # the Alpha needs dnet_stub (dnet does not exist).
5444: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446: /* end confdefs.h. */
5447:
5448: /* Override any GCC internal prototype to avoid an error.
5449: Use char because int might match the return type of a GCC
5450: builtin and then its argument prototype would still apply. */
5451: #ifdef __cplusplus
5452: extern "C"
5453: #endif
5454: char XOpenDisplay ();
5455: int
5456: main ()
5457: {
5458: return XOpenDisplay ();
5459: ;
5460: return 0;
5461: }
5462: _ACEOF
5463: if ac_fn_c_try_link "$LINENO"; then :
5464:
5465: else
5466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5467: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5468: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5469: $as_echo_n "(cached) " >&6
5470: else
5471: ac_check_lib_save_LIBS=$LIBS
5472: LIBS="-ldnet $LIBS"
5473: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5474: /* end confdefs.h. */
5475:
5476: /* Override any GCC internal prototype to avoid an error.
5477: Use char because int might match the return type of a GCC
5478: builtin and then its argument prototype would still apply. */
5479: #ifdef __cplusplus
5480: extern "C"
5481: #endif
5482: char dnet_ntoa ();
5483: int
5484: main ()
5485: {
5486: return dnet_ntoa ();
5487: ;
5488: return 0;
5489: }
5490: _ACEOF
5491: if ac_fn_c_try_link "$LINENO"; then :
5492: ac_cv_lib_dnet_dnet_ntoa=yes
5493: else
5494: ac_cv_lib_dnet_dnet_ntoa=no
5495: fi
5496: rm -f core conftest.err conftest.$ac_objext \
5497: conftest$ac_exeext conftest.$ac_ext
5498: LIBS=$ac_check_lib_save_LIBS
5499: fi
5500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5501: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5502: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5503: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5504: fi
5505:
5506: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5508: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5509: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5510: $as_echo_n "(cached) " >&6
5511: else
5512: ac_check_lib_save_LIBS=$LIBS
5513: LIBS="-ldnet_stub $LIBS"
5514: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515: /* end confdefs.h. */
5516:
5517: /* Override any GCC internal prototype to avoid an error.
5518: Use char because int might match the return type of a GCC
5519: builtin and then its argument prototype would still apply. */
5520: #ifdef __cplusplus
5521: extern "C"
5522: #endif
5523: char dnet_ntoa ();
5524: int
5525: main ()
5526: {
5527: return dnet_ntoa ();
5528: ;
5529: return 0;
5530: }
5531: _ACEOF
5532: if ac_fn_c_try_link "$LINENO"; then :
5533: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5534: else
5535: ac_cv_lib_dnet_stub_dnet_ntoa=no
5536: fi
5537: rm -f core conftest.err conftest.$ac_objext \
5538: conftest$ac_exeext conftest.$ac_ext
5539: LIBS=$ac_check_lib_save_LIBS
5540: fi
5541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5542: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5543: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5544: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5545: fi
5546:
5547: fi
5548: fi
5549: rm -f core conftest.err conftest.$ac_objext \
5550: conftest$ac_exeext conftest.$ac_ext
5551: LIBS="$ac_xsave_LIBS"
5552:
5553: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5554: # to get the SysV transport functions.
5555: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5556: # needs -lnsl.
5557: # The nsl library prevents programs from opening the X display
5558: # on Irix 5.2, according to T.E. Dickey.
5559: # The functions gethostbyname, getservbyname, and inet_addr are
5560: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5561: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5562: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5563:
5564: fi
5565:
5566: if test $ac_cv_func_gethostbyname = no; then
5567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5568: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5569: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5570: $as_echo_n "(cached) " >&6
5571: else
5572: ac_check_lib_save_LIBS=$LIBS
5573: LIBS="-lnsl $LIBS"
5574: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575: /* end confdefs.h. */
5576:
5577: /* Override any GCC internal prototype to avoid an error.
5578: Use char because int might match the return type of a GCC
5579: builtin and then its argument prototype would still apply. */
5580: #ifdef __cplusplus
5581: extern "C"
5582: #endif
5583: char gethostbyname ();
5584: int
5585: main ()
5586: {
5587: return gethostbyname ();
5588: ;
5589: return 0;
5590: }
5591: _ACEOF
5592: if ac_fn_c_try_link "$LINENO"; then :
5593: ac_cv_lib_nsl_gethostbyname=yes
5594: else
5595: ac_cv_lib_nsl_gethostbyname=no
5596: fi
5597: rm -f core conftest.err conftest.$ac_objext \
5598: conftest$ac_exeext conftest.$ac_ext
5599: LIBS=$ac_check_lib_save_LIBS
5600: fi
5601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5602: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5603: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5604: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5605: fi
5606:
5607: if test $ac_cv_lib_nsl_gethostbyname = no; then
5608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5609: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5610: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5611: $as_echo_n "(cached) " >&6
5612: else
5613: ac_check_lib_save_LIBS=$LIBS
5614: LIBS="-lbsd $LIBS"
5615: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616: /* end confdefs.h. */
5617:
5618: /* Override any GCC internal prototype to avoid an error.
5619: Use char because int might match the return type of a GCC
5620: builtin and then its argument prototype would still apply. */
5621: #ifdef __cplusplus
5622: extern "C"
5623: #endif
5624: char gethostbyname ();
5625: int
5626: main ()
5627: {
5628: return gethostbyname ();
5629: ;
5630: return 0;
5631: }
5632: _ACEOF
5633: if ac_fn_c_try_link "$LINENO"; then :
5634: ac_cv_lib_bsd_gethostbyname=yes
5635: else
5636: ac_cv_lib_bsd_gethostbyname=no
5637: fi
5638: rm -f core conftest.err conftest.$ac_objext \
5639: conftest$ac_exeext conftest.$ac_ext
5640: LIBS=$ac_check_lib_save_LIBS
5641: fi
5642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5643: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5644: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5645: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5646: fi
5647:
5648: fi
5649: fi
5650:
5651: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5652: # socket/setsockopt and other routines are undefined under SCO ODT
5653: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5654: # on later versions), says Simon Leinen: it contains gethostby*
5655: # variants that don't use the name server (or something). -lsocket
5656: # must be given before -lnsl if both are needed. We assume that
5657: # if connect needs -lnsl, so does gethostbyname.
5658: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5659: if test "x$ac_cv_func_connect" = xyes; then :
5660:
5661: fi
5662:
5663: if test $ac_cv_func_connect = no; then
5664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5665: $as_echo_n "checking for connect in -lsocket... " >&6; }
5666: if ${ac_cv_lib_socket_connect+:} false; then :
5667: $as_echo_n "(cached) " >&6
5668: else
5669: ac_check_lib_save_LIBS=$LIBS
5670: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5671: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672: /* end confdefs.h. */
5673:
5674: /* Override any GCC internal prototype to avoid an error.
5675: Use char because int might match the return type of a GCC
5676: builtin and then its argument prototype would still apply. */
5677: #ifdef __cplusplus
5678: extern "C"
5679: #endif
5680: char connect ();
5681: int
5682: main ()
5683: {
5684: return connect ();
5685: ;
5686: return 0;
5687: }
5688: _ACEOF
5689: if ac_fn_c_try_link "$LINENO"; then :
5690: ac_cv_lib_socket_connect=yes
5691: else
5692: ac_cv_lib_socket_connect=no
5693: fi
5694: rm -f core conftest.err conftest.$ac_objext \
5695: conftest$ac_exeext conftest.$ac_ext
5696: LIBS=$ac_check_lib_save_LIBS
5697: fi
5698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5699: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5700: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5701: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5702: fi
5703:
5704: fi
5705:
5706: # Guillermo Gomez says -lposix is necessary on A/UX.
5707: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5708: if test "x$ac_cv_func_remove" = xyes; then :
5709:
5710: fi
5711:
5712: if test $ac_cv_func_remove = no; then
5713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5714: $as_echo_n "checking for remove in -lposix... " >&6; }
5715: if ${ac_cv_lib_posix_remove+:} false; then :
5716: $as_echo_n "(cached) " >&6
5717: else
5718: ac_check_lib_save_LIBS=$LIBS
5719: LIBS="-lposix $LIBS"
5720: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721: /* end confdefs.h. */
5722:
5723: /* Override any GCC internal prototype to avoid an error.
5724: Use char because int might match the return type of a GCC
5725: builtin and then its argument prototype would still apply. */
5726: #ifdef __cplusplus
5727: extern "C"
5728: #endif
5729: char remove ();
5730: int
5731: main ()
5732: {
5733: return remove ();
5734: ;
5735: return 0;
5736: }
5737: _ACEOF
5738: if ac_fn_c_try_link "$LINENO"; then :
5739: ac_cv_lib_posix_remove=yes
5740: else
5741: ac_cv_lib_posix_remove=no
5742: fi
5743: rm -f core conftest.err conftest.$ac_objext \
5744: conftest$ac_exeext conftest.$ac_ext
5745: LIBS=$ac_check_lib_save_LIBS
5746: fi
5747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5748: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5749: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5750: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5751: fi
5752:
5753: fi
5754:
5755: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5756: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5757: if test "x$ac_cv_func_shmat" = xyes; then :
5758:
5759: fi
5760:
5761: if test $ac_cv_func_shmat = no; then
5762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5763: $as_echo_n "checking for shmat in -lipc... " >&6; }
5764: if ${ac_cv_lib_ipc_shmat+:} false; then :
5765: $as_echo_n "(cached) " >&6
5766: else
5767: ac_check_lib_save_LIBS=$LIBS
5768: LIBS="-lipc $LIBS"
5769: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770: /* end confdefs.h. */
5771:
5772: /* Override any GCC internal prototype to avoid an error.
5773: Use char because int might match the return type of a GCC
5774: builtin and then its argument prototype would still apply. */
5775: #ifdef __cplusplus
5776: extern "C"
5777: #endif
5778: char shmat ();
5779: int
5780: main ()
5781: {
5782: return shmat ();
5783: ;
5784: return 0;
5785: }
5786: _ACEOF
5787: if ac_fn_c_try_link "$LINENO"; then :
5788: ac_cv_lib_ipc_shmat=yes
5789: else
5790: ac_cv_lib_ipc_shmat=no
5791: fi
5792: rm -f core conftest.err conftest.$ac_objext \
5793: conftest$ac_exeext conftest.$ac_ext
5794: LIBS=$ac_check_lib_save_LIBS
5795: fi
5796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5797: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5798: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5799: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5800: fi
5801:
5802: fi
5803: fi
5804:
5805: # Check for libraries that X11R6 Xt/Xaw programs need.
5806: ac_save_LDFLAGS=$LDFLAGS
5807: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5808: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5809: # check for ICE first), but we must link in the order -lSM -lICE or
5810: # we get undefined symbols. So assume we have SM if we have ICE.
5811: # These have to be linked with before -lX11, unlike the other
5812: # libraries we check for below, so use a different variable.
5813: # John Interrante, Karl Berry
5814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5815: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5816: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5817: $as_echo_n "(cached) " >&6
5818: else
5819: ac_check_lib_save_LIBS=$LIBS
5820: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5821: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822: /* end confdefs.h. */
5823:
5824: /* Override any GCC internal prototype to avoid an error.
5825: Use char because int might match the return type of a GCC
5826: builtin and then its argument prototype would still apply. */
5827: #ifdef __cplusplus
5828: extern "C"
5829: #endif
5830: char IceConnectionNumber ();
5831: int
5832: main ()
5833: {
5834: return IceConnectionNumber ();
5835: ;
5836: return 0;
5837: }
5838: _ACEOF
5839: if ac_fn_c_try_link "$LINENO"; then :
5840: ac_cv_lib_ICE_IceConnectionNumber=yes
5841: else
5842: ac_cv_lib_ICE_IceConnectionNumber=no
5843: fi
5844: rm -f core conftest.err conftest.$ac_objext \
5845: conftest$ac_exeext conftest.$ac_ext
5846: LIBS=$ac_check_lib_save_LIBS
5847: fi
5848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5849: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5850: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5851: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5852: fi
5853:
5854: LDFLAGS=$ac_save_LDFLAGS
5855:
5856: fi
5857:
5858:
5859: if test "$ac_x_includes" != "no"; then
5860: if test x"$ac_x_includes" != x; then
5861: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5862: includeX="-I$ac_x_includes"
5863: fi
5864: fi
5865: if test "$ac_x_libraries" != "no"; then
5866: if test x"$ac_x_libraries" != x; then
5867: X_LIBS="$X_LIBS -L$ac_x_libraries"
5868: fi
5869: fi
5870:
5871:
5872: # Check whether --with-32bits was given.
5873: if test "${with_32bits+set}" = set; then :
5874: withval=$with_32bits;
5875: if test "$with-32bits-abi" = "no"; then
5876: else
5877: ABI=-m32
5878: fi
5879: else
5880:
5881: ABI=-m32
5882:
5883:
5884: fi
5885:
5886:
5887: SUBST(ABI)
5888:
5889: # Check whether --enable-optimization was given.
5890: if test "${enable_optimization+set}" = set; then :
5891: enableval=$enable_optimization;
5892: if test "$enableval" = "no"; then
5893: CFLAGS=
5894: FFLAGS=
5895: CXXFLAGS=
5896: FCFLAGS=
5897: else
5898: CFLAGS="$CFLAGS $enable_optimization"
5899: FFLAGS="$FFLAGS $enable_optimization"
5900: FCFLAGS="$FCFLAGS $enable_optimization"
5901: fi
5902: else
5903:
5904: CFLAGS="$CFLAGS $OPTIMISATION_C"
5905: FFLAGS="$FFLAGS $OPTIMISATION_F"
5906: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5907:
5908:
5909: fi
5910:
5911:
5912: # Check whether --enable-sysv-semaphores was given.
5913: if test "${enable_sysv_semaphores+set}" = set; then :
5914: enableval=$enable_sysv_semaphores;
5915: if test "$enableval" = "no"; then
5916: IPCS_SYSV=no
5917: else
5918: IPCS_SYSV=yes
5919: fi
5920: else
5921: IPCS_SYSV=no
5922: fi
5923:
5924:
5925: # Check whether --enable-full-static was given.
5926: if test "${enable_full_static+set}" = set; then :
5927: enableval=$enable_full_static;
5928: if test "$enableval" = "no"; then
5929: STATIC=no
5930: else
5931: STATIC=yes
5932: fi
5933: else
5934: STATIC=no
5935: fi
5936:
5937:
5938: # Check whether --enable-final-encoding was given.
5939: if test "${enable_final_encoding+set}" = set; then :
5940: enableval=$enable_final_encoding;
5941: if test "$enableval" = "no"; then
5942: FINAL_ENCODING="\$(shell locale charmap | \
5943: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5944: FORCED_FINAL_ENCODING=0
5945: else
5946: FINAL_ENCODING="$enable_final_encoding"
5947: FORCED_FINAL_ENCODING=1
5948: fi
5949: else
5950:
5951: FORCED_FINAL_ENCODING=0
5952: FINAL_ENCODING="\$(shell locale charmap | \
5953: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5954: fi
5955:
5956:
5957: # Check whether --enable-tex was given.
5958: if test "${enable_tex+set}" = set; then :
5959: enableval=$enable_tex;
5960: if test "$enableval" = "no"; then
5961: TEX_SUPPORT=no
5962: else
5963: TEX_SUPPORT=yes
5964: fi
5965: else
5966: TEX_SUPPORT=guessed
5967: fi
5968:
5969:
5970: # Check whether --enable-vim was given.
5971: if test "${enable_vim+set}" = set; then :
5972: enableval=$enable_vim;
5973: if test "$enableval" = "no"; then
5974: VIM_SUPPORT=no
5975: else
5976: VIM_SUPPORT=yes
5977: fi
5978: else
5979: VIM_SUPPORT=guessed
5980: fi
5981:
5982:
5983: # Check whether --enable-embedded-gnuplot was given.
5984: if test "${enable_embedded_gnuplot+set}" = set; then :
5985: enableval=$enable_embedded_gnuplot;
5986: if test "$enableval" = "no"; then
5987: MYGNUPLOT=no
5988: else
5989: MYGNUPLOT=yes
5990: fi
5991: else
5992:
5993: MYGNUPLOT=yes
5994: fi
5995:
5996:
5997: # Check whether --enable-gnuplot was given.
5998: if test "${enable_gnuplot+set}" = set; then :
5999: enableval=$enable_gnuplot;
6000: if test "$enableval" = "no"; then
6001: GNUPLOT_SUPPORT=no
6002: MYGNUPLOT=no
6003: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6004: else
6005: GNUPLOT_SUPPORT=yes
6006: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6007: fi
6008: else
6009:
6010: if test "$MYGNUPLOT" = "yes"; then
6011: GNUPLOT_SUPPORT=yes
6012: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6013: else
6014: GNUPLOT_SUPPORT=guessed
6015: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6016: fi
6017: fi
6018:
6019:
6020: # Check whether --enable-motif was given.
6021: if test "${enable_motif+set}" = set; then :
6022: enableval=$enable_motif;
6023: if test "$enableval" = "no"; then
6024: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6025: else
6026: CFLAGS_ORIG=$CFLAGS
6027: LIBS_ORIG=$LIBS
6028: CFLAGS="$CFLAGS $X_CFLAGS"
6029: LIBS="$LIB $X_LIBS"
6030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6031: $as_echo_n "checking for main in -lXm... " >&6; }
6032: if ${ac_cv_lib_Xm_main+:} false; then :
6033: $as_echo_n "(cached) " >&6
6034: else
6035: ac_check_lib_save_LIBS=$LIBS
6036: LIBS="-lXm $LIBS"
6037: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038: /* end confdefs.h. */
6039:
6040:
6041: int
6042: main ()
6043: {
6044: return main ();
6045: ;
6046: return 0;
6047: }
6048: _ACEOF
6049: if ac_fn_c_try_link "$LINENO"; then :
6050: ac_cv_lib_Xm_main=yes
6051: else
6052: ac_cv_lib_Xm_main=no
6053: fi
6054: rm -f core conftest.err conftest.$ac_objext \
6055: conftest$ac_exeext conftest.$ac_ext
6056: LIBS=$ac_check_lib_save_LIBS
6057: fi
6058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6059: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6060: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6061: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6062: else
6063: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6064: fi
6065:
6066: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6067: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
6068: Motif flag is disabled.
6069: " >&5
6070: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
6071: Motif flag is disabled.
6072: " >&2;}
6073: fi
6074: LIBS=$LIBS_ORIG
6075: CFLAGS=$CFLAGS_ORIG
6076: fi
6077: else
6078: MOTIF_SUPPORT=guessed
6079: fi
6080:
6081:
6082: # Check whether --enable-experimental was given.
6083: if test "${enable_experimental+set}" = set; then :
6084: enableval=$enable_experimental;
6085: if test "$enableval" = "no"; then
6086: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6087: else
6088: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6089: fi
6090: else
6091: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6092: fi
6093:
6094:
6095: # Check whether --enable-debug was given.
6096: if test "${enable_debug+set}" = set; then :
6097: enableval=$enable_debug;
6098: if test "$enableval" = "no"; then
6099: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6100: else
6101: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6102: fi
6103: else
6104: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6105: fi
6106:
6107:
6108: # Check whether --enable-profile was given.
6109: if test "${enable_profile+set}" = set; then :
6110: enableval=$enable_profile;
6111: if test "$enableval" = "no"; then
6112: PROFILAGE=""
6113: else
6114: PROFILAGE="-pg"
6115: fi
6116: else
6117: PROFILAGE=""
6118: fi
6119:
6120:
6121:
6122:
6123: if test ! -d tools; then
6124: mkdir tools
6125: fi
6126: if test ! -d "$srcdir"/tools/$NCURSES; then
6127: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6128: (cd "$srcdir/tools" && tar -xf -)
6129: (cd "$srcdir/tools/"$NCURSES && \
6130: for i in ../$NCURSES*.patch.gz;
6131: do gunzip -c $i | patch -p1;
6132: done);
6133: fi
6134: if test ! -d "$srcdir"/tools/$READLINE; then
6135: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6136: (cd "$srcdir/tools" && tar -xf -)
6137: fi
6138: if test ! -d "$srcdir"/tools/$UNITS; then
6139: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6140: (cd "$srcdir/tools" && tar -xf -)
6141: fi
6142: if test ! -d "$srcdir"/tools/$GSL; then
6143: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6144: (cd "$srcdir/tools" && tar -xf -)
6145: if test $(uname) = "OS/2"; then
6146: (cd "$srcdir"/tools/$GSL; \
6147: TMP=$(mktemp tmp.XXXXXXXXXX); \
6148: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6149: \mv -f $TMP ltmain.sh)
6150: fi
6151: fi
6152: if test ! -d "$srcdir"/tools/$GPP; then
6153: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6154: (cd "$srcdir/tools" && tar -xf -)
6155: fi
6156: if test ! -d "$srcdir"/tools/$FILE; then
6157: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6158: (cd "$srcdir/tools" && tar -xf - )
6159: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6160: fi
6161: if test ! -d "$srcdir"/tools/$ICONV; then
6162: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6163: (cd "$srcdir/tools" && tar -xf -)
6164: fi
6165: if test ! -d "$srcdir"/tools/$SQLITE; then
6166: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6167: (cd "$srcdir/tools" && tar -xf -)
6168: fi
6169: if test ! -d tools/$OPENSSL; then
6170: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6171: (cd tools && tar -xf -)
6172: fi
6173: if test ! -d rplcas; then
6174: mkdir rplcas
6175: fi
6176: if test ! -d "$srcdir"/rplcas/$GMP; then
6177: gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
6178: (cd "$srcdir/rplcas" && tar -xf -)
6179: fi
6180: if test ! -d "$srcdir"/rplcas/$MPFR; then
6181: gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
6182: (cd "$srcdir/rplcas" && tar -xf -)
6183: fi
6184: if test ! -d rplcas/$NTL; then
6185: gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
6186: (cd rplcas && tar -xf -)
6187: fi
6188: if test ! -d rplcas/$COCOA; then
6189: gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
6190: (cd rplcas && tar -xf -)
6191: fi
6192: if test ! -d rplcas/$PARI; then
6193: gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
6194: (cd rplcas && tar -xf -)
6195: fi
6196: if test ! -d "$srcdir"/rplcas/$GIAC; then
6197: gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
6198: (cd "$srcdir/rplcas" && tar -xf -)
6199: fi
6200:
6201:
6202:
6203: # Check whether --enable-final-run-path was given.
6204: if test "${enable_final_run_path+set}" = set; then :
6205: enableval=$enable_final_run_path;
6206: if test "x$enable_final_run_path" = "x"; then
6207: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6208: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6209: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6210: else
6211: RUNPATH="$enable_final_run_path"
6212: fi
6213:
6214: else
6215: RUNPATH="\${prefix}"
6216:
6217: fi
6218:
6219:
6220:
6221:
6222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6223: $as_echo_n "checking whether ln -s works... " >&6; }
6224: LN_S=$as_ln_s
6225: if test "$LN_S" = "ln -s"; then
6226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6227: $as_echo "yes" >&6; }
6228: else
6229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6230: $as_echo "no, using $LN_S" >&6; }
6231: fi
6232:
6233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6234: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6235: set x ${MAKE-make}
6236: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6237: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6238: $as_echo_n "(cached) " >&6
6239: else
6240: cat >conftest.make <<\_ACEOF
6241: SHELL = /bin/sh
6242: all:
6243: @echo '@@@%%%=$(MAKE)=@@@%%%'
6244: _ACEOF
6245: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6246: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6247: *@@@%%%=?*=@@@%%%*)
6248: eval ac_cv_prog_make_${ac_make}_set=yes;;
6249: *)
6250: eval ac_cv_prog_make_${ac_make}_set=no;;
6251: esac
6252: rm -f conftest.make
6253: fi
6254: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6256: $as_echo "yes" >&6; }
6257: SET_MAKE=
6258: else
6259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260: $as_echo "no" >&6; }
6261: SET_MAKE="MAKE=${MAKE-make}"
6262: fi
6263:
6264: if test -n "$ac_tool_prefix"; then
6265: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6266: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6267: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268: $as_echo_n "checking for $ac_word... " >&6; }
6269: if ${ac_cv_prog_RANLIB+:} false; then :
6270: $as_echo_n "(cached) " >&6
6271: else
6272: if test -n "$RANLIB"; then
6273: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6274: else
6275: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276: for as_dir in $PATH
6277: do
6278: IFS=$as_save_IFS
6279: test -z "$as_dir" && as_dir=.
6280: for ac_exec_ext in '' $ac_executable_extensions; do
6281: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6283: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284: break 2
6285: fi
6286: done
6287: done
6288: IFS=$as_save_IFS
6289:
6290: fi
6291: fi
6292: RANLIB=$ac_cv_prog_RANLIB
6293: if test -n "$RANLIB"; then
6294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6295: $as_echo "$RANLIB" >&6; }
6296: else
6297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298: $as_echo "no" >&6; }
6299: fi
6300:
6301:
6302: fi
6303: if test -z "$ac_cv_prog_RANLIB"; then
6304: ac_ct_RANLIB=$RANLIB
6305: # Extract the first word of "ranlib", so it can be a program name with args.
6306: set dummy ranlib; ac_word=$2
6307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308: $as_echo_n "checking for $ac_word... " >&6; }
6309: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6310: $as_echo_n "(cached) " >&6
6311: else
6312: if test -n "$ac_ct_RANLIB"; then
6313: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6314: else
6315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316: for as_dir in $PATH
6317: do
6318: IFS=$as_save_IFS
6319: test -z "$as_dir" && as_dir=.
6320: for ac_exec_ext in '' $ac_executable_extensions; do
6321: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322: ac_cv_prog_ac_ct_RANLIB="ranlib"
6323: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324: break 2
6325: fi
6326: done
6327: done
6328: IFS=$as_save_IFS
6329:
6330: fi
6331: fi
6332: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6333: if test -n "$ac_ct_RANLIB"; then
6334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6335: $as_echo "$ac_ct_RANLIB" >&6; }
6336: else
6337: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338: $as_echo "no" >&6; }
6339: fi
6340:
6341: if test "x$ac_ct_RANLIB" = x; then
6342: RANLIB=":"
6343: else
6344: case $cross_compiling:$ac_tool_warned in
6345: yes:)
6346: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6347: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6348: ac_tool_warned=yes ;;
6349: esac
6350: RANLIB=$ac_ct_RANLIB
6351: fi
6352: else
6353: RANLIB="$ac_cv_prog_RANLIB"
6354: fi
6355:
6356:
6357: # Extract the first word of "nawk", so it can be a program name with args.
6358: set dummy nawk; ac_word=$2
6359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360: $as_echo_n "checking for $ac_word... " >&6; }
6361: if ${ac_cv_prog_AWK+:} false; then :
6362: $as_echo_n "(cached) " >&6
6363: else
6364: if test -n "$AWK"; then
6365: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6366: else
6367: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368: for as_dir in $PATH
6369: do
6370: IFS=$as_save_IFS
6371: test -z "$as_dir" && as_dir=.
6372: for ac_exec_ext in '' $ac_executable_extensions; do
6373: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374: ac_cv_prog_AWK="yes"
6375: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376: break 2
6377: fi
6378: done
6379: done
6380: IFS=$as_save_IFS
6381:
6382: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6383: fi
6384: fi
6385: AWK=$ac_cv_prog_AWK
6386: if test -n "$AWK"; then
6387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6388: $as_echo "$AWK" >&6; }
6389: else
6390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391: $as_echo "no" >&6; }
6392: fi
6393:
6394:
6395: if test "$AWK" = no; then
6396: # Extract the first word of "gawk", so it can be a program name with args.
6397: set dummy gawk; ac_word=$2
6398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399: $as_echo_n "checking for $ac_word... " >&6; }
6400: if ${ac_cv_prog_AWK+:} false; then :
6401: $as_echo_n "(cached) " >&6
6402: else
6403: if test -n "$AWK"; then
6404: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6405: else
6406: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407: for as_dir in $PATH
6408: do
6409: IFS=$as_save_IFS
6410: test -z "$as_dir" && as_dir=.
6411: for ac_exec_ext in '' $ac_executable_extensions; do
6412: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6413: ac_cv_prog_AWK="yes"
6414: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415: break 2
6416: fi
6417: done
6418: done
6419: IFS=$as_save_IFS
6420:
6421: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6422: fi
6423: fi
6424: AWK=$ac_cv_prog_AWK
6425: if test -n "$AWK"; then
6426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6427: $as_echo "$AWK" >&6; }
6428: else
6429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430: $as_echo "no" >&6; }
6431: fi
6432:
6433:
6434: if test "$AWK" = no; then
6435: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6436: fi
6437: fi
6438:
6439: # Extract the first word of "sed", so it can be a program name with args.
6440: set dummy sed; ac_word=$2
6441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442: $as_echo_n "checking for $ac_word... " >&6; }
6443: if ${ac_cv_prog_SED+:} false; then :
6444: $as_echo_n "(cached) " >&6
6445: else
6446: if test -n "$SED"; then
6447: ac_cv_prog_SED="$SED" # Let the user override the test.
6448: else
6449: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450: for as_dir in $PATH
6451: do
6452: IFS=$as_save_IFS
6453: test -z "$as_dir" && as_dir=.
6454: for ac_exec_ext in '' $ac_executable_extensions; do
6455: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456: ac_cv_prog_SED="yes"
6457: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458: break 2
6459: fi
6460: done
6461: done
6462: IFS=$as_save_IFS
6463:
6464: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6465: fi
6466: fi
6467: SED=$ac_cv_prog_SED
6468: if test -n "$SED"; then
6469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6470: $as_echo "$SED" >&6; }
6471: else
6472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473: $as_echo "no" >&6; }
6474: fi
6475:
6476:
6477: if test "$SED" = no; then
6478: as_fn_error $? "Can not find sed !" "$LINENO" 5
6479: fi
6480:
6481: if test "$TEX_SUPPORT" = guessed; then
6482: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6483:
6484: # Extract the first word of "tex", so it can be a program name with args.
6485: set dummy tex; ac_word=$2
6486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487: $as_echo_n "checking for $ac_word... " >&6; }
6488: if ${ac_cv_prog_TEX+:} false; then :
6489: $as_echo_n "(cached) " >&6
6490: else
6491: if test -n "$TEX"; then
6492: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6493: else
6494: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495: for as_dir in $PATH
6496: do
6497: IFS=$as_save_IFS
6498: test -z "$as_dir" && as_dir=.
6499: for ac_exec_ext in '' $ac_executable_extensions; do
6500: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6501: ac_cv_prog_TEX="yes"
6502: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6503: break 2
6504: fi
6505: done
6506: done
6507: IFS=$as_save_IFS
6508:
6509: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6510: fi
6511: fi
6512: TEX=$ac_cv_prog_TEX
6513: if test -n "$TEX"; then
6514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6515: $as_echo "$TEX" >&6; }
6516: else
6517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518: $as_echo "no" >&6; }
6519: fi
6520:
6521:
6522: if test "$TEX" = no; then
6523: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6524: Download at http://tex.loria.fr/
6525: " >&5
6526: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6527: Download at http://tex.loria.fr/
6528: " >&2;}
6529: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6530: fi
6531:
6532: # Extract the first word of "latex", so it can be a program name with args.
6533: set dummy latex; ac_word=$2
6534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535: $as_echo_n "checking for $ac_word... " >&6; }
6536: if ${ac_cv_prog_LATEX+:} false; then :
6537: $as_echo_n "(cached) " >&6
6538: else
6539: if test -n "$LATEX"; then
6540: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6541: else
6542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543: for as_dir in $PATH
6544: do
6545: IFS=$as_save_IFS
6546: test -z "$as_dir" && as_dir=.
6547: for ac_exec_ext in '' $ac_executable_extensions; do
6548: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549: ac_cv_prog_LATEX="yes"
6550: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551: break 2
6552: fi
6553: done
6554: done
6555: IFS=$as_save_IFS
6556:
6557: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6558: fi
6559: fi
6560: LATEX=$ac_cv_prog_LATEX
6561: if test -n "$LATEX"; then
6562: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6563: $as_echo "$LATEX" >&6; }
6564: else
6565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566: $as_echo "no" >&6; }
6567: fi
6568:
6569:
6570: if test "$LATEX" = no; then
6571: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6572: Download at http://tex.loria.fr/
6573: " >&5
6574: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6575: Download at http://tex.loria.fr/
6576: " >&2;}
6577: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6578: fi
6579:
6580: # Extract the first word of "dvips", so it can be a program name with args.
6581: set dummy dvips; ac_word=$2
6582: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583: $as_echo_n "checking for $ac_word... " >&6; }
6584: if ${ac_cv_prog_DVIPS+:} false; then :
6585: $as_echo_n "(cached) " >&6
6586: else
6587: if test -n "$DVIPS"; then
6588: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6589: else
6590: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591: for as_dir in $PATH
6592: do
6593: IFS=$as_save_IFS
6594: test -z "$as_dir" && as_dir=.
6595: for ac_exec_ext in '' $ac_executable_extensions; do
6596: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597: ac_cv_prog_DVIPS="yes"
6598: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6599: break 2
6600: fi
6601: done
6602: done
6603: IFS=$as_save_IFS
6604:
6605: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6606: fi
6607: fi
6608: DVIPS=$ac_cv_prog_DVIPS
6609: if test -n "$DVIPS"; then
6610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6611: $as_echo "$DVIPS" >&6; }
6612: else
6613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614: $as_echo "no" >&6; }
6615: fi
6616:
6617:
6618: if test "$DVIPS" = no; then
6619: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6620: Download at http://tex.loria.fr/
6621: " >&5
6622: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6623: Download at http://tex.loria.fr/
6624: " >&2;}
6625: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6626: fi
6627:
6628: # Extract the first word of "gs", so it can be a program name with args.
6629: set dummy gs; ac_word=$2
6630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631: $as_echo_n "checking for $ac_word... " >&6; }
6632: if ${ac_cv_prog_GS+:} false; then :
6633: $as_echo_n "(cached) " >&6
6634: else
6635: if test -n "$GS"; then
6636: ac_cv_prog_GS="$GS" # Let the user override the test.
6637: else
6638: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639: for as_dir in $PATH
6640: do
6641: IFS=$as_save_IFS
6642: test -z "$as_dir" && as_dir=.
6643: for ac_exec_ext in '' $ac_executable_extensions; do
6644: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6645: ac_cv_prog_GS="yes"
6646: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647: break 2
6648: fi
6649: done
6650: done
6651: IFS=$as_save_IFS
6652:
6653: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6654: fi
6655: fi
6656: GS=$ac_cv_prog_GS
6657: if test -n "$GS"; then
6658: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6659: $as_echo "$GS" >&6; }
6660: else
6661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662: $as_echo "no" >&6; }
6663: fi
6664:
6665:
6666: if test "$GS" = no; then
6667: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6668: Download at http://ftp.lip6.fr/
6669: " >&5
6670: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6671: Download at http://ftp.lip6.fr/
6672: " >&2;}
6673: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6674: fi
6675:
6676: # Extract the first word of "gv", so it can be a program name with args.
6677: set dummy gv; ac_word=$2
6678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679: $as_echo_n "checking for $ac_word... " >&6; }
6680: if ${ac_cv_prog_GV+:} false; then :
6681: $as_echo_n "(cached) " >&6
6682: else
6683: if test -n "$GV"; then
6684: ac_cv_prog_GV="$GV" # Let the user override the test.
6685: else
6686: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687: for as_dir in $PATH
6688: do
6689: IFS=$as_save_IFS
6690: test -z "$as_dir" && as_dir=.
6691: for ac_exec_ext in '' $ac_executable_extensions; do
6692: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693: ac_cv_prog_GV="yes"
6694: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695: break 2
6696: fi
6697: done
6698: done
6699: IFS=$as_save_IFS
6700:
6701: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6702: fi
6703: fi
6704: GV=$ac_cv_prog_GV
6705: if test -n "$GV"; then
6706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6707: $as_echo "$GV" >&6; }
6708: else
6709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710: $as_echo "no" >&6; }
6711: fi
6712:
6713:
6714: if test "$GV" = no; then
6715: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6716: Download at http://ftp.lip6.fr/
6717: " >&5
6718: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6719: Download at http://ftp.lip6.fr/
6720: " >&2;}
6721: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6722: fi
6723: else
6724: if test "$TEX_SUPPORT" = no; then
6725: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6726: else
6727: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6728: fi
6729: fi
6730:
6731: if test "$GNUPLOT_SUPPORT" = guessed; then
6732: # Extract the first word of "gnuplot", so it can be a program name with args.
6733: set dummy gnuplot; ac_word=$2
6734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735: $as_echo_n "checking for $ac_word... " >&6; }
6736: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6737: $as_echo_n "(cached) " >&6
6738: else
6739: if test -n "$GNUPLOT_P"; then
6740: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6741: else
6742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743: for as_dir in $PATH
6744: do
6745: IFS=$as_save_IFS
6746: test -z "$as_dir" && as_dir=.
6747: for ac_exec_ext in '' $ac_executable_extensions; do
6748: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749: ac_cv_prog_GNUPLOT_P="yes"
6750: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751: break 2
6752: fi
6753: done
6754: done
6755: IFS=$as_save_IFS
6756:
6757: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6758: fi
6759: fi
6760: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6761: if test -n "$GNUPLOT_P"; then
6762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6763: $as_echo "$GNUPLOT_P" >&6; }
6764: else
6765: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766: $as_echo "no" >&6; }
6767: fi
6768:
6769:
6770: if test "$GNUPLOT_P" = no; then
6771: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6772: Download at http://www.gnuplot.vt.edu/
6773: " >&5
6774: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6775: Download at http://www.gnuplot.vt.edu/
6776: " >&2;}
6777: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6778: else
6779: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6780: fi
6781: else
6782: if test "$GNUPLOT_SUPPORT" = no; then
6783: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6784: else
6785: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6786: fi
6787: fi
6788:
6789: if test "$VIM_SUPPORT" = guessed; then
6790: # Extract the first word of "vim", so it can be a program name with args.
6791: set dummy vim; ac_word=$2
6792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793: $as_echo_n "checking for $ac_word... " >&6; }
6794: if ${ac_cv_prog_VIM+:} false; then :
6795: $as_echo_n "(cached) " >&6
6796: else
6797: if test -n "$VIM"; then
6798: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6799: else
6800: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801: for as_dir in $PATH
6802: do
6803: IFS=$as_save_IFS
6804: test -z "$as_dir" && as_dir=.
6805: for ac_exec_ext in '' $ac_executable_extensions; do
6806: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807: ac_cv_prog_VIM="yes"
6808: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809: break 2
6810: fi
6811: done
6812: done
6813: IFS=$as_save_IFS
6814:
6815: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6816: fi
6817: fi
6818: VIM=$ac_cv_prog_VIM
6819: if test -n "$VIM"; then
6820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6821: $as_echo "$VIM" >&6; }
6822: else
6823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824: $as_echo "no" >&6; }
6825: fi
6826:
6827:
6828: if test "$VIM" = no; then
6829: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6830: Download at http://www.vim.org/
6831: " >&5
6832: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6833: Download at http://www.vim.org/
6834: " >&2;}
6835: VIM_SUPPORT="-UVIM_SUPPORT"
6836: else
6837: VIM_SUPPORT="-DVIM_SUPPORT"
6838: fi
6839: else
6840: if test "$VIM_SUPPORT" = no; then
6841: VIM_SUPPORT="-UVIM_SUPPORT"
6842: else
6843: VIM_SUPPORT="-DVIM_SUPPORT"
6844: fi
6845: fi
6846:
6847: if test "$MOTIF_SUPPORT" = guessed; then
6848: CFLAGS_ORIG=$CFLAGS
6849: LIBS_ORIG=$LIBS
6850: CFLAGS="$CFLAGS $X_CFLAGS"
6851: LIBS="$LIB $X_LIBS"
6852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6853: $as_echo_n "checking for main in -lXm... " >&6; }
6854: if ${ac_cv_lib_Xm_main+:} false; then :
6855: $as_echo_n "(cached) " >&6
6856: else
6857: ac_check_lib_save_LIBS=$LIBS
6858: LIBS="-lXm $LIBS"
6859: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6860: /* end confdefs.h. */
6861:
6862:
6863: int
6864: main ()
6865: {
6866: return main ();
6867: ;
6868: return 0;
6869: }
6870: _ACEOF
6871: if ac_fn_c_try_link "$LINENO"; then :
6872: ac_cv_lib_Xm_main=yes
6873: else
6874: ac_cv_lib_Xm_main=no
6875: fi
6876: rm -f core conftest.err conftest.$ac_objext \
6877: conftest$ac_exeext conftest.$ac_ext
6878: LIBS=$ac_check_lib_save_LIBS
6879: fi
6880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6881: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6882: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6883: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6884: else
6885: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6886: fi
6887:
6888: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6889: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6890: Motif flag is disabled.
6891: " >&5
6892: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6893: Motif flag is disabled.
6894: " >&2;}
6895: fi
6896: LIBS=$LIBS_ORIG
6897: CFLAGS=$CFLAGS_ORIG
6898: fi
6899:
6900: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6901: CFLAGS_ORIG=$CFLAGS
6902: LIBS_ORIG=$LIBS
6903: CFLAGS="$CFLAGS $X_CFLAGS"
6904: LIBS="$LIB $X_LIBS"
6905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6906: $as_echo_n "checking for main in -lXpm... " >&6; }
6907: if ${ac_cv_lib_Xpm_main+:} false; then :
6908: $as_echo_n "(cached) " >&6
6909: else
6910: ac_check_lib_save_LIBS=$LIBS
6911: LIBS="-lXpm $LIBS"
6912: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913: /* end confdefs.h. */
6914:
6915:
6916: int
6917: main ()
6918: {
6919: return main ();
6920: ;
6921: return 0;
6922: }
6923: _ACEOF
6924: if ac_fn_c_try_link "$LINENO"; then :
6925: ac_cv_lib_Xpm_main=yes
6926: else
6927: ac_cv_lib_Xpm_main=no
6928: fi
6929: rm -f core conftest.err conftest.$ac_objext \
6930: conftest$ac_exeext conftest.$ac_ext
6931: LIBS=$ac_check_lib_save_LIBS
6932: fi
6933: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6934: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6935: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
6936: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6937: else
6938: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6939: fi
6940:
6941: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6942: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6943: else
6944: libX=""
6945: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6946: Motif flag is disabled.
6947: " >&5
6948: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6949: Motif flag is disabled.
6950: " >&2;}
6951: fi
6952: LIBS=$LIBS_ORIG
6953: CFLAGS=$CFLAGS_ORIG
6954: else
6955: libX=""
6956: fi
6957:
6958:
6959:
6960:
6961:
6962:
6963:
6964:
6965:
6966:
6967:
6968: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6969:
6970:
6971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6972: $as_echo_n "checking for main in -lm... " >&6; }
6973: if ${ac_cv_lib_m_main+:} false; then :
6974: $as_echo_n "(cached) " >&6
6975: else
6976: ac_check_lib_save_LIBS=$LIBS
6977: LIBS="-lm $LIBS"
6978: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979: /* end confdefs.h. */
6980:
6981:
6982: int
6983: main ()
6984: {
6985: return main ();
6986: ;
6987: return 0;
6988: }
6989: _ACEOF
6990: if ac_fn_c_try_link "$LINENO"; then :
6991: ac_cv_lib_m_main=yes
6992: else
6993: ac_cv_lib_m_main=no
6994: fi
6995: rm -f core conftest.err conftest.$ac_objext \
6996: conftest$ac_exeext conftest.$ac_ext
6997: LIBS=$ac_check_lib_save_LIBS
6998: fi
6999: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
7000: $as_echo "$ac_cv_lib_m_main" >&6; }
7001: if test "x$ac_cv_lib_m_main" = xyes; then :
7002: cat >>confdefs.h <<_ACEOF
7003: #define HAVE_LIBM 1
7004: _ACEOF
7005:
7006: LIBS="-lm $LIBS"
7007:
7008: else
7009: as_fn_error $? "Can not find libm !" "$LINENO" 5
7010: fi
7011:
7012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
7013: $as_echo_n "checking for main in -lpthread... " >&6; }
7014: if ${ac_cv_lib_pthread_main+:} false; then :
7015: $as_echo_n "(cached) " >&6
7016: else
7017: ac_check_lib_save_LIBS=$LIBS
7018: LIBS="-lpthread $LIBS"
7019: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020: /* end confdefs.h. */
7021:
7022:
7023: int
7024: main ()
7025: {
7026: return main ();
7027: ;
7028: return 0;
7029: }
7030: _ACEOF
7031: if ac_fn_c_try_link "$LINENO"; then :
7032: ac_cv_lib_pthread_main=yes
7033: else
7034: ac_cv_lib_pthread_main=no
7035: fi
7036: rm -f core conftest.err conftest.$ac_objext \
7037: conftest$ac_exeext conftest.$ac_ext
7038: LIBS=$ac_check_lib_save_LIBS
7039: fi
7040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
7041: $as_echo "$ac_cv_lib_pthread_main" >&6; }
7042: if test "x$ac_cv_lib_pthread_main" = xyes; then :
7043: cat >>confdefs.h <<_ACEOF
7044: #define HAVE_LIBPTHREAD 1
7045: _ACEOF
7046:
7047: LIBS="-lpthread $LIBS"
7048:
7049: else
7050: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
7051: fi
7052:
7053:
7054: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
7055: #include <sys/sem.h>
7056:
7057: "
7058: if test "x$ac_cv_type_union_semun" = xyes; then :
7059: SEMUN=-DUNION_SEMUN
7060: else
7061: SEMUN=-UUNION_SEMUN
7062: fi
7063:
7064:
7065: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7066: #include <sys/types.h>
7067: #include <netinet/in.h>
7068:
7069: "
7070: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7071: IPV6=-DIPV6
7072: else
7073: IPV6=-UIPV6
7074: fi
7075:
7076:
7077: if test "$CYGWIN" != yes; then
7078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7079: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7080: if ${ac_cv_lib_dl_dlopen+:} false; then :
7081: $as_echo_n "(cached) " >&6
7082: else
7083: ac_check_lib_save_LIBS=$LIBS
7084: LIBS="-ldl $LIBS"
7085: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7086: /* end confdefs.h. */
7087:
7088: /* Override any GCC internal prototype to avoid an error.
7089: Use char because int might match the return type of a GCC
7090: builtin and then its argument prototype would still apply. */
7091: #ifdef __cplusplus
7092: extern "C"
7093: #endif
7094: char dlopen ();
7095: int
7096: main ()
7097: {
7098: return dlopen ();
7099: ;
7100: return 0;
7101: }
7102: _ACEOF
7103: if ac_fn_c_try_link "$LINENO"; then :
7104: ac_cv_lib_dl_dlopen=yes
7105: else
7106: ac_cv_lib_dl_dlopen=no
7107: fi
7108: rm -f core conftest.err conftest.$ac_objext \
7109: conftest$ac_exeext conftest.$ac_ext
7110: LIBS=$ac_check_lib_save_LIBS
7111: fi
7112: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7113: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7114: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7115: LIBS="$LIBS -ldl"
7116: else
7117: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7118: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7119: fi
7120:
7121: fi
7122:
7123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7124: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7125: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7126: $as_echo_n "(cached) " >&6
7127: else
7128: ac_check_lib_save_LIBS=$LIBS
7129: LIBS="-lrt $LIBS"
7130: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131: /* end confdefs.h. */
7132:
7133: /* Override any GCC internal prototype to avoid an error.
7134: Use char because int might match the return type of a GCC
7135: builtin and then its argument prototype would still apply. */
7136: #ifdef __cplusplus
7137: extern "C"
7138: #endif
7139: char nanosleep ();
7140: int
7141: main ()
7142: {
7143: return nanosleep ();
7144: ;
7145: return 0;
7146: }
7147: _ACEOF
7148: if ac_fn_c_try_link "$LINENO"; then :
7149: ac_cv_lib_rt_nanosleep=yes
7150: else
7151: ac_cv_lib_rt_nanosleep=no
7152: fi
7153: rm -f core conftest.err conftest.$ac_objext \
7154: conftest$ac_exeext conftest.$ac_ext
7155: LIBS=$ac_check_lib_save_LIBS
7156: fi
7157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7158: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7159: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7160: LIBS="$LIBS -lrt"
7161: else
7162: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7163: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7164: fi
7165:
7166:
7167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7168: $as_echo_n "checking for bind in -lsocket... " >&6; }
7169: if ${ac_cv_lib_socket_bind+:} false; then :
7170: $as_echo_n "(cached) " >&6
7171: else
7172: ac_check_lib_save_LIBS=$LIBS
7173: LIBS="-lsocket $LIBS"
7174: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175: /* end confdefs.h. */
7176:
7177: /* Override any GCC internal prototype to avoid an error.
7178: Use char because int might match the return type of a GCC
7179: builtin and then its argument prototype would still apply. */
7180: #ifdef __cplusplus
7181: extern "C"
7182: #endif
7183: char bind ();
7184: int
7185: main ()
7186: {
7187: return bind ();
7188: ;
7189: return 0;
7190: }
7191: _ACEOF
7192: if ac_fn_c_try_link "$LINENO"; then :
7193: ac_cv_lib_socket_bind=yes
7194: else
7195: ac_cv_lib_socket_bind=no
7196: fi
7197: rm -f core conftest.err conftest.$ac_objext \
7198: conftest$ac_exeext conftest.$ac_ext
7199: LIBS=$ac_check_lib_save_LIBS
7200: fi
7201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7202: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7203: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7204: LIBS="$LIBS -lsocket"
7205: else
7206: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7207: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7208: fi
7209:
7210:
7211: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7212:
7213: # Check whether --with-mysql was given.
7214: if test "${with_mysql+set}" = set; then :
7215: withval=$with_mysql;
7216: else
7217: with_mysql=check
7218: fi
7219:
7220:
7221: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7222: libMySQLinc="-I/usr/include"
7223: libMySQLlib="/usr/lib"
7224:
7225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7226: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7227: saved_CFLAGS="$CFLAGS"
7228: CFLAGS="$CFLAGS -L/$libMySQLinc"
7229: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230: /* end confdefs.h. */
7231: #include "mysql.h"
7232: int
7233: main ()
7234: {
7235:
7236: ;
7237: return 0;
7238: }
7239: _ACEOF
7240: if ac_fn_c_try_compile "$LINENO"; then :
7241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7242: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7243: libMySQLinc=$libMySQLinc/mysql
7244: else
7245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7247: fi
7248: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7249: CFLAGS=$saved_CFLAGS
7250:
7251: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7253: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7254: saved_CFLAGS="$CFLAGS"
7255: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257: /* end confdefs.h. */
7258: #include "mysql.h"
7259: int
7260: main ()
7261: {
7262:
7263: ;
7264: return 0;
7265: }
7266: _ACEOF
7267: if ac_fn_c_try_compile "$LINENO"; then :
7268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7269: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7270: libMySQLinc=$libMySQLinc
7271: else
7272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7274: fi
7275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7276: CFLAGS=$saved_CFLAGS
7277: libMySQLinc=$libMySQLinc/mysql
7278: fi
7279:
7280: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7282: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7283: saved_CFLAGS="$CFLAGS"
7284: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7285: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286: /* end confdefs.h. */
7287: #include "mysql.h"
7288: int
7289: main ()
7290: {
7291:
7292: ;
7293: return 0;
7294: }
7295: _ACEOF
7296: if ac_fn_c_try_compile "$LINENO"; then :
7297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7298: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7299: libMySQLinc=$libMySQLinc/mysql
7300: else
7301: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7303: fi
7304: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7305: CFLAGS=$saved_CFLAGS
7306: libMySQLinc=$libMySQLinc/../local/include
7307: libMySQLlib=$libMySQLlib/../local/lib
7308: fi
7309:
7310: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7312: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7313: saved_CFLAGS="$CFLAGS"
7314: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316: /* end confdefs.h. */
7317: #include "mysql.h"
7318: int
7319: main ()
7320: {
7321:
7322: ;
7323: return 0;
7324: }
7325: _ACEOF
7326: if ac_fn_c_try_compile "$LINENO"; then :
7327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7328: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7329: libMySQLinc=$libMySQLinc/mysql
7330: else
7331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7333: fi
7334: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7335: CFLAGS=$saved_CFLAGS
7336: libMySQLinc=$libMySQLinc/../local/include/mysql
7337: libMySQLlib=$libMySQLlib/../local/lib
7338: fi
7339: else
7340: if test "x$with_mysql" != xno; then
7341: libMySQLinc="-I$with_mysql/include"
7342: libMySQLlib="$with_mysql/lib"
7343:
7344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7345: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7346: saved_CFLAGS="$CFLAGS"
7347: CFLAGS="$CFLAGS $libMySQLinc"
7348: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349: /* end confdefs.h. */
7350: #include "mysql.h"
7351: int
7352: main ()
7353: {
7354:
7355: ;
7356: return 0;
7357: }
7358: _ACEOF
7359: if ac_fn_c_try_compile "$LINENO"; then :
7360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7361: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7362: libMySQLinc=$libMySQLinc/mysql
7363: else
7364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7366: fi
7367: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368: CFLAGS=$saved_CFLAGS
7369:
7370: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7372: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7373: saved_CFLAGS="$CFLAGS"
7374: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376: /* end confdefs.h. */
7377: #include "mysql.h"
7378: int
7379: main ()
7380: {
7381:
7382: ;
7383: return 0;
7384: }
7385: _ACEOF
7386: if ac_fn_c_try_compile "$LINENO"; then :
7387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7388: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7389: libMySQLinc=$libMySQLinc
7390: else
7391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7393: fi
7394: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7395: CFLAGS=$saved_CFLAGS
7396: libMySQLinc=$libMySQLinc/mysql
7397: fi
7398: else
7399: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7400: fi
7401: fi
7402:
7403: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7404: MYSQL_LIB=no
7405:
7406: if test $MYSQL_LIB = no; then
7407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7408: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7409: saved_LIBS="$LIBS"
7410: if test $STATIC = no; then
7411: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7412: else
7413: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7414: fi
7415: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7416: /* end confdefs.h. */
7417: #include "mysql.h"
7418: int
7419: main ()
7420: {
7421: MYSQL mysql; mysql_init(&mysql);
7422: ;
7423: return 0;
7424: }
7425: _ACEOF
7426: if ac_fn_c_try_link "$LINENO"; then :
7427: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7428: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7429: else
7430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431: $as_echo "no" >&6; }; MYSQL_LIB="no"
7432: fi
7433: rm -f core conftest.err conftest.$ac_objext \
7434: conftest$ac_exeext conftest.$ac_ext
7435: LIBS=$saved_LIBS;
7436: if test $STATIC = no; then
7437: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7438: else
7439: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7440: EXT_SQL="$EXT_SQL $libMySQLlib"
7441: fi
7442: fi
7443:
7444: if test $MYSQL_LIB = no; then
7445: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7446: fi
7447: fi
7448:
7449: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7450: libMySQLinc=
7451: libMySQLlib=
7452: fi
7453:
7454:
7455:
7456:
7457:
7458: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7459:
7460: # Check whether --with-postgresql was given.
7461: if test "${with_postgresql+set}" = set; then :
7462: withval=$with_postgresql;
7463: else
7464: with_postgresql=check
7465: fi
7466:
7467:
7468: # with_postgresql : check [pas défini], yes [uniquement --with],
7469: # no [--without], valeur [--with=valeur].
7470:
7471: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7472: libPgSQLinc="-I/usr/include"
7473: libPgSQLlib="/usr/lib"
7474:
7475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7476: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7477: saved_CFLAGS="$CFLAGS"
7478: CFLAGS="$CFLAGS $libPgSQLinc"
7479: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7480: /* end confdefs.h. */
7481: #include "libpq-fe.h"
7482: int
7483: main ()
7484: {
7485:
7486: ;
7487: return 0;
7488: }
7489: _ACEOF
7490: if ac_fn_c_try_compile "$LINENO"; then :
7491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7492: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7493: else
7494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7496: fi
7497: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7498: CFLAGS=$saved_CFLAGS
7499:
7500: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7502: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7503: saved_CFLAGS="$CFLAGS"
7504: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7505: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506: /* end confdefs.h. */
7507: #include "libpq-fe.h"
7508: int
7509: main ()
7510: {
7511:
7512: ;
7513: return 0;
7514: }
7515: _ACEOF
7516: if ac_fn_c_try_compile "$LINENO"; then :
7517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7518: $as_echo "yes" >&6; };
7519: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7520: else
7521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522: $as_echo "no" >&6; };
7523: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7524: fi
7525: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526: CFLAGS=$saved_CFLAGS
7527: libPgSQLinc=$libPgSQLinc/postgresql
7528: fi
7529:
7530: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7532: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7533: saved_CFLAGS="$CFLAGS"
7534: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7535: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536: /* end confdefs.h. */
7537: #include "libpq-fe.h"
7538: int
7539: main ()
7540: {
7541:
7542: ;
7543: return 0;
7544: }
7545: _ACEOF
7546: if ac_fn_c_try_compile "$LINENO"; then :
7547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7548: $as_echo "yes" >&6; };
7549: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7550: else
7551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552: $as_echo "no" >&6; };
7553: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7554: fi
7555: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7556: CFLAGS=$saved_CFLAGS
7557: libPgSQLinc=$libPgSQLinc/pgsql
7558: fi
7559:
7560: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7562: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7563: saved_CFLAGS="$CFLAGS"
7564: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7565: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566: /* end confdefs.h. */
7567: #include "libpq-fe.h"
7568: int
7569: main ()
7570: {
7571:
7572: ;
7573: return 0;
7574: }
7575: _ACEOF
7576: if ac_fn_c_try_compile "$LINENO"; then :
7577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7578: $as_echo "yes" >&6; };
7579: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7580: else
7581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582: $as_echo "no" >&6; };
7583: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7584: fi
7585: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586: CFLAGS=$saved_CFLAGS
7587: libPgSQLinc=$libPgSQLinc/../local/include
7588: libPgSQLlib=$libPgSQLlib/../local/lib
7589: fi
7590:
7591: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7592: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7593: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7594: saved_CFLAGS="$CFLAGS"
7595: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7596: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7597: /* end confdefs.h. */
7598: #include "libpq-fe.h"
7599: int
7600: main ()
7601: {
7602:
7603: ;
7604: return 0;
7605: }
7606: _ACEOF
7607: if ac_fn_c_try_compile "$LINENO"; then :
7608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7609: $as_echo "yes" >&6; };
7610: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7611: else
7612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613: $as_echo "no" >&6; };
7614: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7615: fi
7616: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7617: CFLAGS=$saved_CFLAGS
7618: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7619: libPgSQLlib=$libPgSQLlib/../local/lib
7620: fi
7621:
7622: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7624: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7625: saved_CFLAGS="$CFLAGS"
7626: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7627: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628: /* end confdefs.h. */
7629: #include "libpq-fe.h"
7630: int
7631: main ()
7632: {
7633:
7634: ;
7635: return 0;
7636: }
7637: _ACEOF
7638: if ac_fn_c_try_compile "$LINENO"; then :
7639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7640: $as_echo "yes" >&6; };
7641: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7642: else
7643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644: $as_echo "no" >&6; };
7645: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7646: fi
7647: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7648: CFLAGS=$saved_CFLAGS
7649: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7650: libPgSQLlib=$libPgSQLlib/../local/lib
7651: fi
7652: else
7653: if test "x$with_postgresql" != xno; then
7654: libPgSQLinc="-I$with_postgresql/include"
7655: libPgSQLlib="$with_postgresql/lib"
7656:
7657: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7658: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7659: saved_CFLAGS="$CFLAGS"
7660: CFLAGS="$CFLAGS $libPgSQLinc"
7661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662: /* end confdefs.h. */
7663: #include "libpq-fe.h"
7664: int
7665: main ()
7666: {
7667:
7668: ;
7669: return 0;
7670: }
7671: _ACEOF
7672: if ac_fn_c_try_compile "$LINENO"; then :
7673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7674: $as_echo "yes" >&6; };
7675: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7676: else
7677: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678: $as_echo "no" >&6; };
7679: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7680: fi
7681: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7682: CFLAGS=$saved_CFLAGS
7683:
7684: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7686: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7687: saved_CFLAGS="$CFLAGS"
7688: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7689: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690: /* end confdefs.h. */
7691: #include "libpq-fe.h"
7692: int
7693: main ()
7694: {
7695:
7696: ;
7697: return 0;
7698: }
7699: _ACEOF
7700: if ac_fn_c_try_compile "$LINENO"; then :
7701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7702: $as_echo "yes" >&6; };
7703: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7704: else
7705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706: $as_echo "no" >&6; };
7707: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7708: fi
7709: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7710: CFLAGS=$saved_CFLAGS
7711: libPgSQLinc=$libPgSQLinc/postgresql
7712: fi
7713:
7714: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7716: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7717: saved_CFLAGS="$CFLAGS"
7718: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7719: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720: /* end confdefs.h. */
7721: #include "libpq-fe.h"
7722: int
7723: main ()
7724: {
7725:
7726: ;
7727: return 0;
7728: }
7729: _ACEOF
7730: if ac_fn_c_try_compile "$LINENO"; then :
7731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7732: $as_echo "yes" >&6; };
7733: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7734: else
7735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736: $as_echo "no" >&6; };
7737: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7738: fi
7739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7740: CFLAGS=$saved_CFLAGS
7741: libPgSQLinc=$libPgSQLinc/pgsql
7742: fi
7743: else
7744: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7745: fi
7746: fi
7747:
7748: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7749: POSTGRESQL_LIB=no
7750:
7751: if test $POSTGRESQL_LIB = no; then
7752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7753: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7754: saved_LIBS="$LIBS"
7755: if test $STATIC = no; then
7756: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7757: else
7758: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7759: fi
7760: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761: /* end confdefs.h. */
7762: #include "libpq-fe.h"
7763: int
7764: main ()
7765: {
7766: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7767: PQconnectdb(conninfo);
7768: ;
7769: return 0;
7770: }
7771: _ACEOF
7772: if ac_fn_c_try_link "$LINENO"; then :
7773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7774: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7775: else
7776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7778: fi
7779: rm -f core conftest.err conftest.$ac_objext \
7780: conftest$ac_exeext conftest.$ac_ext
7781: LIBS=$saved_LIBS;
7782: if test $STATIC = no; then
7783: libPgSQLlib="-L/$libPgSQLlib -lpq"
7784: else
7785: libPgSQLlib="$libPgSQLlib/libpq.a"
7786: EXT_SQL="$EXT_SQL $libPgSQLlib"
7787: fi
7788: fi
7789: fi
7790:
7791: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7792: libPgSQLinc=
7793: libPgSQLlib=
7794: fi
7795:
7796:
7797:
7798:
7799:
7800: # with_postgresql : check [pas défini], yes [uniquement --with],
7801: # no [--without], valeur [--with=valeur].
7802:
7803: # Check whether --with-bourne_shell was given.
7804: if test "${with_bourne_shell+set}" = set; then :
7805: withval=$with_bourne_shell;
7806: else
7807: with_bourne_shell=no
7808: fi
7809:
7810:
7811: if test "x$with_bourne_shell" = xyes; then
7812: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7813: fi
7814:
7815: if test "x$with_bourne_shell" = xno; then
7816: if test $(uname) = "OS/2"; then
7817: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7818: fi
7819:
7820: BSH_PATH=
7821: else
7822: if test ! -x $with_bourne_shell; then
7823: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7824: fi
7825:
7826: if test $(uname) = "OS/2"; then
7827: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7828: sed -e '1,$s/\//\\\\\\\\/g')
7829: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7830: else
7831: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7832: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7833: BSH_PATH=
7834: fi
7835: fi
7836:
7837: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7838: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7839: if ${ac_cv_path_GREP+:} false; then :
7840: $as_echo_n "(cached) " >&6
7841: else
7842: if test -z "$GREP"; then
7843: ac_path_GREP_found=false
7844: # Loop through the user's path and test for each of PROGNAME-LIST
7845: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7847: do
7848: IFS=$as_save_IFS
7849: test -z "$as_dir" && as_dir=.
7850: for ac_prog in grep ggrep; do
7851: for ac_exec_ext in '' $ac_executable_extensions; do
7852: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7853: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7854: # Check for GNU ac_path_GREP and select it if it is found.
7855: # Check for GNU $ac_path_GREP
7856: case `"$ac_path_GREP" --version 2>&1` in
7857: *GNU*)
7858: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7859: *)
7860: ac_count=0
7861: $as_echo_n 0123456789 >"conftest.in"
7862: while :
7863: do
7864: cat "conftest.in" "conftest.in" >"conftest.tmp"
7865: mv "conftest.tmp" "conftest.in"
7866: cp "conftest.in" "conftest.nl"
7867: $as_echo 'GREP' >> "conftest.nl"
7868: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7869: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7870: as_fn_arith $ac_count + 1 && ac_count=$as_val
7871: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7872: # Best one so far, save it but keep looking for a better one
7873: ac_cv_path_GREP="$ac_path_GREP"
7874: ac_path_GREP_max=$ac_count
7875: fi
7876: # 10*(2^10) chars as input seems more than enough
7877: test $ac_count -gt 10 && break
7878: done
7879: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7880: esac
7881:
7882: $ac_path_GREP_found && break 3
7883: done
7884: done
7885: done
7886: IFS=$as_save_IFS
7887: if test -z "$ac_cv_path_GREP"; then
7888: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7889: fi
7890: else
7891: ac_cv_path_GREP=$GREP
7892: fi
7893:
7894: fi
7895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7896: $as_echo "$ac_cv_path_GREP" >&6; }
7897: GREP="$ac_cv_path_GREP"
7898:
7899:
7900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7901: $as_echo_n "checking for egrep... " >&6; }
7902: if ${ac_cv_path_EGREP+:} false; then :
7903: $as_echo_n "(cached) " >&6
7904: else
7905: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7906: then ac_cv_path_EGREP="$GREP -E"
7907: else
7908: if test -z "$EGREP"; then
7909: ac_path_EGREP_found=false
7910: # Loop through the user's path and test for each of PROGNAME-LIST
7911: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7913: do
7914: IFS=$as_save_IFS
7915: test -z "$as_dir" && as_dir=.
7916: for ac_prog in egrep; do
7917: for ac_exec_ext in '' $ac_executable_extensions; do
7918: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7919: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7920: # Check for GNU ac_path_EGREP and select it if it is found.
7921: # Check for GNU $ac_path_EGREP
7922: case `"$ac_path_EGREP" --version 2>&1` in
7923: *GNU*)
7924: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7925: *)
7926: ac_count=0
7927: $as_echo_n 0123456789 >"conftest.in"
7928: while :
7929: do
7930: cat "conftest.in" "conftest.in" >"conftest.tmp"
7931: mv "conftest.tmp" "conftest.in"
7932: cp "conftest.in" "conftest.nl"
7933: $as_echo 'EGREP' >> "conftest.nl"
7934: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7935: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7936: as_fn_arith $ac_count + 1 && ac_count=$as_val
7937: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7938: # Best one so far, save it but keep looking for a better one
7939: ac_cv_path_EGREP="$ac_path_EGREP"
7940: ac_path_EGREP_max=$ac_count
7941: fi
7942: # 10*(2^10) chars as input seems more than enough
7943: test $ac_count -gt 10 && break
7944: done
7945: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7946: esac
7947:
7948: $ac_path_EGREP_found && break 3
7949: done
7950: done
7951: done
7952: IFS=$as_save_IFS
7953: if test -z "$ac_cv_path_EGREP"; then
7954: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7955: fi
7956: else
7957: ac_cv_path_EGREP=$EGREP
7958: fi
7959:
7960: fi
7961: fi
7962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7963: $as_echo "$ac_cv_path_EGREP" >&6; }
7964: EGREP="$ac_cv_path_EGREP"
7965:
7966:
7967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7968: $as_echo_n "checking for ANSI C header files... " >&6; }
7969: if ${ac_cv_header_stdc+:} false; then :
7970: $as_echo_n "(cached) " >&6
7971: else
7972: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973: /* end confdefs.h. */
7974: #include <stdlib.h>
7975: #include <stdarg.h>
7976: #include <string.h>
7977: #include <float.h>
7978:
7979: int
7980: main ()
7981: {
7982:
7983: ;
7984: return 0;
7985: }
7986: _ACEOF
7987: if ac_fn_c_try_compile "$LINENO"; then :
7988: ac_cv_header_stdc=yes
7989: else
7990: ac_cv_header_stdc=no
7991: fi
7992: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7993:
7994: if test $ac_cv_header_stdc = yes; then
7995: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7996: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997: /* end confdefs.h. */
7998: #include <string.h>
7999:
8000: _ACEOF
8001: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002: $EGREP "memchr" >/dev/null 2>&1; then :
8003:
8004: else
8005: ac_cv_header_stdc=no
8006: fi
8007: rm -f conftest*
8008:
8009: fi
8010:
8011: if test $ac_cv_header_stdc = yes; then
8012: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014: /* end confdefs.h. */
8015: #include <stdlib.h>
8016:
8017: _ACEOF
8018: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8019: $EGREP "free" >/dev/null 2>&1; then :
8020:
8021: else
8022: ac_cv_header_stdc=no
8023: fi
8024: rm -f conftest*
8025:
8026: fi
8027:
8028: if test $ac_cv_header_stdc = yes; then
8029: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8030: if test "$cross_compiling" = yes; then :
8031: :
8032: else
8033: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034: /* end confdefs.h. */
8035: #include <ctype.h>
8036: #include <stdlib.h>
8037: #if ((' ' & 0x0FF) == 0x020)
8038: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8039: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8040: #else
8041: # define ISLOWER(c) \
8042: (('a' <= (c) && (c) <= 'i') \
8043: || ('j' <= (c) && (c) <= 'r') \
8044: || ('s' <= (c) && (c) <= 'z'))
8045: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8046: #endif
8047:
8048: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8049: int
8050: main ()
8051: {
8052: int i;
8053: for (i = 0; i < 256; i++)
8054: if (XOR (islower (i), ISLOWER (i))
8055: || toupper (i) != TOUPPER (i))
8056: return 2;
8057: return 0;
8058: }
8059: _ACEOF
8060: if ac_fn_c_try_run "$LINENO"; then :
8061:
8062: else
8063: ac_cv_header_stdc=no
8064: fi
8065: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8066: conftest.$ac_objext conftest.beam conftest.$ac_ext
8067: fi
8068:
8069: fi
8070: fi
8071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8072: $as_echo "$ac_cv_header_stdc" >&6; }
8073: if test $ac_cv_header_stdc = yes; then
8074:
8075: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8076:
8077: fi
8078:
8079: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8080: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8081: inttypes.h stdint.h unistd.h
8082: do :
8083: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8084: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8085: "
8086: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8087: cat >>confdefs.h <<_ACEOF
8088: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8089: _ACEOF
8090:
8091: fi
8092:
8093: done
8094:
8095:
8096: # The cast to long int works around a bug in the HP C Compiler
8097: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8098: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8099: # This bug is HP SR number 8606223364.
8100: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8101: $as_echo_n "checking size of void *... " >&6; }
8102: if ${ac_cv_sizeof_void_p+:} false; then :
8103: $as_echo_n "(cached) " >&6
8104: else
8105: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8106:
8107: else
8108: if test "$ac_cv_type_void_p" = yes; then
8109: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8110: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8111: as_fn_error 77 "cannot compute sizeof (void *)
8112: See \`config.log' for more details" "$LINENO" 5; }
8113: else
8114: ac_cv_sizeof_void_p=0
8115: fi
8116: fi
8117:
8118: fi
8119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8120: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8121:
8122:
8123:
8124: cat >>confdefs.h <<_ACEOF
8125: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8126: _ACEOF
8127:
8128:
8129: # The cast to long int works around a bug in the HP C Compiler
8130: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8131: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8132: # This bug is HP SR number 8606223364.
8133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8134: $as_echo_n "checking size of char... " >&6; }
8135: if ${ac_cv_sizeof_char+:} false; then :
8136: $as_echo_n "(cached) " >&6
8137: else
8138: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8139:
8140: else
8141: if test "$ac_cv_type_char" = yes; then
8142: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8143: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8144: as_fn_error 77 "cannot compute sizeof (char)
8145: See \`config.log' for more details" "$LINENO" 5; }
8146: else
8147: ac_cv_sizeof_char=0
8148: fi
8149: fi
8150:
8151: fi
8152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8153: $as_echo "$ac_cv_sizeof_char" >&6; }
8154:
8155:
8156:
8157: cat >>confdefs.h <<_ACEOF
8158: #define SIZEOF_CHAR $ac_cv_sizeof_char
8159: _ACEOF
8160:
8161:
8162: # The cast to long int works around a bug in the HP C Compiler
8163: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8164: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8165: # This bug is HP SR number 8606223364.
8166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8167: $as_echo_n "checking size of short int... " >&6; }
8168: if ${ac_cv_sizeof_short_int+:} false; then :
8169: $as_echo_n "(cached) " >&6
8170: else
8171: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8172:
8173: else
8174: if test "$ac_cv_type_short_int" = yes; then
8175: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8176: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8177: as_fn_error 77 "cannot compute sizeof (short int)
8178: See \`config.log' for more details" "$LINENO" 5; }
8179: else
8180: ac_cv_sizeof_short_int=0
8181: fi
8182: fi
8183:
8184: fi
8185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8186: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8187:
8188:
8189:
8190: cat >>confdefs.h <<_ACEOF
8191: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8192: _ACEOF
8193:
8194:
8195: # The cast to long int works around a bug in the HP C Compiler
8196: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8197: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8198: # This bug is HP SR number 8606223364.
8199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8200: $as_echo_n "checking size of int... " >&6; }
8201: if ${ac_cv_sizeof_int+:} false; then :
8202: $as_echo_n "(cached) " >&6
8203: else
8204: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8205:
8206: else
8207: if test "$ac_cv_type_int" = yes; then
8208: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8209: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8210: as_fn_error 77 "cannot compute sizeof (int)
8211: See \`config.log' for more details" "$LINENO" 5; }
8212: else
8213: ac_cv_sizeof_int=0
8214: fi
8215: fi
8216:
8217: fi
8218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8219: $as_echo "$ac_cv_sizeof_int" >&6; }
8220:
8221:
8222:
8223: cat >>confdefs.h <<_ACEOF
8224: #define SIZEOF_INT $ac_cv_sizeof_int
8225: _ACEOF
8226:
8227:
8228: # The cast to long int works around a bug in the HP C Compiler
8229: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8230: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8231: # This bug is HP SR number 8606223364.
8232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8233: $as_echo_n "checking size of long int... " >&6; }
8234: if ${ac_cv_sizeof_long_int+:} false; then :
8235: $as_echo_n "(cached) " >&6
8236: else
8237: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8238:
8239: else
8240: if test "$ac_cv_type_long_int" = yes; then
8241: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8242: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8243: as_fn_error 77 "cannot compute sizeof (long int)
8244: See \`config.log' for more details" "$LINENO" 5; }
8245: else
8246: ac_cv_sizeof_long_int=0
8247: fi
8248: fi
8249:
8250: fi
8251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8252: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8253:
8254:
8255:
8256: cat >>confdefs.h <<_ACEOF
8257: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8258: _ACEOF
8259:
8260:
8261: # The cast to long int works around a bug in the HP C Compiler
8262: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8263: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8264: # This bug is HP SR number 8606223364.
8265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8266: $as_echo_n "checking size of long long int... " >&6; }
8267: if ${ac_cv_sizeof_long_long_int+:} false; then :
8268: $as_echo_n "(cached) " >&6
8269: else
8270: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8271:
8272: else
8273: if test "$ac_cv_type_long_long_int" = yes; then
8274: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8275: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8276: as_fn_error 77 "cannot compute sizeof (long long int)
8277: See \`config.log' for more details" "$LINENO" 5; }
8278: else
8279: ac_cv_sizeof_long_long_int=0
8280: fi
8281: fi
8282:
8283: fi
8284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8285: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8286:
8287:
8288:
8289: cat >>confdefs.h <<_ACEOF
8290: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8291: _ACEOF
8292:
8293:
8294: # The cast to long int works around a bug in the HP C Compiler
8295: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8296: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8297: # This bug is HP SR number 8606223364.
8298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8299: $as_echo_n "checking size of float... " >&6; }
8300: if ${ac_cv_sizeof_float+:} false; then :
8301: $as_echo_n "(cached) " >&6
8302: else
8303: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8304:
8305: else
8306: if test "$ac_cv_type_float" = yes; then
8307: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8308: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8309: as_fn_error 77 "cannot compute sizeof (float)
8310: See \`config.log' for more details" "$LINENO" 5; }
8311: else
8312: ac_cv_sizeof_float=0
8313: fi
8314: fi
8315:
8316: fi
8317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8318: $as_echo "$ac_cv_sizeof_float" >&6; }
8319:
8320:
8321:
8322: cat >>confdefs.h <<_ACEOF
8323: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8324: _ACEOF
8325:
8326:
8327: # The cast to long int works around a bug in the HP C Compiler
8328: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8329: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8330: # This bug is HP SR number 8606223364.
8331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8332: $as_echo_n "checking size of double... " >&6; }
8333: if ${ac_cv_sizeof_double+:} false; then :
8334: $as_echo_n "(cached) " >&6
8335: else
8336: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8337:
8338: else
8339: if test "$ac_cv_type_double" = yes; then
8340: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8341: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8342: as_fn_error 77 "cannot compute sizeof (double)
8343: See \`config.log' for more details" "$LINENO" 5; }
8344: else
8345: ac_cv_sizeof_double=0
8346: fi
8347: fi
8348:
8349: fi
8350: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8351: $as_echo "$ac_cv_sizeof_double" >&6; }
8352:
8353:
8354:
8355: cat >>confdefs.h <<_ACEOF
8356: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8357: _ACEOF
8358:
8359:
8360: # The cast to long int works around a bug in the HP C Compiler
8361: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8362: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8363: # This bug is HP SR number 8606223364.
8364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8365: $as_echo_n "checking size of long double... " >&6; }
8366: if ${ac_cv_sizeof_long_double+:} false; then :
8367: $as_echo_n "(cached) " >&6
8368: else
8369: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8370:
8371: else
8372: if test "$ac_cv_type_long_double" = yes; then
8373: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8374: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8375: as_fn_error 77 "cannot compute sizeof (long double)
8376: See \`config.log' for more details" "$LINENO" 5; }
8377: else
8378: ac_cv_sizeof_long_double=0
8379: fi
8380: fi
8381:
8382: fi
8383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8384: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8385:
8386:
8387:
8388: cat >>confdefs.h <<_ACEOF
8389: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8390: _ACEOF
8391:
8392:
8393:
8394: ac_header_dirent=no
8395: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8396: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8397: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8398: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8399: if eval \${$as_ac_Header+:} false; then :
8400: $as_echo_n "(cached) " >&6
8401: else
8402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403: /* end confdefs.h. */
8404: #include <sys/types.h>
8405: #include <$ac_hdr>
8406:
8407: int
8408: main ()
8409: {
8410: if ((DIR *) 0)
8411: return 0;
8412: ;
8413: return 0;
8414: }
8415: _ACEOF
8416: if ac_fn_c_try_compile "$LINENO"; then :
8417: eval "$as_ac_Header=yes"
8418: else
8419: eval "$as_ac_Header=no"
8420: fi
8421: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422: fi
8423: eval ac_res=\$$as_ac_Header
8424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8425: $as_echo "$ac_res" >&6; }
8426: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8427: cat >>confdefs.h <<_ACEOF
8428: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8429: _ACEOF
8430:
8431: ac_header_dirent=$ac_hdr; break
8432: fi
8433:
8434: done
8435: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8436: if test $ac_header_dirent = dirent.h; then
8437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8438: $as_echo_n "checking for library containing opendir... " >&6; }
8439: if ${ac_cv_search_opendir+:} false; then :
8440: $as_echo_n "(cached) " >&6
8441: else
8442: ac_func_search_save_LIBS=$LIBS
8443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444: /* end confdefs.h. */
8445:
8446: /* Override any GCC internal prototype to avoid an error.
8447: Use char because int might match the return type of a GCC
8448: builtin and then its argument prototype would still apply. */
8449: #ifdef __cplusplus
8450: extern "C"
8451: #endif
8452: char opendir ();
8453: int
8454: main ()
8455: {
8456: return opendir ();
8457: ;
8458: return 0;
8459: }
8460: _ACEOF
8461: for ac_lib in '' dir; do
8462: if test -z "$ac_lib"; then
8463: ac_res="none required"
8464: else
8465: ac_res=-l$ac_lib
8466: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8467: fi
8468: if ac_fn_c_try_link "$LINENO"; then :
8469: ac_cv_search_opendir=$ac_res
8470: fi
8471: rm -f core conftest.err conftest.$ac_objext \
8472: conftest$ac_exeext
8473: if ${ac_cv_search_opendir+:} false; then :
8474: break
8475: fi
8476: done
8477: if ${ac_cv_search_opendir+:} false; then :
8478:
8479: else
8480: ac_cv_search_opendir=no
8481: fi
8482: rm conftest.$ac_ext
8483: LIBS=$ac_func_search_save_LIBS
8484: fi
8485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8486: $as_echo "$ac_cv_search_opendir" >&6; }
8487: ac_res=$ac_cv_search_opendir
8488: if test "$ac_res" != no; then :
8489: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8490:
8491: fi
8492:
8493: else
8494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8495: $as_echo_n "checking for library containing opendir... " >&6; }
8496: if ${ac_cv_search_opendir+:} false; then :
8497: $as_echo_n "(cached) " >&6
8498: else
8499: ac_func_search_save_LIBS=$LIBS
8500: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501: /* end confdefs.h. */
8502:
8503: /* Override any GCC internal prototype to avoid an error.
8504: Use char because int might match the return type of a GCC
8505: builtin and then its argument prototype would still apply. */
8506: #ifdef __cplusplus
8507: extern "C"
8508: #endif
8509: char opendir ();
8510: int
8511: main ()
8512: {
8513: return opendir ();
8514: ;
8515: return 0;
8516: }
8517: _ACEOF
8518: for ac_lib in '' x; do
8519: if test -z "$ac_lib"; then
8520: ac_res="none required"
8521: else
8522: ac_res=-l$ac_lib
8523: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8524: fi
8525: if ac_fn_c_try_link "$LINENO"; then :
8526: ac_cv_search_opendir=$ac_res
8527: fi
8528: rm -f core conftest.err conftest.$ac_objext \
8529: conftest$ac_exeext
8530: if ${ac_cv_search_opendir+:} false; then :
8531: break
8532: fi
8533: done
8534: if ${ac_cv_search_opendir+:} false; then :
8535:
8536: else
8537: ac_cv_search_opendir=no
8538: fi
8539: rm conftest.$ac_ext
8540: LIBS=$ac_func_search_save_LIBS
8541: fi
8542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8543: $as_echo "$ac_cv_search_opendir" >&6; }
8544: ac_res=$ac_cv_search_opendir
8545: if test "$ac_res" != no; then :
8546: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8547:
8548: fi
8549:
8550: fi
8551:
8552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8553: $as_echo_n "checking for ANSI C header files... " >&6; }
8554: if ${ac_cv_header_stdc+:} false; then :
8555: $as_echo_n "(cached) " >&6
8556: else
8557: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558: /* end confdefs.h. */
8559: #include <stdlib.h>
8560: #include <stdarg.h>
8561: #include <string.h>
8562: #include <float.h>
8563:
8564: int
8565: main ()
8566: {
8567:
8568: ;
8569: return 0;
8570: }
8571: _ACEOF
8572: if ac_fn_c_try_compile "$LINENO"; then :
8573: ac_cv_header_stdc=yes
8574: else
8575: ac_cv_header_stdc=no
8576: fi
8577: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8578:
8579: if test $ac_cv_header_stdc = yes; then
8580: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8581: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582: /* end confdefs.h. */
8583: #include <string.h>
8584:
8585: _ACEOF
8586: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8587: $EGREP "memchr" >/dev/null 2>&1; then :
8588:
8589: else
8590: ac_cv_header_stdc=no
8591: fi
8592: rm -f conftest*
8593:
8594: fi
8595:
8596: if test $ac_cv_header_stdc = yes; then
8597: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599: /* end confdefs.h. */
8600: #include <stdlib.h>
8601:
8602: _ACEOF
8603: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8604: $EGREP "free" >/dev/null 2>&1; then :
8605:
8606: else
8607: ac_cv_header_stdc=no
8608: fi
8609: rm -f conftest*
8610:
8611: fi
8612:
8613: if test $ac_cv_header_stdc = yes; then
8614: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8615: if test "$cross_compiling" = yes; then :
8616: :
8617: else
8618: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619: /* end confdefs.h. */
8620: #include <ctype.h>
8621: #include <stdlib.h>
8622: #if ((' ' & 0x0FF) == 0x020)
8623: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8624: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8625: #else
8626: # define ISLOWER(c) \
8627: (('a' <= (c) && (c) <= 'i') \
8628: || ('j' <= (c) && (c) <= 'r') \
8629: || ('s' <= (c) && (c) <= 'z'))
8630: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8631: #endif
8632:
8633: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8634: int
8635: main ()
8636: {
8637: int i;
8638: for (i = 0; i < 256; i++)
8639: if (XOR (islower (i), ISLOWER (i))
8640: || toupper (i) != TOUPPER (i))
8641: return 2;
8642: return 0;
8643: }
8644: _ACEOF
8645: if ac_fn_c_try_run "$LINENO"; then :
8646:
8647: else
8648: ac_cv_header_stdc=no
8649: fi
8650: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8651: conftest.$ac_objext conftest.beam conftest.$ac_ext
8652: fi
8653:
8654: fi
8655: fi
8656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8657: $as_echo "$ac_cv_header_stdc" >&6; }
8658: if test $ac_cv_header_stdc = yes; then
8659:
8660: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8661:
8662: fi
8663:
8664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8665: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8666: if ${ac_cv_header_sys_wait_h+:} false; then :
8667: $as_echo_n "(cached) " >&6
8668: else
8669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670: /* end confdefs.h. */
8671: #include <sys/types.h>
8672: #include <sys/wait.h>
8673: #ifndef WEXITSTATUS
8674: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8675: #endif
8676: #ifndef WIFEXITED
8677: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8678: #endif
8679:
8680: int
8681: main ()
8682: {
8683: int s;
8684: wait (&s);
8685: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8686: ;
8687: return 0;
8688: }
8689: _ACEOF
8690: if ac_fn_c_try_compile "$LINENO"; then :
8691: ac_cv_header_sys_wait_h=yes
8692: else
8693: ac_cv_header_sys_wait_h=no
8694: fi
8695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8696: fi
8697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8698: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8699: if test $ac_cv_header_sys_wait_h = yes; then
8700:
8701: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8702:
8703: fi
8704:
8705: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8706: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8707: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8708: do :
8709: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8710: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8711: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8712: cat >>confdefs.h <<_ACEOF
8713: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8714: _ACEOF
8715:
8716: fi
8717:
8718: done
8719:
8720:
8721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8722: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8723: if ${ac_cv_c_const+:} false; then :
8724: $as_echo_n "(cached) " >&6
8725: else
8726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727: /* end confdefs.h. */
8728:
8729: int
8730: main ()
8731: {
8732: /* FIXME: Include the comments suggested by Paul. */
8733: #ifndef __cplusplus
8734: /* Ultrix mips cc rejects this. */
8735: typedef int charset[2];
8736: const charset cs;
8737: /* SunOS 4.1.1 cc rejects this. */
8738: char const *const *pcpcc;
8739: char **ppc;
8740: /* NEC SVR4.0.2 mips cc rejects this. */
8741: struct point {int x, y;};
8742: static struct point const zero = {0,0};
8743: /* AIX XL C 1.02.0.0 rejects this.
8744: It does not let you subtract one const X* pointer from another in
8745: an arm of an if-expression whose if-part is not a constant
8746: expression */
8747: const char *g = "string";
8748: pcpcc = &g + (g ? g-g : 0);
8749: /* HPUX 7.0 cc rejects these. */
8750: ++pcpcc;
8751: ppc = (char**) pcpcc;
8752: pcpcc = (char const *const *) ppc;
8753: { /* SCO 3.2v4 cc rejects this. */
8754: char *t;
8755: char const *s = 0 ? (char *) 0 : (char const *) 0;
8756:
8757: *t++ = 0;
8758: if (s) return 0;
8759: }
8760: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8761: int x[] = {25, 17};
8762: const int *foo = &x[0];
8763: ++foo;
8764: }
8765: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8766: typedef const int *iptr;
8767: iptr p = 0;
8768: ++p;
8769: }
8770: { /* AIX XL C 1.02.0.0 rejects this saying
8771: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8772: struct s { int j; const int *ap[3]; };
8773: struct s *b; b->j = 5;
8774: }
8775: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8776: const int foo = 10;
8777: if (!foo) return 0;
8778: }
8779: return !cs[0] && !zero.x;
8780: #endif
8781:
8782: ;
8783: return 0;
8784: }
8785: _ACEOF
8786: if ac_fn_c_try_compile "$LINENO"; then :
8787: ac_cv_c_const=yes
8788: else
8789: ac_cv_c_const=no
8790: fi
8791: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8792: fi
8793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8794: $as_echo "$ac_cv_c_const" >&6; }
8795: if test $ac_cv_c_const = no; then
8796:
8797: $as_echo "#define const /**/" >>confdefs.h
8798:
8799: fi
8800:
8801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8802: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8803: if ${ac_cv_type_uid_t+:} false; then :
8804: $as_echo_n "(cached) " >&6
8805: else
8806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807: /* end confdefs.h. */
8808: #include <sys/types.h>
8809:
8810: _ACEOF
8811: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8812: $EGREP "uid_t" >/dev/null 2>&1; then :
8813: ac_cv_type_uid_t=yes
8814: else
8815: ac_cv_type_uid_t=no
8816: fi
8817: rm -f conftest*
8818:
8819: fi
8820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8821: $as_echo "$ac_cv_type_uid_t" >&6; }
8822: if test $ac_cv_type_uid_t = no; then
8823:
8824: $as_echo "#define uid_t int" >>confdefs.h
8825:
8826:
8827: $as_echo "#define gid_t int" >>confdefs.h
8828:
8829: fi
8830:
8831: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8832: if test "x$ac_cv_type_pid_t" = xyes; then :
8833:
8834: else
8835:
8836: cat >>confdefs.h <<_ACEOF
8837: #define pid_t int
8838: _ACEOF
8839:
8840: fi
8841:
8842: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8843: if test "x$ac_cv_type_size_t" = xyes; then :
8844:
8845: else
8846:
8847: cat >>confdefs.h <<_ACEOF
8848: #define size_t unsigned int
8849: _ACEOF
8850:
8851: fi
8852:
8853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8854: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8855: if ${ac_cv_header_time+:} false; then :
8856: $as_echo_n "(cached) " >&6
8857: else
8858: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859: /* end confdefs.h. */
8860: #include <sys/types.h>
8861: #include <sys/time.h>
8862: #include <time.h>
8863:
8864: int
8865: main ()
8866: {
8867: if ((struct tm *) 0)
8868: return 0;
8869: ;
8870: return 0;
8871: }
8872: _ACEOF
8873: if ac_fn_c_try_compile "$LINENO"; then :
8874: ac_cv_header_time=yes
8875: else
8876: ac_cv_header_time=no
8877: fi
8878: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8879: fi
8880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8881: $as_echo "$ac_cv_header_time" >&6; }
8882: if test $ac_cv_header_time = yes; then
8883:
8884: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8885:
8886: fi
8887:
8888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8889: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8890: if ${ac_cv_struct_tm+:} false; then :
8891: $as_echo_n "(cached) " >&6
8892: else
8893: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8894: /* end confdefs.h. */
8895: #include <sys/types.h>
8896: #include <time.h>
8897:
8898: int
8899: main ()
8900: {
8901: struct tm tm;
8902: int *p = &tm.tm_sec;
8903: return !p;
8904: ;
8905: return 0;
8906: }
8907: _ACEOF
8908: if ac_fn_c_try_compile "$LINENO"; then :
8909: ac_cv_struct_tm=time.h
8910: else
8911: ac_cv_struct_tm=sys/time.h
8912: fi
8913: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8914: fi
8915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8916: $as_echo "$ac_cv_struct_tm" >&6; }
8917: if test $ac_cv_struct_tm = sys/time.h; then
8918:
8919: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8920:
8921: fi
8922:
8923:
8924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8925: $as_echo_n "checking return type of signal handlers... " >&6; }
8926: if ${ac_cv_type_signal+:} false; then :
8927: $as_echo_n "(cached) " >&6
8928: else
8929: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930: /* end confdefs.h. */
8931: #include <sys/types.h>
8932: #include <signal.h>
8933:
8934: int
8935: main ()
8936: {
8937: return *(signal (0, 0)) (0) == 1;
8938: ;
8939: return 0;
8940: }
8941: _ACEOF
8942: if ac_fn_c_try_compile "$LINENO"; then :
8943: ac_cv_type_signal=int
8944: else
8945: ac_cv_type_signal=void
8946: fi
8947: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8948: fi
8949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8950: $as_echo "$ac_cv_type_signal" >&6; }
8951:
8952: cat >>confdefs.h <<_ACEOF
8953: #define RETSIGTYPE $ac_cv_type_signal
8954: _ACEOF
8955:
8956:
8957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
8958: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
8959: if test "$cross_compiling" = yes; then :
8960: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8961: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8962: as_fn_error $? "cannot run test program while cross compiling
8963: See \`config.log' for more details" "$LINENO" 5; }
8964: else
8965: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8966: /* end confdefs.h. */
8967: #include <unistd.h>
8968: #include <signal.h>
8969: int flag;
8970: void handler(int signal, siginfo_t *siginfo, void *context)
8971: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
8972: int
8973: main ()
8974: {
8975: struct sigaction action;
8976: action.sa_sigaction = handler;
8977: action.sa_flags = SA_SIGINFO;
8978: sigaction(SIGUSR1, &action, NULL);
8979: raise(SIGUSR1);
8980: return(flag);
8981: ;
8982: return 0;
8983: }
8984: _ACEOF
8985: if ac_fn_c_try_run "$LINENO"; then :
8986: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987: $as_echo "no" >&6; }
8988: else
8989: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8990: $as_echo "yes" >&6; }
8991: fi
8992: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8993: conftest.$ac_objext conftest.beam conftest.$ac_ext
8994: fi
8995:
8996:
8997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8998: $as_echo_n "checking for working strcoll... " >&6; }
8999: if ${ac_cv_func_strcoll_works+:} false; then :
9000: $as_echo_n "(cached) " >&6
9001: else
9002: if test "$cross_compiling" = yes; then :
9003: ac_cv_func_strcoll_works=no
9004: else
9005: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006: /* end confdefs.h. */
9007: $ac_includes_default
9008: int
9009: main ()
9010: {
9011: return (strcoll ("abc", "def") >= 0 ||
9012: strcoll ("ABC", "DEF") >= 0 ||
9013: strcoll ("123", "456") >= 0)
9014: ;
9015: return 0;
9016: }
9017: _ACEOF
9018: if ac_fn_c_try_run "$LINENO"; then :
9019: ac_cv_func_strcoll_works=yes
9020: else
9021: ac_cv_func_strcoll_works=no
9022: fi
9023: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9024: conftest.$ac_objext conftest.beam conftest.$ac_ext
9025: fi
9026:
9027: fi
9028: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
9029: $as_echo "$ac_cv_func_strcoll_works" >&6; }
9030: if test $ac_cv_func_strcoll_works = yes; then
9031:
9032: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
9033:
9034: fi
9035:
9036: for ac_func in strftime
9037: do :
9038: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
9039: if test "x$ac_cv_func_strftime" = xyes; then :
9040: cat >>confdefs.h <<_ACEOF
9041: #define HAVE_STRFTIME 1
9042: _ACEOF
9043:
9044: else
9045: # strftime is in -lintl on SCO UNIX.
9046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
9047: $as_echo_n "checking for strftime in -lintl... " >&6; }
9048: if ${ac_cv_lib_intl_strftime+:} false; then :
9049: $as_echo_n "(cached) " >&6
9050: else
9051: ac_check_lib_save_LIBS=$LIBS
9052: LIBS="-lintl $LIBS"
9053: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9054: /* end confdefs.h. */
9055:
9056: /* Override any GCC internal prototype to avoid an error.
9057: Use char because int might match the return type of a GCC
9058: builtin and then its argument prototype would still apply. */
9059: #ifdef __cplusplus
9060: extern "C"
9061: #endif
9062: char strftime ();
9063: int
9064: main ()
9065: {
9066: return strftime ();
9067: ;
9068: return 0;
9069: }
9070: _ACEOF
9071: if ac_fn_c_try_link "$LINENO"; then :
9072: ac_cv_lib_intl_strftime=yes
9073: else
9074: ac_cv_lib_intl_strftime=no
9075: fi
9076: rm -f core conftest.err conftest.$ac_objext \
9077: conftest$ac_exeext conftest.$ac_ext
9078: LIBS=$ac_check_lib_save_LIBS
9079: fi
9080: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9081: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9082: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9083: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9084:
9085: LIBS="-lintl $LIBS"
9086: fi
9087:
9088: fi
9089: done
9090:
9091: for ac_func in vprintf
9092: do :
9093: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9094: if test "x$ac_cv_func_vprintf" = xyes; then :
9095: cat >>confdefs.h <<_ACEOF
9096: #define HAVE_VPRINTF 1
9097: _ACEOF
9098:
9099: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9100: if test "x$ac_cv_func__doprnt" = xyes; then :
9101:
9102: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9103:
9104: fi
9105:
9106: fi
9107: done
9108:
9109:
9110: for ac_func in ftime getcwd putenv select strcspn strdup \
9111: strerror strspn strstr strtod
9112: do :
9113: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9114: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9115: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9116: cat >>confdefs.h <<_ACEOF
9117: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9118: _ACEOF
9119:
9120: fi
9121: done
9122:
9123:
9124:
9125: # Check whether --with-openssl_arch was given.
9126: if test "${with_openssl_arch+set}" = set; then :
9127: withval=$with_openssl_arch;
9128: else
9129: with_openssl_arch=none
9130: fi
9131:
9132:
9133: if test $(uname) = "OS/2"; then
9134: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9135: else
9136: if test "x$with_openssl_arch" = xnone; then
9137: (cd tools/$OPENSSL && ./config)
9138: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9139: (cd tools/$OPENSSL && ./Configure)
9140: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9141: elif test "x$with_openssl_arch" = xlist; then
9142: (cd tools/$OPENSSL && ./Configure)
9143: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9144: else
9145: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
9146: fi
9147: fi
9148:
9149:
9150:
9151: subdirs="$subdirs tools/$NCURSES"
9152:
9153: subdirs="$subdirs tools/$READLINE"
9154:
9155: subdirs="$subdirs tools/$GSL"
9156:
9157: subdirs="$subdirs tools/$GPP"
9158:
9159: subdirs="$subdirs tools/$FILE"
9160:
9161: subdirs="$subdirs tools/$ICONV"
9162:
9163: subdirs="$subdirs tools/$SQLITE"
9164:
9165: subdirs="$subdirs tools/$UNITS"
9166:
9167:
9168: if test "$MYGNUPLOT" = "yes"; then
9169: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9170: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9171: (cd "$srcdir/tools" && tar -xf -)
9172: fi
9173: subdirs="$subdirs tools/$GNUPLOT"
9174:
9175: GNUPLOT_COMPILATION=$GNUPLOT
9176: else
9177: GNUPLOT_COMPILATION=
9178: fi
9179:
9180:
9181:
9182: case $host_cpu in
9183:
9184: i?86)
9185: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9186: -Wno-pointer-sign"
9187: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9188: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9189: break ;;
9190:
9191: x86_64*)
9192: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9193: -Wno-pointer-sign"
9194: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9195: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9196: break ;;
9197:
9198: alpha*)
9199: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9200: -Wno-pointer-sign"
9201: FFLAGS="$FFLAGS -mieee -Wall"
9202: FCFLAGS="$FCFLAGS -mieee -Wall"
9203: break ;;
9204:
9205: sparc*)
9206: CFLAGS="$CFLAGS -Wall -funsigned-char \
9207: -Wno-pointer-sign"
9208: FFLAGS="$FFLAGS -Wall"
9209: FCFLAGS="$FCFLAGS -Wall"
9210: break ;;
9211:
9212: esac
9213:
9214: case $host_os in
9215:
9216: cygwin*)
9217: OS=Cygwin
9218: break ;;
9219:
9220: interix*)
9221: OS=Interix
9222: break ;;
9223:
9224: *)
9225: OS=$(uname)
9226: break ;;
9227:
9228: esac
9229:
9230:
9231:
9232: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9233: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9234: MALLOC=
9235:
9236: case $OS in
9237:
9238: Darwin)
9239: EXPORT_DYNAMIC=-Wl,-flat_namespace
9240: NESTED_FUNCTIONS=-fnested-functions
9241: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9242: IPCS_SYSV=-UIPCS_SYSV
9243: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
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: Cygwin)
9250: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9251: NESTED_FUNCTIONS=
9252: SEMAPHORES_NOMMES=-USEMAPHORES_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: Interix)
9260: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9261: NESTED_FUNCTIONS=
9262: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9263: IPCS_SYSV=-UIPCS_SYSV
9264: ac_configure_args="$ac_configure_args --with-readline=builtin \
9265: --disable-shared --enable-static --enable-threads"
9266: C_STANDARD=-std=gnu99
9267: break;;
9268:
9269: AIX)
9270: EXPORT_DYNAMIC=-Wl,--export-dynamic
9271: NESTED_FUNCTIONS=
9272: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9273: IPCS_SYSV=-UIPCS_SYSV
9274: ac_configure_args="$ac_configure_args --with-readline=builtin \
9275: --disable-shared --enable-static --enable-threads"
9276: C_STANDARD=-std=gnu99
9277: break ;;
9278:
9279: OS/2)
9280: if test $FORCED_FINAL_ENCODING -eq 0; then \
9281: FINAL_ENCODING=CP850; \
9282: fi;
9283: OS=OS2
9284: NESTED_FUNCTIONS=
9285: EXPORT_DYNAMIC=-Zmap
9286: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9287: IPCS_SYSV=-DIPCS_SYSV
9288: ac_configure_args="$ac_configure_args --without-readline \
9289: --without-cairo --disable-shared --enable-static \
9290: --enable-threads"
9291: C_STANDARD=
9292: break;;
9293:
9294: OpenBSD)
9295: if test $FORCED_FINAL_ENCODING -eq 0; then \
9296: FINAL_ENCODING=UTF-8; \
9297: fi;
9298: EXPORT_DYNAMIC=-Wl,--export-dynamic
9299: NESTED_FUNCTIONS=
9300: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9301: IPCS_SYSV=-DIPCS_SYSV
9302: ac_configure_args="$ac_configure_args --with-readline=builtin \
9303: --disable-shared --enable-static --enable-threads"
9304: C_STANDARD=-std=gnu99
9305: break;;
9306:
9307: SunOS)
9308: EXPORT_DYNAMIC=-Wl,--export-dynamic
9309: NESTED_FUNCTIONS=
9310: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9311:
9312: if test $IPCS_SYSV = no; then
9313: IPCS_SYSV=-UIPCS_SYSV
9314: else
9315: IPCS_SYSV=-DIPCS_SYSV
9316: fi
9317:
9318: ac_configure_args="$ac_configure_args --with-readline=builtin \
9319: --disable-shared --enable-static --enable-threads"
9320: C_STANDARD=-std=gnu99
9321: MALLOC=-lumem
9322: break ;;
9323:
9324: *)
9325: EXPORT_DYNAMIC=-Wl,--export-dynamic
9326: NESTED_FUNCTIONS=
9327: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9328:
9329: if test $IPCS_SYSV = no; then
9330: IPCS_SYSV=-UIPCS_SYSV
9331: else
9332: IPCS_SYSV=-DIPCS_SYSV
9333: fi
9334:
9335: ac_configure_args="$ac_configure_args --with-readline=builtin \
9336: --disable-shared --enable-static --enable-threads"
9337: C_STANDARD=-std=gnu99
9338: break ;;
9339:
9340: esac
9341:
9342:
9343:
9344:
9345:
9346:
9347:
9348:
9349:
9350:
9351:
9352:
9353:
9354:
9355:
9356:
9357:
9358:
9359:
9360:
9361:
9362:
9363:
9364:
9365:
9366:
9367:
9368:
9369:
9370:
9371:
9372:
9373:
9374:
9375:
9376:
9377:
9378:
9379: ac_config_files="$ac_config_files Makefile"
9380:
9381: ac_config_files="$ac_config_files COPYING"
9382:
9383: ac_config_files="$ac_config_files tools/Makefile"
9384:
9385: ac_config_files="$ac_config_files src/Makefile"
9386:
9387: ac_config_files="$ac_config_files man/Makefile"
9388:
9389: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9390:
9391: ac_config_files="$ac_config_files doc/Makefile"
9392:
9393: ac_config_files="$ac_config_files scripts/Makefile"
9394:
9395: ac_config_files="$ac_config_files scripts/mkrplso"
9396:
9397: ac_config_files="$ac_config_files scripts/rplcc"
9398:
9399: ac_config_files="$ac_config_files scripts/rpllink"
9400:
9401: ac_config_files="$ac_config_files rpltags/Makefile"
9402:
9403: ac_config_files="$ac_config_files rpliconv/Makefile"
9404:
9405: ac_config_files="$ac_config_files rplsums/Makefile"
9406:
9407: ac_config_files="$ac_config_files rplcas/Makefile"
9408:
9409: ac_config_files="$ac_config_files rplawk/Makefile"
9410:
9411: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9412:
9413: ac_config_files="$ac_config_files lapack/blas/Makefile"
9414:
9415:
9416: ac_config_files="$ac_config_files man/rpl.1"
9417:
9418: ac_config_files="$ac_config_files man/rplcc.1"
9419:
9420: ac_config_files="$ac_config_files man/rpllink.1"
9421:
9422: ac_config_files="$ac_config_files man/rpltags.1"
9423:
9424: ac_config_files="$ac_config_files man/mkrplso.1"
9425:
9426: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9427:
9428: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9429:
9430: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9431:
9432: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9433:
9434: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9435:
9436:
9437: cat >confcache <<\_ACEOF
9438: # This file is a shell script that caches the results of configure
9439: # tests run on this system so they can be shared between configure
9440: # scripts and configure runs, see configure's option --config-cache.
9441: # It is not useful on other systems. If it contains results you don't
9442: # want to keep, you may remove or edit it.
9443: #
9444: # config.status only pays attention to the cache file if you give it
9445: # the --recheck option to rerun configure.
9446: #
9447: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9448: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9449: # following values.
9450:
9451: _ACEOF
9452:
9453: # The following way of writing the cache mishandles newlines in values,
9454: # but we know of no workaround that is simple, portable, and efficient.
9455: # So, we kill variables containing newlines.
9456: # Ultrix sh set writes to stderr and can't be redirected directly,
9457: # and sets the high bit in the cache file unless we assign to the vars.
9458: (
9459: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9460: eval ac_val=\$$ac_var
9461: case $ac_val in #(
9462: *${as_nl}*)
9463: case $ac_var in #(
9464: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9465: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9466: esac
9467: case $ac_var in #(
9468: _ | IFS | as_nl) ;; #(
9469: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9470: *) { eval $ac_var=; unset $ac_var;} ;;
9471: esac ;;
9472: esac
9473: done
9474:
9475: (set) 2>&1 |
9476: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9477: *${as_nl}ac_space=\ *)
9478: # `set' does not quote correctly, so add quotes: double-quote
9479: # substitution turns \\\\ into \\, and sed turns \\ into \.
9480: sed -n \
9481: "s/'/'\\\\''/g;
9482: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9483: ;; #(
9484: *)
9485: # `set' quotes correctly as required by POSIX, so do not add quotes.
9486: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9487: ;;
9488: esac |
9489: sort
9490: ) |
9491: sed '
9492: /^ac_cv_env_/b end
9493: t clear
9494: :clear
9495: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9496: t end
9497: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9498: :end' >>confcache
9499: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9500: if test -w "$cache_file"; then
9501: if test "x$cache_file" != "x/dev/null"; then
9502: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9503: $as_echo "$as_me: updating cache $cache_file" >&6;}
9504: if test ! -f "$cache_file" || test -h "$cache_file"; then
9505: cat confcache >"$cache_file"
9506: else
9507: case $cache_file in #(
9508: */* | ?:*)
9509: mv -f confcache "$cache_file"$$ &&
9510: mv -f "$cache_file"$$ "$cache_file" ;; #(
9511: *)
9512: mv -f confcache "$cache_file" ;;
9513: esac
9514: fi
9515: fi
9516: else
9517: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9518: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9519: fi
9520: fi
9521: rm -f confcache
9522:
9523: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9524: # Let make expand exec_prefix.
9525: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9526:
9527: DEFS=-DHAVE_CONFIG_H
9528:
9529: ac_libobjs=
9530: ac_ltlibobjs=
9531: U=
9532: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9533: # 1. Remove the extension, and $U if already installed.
9534: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9535: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9536: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9537: # will be set to the directory where LIBOBJS objects are built.
9538: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9539: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9540: done
9541: LIBOBJS=$ac_libobjs
9542:
9543: LTLIBOBJS=$ac_ltlibobjs
9544:
9545:
9546: if test -n "$EXEEXT"; then
9547: am__EXEEXT_TRUE=
9548: am__EXEEXT_FALSE='#'
9549: else
9550: am__EXEEXT_TRUE='#'
9551: am__EXEEXT_FALSE=
9552: fi
9553:
9554: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9555: as_fn_error $? "conditional \"AMDEP\" was never defined.
9556: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9557: fi
9558: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9559: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9560: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9561: fi
9562: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9563: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9564: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9565: fi
9566:
9567: : "${CONFIG_STATUS=./config.status}"
9568: ac_write_fail=0
9569: ac_clean_files_save=$ac_clean_files
9570: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9571: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9572: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9573: as_write_fail=0
9574: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9575: #! $SHELL
9576: # Generated by $as_me.
9577: # Run this file to recreate the current configuration.
9578: # Compiler output produced by configure, useful for debugging
9579: # configure, is in config.log if it exists.
9580:
9581: debug=false
9582: ac_cs_recheck=false
9583: ac_cs_silent=false
9584:
9585: SHELL=\${CONFIG_SHELL-$SHELL}
9586: export SHELL
9587: _ASEOF
9588: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9589: ## -------------------- ##
9590: ## M4sh Initialization. ##
9591: ## -------------------- ##
9592:
9593: # Be more Bourne compatible
9594: DUALCASE=1; export DUALCASE # for MKS sh
9595: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9596: emulate sh
9597: NULLCMD=:
9598: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9599: # is contrary to our usage. Disable this feature.
9600: alias -g '${1+"$@"}'='"$@"'
9601: setopt NO_GLOB_SUBST
9602: else
9603: case `(set -o) 2>/dev/null` in #(
9604: *posix*) :
9605: set -o posix ;; #(
9606: *) :
9607: ;;
9608: esac
9609: fi
9610:
9611:
9612: as_nl='
9613: '
9614: export as_nl
9615: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9616: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9617: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9618: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9619: # Prefer a ksh shell builtin over an external printf program on Solaris,
9620: # but without wasting forks for bash or zsh.
9621: if test -z "$BASH_VERSION$ZSH_VERSION" \
9622: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9623: as_echo='print -r --'
9624: as_echo_n='print -rn --'
9625: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9626: as_echo='printf %s\n'
9627: as_echo_n='printf %s'
9628: else
9629: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9630: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9631: as_echo_n='/usr/ucb/echo -n'
9632: else
9633: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9634: as_echo_n_body='eval
9635: arg=$1;
9636: case $arg in #(
9637: *"$as_nl"*)
9638: expr "X$arg" : "X\\(.*\\)$as_nl";
9639: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9640: esac;
9641: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9642: '
9643: export as_echo_n_body
9644: as_echo_n='sh -c $as_echo_n_body as_echo'
9645: fi
9646: export as_echo_body
9647: as_echo='sh -c $as_echo_body as_echo'
9648: fi
9649:
9650: # The user is always right.
9651: if test "${PATH_SEPARATOR+set}" != set; then
9652: PATH_SEPARATOR=:
9653: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9654: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9655: PATH_SEPARATOR=';'
9656: }
9657: fi
9658:
9659:
9660: # IFS
9661: # We need space, tab and new line, in precisely that order. Quoting is
9662: # there to prevent editors from complaining about space-tab.
9663: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9664: # splitting by setting IFS to empty value.)
9665: IFS=" "" $as_nl"
9666:
9667: # Find who we are. Look in the path if we contain no directory separator.
9668: as_myself=
9669: case $0 in #((
9670: *[\\/]* ) as_myself=$0 ;;
9671: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672: for as_dir in $PATH
9673: do
9674: IFS=$as_save_IFS
9675: test -z "$as_dir" && as_dir=.
9676: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9677: done
9678: IFS=$as_save_IFS
9679:
9680: ;;
9681: esac
9682: # We did not find ourselves, most probably we were run as `sh COMMAND'
9683: # in which case we are not to be found in the path.
9684: if test "x$as_myself" = x; then
9685: as_myself=$0
9686: fi
9687: if test ! -f "$as_myself"; then
9688: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9689: exit 1
9690: fi
9691:
9692: # Unset variables that we do not need and which cause bugs (e.g. in
9693: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9694: # suppresses any "Segmentation fault" message there. '((' could
9695: # trigger a bug in pdksh 5.2.14.
9696: for as_var in BASH_ENV ENV MAIL MAILPATH
9697: do eval test x\${$as_var+set} = xset \
9698: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9699: done
9700: PS1='$ '
9701: PS2='> '
9702: PS4='+ '
9703:
9704: # NLS nuisances.
9705: LC_ALL=C
9706: export LC_ALL
9707: LANGUAGE=C
9708: export LANGUAGE
9709:
9710: # CDPATH.
9711: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9712:
9713:
9714: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9715: # ----------------------------------------
9716: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9717: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9718: # script with STATUS, using 1 if that was 0.
9719: as_fn_error ()
9720: {
9721: as_status=$1; test $as_status -eq 0 && as_status=1
9722: if test "$4"; then
9723: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9724: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9725: fi
9726: $as_echo "$as_me: error: $2" >&2
9727: as_fn_exit $as_status
9728: } # as_fn_error
9729:
9730:
9731: # as_fn_set_status STATUS
9732: # -----------------------
9733: # Set $? to STATUS, without forking.
9734: as_fn_set_status ()
9735: {
9736: return $1
9737: } # as_fn_set_status
9738:
9739: # as_fn_exit STATUS
9740: # -----------------
9741: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9742: as_fn_exit ()
9743: {
9744: set +e
9745: as_fn_set_status $1
9746: exit $1
9747: } # as_fn_exit
9748:
9749: # as_fn_unset VAR
9750: # ---------------
9751: # Portably unset VAR.
9752: as_fn_unset ()
9753: {
9754: { eval $1=; unset $1;}
9755: }
9756: as_unset=as_fn_unset
9757: # as_fn_append VAR VALUE
9758: # ----------------------
9759: # Append the text in VALUE to the end of the definition contained in VAR. Take
9760: # advantage of any shell optimizations that allow amortized linear growth over
9761: # repeated appends, instead of the typical quadratic growth present in naive
9762: # implementations.
9763: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9764: eval 'as_fn_append ()
9765: {
9766: eval $1+=\$2
9767: }'
9768: else
9769: as_fn_append ()
9770: {
9771: eval $1=\$$1\$2
9772: }
9773: fi # as_fn_append
9774:
9775: # as_fn_arith ARG...
9776: # ------------------
9777: # Perform arithmetic evaluation on the ARGs, and store the result in the
9778: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9779: # must be portable across $(()) and expr.
9780: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9781: eval 'as_fn_arith ()
9782: {
9783: as_val=$(( $* ))
9784: }'
9785: else
9786: as_fn_arith ()
9787: {
9788: as_val=`expr "$@" || test $? -eq 1`
9789: }
9790: fi # as_fn_arith
9791:
9792:
9793: if expr a : '\(a\)' >/dev/null 2>&1 &&
9794: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9795: as_expr=expr
9796: else
9797: as_expr=false
9798: fi
9799:
9800: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9801: as_basename=basename
9802: else
9803: as_basename=false
9804: fi
9805:
9806: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9807: as_dirname=dirname
9808: else
9809: as_dirname=false
9810: fi
9811:
9812: as_me=`$as_basename -- "$0" ||
9813: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9814: X"$0" : 'X\(//\)$' \| \
9815: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9816: $as_echo X/"$0" |
9817: sed '/^.*\/\([^/][^/]*\)\/*$/{
9818: s//\1/
9819: q
9820: }
9821: /^X\/\(\/\/\)$/{
9822: s//\1/
9823: q
9824: }
9825: /^X\/\(\/\).*/{
9826: s//\1/
9827: q
9828: }
9829: s/.*/./; q'`
9830:
9831: # Avoid depending upon Character Ranges.
9832: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9833: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9834: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9835: as_cr_digits='0123456789'
9836: as_cr_alnum=$as_cr_Letters$as_cr_digits
9837:
9838: ECHO_C= ECHO_N= ECHO_T=
9839: case `echo -n x` in #(((((
9840: -n*)
9841: case `echo 'xy\c'` in
9842: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9843: xy) ECHO_C='\c';;
9844: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9845: ECHO_T=' ';;
9846: esac;;
9847: *)
9848: ECHO_N='-n';;
9849: esac
9850:
9851: rm -f conf$$ conf$$.exe conf$$.file
9852: if test -d conf$$.dir; then
9853: rm -f conf$$.dir/conf$$.file
9854: else
9855: rm -f conf$$.dir
9856: mkdir conf$$.dir 2>/dev/null
9857: fi
9858: if (echo >conf$$.file) 2>/dev/null; then
9859: if ln -s conf$$.file conf$$ 2>/dev/null; then
9860: as_ln_s='ln -s'
9861: # ... but there are two gotchas:
9862: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9863: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9864: # In both cases, we have to default to `cp -p'.
9865: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9866: as_ln_s='cp -p'
9867: elif ln conf$$.file conf$$ 2>/dev/null; then
9868: as_ln_s=ln
9869: else
9870: as_ln_s='cp -p'
9871: fi
9872: else
9873: as_ln_s='cp -p'
9874: fi
9875: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9876: rmdir conf$$.dir 2>/dev/null
9877:
9878:
9879: # as_fn_mkdir_p
9880: # -------------
9881: # Create "$as_dir" as a directory, including parents if necessary.
9882: as_fn_mkdir_p ()
9883: {
9884:
9885: case $as_dir in #(
9886: -*) as_dir=./$as_dir;;
9887: esac
9888: test -d "$as_dir" || eval $as_mkdir_p || {
9889: as_dirs=
9890: while :; do
9891: case $as_dir in #(
9892: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9893: *) as_qdir=$as_dir;;
9894: esac
9895: as_dirs="'$as_qdir' $as_dirs"
9896: as_dir=`$as_dirname -- "$as_dir" ||
9897: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9898: X"$as_dir" : 'X\(//\)[^/]' \| \
9899: X"$as_dir" : 'X\(//\)$' \| \
9900: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9901: $as_echo X"$as_dir" |
9902: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9903: s//\1/
9904: q
9905: }
9906: /^X\(\/\/\)[^/].*/{
9907: s//\1/
9908: q
9909: }
9910: /^X\(\/\/\)$/{
9911: s//\1/
9912: q
9913: }
9914: /^X\(\/\).*/{
9915: s//\1/
9916: q
9917: }
9918: s/.*/./; q'`
9919: test -d "$as_dir" && break
9920: done
9921: test -z "$as_dirs" || eval "mkdir $as_dirs"
9922: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9923:
9924:
9925: } # as_fn_mkdir_p
9926: if mkdir -p . 2>/dev/null; then
9927: as_mkdir_p='mkdir -p "$as_dir"'
9928: else
9929: test -d ./-p && rmdir ./-p
9930: as_mkdir_p=false
9931: fi
9932:
9933: if test -x / >/dev/null 2>&1; then
9934: as_test_x='test -x'
9935: else
9936: if ls -dL / >/dev/null 2>&1; then
9937: as_ls_L_option=L
9938: else
9939: as_ls_L_option=
9940: fi
9941: as_test_x='
9942: eval sh -c '\''
9943: if test -d "$1"; then
9944: test -d "$1/.";
9945: else
9946: case $1 in #(
9947: -*)set "./$1";;
9948: esac;
9949: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9950: ???[sx]*):;;*)false;;esac;fi
9951: '\'' sh
9952: '
9953: fi
9954: as_executable_p=$as_test_x
9955:
9956: # Sed expression to map a string onto a valid CPP name.
9957: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9958:
9959: # Sed expression to map a string onto a valid variable name.
9960: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9961:
9962:
9963: exec 6>&1
9964: ## ----------------------------------- ##
9965: ## Main body of $CONFIG_STATUS script. ##
9966: ## ----------------------------------- ##
9967: _ASEOF
9968: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9969:
9970: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9971: # Save the log message, to keep $0 and so on meaningful, and to
9972: # report actual input values of CONFIG_FILES etc. instead of their
9973: # values after options handling.
9974: ac_log="
9975: This file was extended by rpl $as_me 4.1.0, which was
9976: generated by GNU Autoconf 2.68. Invocation command line was
9977:
9978: CONFIG_FILES = $CONFIG_FILES
9979: CONFIG_HEADERS = $CONFIG_HEADERS
9980: CONFIG_LINKS = $CONFIG_LINKS
9981: CONFIG_COMMANDS = $CONFIG_COMMANDS
9982: $ $0 $@
9983:
9984: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9985: "
9986:
9987: _ACEOF
9988:
9989: case $ac_config_files in *"
9990: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9991: esac
9992:
9993: case $ac_config_headers in *"
9994: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9995: esac
9996:
9997:
9998: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9999: # Files that config.status was made for.
10000: config_files="$ac_config_files"
10001: config_headers="$ac_config_headers"
10002: config_commands="$ac_config_commands"
10003:
10004: _ACEOF
10005:
10006: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10007: ac_cs_usage="\
10008: \`$as_me' instantiates files and other configuration actions
10009: from templates according to the current configuration. Unless the files
10010: and actions are specified as TAGs, all are instantiated by default.
10011:
10012: Usage: $0 [OPTION]... [TAG]...
10013:
10014: -h, --help print this help, then exit
10015: -V, --version print version number and configuration settings, then exit
10016: --config print configuration, then exit
10017: -q, --quiet, --silent
10018: do not print progress messages
10019: -d, --debug don't remove temporary files
10020: --recheck update $as_me by reconfiguring in the same conditions
10021: --file=FILE[:TEMPLATE]
10022: instantiate the configuration file FILE
10023: --header=FILE[:TEMPLATE]
10024: instantiate the configuration header FILE
10025:
10026: Configuration files:
10027: $config_files
10028:
10029: Configuration headers:
10030: $config_headers
10031:
10032: Configuration commands:
10033: $config_commands
10034:
10035: Report bugs to the package provider."
10036:
10037: _ACEOF
10038: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10039: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10040: ac_cs_version="\\
10041: rpl config.status 4.1.0
10042: configured by $0, generated by GNU Autoconf 2.68,
10043: with options \\"\$ac_cs_config\\"
10044:
10045: Copyright (C) 2010 Free Software Foundation, Inc.
10046: This config.status script is free software; the Free Software Foundation
10047: gives unlimited permission to copy, distribute and modify it."
10048:
10049: ac_pwd='$ac_pwd'
10050: srcdir='$srcdir'
10051: INSTALL='$INSTALL'
10052: MKDIR_P='$MKDIR_P'
10053: AWK='$AWK'
10054: test -n "\$AWK" || AWK=awk
10055: _ACEOF
10056:
10057: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10058: # The default lists apply if the user does not specify any file.
10059: ac_need_defaults=:
10060: while test $# != 0
10061: do
10062: case $1 in
10063: --*=?*)
10064: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10065: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10066: ac_shift=:
10067: ;;
10068: --*=)
10069: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10070: ac_optarg=
10071: ac_shift=:
10072: ;;
10073: *)
10074: ac_option=$1
10075: ac_optarg=$2
10076: ac_shift=shift
10077: ;;
10078: esac
10079:
10080: case $ac_option in
10081: # Handling of the options.
10082: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10083: ac_cs_recheck=: ;;
10084: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10085: $as_echo "$ac_cs_version"; exit ;;
10086: --config | --confi | --conf | --con | --co | --c )
10087: $as_echo "$ac_cs_config"; exit ;;
10088: --debug | --debu | --deb | --de | --d | -d )
10089: debug=: ;;
10090: --file | --fil | --fi | --f )
10091: $ac_shift
10092: case $ac_optarg in
10093: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10094: '') as_fn_error $? "missing file argument" ;;
10095: esac
10096: as_fn_append CONFIG_FILES " '$ac_optarg'"
10097: ac_need_defaults=false;;
10098: --header | --heade | --head | --hea )
10099: $ac_shift
10100: case $ac_optarg in
10101: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10102: esac
10103: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10104: ac_need_defaults=false;;
10105: --he | --h)
10106: # Conflict between --help and --header
10107: as_fn_error $? "ambiguous option: \`$1'
10108: Try \`$0 --help' for more information.";;
10109: --help | --hel | -h )
10110: $as_echo "$ac_cs_usage"; exit ;;
10111: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10112: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10113: ac_cs_silent=: ;;
10114:
10115: # This is an error.
10116: -*) as_fn_error $? "unrecognized option: \`$1'
10117: Try \`$0 --help' for more information." ;;
10118:
10119: *) as_fn_append ac_config_targets " $1"
10120: ac_need_defaults=false ;;
10121:
10122: esac
10123: shift
10124: done
10125:
10126: ac_configure_extra_args=
10127:
10128: if $ac_cs_silent; then
10129: exec 6>/dev/null
10130: ac_configure_extra_args="$ac_configure_extra_args --silent"
10131: fi
10132:
10133: _ACEOF
10134: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10135: if \$ac_cs_recheck; then
10136: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10137: shift
10138: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10139: CONFIG_SHELL='$SHELL'
10140: export CONFIG_SHELL
10141: exec "\$@"
10142: fi
10143:
10144: _ACEOF
10145: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10146: exec 5>>config.log
10147: {
10148: echo
10149: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10150: ## Running $as_me. ##
10151: _ASBOX
10152: $as_echo "$ac_log"
10153: } >&5
10154:
10155: _ACEOF
10156: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10157: #
10158: # INIT-COMMANDS
10159: #
10160: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10161:
10162: _ACEOF
10163:
10164: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10165:
10166: # Handling of arguments.
10167: for ac_config_target in $ac_config_targets
10168: do
10169: case $ac_config_target in
10170: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10171: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10172: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10173: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10174: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10175: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10176: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10177: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10178: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10179: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10180: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10181: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10182: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10183: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10184: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10185: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10186: "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10187: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10188: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10189: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10190: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10191: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10192: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10193: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10194: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10195: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10196: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10197: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10198: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10199: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10200:
10201: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10202: esac
10203: done
10204:
10205:
10206: # If the user did not use the arguments to specify the items to instantiate,
10207: # then the envvar interface is used. Set only those that are not.
10208: # We use the long form for the default assignment because of an extremely
10209: # bizarre bug on SunOS 4.1.3.
10210: if $ac_need_defaults; then
10211: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10212: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10213: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10214: fi
10215:
10216: # Have a temporary directory for convenience. Make it in the build tree
10217: # simply because there is no reason against having it here, and in addition,
10218: # creating and moving files from /tmp can sometimes cause problems.
10219: # Hook for its removal unless debugging.
10220: # Note that there is a small window in which the directory will not be cleaned:
10221: # after its creation but before its name has been assigned to `$tmp'.
10222: $debug ||
10223: {
10224: tmp= ac_tmp=
10225: trap 'exit_status=$?
10226: : "${ac_tmp:=$tmp}"
10227: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10228: ' 0
10229: trap 'as_fn_exit 1' 1 2 13 15
10230: }
10231: # Create a (secure) tmp directory for tmp files.
10232:
10233: {
10234: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10235: test -d "$tmp"
10236: } ||
10237: {
10238: tmp=./conf$$-$RANDOM
10239: (umask 077 && mkdir "$tmp")
10240: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10241: ac_tmp=$tmp
10242:
10243: # Set up the scripts for CONFIG_FILES section.
10244: # No need to generate them if there are no CONFIG_FILES.
10245: # This happens for instance with `./config.status config.h'.
10246: if test -n "$CONFIG_FILES"; then
10247:
10248:
10249: ac_cr=`echo X | tr X '\015'`
10250: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10251: # But we know of no other shell where ac_cr would be empty at this
10252: # point, so we can use a bashism as a fallback.
10253: if test "x$ac_cr" = x; then
10254: eval ac_cr=\$\'\\r\'
10255: fi
10256: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10257: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10258: ac_cs_awk_cr='\\r'
10259: else
10260: ac_cs_awk_cr=$ac_cr
10261: fi
10262:
10263: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10264: _ACEOF
10265:
10266:
10267: {
10268: echo "cat >conf$$subs.awk <<_ACEOF" &&
10269: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10270: echo "_ACEOF"
10271: } >conf$$subs.sh ||
10272: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10273: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10274: ac_delim='%!_!# '
10275: for ac_last_try in false false false false false :; do
10276: . ./conf$$subs.sh ||
10277: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10278:
10279: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10280: if test $ac_delim_n = $ac_delim_num; then
10281: break
10282: elif $ac_last_try; then
10283: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10284: else
10285: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10286: fi
10287: done
10288: rm -f conf$$subs.sh
10289:
10290: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10291: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10292: _ACEOF
10293: sed -n '
10294: h
10295: s/^/S["/; s/!.*/"]=/
10296: p
10297: g
10298: s/^[^!]*!//
10299: :repl
10300: t repl
10301: s/'"$ac_delim"'$//
10302: t delim
10303: :nl
10304: h
10305: s/\(.\{148\}\)..*/\1/
10306: t more1
10307: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10308: p
10309: n
10310: b repl
10311: :more1
10312: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10313: p
10314: g
10315: s/.\{148\}//
10316: t nl
10317: :delim
10318: h
10319: s/\(.\{148\}\)..*/\1/
10320: t more2
10321: s/["\\]/\\&/g; s/^/"/; s/$/"/
10322: p
10323: b
10324: :more2
10325: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10326: p
10327: g
10328: s/.\{148\}//
10329: t delim
10330: ' <conf$$subs.awk | sed '
10331: /^[^""]/{
10332: N
10333: s/\n//
10334: }
10335: ' >>$CONFIG_STATUS || ac_write_fail=1
10336: rm -f conf$$subs.awk
10337: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10338: _ACAWK
10339: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10340: for (key in S) S_is_set[key] = 1
10341: FS = ""
10342:
10343: }
10344: {
10345: line = $ 0
10346: nfields = split(line, field, "@")
10347: substed = 0
10348: len = length(field[1])
10349: for (i = 2; i < nfields; i++) {
10350: key = field[i]
10351: keylen = length(key)
10352: if (S_is_set[key]) {
10353: value = S[key]
10354: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10355: len += length(value) + length(field[++i])
10356: substed = 1
10357: } else
10358: len += 1 + keylen
10359: }
10360:
10361: print line
10362: }
10363:
10364: _ACAWK
10365: _ACEOF
10366: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10367: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10368: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10369: else
10370: cat
10371: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10372: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10373: _ACEOF
10374:
10375: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10376: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10377: # trailing colons and then remove the whole line if VPATH becomes empty
10378: # (actually we leave an empty line to preserve line numbers).
10379: if test "x$srcdir" = x.; then
10380: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10381: h
10382: s///
10383: s/^/:/
10384: s/[ ]*$/:/
10385: s/:\$(srcdir):/:/g
10386: s/:\${srcdir}:/:/g
10387: s/:@srcdir@:/:/g
10388: s/^:*//
10389: s/:*$//
10390: x
10391: s/\(=[ ]*\).*/\1/
10392: G
10393: s/\n//
10394: s/^[^=]*=[ ]*$//
10395: }'
10396: fi
10397:
10398: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10399: fi # test -n "$CONFIG_FILES"
10400:
10401: # Set up the scripts for CONFIG_HEADERS section.
10402: # No need to generate them if there are no CONFIG_HEADERS.
10403: # This happens for instance with `./config.status Makefile'.
10404: if test -n "$CONFIG_HEADERS"; then
10405: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10406: BEGIN {
10407: _ACEOF
10408:
10409: # Transform confdefs.h into an awk script `defines.awk', embedded as
10410: # here-document in config.status, that substitutes the proper values into
10411: # config.h.in to produce config.h.
10412:
10413: # Create a delimiter string that does not exist in confdefs.h, to ease
10414: # handling of long lines.
10415: ac_delim='%!_!# '
10416: for ac_last_try in false false :; do
10417: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10418: if test -z "$ac_tt"; then
10419: break
10420: elif $ac_last_try; then
10421: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10422: else
10423: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10424: fi
10425: done
10426:
10427: # For the awk script, D is an array of macro values keyed by name,
10428: # likewise P contains macro parameters if any. Preserve backslash
10429: # newline sequences.
10430:
10431: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10432: sed -n '
10433: s/.\{148\}/&'"$ac_delim"'/g
10434: t rset
10435: :rset
10436: s/^[ ]*#[ ]*define[ ][ ]*/ /
10437: t def
10438: d
10439: :def
10440: s/\\$//
10441: t bsnl
10442: s/["\\]/\\&/g
10443: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10444: D["\1"]=" \3"/p
10445: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10446: d
10447: :bsnl
10448: s/["\\]/\\&/g
10449: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10450: D["\1"]=" \3\\\\\\n"\\/p
10451: t cont
10452: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10453: t cont
10454: d
10455: :cont
10456: n
10457: s/.\{148\}/&'"$ac_delim"'/g
10458: t clear
10459: :clear
10460: s/\\$//
10461: t bsnlc
10462: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10463: d
10464: :bsnlc
10465: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10466: b cont
10467: ' <confdefs.h | sed '
10468: s/'"$ac_delim"'/"\\\
10469: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10470:
10471: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10472: for (key in D) D_is_set[key] = 1
10473: FS = ""
10474: }
10475: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10476: line = \$ 0
10477: split(line, arg, " ")
10478: if (arg[1] == "#") {
10479: defundef = arg[2]
10480: mac1 = arg[3]
10481: } else {
10482: defundef = substr(arg[1], 2)
10483: mac1 = arg[2]
10484: }
10485: split(mac1, mac2, "(") #)
10486: macro = mac2[1]
10487: prefix = substr(line, 1, index(line, defundef) - 1)
10488: if (D_is_set[macro]) {
10489: # Preserve the white space surrounding the "#".
10490: print prefix "define", macro P[macro] D[macro]
10491: next
10492: } else {
10493: # Replace #undef with comments. This is necessary, for example,
10494: # in the case of _POSIX_SOURCE, which is predefined and required
10495: # on some systems where configure will not decide to define it.
10496: if (defundef == "undef") {
10497: print "/*", prefix defundef, macro, "*/"
10498: next
10499: }
10500: }
10501: }
10502: { print }
10503: _ACAWK
10504: _ACEOF
10505: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10506: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10507: fi # test -n "$CONFIG_HEADERS"
10508:
10509:
10510: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10511: shift
10512: for ac_tag
10513: do
10514: case $ac_tag in
10515: :[FHLC]) ac_mode=$ac_tag; continue;;
10516: esac
10517: case $ac_mode$ac_tag in
10518: :[FHL]*:*);;
10519: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10520: :[FH]-) ac_tag=-:-;;
10521: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10522: esac
10523: ac_save_IFS=$IFS
10524: IFS=:
10525: set x $ac_tag
10526: IFS=$ac_save_IFS
10527: shift
10528: ac_file=$1
10529: shift
10530:
10531: case $ac_mode in
10532: :L) ac_source=$1;;
10533: :[FH])
10534: ac_file_inputs=
10535: for ac_f
10536: do
10537: case $ac_f in
10538: -) ac_f="$ac_tmp/stdin";;
10539: *) # Look for the file first in the build tree, then in the source tree
10540: # (if the path is not absolute). The absolute path cannot be DOS-style,
10541: # because $ac_f cannot contain `:'.
10542: test -f "$ac_f" ||
10543: case $ac_f in
10544: [\\/$]*) false;;
10545: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10546: esac ||
10547: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10548: esac
10549: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10550: as_fn_append ac_file_inputs " '$ac_f'"
10551: done
10552:
10553: # Let's still pretend it is `configure' which instantiates (i.e., don't
10554: # use $as_me), people would be surprised to read:
10555: # /* config.h. Generated by config.status. */
10556: configure_input='Generated from '`
10557: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10558: `' by configure.'
10559: if test x"$ac_file" != x-; then
10560: configure_input="$ac_file. $configure_input"
10561: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10562: $as_echo "$as_me: creating $ac_file" >&6;}
10563: fi
10564: # Neutralize special characters interpreted by sed in replacement strings.
10565: case $configure_input in #(
10566: *\&* | *\|* | *\\* )
10567: ac_sed_conf_input=`$as_echo "$configure_input" |
10568: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10569: *) ac_sed_conf_input=$configure_input;;
10570: esac
10571:
10572: case $ac_tag in
10573: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10574: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10575: esac
10576: ;;
10577: esac
10578:
10579: ac_dir=`$as_dirname -- "$ac_file" ||
10580: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10581: X"$ac_file" : 'X\(//\)[^/]' \| \
10582: X"$ac_file" : 'X\(//\)$' \| \
10583: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10584: $as_echo X"$ac_file" |
10585: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10586: s//\1/
10587: q
10588: }
10589: /^X\(\/\/\)[^/].*/{
10590: s//\1/
10591: q
10592: }
10593: /^X\(\/\/\)$/{
10594: s//\1/
10595: q
10596: }
10597: /^X\(\/\).*/{
10598: s//\1/
10599: q
10600: }
10601: s/.*/./; q'`
10602: as_dir="$ac_dir"; as_fn_mkdir_p
10603: ac_builddir=.
10604:
10605: case "$ac_dir" in
10606: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10607: *)
10608: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10609: # A ".." for each directory in $ac_dir_suffix.
10610: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10611: case $ac_top_builddir_sub in
10612: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10613: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10614: esac ;;
10615: esac
10616: ac_abs_top_builddir=$ac_pwd
10617: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10618: # for backward compatibility:
10619: ac_top_builddir=$ac_top_build_prefix
10620:
10621: case $srcdir in
10622: .) # We are building in place.
10623: ac_srcdir=.
10624: ac_top_srcdir=$ac_top_builddir_sub
10625: ac_abs_top_srcdir=$ac_pwd ;;
10626: [\\/]* | ?:[\\/]* ) # Absolute name.
10627: ac_srcdir=$srcdir$ac_dir_suffix;
10628: ac_top_srcdir=$srcdir
10629: ac_abs_top_srcdir=$srcdir ;;
10630: *) # Relative name.
10631: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10632: ac_top_srcdir=$ac_top_build_prefix$srcdir
10633: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10634: esac
10635: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10636:
10637:
10638: case $ac_mode in
10639: :F)
10640: #
10641: # CONFIG_FILE
10642: #
10643:
10644: case $INSTALL in
10645: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10646: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10647: esac
10648: ac_MKDIR_P=$MKDIR_P
10649: case $MKDIR_P in
10650: [\\/$]* | ?:[\\/]* ) ;;
10651: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10652: esac
10653: _ACEOF
10654:
10655: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10656: # If the template does not know about datarootdir, expand it.
10657: # FIXME: This hack should be removed a few years after 2.60.
10658: ac_datarootdir_hack=; ac_datarootdir_seen=
10659: ac_sed_dataroot='
10660: /datarootdir/ {
10661: p
10662: q
10663: }
10664: /@datadir@/p
10665: /@docdir@/p
10666: /@infodir@/p
10667: /@localedir@/p
10668: /@mandir@/p'
10669: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10670: *datarootdir*) ac_datarootdir_seen=yes;;
10671: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10672: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10673: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10674: _ACEOF
10675: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10676: ac_datarootdir_hack='
10677: s&@datadir@&$datadir&g
10678: s&@docdir@&$docdir&g
10679: s&@infodir@&$infodir&g
10680: s&@localedir@&$localedir&g
10681: s&@mandir@&$mandir&g
10682: s&\\\${datarootdir}&$datarootdir&g' ;;
10683: esac
10684: _ACEOF
10685:
10686: # Neutralize VPATH when `$srcdir' = `.'.
10687: # Shell code in configure.ac might set extrasub.
10688: # FIXME: do we really want to maintain this feature?
10689: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10690: ac_sed_extra="$ac_vpsub
10691: $extrasub
10692: _ACEOF
10693: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10694: :t
10695: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10696: s|@configure_input@|$ac_sed_conf_input|;t t
10697: s&@top_builddir@&$ac_top_builddir_sub&;t t
10698: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10699: s&@srcdir@&$ac_srcdir&;t t
10700: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10701: s&@top_srcdir@&$ac_top_srcdir&;t t
10702: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10703: s&@builddir@&$ac_builddir&;t t
10704: s&@abs_builddir@&$ac_abs_builddir&;t t
10705: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10706: s&@INSTALL@&$ac_INSTALL&;t t
10707: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10708: $ac_datarootdir_hack
10709: "
10710: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10711: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10712:
10713: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10714: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10715: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10716: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10717: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10718: which seems to be undefined. Please make sure it is defined" >&5
10719: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10720: which seems to be undefined. Please make sure it is defined" >&2;}
10721:
10722: rm -f "$ac_tmp/stdin"
10723: case $ac_file in
10724: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10725: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10726: esac \
10727: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10728: ;;
10729: :H)
10730: #
10731: # CONFIG_HEADER
10732: #
10733: if test x"$ac_file" != x-; then
10734: {
10735: $as_echo "/* $configure_input */" \
10736: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10737: } >"$ac_tmp/config.h" \
10738: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10739: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10740: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10741: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10742: else
10743: rm -f "$ac_file"
10744: mv "$ac_tmp/config.h" "$ac_file" \
10745: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10746: fi
10747: else
10748: $as_echo "/* $configure_input */" \
10749: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10750: || as_fn_error $? "could not create -" "$LINENO" 5
10751: fi
10752: # Compute "$ac_file"'s index in $config_headers.
10753: _am_arg="$ac_file"
10754: _am_stamp_count=1
10755: for _am_header in $config_headers :; do
10756: case $_am_header in
10757: $_am_arg | $_am_arg:* )
10758: break ;;
10759: * )
10760: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10761: esac
10762: done
10763: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10764: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10765: X"$_am_arg" : 'X\(//\)[^/]' \| \
10766: X"$_am_arg" : 'X\(//\)$' \| \
10767: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10768: $as_echo X"$_am_arg" |
10769: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10770: s//\1/
10771: q
10772: }
10773: /^X\(\/\/\)[^/].*/{
10774: s//\1/
10775: q
10776: }
10777: /^X\(\/\/\)$/{
10778: s//\1/
10779: q
10780: }
10781: /^X\(\/\).*/{
10782: s//\1/
10783: q
10784: }
10785: s/.*/./; q'`/stamp-h$_am_stamp_count
10786: ;;
10787:
10788: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10789: $as_echo "$as_me: executing $ac_file commands" >&6;}
10790: ;;
10791: esac
10792:
10793:
10794: case $ac_file$ac_mode in
10795: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10796: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10797: # are listed without --file. Let's play safe and only enable the eval
10798: # if we detect the quoting.
10799: case $CONFIG_FILES in
10800: *\'*) eval set x "$CONFIG_FILES" ;;
10801: *) set x $CONFIG_FILES ;;
10802: esac
10803: shift
10804: for mf
10805: do
10806: # Strip MF so we end up with the name of the file.
10807: mf=`echo "$mf" | sed -e 's/:.*$//'`
10808: # Check whether this is an Automake generated Makefile or not.
10809: # We used to match only the files named `Makefile.in', but
10810: # some people rename them; so instead we look at the file content.
10811: # Grep'ing the first line is not enough: some people post-process
10812: # each Makefile.in and add a new line on top of each file to say so.
10813: # Grep'ing the whole file is not good either: AIX grep has a line
10814: # limit of 2048, but all sed's we know have understand at least 4000.
10815: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10816: dirpart=`$as_dirname -- "$mf" ||
10817: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10818: X"$mf" : 'X\(//\)[^/]' \| \
10819: X"$mf" : 'X\(//\)$' \| \
10820: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10821: $as_echo X"$mf" |
10822: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10823: s//\1/
10824: q
10825: }
10826: /^X\(\/\/\)[^/].*/{
10827: s//\1/
10828: q
10829: }
10830: /^X\(\/\/\)$/{
10831: s//\1/
10832: q
10833: }
10834: /^X\(\/\).*/{
10835: s//\1/
10836: q
10837: }
10838: s/.*/./; q'`
10839: else
10840: continue
10841: fi
10842: # Extract the definition of DEPDIR, am__include, and am__quote
10843: # from the Makefile without running `make'.
10844: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10845: test -z "$DEPDIR" && continue
10846: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10847: test -z "am__include" && continue
10848: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10849: # When using ansi2knr, U may be empty or an underscore; expand it
10850: U=`sed -n 's/^U = //p' < "$mf"`
10851: # Find all dependency output files, they are included files with
10852: # $(DEPDIR) in their names. We invoke sed twice because it is the
10853: # simplest approach to changing $(DEPDIR) to its actual value in the
10854: # expansion.
10855: for file in `sed -n "
10856: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10857: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10858: # Make sure the directory exists.
10859: test -f "$dirpart/$file" && continue
10860: fdir=`$as_dirname -- "$file" ||
10861: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10862: X"$file" : 'X\(//\)[^/]' \| \
10863: X"$file" : 'X\(//\)$' \| \
10864: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10865: $as_echo X"$file" |
10866: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10867: s//\1/
10868: q
10869: }
10870: /^X\(\/\/\)[^/].*/{
10871: s//\1/
10872: q
10873: }
10874: /^X\(\/\/\)$/{
10875: s//\1/
10876: q
10877: }
10878: /^X\(\/\).*/{
10879: s//\1/
10880: q
10881: }
10882: s/.*/./; q'`
10883: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10884: # echo "creating $dirpart/$file"
10885: echo '# dummy' > "$dirpart/$file"
10886: done
10887: done
10888: }
10889: ;;
10890:
10891: esac
10892: done # for ac_tag
10893:
10894:
10895: as_fn_exit 0
10896: _ACEOF
10897: ac_clean_files=$ac_clean_files_save
10898:
10899: test $ac_write_fail = 0 ||
10900: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10901:
10902:
10903: # configure is writing to config.log, and then calls config.status.
10904: # config.status does its own redirection, appending to config.log.
10905: # Unfortunately, on DOS this fails, as config.log is still kept open
10906: # by configure, so config.status won't be able to write to it; its
10907: # output is simply discarded. So we exec the FD to /dev/null,
10908: # effectively closing config.log, so it can be properly (re)opened and
10909: # appended to by config.status. When coming back to configure, we
10910: # need to make the FD available again.
10911: if test "$no_create" != yes; then
10912: ac_cs_success=:
10913: ac_config_status_args=
10914: test "$silent" = yes &&
10915: ac_config_status_args="$ac_config_status_args --quiet"
10916: exec 5>/dev/null
10917: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10918: exec 5>>config.log
10919: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10920: # would make configure fail if this is the last instruction.
10921: $ac_cs_success || as_fn_exit 1
10922: fi
10923:
10924: #
10925: # CONFIG_SUBDIRS section.
10926: #
10927: if test "$no_recursion" != yes; then
10928:
10929: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10930: # so they do not pile up.
10931: ac_sub_configure_args=
10932: ac_prev=
10933: eval "set x $ac_configure_args"
10934: shift
10935: for ac_arg
10936: do
10937: if test -n "$ac_prev"; then
10938: ac_prev=
10939: continue
10940: fi
10941: case $ac_arg in
10942: -cache-file | --cache-file | --cache-fil | --cache-fi \
10943: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10944: ac_prev=cache_file ;;
10945: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10946: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10947: | --c=*)
10948: ;;
10949: --config-cache | -C)
10950: ;;
10951: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10952: ac_prev=srcdir ;;
10953: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10954: ;;
10955: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10956: ac_prev=prefix ;;
10957: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10958: ;;
10959: --disable-option-checking)
10960: ;;
10961: *)
10962: case $ac_arg in
10963: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10964: esac
10965: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10966: esac
10967: done
10968:
10969: # Always prepend --prefix to ensure using the same prefix
10970: # in subdir configurations.
10971: ac_arg="--prefix=$prefix"
10972: case $ac_arg in
10973: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10974: esac
10975: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10976:
10977: # Pass --silent
10978: if test "$silent" = yes; then
10979: ac_sub_configure_args="--silent $ac_sub_configure_args"
10980: fi
10981:
10982: # Always prepend --disable-option-checking to silence warnings, since
10983: # different subdirs can have different --enable and --with options.
10984: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10985:
10986: ac_popdir=`pwd`
10987: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10988:
10989: # Do not complain, so a configure script can configure whichever
10990: # parts of a large source tree are present.
10991: test -d "$srcdir/$ac_dir" || continue
10992:
10993: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10994: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10995: $as_echo "$ac_msg" >&6
10996: as_dir="$ac_dir"; as_fn_mkdir_p
10997: ac_builddir=.
10998:
10999: case "$ac_dir" in
11000: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11001: *)
11002: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11003: # A ".." for each directory in $ac_dir_suffix.
11004: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11005: case $ac_top_builddir_sub in
11006: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11007: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11008: esac ;;
11009: esac
11010: ac_abs_top_builddir=$ac_pwd
11011: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11012: # for backward compatibility:
11013: ac_top_builddir=$ac_top_build_prefix
11014:
11015: case $srcdir in
11016: .) # We are building in place.
11017: ac_srcdir=.
11018: ac_top_srcdir=$ac_top_builddir_sub
11019: ac_abs_top_srcdir=$ac_pwd ;;
11020: [\\/]* | ?:[\\/]* ) # Absolute name.
11021: ac_srcdir=$srcdir$ac_dir_suffix;
11022: ac_top_srcdir=$srcdir
11023: ac_abs_top_srcdir=$srcdir ;;
11024: *) # Relative name.
11025: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11026: ac_top_srcdir=$ac_top_build_prefix$srcdir
11027: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11028: esac
11029: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11030:
11031:
11032: cd "$ac_dir"
11033:
11034: # Check for guested configure; otherwise get Cygnus style configure.
11035: if test -f "$ac_srcdir/configure.gnu"; then
11036: ac_sub_configure=$ac_srcdir/configure.gnu
11037: elif test -f "$ac_srcdir/configure"; then
11038: ac_sub_configure=$ac_srcdir/configure
11039: elif test -f "$ac_srcdir/configure.in"; then
11040: # This should be Cygnus configure.
11041: ac_sub_configure=$ac_aux_dir/configure
11042: else
11043: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11044: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11045: ac_sub_configure=
11046: fi
11047:
11048: # The recursion is here.
11049: if test -n "$ac_sub_configure"; then
11050: # Make the cache file name correct relative to the subdirectory.
11051: case $cache_file in
11052: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11053: *) # Relative name.
11054: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11055: esac
11056:
11057: { $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
11058: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11059: # The eval makes quoting arguments work.
11060: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11061: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11062: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11063: fi
11064:
11065: cd "$ac_popdir"
11066: done
11067: fi
11068: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11070: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11071: fi
11072:
CVSweb interface <joel.bertrand@systella.fr>