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: ABI
670: X_EXTRA_LIBS
671: X_LIBS
672: X_PRE_LIBS
673: X_CFLAGS
674: CPP
675: XMKMF
676: ac_ct_FC
677: FCFLAGS
678: FC
679: ac_ct_F77
680: FFLAGS
681: F77
682: am__fastdepCXX_FALSE
683: am__fastdepCXX_TRUE
684: CXXDEPMODE
685: ac_ct_CXX
686: CXXFLAGS
687: CXX
688: am__fastdepCC_FALSE
689: am__fastdepCC_TRUE
690: CCDEPMODE
691: AMDEPBACKSLASH
692: AMDEP_FALSE
693: AMDEP_TRUE
694: am__quote
695: am__include
696: DEPDIR
697: OBJEXT
698: EXEEXT
699: ac_ct_CC
700: CPPFLAGS
701: LDFLAGS
702: CFLAGS
703: CC
704: am__untar
705: am__tar
706: AMTAR
707: am__leading_dot
708: SET_MAKE
709: AWK
710: mkdir_p
711: MKDIR_P
712: INSTALL_STRIP_PROGRAM
713: STRIP
714: install_sh
715: MAKEINFO
716: AUTOHEADER
717: AUTOMAKE
718: AUTOCONF
719: ACLOCAL
720: VERSION
721: PACKAGE
722: CYGPATH_W
723: am__isrc
724: INSTALL_DATA
725: INSTALL_SCRIPT
726: INSTALL_PROGRAM
727: target_os
728: target_vendor
729: target_cpu
730: target
731: host_os
732: host_vendor
733: host_cpu
734: host
735: build_os
736: build_vendor
737: build_cpu
738: build
739: target_alias
740: host_alias
741: build_alias
742: LIBS
743: ECHO_T
744: ECHO_N
745: ECHO_C
746: DEFS
747: mandir
748: localedir
749: libdir
750: psdir
751: pdfdir
752: dvidir
753: htmldir
754: infodir
755: docdir
756: oldincludedir
757: includedir
758: localstatedir
759: sharedstatedir
760: sysconfdir
761: datadir
762: datarootdir
763: libexecdir
764: sbindir
765: bindir
766: program_transform_name
767: prefix
768: exec_prefix
769: PACKAGE_URL
770: PACKAGE_BUGREPORT
771: PACKAGE_STRING
772: PACKAGE_VERSION
773: PACKAGE_TARNAME
774: PACKAGE_NAME
775: PATH_SEPARATOR
776: SHELL'
777: ac_subst_files=''
778: ac_user_opts='
779: enable_option_checking
780: enable_dependency_tracking
781: with_x
782: with_32bits
783: enable_optimization
784: enable_sysv_semaphores
785: enable_full_static
786: enable_final_encoding
787: enable_tex
788: enable_vim
789: enable_embedded_gnuplot
790: enable_gnuplot
791: enable_motif
792: enable_experimental
793: enable_debug
794: enable_profile
795: enable_final_run_path
796: with_mysql
797: with_postgresql
798: with_bourne_shell
799: with_openssl_arch
800: '
801: ac_precious_vars='build_alias
802: host_alias
803: target_alias
804: CC
805: CFLAGS
806: LDFLAGS
807: LIBS
808: CPPFLAGS
809: CXX
810: CXXFLAGS
811: CCC
812: F77
813: FFLAGS
814: FC
815: FCFLAGS
816: XMKMF
817: CPP'
818: ac_subdirs_all='tools/$NCURSES
819: tools/$READLINE
820: tools/$GSL
821: tools/$GPP
822: tools/$FILE
823: tools/$ICONV
824: tools/$SQLITE
825: tools/$UNITS
826: tools/$GNUPLOT'
827:
828: # Initialize some variables set by options.
829: ac_init_help=
830: ac_init_version=false
831: ac_unrecognized_opts=
832: ac_unrecognized_sep=
833: # The variables have the same names as the options, with
834: # dashes changed to underlines.
835: cache_file=/dev/null
836: exec_prefix=NONE
837: no_create=
838: no_recursion=
839: prefix=NONE
840: program_prefix=NONE
841: program_suffix=NONE
842: program_transform_name=s,x,x,
843: silent=
844: site=
845: srcdir=
846: verbose=
847: x_includes=NONE
848: x_libraries=NONE
849:
850: # Installation directory options.
851: # These are left unexpanded so users can "make install exec_prefix=/foo"
852: # and all the variables that are supposed to be based on exec_prefix
853: # by default will actually change.
854: # Use braces instead of parens because sh, perl, etc. also accept them.
855: # (The list follows the same order as the GNU Coding Standards.)
856: bindir='${exec_prefix}/bin'
857: sbindir='${exec_prefix}/sbin'
858: libexecdir='${exec_prefix}/libexec'
859: datarootdir='${prefix}/share'
860: datadir='${datarootdir}'
861: sysconfdir='${prefix}/etc'
862: sharedstatedir='${prefix}/com'
863: localstatedir='${prefix}/var'
864: includedir='${prefix}/include'
865: oldincludedir='/usr/include'
866: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867: infodir='${datarootdir}/info'
868: htmldir='${docdir}'
869: dvidir='${docdir}'
870: pdfdir='${docdir}'
871: psdir='${docdir}'
872: libdir='${exec_prefix}/lib'
873: localedir='${datarootdir}/locale'
874: mandir='${datarootdir}/man'
875:
876: ac_prev=
877: ac_dashdash=
878: for ac_option
879: do
880: # If the previous option needs an argument, assign it.
881: if test -n "$ac_prev"; then
882: eval $ac_prev=\$ac_option
883: ac_prev=
884: continue
885: fi
886:
887: case $ac_option in
888: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889: *=) ac_optarg= ;;
890: *) ac_optarg=yes ;;
891: esac
892:
893: # Accept the important Cygnus configure options, so we can diagnose typos.
894:
895: case $ac_dashdash$ac_option in
896: --)
897: ac_dashdash=yes ;;
898:
899: -bindir | --bindir | --bindi | --bind | --bin | --bi)
900: ac_prev=bindir ;;
901: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
902: bindir=$ac_optarg ;;
903:
904: -build | --build | --buil | --bui | --bu)
905: ac_prev=build_alias ;;
906: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907: build_alias=$ac_optarg ;;
908:
909: -cache-file | --cache-file | --cache-fil | --cache-fi \
910: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911: ac_prev=cache_file ;;
912: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914: cache_file=$ac_optarg ;;
915:
916: --config-cache | -C)
917: cache_file=config.cache ;;
918:
919: -datadir | --datadir | --datadi | --datad)
920: ac_prev=datadir ;;
921: -datadir=* | --datadir=* | --datadi=* | --datad=*)
922: datadir=$ac_optarg ;;
923:
924: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925: | --dataroo | --dataro | --datar)
926: ac_prev=datarootdir ;;
927: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929: datarootdir=$ac_optarg ;;
930:
931: -disable-* | --disable-*)
932: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933: # Reject names that are not valid shell variable names.
934: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935: as_fn_error $? "invalid feature name: $ac_useropt"
936: ac_useropt_orig=$ac_useropt
937: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938: case $ac_user_opts in
939: *"
940: "enable_$ac_useropt"
941: "*) ;;
942: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943: ac_unrecognized_sep=', ';;
944: esac
945: eval enable_$ac_useropt=no ;;
946:
947: -docdir | --docdir | --docdi | --doc | --do)
948: ac_prev=docdir ;;
949: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
950: docdir=$ac_optarg ;;
951:
952: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
953: ac_prev=dvidir ;;
954: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
955: dvidir=$ac_optarg ;;
956:
957: -enable-* | --enable-*)
958: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959: # Reject names that are not valid shell variable names.
960: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961: as_fn_error $? "invalid feature name: $ac_useropt"
962: ac_useropt_orig=$ac_useropt
963: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964: case $ac_user_opts in
965: *"
966: "enable_$ac_useropt"
967: "*) ;;
968: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969: ac_unrecognized_sep=', ';;
970: esac
971: eval enable_$ac_useropt=\$ac_optarg ;;
972:
973: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975: | --exec | --exe | --ex)
976: ac_prev=exec_prefix ;;
977: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979: | --exec=* | --exe=* | --ex=*)
980: exec_prefix=$ac_optarg ;;
981:
982: -gas | --gas | --ga | --g)
983: # Obsolete; use --with-gas.
984: with_gas=yes ;;
985:
986: -help | --help | --hel | --he | -h)
987: ac_init_help=long ;;
988: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989: ac_init_help=recursive ;;
990: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991: ac_init_help=short ;;
992:
993: -host | --host | --hos | --ho)
994: ac_prev=host_alias ;;
995: -host=* | --host=* | --hos=* | --ho=*)
996: host_alias=$ac_optarg ;;
997:
998: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
999: ac_prev=htmldir ;;
1000: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1001: | --ht=*)
1002: htmldir=$ac_optarg ;;
1003:
1004: -includedir | --includedir | --includedi | --included | --include \
1005: | --includ | --inclu | --incl | --inc)
1006: ac_prev=includedir ;;
1007: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008: | --includ=* | --inclu=* | --incl=* | --inc=*)
1009: includedir=$ac_optarg ;;
1010:
1011: -infodir | --infodir | --infodi | --infod | --info | --inf)
1012: ac_prev=infodir ;;
1013: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014: infodir=$ac_optarg ;;
1015:
1016: -libdir | --libdir | --libdi | --libd)
1017: ac_prev=libdir ;;
1018: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019: libdir=$ac_optarg ;;
1020:
1021: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022: | --libexe | --libex | --libe)
1023: ac_prev=libexecdir ;;
1024: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025: | --libexe=* | --libex=* | --libe=*)
1026: libexecdir=$ac_optarg ;;
1027:
1028: -localedir | --localedir | --localedi | --localed | --locale)
1029: ac_prev=localedir ;;
1030: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031: localedir=$ac_optarg ;;
1032:
1033: -localstatedir | --localstatedir | --localstatedi | --localstated \
1034: | --localstate | --localstat | --localsta | --localst | --locals)
1035: ac_prev=localstatedir ;;
1036: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038: localstatedir=$ac_optarg ;;
1039:
1040: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1041: ac_prev=mandir ;;
1042: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043: mandir=$ac_optarg ;;
1044:
1045: -nfp | --nfp | --nf)
1046: # Obsolete; use --without-fp.
1047: with_fp=no ;;
1048:
1049: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050: | --no-cr | --no-c | -n)
1051: no_create=yes ;;
1052:
1053: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1055: no_recursion=yes ;;
1056:
1057: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059: | --oldin | --oldi | --old | --ol | --o)
1060: ac_prev=oldincludedir ;;
1061: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064: oldincludedir=$ac_optarg ;;
1065:
1066: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1067: ac_prev=prefix ;;
1068: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069: prefix=$ac_optarg ;;
1070:
1071: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072: | --program-pre | --program-pr | --program-p)
1073: ac_prev=program_prefix ;;
1074: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076: program_prefix=$ac_optarg ;;
1077:
1078: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079: | --program-suf | --program-su | --program-s)
1080: ac_prev=program_suffix ;;
1081: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083: program_suffix=$ac_optarg ;;
1084:
1085: -program-transform-name | --program-transform-name \
1086: | --program-transform-nam | --program-transform-na \
1087: | --program-transform-n | --program-transform- \
1088: | --program-transform | --program-transfor \
1089: | --program-transfo | --program-transf \
1090: | --program-trans | --program-tran \
1091: | --progr-tra | --program-tr | --program-t)
1092: ac_prev=program_transform_name ;;
1093: -program-transform-name=* | --program-transform-name=* \
1094: | --program-transform-nam=* | --program-transform-na=* \
1095: | --program-transform-n=* | --program-transform-=* \
1096: | --program-transform=* | --program-transfor=* \
1097: | --program-transfo=* | --program-transf=* \
1098: | --program-trans=* | --program-tran=* \
1099: | --progr-tra=* | --program-tr=* | --program-t=*)
1100: program_transform_name=$ac_optarg ;;
1101:
1102: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1103: ac_prev=pdfdir ;;
1104: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105: pdfdir=$ac_optarg ;;
1106:
1107: -psdir | --psdir | --psdi | --psd | --ps)
1108: ac_prev=psdir ;;
1109: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1110: psdir=$ac_optarg ;;
1111:
1112: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113: | -silent | --silent | --silen | --sile | --sil)
1114: silent=yes ;;
1115:
1116: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1117: ac_prev=sbindir ;;
1118: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1119: | --sbi=* | --sb=*)
1120: sbindir=$ac_optarg ;;
1121:
1122: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124: | --sharedst | --shareds | --shared | --share | --shar \
1125: | --sha | --sh)
1126: ac_prev=sharedstatedir ;;
1127: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1130: | --sha=* | --sh=*)
1131: sharedstatedir=$ac_optarg ;;
1132:
1133: -site | --site | --sit)
1134: ac_prev=site ;;
1135: -site=* | --site=* | --sit=*)
1136: site=$ac_optarg ;;
1137:
1138: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1139: ac_prev=srcdir ;;
1140: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141: srcdir=$ac_optarg ;;
1142:
1143: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144: | --syscon | --sysco | --sysc | --sys | --sy)
1145: ac_prev=sysconfdir ;;
1146: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148: sysconfdir=$ac_optarg ;;
1149:
1150: -target | --target | --targe | --targ | --tar | --ta | --t)
1151: ac_prev=target_alias ;;
1152: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153: target_alias=$ac_optarg ;;
1154:
1155: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1156: verbose=yes ;;
1157:
1158: -version | --version | --versio | --versi | --vers | -V)
1159: ac_init_version=: ;;
1160:
1161: -with-* | --with-*)
1162: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163: # Reject names that are not valid shell variable names.
1164: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165: as_fn_error $? "invalid package name: $ac_useropt"
1166: ac_useropt_orig=$ac_useropt
1167: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168: case $ac_user_opts in
1169: *"
1170: "with_$ac_useropt"
1171: "*) ;;
1172: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173: ac_unrecognized_sep=', ';;
1174: esac
1175: eval with_$ac_useropt=\$ac_optarg ;;
1176:
1177: -without-* | --without-*)
1178: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179: # Reject names that are not valid shell variable names.
1180: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181: as_fn_error $? "invalid package name: $ac_useropt"
1182: ac_useropt_orig=$ac_useropt
1183: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184: case $ac_user_opts in
1185: *"
1186: "with_$ac_useropt"
1187: "*) ;;
1188: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189: ac_unrecognized_sep=', ';;
1190: esac
1191: eval with_$ac_useropt=no ;;
1192:
1193: --x)
1194: # Obsolete; use --with-x.
1195: with_x=yes ;;
1196:
1197: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198: | --x-incl | --x-inc | --x-in | --x-i)
1199: ac_prev=x_includes ;;
1200: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202: x_includes=$ac_optarg ;;
1203:
1204: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206: ac_prev=x_libraries ;;
1207: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209: x_libraries=$ac_optarg ;;
1210:
1211: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212: Try \`$0 --help' for more information"
1213: ;;
1214:
1215: *=*)
1216: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217: # Reject names that are not valid shell variable names.
1218: case $ac_envvar in #(
1219: '' | [0-9]* | *[!_$as_cr_alnum]* )
1220: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1221: esac
1222: eval $ac_envvar=\$ac_optarg
1223: export $ac_envvar ;;
1224:
1225: *)
1226: # FIXME: should be removed in autoconf 3.0.
1227: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1231: ;;
1232:
1233: esac
1234: done
1235:
1236: if test -n "$ac_prev"; then
1237: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238: as_fn_error $? "missing argument to $ac_option"
1239: fi
1240:
1241: if test -n "$ac_unrecognized_opts"; then
1242: case $enable_option_checking in
1243: no) ;;
1244: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246: esac
1247: fi
1248:
1249: # Check all directory arguments for consistency.
1250: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251: datadir sysconfdir sharedstatedir localstatedir includedir \
1252: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253: libdir localedir mandir
1254: do
1255: eval ac_val=\$$ac_var
1256: # Remove trailing slashes.
1257: case $ac_val in
1258: */ )
1259: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260: eval $ac_var=\$ac_val;;
1261: esac
1262: # Be sure to have absolute directory names.
1263: case $ac_val in
1264: [\\/$]* | ?:[\\/]* ) continue;;
1265: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1266: esac
1267: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1268: done
1269:
1270: # There might be people who depend on the old broken behavior: `$host'
1271: # used to hold the argument of --host etc.
1272: # FIXME: To remove some day.
1273: build=$build_alias
1274: host=$host_alias
1275: target=$target_alias
1276:
1277: # FIXME: To remove some day.
1278: if test "x$host_alias" != x; then
1279: if test "x$build_alias" = x; then
1280: cross_compiling=maybe
1281: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1282: If a cross compiler is detected then cross compile mode will be used" >&2
1283: elif test "x$build_alias" != "x$host_alias"; then
1284: cross_compiling=yes
1285: fi
1286: fi
1287:
1288: ac_tool_prefix=
1289: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290:
1291: test "$silent" = yes && exec 6>/dev/null
1292:
1293:
1294: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295: ac_ls_di=`ls -di .` &&
1296: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297: as_fn_error $? "working directory cannot be determined"
1298: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299: as_fn_error $? "pwd does not report name of working directory"
1300:
1301:
1302: # Find the source files, if location was not specified.
1303: if test -z "$srcdir"; then
1304: ac_srcdir_defaulted=yes
1305: # Try the directory containing this script, then the parent directory.
1306: ac_confdir=`$as_dirname -- "$as_myself" ||
1307: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308: X"$as_myself" : 'X\(//\)[^/]' \| \
1309: X"$as_myself" : 'X\(//\)$' \| \
1310: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311: $as_echo X"$as_myself" |
1312: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313: s//\1/
1314: q
1315: }
1316: /^X\(\/\/\)[^/].*/{
1317: s//\1/
1318: q
1319: }
1320: /^X\(\/\/\)$/{
1321: s//\1/
1322: q
1323: }
1324: /^X\(\/\).*/{
1325: s//\1/
1326: q
1327: }
1328: s/.*/./; q'`
1329: srcdir=$ac_confdir
1330: if test ! -r "$srcdir/$ac_unique_file"; then
1331: srcdir=..
1332: fi
1333: else
1334: ac_srcdir_defaulted=no
1335: fi
1336: if test ! -r "$srcdir/$ac_unique_file"; then
1337: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1339: fi
1340: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1341: ac_abs_confdir=`(
1342: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343: pwd)`
1344: # When building in place, set srcdir=.
1345: if test "$ac_abs_confdir" = "$ac_pwd"; then
1346: srcdir=.
1347: fi
1348: # Remove unnecessary trailing slashes from srcdir.
1349: # Double slashes in file names in object file debugging info
1350: # mess up M-x gdb in Emacs.
1351: case $srcdir in
1352: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353: esac
1354: for ac_var in $ac_precious_vars; do
1355: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356: eval ac_env_${ac_var}_value=\$${ac_var}
1357: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1359: done
1360:
1361: #
1362: # Report the --help message.
1363: #
1364: if test "$ac_init_help" = "long"; then
1365: # Omit some internal or obsolete options to make the list less imposing.
1366: # This message is too long to be a string in the A/UX 3.1 sh.
1367: cat <<_ACEOF
1368: \`configure' configures rpl 4.1.0 to adapt to many kinds of systems.
1369:
1370: Usage: $0 [OPTION]... [VAR=VALUE]...
1371:
1372: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373: VAR=VALUE. See below for descriptions of some of the useful variables.
1374:
1375: Defaults for the options are specified in brackets.
1376:
1377: Configuration:
1378: -h, --help display this help and exit
1379: --help=short display options specific to this package
1380: --help=recursive display the short help of all the included packages
1381: -V, --version display version information and exit
1382: -q, --quiet, --silent do not print \`checking ...' messages
1383: --cache-file=FILE cache test results in FILE [disabled]
1384: -C, --config-cache alias for \`--cache-file=config.cache'
1385: -n, --no-create do not create output files
1386: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1387:
1388: Installation directories:
1389: --prefix=PREFIX install architecture-independent files in PREFIX
1390: [$ac_default_prefix]
1391: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392: [PREFIX]
1393:
1394: By default, \`make install' will install all the files in
1395: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397: for instance \`--prefix=\$HOME'.
1398:
1399: For better control, use the options below.
1400:
1401: Fine tuning of the installation directories:
1402: --bindir=DIR user executables [EPREFIX/bin]
1403: --sbindir=DIR system admin executables [EPREFIX/sbin]
1404: --libexecdir=DIR program executables [EPREFIX/libexec]
1405: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408: --libdir=DIR object code libraries [EPREFIX/lib]
1409: --includedir=DIR C header files [PREFIX/include]
1410: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413: --infodir=DIR info documentation [DATAROOTDIR/info]
1414: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415: --mandir=DIR man documentation [DATAROOTDIR/man]
1416: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1417: --htmldir=DIR html documentation [DOCDIR]
1418: --dvidir=DIR dvi documentation [DOCDIR]
1419: --pdfdir=DIR pdf documentation [DOCDIR]
1420: --psdir=DIR ps documentation [DOCDIR]
1421: _ACEOF
1422:
1423: cat <<\_ACEOF
1424:
1425: Program names:
1426: --program-prefix=PREFIX prepend PREFIX to installed program names
1427: --program-suffix=SUFFIX append SUFFIX to installed program names
1428: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1429:
1430: X features:
1431: --x-includes=DIR X include files are in DIR
1432: --x-libraries=DIR X library files are in DIR
1433:
1434: System types:
1435: --build=BUILD configure for building on BUILD [guessed]
1436: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1437: --target=TARGET configure for building compilers for TARGET [HOST]
1438: _ACEOF
1439: fi
1440:
1441: if test -n "$ac_init_help"; then
1442: case $ac_init_help in
1443: short | recursive ) echo "Configuration of rpl 4.1.0:";;
1444: esac
1445: cat <<\_ACEOF
1446:
1447: Optional Features:
1448: --disable-option-checking ignore unrecognized --enable/--with options
1449: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451: --disable-dependency-tracking speeds up one-time build
1452: --enable-dependency-tracking do not reject slow dependency extractors
1453: --enable-optimization set compiler flags [default=environment variables -O3]
1454: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1455: --enable-full-static build static RPL/2 engine [default=shared]
1456: --enable-final-encoding force final encoding [default=guessed]
1457: --enable-tex provide the TeX support [default=guessed]
1458: --enable-vim provide the vim support [default=guessed]
1459: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1460: --enable-gnuplot provide the GnuPlot support [default=guessed]
1461: --enable-motif provide the Motif support [default=guessed]
1462: --enable-experimental enable experimental code [default=no]
1463: --enable-debug enable debug code [default=no]
1464: --enable-profile enable profile code [default=no]
1465: --enable-final-run-path=PATH enable another final run path than PREFIX
1466:
1467: Optional Packages:
1468: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1469: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1470: --with-x use the X Window System
1471: --with-32bits-abi force 32bits ABI (multilib)
1472: --with-mysql=PATH specify directory for installed mysql
1473: --with-postgresql=PATH specify directory for installed postgresql
1474: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1475: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1476:
1477: Some influential environment variables:
1478: CC C compiler command
1479: CFLAGS C compiler flags
1480: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1481: nonstandard directory <lib dir>
1482: LIBS libraries to pass to the linker, e.g. -l<library>
1483: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484: you have headers in a nonstandard directory <include dir>
1485: CXX C++ compiler command
1486: CXXFLAGS C++ compiler flags
1487: F77 Fortran 77 compiler command
1488: FFLAGS Fortran 77 compiler flags
1489: FC Fortran compiler command
1490: FCFLAGS Fortran compiler flags
1491: XMKMF Path to xmkmf, Makefile generator for X Window System
1492: CPP C preprocessor
1493:
1494: Use these variables to override the choices made by `configure' or to help
1495: it to find libraries and programs with nonstandard names/locations.
1496:
1497: Report bugs to the package provider.
1498: _ACEOF
1499: ac_status=$?
1500: fi
1501:
1502: if test "$ac_init_help" = "recursive"; then
1503: # If there are subdirs, report their specific --help.
1504: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1505: test -d "$ac_dir" ||
1506: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507: continue
1508: ac_builddir=.
1509:
1510: case "$ac_dir" in
1511: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512: *)
1513: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1514: # A ".." for each directory in $ac_dir_suffix.
1515: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1516: case $ac_top_builddir_sub in
1517: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519: esac ;;
1520: esac
1521: ac_abs_top_builddir=$ac_pwd
1522: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523: # for backward compatibility:
1524: ac_top_builddir=$ac_top_build_prefix
1525:
1526: case $srcdir in
1527: .) # We are building in place.
1528: ac_srcdir=.
1529: ac_top_srcdir=$ac_top_builddir_sub
1530: ac_abs_top_srcdir=$ac_pwd ;;
1531: [\\/]* | ?:[\\/]* ) # Absolute name.
1532: ac_srcdir=$srcdir$ac_dir_suffix;
1533: ac_top_srcdir=$srcdir
1534: ac_abs_top_srcdir=$srcdir ;;
1535: *) # Relative name.
1536: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537: ac_top_srcdir=$ac_top_build_prefix$srcdir
1538: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1539: esac
1540: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1541:
1542: cd "$ac_dir" || { ac_status=$?; continue; }
1543: # Check for guested configure.
1544: if test -f "$ac_srcdir/configure.gnu"; then
1545: echo &&
1546: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547: elif test -f "$ac_srcdir/configure"; then
1548: echo &&
1549: $SHELL "$ac_srcdir/configure" --help=recursive
1550: else
1551: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552: fi || ac_status=$?
1553: cd "$ac_pwd" || { ac_status=$?; break; }
1554: done
1555: fi
1556:
1557: test -n "$ac_init_help" && exit $ac_status
1558: if $ac_init_version; then
1559: cat <<\_ACEOF
1560: rpl configure 4.1.0
1561: generated by GNU Autoconf 2.68
1562:
1563: Copyright (C) 2010 Free Software Foundation, Inc.
1564: This configure script is free software; the Free Software Foundation
1565: gives unlimited permission to copy, distribute and modify it.
1566: _ACEOF
1567: exit
1568: fi
1569:
1570: ## ------------------------ ##
1571: ## Autoconf initialization. ##
1572: ## ------------------------ ##
1573:
1574: # ac_fn_c_try_compile LINENO
1575: # --------------------------
1576: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577: ac_fn_c_try_compile ()
1578: {
1579: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580: rm -f conftest.$ac_objext
1581: if { { ac_try="$ac_compile"
1582: case "(($ac_try" in
1583: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584: *) ac_try_echo=$ac_try;;
1585: esac
1586: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587: $as_echo "$ac_try_echo"; } >&5
1588: (eval "$ac_compile") 2>conftest.err
1589: ac_status=$?
1590: if test -s conftest.err; then
1591: grep -v '^ *+' conftest.err >conftest.er1
1592: cat conftest.er1 >&5
1593: mv -f conftest.er1 conftest.err
1594: fi
1595: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596: test $ac_status = 0; } && {
1597: test -z "$ac_c_werror_flag" ||
1598: test ! -s conftest.err
1599: } && test -s conftest.$ac_objext; then :
1600: ac_retval=0
1601: else
1602: $as_echo "$as_me: failed program was:" >&5
1603: sed 's/^/| /' conftest.$ac_ext >&5
1604:
1605: ac_retval=1
1606: fi
1607: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608: as_fn_set_status $ac_retval
1609:
1610: } # ac_fn_c_try_compile
1611:
1612: # ac_fn_cxx_try_compile LINENO
1613: # ----------------------------
1614: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1615: ac_fn_cxx_try_compile ()
1616: {
1617: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618: rm -f conftest.$ac_objext
1619: if { { ac_try="$ac_compile"
1620: case "(($ac_try" in
1621: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622: *) ac_try_echo=$ac_try;;
1623: esac
1624: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625: $as_echo "$ac_try_echo"; } >&5
1626: (eval "$ac_compile") 2>conftest.err
1627: ac_status=$?
1628: if test -s conftest.err; then
1629: grep -v '^ *+' conftest.err >conftest.er1
1630: cat conftest.er1 >&5
1631: mv -f conftest.er1 conftest.err
1632: fi
1633: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634: test $ac_status = 0; } && {
1635: test -z "$ac_cxx_werror_flag" ||
1636: test ! -s conftest.err
1637: } && test -s conftest.$ac_objext; then :
1638: ac_retval=0
1639: else
1640: $as_echo "$as_me: failed program was:" >&5
1641: sed 's/^/| /' conftest.$ac_ext >&5
1642:
1643: ac_retval=1
1644: fi
1645: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646: as_fn_set_status $ac_retval
1647:
1648: } # ac_fn_cxx_try_compile
1649:
1650: # ac_fn_f77_try_compile LINENO
1651: # ----------------------------
1652: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653: ac_fn_f77_try_compile ()
1654: {
1655: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656: rm -f conftest.$ac_objext
1657: if { { ac_try="$ac_compile"
1658: case "(($ac_try" in
1659: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660: *) ac_try_echo=$ac_try;;
1661: esac
1662: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663: $as_echo "$ac_try_echo"; } >&5
1664: (eval "$ac_compile") 2>conftest.err
1665: ac_status=$?
1666: if test -s conftest.err; then
1667: grep -v '^ *+' conftest.err >conftest.er1
1668: cat conftest.er1 >&5
1669: mv -f conftest.er1 conftest.err
1670: fi
1671: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672: test $ac_status = 0; } && {
1673: test -z "$ac_f77_werror_flag" ||
1674: test ! -s conftest.err
1675: } && test -s conftest.$ac_objext; then :
1676: ac_retval=0
1677: else
1678: $as_echo "$as_me: failed program was:" >&5
1679: sed 's/^/| /' conftest.$ac_ext >&5
1680:
1681: ac_retval=1
1682: fi
1683: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684: as_fn_set_status $ac_retval
1685:
1686: } # ac_fn_f77_try_compile
1687:
1688: # ac_fn_fc_try_compile LINENO
1689: # ---------------------------
1690: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691: ac_fn_fc_try_compile ()
1692: {
1693: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694: rm -f conftest.$ac_objext
1695: if { { ac_try="$ac_compile"
1696: case "(($ac_try" in
1697: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698: *) ac_try_echo=$ac_try;;
1699: esac
1700: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701: $as_echo "$ac_try_echo"; } >&5
1702: (eval "$ac_compile") 2>conftest.err
1703: ac_status=$?
1704: if test -s conftest.err; then
1705: grep -v '^ *+' conftest.err >conftest.er1
1706: cat conftest.er1 >&5
1707: mv -f conftest.er1 conftest.err
1708: fi
1709: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710: test $ac_status = 0; } && {
1711: test -z "$ac_fc_werror_flag" ||
1712: test ! -s conftest.err
1713: } && test -s conftest.$ac_objext; then :
1714: ac_retval=0
1715: else
1716: $as_echo "$as_me: failed program was:" >&5
1717: sed 's/^/| /' conftest.$ac_ext >&5
1718:
1719: ac_retval=1
1720: fi
1721: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722: as_fn_set_status $ac_retval
1723:
1724: } # ac_fn_fc_try_compile
1725:
1726: # ac_fn_c_try_cpp LINENO
1727: # ----------------------
1728: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1729: ac_fn_c_try_cpp ()
1730: {
1731: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732: if { { ac_try="$ac_cpp conftest.$ac_ext"
1733: case "(($ac_try" in
1734: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735: *) ac_try_echo=$ac_try;;
1736: esac
1737: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738: $as_echo "$ac_try_echo"; } >&5
1739: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1740: ac_status=$?
1741: if test -s conftest.err; then
1742: grep -v '^ *+' conftest.err >conftest.er1
1743: cat conftest.er1 >&5
1744: mv -f conftest.er1 conftest.err
1745: fi
1746: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747: test $ac_status = 0; } > conftest.i && {
1748: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749: test ! -s conftest.err
1750: }; then :
1751: ac_retval=0
1752: else
1753: $as_echo "$as_me: failed program was:" >&5
1754: sed 's/^/| /' conftest.$ac_ext >&5
1755:
1756: ac_retval=1
1757: fi
1758: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759: as_fn_set_status $ac_retval
1760:
1761: } # ac_fn_c_try_cpp
1762:
1763: # ac_fn_c_try_link LINENO
1764: # -----------------------
1765: # Try to link conftest.$ac_ext, and return whether this succeeded.
1766: ac_fn_c_try_link ()
1767: {
1768: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769: rm -f conftest.$ac_objext conftest$ac_exeext
1770: if { { ac_try="$ac_link"
1771: case "(($ac_try" in
1772: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773: *) ac_try_echo=$ac_try;;
1774: esac
1775: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776: $as_echo "$ac_try_echo"; } >&5
1777: (eval "$ac_link") 2>conftest.err
1778: ac_status=$?
1779: if test -s conftest.err; then
1780: grep -v '^ *+' conftest.err >conftest.er1
1781: cat conftest.er1 >&5
1782: mv -f conftest.er1 conftest.err
1783: fi
1784: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785: test $ac_status = 0; } && {
1786: test -z "$ac_c_werror_flag" ||
1787: test ! -s conftest.err
1788: } && test -s conftest$ac_exeext && {
1789: test "$cross_compiling" = yes ||
1790: $as_test_x conftest$ac_exeext
1791: }; then :
1792: ac_retval=0
1793: else
1794: $as_echo "$as_me: failed program was:" >&5
1795: sed 's/^/| /' conftest.$ac_ext >&5
1796:
1797: ac_retval=1
1798: fi
1799: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801: # interfere with the next link command; also delete a directory that is
1802: # left behind by Apple's compiler. We do this before executing the actions.
1803: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805: as_fn_set_status $ac_retval
1806:
1807: } # ac_fn_c_try_link
1808:
1809: # ac_fn_c_check_func LINENO FUNC VAR
1810: # ----------------------------------
1811: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812: ac_fn_c_check_func ()
1813: {
1814: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816: $as_echo_n "checking for $2... " >&6; }
1817: if eval \${$3+:} false; then :
1818: $as_echo_n "(cached) " >&6
1819: else
1820: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821: /* end confdefs.h. */
1822: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1824: #define $2 innocuous_$2
1825:
1826: /* System header to define __stub macros and hopefully few prototypes,
1827: which can conflict with char $2 (); below.
1828: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829: <limits.h> exists even on freestanding compilers. */
1830:
1831: #ifdef __STDC__
1832: # include <limits.h>
1833: #else
1834: # include <assert.h>
1835: #endif
1836:
1837: #undef $2
1838:
1839: /* Override any GCC internal prototype to avoid an error.
1840: Use char because int might match the return type of a GCC
1841: builtin and then its argument prototype would still apply. */
1842: #ifdef __cplusplus
1843: extern "C"
1844: #endif
1845: char $2 ();
1846: /* The GNU C library defines this for functions which it implements
1847: to always fail with ENOSYS. Some functions are actually named
1848: something starting with __ and the normal name is an alias. */
1849: #if defined __stub_$2 || defined __stub___$2
1850: choke me
1851: #endif
1852:
1853: int
1854: main ()
1855: {
1856: return $2 ();
1857: ;
1858: return 0;
1859: }
1860: _ACEOF
1861: if ac_fn_c_try_link "$LINENO"; then :
1862: eval "$3=yes"
1863: else
1864: eval "$3=no"
1865: fi
1866: rm -f core conftest.err conftest.$ac_objext \
1867: conftest$ac_exeext conftest.$ac_ext
1868: fi
1869: eval ac_res=\$$3
1870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871: $as_echo "$ac_res" >&6; }
1872: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873:
1874: } # ac_fn_c_check_func
1875:
1876: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877: # -------------------------------------------
1878: # Tests whether TYPE exists after having included INCLUDES, setting cache
1879: # variable VAR accordingly.
1880: ac_fn_c_check_type ()
1881: {
1882: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884: $as_echo_n "checking for $2... " >&6; }
1885: if eval \${$3+:} false; then :
1886: $as_echo_n "(cached) " >&6
1887: else
1888: eval "$3=no"
1889: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890: /* end confdefs.h. */
1891: $4
1892: int
1893: main ()
1894: {
1895: if (sizeof ($2))
1896: return 0;
1897: ;
1898: return 0;
1899: }
1900: _ACEOF
1901: if ac_fn_c_try_compile "$LINENO"; then :
1902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903: /* end confdefs.h. */
1904: $4
1905: int
1906: main ()
1907: {
1908: if (sizeof (($2)))
1909: return 0;
1910: ;
1911: return 0;
1912: }
1913: _ACEOF
1914: if ac_fn_c_try_compile "$LINENO"; then :
1915:
1916: else
1917: eval "$3=yes"
1918: fi
1919: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920: fi
1921: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922: fi
1923: eval ac_res=\$$3
1924: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925: $as_echo "$ac_res" >&6; }
1926: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927:
1928: } # ac_fn_c_check_type
1929:
1930: # ac_fn_c_try_run LINENO
1931: # ----------------------
1932: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1933: # that executables *can* be run.
1934: ac_fn_c_try_run ()
1935: {
1936: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937: if { { ac_try="$ac_link"
1938: case "(($ac_try" in
1939: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1940: *) ac_try_echo=$ac_try;;
1941: esac
1942: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943: $as_echo "$ac_try_echo"; } >&5
1944: (eval "$ac_link") 2>&5
1945: ac_status=$?
1946: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1948: { { case "(($ac_try" in
1949: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1950: *) ac_try_echo=$ac_try;;
1951: esac
1952: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1953: $as_echo "$ac_try_echo"; } >&5
1954: (eval "$ac_try") 2>&5
1955: ac_status=$?
1956: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957: test $ac_status = 0; }; }; then :
1958: ac_retval=0
1959: else
1960: $as_echo "$as_me: program exited with status $ac_status" >&5
1961: $as_echo "$as_me: failed program was:" >&5
1962: sed 's/^/| /' conftest.$ac_ext >&5
1963:
1964: ac_retval=$ac_status
1965: fi
1966: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968: as_fn_set_status $ac_retval
1969:
1970: } # ac_fn_c_try_run
1971:
1972: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1973: # --------------------------------------------
1974: # Tries to find the compile-time value of EXPR in a program that includes
1975: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1976: # computed
1977: ac_fn_c_compute_int ()
1978: {
1979: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980: if test "$cross_compiling" = yes; then
1981: # Depending upon the size, compute the lo and hi bounds.
1982: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983: /* end confdefs.h. */
1984: $4
1985: int
1986: main ()
1987: {
1988: static int test_array [1 - 2 * !(($2) >= 0)];
1989: test_array [0] = 0
1990:
1991: ;
1992: return 0;
1993: }
1994: _ACEOF
1995: if ac_fn_c_try_compile "$LINENO"; then :
1996: ac_lo=0 ac_mid=0
1997: while :; do
1998: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999: /* end confdefs.h. */
2000: $4
2001: int
2002: main ()
2003: {
2004: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2005: test_array [0] = 0
2006:
2007: ;
2008: return 0;
2009: }
2010: _ACEOF
2011: if ac_fn_c_try_compile "$LINENO"; then :
2012: ac_hi=$ac_mid; break
2013: else
2014: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2015: if test $ac_lo -le $ac_mid; then
2016: ac_lo= ac_hi=
2017: break
2018: fi
2019: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2020: fi
2021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022: done
2023: else
2024: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025: /* end confdefs.h. */
2026: $4
2027: int
2028: main ()
2029: {
2030: static int test_array [1 - 2 * !(($2) < 0)];
2031: test_array [0] = 0
2032:
2033: ;
2034: return 0;
2035: }
2036: _ACEOF
2037: if ac_fn_c_try_compile "$LINENO"; then :
2038: ac_hi=-1 ac_mid=-1
2039: while :; do
2040: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041: /* end confdefs.h. */
2042: $4
2043: int
2044: main ()
2045: {
2046: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2047: test_array [0] = 0
2048:
2049: ;
2050: return 0;
2051: }
2052: _ACEOF
2053: if ac_fn_c_try_compile "$LINENO"; then :
2054: ac_lo=$ac_mid; break
2055: else
2056: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2057: if test $ac_mid -le $ac_hi; then
2058: ac_lo= ac_hi=
2059: break
2060: fi
2061: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2062: fi
2063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064: done
2065: else
2066: ac_lo= ac_hi=
2067: fi
2068: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069: fi
2070: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071: # Binary search between lo and hi bounds.
2072: while test "x$ac_lo" != "x$ac_hi"; do
2073: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2074: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075: /* end confdefs.h. */
2076: $4
2077: int
2078: main ()
2079: {
2080: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2081: test_array [0] = 0
2082:
2083: ;
2084: return 0;
2085: }
2086: _ACEOF
2087: if ac_fn_c_try_compile "$LINENO"; then :
2088: ac_hi=$ac_mid
2089: else
2090: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2091: fi
2092: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093: done
2094: case $ac_lo in #((
2095: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2096: '') ac_retval=1 ;;
2097: esac
2098: else
2099: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100: /* end confdefs.h. */
2101: $4
2102: static long int longval () { return $2; }
2103: static unsigned long int ulongval () { return $2; }
2104: #include <stdio.h>
2105: #include <stdlib.h>
2106: int
2107: main ()
2108: {
2109:
2110: FILE *f = fopen ("conftest.val", "w");
2111: if (! f)
2112: return 1;
2113: if (($2) < 0)
2114: {
2115: long int i = longval ();
2116: if (i != ($2))
2117: return 1;
2118: fprintf (f, "%ld", i);
2119: }
2120: else
2121: {
2122: unsigned long int i = ulongval ();
2123: if (i != ($2))
2124: return 1;
2125: fprintf (f, "%lu", i);
2126: }
2127: /* Do not output a trailing newline, as this causes \r\n confusion
2128: on some platforms. */
2129: return ferror (f) || fclose (f) != 0;
2130:
2131: ;
2132: return 0;
2133: }
2134: _ACEOF
2135: if ac_fn_c_try_run "$LINENO"; then :
2136: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2137: else
2138: ac_retval=1
2139: fi
2140: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2141: conftest.$ac_objext conftest.beam conftest.$ac_ext
2142: rm -f conftest.val
2143:
2144: fi
2145: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2146: as_fn_set_status $ac_retval
2147:
2148: } # ac_fn_c_compute_int
2149:
2150: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2151: # -------------------------------------------------------
2152: # Tests whether HEADER exists and can be compiled using the include files in
2153: # INCLUDES, setting the cache variable VAR accordingly.
2154: ac_fn_c_check_header_compile ()
2155: {
2156: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158: $as_echo_n "checking for $2... " >&6; }
2159: if eval \${$3+:} false; then :
2160: $as_echo_n "(cached) " >&6
2161: else
2162: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163: /* end confdefs.h. */
2164: $4
2165: #include <$2>
2166: _ACEOF
2167: if ac_fn_c_try_compile "$LINENO"; then :
2168: eval "$3=yes"
2169: else
2170: eval "$3=no"
2171: fi
2172: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173: fi
2174: eval ac_res=\$$3
2175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176: $as_echo "$ac_res" >&6; }
2177: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178:
2179: } # ac_fn_c_check_header_compile
2180:
2181: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2182: # -------------------------------------------------------
2183: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2184: # the include files in INCLUDES and setting the cache variable VAR
2185: # accordingly.
2186: ac_fn_c_check_header_mongrel ()
2187: {
2188: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189: if eval \${$3+:} false; then :
2190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191: $as_echo_n "checking for $2... " >&6; }
2192: if eval \${$3+:} false; then :
2193: $as_echo_n "(cached) " >&6
2194: fi
2195: eval ac_res=\$$3
2196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197: $as_echo "$ac_res" >&6; }
2198: else
2199: # Is the header compilable?
2200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2201: $as_echo_n "checking $2 usability... " >&6; }
2202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203: /* end confdefs.h. */
2204: $4
2205: #include <$2>
2206: _ACEOF
2207: if ac_fn_c_try_compile "$LINENO"; then :
2208: ac_header_compiler=yes
2209: else
2210: ac_header_compiler=no
2211: fi
2212: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2214: $as_echo "$ac_header_compiler" >&6; }
2215:
2216: # Is the header present?
2217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2218: $as_echo_n "checking $2 presence... " >&6; }
2219: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220: /* end confdefs.h. */
2221: #include <$2>
2222: _ACEOF
2223: if ac_fn_c_try_cpp "$LINENO"; then :
2224: ac_header_preproc=yes
2225: else
2226: ac_header_preproc=no
2227: fi
2228: rm -f conftest.err conftest.i conftest.$ac_ext
2229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2230: $as_echo "$ac_header_preproc" >&6; }
2231:
2232: # So? What about this header?
2233: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2234: yes:no: )
2235: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2236: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2237: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2238: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2239: ;;
2240: no:yes:* )
2241: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2242: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2243: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2244: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2245: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2246: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2247: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2248: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2249: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2250: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2251: ;;
2252: esac
2253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254: $as_echo_n "checking for $2... " >&6; }
2255: if eval \${$3+:} false; then :
2256: $as_echo_n "(cached) " >&6
2257: else
2258: eval "$3=\$ac_header_compiler"
2259: fi
2260: eval ac_res=\$$3
2261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262: $as_echo "$ac_res" >&6; }
2263: fi
2264: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2265:
2266: } # ac_fn_c_check_header_mongrel
2267: cat >config.log <<_ACEOF
2268: This file contains any messages produced by compilers while
2269: running configure, to aid debugging if configure makes a mistake.
2270:
2271: It was created by rpl $as_me 4.1.0, which was
2272: generated by GNU Autoconf 2.68. Invocation command line was
2273:
2274: $ $0 $@
2275:
2276: _ACEOF
2277: exec 5>>config.log
2278: {
2279: cat <<_ASUNAME
2280: ## --------- ##
2281: ## Platform. ##
2282: ## --------- ##
2283:
2284: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2289:
2290: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2292:
2293: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2300:
2301: _ASUNAME
2302:
2303: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304: for as_dir in $PATH
2305: do
2306: IFS=$as_save_IFS
2307: test -z "$as_dir" && as_dir=.
2308: $as_echo "PATH: $as_dir"
2309: done
2310: IFS=$as_save_IFS
2311:
2312: } >&5
2313:
2314: cat >&5 <<_ACEOF
2315:
2316:
2317: ## ----------- ##
2318: ## Core tests. ##
2319: ## ----------- ##
2320:
2321: _ACEOF
2322:
2323:
2324: # Keep a trace of the command line.
2325: # Strip out --no-create and --no-recursion so they do not pile up.
2326: # Strip out --silent because we don't want to record it for future runs.
2327: # Also quote any args containing shell meta-characters.
2328: # Make two passes to allow for proper duplicate-argument suppression.
2329: ac_configure_args=
2330: ac_configure_args0=
2331: ac_configure_args1=
2332: ac_must_keep_next=false
2333: for ac_pass in 1 2
2334: do
2335: for ac_arg
2336: do
2337: case $ac_arg in
2338: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2339: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2340: | -silent | --silent | --silen | --sile | --sil)
2341: continue ;;
2342: *\'*)
2343: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2344: esac
2345: case $ac_pass in
2346: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2347: 2)
2348: as_fn_append ac_configure_args1 " '$ac_arg'"
2349: if test $ac_must_keep_next = true; then
2350: ac_must_keep_next=false # Got value, back to normal.
2351: else
2352: case $ac_arg in
2353: *=* | --config-cache | -C | -disable-* | --disable-* \
2354: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2355: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2356: | -with-* | --with-* | -without-* | --without-* | --x)
2357: case "$ac_configure_args0 " in
2358: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2359: esac
2360: ;;
2361: -* ) ac_must_keep_next=true ;;
2362: esac
2363: fi
2364: as_fn_append ac_configure_args " '$ac_arg'"
2365: ;;
2366: esac
2367: done
2368: done
2369: { ac_configure_args0=; unset ac_configure_args0;}
2370: { ac_configure_args1=; unset ac_configure_args1;}
2371:
2372: # When interrupted or exit'd, cleanup temporary files, and complete
2373: # config.log. We remove comments because anyway the quotes in there
2374: # would cause problems or look ugly.
2375: # WARNING: Use '\'' to represent an apostrophe within the trap.
2376: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377: trap 'exit_status=$?
2378: # Save into config.log some information that might help in debugging.
2379: {
2380: echo
2381:
2382: $as_echo "## ---------------- ##
2383: ## Cache variables. ##
2384: ## ---------------- ##"
2385: echo
2386: # The following way of writing the cache mishandles newlines in values,
2387: (
2388: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2389: eval ac_val=\$$ac_var
2390: case $ac_val in #(
2391: *${as_nl}*)
2392: case $ac_var in #(
2393: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2394: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2395: esac
2396: case $ac_var in #(
2397: _ | IFS | as_nl) ;; #(
2398: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2399: *) { eval $ac_var=; unset $ac_var;} ;;
2400: esac ;;
2401: esac
2402: done
2403: (set) 2>&1 |
2404: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2405: *${as_nl}ac_space=\ *)
2406: sed -n \
2407: "s/'\''/'\''\\\\'\'''\''/g;
2408: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2409: ;; #(
2410: *)
2411: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2412: ;;
2413: esac |
2414: sort
2415: )
2416: echo
2417:
2418: $as_echo "## ----------------- ##
2419: ## Output variables. ##
2420: ## ----------------- ##"
2421: echo
2422: for ac_var in $ac_subst_vars
2423: do
2424: eval ac_val=\$$ac_var
2425: case $ac_val in
2426: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2427: esac
2428: $as_echo "$ac_var='\''$ac_val'\''"
2429: done | sort
2430: echo
2431:
2432: if test -n "$ac_subst_files"; then
2433: $as_echo "## ------------------- ##
2434: ## File substitutions. ##
2435: ## ------------------- ##"
2436: echo
2437: for ac_var in $ac_subst_files
2438: do
2439: eval ac_val=\$$ac_var
2440: case $ac_val in
2441: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442: esac
2443: $as_echo "$ac_var='\''$ac_val'\''"
2444: done | sort
2445: echo
2446: fi
2447:
2448: if test -s confdefs.h; then
2449: $as_echo "## ----------- ##
2450: ## confdefs.h. ##
2451: ## ----------- ##"
2452: echo
2453: cat confdefs.h
2454: echo
2455: fi
2456: test "$ac_signal" != 0 &&
2457: $as_echo "$as_me: caught signal $ac_signal"
2458: $as_echo "$as_me: exit $exit_status"
2459: } >&5
2460: rm -f core *.core core.conftest.* &&
2461: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2462: exit $exit_status
2463: ' 0
2464: for ac_signal in 1 2 13 15; do
2465: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2466: done
2467: ac_signal=0
2468:
2469: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2470: rm -f -r conftest* confdefs.h
2471:
2472: $as_echo "/* confdefs.h */" > confdefs.h
2473:
2474: # Predefined preprocessor variables.
2475:
2476: cat >>confdefs.h <<_ACEOF
2477: #define PACKAGE_NAME "$PACKAGE_NAME"
2478: _ACEOF
2479:
2480: cat >>confdefs.h <<_ACEOF
2481: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2482: _ACEOF
2483:
2484: cat >>confdefs.h <<_ACEOF
2485: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2486: _ACEOF
2487:
2488: cat >>confdefs.h <<_ACEOF
2489: #define PACKAGE_STRING "$PACKAGE_STRING"
2490: _ACEOF
2491:
2492: cat >>confdefs.h <<_ACEOF
2493: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2494: _ACEOF
2495:
2496: cat >>confdefs.h <<_ACEOF
2497: #define PACKAGE_URL "$PACKAGE_URL"
2498: _ACEOF
2499:
2500:
2501: # Let the site file select an alternate cache file if it wants to.
2502: # Prefer an explicitly selected file to automatically selected ones.
2503: ac_site_file1=NONE
2504: ac_site_file2=NONE
2505: if test -n "$CONFIG_SITE"; then
2506: # We do not want a PATH search for config.site.
2507: case $CONFIG_SITE in #((
2508: -*) ac_site_file1=./$CONFIG_SITE;;
2509: */*) ac_site_file1=$CONFIG_SITE;;
2510: *) ac_site_file1=./$CONFIG_SITE;;
2511: esac
2512: elif test "x$prefix" != xNONE; then
2513: ac_site_file1=$prefix/share/config.site
2514: ac_site_file2=$prefix/etc/config.site
2515: else
2516: ac_site_file1=$ac_default_prefix/share/config.site
2517: ac_site_file2=$ac_default_prefix/etc/config.site
2518: fi
2519: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2520: do
2521: test "x$ac_site_file" = xNONE && continue
2522: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2523: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2524: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2525: sed 's/^/| /' "$ac_site_file" >&5
2526: . "$ac_site_file" \
2527: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529: as_fn_error $? "failed to load site script $ac_site_file
2530: See \`config.log' for more details" "$LINENO" 5; }
2531: fi
2532: done
2533:
2534: if test -r "$cache_file"; then
2535: # Some versions of bash will fail to source /dev/null (special files
2536: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2537: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2538: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2539: $as_echo "$as_me: loading cache $cache_file" >&6;}
2540: case $cache_file in
2541: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2542: *) . "./$cache_file";;
2543: esac
2544: fi
2545: else
2546: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2547: $as_echo "$as_me: creating cache $cache_file" >&6;}
2548: >$cache_file
2549: fi
2550:
2551: # Check that the precious variables saved in the cache have kept the same
2552: # value.
2553: ac_cache_corrupted=false
2554: for ac_var in $ac_precious_vars; do
2555: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2556: eval ac_new_set=\$ac_env_${ac_var}_set
2557: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2558: eval ac_new_val=\$ac_env_${ac_var}_value
2559: case $ac_old_set,$ac_new_set in
2560: set,)
2561: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2562: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2563: ac_cache_corrupted=: ;;
2564: ,set)
2565: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2566: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2567: ac_cache_corrupted=: ;;
2568: ,);;
2569: *)
2570: if test "x$ac_old_val" != "x$ac_new_val"; then
2571: # differences in whitespace do not lead to failure.
2572: ac_old_val_w=`echo x $ac_old_val`
2573: ac_new_val_w=`echo x $ac_new_val`
2574: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2575: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2576: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2577: ac_cache_corrupted=:
2578: else
2579: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2580: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2581: eval $ac_var=\$ac_old_val
2582: fi
2583: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2584: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2585: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2586: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2587: fi;;
2588: esac
2589: # Pass precious variables to config.status.
2590: if test "$ac_new_set" = set; then
2591: case $ac_new_val in
2592: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2593: *) ac_arg=$ac_var=$ac_new_val ;;
2594: esac
2595: case " $ac_configure_args " in
2596: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2597: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2598: esac
2599: fi
2600: done
2601: if $ac_cache_corrupted; then
2602: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2603: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2605: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2606: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2607: fi
2608: ## -------------------- ##
2609: ## Main body of script. ##
2610: ## -------------------- ##
2611:
2612: ac_ext=c
2613: ac_cpp='$CPP $CPPFLAGS'
2614: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617:
2618:
2619: ac_aux_dir=
2620: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2621: if test -f "$ac_dir/install-sh"; then
2622: ac_aux_dir=$ac_dir
2623: ac_install_sh="$ac_aux_dir/install-sh -c"
2624: break
2625: elif test -f "$ac_dir/install.sh"; then
2626: ac_aux_dir=$ac_dir
2627: ac_install_sh="$ac_aux_dir/install.sh -c"
2628: break
2629: elif test -f "$ac_dir/shtool"; then
2630: ac_aux_dir=$ac_dir
2631: ac_install_sh="$ac_aux_dir/shtool install -c"
2632: break
2633: fi
2634: done
2635: if test -z "$ac_aux_dir"; then
2636: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2637: fi
2638:
2639: # These three variables are undocumented and unsupported,
2640: # and are intended to be withdrawn in a future Autoconf release.
2641: # They can cause serious problems if a builder's source tree is in a directory
2642: # whose full name contains unusual characters.
2643: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2644: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2645: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2646:
2647:
2648: # Make sure we can run config.sub.
2649: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2650: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2651:
2652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2653: $as_echo_n "checking build system type... " >&6; }
2654: if ${ac_cv_build+:} false; then :
2655: $as_echo_n "(cached) " >&6
2656: else
2657: ac_build_alias=$build_alias
2658: test "x$ac_build_alias" = x &&
2659: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2660: test "x$ac_build_alias" = x &&
2661: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2662: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2663: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2664:
2665: fi
2666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2667: $as_echo "$ac_cv_build" >&6; }
2668: case $ac_cv_build in
2669: *-*-*) ;;
2670: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2671: esac
2672: build=$ac_cv_build
2673: ac_save_IFS=$IFS; IFS='-'
2674: set x $ac_cv_build
2675: shift
2676: build_cpu=$1
2677: build_vendor=$2
2678: shift; shift
2679: # Remember, the first character of IFS is used to create $*,
2680: # except with old shells:
2681: build_os=$*
2682: IFS=$ac_save_IFS
2683: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2684:
2685:
2686: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2687: $as_echo_n "checking host system type... " >&6; }
2688: if ${ac_cv_host+:} false; then :
2689: $as_echo_n "(cached) " >&6
2690: else
2691: if test "x$host_alias" = x; then
2692: ac_cv_host=$ac_cv_build
2693: else
2694: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2695: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2696: fi
2697:
2698: fi
2699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2700: $as_echo "$ac_cv_host" >&6; }
2701: case $ac_cv_host in
2702: *-*-*) ;;
2703: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2704: esac
2705: host=$ac_cv_host
2706: ac_save_IFS=$IFS; IFS='-'
2707: set x $ac_cv_host
2708: shift
2709: host_cpu=$1
2710: host_vendor=$2
2711: shift; shift
2712: # Remember, the first character of IFS is used to create $*,
2713: # except with old shells:
2714: host_os=$*
2715: IFS=$ac_save_IFS
2716: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2717:
2718:
2719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2720: $as_echo_n "checking target system type... " >&6; }
2721: if ${ac_cv_target+:} false; then :
2722: $as_echo_n "(cached) " >&6
2723: else
2724: if test "x$target_alias" = x; then
2725: ac_cv_target=$ac_cv_host
2726: else
2727: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2728: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2729: fi
2730:
2731: fi
2732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2733: $as_echo "$ac_cv_target" >&6; }
2734: case $ac_cv_target in
2735: *-*-*) ;;
2736: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2737: esac
2738: target=$ac_cv_target
2739: ac_save_IFS=$IFS; IFS='-'
2740: set x $ac_cv_target
2741: shift
2742: target_cpu=$1
2743: target_vendor=$2
2744: shift; shift
2745: # Remember, the first character of IFS is used to create $*,
2746: # except with old shells:
2747: target_os=$*
2748: IFS=$ac_save_IFS
2749: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2750:
2751:
2752: # The aliases save the names the user supplied, while $host etc.
2753: # will get canonicalized.
2754: test -n "$target_alias" &&
2755: test "$program_prefix$program_suffix$program_transform_name" = \
2756: NONENONEs,x,x, &&
2757: program_prefix=${target_alias}-
2758:
2759: am__api_version='1.11'
2760:
2761: # Find a good install program. We prefer a C program (faster),
2762: # so one script is as good as another. But avoid the broken or
2763: # incompatible versions:
2764: # SysV /etc/install, /usr/sbin/install
2765: # SunOS /usr/etc/install
2766: # IRIX /sbin/install
2767: # AIX /bin/install
2768: # AmigaOS /C/install, which installs bootblocks on floppy discs
2769: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2770: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2771: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2772: # OS/2's system install, which has a completely different semantic
2773: # ./install, which can be erroneously created by make from ./install.sh.
2774: # Reject install programs that cannot install multiple files.
2775: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2776: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2777: if test -z "$INSTALL"; then
2778: if ${ac_cv_path_install+:} false; then :
2779: $as_echo_n "(cached) " >&6
2780: else
2781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782: for as_dir in $PATH
2783: do
2784: IFS=$as_save_IFS
2785: test -z "$as_dir" && as_dir=.
2786: # Account for people who put trailing slashes in PATH elements.
2787: case $as_dir/ in #((
2788: ./ | .// | /[cC]/* | \
2789: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2790: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2791: /usr/ucb/* ) ;;
2792: *)
2793: # OSF1 and SCO ODT 3.0 have their own names for install.
2794: # Don't use installbsd from OSF since it installs stuff as root
2795: # by default.
2796: for ac_prog in ginstall scoinst install; do
2797: for ac_exec_ext in '' $ac_executable_extensions; do
2798: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2799: if test $ac_prog = install &&
2800: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2801: # AIX install. It has an incompatible calling convention.
2802: :
2803: elif test $ac_prog = install &&
2804: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2805: # program-specific install script used by HP pwplus--don't use.
2806: :
2807: else
2808: rm -rf conftest.one conftest.two conftest.dir
2809: echo one > conftest.one
2810: echo two > conftest.two
2811: mkdir conftest.dir
2812: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2813: test -s conftest.one && test -s conftest.two &&
2814: test -s conftest.dir/conftest.one &&
2815: test -s conftest.dir/conftest.two
2816: then
2817: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2818: break 3
2819: fi
2820: fi
2821: fi
2822: done
2823: done
2824: ;;
2825: esac
2826:
2827: done
2828: IFS=$as_save_IFS
2829:
2830: rm -rf conftest.one conftest.two conftest.dir
2831:
2832: fi
2833: if test "${ac_cv_path_install+set}" = set; then
2834: INSTALL=$ac_cv_path_install
2835: else
2836: # As a last resort, use the slow shell script. Don't cache a
2837: # value for INSTALL within a source directory, because that will
2838: # break other packages using the cache if that directory is
2839: # removed, or if the value is a relative name.
2840: INSTALL=$ac_install_sh
2841: fi
2842: fi
2843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2844: $as_echo "$INSTALL" >&6; }
2845:
2846: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2847: # It thinks the first close brace ends the variable substitution.
2848: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2849:
2850: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2851:
2852: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2853:
2854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2855: $as_echo_n "checking whether build environment is sane... " >&6; }
2856: # Just in case
2857: sleep 1
2858: echo timestamp > conftest.file
2859: # Reject unsafe characters in $srcdir or the absolute working directory
2860: # name. Accept space and tab only in the latter.
2861: am_lf='
2862: '
2863: case `pwd` in
2864: *[\\\"\#\$\&\'\`$am_lf]*)
2865: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2866: esac
2867: case $srcdir in
2868: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2869: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2870: esac
2871:
2872: # Do `set' in a subshell so we don't clobber the current shell's
2873: # arguments. Must try -L first in case configure is actually a
2874: # symlink; some systems play weird games with the mod time of symlinks
2875: # (eg FreeBSD returns the mod time of the symlink's containing
2876: # directory).
2877: if (
2878: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2879: if test "$*" = "X"; then
2880: # -L didn't work.
2881: set X `ls -t "$srcdir/configure" conftest.file`
2882: fi
2883: rm -f conftest.file
2884: if test "$*" != "X $srcdir/configure conftest.file" \
2885: && test "$*" != "X conftest.file $srcdir/configure"; then
2886:
2887: # If neither matched, then we have a broken ls. This can happen
2888: # if, for instance, CONFIG_SHELL is bash and it inherits a
2889: # broken ls alias from the environment. This has actually
2890: # happened. Such a system could not be considered "sane".
2891: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2892: alias in your environment" "$LINENO" 5
2893: fi
2894:
2895: test "$2" = conftest.file
2896: )
2897: then
2898: # Ok.
2899: :
2900: else
2901: as_fn_error $? "newly created file is older than distributed files!
2902: Check your system clock" "$LINENO" 5
2903: fi
2904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2905: $as_echo "yes" >&6; }
2906: test "$program_prefix" != NONE &&
2907: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2908: # Use a double $ so make ignores it.
2909: test "$program_suffix" != NONE &&
2910: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2911: # Double any \ or $.
2912: # By default was `s,x,x', remove it if useless.
2913: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2914: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2915:
2916: # expand $ac_aux_dir to an absolute path
2917: am_aux_dir=`cd $ac_aux_dir && pwd`
2918:
2919: if test x"${MISSING+set}" != xset; then
2920: case $am_aux_dir in
2921: *\ * | *\ *)
2922: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2923: *)
2924: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2925: esac
2926: fi
2927: # Use eval to expand $SHELL
2928: if eval "$MISSING --run true"; then
2929: am_missing_run="$MISSING --run "
2930: else
2931: am_missing_run=
2932: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2933: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2934: fi
2935:
2936: if test x"${install_sh}" != xset; then
2937: case $am_aux_dir in
2938: *\ * | *\ *)
2939: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2940: *)
2941: install_sh="\${SHELL} $am_aux_dir/install-sh"
2942: esac
2943: fi
2944:
2945: # Installed binaries are usually stripped using `strip' when the user
2946: # run `make install-strip'. However `strip' might not be the right
2947: # tool to use in cross-compilation environments, therefore Automake
2948: # will honor the `STRIP' environment variable to overrule this program.
2949: if test "$cross_compiling" != no; then
2950: if test -n "$ac_tool_prefix"; then
2951: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2952: set dummy ${ac_tool_prefix}strip; ac_word=$2
2953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954: $as_echo_n "checking for $ac_word... " >&6; }
2955: if ${ac_cv_prog_STRIP+:} false; then :
2956: $as_echo_n "(cached) " >&6
2957: else
2958: if test -n "$STRIP"; then
2959: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2960: else
2961: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962: for as_dir in $PATH
2963: do
2964: IFS=$as_save_IFS
2965: test -z "$as_dir" && as_dir=.
2966: for ac_exec_ext in '' $ac_executable_extensions; do
2967: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2969: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970: break 2
2971: fi
2972: done
2973: done
2974: IFS=$as_save_IFS
2975:
2976: fi
2977: fi
2978: STRIP=$ac_cv_prog_STRIP
2979: if test -n "$STRIP"; then
2980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2981: $as_echo "$STRIP" >&6; }
2982: else
2983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984: $as_echo "no" >&6; }
2985: fi
2986:
2987:
2988: fi
2989: if test -z "$ac_cv_prog_STRIP"; then
2990: ac_ct_STRIP=$STRIP
2991: # Extract the first word of "strip", so it can be a program name with args.
2992: set dummy strip; ac_word=$2
2993: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994: $as_echo_n "checking for $ac_word... " >&6; }
2995: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2996: $as_echo_n "(cached) " >&6
2997: else
2998: if test -n "$ac_ct_STRIP"; then
2999: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3000: else
3001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002: for as_dir in $PATH
3003: do
3004: IFS=$as_save_IFS
3005: test -z "$as_dir" && as_dir=.
3006: for ac_exec_ext in '' $ac_executable_extensions; do
3007: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008: ac_cv_prog_ac_ct_STRIP="strip"
3009: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010: break 2
3011: fi
3012: done
3013: done
3014: IFS=$as_save_IFS
3015:
3016: fi
3017: fi
3018: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3019: if test -n "$ac_ct_STRIP"; then
3020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3021: $as_echo "$ac_ct_STRIP" >&6; }
3022: else
3023: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024: $as_echo "no" >&6; }
3025: fi
3026:
3027: if test "x$ac_ct_STRIP" = x; then
3028: STRIP=":"
3029: else
3030: case $cross_compiling:$ac_tool_warned in
3031: yes:)
3032: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034: ac_tool_warned=yes ;;
3035: esac
3036: STRIP=$ac_ct_STRIP
3037: fi
3038: else
3039: STRIP="$ac_cv_prog_STRIP"
3040: fi
3041:
3042: fi
3043: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3044:
3045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3046: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3047: if test -z "$MKDIR_P"; then
3048: if ${ac_cv_path_mkdir+:} false; then :
3049: $as_echo_n "(cached) " >&6
3050: else
3051: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3053: do
3054: IFS=$as_save_IFS
3055: test -z "$as_dir" && as_dir=.
3056: for ac_prog in mkdir gmkdir; do
3057: for ac_exec_ext in '' $ac_executable_extensions; do
3058: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3059: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3060: 'mkdir (GNU coreutils) '* | \
3061: 'mkdir (coreutils) '* | \
3062: 'mkdir (fileutils) '4.1*)
3063: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3064: break 3;;
3065: esac
3066: done
3067: done
3068: done
3069: IFS=$as_save_IFS
3070:
3071: fi
3072:
3073: test -d ./--version && rmdir ./--version
3074: if test "${ac_cv_path_mkdir+set}" = set; then
3075: MKDIR_P="$ac_cv_path_mkdir -p"
3076: else
3077: # As a last resort, use the slow shell script. Don't cache a
3078: # value for MKDIR_P within a source directory, because that will
3079: # break other packages using the cache if that directory is
3080: # removed, or if the value is a relative name.
3081: MKDIR_P="$ac_install_sh -d"
3082: fi
3083: fi
3084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3085: $as_echo "$MKDIR_P" >&6; }
3086:
3087: mkdir_p="$MKDIR_P"
3088: case $mkdir_p in
3089: [\\/$]* | ?:[\\/]*) ;;
3090: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3091: esac
3092:
3093: for ac_prog in gawk mawk nawk awk
3094: do
3095: # Extract the first word of "$ac_prog", so it can be a program name with args.
3096: set dummy $ac_prog; ac_word=$2
3097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098: $as_echo_n "checking for $ac_word... " >&6; }
3099: if ${ac_cv_prog_AWK+:} false; then :
3100: $as_echo_n "(cached) " >&6
3101: else
3102: if test -n "$AWK"; then
3103: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3104: else
3105: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106: for as_dir in $PATH
3107: do
3108: IFS=$as_save_IFS
3109: test -z "$as_dir" && as_dir=.
3110: for ac_exec_ext in '' $ac_executable_extensions; do
3111: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112: ac_cv_prog_AWK="$ac_prog"
3113: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114: break 2
3115: fi
3116: done
3117: done
3118: IFS=$as_save_IFS
3119:
3120: fi
3121: fi
3122: AWK=$ac_cv_prog_AWK
3123: if test -n "$AWK"; then
3124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3125: $as_echo "$AWK" >&6; }
3126: else
3127: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128: $as_echo "no" >&6; }
3129: fi
3130:
3131:
3132: test -n "$AWK" && break
3133: done
3134:
3135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3136: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3137: set x ${MAKE-make}
3138: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3139: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3140: $as_echo_n "(cached) " >&6
3141: else
3142: cat >conftest.make <<\_ACEOF
3143: SHELL = /bin/sh
3144: all:
3145: @echo '@@@%%%=$(MAKE)=@@@%%%'
3146: _ACEOF
3147: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3148: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3149: *@@@%%%=?*=@@@%%%*)
3150: eval ac_cv_prog_make_${ac_make}_set=yes;;
3151: *)
3152: eval ac_cv_prog_make_${ac_make}_set=no;;
3153: esac
3154: rm -f conftest.make
3155: fi
3156: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3158: $as_echo "yes" >&6; }
3159: SET_MAKE=
3160: else
3161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162: $as_echo "no" >&6; }
3163: SET_MAKE="MAKE=${MAKE-make}"
3164: fi
3165:
3166: rm -rf .tst 2>/dev/null
3167: mkdir .tst 2>/dev/null
3168: if test -d .tst; then
3169: am__leading_dot=.
3170: else
3171: am__leading_dot=_
3172: fi
3173: rmdir .tst 2>/dev/null
3174:
3175: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3176: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3177: # is not polluted with repeated "-I."
3178: am__isrc=' -I$(srcdir)'
3179: # test to see if srcdir already configured
3180: if test -f $srcdir/config.status; then
3181: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3182: fi
3183: fi
3184:
3185: # test whether we have cygpath
3186: if test -z "$CYGPATH_W"; then
3187: if (cygpath --version) >/dev/null 2>/dev/null; then
3188: CYGPATH_W='cygpath -w'
3189: else
3190: CYGPATH_W=echo
3191: fi
3192: fi
3193:
3194:
3195: # Define the identity of the package.
3196: PACKAGE='rpl'
3197: VERSION='4.1.0'
3198:
3199:
3200: cat >>confdefs.h <<_ACEOF
3201: #define PACKAGE "$PACKAGE"
3202: _ACEOF
3203:
3204:
3205: cat >>confdefs.h <<_ACEOF
3206: #define VERSION "$VERSION"
3207: _ACEOF
3208:
3209: # Some tools Automake needs.
3210:
3211: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3212:
3213:
3214: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3215:
3216:
3217: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3218:
3219:
3220: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3221:
3222:
3223: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3224:
3225: # We need awk for the "check" target. The system "awk" is bad on
3226: # some platforms.
3227: # Always define AMTAR for backward compatibility.
3228:
3229: AMTAR=${AMTAR-"${am_missing_run}tar"}
3230:
3231: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3232:
3233:
3234:
3235:
3236:
3237:
3238: ac_config_headers="$ac_config_headers rplconfig.h"
3239:
3240:
3241: NCURSES=ncurses-5.9
3242: READLINE=readline-6.2
3243: UNITS=units-1.88
3244: GSL=gsl-1.15
3245: GPP=gpp-2.24
3246: GNUPLOT=gnuplot-4.4.3
3247: FILE=file-5.03
3248: ICONV=libiconv-1.13.1
3249: SQLITE=sqlite-3.7.6.3
3250: OPENSSL=openssl-1.0.0d
3251:
3252: GMP=gmp-5.0.1
3253: MPFR=mpfr-3.0.1
3254: NTL=ntl-5.5.2
3255: COCOA=CoCoALib-0.9943
3256: PARI=pari-2.3.5
3257: GIAC=giac-0.9.1
3258:
3259: ac_ext=c
3260: ac_cpp='$CPP $CPPFLAGS'
3261: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264: if test -n "$ac_tool_prefix"; then
3265: for ac_prog in gcc
3266: do
3267: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3268: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270: $as_echo_n "checking for $ac_word... " >&6; }
3271: if ${ac_cv_prog_CC+:} false; then :
3272: $as_echo_n "(cached) " >&6
3273: else
3274: if test -n "$CC"; then
3275: ac_cv_prog_CC="$CC" # Let the user override the test.
3276: else
3277: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278: for as_dir in $PATH
3279: do
3280: IFS=$as_save_IFS
3281: test -z "$as_dir" && as_dir=.
3282: for ac_exec_ext in '' $ac_executable_extensions; do
3283: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3285: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286: break 2
3287: fi
3288: done
3289: done
3290: IFS=$as_save_IFS
3291:
3292: fi
3293: fi
3294: CC=$ac_cv_prog_CC
3295: if test -n "$CC"; then
3296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3297: $as_echo "$CC" >&6; }
3298: else
3299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300: $as_echo "no" >&6; }
3301: fi
3302:
3303:
3304: test -n "$CC" && break
3305: done
3306: fi
3307: if test -z "$CC"; then
3308: ac_ct_CC=$CC
3309: for ac_prog in gcc
3310: do
3311: # Extract the first word of "$ac_prog", so it can be a program name with args.
3312: set dummy $ac_prog; ac_word=$2
3313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314: $as_echo_n "checking for $ac_word... " >&6; }
3315: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3316: $as_echo_n "(cached) " >&6
3317: else
3318: if test -n "$ac_ct_CC"; then
3319: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3320: else
3321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322: for as_dir in $PATH
3323: do
3324: IFS=$as_save_IFS
3325: test -z "$as_dir" && as_dir=.
3326: for ac_exec_ext in '' $ac_executable_extensions; do
3327: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3328: ac_cv_prog_ac_ct_CC="$ac_prog"
3329: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330: break 2
3331: fi
3332: done
3333: done
3334: IFS=$as_save_IFS
3335:
3336: fi
3337: fi
3338: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3339: if test -n "$ac_ct_CC"; then
3340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3341: $as_echo "$ac_ct_CC" >&6; }
3342: else
3343: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344: $as_echo "no" >&6; }
3345: fi
3346:
3347:
3348: test -n "$ac_ct_CC" && break
3349: done
3350:
3351: if test "x$ac_ct_CC" = x; then
3352: CC=""
3353: else
3354: case $cross_compiling:$ac_tool_warned in
3355: yes:)
3356: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3357: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3358: ac_tool_warned=yes ;;
3359: esac
3360: CC=$ac_ct_CC
3361: fi
3362: fi
3363:
3364:
3365: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367: as_fn_error $? "no acceptable C compiler found in \$PATH
3368: See \`config.log' for more details" "$LINENO" 5; }
3369:
3370: # Provide some information about the compiler.
3371: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3372: set X $ac_compile
3373: ac_compiler=$2
3374: for ac_option in --version -v -V -qversion; do
3375: { { ac_try="$ac_compiler $ac_option >&5"
3376: case "(($ac_try" in
3377: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378: *) ac_try_echo=$ac_try;;
3379: esac
3380: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381: $as_echo "$ac_try_echo"; } >&5
3382: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3383: ac_status=$?
3384: if test -s conftest.err; then
3385: sed '10a\
3386: ... rest of stderr output deleted ...
3387: 10q' conftest.err >conftest.er1
3388: cat conftest.er1 >&5
3389: fi
3390: rm -f conftest.er1 conftest.err
3391: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392: test $ac_status = 0; }
3393: done
3394:
3395: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396: /* end confdefs.h. */
3397:
3398: int
3399: main ()
3400: {
3401:
3402: ;
3403: return 0;
3404: }
3405: _ACEOF
3406: ac_clean_files_save=$ac_clean_files
3407: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3408: # Try to create an executable without -o first, disregard a.out.
3409: # It will help us diagnose broken compilers, and finding out an intuition
3410: # of exeext.
3411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3412: $as_echo_n "checking whether the C compiler works... " >&6; }
3413: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3414:
3415: # The possible output files:
3416: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3417:
3418: ac_rmfiles=
3419: for ac_file in $ac_files
3420: do
3421: case $ac_file in
3422: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3423: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3424: esac
3425: done
3426: rm -f $ac_rmfiles
3427:
3428: if { { ac_try="$ac_link_default"
3429: case "(($ac_try" in
3430: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431: *) ac_try_echo=$ac_try;;
3432: esac
3433: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434: $as_echo "$ac_try_echo"; } >&5
3435: (eval "$ac_link_default") 2>&5
3436: ac_status=$?
3437: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438: test $ac_status = 0; }; then :
3439: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3440: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3441: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3442: # so that the user can short-circuit this test for compilers unknown to
3443: # Autoconf.
3444: for ac_file in $ac_files ''
3445: do
3446: test -f "$ac_file" || continue
3447: case $ac_file in
3448: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3449: ;;
3450: [ab].out )
3451: # We found the default executable, but exeext='' is most
3452: # certainly right.
3453: break;;
3454: *.* )
3455: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3456: then :; else
3457: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3458: fi
3459: # We set ac_cv_exeext here because the later test for it is not
3460: # safe: cross compilers may not add the suffix if given an `-o'
3461: # argument, so we may need to know it at that point already.
3462: # Even if this section looks crufty: it has the advantage of
3463: # actually working.
3464: break;;
3465: * )
3466: break;;
3467: esac
3468: done
3469: test "$ac_cv_exeext" = no && ac_cv_exeext=
3470:
3471: else
3472: ac_file=''
3473: fi
3474: if test -z "$ac_file"; then :
3475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476: $as_echo "no" >&6; }
3477: $as_echo "$as_me: failed program was:" >&5
3478: sed 's/^/| /' conftest.$ac_ext >&5
3479:
3480: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3482: as_fn_error 77 "C compiler cannot create executables
3483: See \`config.log' for more details" "$LINENO" 5; }
3484: else
3485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486: $as_echo "yes" >&6; }
3487: fi
3488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3489: $as_echo_n "checking for C compiler default output file name... " >&6; }
3490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3491: $as_echo "$ac_file" >&6; }
3492: ac_exeext=$ac_cv_exeext
3493:
3494: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3495: ac_clean_files=$ac_clean_files_save
3496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3497: $as_echo_n "checking for suffix of executables... " >&6; }
3498: if { { ac_try="$ac_link"
3499: case "(($ac_try" in
3500: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501: *) ac_try_echo=$ac_try;;
3502: esac
3503: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504: $as_echo "$ac_try_echo"; } >&5
3505: (eval "$ac_link") 2>&5
3506: ac_status=$?
3507: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508: test $ac_status = 0; }; then :
3509: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3510: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3511: # work properly (i.e., refer to `conftest.exe'), while it won't with
3512: # `rm'.
3513: for ac_file in conftest.exe conftest conftest.*; do
3514: test -f "$ac_file" || continue
3515: case $ac_file in
3516: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3517: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3518: break;;
3519: * ) break;;
3520: esac
3521: done
3522: else
3523: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3526: See \`config.log' for more details" "$LINENO" 5; }
3527: fi
3528: rm -f conftest conftest$ac_cv_exeext
3529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3530: $as_echo "$ac_cv_exeext" >&6; }
3531:
3532: rm -f conftest.$ac_ext
3533: EXEEXT=$ac_cv_exeext
3534: ac_exeext=$EXEEXT
3535: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536: /* end confdefs.h. */
3537: #include <stdio.h>
3538: int
3539: main ()
3540: {
3541: FILE *f = fopen ("conftest.out", "w");
3542: return ferror (f) || fclose (f) != 0;
3543:
3544: ;
3545: return 0;
3546: }
3547: _ACEOF
3548: ac_clean_files="$ac_clean_files conftest.out"
3549: # Check that the compiler produces executables we can run. If not, either
3550: # the compiler is broken, or we cross compile.
3551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3552: $as_echo_n "checking whether we are cross compiling... " >&6; }
3553: if test "$cross_compiling" != yes; then
3554: { { ac_try="$ac_link"
3555: case "(($ac_try" in
3556: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557: *) ac_try_echo=$ac_try;;
3558: esac
3559: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560: $as_echo "$ac_try_echo"; } >&5
3561: (eval "$ac_link") 2>&5
3562: ac_status=$?
3563: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564: test $ac_status = 0; }
3565: if { ac_try='./conftest$ac_cv_exeext'
3566: { { case "(($ac_try" in
3567: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568: *) ac_try_echo=$ac_try;;
3569: esac
3570: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571: $as_echo "$ac_try_echo"; } >&5
3572: (eval "$ac_try") 2>&5
3573: ac_status=$?
3574: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575: test $ac_status = 0; }; }; then
3576: cross_compiling=no
3577: else
3578: if test "$cross_compiling" = maybe; then
3579: cross_compiling=yes
3580: else
3581: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583: as_fn_error $? "cannot run C compiled programs.
3584: If you meant to cross compile, use \`--host'.
3585: See \`config.log' for more details" "$LINENO" 5; }
3586: fi
3587: fi
3588: fi
3589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3590: $as_echo "$cross_compiling" >&6; }
3591:
3592: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3593: ac_clean_files=$ac_clean_files_save
3594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3595: $as_echo_n "checking for suffix of object files... " >&6; }
3596: if ${ac_cv_objext+:} false; then :
3597: $as_echo_n "(cached) " >&6
3598: else
3599: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600: /* end confdefs.h. */
3601:
3602: int
3603: main ()
3604: {
3605:
3606: ;
3607: return 0;
3608: }
3609: _ACEOF
3610: rm -f conftest.o conftest.obj
3611: if { { ac_try="$ac_compile"
3612: case "(($ac_try" in
3613: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614: *) ac_try_echo=$ac_try;;
3615: esac
3616: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617: $as_echo "$ac_try_echo"; } >&5
3618: (eval "$ac_compile") 2>&5
3619: ac_status=$?
3620: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621: test $ac_status = 0; }; then :
3622: for ac_file in conftest.o conftest.obj conftest.*; do
3623: test -f "$ac_file" || continue;
3624: case $ac_file in
3625: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3626: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3627: break;;
3628: esac
3629: done
3630: else
3631: $as_echo "$as_me: failed program was:" >&5
3632: sed 's/^/| /' conftest.$ac_ext >&5
3633:
3634: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636: as_fn_error $? "cannot compute suffix of object files: cannot compile
3637: See \`config.log' for more details" "$LINENO" 5; }
3638: fi
3639: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3640: fi
3641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3642: $as_echo "$ac_cv_objext" >&6; }
3643: OBJEXT=$ac_cv_objext
3644: ac_objext=$OBJEXT
3645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3646: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3647: if ${ac_cv_c_compiler_gnu+:} false; then :
3648: $as_echo_n "(cached) " >&6
3649: else
3650: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651: /* end confdefs.h. */
3652:
3653: int
3654: main ()
3655: {
3656: #ifndef __GNUC__
3657: choke me
3658: #endif
3659:
3660: ;
3661: return 0;
3662: }
3663: _ACEOF
3664: if ac_fn_c_try_compile "$LINENO"; then :
3665: ac_compiler_gnu=yes
3666: else
3667: ac_compiler_gnu=no
3668: fi
3669: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3671:
3672: fi
3673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3674: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3675: if test $ac_compiler_gnu = yes; then
3676: GCC=yes
3677: else
3678: GCC=
3679: fi
3680: ac_test_CFLAGS=${CFLAGS+set}
3681: ac_save_CFLAGS=$CFLAGS
3682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3683: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3684: if ${ac_cv_prog_cc_g+:} false; then :
3685: $as_echo_n "(cached) " >&6
3686: else
3687: ac_save_c_werror_flag=$ac_c_werror_flag
3688: ac_c_werror_flag=yes
3689: ac_cv_prog_cc_g=no
3690: CFLAGS="-g"
3691: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692: /* end confdefs.h. */
3693:
3694: int
3695: main ()
3696: {
3697:
3698: ;
3699: return 0;
3700: }
3701: _ACEOF
3702: if ac_fn_c_try_compile "$LINENO"; then :
3703: ac_cv_prog_cc_g=yes
3704: else
3705: CFLAGS=""
3706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707: /* end confdefs.h. */
3708:
3709: int
3710: main ()
3711: {
3712:
3713: ;
3714: return 0;
3715: }
3716: _ACEOF
3717: if ac_fn_c_try_compile "$LINENO"; then :
3718:
3719: else
3720: ac_c_werror_flag=$ac_save_c_werror_flag
3721: CFLAGS="-g"
3722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723: /* end confdefs.h. */
3724:
3725: int
3726: main ()
3727: {
3728:
3729: ;
3730: return 0;
3731: }
3732: _ACEOF
3733: if ac_fn_c_try_compile "$LINENO"; then :
3734: ac_cv_prog_cc_g=yes
3735: fi
3736: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737: fi
3738: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739: fi
3740: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741: ac_c_werror_flag=$ac_save_c_werror_flag
3742: fi
3743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3744: $as_echo "$ac_cv_prog_cc_g" >&6; }
3745: if test "$ac_test_CFLAGS" = set; then
3746: CFLAGS=$ac_save_CFLAGS
3747: elif test $ac_cv_prog_cc_g = yes; then
3748: if test "$GCC" = yes; then
3749: CFLAGS="-g -O2"
3750: else
3751: CFLAGS="-g"
3752: fi
3753: else
3754: if test "$GCC" = yes; then
3755: CFLAGS="-O2"
3756: else
3757: CFLAGS=
3758: fi
3759: fi
3760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3761: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3762: if ${ac_cv_prog_cc_c89+:} false; then :
3763: $as_echo_n "(cached) " >&6
3764: else
3765: ac_cv_prog_cc_c89=no
3766: ac_save_CC=$CC
3767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768: /* end confdefs.h. */
3769: #include <stdarg.h>
3770: #include <stdio.h>
3771: #include <sys/types.h>
3772: #include <sys/stat.h>
3773: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3774: struct buf { int x; };
3775: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3776: static char *e (p, i)
3777: char **p;
3778: int i;
3779: {
3780: return p[i];
3781: }
3782: static char *f (char * (*g) (char **, int), char **p, ...)
3783: {
3784: char *s;
3785: va_list v;
3786: va_start (v,p);
3787: s = g (p, va_arg (v,int));
3788: va_end (v);
3789: return s;
3790: }
3791:
3792: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3793: function prototypes and stuff, but not '\xHH' hex character constants.
3794: These don't provoke an error unfortunately, instead are silently treated
3795: as 'x'. The following induces an error, until -std is added to get
3796: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3797: array size at least. It's necessary to write '\x00'==0 to get something
3798: that's true only with -std. */
3799: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3800:
3801: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3802: inside strings and character constants. */
3803: #define FOO(x) 'x'
3804: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3805:
3806: int test (int i, double x);
3807: struct s1 {int (*f) (int a);};
3808: struct s2 {int (*f) (double a);};
3809: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3810: int argc;
3811: char **argv;
3812: int
3813: main ()
3814: {
3815: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3816: ;
3817: return 0;
3818: }
3819: _ACEOF
3820: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3821: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3822: do
3823: CC="$ac_save_CC $ac_arg"
3824: if ac_fn_c_try_compile "$LINENO"; then :
3825: ac_cv_prog_cc_c89=$ac_arg
3826: fi
3827: rm -f core conftest.err conftest.$ac_objext
3828: test "x$ac_cv_prog_cc_c89" != "xno" && break
3829: done
3830: rm -f conftest.$ac_ext
3831: CC=$ac_save_CC
3832:
3833: fi
3834: # AC_CACHE_VAL
3835: case "x$ac_cv_prog_cc_c89" in
3836: x)
3837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3838: $as_echo "none needed" >&6; } ;;
3839: xno)
3840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3841: $as_echo "unsupported" >&6; } ;;
3842: *)
3843: CC="$CC $ac_cv_prog_cc_c89"
3844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3845: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3846: esac
3847: if test "x$ac_cv_prog_cc_c89" != xno; then :
3848:
3849: fi
3850:
3851: ac_ext=c
3852: ac_cpp='$CPP $CPPFLAGS'
3853: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3856: DEPDIR="${am__leading_dot}deps"
3857:
3858: ac_config_commands="$ac_config_commands depfiles"
3859:
3860:
3861: am_make=${MAKE-make}
3862: cat > confinc << 'END'
3863: am__doit:
3864: @echo this is the am__doit target
3865: .PHONY: am__doit
3866: END
3867: # If we don't find an include directive, just comment out the code.
3868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3869: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3870: am__include="#"
3871: am__quote=
3872: _am_result=none
3873: # First try GNU make style include.
3874: echo "include confinc" > confmf
3875: # Ignore all kinds of additional output from `make'.
3876: case `$am_make -s -f confmf 2> /dev/null` in #(
3877: *the\ am__doit\ target*)
3878: am__include=include
3879: am__quote=
3880: _am_result=GNU
3881: ;;
3882: esac
3883: # Now try BSD make style include.
3884: if test "$am__include" = "#"; then
3885: echo '.include "confinc"' > confmf
3886: case `$am_make -s -f confmf 2> /dev/null` in #(
3887: *the\ am__doit\ target*)
3888: am__include=.include
3889: am__quote="\""
3890: _am_result=BSD
3891: ;;
3892: esac
3893: fi
3894:
3895:
3896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3897: $as_echo "$_am_result" >&6; }
3898: rm -f confinc confmf
3899:
3900: # Check whether --enable-dependency-tracking was given.
3901: if test "${enable_dependency_tracking+set}" = set; then :
3902: enableval=$enable_dependency_tracking;
3903: fi
3904:
3905: if test "x$enable_dependency_tracking" != xno; then
3906: am_depcomp="$ac_aux_dir/depcomp"
3907: AMDEPBACKSLASH='\'
3908: fi
3909: if test "x$enable_dependency_tracking" != xno; then
3910: AMDEP_TRUE=
3911: AMDEP_FALSE='#'
3912: else
3913: AMDEP_TRUE='#'
3914: AMDEP_FALSE=
3915: fi
3916:
3917:
3918:
3919: depcc="$CC" am_compiler_list=
3920:
3921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3922: $as_echo_n "checking dependency style of $depcc... " >&6; }
3923: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3924: $as_echo_n "(cached) " >&6
3925: else
3926: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3927: # We make a subdir and do the tests there. Otherwise we can end up
3928: # making bogus files that we don't know about and never remove. For
3929: # instance it was reported that on HP-UX the gcc test will end up
3930: # making a dummy file named `D' -- because `-MD' means `put the output
3931: # in D'.
3932: mkdir conftest.dir
3933: # Copy depcomp to subdir because otherwise we won't find it if we're
3934: # using a relative directory.
3935: cp "$am_depcomp" conftest.dir
3936: cd conftest.dir
3937: # We will build objects and dependencies in a subdirectory because
3938: # it helps to detect inapplicable dependency modes. For instance
3939: # both Tru64's cc and ICC support -MD to output dependencies as a
3940: # side effect of compilation, but ICC will put the dependencies in
3941: # the current directory while Tru64 will put them in the object
3942: # directory.
3943: mkdir sub
3944:
3945: am_cv_CC_dependencies_compiler_type=none
3946: if test "$am_compiler_list" = ""; then
3947: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3948: fi
3949: am__universal=false
3950: case " $depcc " in #(
3951: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3952: esac
3953:
3954: for depmode in $am_compiler_list; do
3955: # Setup a source with many dependencies, because some compilers
3956: # like to wrap large dependency lists on column 80 (with \), and
3957: # we should not choose a depcomp mode which is confused by this.
3958: #
3959: # We need to recreate these files for each test, as the compiler may
3960: # overwrite some of them when testing with obscure command lines.
3961: # This happens at least with the AIX C compiler.
3962: : > sub/conftest.c
3963: for i in 1 2 3 4 5 6; do
3964: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3965: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3966: # Solaris 8's {/usr,}/bin/sh.
3967: touch sub/conftst$i.h
3968: done
3969: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3970:
3971: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3972: # mode. It turns out that the SunPro C++ compiler does not properly
3973: # handle `-M -o', and we need to detect this. Also, some Intel
3974: # versions had trouble with output in subdirs
3975: am__obj=sub/conftest.${OBJEXT-o}
3976: am__minus_obj="-o $am__obj"
3977: case $depmode in
3978: gcc)
3979: # This depmode causes a compiler race in universal mode.
3980: test "$am__universal" = false || continue
3981: ;;
3982: nosideeffect)
3983: # after this tag, mechanisms are not by side-effect, so they'll
3984: # only be used when explicitly requested
3985: if test "x$enable_dependency_tracking" = xyes; then
3986: continue
3987: else
3988: break
3989: fi
3990: ;;
3991: msvisualcpp | msvcmsys)
3992: # This compiler won't grok `-c -o', but also, the minuso test has
3993: # not run yet. These depmodes are late enough in the game, and
3994: # so weak that their functioning should not be impacted.
3995: am__obj=conftest.${OBJEXT-o}
3996: am__minus_obj=
3997: ;;
3998: none) break ;;
3999: esac
4000: if depmode=$depmode \
4001: source=sub/conftest.c object=$am__obj \
4002: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4003: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4004: >/dev/null 2>conftest.err &&
4005: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4006: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4007: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4008: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4009: # icc doesn't choke on unknown options, it will just issue warnings
4010: # or remarks (even with -Werror). So we grep stderr for any message
4011: # that says an option was ignored or not supported.
4012: # When given -MP, icc 7.0 and 7.1 complain thusly:
4013: # icc: Command line warning: ignoring option '-M'; no argument required
4014: # The diagnosis changed in icc 8.0:
4015: # icc: Command line remark: option '-MP' not supported
4016: if (grep 'ignoring option' conftest.err ||
4017: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4018: am_cv_CC_dependencies_compiler_type=$depmode
4019: break
4020: fi
4021: fi
4022: done
4023:
4024: cd ..
4025: rm -rf conftest.dir
4026: else
4027: am_cv_CC_dependencies_compiler_type=none
4028: fi
4029:
4030: fi
4031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4032: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4033: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4034:
4035: if
4036: test "x$enable_dependency_tracking" != xno \
4037: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4038: am__fastdepCC_TRUE=
4039: am__fastdepCC_FALSE='#'
4040: else
4041: am__fastdepCC_TRUE='#'
4042: am__fastdepCC_FALSE=
4043: fi
4044:
4045:
4046:
4047: EXT_SQL=
4048:
4049: if test x"$CC" != x""; then
4050: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4051: awk -F. '{ printf("%s", $1);}'`
4052: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4053: awk -F. '{ printf("%s", $2);}'`
4054: if test $GCC_VERSION_MAJEURE -ge 5; then
4055: OPTIMISATION_C=-O3
4056: else
4057: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4058: then
4059: OPTIMISATION_C=-O3
4060: else
4061: if test $GCC_VERSION_MAJEURE -ge 2; then
4062: OPTIMISATION_C=-O2
4063: else
4064: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4065: fi
4066: fi
4067: fi
4068: fi
4069:
4070: if test "x$CC" != xcc; then
4071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4072: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4073: else
4074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4075: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4076: fi
4077: set dummy $CC; ac_cc=`$as_echo "$2" |
4078: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4079: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4080: $as_echo_n "(cached) " >&6
4081: else
4082: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083: /* end confdefs.h. */
4084:
4085: int
4086: main ()
4087: {
4088:
4089: ;
4090: return 0;
4091: }
4092: _ACEOF
4093: # Make sure it works both with $CC and with simple cc.
4094: # We do the test twice because some compilers refuse to overwrite an
4095: # existing .o file with -o, though they will create one.
4096: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4097: rm -f conftest2.*
4098: if { { case "(($ac_try" in
4099: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100: *) ac_try_echo=$ac_try;;
4101: esac
4102: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103: $as_echo "$ac_try_echo"; } >&5
4104: (eval "$ac_try") 2>&5
4105: ac_status=$?
4106: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107: test $ac_status = 0; } &&
4108: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4109: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110: *) ac_try_echo=$ac_try;;
4111: esac
4112: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113: $as_echo "$ac_try_echo"; } >&5
4114: (eval "$ac_try") 2>&5
4115: ac_status=$?
4116: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117: test $ac_status = 0; };
4118: then
4119: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4120: if test "x$CC" != xcc; then
4121: # Test first that cc exists at all.
4122: if { ac_try='cc -c conftest.$ac_ext >&5'
4123: { { case "(($ac_try" in
4124: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125: *) ac_try_echo=$ac_try;;
4126: esac
4127: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128: $as_echo "$ac_try_echo"; } >&5
4129: (eval "$ac_try") 2>&5
4130: ac_status=$?
4131: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132: test $ac_status = 0; }; }; then
4133: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4134: rm -f conftest2.*
4135: if { { case "(($ac_try" in
4136: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137: *) ac_try_echo=$ac_try;;
4138: esac
4139: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140: $as_echo "$ac_try_echo"; } >&5
4141: (eval "$ac_try") 2>&5
4142: ac_status=$?
4143: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144: test $ac_status = 0; } &&
4145: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4146: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147: *) ac_try_echo=$ac_try;;
4148: esac
4149: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150: $as_echo "$ac_try_echo"; } >&5
4151: (eval "$ac_try") 2>&5
4152: ac_status=$?
4153: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4154: test $ac_status = 0; };
4155: then
4156: # cc works too.
4157: :
4158: else
4159: # cc exists but doesn't like -o.
4160: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4161: fi
4162: fi
4163: fi
4164: else
4165: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4166: fi
4167: rm -f core conftest*
4168:
4169: fi
4170: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4172: $as_echo "yes" >&6; }
4173: else
4174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175: $as_echo "no" >&6; }
4176:
4177: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4178:
4179: fi
4180:
4181: # FIXME: we rely on the cache variable name because
4182: # there is no other way.
4183: set dummy $CC
4184: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4185: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4186: if test "$am_t" != yes; then
4187: # Losing compiler, so override with the script.
4188: # FIXME: It is wrong to rewrite CC.
4189: # But if we don't then we get into trouble of one sort or another.
4190: # A longer-term fix would be to have automake use am__CC in this case,
4191: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4192: CC="$am_aux_dir/compile $CC"
4193: fi
4194:
4195:
4196:
4197: if test "$GCC" != yes; then
4198: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4199: fi
4200:
4201: ac_ext=cpp
4202: ac_cpp='$CXXCPP $CPPFLAGS'
4203: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4206: if test -z "$CXX"; then
4207: if test -n "$CCC"; then
4208: CXX=$CCC
4209: else
4210: if test -n "$ac_tool_prefix"; then
4211: for ac_prog in g++
4212: do
4213: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4214: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216: $as_echo_n "checking for $ac_word... " >&6; }
4217: if ${ac_cv_prog_CXX+:} false; then :
4218: $as_echo_n "(cached) " >&6
4219: else
4220: if test -n "$CXX"; then
4221: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4222: else
4223: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224: for as_dir in $PATH
4225: do
4226: IFS=$as_save_IFS
4227: test -z "$as_dir" && as_dir=.
4228: for ac_exec_ext in '' $ac_executable_extensions; do
4229: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4230: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4231: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232: break 2
4233: fi
4234: done
4235: done
4236: IFS=$as_save_IFS
4237:
4238: fi
4239: fi
4240: CXX=$ac_cv_prog_CXX
4241: if test -n "$CXX"; then
4242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4243: $as_echo "$CXX" >&6; }
4244: else
4245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246: $as_echo "no" >&6; }
4247: fi
4248:
4249:
4250: test -n "$CXX" && break
4251: done
4252: fi
4253: if test -z "$CXX"; then
4254: ac_ct_CXX=$CXX
4255: for ac_prog in g++
4256: do
4257: # Extract the first word of "$ac_prog", so it can be a program name with args.
4258: set dummy $ac_prog; ac_word=$2
4259: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260: $as_echo_n "checking for $ac_word... " >&6; }
4261: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4262: $as_echo_n "(cached) " >&6
4263: else
4264: if test -n "$ac_ct_CXX"; then
4265: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4266: else
4267: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268: for as_dir in $PATH
4269: do
4270: IFS=$as_save_IFS
4271: test -z "$as_dir" && as_dir=.
4272: for ac_exec_ext in '' $ac_executable_extensions; do
4273: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274: ac_cv_prog_ac_ct_CXX="$ac_prog"
4275: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276: break 2
4277: fi
4278: done
4279: done
4280: IFS=$as_save_IFS
4281:
4282: fi
4283: fi
4284: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4285: if test -n "$ac_ct_CXX"; then
4286: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4287: $as_echo "$ac_ct_CXX" >&6; }
4288: else
4289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290: $as_echo "no" >&6; }
4291: fi
4292:
4293:
4294: test -n "$ac_ct_CXX" && break
4295: done
4296:
4297: if test "x$ac_ct_CXX" = x; then
4298: CXX="g++"
4299: else
4300: case $cross_compiling:$ac_tool_warned in
4301: yes:)
4302: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4303: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4304: ac_tool_warned=yes ;;
4305: esac
4306: CXX=$ac_ct_CXX
4307: fi
4308: fi
4309:
4310: fi
4311: fi
4312: # Provide some information about the compiler.
4313: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4314: set X $ac_compile
4315: ac_compiler=$2
4316: for ac_option in --version -v -V -qversion; do
4317: { { ac_try="$ac_compiler $ac_option >&5"
4318: case "(($ac_try" in
4319: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320: *) ac_try_echo=$ac_try;;
4321: esac
4322: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323: $as_echo "$ac_try_echo"; } >&5
4324: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4325: ac_status=$?
4326: if test -s conftest.err; then
4327: sed '10a\
4328: ... rest of stderr output deleted ...
4329: 10q' conftest.err >conftest.er1
4330: cat conftest.er1 >&5
4331: fi
4332: rm -f conftest.er1 conftest.err
4333: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4334: test $ac_status = 0; }
4335: done
4336:
4337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4338: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4339: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4340: $as_echo_n "(cached) " >&6
4341: else
4342: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343: /* end confdefs.h. */
4344:
4345: int
4346: main ()
4347: {
4348: #ifndef __GNUC__
4349: choke me
4350: #endif
4351:
4352: ;
4353: return 0;
4354: }
4355: _ACEOF
4356: if ac_fn_cxx_try_compile "$LINENO"; then :
4357: ac_compiler_gnu=yes
4358: else
4359: ac_compiler_gnu=no
4360: fi
4361: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4363:
4364: fi
4365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4366: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4367: if test $ac_compiler_gnu = yes; then
4368: GXX=yes
4369: else
4370: GXX=
4371: fi
4372: ac_test_CXXFLAGS=${CXXFLAGS+set}
4373: ac_save_CXXFLAGS=$CXXFLAGS
4374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4375: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4376: if ${ac_cv_prog_cxx_g+:} false; then :
4377: $as_echo_n "(cached) " >&6
4378: else
4379: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4380: ac_cxx_werror_flag=yes
4381: ac_cv_prog_cxx_g=no
4382: CXXFLAGS="-g"
4383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384: /* end confdefs.h. */
4385:
4386: int
4387: main ()
4388: {
4389:
4390: ;
4391: return 0;
4392: }
4393: _ACEOF
4394: if ac_fn_cxx_try_compile "$LINENO"; then :
4395: ac_cv_prog_cxx_g=yes
4396: else
4397: CXXFLAGS=""
4398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399: /* end confdefs.h. */
4400:
4401: int
4402: main ()
4403: {
4404:
4405: ;
4406: return 0;
4407: }
4408: _ACEOF
4409: if ac_fn_cxx_try_compile "$LINENO"; then :
4410:
4411: else
4412: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4413: CXXFLAGS="-g"
4414: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415: /* end confdefs.h. */
4416:
4417: int
4418: main ()
4419: {
4420:
4421: ;
4422: return 0;
4423: }
4424: _ACEOF
4425: if ac_fn_cxx_try_compile "$LINENO"; then :
4426: ac_cv_prog_cxx_g=yes
4427: fi
4428: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429: fi
4430: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431: fi
4432: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4434: fi
4435: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4436: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4437: if test "$ac_test_CXXFLAGS" = set; then
4438: CXXFLAGS=$ac_save_CXXFLAGS
4439: elif test $ac_cv_prog_cxx_g = yes; then
4440: if test "$GXX" = yes; then
4441: CXXFLAGS="-g -O2"
4442: else
4443: CXXFLAGS="-g"
4444: fi
4445: else
4446: if test "$GXX" = yes; then
4447: CXXFLAGS="-O2"
4448: else
4449: CXXFLAGS=
4450: fi
4451: fi
4452: ac_ext=c
4453: ac_cpp='$CPP $CPPFLAGS'
4454: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457:
4458: depcc="$CXX" am_compiler_list=
4459:
4460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461: $as_echo_n "checking dependency style of $depcc... " >&6; }
4462: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4463: $as_echo_n "(cached) " >&6
4464: else
4465: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466: # We make a subdir and do the tests there. Otherwise we can end up
4467: # making bogus files that we don't know about and never remove. For
4468: # instance it was reported that on HP-UX the gcc test will end up
4469: # making a dummy file named `D' -- because `-MD' means `put the output
4470: # in D'.
4471: mkdir conftest.dir
4472: # Copy depcomp to subdir because otherwise we won't find it if we're
4473: # using a relative directory.
4474: cp "$am_depcomp" conftest.dir
4475: cd conftest.dir
4476: # We will build objects and dependencies in a subdirectory because
4477: # it helps to detect inapplicable dependency modes. For instance
4478: # both Tru64's cc and ICC support -MD to output dependencies as a
4479: # side effect of compilation, but ICC will put the dependencies in
4480: # the current directory while Tru64 will put them in the object
4481: # directory.
4482: mkdir sub
4483:
4484: am_cv_CXX_dependencies_compiler_type=none
4485: if test "$am_compiler_list" = ""; then
4486: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4487: fi
4488: am__universal=false
4489: case " $depcc " in #(
4490: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4491: esac
4492:
4493: for depmode in $am_compiler_list; do
4494: # Setup a source with many dependencies, because some compilers
4495: # like to wrap large dependency lists on column 80 (with \), and
4496: # we should not choose a depcomp mode which is confused by this.
4497: #
4498: # We need to recreate these files for each test, as the compiler may
4499: # overwrite some of them when testing with obscure command lines.
4500: # This happens at least with the AIX C compiler.
4501: : > sub/conftest.c
4502: for i in 1 2 3 4 5 6; do
4503: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4504: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4505: # Solaris 8's {/usr,}/bin/sh.
4506: touch sub/conftst$i.h
4507: done
4508: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4509:
4510: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4511: # mode. It turns out that the SunPro C++ compiler does not properly
4512: # handle `-M -o', and we need to detect this. Also, some Intel
4513: # versions had trouble with output in subdirs
4514: am__obj=sub/conftest.${OBJEXT-o}
4515: am__minus_obj="-o $am__obj"
4516: case $depmode in
4517: gcc)
4518: # This depmode causes a compiler race in universal mode.
4519: test "$am__universal" = false || continue
4520: ;;
4521: nosideeffect)
4522: # after this tag, mechanisms are not by side-effect, so they'll
4523: # only be used when explicitly requested
4524: if test "x$enable_dependency_tracking" = xyes; then
4525: continue
4526: else
4527: break
4528: fi
4529: ;;
4530: msvisualcpp | msvcmsys)
4531: # This compiler won't grok `-c -o', but also, the minuso test has
4532: # not run yet. These depmodes are late enough in the game, and
4533: # so weak that their functioning should not be impacted.
4534: am__obj=conftest.${OBJEXT-o}
4535: am__minus_obj=
4536: ;;
4537: none) break ;;
4538: esac
4539: if depmode=$depmode \
4540: source=sub/conftest.c object=$am__obj \
4541: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4542: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4543: >/dev/null 2>conftest.err &&
4544: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4545: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4546: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4547: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4548: # icc doesn't choke on unknown options, it will just issue warnings
4549: # or remarks (even with -Werror). So we grep stderr for any message
4550: # that says an option was ignored or not supported.
4551: # When given -MP, icc 7.0 and 7.1 complain thusly:
4552: # icc: Command line warning: ignoring option '-M'; no argument required
4553: # The diagnosis changed in icc 8.0:
4554: # icc: Command line remark: option '-MP' not supported
4555: if (grep 'ignoring option' conftest.err ||
4556: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4557: am_cv_CXX_dependencies_compiler_type=$depmode
4558: break
4559: fi
4560: fi
4561: done
4562:
4563: cd ..
4564: rm -rf conftest.dir
4565: else
4566: am_cv_CXX_dependencies_compiler_type=none
4567: fi
4568:
4569: fi
4570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4571: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4572: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4573:
4574: if
4575: test "x$enable_dependency_tracking" != xno \
4576: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4577: am__fastdepCXX_TRUE=
4578: am__fastdepCXX_FALSE='#'
4579: else
4580: am__fastdepCXX_TRUE='#'
4581: am__fastdepCXX_FALSE=
4582: fi
4583:
4584:
4585:
4586: if test "$GXX" != yes; then
4587: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4588: fi
4589:
4590: ac_ext=f
4591: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4592: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4594: if test -n "$ac_tool_prefix"; then
4595: for ac_prog in gfortran
4596: do
4597: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600: $as_echo_n "checking for $ac_word... " >&6; }
4601: if ${ac_cv_prog_F77+:} false; then :
4602: $as_echo_n "(cached) " >&6
4603: else
4604: if test -n "$F77"; then
4605: ac_cv_prog_F77="$F77" # Let the user override the test.
4606: else
4607: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608: for as_dir in $PATH
4609: do
4610: IFS=$as_save_IFS
4611: test -z "$as_dir" && as_dir=.
4612: for ac_exec_ext in '' $ac_executable_extensions; do
4613: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4615: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616: break 2
4617: fi
4618: done
4619: done
4620: IFS=$as_save_IFS
4621:
4622: fi
4623: fi
4624: F77=$ac_cv_prog_F77
4625: if test -n "$F77"; then
4626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4627: $as_echo "$F77" >&6; }
4628: else
4629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630: $as_echo "no" >&6; }
4631: fi
4632:
4633:
4634: test -n "$F77" && break
4635: done
4636: fi
4637: if test -z "$F77"; then
4638: ac_ct_F77=$F77
4639: for ac_prog in gfortran
4640: do
4641: # Extract the first word of "$ac_prog", so it can be a program name with args.
4642: set dummy $ac_prog; ac_word=$2
4643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644: $as_echo_n "checking for $ac_word... " >&6; }
4645: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4646: $as_echo_n "(cached) " >&6
4647: else
4648: if test -n "$ac_ct_F77"; then
4649: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4650: else
4651: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652: for as_dir in $PATH
4653: do
4654: IFS=$as_save_IFS
4655: test -z "$as_dir" && as_dir=.
4656: for ac_exec_ext in '' $ac_executable_extensions; do
4657: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658: ac_cv_prog_ac_ct_F77="$ac_prog"
4659: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660: break 2
4661: fi
4662: done
4663: done
4664: IFS=$as_save_IFS
4665:
4666: fi
4667: fi
4668: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4669: if test -n "$ac_ct_F77"; then
4670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4671: $as_echo "$ac_ct_F77" >&6; }
4672: else
4673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674: $as_echo "no" >&6; }
4675: fi
4676:
4677:
4678: test -n "$ac_ct_F77" && break
4679: done
4680:
4681: if test "x$ac_ct_F77" = x; then
4682: F77=""
4683: else
4684: case $cross_compiling:$ac_tool_warned in
4685: yes:)
4686: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688: ac_tool_warned=yes ;;
4689: esac
4690: F77=$ac_ct_F77
4691: fi
4692: fi
4693:
4694:
4695: # Provide some information about the compiler.
4696: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4697: set X $ac_compile
4698: ac_compiler=$2
4699: for ac_option in --version -v -V -qversion; do
4700: { { ac_try="$ac_compiler $ac_option >&5"
4701: case "(($ac_try" in
4702: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703: *) ac_try_echo=$ac_try;;
4704: esac
4705: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706: $as_echo "$ac_try_echo"; } >&5
4707: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4708: ac_status=$?
4709: if test -s conftest.err; then
4710: sed '10a\
4711: ... rest of stderr output deleted ...
4712: 10q' conftest.err >conftest.er1
4713: cat conftest.er1 >&5
4714: fi
4715: rm -f conftest.er1 conftest.err
4716: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4717: test $ac_status = 0; }
4718: done
4719: rm -f a.out
4720:
4721: # If we don't use `.F' as extension, the preprocessor is not run on the
4722: # input file. (Note that this only needs to work for GNU compilers.)
4723: ac_save_ext=$ac_ext
4724: ac_ext=F
4725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4726: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4727: if ${ac_cv_f77_compiler_gnu+:} false; then :
4728: $as_echo_n "(cached) " >&6
4729: else
4730: cat > conftest.$ac_ext <<_ACEOF
4731: program main
4732: #ifndef __GNUC__
4733: choke me
4734: #endif
4735:
4736: end
4737: _ACEOF
4738: if ac_fn_f77_try_compile "$LINENO"; then :
4739: ac_compiler_gnu=yes
4740: else
4741: ac_compiler_gnu=no
4742: fi
4743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4745:
4746: fi
4747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4748: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4749: ac_ext=$ac_save_ext
4750: ac_test_FFLAGS=${FFLAGS+set}
4751: ac_save_FFLAGS=$FFLAGS
4752: FFLAGS=
4753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4754: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4755: if ${ac_cv_prog_f77_g+:} false; then :
4756: $as_echo_n "(cached) " >&6
4757: else
4758: FFLAGS=-g
4759: cat > conftest.$ac_ext <<_ACEOF
4760: program main
4761:
4762: end
4763: _ACEOF
4764: if ac_fn_f77_try_compile "$LINENO"; then :
4765: ac_cv_prog_f77_g=yes
4766: else
4767: ac_cv_prog_f77_g=no
4768: fi
4769: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770:
4771: fi
4772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4773: $as_echo "$ac_cv_prog_f77_g" >&6; }
4774: if test "$ac_test_FFLAGS" = set; then
4775: FFLAGS=$ac_save_FFLAGS
4776: elif test $ac_cv_prog_f77_g = yes; then
4777: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4778: FFLAGS="-g -O2"
4779: else
4780: FFLAGS="-g"
4781: fi
4782: else
4783: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4784: FFLAGS="-O2"
4785: else
4786: FFLAGS=
4787: fi
4788: fi
4789:
4790: if test $ac_compiler_gnu = yes; then
4791: G77=yes
4792: else
4793: G77=
4794: fi
4795: ac_ext=c
4796: ac_cpp='$CPP $CPPFLAGS'
4797: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4798: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4799: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4800:
4801:
4802: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4803: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4804: fi
4805:
4806: ac_ext=${ac_fc_srcext-f}
4807: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4808: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4809: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4810: if test -n "$ac_tool_prefix"; then
4811: for ac_prog in gfortran
4812: do
4813: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4814: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816: $as_echo_n "checking for $ac_word... " >&6; }
4817: if ${ac_cv_prog_FC+:} false; then :
4818: $as_echo_n "(cached) " >&6
4819: else
4820: if test -n "$FC"; then
4821: ac_cv_prog_FC="$FC" # Let the user override the test.
4822: else
4823: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824: for as_dir in $PATH
4825: do
4826: IFS=$as_save_IFS
4827: test -z "$as_dir" && as_dir=.
4828: for ac_exec_ext in '' $ac_executable_extensions; do
4829: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4831: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832: break 2
4833: fi
4834: done
4835: done
4836: IFS=$as_save_IFS
4837:
4838: fi
4839: fi
4840: FC=$ac_cv_prog_FC
4841: if test -n "$FC"; then
4842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4843: $as_echo "$FC" >&6; }
4844: else
4845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846: $as_echo "no" >&6; }
4847: fi
4848:
4849:
4850: test -n "$FC" && break
4851: done
4852: fi
4853: if test -z "$FC"; then
4854: ac_ct_FC=$FC
4855: for ac_prog in gfortran
4856: do
4857: # Extract the first word of "$ac_prog", so it can be a program name with args.
4858: set dummy $ac_prog; ac_word=$2
4859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860: $as_echo_n "checking for $ac_word... " >&6; }
4861: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4862: $as_echo_n "(cached) " >&6
4863: else
4864: if test -n "$ac_ct_FC"; then
4865: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4866: else
4867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868: for as_dir in $PATH
4869: do
4870: IFS=$as_save_IFS
4871: test -z "$as_dir" && as_dir=.
4872: for ac_exec_ext in '' $ac_executable_extensions; do
4873: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874: ac_cv_prog_ac_ct_FC="$ac_prog"
4875: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876: break 2
4877: fi
4878: done
4879: done
4880: IFS=$as_save_IFS
4881:
4882: fi
4883: fi
4884: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4885: if test -n "$ac_ct_FC"; then
4886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4887: $as_echo "$ac_ct_FC" >&6; }
4888: else
4889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890: $as_echo "no" >&6; }
4891: fi
4892:
4893:
4894: test -n "$ac_ct_FC" && break
4895: done
4896:
4897: if test "x$ac_ct_FC" = x; then
4898: FC=""
4899: else
4900: case $cross_compiling:$ac_tool_warned in
4901: yes:)
4902: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4903: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4904: ac_tool_warned=yes ;;
4905: esac
4906: FC=$ac_ct_FC
4907: fi
4908: fi
4909:
4910:
4911: # Provide some information about the compiler.
4912: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4913: set X $ac_compile
4914: ac_compiler=$2
4915: for ac_option in --version -v -V -qversion; do
4916: { { ac_try="$ac_compiler $ac_option >&5"
4917: case "(($ac_try" in
4918: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919: *) ac_try_echo=$ac_try;;
4920: esac
4921: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922: $as_echo "$ac_try_echo"; } >&5
4923: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4924: ac_status=$?
4925: if test -s conftest.err; then
4926: sed '10a\
4927: ... rest of stderr output deleted ...
4928: 10q' conftest.err >conftest.er1
4929: cat conftest.er1 >&5
4930: fi
4931: rm -f conftest.er1 conftest.err
4932: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933: test $ac_status = 0; }
4934: done
4935: rm -f a.out
4936:
4937: # If we don't use `.F' as extension, the preprocessor is not run on the
4938: # input file. (Note that this only needs to work for GNU compilers.)
4939: ac_save_ext=$ac_ext
4940: ac_ext=F
4941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4942: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4943: if ${ac_cv_fc_compiler_gnu+:} false; then :
4944: $as_echo_n "(cached) " >&6
4945: else
4946: cat > conftest.$ac_ext <<_ACEOF
4947: program main
4948: #ifndef __GNUC__
4949: choke me
4950: #endif
4951:
4952: end
4953: _ACEOF
4954: if ac_fn_fc_try_compile "$LINENO"; then :
4955: ac_compiler_gnu=yes
4956: else
4957: ac_compiler_gnu=no
4958: fi
4959: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4961:
4962: fi
4963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4964: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4965: ac_ext=$ac_save_ext
4966: ac_test_FCFLAGS=${FCFLAGS+set}
4967: ac_save_FCFLAGS=$FCFLAGS
4968: FCFLAGS=
4969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4970: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4971: if ${ac_cv_prog_fc_g+:} false; then :
4972: $as_echo_n "(cached) " >&6
4973: else
4974: FCFLAGS=-g
4975: cat > conftest.$ac_ext <<_ACEOF
4976: program main
4977:
4978: end
4979: _ACEOF
4980: if ac_fn_fc_try_compile "$LINENO"; then :
4981: ac_cv_prog_fc_g=yes
4982: else
4983: ac_cv_prog_fc_g=no
4984: fi
4985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4986:
4987: fi
4988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4989: $as_echo "$ac_cv_prog_fc_g" >&6; }
4990: if test "$ac_test_FCFLAGS" = set; then
4991: FCFLAGS=$ac_save_FCFLAGS
4992: elif test $ac_cv_prog_fc_g = yes; then
4993: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4994: FCFLAGS="-g -O2"
4995: else
4996: FCFLAGS="-g"
4997: fi
4998: else
4999: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
5000: FCFLAGS="-O2"
5001: else
5002: FCFLAGS=
5003: fi
5004: fi
5005:
5006: ac_ext=c
5007: ac_cpp='$CPP $CPPFLAGS'
5008: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011:
5012:
5013: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
5014: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
5015: fi
5016:
5017: if test x"$FC" != x""; then
5018: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5019: awk -F. '{ printf("%s", $1);}'`
5020: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5021: awk -F. '{ printf("%s", $2);}'`
5022: if test $GCC_VERSION_MAJEURE -ge 5; then
5023: OPTIMISATION_F=-O3
5024: else
5025: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5026: OPTIMISATION_F=-O3
5027: else
5028: if test $GCC_VERSION_MAJEURE -ge 3; then
5029: OPTIMISATION_F=-O2
5030: else
5031: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5032: fi
5033: fi
5034: fi
5035: fi
5036:
5037:
5038: ac_ext=c
5039: ac_cpp='$CPP $CPPFLAGS'
5040: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5041: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5042: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5043: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5044: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5045: # On Suns, sometimes $CPP names a directory.
5046: if test -n "$CPP" && test -d "$CPP"; then
5047: CPP=
5048: fi
5049: if test -z "$CPP"; then
5050: if ${ac_cv_prog_CPP+:} false; then :
5051: $as_echo_n "(cached) " >&6
5052: else
5053: # Double quotes because CPP needs to be expanded
5054: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5055: do
5056: ac_preproc_ok=false
5057: for ac_c_preproc_warn_flag in '' yes
5058: do
5059: # Use a header file that comes with gcc, so configuring glibc
5060: # with a fresh cross-compiler works.
5061: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5062: # <limits.h> exists even on freestanding compilers.
5063: # On the NeXT, cc -E runs the code through the compiler's parser,
5064: # not just through cpp. "Syntax error" is here to catch this case.
5065: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066: /* end confdefs.h. */
5067: #ifdef __STDC__
5068: # include <limits.h>
5069: #else
5070: # include <assert.h>
5071: #endif
5072: Syntax error
5073: _ACEOF
5074: if ac_fn_c_try_cpp "$LINENO"; then :
5075:
5076: else
5077: # Broken: fails on valid input.
5078: continue
5079: fi
5080: rm -f conftest.err conftest.i conftest.$ac_ext
5081:
5082: # OK, works on sane cases. Now check whether nonexistent headers
5083: # can be detected and how.
5084: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5085: /* end confdefs.h. */
5086: #include <ac_nonexistent.h>
5087: _ACEOF
5088: if ac_fn_c_try_cpp "$LINENO"; then :
5089: # Broken: success on invalid input.
5090: continue
5091: else
5092: # Passes both tests.
5093: ac_preproc_ok=:
5094: break
5095: fi
5096: rm -f conftest.err conftest.i conftest.$ac_ext
5097:
5098: done
5099: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5100: rm -f conftest.i conftest.err conftest.$ac_ext
5101: if $ac_preproc_ok; then :
5102: break
5103: fi
5104:
5105: done
5106: ac_cv_prog_CPP=$CPP
5107:
5108: fi
5109: CPP=$ac_cv_prog_CPP
5110: else
5111: ac_cv_prog_CPP=$CPP
5112: fi
5113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5114: $as_echo "$CPP" >&6; }
5115: ac_preproc_ok=false
5116: for ac_c_preproc_warn_flag in '' yes
5117: do
5118: # Use a header file that comes with gcc, so configuring glibc
5119: # with a fresh cross-compiler works.
5120: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5121: # <limits.h> exists even on freestanding compilers.
5122: # On the NeXT, cc -E runs the code through the compiler's parser,
5123: # not just through cpp. "Syntax error" is here to catch this case.
5124: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125: /* end confdefs.h. */
5126: #ifdef __STDC__
5127: # include <limits.h>
5128: #else
5129: # include <assert.h>
5130: #endif
5131: Syntax error
5132: _ACEOF
5133: if ac_fn_c_try_cpp "$LINENO"; then :
5134:
5135: else
5136: # Broken: fails on valid input.
5137: continue
5138: fi
5139: rm -f conftest.err conftest.i conftest.$ac_ext
5140:
5141: # OK, works on sane cases. Now check whether nonexistent headers
5142: # can be detected and how.
5143: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5144: /* end confdefs.h. */
5145: #include <ac_nonexistent.h>
5146: _ACEOF
5147: if ac_fn_c_try_cpp "$LINENO"; then :
5148: # Broken: success on invalid input.
5149: continue
5150: else
5151: # Passes both tests.
5152: ac_preproc_ok=:
5153: break
5154: fi
5155: rm -f conftest.err conftest.i conftest.$ac_ext
5156:
5157: done
5158: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5159: rm -f conftest.i conftest.err conftest.$ac_ext
5160: if $ac_preproc_ok; then :
5161:
5162: else
5163: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5164: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5165: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5166: See \`config.log' for more details" "$LINENO" 5; }
5167: fi
5168:
5169: ac_ext=c
5170: ac_cpp='$CPP $CPPFLAGS'
5171: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5174:
5175:
5176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5177: $as_echo_n "checking for X... " >&6; }
5178:
5179:
5180: # Check whether --with-x was given.
5181: if test "${with_x+set}" = set; then :
5182: withval=$with_x;
5183: fi
5184:
5185: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5186: if test "x$with_x" = xno; then
5187: # The user explicitly disabled X.
5188: have_x=disabled
5189: else
5190: case $x_includes,$x_libraries in #(
5191: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5192: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5193: $as_echo_n "(cached) " >&6
5194: else
5195: # One or both of the vars are not set, and there is no cached value.
5196: ac_x_includes=no ac_x_libraries=no
5197: rm -f -r conftest.dir
5198: if mkdir conftest.dir; then
5199: cd conftest.dir
5200: cat >Imakefile <<'_ACEOF'
5201: incroot:
5202: @echo incroot='${INCROOT}'
5203: usrlibdir:
5204: @echo usrlibdir='${USRLIBDIR}'
5205: libdir:
5206: @echo libdir='${LIBDIR}'
5207: _ACEOF
5208: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5209: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5210: for ac_var in incroot usrlibdir libdir; do
5211: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5212: done
5213: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5214: for ac_extension in a so sl dylib la dll; do
5215: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5216: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5217: ac_im_usrlibdir=$ac_im_libdir; break
5218: fi
5219: done
5220: # Screen out bogus values from the imake configuration. They are
5221: # bogus both because they are the default anyway, and because
5222: # using them would break gcc on systems where it needs fixed includes.
5223: case $ac_im_incroot in
5224: /usr/include) ac_x_includes= ;;
5225: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5226: esac
5227: case $ac_im_usrlibdir in
5228: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5229: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5230: esac
5231: fi
5232: cd ..
5233: rm -f -r conftest.dir
5234: fi
5235:
5236: # Standard set of common directories for X headers.
5237: # Check X11 before X11Rn because it is often a symlink to the current release.
5238: ac_x_header_dirs='
5239: /usr/X11/include
5240: /usr/X11R7/include
5241: /usr/X11R6/include
5242: /usr/X11R5/include
5243: /usr/X11R4/include
5244:
5245: /usr/include/X11
5246: /usr/include/X11R7
5247: /usr/include/X11R6
5248: /usr/include/X11R5
5249: /usr/include/X11R4
5250:
5251: /usr/local/X11/include
5252: /usr/local/X11R7/include
5253: /usr/local/X11R6/include
5254: /usr/local/X11R5/include
5255: /usr/local/X11R4/include
5256:
5257: /usr/local/include/X11
5258: /usr/local/include/X11R7
5259: /usr/local/include/X11R6
5260: /usr/local/include/X11R5
5261: /usr/local/include/X11R4
5262:
5263: /usr/X386/include
5264: /usr/x386/include
5265: /usr/XFree86/include/X11
5266:
5267: /usr/include
5268: /usr/local/include
5269: /usr/unsupported/include
5270: /usr/athena/include
5271: /usr/local/x11r5/include
5272: /usr/lpp/Xamples/include
5273:
5274: /usr/openwin/include
5275: /usr/openwin/share/include'
5276:
5277: if test "$ac_x_includes" = no; then
5278: # Guess where to find include files, by looking for Xlib.h.
5279: # First, try using that file with no special directory specified.
5280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281: /* end confdefs.h. */
5282: #include <X11/Xlib.h>
5283: _ACEOF
5284: if ac_fn_c_try_cpp "$LINENO"; then :
5285: # We can compile using X headers with no special include directory.
5286: ac_x_includes=
5287: else
5288: for ac_dir in $ac_x_header_dirs; do
5289: if test -r "$ac_dir/X11/Xlib.h"; then
5290: ac_x_includes=$ac_dir
5291: break
5292: fi
5293: done
5294: fi
5295: rm -f conftest.err conftest.i conftest.$ac_ext
5296: fi # $ac_x_includes = no
5297:
5298: if test "$ac_x_libraries" = no; then
5299: # Check for the libraries.
5300: # See if we find them without any special options.
5301: # Don't add to $LIBS permanently.
5302: ac_save_LIBS=$LIBS
5303: LIBS="-lX11 $LIBS"
5304: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305: /* end confdefs.h. */
5306: #include <X11/Xlib.h>
5307: int
5308: main ()
5309: {
5310: XrmInitialize ()
5311: ;
5312: return 0;
5313: }
5314: _ACEOF
5315: if ac_fn_c_try_link "$LINENO"; then :
5316: LIBS=$ac_save_LIBS
5317: # We can link X programs with no special library path.
5318: ac_x_libraries=
5319: else
5320: LIBS=$ac_save_LIBS
5321: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5322: do
5323: # Don't even attempt the hair of trying to link an X program!
5324: for ac_extension in a so sl dylib la dll; do
5325: if test -r "$ac_dir/libX11.$ac_extension"; then
5326: ac_x_libraries=$ac_dir
5327: break 2
5328: fi
5329: done
5330: done
5331: fi
5332: rm -f core conftest.err conftest.$ac_objext \
5333: conftest$ac_exeext conftest.$ac_ext
5334: fi # $ac_x_libraries = no
5335:
5336: case $ac_x_includes,$ac_x_libraries in #(
5337: no,* | *,no | *\'*)
5338: # Didn't find X, or a directory has "'" in its name.
5339: ac_cv_have_x="have_x=no";; #(
5340: *)
5341: # Record where we found X for the cache.
5342: ac_cv_have_x="have_x=yes\
5343: ac_x_includes='$ac_x_includes'\
5344: ac_x_libraries='$ac_x_libraries'"
5345: esac
5346: fi
5347: ;; #(
5348: *) have_x=yes;;
5349: esac
5350: eval "$ac_cv_have_x"
5351: fi # $with_x != no
5352:
5353: if test "$have_x" != yes; then
5354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5355: $as_echo "$have_x" >&6; }
5356: no_x=yes
5357: else
5358: # If each of the values was on the command line, it overrides each guess.
5359: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5360: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5361: # Update the cache value to reflect the command line values.
5362: ac_cv_have_x="have_x=yes\
5363: ac_x_includes='$x_includes'\
5364: ac_x_libraries='$x_libraries'"
5365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5366: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5367: fi
5368:
5369: if test "$no_x" = yes; then
5370: # Not all programs may use this symbol, but it does not hurt to define it.
5371:
5372: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5373:
5374: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5375: else
5376: if test -n "$x_includes"; then
5377: X_CFLAGS="$X_CFLAGS -I$x_includes"
5378: fi
5379:
5380: # It would also be nice to do this for all -L options, not just this one.
5381: if test -n "$x_libraries"; then
5382: X_LIBS="$X_LIBS -L$x_libraries"
5383: # For Solaris; some versions of Sun CC require a space after -R and
5384: # others require no space. Words are not sufficient . . . .
5385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5386: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5387: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5388: ac_xsave_c_werror_flag=$ac_c_werror_flag
5389: ac_c_werror_flag=yes
5390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391: /* end confdefs.h. */
5392:
5393: int
5394: main ()
5395: {
5396:
5397: ;
5398: return 0;
5399: }
5400: _ACEOF
5401: if ac_fn_c_try_link "$LINENO"; then :
5402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403: $as_echo "no" >&6; }
5404: X_LIBS="$X_LIBS -R$x_libraries"
5405: else
5406: LIBS="$ac_xsave_LIBS -R $x_libraries"
5407: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408: /* end confdefs.h. */
5409:
5410: int
5411: main ()
5412: {
5413:
5414: ;
5415: return 0;
5416: }
5417: _ACEOF
5418: if ac_fn_c_try_link "$LINENO"; then :
5419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5420: $as_echo "yes" >&6; }
5421: X_LIBS="$X_LIBS -R $x_libraries"
5422: else
5423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5424: $as_echo "neither works" >&6; }
5425: fi
5426: rm -f core conftest.err conftest.$ac_objext \
5427: conftest$ac_exeext conftest.$ac_ext
5428: fi
5429: rm -f core conftest.err conftest.$ac_objext \
5430: conftest$ac_exeext conftest.$ac_ext
5431: ac_c_werror_flag=$ac_xsave_c_werror_flag
5432: LIBS=$ac_xsave_LIBS
5433: fi
5434:
5435: # Check for system-dependent libraries X programs must link with.
5436: # Do this before checking for the system-independent R6 libraries
5437: # (-lICE), since we may need -lsocket or whatever for X linking.
5438:
5439: if test "$ISC" = yes; then
5440: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5441: else
5442: # Martyn Johnson says this is needed for Ultrix, if the X
5443: # libraries were built with DECnet support. And Karl Berry says
5444: # the Alpha needs dnet_stub (dnet does not exist).
5445: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5446: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447: /* end confdefs.h. */
5448:
5449: /* Override any GCC internal prototype to avoid an error.
5450: Use char because int might match the return type of a GCC
5451: builtin and then its argument prototype would still apply. */
5452: #ifdef __cplusplus
5453: extern "C"
5454: #endif
5455: char XOpenDisplay ();
5456: int
5457: main ()
5458: {
5459: return XOpenDisplay ();
5460: ;
5461: return 0;
5462: }
5463: _ACEOF
5464: if ac_fn_c_try_link "$LINENO"; then :
5465:
5466: else
5467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5468: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5469: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5470: $as_echo_n "(cached) " >&6
5471: else
5472: ac_check_lib_save_LIBS=$LIBS
5473: LIBS="-ldnet $LIBS"
5474: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475: /* end confdefs.h. */
5476:
5477: /* Override any GCC internal prototype to avoid an error.
5478: Use char because int might match the return type of a GCC
5479: builtin and then its argument prototype would still apply. */
5480: #ifdef __cplusplus
5481: extern "C"
5482: #endif
5483: char dnet_ntoa ();
5484: int
5485: main ()
5486: {
5487: return dnet_ntoa ();
5488: ;
5489: return 0;
5490: }
5491: _ACEOF
5492: if ac_fn_c_try_link "$LINENO"; then :
5493: ac_cv_lib_dnet_dnet_ntoa=yes
5494: else
5495: ac_cv_lib_dnet_dnet_ntoa=no
5496: fi
5497: rm -f core conftest.err conftest.$ac_objext \
5498: conftest$ac_exeext conftest.$ac_ext
5499: LIBS=$ac_check_lib_save_LIBS
5500: fi
5501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5502: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5503: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5504: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5505: fi
5506:
5507: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5509: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5510: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5511: $as_echo_n "(cached) " >&6
5512: else
5513: ac_check_lib_save_LIBS=$LIBS
5514: LIBS="-ldnet_stub $LIBS"
5515: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516: /* end confdefs.h. */
5517:
5518: /* Override any GCC internal prototype to avoid an error.
5519: Use char because int might match the return type of a GCC
5520: builtin and then its argument prototype would still apply. */
5521: #ifdef __cplusplus
5522: extern "C"
5523: #endif
5524: char dnet_ntoa ();
5525: int
5526: main ()
5527: {
5528: return dnet_ntoa ();
5529: ;
5530: return 0;
5531: }
5532: _ACEOF
5533: if ac_fn_c_try_link "$LINENO"; then :
5534: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5535: else
5536: ac_cv_lib_dnet_stub_dnet_ntoa=no
5537: fi
5538: rm -f core conftest.err conftest.$ac_objext \
5539: conftest$ac_exeext conftest.$ac_ext
5540: LIBS=$ac_check_lib_save_LIBS
5541: fi
5542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5543: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5544: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5545: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5546: fi
5547:
5548: fi
5549: fi
5550: rm -f core conftest.err conftest.$ac_objext \
5551: conftest$ac_exeext conftest.$ac_ext
5552: LIBS="$ac_xsave_LIBS"
5553:
5554: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5555: # to get the SysV transport functions.
5556: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5557: # needs -lnsl.
5558: # The nsl library prevents programs from opening the X display
5559: # on Irix 5.2, according to T.E. Dickey.
5560: # The functions gethostbyname, getservbyname, and inet_addr are
5561: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5562: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5563: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5564:
5565: fi
5566:
5567: if test $ac_cv_func_gethostbyname = no; then
5568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5569: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5570: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5571: $as_echo_n "(cached) " >&6
5572: else
5573: ac_check_lib_save_LIBS=$LIBS
5574: LIBS="-lnsl $LIBS"
5575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5576: /* end confdefs.h. */
5577:
5578: /* Override any GCC internal prototype to avoid an error.
5579: Use char because int might match the return type of a GCC
5580: builtin and then its argument prototype would still apply. */
5581: #ifdef __cplusplus
5582: extern "C"
5583: #endif
5584: char gethostbyname ();
5585: int
5586: main ()
5587: {
5588: return gethostbyname ();
5589: ;
5590: return 0;
5591: }
5592: _ACEOF
5593: if ac_fn_c_try_link "$LINENO"; then :
5594: ac_cv_lib_nsl_gethostbyname=yes
5595: else
5596: ac_cv_lib_nsl_gethostbyname=no
5597: fi
5598: rm -f core conftest.err conftest.$ac_objext \
5599: conftest$ac_exeext conftest.$ac_ext
5600: LIBS=$ac_check_lib_save_LIBS
5601: fi
5602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5603: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5604: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5605: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5606: fi
5607:
5608: if test $ac_cv_lib_nsl_gethostbyname = no; then
5609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5610: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5611: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5612: $as_echo_n "(cached) " >&6
5613: else
5614: ac_check_lib_save_LIBS=$LIBS
5615: LIBS="-lbsd $LIBS"
5616: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617: /* end confdefs.h. */
5618:
5619: /* Override any GCC internal prototype to avoid an error.
5620: Use char because int might match the return type of a GCC
5621: builtin and then its argument prototype would still apply. */
5622: #ifdef __cplusplus
5623: extern "C"
5624: #endif
5625: char gethostbyname ();
5626: int
5627: main ()
5628: {
5629: return gethostbyname ();
5630: ;
5631: return 0;
5632: }
5633: _ACEOF
5634: if ac_fn_c_try_link "$LINENO"; then :
5635: ac_cv_lib_bsd_gethostbyname=yes
5636: else
5637: ac_cv_lib_bsd_gethostbyname=no
5638: fi
5639: rm -f core conftest.err conftest.$ac_objext \
5640: conftest$ac_exeext conftest.$ac_ext
5641: LIBS=$ac_check_lib_save_LIBS
5642: fi
5643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5644: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5645: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5646: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5647: fi
5648:
5649: fi
5650: fi
5651:
5652: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5653: # socket/setsockopt and other routines are undefined under SCO ODT
5654: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5655: # on later versions), says Simon Leinen: it contains gethostby*
5656: # variants that don't use the name server (or something). -lsocket
5657: # must be given before -lnsl if both are needed. We assume that
5658: # if connect needs -lnsl, so does gethostbyname.
5659: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5660: if test "x$ac_cv_func_connect" = xyes; then :
5661:
5662: fi
5663:
5664: if test $ac_cv_func_connect = no; then
5665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5666: $as_echo_n "checking for connect in -lsocket... " >&6; }
5667: if ${ac_cv_lib_socket_connect+:} false; then :
5668: $as_echo_n "(cached) " >&6
5669: else
5670: ac_check_lib_save_LIBS=$LIBS
5671: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5672: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673: /* end confdefs.h. */
5674:
5675: /* Override any GCC internal prototype to avoid an error.
5676: Use char because int might match the return type of a GCC
5677: builtin and then its argument prototype would still apply. */
5678: #ifdef __cplusplus
5679: extern "C"
5680: #endif
5681: char connect ();
5682: int
5683: main ()
5684: {
5685: return connect ();
5686: ;
5687: return 0;
5688: }
5689: _ACEOF
5690: if ac_fn_c_try_link "$LINENO"; then :
5691: ac_cv_lib_socket_connect=yes
5692: else
5693: ac_cv_lib_socket_connect=no
5694: fi
5695: rm -f core conftest.err conftest.$ac_objext \
5696: conftest$ac_exeext conftest.$ac_ext
5697: LIBS=$ac_check_lib_save_LIBS
5698: fi
5699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5700: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5701: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5702: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5703: fi
5704:
5705: fi
5706:
5707: # Guillermo Gomez says -lposix is necessary on A/UX.
5708: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5709: if test "x$ac_cv_func_remove" = xyes; then :
5710:
5711: fi
5712:
5713: if test $ac_cv_func_remove = no; then
5714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5715: $as_echo_n "checking for remove in -lposix... " >&6; }
5716: if ${ac_cv_lib_posix_remove+:} false; then :
5717: $as_echo_n "(cached) " >&6
5718: else
5719: ac_check_lib_save_LIBS=$LIBS
5720: LIBS="-lposix $LIBS"
5721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5722: /* end confdefs.h. */
5723:
5724: /* Override any GCC internal prototype to avoid an error.
5725: Use char because int might match the return type of a GCC
5726: builtin and then its argument prototype would still apply. */
5727: #ifdef __cplusplus
5728: extern "C"
5729: #endif
5730: char remove ();
5731: int
5732: main ()
5733: {
5734: return remove ();
5735: ;
5736: return 0;
5737: }
5738: _ACEOF
5739: if ac_fn_c_try_link "$LINENO"; then :
5740: ac_cv_lib_posix_remove=yes
5741: else
5742: ac_cv_lib_posix_remove=no
5743: fi
5744: rm -f core conftest.err conftest.$ac_objext \
5745: conftest$ac_exeext conftest.$ac_ext
5746: LIBS=$ac_check_lib_save_LIBS
5747: fi
5748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5749: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5750: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5751: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5752: fi
5753:
5754: fi
5755:
5756: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5757: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5758: if test "x$ac_cv_func_shmat" = xyes; then :
5759:
5760: fi
5761:
5762: if test $ac_cv_func_shmat = no; then
5763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5764: $as_echo_n "checking for shmat in -lipc... " >&6; }
5765: if ${ac_cv_lib_ipc_shmat+:} false; then :
5766: $as_echo_n "(cached) " >&6
5767: else
5768: ac_check_lib_save_LIBS=$LIBS
5769: LIBS="-lipc $LIBS"
5770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771: /* end confdefs.h. */
5772:
5773: /* Override any GCC internal prototype to avoid an error.
5774: Use char because int might match the return type of a GCC
5775: builtin and then its argument prototype would still apply. */
5776: #ifdef __cplusplus
5777: extern "C"
5778: #endif
5779: char shmat ();
5780: int
5781: main ()
5782: {
5783: return shmat ();
5784: ;
5785: return 0;
5786: }
5787: _ACEOF
5788: if ac_fn_c_try_link "$LINENO"; then :
5789: ac_cv_lib_ipc_shmat=yes
5790: else
5791: ac_cv_lib_ipc_shmat=no
5792: fi
5793: rm -f core conftest.err conftest.$ac_objext \
5794: conftest$ac_exeext conftest.$ac_ext
5795: LIBS=$ac_check_lib_save_LIBS
5796: fi
5797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5798: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5799: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5800: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5801: fi
5802:
5803: fi
5804: fi
5805:
5806: # Check for libraries that X11R6 Xt/Xaw programs need.
5807: ac_save_LDFLAGS=$LDFLAGS
5808: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5809: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5810: # check for ICE first), but we must link in the order -lSM -lICE or
5811: # we get undefined symbols. So assume we have SM if we have ICE.
5812: # These have to be linked with before -lX11, unlike the other
5813: # libraries we check for below, so use a different variable.
5814: # John Interrante, Karl Berry
5815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5816: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5817: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5818: $as_echo_n "(cached) " >&6
5819: else
5820: ac_check_lib_save_LIBS=$LIBS
5821: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5822: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823: /* end confdefs.h. */
5824:
5825: /* Override any GCC internal prototype to avoid an error.
5826: Use char because int might match the return type of a GCC
5827: builtin and then its argument prototype would still apply. */
5828: #ifdef __cplusplus
5829: extern "C"
5830: #endif
5831: char IceConnectionNumber ();
5832: int
5833: main ()
5834: {
5835: return IceConnectionNumber ();
5836: ;
5837: return 0;
5838: }
5839: _ACEOF
5840: if ac_fn_c_try_link "$LINENO"; then :
5841: ac_cv_lib_ICE_IceConnectionNumber=yes
5842: else
5843: ac_cv_lib_ICE_IceConnectionNumber=no
5844: fi
5845: rm -f core conftest.err conftest.$ac_objext \
5846: conftest$ac_exeext conftest.$ac_ext
5847: LIBS=$ac_check_lib_save_LIBS
5848: fi
5849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5850: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5851: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5852: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5853: fi
5854:
5855: LDFLAGS=$ac_save_LDFLAGS
5856:
5857: fi
5858:
5859:
5860: if test "$ac_x_includes" != "no"; then
5861: if test x"$ac_x_includes" != x; then
5862: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5863: includeX="-I$ac_x_includes"
5864: fi
5865: fi
5866: if test "$ac_x_libraries" != "no"; then
5867: if test x"$ac_x_libraries" != x; then
5868: X_LIBS="$X_LIBS -L$ac_x_libraries"
5869: fi
5870: fi
5871:
5872:
5873: # Check whether --with-32bits was given.
5874: if test "${with_32bits+set}" = set; then :
5875: withval=$with_32bits;
5876: if test "$with-32bits-abi" = "no"; then
5877: ABI=
5878: else
5879: ABI=-m32
5880: fi
5881: else
5882:
5883: ABI=-m32
5884:
5885:
5886: fi
5887:
5888:
5889:
5890:
5891: # Check whether --enable-optimization was given.
5892: if test "${enable_optimization+set}" = set; then :
5893: enableval=$enable_optimization;
5894: if test "$enableval" = "no"; then
5895: CFLAGS=
5896: FFLAGS=
5897: CXXFLAGS=
5898: FCFLAGS=
5899: else
5900: CFLAGS="$CFLAGS $enable_optimization"
5901: FFLAGS="$FFLAGS $enable_optimization"
5902: FCFLAGS="$FCFLAGS $enable_optimization"
5903: fi
5904: else
5905:
5906: CFLAGS="$CFLAGS $OPTIMISATION_C"
5907: FFLAGS="$FFLAGS $OPTIMISATION_F"
5908: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5909:
5910:
5911: fi
5912:
5913:
5914: # Check whether --enable-sysv-semaphores was given.
5915: if test "${enable_sysv_semaphores+set}" = set; then :
5916: enableval=$enable_sysv_semaphores;
5917: if test "$enableval" = "no"; then
5918: IPCS_SYSV=no
5919: else
5920: IPCS_SYSV=yes
5921: fi
5922: else
5923: IPCS_SYSV=no
5924: fi
5925:
5926:
5927: # Check whether --enable-full-static was given.
5928: if test "${enable_full_static+set}" = set; then :
5929: enableval=$enable_full_static;
5930: if test "$enableval" = "no"; then
5931: STATIC=no
5932: else
5933: STATIC=yes
5934: fi
5935: else
5936: STATIC=no
5937: fi
5938:
5939:
5940: # Check whether --enable-final-encoding was given.
5941: if test "${enable_final_encoding+set}" = set; then :
5942: enableval=$enable_final_encoding;
5943: if test "$enableval" = "no"; then
5944: FINAL_ENCODING="\$(shell locale charmap | \
5945: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5946: FORCED_FINAL_ENCODING=0
5947: else
5948: FINAL_ENCODING="$enable_final_encoding"
5949: FORCED_FINAL_ENCODING=1
5950: fi
5951: else
5952:
5953: FORCED_FINAL_ENCODING=0
5954: FINAL_ENCODING="\$(shell locale charmap | \
5955: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5956: fi
5957:
5958:
5959: # Check whether --enable-tex was given.
5960: if test "${enable_tex+set}" = set; then :
5961: enableval=$enable_tex;
5962: if test "$enableval" = "no"; then
5963: TEX_SUPPORT=no
5964: else
5965: TEX_SUPPORT=yes
5966: fi
5967: else
5968: TEX_SUPPORT=guessed
5969: fi
5970:
5971:
5972: # Check whether --enable-vim was given.
5973: if test "${enable_vim+set}" = set; then :
5974: enableval=$enable_vim;
5975: if test "$enableval" = "no"; then
5976: VIM_SUPPORT=no
5977: else
5978: VIM_SUPPORT=yes
5979: fi
5980: else
5981: VIM_SUPPORT=guessed
5982: fi
5983:
5984:
5985: # Check whether --enable-embedded-gnuplot was given.
5986: if test "${enable_embedded_gnuplot+set}" = set; then :
5987: enableval=$enable_embedded_gnuplot;
5988: if test "$enableval" = "no"; then
5989: MYGNUPLOT=no
5990: else
5991: MYGNUPLOT=yes
5992: fi
5993: else
5994:
5995: MYGNUPLOT=yes
5996: fi
5997:
5998:
5999: # Check whether --enable-gnuplot was given.
6000: if test "${enable_gnuplot+set}" = set; then :
6001: enableval=$enable_gnuplot;
6002: if test "$enableval" = "no"; then
6003: GNUPLOT_SUPPORT=no
6004: MYGNUPLOT=no
6005: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6006: else
6007: GNUPLOT_SUPPORT=yes
6008: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6009: fi
6010: else
6011:
6012: if test "$MYGNUPLOT" = "yes"; then
6013: GNUPLOT_SUPPORT=yes
6014: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
6015: else
6016: GNUPLOT_SUPPORT=guessed
6017: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
6018: fi
6019: fi
6020:
6021:
6022: # Check whether --enable-motif was given.
6023: if test "${enable_motif+set}" = set; then :
6024: enableval=$enable_motif;
6025: if test "$enableval" = "no"; then
6026: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6027: else
6028: CFLAGS_ORIG=$CFLAGS
6029: LIBS_ORIG=$LIBS
6030: CFLAGS="$CFLAGS $X_CFLAGS"
6031: LIBS="$LIB $X_LIBS"
6032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6033: $as_echo_n "checking for main in -lXm... " >&6; }
6034: if ${ac_cv_lib_Xm_main+:} false; then :
6035: $as_echo_n "(cached) " >&6
6036: else
6037: ac_check_lib_save_LIBS=$LIBS
6038: LIBS="-lXm $LIBS"
6039: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040: /* end confdefs.h. */
6041:
6042:
6043: int
6044: main ()
6045: {
6046: return main ();
6047: ;
6048: return 0;
6049: }
6050: _ACEOF
6051: if ac_fn_c_try_link "$LINENO"; then :
6052: ac_cv_lib_Xm_main=yes
6053: else
6054: ac_cv_lib_Xm_main=no
6055: fi
6056: rm -f core conftest.err conftest.$ac_objext \
6057: conftest$ac_exeext conftest.$ac_ext
6058: LIBS=$ac_check_lib_save_LIBS
6059: fi
6060: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6061: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6062: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6063: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6064: else
6065: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6066: fi
6067:
6068: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
6070: Motif flag is disabled.
6071: " >&5
6072: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
6073: Motif flag is disabled.
6074: " >&2;}
6075: fi
6076: LIBS=$LIBS_ORIG
6077: CFLAGS=$CFLAGS_ORIG
6078: fi
6079: else
6080: MOTIF_SUPPORT=guessed
6081: fi
6082:
6083:
6084: # Check whether --enable-experimental was given.
6085: if test "${enable_experimental+set}" = set; then :
6086: enableval=$enable_experimental;
6087: if test "$enableval" = "no"; then
6088: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6089: else
6090: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6091: fi
6092: else
6093: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6094: fi
6095:
6096:
6097: # Check whether --enable-debug was given.
6098: if test "${enable_debug+set}" = set; then :
6099: enableval=$enable_debug;
6100: if test "$enableval" = "no"; then
6101: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6102: else
6103: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6104: fi
6105: else
6106: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6107: fi
6108:
6109:
6110: # Check whether --enable-profile was given.
6111: if test "${enable_profile+set}" = set; then :
6112: enableval=$enable_profile;
6113: if test "$enableval" = "no"; then
6114: PROFILAGE=""
6115: else
6116: PROFILAGE="-pg"
6117: fi
6118: else
6119: PROFILAGE=""
6120: fi
6121:
6122:
6123:
6124:
6125: if test ! -d tools; then
6126: mkdir tools
6127: fi
6128: if test ! -d "$srcdir"/tools/$NCURSES; then
6129: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6130: (cd "$srcdir/tools" && tar -xf -)
6131: (cd "$srcdir/tools/"$NCURSES && \
6132: for i in ../$NCURSES*.patch.gz;
6133: do gunzip -c $i | patch -p1;
6134: done);
6135: fi
6136: if test ! -d "$srcdir"/tools/$READLINE; then
6137: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6138: (cd "$srcdir/tools" && tar -xf -)
6139: fi
6140: if test ! -d "$srcdir"/tools/$UNITS; then
6141: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6142: (cd "$srcdir/tools" && tar -xf -)
6143: fi
6144: if test ! -d "$srcdir"/tools/$GSL; then
6145: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6146: (cd "$srcdir/tools" && tar -xf -)
6147: if test $(uname) = "OS/2"; then
6148: (cd "$srcdir"/tools/$GSL; \
6149: TMP=$(mktemp tmp.XXXXXXXXXX); \
6150: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6151: \mv -f $TMP ltmain.sh)
6152: fi
6153: fi
6154: if test ! -d "$srcdir"/tools/$GPP; then
6155: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6156: (cd "$srcdir/tools" && tar -xf -)
6157: fi
6158: if test ! -d "$srcdir"/tools/$FILE; then
6159: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6160: (cd "$srcdir/tools" && tar -xf - )
6161: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6162: fi
6163: if test ! -d "$srcdir"/tools/$ICONV; then
6164: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6165: (cd "$srcdir/tools" && tar -xf -)
6166: fi
6167: if test ! -d "$srcdir"/tools/$SQLITE; then
6168: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6169: (cd "$srcdir/tools" && tar -xf -)
6170: fi
6171: if test ! -d tools/$OPENSSL; then
6172: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6173: (cd tools && tar -xf -)
6174: fi
6175: if test ! -d rplcas; then
6176: mkdir rplcas
6177: fi
6178: if test ! -d "$srcdir"/rplcas/$GMP; then
6179: gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
6180: (cd "$srcdir/rplcas" && tar -xf -)
6181: fi
6182: if test ! -d "$srcdir"/rplcas/$MPFR; then
6183: gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
6184: (cd "$srcdir/rplcas" && tar -xf -)
6185: fi
6186: if test ! -d rplcas/$NTL; then
6187: gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
6188: (cd rplcas && tar -xf -)
6189: fi
6190: if test ! -d rplcas/$COCOA; then
6191: gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
6192: (cd rplcas && tar -xf -)
6193: fi
6194: if test ! -d rplcas/$PARI; then
6195: gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
6196: (cd rplcas && tar -xf -)
6197: fi
6198: if test ! -d "$srcdir"/rplcas/$GIAC; then
6199: gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
6200: (cd "$srcdir/rplcas" && tar -xf -)
6201: fi
6202:
6203:
6204:
6205: # Check whether --enable-final-run-path was given.
6206: if test "${enable_final_run_path+set}" = set; then :
6207: enableval=$enable_final_run_path;
6208: if test "x$enable_final_run_path" = "x"; then
6209: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6210: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6211: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6212: else
6213: RUNPATH="$enable_final_run_path"
6214: fi
6215:
6216: else
6217: RUNPATH="\${prefix}"
6218:
6219: fi
6220:
6221:
6222:
6223:
6224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6225: $as_echo_n "checking whether ln -s works... " >&6; }
6226: LN_S=$as_ln_s
6227: if test "$LN_S" = "ln -s"; then
6228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6229: $as_echo "yes" >&6; }
6230: else
6231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6232: $as_echo "no, using $LN_S" >&6; }
6233: fi
6234:
6235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6236: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6237: set x ${MAKE-make}
6238: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6239: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6240: $as_echo_n "(cached) " >&6
6241: else
6242: cat >conftest.make <<\_ACEOF
6243: SHELL = /bin/sh
6244: all:
6245: @echo '@@@%%%=$(MAKE)=@@@%%%'
6246: _ACEOF
6247: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6248: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6249: *@@@%%%=?*=@@@%%%*)
6250: eval ac_cv_prog_make_${ac_make}_set=yes;;
6251: *)
6252: eval ac_cv_prog_make_${ac_make}_set=no;;
6253: esac
6254: rm -f conftest.make
6255: fi
6256: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6258: $as_echo "yes" >&6; }
6259: SET_MAKE=
6260: else
6261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262: $as_echo "no" >&6; }
6263: SET_MAKE="MAKE=${MAKE-make}"
6264: fi
6265:
6266: if test -n "$ac_tool_prefix"; then
6267: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6268: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270: $as_echo_n "checking for $ac_word... " >&6; }
6271: if ${ac_cv_prog_RANLIB+:} false; then :
6272: $as_echo_n "(cached) " >&6
6273: else
6274: if test -n "$RANLIB"; then
6275: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6276: else
6277: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278: for as_dir in $PATH
6279: do
6280: IFS=$as_save_IFS
6281: test -z "$as_dir" && as_dir=.
6282: for ac_exec_ext in '' $ac_executable_extensions; do
6283: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6285: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286: break 2
6287: fi
6288: done
6289: done
6290: IFS=$as_save_IFS
6291:
6292: fi
6293: fi
6294: RANLIB=$ac_cv_prog_RANLIB
6295: if test -n "$RANLIB"; then
6296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6297: $as_echo "$RANLIB" >&6; }
6298: else
6299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300: $as_echo "no" >&6; }
6301: fi
6302:
6303:
6304: fi
6305: if test -z "$ac_cv_prog_RANLIB"; then
6306: ac_ct_RANLIB=$RANLIB
6307: # Extract the first word of "ranlib", so it can be a program name with args.
6308: set dummy ranlib; ac_word=$2
6309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310: $as_echo_n "checking for $ac_word... " >&6; }
6311: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6312: $as_echo_n "(cached) " >&6
6313: else
6314: if test -n "$ac_ct_RANLIB"; then
6315: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6316: else
6317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318: for as_dir in $PATH
6319: do
6320: IFS=$as_save_IFS
6321: test -z "$as_dir" && as_dir=.
6322: for ac_exec_ext in '' $ac_executable_extensions; do
6323: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324: ac_cv_prog_ac_ct_RANLIB="ranlib"
6325: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326: break 2
6327: fi
6328: done
6329: done
6330: IFS=$as_save_IFS
6331:
6332: fi
6333: fi
6334: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6335: if test -n "$ac_ct_RANLIB"; then
6336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6337: $as_echo "$ac_ct_RANLIB" >&6; }
6338: else
6339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340: $as_echo "no" >&6; }
6341: fi
6342:
6343: if test "x$ac_ct_RANLIB" = x; then
6344: RANLIB=":"
6345: else
6346: case $cross_compiling:$ac_tool_warned in
6347: yes:)
6348: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350: ac_tool_warned=yes ;;
6351: esac
6352: RANLIB=$ac_ct_RANLIB
6353: fi
6354: else
6355: RANLIB="$ac_cv_prog_RANLIB"
6356: fi
6357:
6358:
6359: # Extract the first word of "nawk", so it can be a program name with args.
6360: set dummy nawk; ac_word=$2
6361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362: $as_echo_n "checking for $ac_word... " >&6; }
6363: if ${ac_cv_prog_AWK+:} false; then :
6364: $as_echo_n "(cached) " >&6
6365: else
6366: if test -n "$AWK"; then
6367: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6368: else
6369: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370: for as_dir in $PATH
6371: do
6372: IFS=$as_save_IFS
6373: test -z "$as_dir" && as_dir=.
6374: for ac_exec_ext in '' $ac_executable_extensions; do
6375: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376: ac_cv_prog_AWK="yes"
6377: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378: break 2
6379: fi
6380: done
6381: done
6382: IFS=$as_save_IFS
6383:
6384: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6385: fi
6386: fi
6387: AWK=$ac_cv_prog_AWK
6388: if test -n "$AWK"; then
6389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6390: $as_echo "$AWK" >&6; }
6391: else
6392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393: $as_echo "no" >&6; }
6394: fi
6395:
6396:
6397: if test "$AWK" = no; then
6398: # Extract the first word of "gawk", so it can be a program name with args.
6399: set dummy gawk; ac_word=$2
6400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401: $as_echo_n "checking for $ac_word... " >&6; }
6402: if ${ac_cv_prog_AWK+:} false; then :
6403: $as_echo_n "(cached) " >&6
6404: else
6405: if test -n "$AWK"; then
6406: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6407: else
6408: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409: for as_dir in $PATH
6410: do
6411: IFS=$as_save_IFS
6412: test -z "$as_dir" && as_dir=.
6413: for ac_exec_ext in '' $ac_executable_extensions; do
6414: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415: ac_cv_prog_AWK="yes"
6416: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417: break 2
6418: fi
6419: done
6420: done
6421: IFS=$as_save_IFS
6422:
6423: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6424: fi
6425: fi
6426: AWK=$ac_cv_prog_AWK
6427: if test -n "$AWK"; then
6428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6429: $as_echo "$AWK" >&6; }
6430: else
6431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432: $as_echo "no" >&6; }
6433: fi
6434:
6435:
6436: if test "$AWK" = no; then
6437: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6438: fi
6439: fi
6440:
6441: # Extract the first word of "sed", so it can be a program name with args.
6442: set dummy sed; ac_word=$2
6443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444: $as_echo_n "checking for $ac_word... " >&6; }
6445: if ${ac_cv_prog_SED+:} false; then :
6446: $as_echo_n "(cached) " >&6
6447: else
6448: if test -n "$SED"; then
6449: ac_cv_prog_SED="$SED" # Let the user override the test.
6450: else
6451: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452: for as_dir in $PATH
6453: do
6454: IFS=$as_save_IFS
6455: test -z "$as_dir" && as_dir=.
6456: for ac_exec_ext in '' $ac_executable_extensions; do
6457: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458: ac_cv_prog_SED="yes"
6459: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460: break 2
6461: fi
6462: done
6463: done
6464: IFS=$as_save_IFS
6465:
6466: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6467: fi
6468: fi
6469: SED=$ac_cv_prog_SED
6470: if test -n "$SED"; then
6471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6472: $as_echo "$SED" >&6; }
6473: else
6474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475: $as_echo "no" >&6; }
6476: fi
6477:
6478:
6479: if test "$SED" = no; then
6480: as_fn_error $? "Can not find sed !" "$LINENO" 5
6481: fi
6482:
6483: if test "$TEX_SUPPORT" = guessed; then
6484: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6485:
6486: # Extract the first word of "tex", so it can be a program name with args.
6487: set dummy tex; ac_word=$2
6488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489: $as_echo_n "checking for $ac_word... " >&6; }
6490: if ${ac_cv_prog_TEX+:} false; then :
6491: $as_echo_n "(cached) " >&6
6492: else
6493: if test -n "$TEX"; then
6494: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6495: else
6496: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497: for as_dir in $PATH
6498: do
6499: IFS=$as_save_IFS
6500: test -z "$as_dir" && as_dir=.
6501: for ac_exec_ext in '' $ac_executable_extensions; do
6502: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503: ac_cv_prog_TEX="yes"
6504: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505: break 2
6506: fi
6507: done
6508: done
6509: IFS=$as_save_IFS
6510:
6511: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6512: fi
6513: fi
6514: TEX=$ac_cv_prog_TEX
6515: if test -n "$TEX"; then
6516: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6517: $as_echo "$TEX" >&6; }
6518: else
6519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520: $as_echo "no" >&6; }
6521: fi
6522:
6523:
6524: if test "$TEX" = no; then
6525: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6526: Download at http://tex.loria.fr/
6527: " >&5
6528: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6529: Download at http://tex.loria.fr/
6530: " >&2;}
6531: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6532: fi
6533:
6534: # Extract the first word of "latex", so it can be a program name with args.
6535: set dummy latex; ac_word=$2
6536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537: $as_echo_n "checking for $ac_word... " >&6; }
6538: if ${ac_cv_prog_LATEX+:} false; then :
6539: $as_echo_n "(cached) " >&6
6540: else
6541: if test -n "$LATEX"; then
6542: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6543: else
6544: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545: for as_dir in $PATH
6546: do
6547: IFS=$as_save_IFS
6548: test -z "$as_dir" && as_dir=.
6549: for ac_exec_ext in '' $ac_executable_extensions; do
6550: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551: ac_cv_prog_LATEX="yes"
6552: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553: break 2
6554: fi
6555: done
6556: done
6557: IFS=$as_save_IFS
6558:
6559: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6560: fi
6561: fi
6562: LATEX=$ac_cv_prog_LATEX
6563: if test -n "$LATEX"; then
6564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6565: $as_echo "$LATEX" >&6; }
6566: else
6567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568: $as_echo "no" >&6; }
6569: fi
6570:
6571:
6572: if test "$LATEX" = no; then
6573: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6574: Download at http://tex.loria.fr/
6575: " >&5
6576: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6577: Download at http://tex.loria.fr/
6578: " >&2;}
6579: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6580: fi
6581:
6582: # Extract the first word of "dvips", so it can be a program name with args.
6583: set dummy dvips; ac_word=$2
6584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585: $as_echo_n "checking for $ac_word... " >&6; }
6586: if ${ac_cv_prog_DVIPS+:} false; then :
6587: $as_echo_n "(cached) " >&6
6588: else
6589: if test -n "$DVIPS"; then
6590: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6591: else
6592: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593: for as_dir in $PATH
6594: do
6595: IFS=$as_save_IFS
6596: test -z "$as_dir" && as_dir=.
6597: for ac_exec_ext in '' $ac_executable_extensions; do
6598: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599: ac_cv_prog_DVIPS="yes"
6600: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601: break 2
6602: fi
6603: done
6604: done
6605: IFS=$as_save_IFS
6606:
6607: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6608: fi
6609: fi
6610: DVIPS=$ac_cv_prog_DVIPS
6611: if test -n "$DVIPS"; then
6612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6613: $as_echo "$DVIPS" >&6; }
6614: else
6615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616: $as_echo "no" >&6; }
6617: fi
6618:
6619:
6620: if test "$DVIPS" = no; then
6621: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6622: Download at http://tex.loria.fr/
6623: " >&5
6624: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6625: Download at http://tex.loria.fr/
6626: " >&2;}
6627: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6628: fi
6629:
6630: # Extract the first word of "gs", so it can be a program name with args.
6631: set dummy gs; ac_word=$2
6632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633: $as_echo_n "checking for $ac_word... " >&6; }
6634: if ${ac_cv_prog_GS+:} false; then :
6635: $as_echo_n "(cached) " >&6
6636: else
6637: if test -n "$GS"; then
6638: ac_cv_prog_GS="$GS" # Let the user override the test.
6639: else
6640: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641: for as_dir in $PATH
6642: do
6643: IFS=$as_save_IFS
6644: test -z "$as_dir" && as_dir=.
6645: for ac_exec_ext in '' $ac_executable_extensions; do
6646: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647: ac_cv_prog_GS="yes"
6648: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649: break 2
6650: fi
6651: done
6652: done
6653: IFS=$as_save_IFS
6654:
6655: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6656: fi
6657: fi
6658: GS=$ac_cv_prog_GS
6659: if test -n "$GS"; then
6660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6661: $as_echo "$GS" >&6; }
6662: else
6663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664: $as_echo "no" >&6; }
6665: fi
6666:
6667:
6668: if test "$GS" = no; then
6669: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6670: Download at http://ftp.lip6.fr/
6671: " >&5
6672: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6673: Download at http://ftp.lip6.fr/
6674: " >&2;}
6675: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6676: fi
6677:
6678: # Extract the first word of "gv", so it can be a program name with args.
6679: set dummy gv; ac_word=$2
6680: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681: $as_echo_n "checking for $ac_word... " >&6; }
6682: if ${ac_cv_prog_GV+:} false; then :
6683: $as_echo_n "(cached) " >&6
6684: else
6685: if test -n "$GV"; then
6686: ac_cv_prog_GV="$GV" # Let the user override the test.
6687: else
6688: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689: for as_dir in $PATH
6690: do
6691: IFS=$as_save_IFS
6692: test -z "$as_dir" && as_dir=.
6693: for ac_exec_ext in '' $ac_executable_extensions; do
6694: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695: ac_cv_prog_GV="yes"
6696: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697: break 2
6698: fi
6699: done
6700: done
6701: IFS=$as_save_IFS
6702:
6703: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6704: fi
6705: fi
6706: GV=$ac_cv_prog_GV
6707: if test -n "$GV"; then
6708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6709: $as_echo "$GV" >&6; }
6710: else
6711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712: $as_echo "no" >&6; }
6713: fi
6714:
6715:
6716: if test "$GV" = no; then
6717: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6718: Download at http://ftp.lip6.fr/
6719: " >&5
6720: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6721: Download at http://ftp.lip6.fr/
6722: " >&2;}
6723: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6724: fi
6725: else
6726: if test "$TEX_SUPPORT" = no; then
6727: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6728: else
6729: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6730: fi
6731: fi
6732:
6733: if test "$GNUPLOT_SUPPORT" = guessed; then
6734: # Extract the first word of "gnuplot", so it can be a program name with args.
6735: set dummy gnuplot; ac_word=$2
6736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737: $as_echo_n "checking for $ac_word... " >&6; }
6738: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6739: $as_echo_n "(cached) " >&6
6740: else
6741: if test -n "$GNUPLOT_P"; then
6742: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6743: else
6744: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745: for as_dir in $PATH
6746: do
6747: IFS=$as_save_IFS
6748: test -z "$as_dir" && as_dir=.
6749: for ac_exec_ext in '' $ac_executable_extensions; do
6750: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751: ac_cv_prog_GNUPLOT_P="yes"
6752: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753: break 2
6754: fi
6755: done
6756: done
6757: IFS=$as_save_IFS
6758:
6759: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6760: fi
6761: fi
6762: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6763: if test -n "$GNUPLOT_P"; then
6764: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6765: $as_echo "$GNUPLOT_P" >&6; }
6766: else
6767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768: $as_echo "no" >&6; }
6769: fi
6770:
6771:
6772: if test "$GNUPLOT_P" = no; then
6773: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6774: Download at http://www.gnuplot.vt.edu/
6775: " >&5
6776: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6777: Download at http://www.gnuplot.vt.edu/
6778: " >&2;}
6779: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6780: else
6781: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6782: fi
6783: else
6784: if test "$GNUPLOT_SUPPORT" = no; then
6785: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6786: else
6787: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6788: fi
6789: fi
6790:
6791: if test "$VIM_SUPPORT" = guessed; then
6792: # Extract the first word of "vim", so it can be a program name with args.
6793: set dummy vim; ac_word=$2
6794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795: $as_echo_n "checking for $ac_word... " >&6; }
6796: if ${ac_cv_prog_VIM+:} false; then :
6797: $as_echo_n "(cached) " >&6
6798: else
6799: if test -n "$VIM"; then
6800: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6801: else
6802: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803: for as_dir in $PATH
6804: do
6805: IFS=$as_save_IFS
6806: test -z "$as_dir" && as_dir=.
6807: for ac_exec_ext in '' $ac_executable_extensions; do
6808: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809: ac_cv_prog_VIM="yes"
6810: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811: break 2
6812: fi
6813: done
6814: done
6815: IFS=$as_save_IFS
6816:
6817: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6818: fi
6819: fi
6820: VIM=$ac_cv_prog_VIM
6821: if test -n "$VIM"; then
6822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6823: $as_echo "$VIM" >&6; }
6824: else
6825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826: $as_echo "no" >&6; }
6827: fi
6828:
6829:
6830: if test "$VIM" = no; then
6831: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6832: Download at http://www.vim.org/
6833: " >&5
6834: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6835: Download at http://www.vim.org/
6836: " >&2;}
6837: VIM_SUPPORT="-UVIM_SUPPORT"
6838: else
6839: VIM_SUPPORT="-DVIM_SUPPORT"
6840: fi
6841: else
6842: if test "$VIM_SUPPORT" = no; then
6843: VIM_SUPPORT="-UVIM_SUPPORT"
6844: else
6845: VIM_SUPPORT="-DVIM_SUPPORT"
6846: fi
6847: fi
6848:
6849: if test "$MOTIF_SUPPORT" = guessed; then
6850: CFLAGS_ORIG=$CFLAGS
6851: LIBS_ORIG=$LIBS
6852: CFLAGS="$CFLAGS $X_CFLAGS"
6853: LIBS="$LIB $X_LIBS"
6854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6855: $as_echo_n "checking for main in -lXm... " >&6; }
6856: if ${ac_cv_lib_Xm_main+:} false; then :
6857: $as_echo_n "(cached) " >&6
6858: else
6859: ac_check_lib_save_LIBS=$LIBS
6860: LIBS="-lXm $LIBS"
6861: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862: /* end confdefs.h. */
6863:
6864:
6865: int
6866: main ()
6867: {
6868: return main ();
6869: ;
6870: return 0;
6871: }
6872: _ACEOF
6873: if ac_fn_c_try_link "$LINENO"; then :
6874: ac_cv_lib_Xm_main=yes
6875: else
6876: ac_cv_lib_Xm_main=no
6877: fi
6878: rm -f core conftest.err conftest.$ac_objext \
6879: conftest$ac_exeext conftest.$ac_ext
6880: LIBS=$ac_check_lib_save_LIBS
6881: fi
6882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6883: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6884: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6885: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6886: else
6887: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6888: fi
6889:
6890: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6891: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6892: Motif flag is disabled.
6893: " >&5
6894: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6895: Motif flag is disabled.
6896: " >&2;}
6897: fi
6898: LIBS=$LIBS_ORIG
6899: CFLAGS=$CFLAGS_ORIG
6900: fi
6901:
6902: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6903: CFLAGS_ORIG=$CFLAGS
6904: LIBS_ORIG=$LIBS
6905: CFLAGS="$CFLAGS $X_CFLAGS"
6906: LIBS="$LIB $X_LIBS"
6907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6908: $as_echo_n "checking for main in -lXpm... " >&6; }
6909: if ${ac_cv_lib_Xpm_main+:} false; then :
6910: $as_echo_n "(cached) " >&6
6911: else
6912: ac_check_lib_save_LIBS=$LIBS
6913: LIBS="-lXpm $LIBS"
6914: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915: /* end confdefs.h. */
6916:
6917:
6918: int
6919: main ()
6920: {
6921: return main ();
6922: ;
6923: return 0;
6924: }
6925: _ACEOF
6926: if ac_fn_c_try_link "$LINENO"; then :
6927: ac_cv_lib_Xpm_main=yes
6928: else
6929: ac_cv_lib_Xpm_main=no
6930: fi
6931: rm -f core conftest.err conftest.$ac_objext \
6932: conftest$ac_exeext conftest.$ac_ext
6933: LIBS=$ac_check_lib_save_LIBS
6934: fi
6935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6936: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6937: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
6938: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6939: else
6940: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6941: fi
6942:
6943: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6944: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6945: else
6946: libX=""
6947: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6948: Motif flag is disabled.
6949: " >&5
6950: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6951: Motif flag is disabled.
6952: " >&2;}
6953: fi
6954: LIBS=$LIBS_ORIG
6955: CFLAGS=$CFLAGS_ORIG
6956: else
6957: libX=""
6958: fi
6959:
6960:
6961:
6962:
6963:
6964:
6965:
6966:
6967:
6968:
6969:
6970: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6971:
6972:
6973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6974: $as_echo_n "checking for main in -lm... " >&6; }
6975: if ${ac_cv_lib_m_main+:} false; then :
6976: $as_echo_n "(cached) " >&6
6977: else
6978: ac_check_lib_save_LIBS=$LIBS
6979: LIBS="-lm $LIBS"
6980: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981: /* end confdefs.h. */
6982:
6983:
6984: int
6985: main ()
6986: {
6987: return main ();
6988: ;
6989: return 0;
6990: }
6991: _ACEOF
6992: if ac_fn_c_try_link "$LINENO"; then :
6993: ac_cv_lib_m_main=yes
6994: else
6995: ac_cv_lib_m_main=no
6996: fi
6997: rm -f core conftest.err conftest.$ac_objext \
6998: conftest$ac_exeext conftest.$ac_ext
6999: LIBS=$ac_check_lib_save_LIBS
7000: fi
7001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
7002: $as_echo "$ac_cv_lib_m_main" >&6; }
7003: if test "x$ac_cv_lib_m_main" = xyes; then :
7004: cat >>confdefs.h <<_ACEOF
7005: #define HAVE_LIBM 1
7006: _ACEOF
7007:
7008: LIBS="-lm $LIBS"
7009:
7010: else
7011: as_fn_error $? "Can not find libm !" "$LINENO" 5
7012: fi
7013:
7014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
7015: $as_echo_n "checking for main in -lpthread... " >&6; }
7016: if ${ac_cv_lib_pthread_main+:} false; then :
7017: $as_echo_n "(cached) " >&6
7018: else
7019: ac_check_lib_save_LIBS=$LIBS
7020: LIBS="-lpthread $LIBS"
7021: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022: /* end confdefs.h. */
7023:
7024:
7025: int
7026: main ()
7027: {
7028: return main ();
7029: ;
7030: return 0;
7031: }
7032: _ACEOF
7033: if ac_fn_c_try_link "$LINENO"; then :
7034: ac_cv_lib_pthread_main=yes
7035: else
7036: ac_cv_lib_pthread_main=no
7037: fi
7038: rm -f core conftest.err conftest.$ac_objext \
7039: conftest$ac_exeext conftest.$ac_ext
7040: LIBS=$ac_check_lib_save_LIBS
7041: fi
7042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
7043: $as_echo "$ac_cv_lib_pthread_main" >&6; }
7044: if test "x$ac_cv_lib_pthread_main" = xyes; then :
7045: cat >>confdefs.h <<_ACEOF
7046: #define HAVE_LIBPTHREAD 1
7047: _ACEOF
7048:
7049: LIBS="-lpthread $LIBS"
7050:
7051: else
7052: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
7053: fi
7054:
7055:
7056: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
7057: #include <sys/sem.h>
7058:
7059: "
7060: if test "x$ac_cv_type_union_semun" = xyes; then :
7061: SEMUN=-DUNION_SEMUN
7062: else
7063: SEMUN=-UUNION_SEMUN
7064: fi
7065:
7066:
7067: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7068: #include <sys/types.h>
7069: #include <netinet/in.h>
7070:
7071: "
7072: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7073: IPV6=-DIPV6
7074: else
7075: IPV6=-UIPV6
7076: fi
7077:
7078:
7079: if test "$CYGWIN" != yes; then
7080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7081: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7082: if ${ac_cv_lib_dl_dlopen+:} false; then :
7083: $as_echo_n "(cached) " >&6
7084: else
7085: ac_check_lib_save_LIBS=$LIBS
7086: LIBS="-ldl $LIBS"
7087: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088: /* end confdefs.h. */
7089:
7090: /* Override any GCC internal prototype to avoid an error.
7091: Use char because int might match the return type of a GCC
7092: builtin and then its argument prototype would still apply. */
7093: #ifdef __cplusplus
7094: extern "C"
7095: #endif
7096: char dlopen ();
7097: int
7098: main ()
7099: {
7100: return dlopen ();
7101: ;
7102: return 0;
7103: }
7104: _ACEOF
7105: if ac_fn_c_try_link "$LINENO"; then :
7106: ac_cv_lib_dl_dlopen=yes
7107: else
7108: ac_cv_lib_dl_dlopen=no
7109: fi
7110: rm -f core conftest.err conftest.$ac_objext \
7111: conftest$ac_exeext conftest.$ac_ext
7112: LIBS=$ac_check_lib_save_LIBS
7113: fi
7114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7115: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7116: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7117: LIBS="$LIBS -ldl"
7118: else
7119: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7120: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7121: fi
7122:
7123: fi
7124:
7125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7126: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7127: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7128: $as_echo_n "(cached) " >&6
7129: else
7130: ac_check_lib_save_LIBS=$LIBS
7131: LIBS="-lrt $LIBS"
7132: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133: /* end confdefs.h. */
7134:
7135: /* Override any GCC internal prototype to avoid an error.
7136: Use char because int might match the return type of a GCC
7137: builtin and then its argument prototype would still apply. */
7138: #ifdef __cplusplus
7139: extern "C"
7140: #endif
7141: char nanosleep ();
7142: int
7143: main ()
7144: {
7145: return nanosleep ();
7146: ;
7147: return 0;
7148: }
7149: _ACEOF
7150: if ac_fn_c_try_link "$LINENO"; then :
7151: ac_cv_lib_rt_nanosleep=yes
7152: else
7153: ac_cv_lib_rt_nanosleep=no
7154: fi
7155: rm -f core conftest.err conftest.$ac_objext \
7156: conftest$ac_exeext conftest.$ac_ext
7157: LIBS=$ac_check_lib_save_LIBS
7158: fi
7159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7160: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7161: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7162: LIBS="$LIBS -lrt"
7163: else
7164: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7165: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7166: fi
7167:
7168:
7169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7170: $as_echo_n "checking for bind in -lsocket... " >&6; }
7171: if ${ac_cv_lib_socket_bind+:} false; then :
7172: $as_echo_n "(cached) " >&6
7173: else
7174: ac_check_lib_save_LIBS=$LIBS
7175: LIBS="-lsocket $LIBS"
7176: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177: /* end confdefs.h. */
7178:
7179: /* Override any GCC internal prototype to avoid an error.
7180: Use char because int might match the return type of a GCC
7181: builtin and then its argument prototype would still apply. */
7182: #ifdef __cplusplus
7183: extern "C"
7184: #endif
7185: char bind ();
7186: int
7187: main ()
7188: {
7189: return bind ();
7190: ;
7191: return 0;
7192: }
7193: _ACEOF
7194: if ac_fn_c_try_link "$LINENO"; then :
7195: ac_cv_lib_socket_bind=yes
7196: else
7197: ac_cv_lib_socket_bind=no
7198: fi
7199: rm -f core conftest.err conftest.$ac_objext \
7200: conftest$ac_exeext conftest.$ac_ext
7201: LIBS=$ac_check_lib_save_LIBS
7202: fi
7203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7204: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7205: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7206: LIBS="$LIBS -lsocket"
7207: else
7208: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7209: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7210: fi
7211:
7212:
7213: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7214:
7215: # Check whether --with-mysql was given.
7216: if test "${with_mysql+set}" = set; then :
7217: withval=$with_mysql;
7218: else
7219: with_mysql=check
7220: fi
7221:
7222:
7223: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7224: libMySQLinc="-I/usr/include"
7225: libMySQLlib="/usr/lib"
7226:
7227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7228: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7229: saved_CFLAGS="$CFLAGS"
7230: CFLAGS="$CFLAGS -L/$libMySQLinc"
7231: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232: /* end confdefs.h. */
7233: #include "mysql.h"
7234: int
7235: main ()
7236: {
7237:
7238: ;
7239: return 0;
7240: }
7241: _ACEOF
7242: if ac_fn_c_try_compile "$LINENO"; then :
7243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7244: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7245: libMySQLinc=$libMySQLinc/mysql
7246: else
7247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7249: fi
7250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251: CFLAGS=$saved_CFLAGS
7252:
7253: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7255: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7256: saved_CFLAGS="$CFLAGS"
7257: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7258: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259: /* end confdefs.h. */
7260: #include "mysql.h"
7261: int
7262: main ()
7263: {
7264:
7265: ;
7266: return 0;
7267: }
7268: _ACEOF
7269: if ac_fn_c_try_compile "$LINENO"; then :
7270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7271: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7272: libMySQLinc=$libMySQLinc
7273: else
7274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7276: fi
7277: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7278: CFLAGS=$saved_CFLAGS
7279: libMySQLinc=$libMySQLinc/mysql
7280: fi
7281:
7282: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7284: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7285: saved_CFLAGS="$CFLAGS"
7286: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7287: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288: /* end confdefs.h. */
7289: #include "mysql.h"
7290: int
7291: main ()
7292: {
7293:
7294: ;
7295: return 0;
7296: }
7297: _ACEOF
7298: if ac_fn_c_try_compile "$LINENO"; then :
7299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7300: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7301: libMySQLinc=$libMySQLinc/mysql
7302: else
7303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7305: fi
7306: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7307: CFLAGS=$saved_CFLAGS
7308: libMySQLinc=$libMySQLinc/../local/include
7309: libMySQLlib=$libMySQLlib/../local/lib
7310: fi
7311:
7312: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7314: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7315: saved_CFLAGS="$CFLAGS"
7316: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7317: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7318: /* end confdefs.h. */
7319: #include "mysql.h"
7320: int
7321: main ()
7322: {
7323:
7324: ;
7325: return 0;
7326: }
7327: _ACEOF
7328: if ac_fn_c_try_compile "$LINENO"; then :
7329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7330: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7331: libMySQLinc=$libMySQLinc/mysql
7332: else
7333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7335: fi
7336: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337: CFLAGS=$saved_CFLAGS
7338: libMySQLinc=$libMySQLinc/../local/include/mysql
7339: libMySQLlib=$libMySQLlib/../local/lib
7340: fi
7341: else
7342: if test "x$with_mysql" != xno; then
7343: libMySQLinc="-I$with_mysql/include"
7344: libMySQLlib="$with_mysql/lib"
7345:
7346: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7347: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7348: saved_CFLAGS="$CFLAGS"
7349: CFLAGS="$CFLAGS $libMySQLinc"
7350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351: /* end confdefs.h. */
7352: #include "mysql.h"
7353: int
7354: main ()
7355: {
7356:
7357: ;
7358: return 0;
7359: }
7360: _ACEOF
7361: if ac_fn_c_try_compile "$LINENO"; then :
7362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7363: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7364: libMySQLinc=$libMySQLinc/mysql
7365: else
7366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7368: fi
7369: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7370: CFLAGS=$saved_CFLAGS
7371:
7372: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7374: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7375: saved_CFLAGS="$CFLAGS"
7376: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7377: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378: /* end confdefs.h. */
7379: #include "mysql.h"
7380: int
7381: main ()
7382: {
7383:
7384: ;
7385: return 0;
7386: }
7387: _ACEOF
7388: if ac_fn_c_try_compile "$LINENO"; then :
7389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7390: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7391: libMySQLinc=$libMySQLinc
7392: else
7393: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7395: fi
7396: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7397: CFLAGS=$saved_CFLAGS
7398: libMySQLinc=$libMySQLinc/mysql
7399: fi
7400: else
7401: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7402: fi
7403: fi
7404:
7405: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7406: MYSQL_LIB=no
7407:
7408: if test $MYSQL_LIB = no; then
7409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7410: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7411: saved_LIBS="$LIBS"
7412: if test $STATIC = no; then
7413: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7414: else
7415: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7416: fi
7417: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418: /* end confdefs.h. */
7419: #include "mysql.h"
7420: int
7421: main ()
7422: {
7423: MYSQL mysql; mysql_init(&mysql);
7424: ;
7425: return 0;
7426: }
7427: _ACEOF
7428: if ac_fn_c_try_link "$LINENO"; then :
7429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7430: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7431: else
7432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433: $as_echo "no" >&6; }; MYSQL_LIB="no"
7434: fi
7435: rm -f core conftest.err conftest.$ac_objext \
7436: conftest$ac_exeext conftest.$ac_ext
7437: LIBS=$saved_LIBS;
7438: if test $STATIC = no; then
7439: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7440: else
7441: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7442: EXT_SQL="$EXT_SQL $libMySQLlib"
7443: fi
7444: fi
7445:
7446: if test $MYSQL_LIB = no; then
7447: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7448: fi
7449: fi
7450:
7451: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7452: libMySQLinc=
7453: libMySQLlib=
7454: fi
7455:
7456:
7457:
7458:
7459:
7460: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7461:
7462: # Check whether --with-postgresql was given.
7463: if test "${with_postgresql+set}" = set; then :
7464: withval=$with_postgresql;
7465: else
7466: with_postgresql=check
7467: fi
7468:
7469:
7470: # with_postgresql : check [pas défini], yes [uniquement --with],
7471: # no [--without], valeur [--with=valeur].
7472:
7473: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7474: libPgSQLinc="-I/usr/include"
7475: libPgSQLlib="/usr/lib"
7476:
7477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7478: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7479: saved_CFLAGS="$CFLAGS"
7480: CFLAGS="$CFLAGS $libPgSQLinc"
7481: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482: /* end confdefs.h. */
7483: #include "libpq-fe.h"
7484: int
7485: main ()
7486: {
7487:
7488: ;
7489: return 0;
7490: }
7491: _ACEOF
7492: if ac_fn_c_try_compile "$LINENO"; then :
7493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7494: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7495: else
7496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7498: fi
7499: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7500: CFLAGS=$saved_CFLAGS
7501:
7502: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7504: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7505: saved_CFLAGS="$CFLAGS"
7506: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7507: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508: /* end confdefs.h. */
7509: #include "libpq-fe.h"
7510: int
7511: main ()
7512: {
7513:
7514: ;
7515: return 0;
7516: }
7517: _ACEOF
7518: if ac_fn_c_try_compile "$LINENO"; then :
7519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7520: $as_echo "yes" >&6; };
7521: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7522: else
7523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524: $as_echo "no" >&6; };
7525: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7526: fi
7527: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528: CFLAGS=$saved_CFLAGS
7529: libPgSQLinc=$libPgSQLinc/postgresql
7530: fi
7531:
7532: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7534: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7535: saved_CFLAGS="$CFLAGS"
7536: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7537: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538: /* end confdefs.h. */
7539: #include "libpq-fe.h"
7540: int
7541: main ()
7542: {
7543:
7544: ;
7545: return 0;
7546: }
7547: _ACEOF
7548: if ac_fn_c_try_compile "$LINENO"; then :
7549: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7550: $as_echo "yes" >&6; };
7551: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7552: else
7553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554: $as_echo "no" >&6; };
7555: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7556: fi
7557: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558: CFLAGS=$saved_CFLAGS
7559: libPgSQLinc=$libPgSQLinc/pgsql
7560: fi
7561:
7562: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7563: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7564: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7565: saved_CFLAGS="$CFLAGS"
7566: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7567: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568: /* end confdefs.h. */
7569: #include "libpq-fe.h"
7570: int
7571: main ()
7572: {
7573:
7574: ;
7575: return 0;
7576: }
7577: _ACEOF
7578: if ac_fn_c_try_compile "$LINENO"; then :
7579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7580: $as_echo "yes" >&6; };
7581: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7582: else
7583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584: $as_echo "no" >&6; };
7585: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7586: fi
7587: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588: CFLAGS=$saved_CFLAGS
7589: libPgSQLinc=$libPgSQLinc/../local/include
7590: libPgSQLlib=$libPgSQLlib/../local/lib
7591: fi
7592:
7593: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7595: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7596: saved_CFLAGS="$CFLAGS"
7597: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599: /* end confdefs.h. */
7600: #include "libpq-fe.h"
7601: int
7602: main ()
7603: {
7604:
7605: ;
7606: return 0;
7607: }
7608: _ACEOF
7609: if ac_fn_c_try_compile "$LINENO"; then :
7610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7611: $as_echo "yes" >&6; };
7612: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7613: else
7614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615: $as_echo "no" >&6; };
7616: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7617: fi
7618: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619: CFLAGS=$saved_CFLAGS
7620: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7621: libPgSQLlib=$libPgSQLlib/../local/lib
7622: fi
7623:
7624: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7626: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7627: saved_CFLAGS="$CFLAGS"
7628: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7629: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630: /* end confdefs.h. */
7631: #include "libpq-fe.h"
7632: int
7633: main ()
7634: {
7635:
7636: ;
7637: return 0;
7638: }
7639: _ACEOF
7640: if ac_fn_c_try_compile "$LINENO"; then :
7641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7642: $as_echo "yes" >&6; };
7643: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7644: else
7645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646: $as_echo "no" >&6; };
7647: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7648: fi
7649: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7650: CFLAGS=$saved_CFLAGS
7651: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7652: libPgSQLlib=$libPgSQLlib/../local/lib
7653: fi
7654: else
7655: if test "x$with_postgresql" != xno; then
7656: libPgSQLinc="-I$with_postgresql/include"
7657: libPgSQLlib="$with_postgresql/lib"
7658:
7659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7660: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7661: saved_CFLAGS="$CFLAGS"
7662: CFLAGS="$CFLAGS $libPgSQLinc"
7663: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664: /* end confdefs.h. */
7665: #include "libpq-fe.h"
7666: int
7667: main ()
7668: {
7669:
7670: ;
7671: return 0;
7672: }
7673: _ACEOF
7674: if ac_fn_c_try_compile "$LINENO"; then :
7675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7676: $as_echo "yes" >&6; };
7677: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7678: else
7679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680: $as_echo "no" >&6; };
7681: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7682: fi
7683: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7684: CFLAGS=$saved_CFLAGS
7685:
7686: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7688: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7689: saved_CFLAGS="$CFLAGS"
7690: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7691: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7692: /* end confdefs.h. */
7693: #include "libpq-fe.h"
7694: int
7695: main ()
7696: {
7697:
7698: ;
7699: return 0;
7700: }
7701: _ACEOF
7702: if ac_fn_c_try_compile "$LINENO"; then :
7703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7704: $as_echo "yes" >&6; };
7705: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7706: else
7707: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708: $as_echo "no" >&6; };
7709: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7710: fi
7711: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7712: CFLAGS=$saved_CFLAGS
7713: libPgSQLinc=$libPgSQLinc/postgresql
7714: fi
7715:
7716: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7718: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7719: saved_CFLAGS="$CFLAGS"
7720: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722: /* end confdefs.h. */
7723: #include "libpq-fe.h"
7724: int
7725: main ()
7726: {
7727:
7728: ;
7729: return 0;
7730: }
7731: _ACEOF
7732: if ac_fn_c_try_compile "$LINENO"; then :
7733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7734: $as_echo "yes" >&6; };
7735: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7736: else
7737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738: $as_echo "no" >&6; };
7739: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7740: fi
7741: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7742: CFLAGS=$saved_CFLAGS
7743: libPgSQLinc=$libPgSQLinc/pgsql
7744: fi
7745: else
7746: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7747: fi
7748: fi
7749:
7750: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7751: POSTGRESQL_LIB=no
7752:
7753: if test $POSTGRESQL_LIB = no; then
7754: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7755: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7756: saved_LIBS="$LIBS"
7757: if test $STATIC = no; then
7758: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7759: else
7760: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7761: fi
7762: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763: /* end confdefs.h. */
7764: #include "libpq-fe.h"
7765: int
7766: main ()
7767: {
7768: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7769: PQconnectdb(conninfo);
7770: ;
7771: return 0;
7772: }
7773: _ACEOF
7774: if ac_fn_c_try_link "$LINENO"; then :
7775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7776: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7777: else
7778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7780: fi
7781: rm -f core conftest.err conftest.$ac_objext \
7782: conftest$ac_exeext conftest.$ac_ext
7783: LIBS=$saved_LIBS;
7784: if test $STATIC = no; then
7785: libPgSQLlib="-L/$libPgSQLlib -lpq"
7786: else
7787: libPgSQLlib="$libPgSQLlib/libpq.a"
7788: EXT_SQL="$EXT_SQL $libPgSQLlib"
7789: fi
7790: fi
7791: fi
7792:
7793: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7794: libPgSQLinc=
7795: libPgSQLlib=
7796: fi
7797:
7798:
7799:
7800:
7801:
7802: # with_postgresql : check [pas défini], yes [uniquement --with],
7803: # no [--without], valeur [--with=valeur].
7804:
7805: # Check whether --with-bourne_shell was given.
7806: if test "${with_bourne_shell+set}" = set; then :
7807: withval=$with_bourne_shell;
7808: else
7809: with_bourne_shell=no
7810: fi
7811:
7812:
7813: if test "x$with_bourne_shell" = xyes; then
7814: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7815: fi
7816:
7817: if test "x$with_bourne_shell" = xno; then
7818: if test $(uname) = "OS/2"; then
7819: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7820: fi
7821:
7822: BSH_PATH=
7823: else
7824: if test ! -x $with_bourne_shell; then
7825: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7826: fi
7827:
7828: if test $(uname) = "OS/2"; then
7829: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7830: sed -e '1,$s/\//\\\\\\\\/g')
7831: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7832: else
7833: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7834: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7835: BSH_PATH=
7836: fi
7837: fi
7838:
7839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7840: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7841: if ${ac_cv_path_GREP+:} false; then :
7842: $as_echo_n "(cached) " >&6
7843: else
7844: if test -z "$GREP"; then
7845: ac_path_GREP_found=false
7846: # Loop through the user's path and test for each of PROGNAME-LIST
7847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7849: do
7850: IFS=$as_save_IFS
7851: test -z "$as_dir" && as_dir=.
7852: for ac_prog in grep ggrep; do
7853: for ac_exec_ext in '' $ac_executable_extensions; do
7854: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7855: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7856: # Check for GNU ac_path_GREP and select it if it is found.
7857: # Check for GNU $ac_path_GREP
7858: case `"$ac_path_GREP" --version 2>&1` in
7859: *GNU*)
7860: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7861: *)
7862: ac_count=0
7863: $as_echo_n 0123456789 >"conftest.in"
7864: while :
7865: do
7866: cat "conftest.in" "conftest.in" >"conftest.tmp"
7867: mv "conftest.tmp" "conftest.in"
7868: cp "conftest.in" "conftest.nl"
7869: $as_echo 'GREP' >> "conftest.nl"
7870: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7871: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7872: as_fn_arith $ac_count + 1 && ac_count=$as_val
7873: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7874: # Best one so far, save it but keep looking for a better one
7875: ac_cv_path_GREP="$ac_path_GREP"
7876: ac_path_GREP_max=$ac_count
7877: fi
7878: # 10*(2^10) chars as input seems more than enough
7879: test $ac_count -gt 10 && break
7880: done
7881: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7882: esac
7883:
7884: $ac_path_GREP_found && break 3
7885: done
7886: done
7887: done
7888: IFS=$as_save_IFS
7889: if test -z "$ac_cv_path_GREP"; then
7890: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7891: fi
7892: else
7893: ac_cv_path_GREP=$GREP
7894: fi
7895:
7896: fi
7897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7898: $as_echo "$ac_cv_path_GREP" >&6; }
7899: GREP="$ac_cv_path_GREP"
7900:
7901:
7902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7903: $as_echo_n "checking for egrep... " >&6; }
7904: if ${ac_cv_path_EGREP+:} false; then :
7905: $as_echo_n "(cached) " >&6
7906: else
7907: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7908: then ac_cv_path_EGREP="$GREP -E"
7909: else
7910: if test -z "$EGREP"; then
7911: ac_path_EGREP_found=false
7912: # Loop through the user's path and test for each of PROGNAME-LIST
7913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7915: do
7916: IFS=$as_save_IFS
7917: test -z "$as_dir" && as_dir=.
7918: for ac_prog in egrep; do
7919: for ac_exec_ext in '' $ac_executable_extensions; do
7920: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7921: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7922: # Check for GNU ac_path_EGREP and select it if it is found.
7923: # Check for GNU $ac_path_EGREP
7924: case `"$ac_path_EGREP" --version 2>&1` in
7925: *GNU*)
7926: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7927: *)
7928: ac_count=0
7929: $as_echo_n 0123456789 >"conftest.in"
7930: while :
7931: do
7932: cat "conftest.in" "conftest.in" >"conftest.tmp"
7933: mv "conftest.tmp" "conftest.in"
7934: cp "conftest.in" "conftest.nl"
7935: $as_echo 'EGREP' >> "conftest.nl"
7936: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7937: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7938: as_fn_arith $ac_count + 1 && ac_count=$as_val
7939: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7940: # Best one so far, save it but keep looking for a better one
7941: ac_cv_path_EGREP="$ac_path_EGREP"
7942: ac_path_EGREP_max=$ac_count
7943: fi
7944: # 10*(2^10) chars as input seems more than enough
7945: test $ac_count -gt 10 && break
7946: done
7947: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7948: esac
7949:
7950: $ac_path_EGREP_found && break 3
7951: done
7952: done
7953: done
7954: IFS=$as_save_IFS
7955: if test -z "$ac_cv_path_EGREP"; then
7956: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7957: fi
7958: else
7959: ac_cv_path_EGREP=$EGREP
7960: fi
7961:
7962: fi
7963: fi
7964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7965: $as_echo "$ac_cv_path_EGREP" >&6; }
7966: EGREP="$ac_cv_path_EGREP"
7967:
7968:
7969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7970: $as_echo_n "checking for ANSI C header files... " >&6; }
7971: if ${ac_cv_header_stdc+:} false; then :
7972: $as_echo_n "(cached) " >&6
7973: else
7974: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975: /* end confdefs.h. */
7976: #include <stdlib.h>
7977: #include <stdarg.h>
7978: #include <string.h>
7979: #include <float.h>
7980:
7981: int
7982: main ()
7983: {
7984:
7985: ;
7986: return 0;
7987: }
7988: _ACEOF
7989: if ac_fn_c_try_compile "$LINENO"; then :
7990: ac_cv_header_stdc=yes
7991: else
7992: ac_cv_header_stdc=no
7993: fi
7994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7995:
7996: if test $ac_cv_header_stdc = yes; then
7997: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7998: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999: /* end confdefs.h. */
8000: #include <string.h>
8001:
8002: _ACEOF
8003: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004: $EGREP "memchr" >/dev/null 2>&1; then :
8005:
8006: else
8007: ac_cv_header_stdc=no
8008: fi
8009: rm -f conftest*
8010:
8011: fi
8012:
8013: if test $ac_cv_header_stdc = yes; then
8014: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8015: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016: /* end confdefs.h. */
8017: #include <stdlib.h>
8018:
8019: _ACEOF
8020: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8021: $EGREP "free" >/dev/null 2>&1; then :
8022:
8023: else
8024: ac_cv_header_stdc=no
8025: fi
8026: rm -f conftest*
8027:
8028: fi
8029:
8030: if test $ac_cv_header_stdc = yes; then
8031: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8032: if test "$cross_compiling" = yes; then :
8033: :
8034: else
8035: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8036: /* end confdefs.h. */
8037: #include <ctype.h>
8038: #include <stdlib.h>
8039: #if ((' ' & 0x0FF) == 0x020)
8040: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8041: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8042: #else
8043: # define ISLOWER(c) \
8044: (('a' <= (c) && (c) <= 'i') \
8045: || ('j' <= (c) && (c) <= 'r') \
8046: || ('s' <= (c) && (c) <= 'z'))
8047: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8048: #endif
8049:
8050: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8051: int
8052: main ()
8053: {
8054: int i;
8055: for (i = 0; i < 256; i++)
8056: if (XOR (islower (i), ISLOWER (i))
8057: || toupper (i) != TOUPPER (i))
8058: return 2;
8059: return 0;
8060: }
8061: _ACEOF
8062: if ac_fn_c_try_run "$LINENO"; then :
8063:
8064: else
8065: ac_cv_header_stdc=no
8066: fi
8067: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8068: conftest.$ac_objext conftest.beam conftest.$ac_ext
8069: fi
8070:
8071: fi
8072: fi
8073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8074: $as_echo "$ac_cv_header_stdc" >&6; }
8075: if test $ac_cv_header_stdc = yes; then
8076:
8077: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8078:
8079: fi
8080:
8081: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8082: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8083: inttypes.h stdint.h unistd.h
8084: do :
8085: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8086: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8087: "
8088: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8089: cat >>confdefs.h <<_ACEOF
8090: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8091: _ACEOF
8092:
8093: fi
8094:
8095: done
8096:
8097:
8098: # The cast to long int works around a bug in the HP C Compiler
8099: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8100: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8101: # This bug is HP SR number 8606223364.
8102: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8103: $as_echo_n "checking size of void *... " >&6; }
8104: if ${ac_cv_sizeof_void_p+:} false; then :
8105: $as_echo_n "(cached) " >&6
8106: else
8107: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8108:
8109: else
8110: if test "$ac_cv_type_void_p" = yes; then
8111: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8112: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8113: as_fn_error 77 "cannot compute sizeof (void *)
8114: See \`config.log' for more details" "$LINENO" 5; }
8115: else
8116: ac_cv_sizeof_void_p=0
8117: fi
8118: fi
8119:
8120: fi
8121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8122: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8123:
8124:
8125:
8126: cat >>confdefs.h <<_ACEOF
8127: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8128: _ACEOF
8129:
8130:
8131: # The cast to long int works around a bug in the HP C Compiler
8132: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8133: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8134: # This bug is HP SR number 8606223364.
8135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8136: $as_echo_n "checking size of char... " >&6; }
8137: if ${ac_cv_sizeof_char+:} false; then :
8138: $as_echo_n "(cached) " >&6
8139: else
8140: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8141:
8142: else
8143: if test "$ac_cv_type_char" = yes; then
8144: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8145: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8146: as_fn_error 77 "cannot compute sizeof (char)
8147: See \`config.log' for more details" "$LINENO" 5; }
8148: else
8149: ac_cv_sizeof_char=0
8150: fi
8151: fi
8152:
8153: fi
8154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8155: $as_echo "$ac_cv_sizeof_char" >&6; }
8156:
8157:
8158:
8159: cat >>confdefs.h <<_ACEOF
8160: #define SIZEOF_CHAR $ac_cv_sizeof_char
8161: _ACEOF
8162:
8163:
8164: # The cast to long int works around a bug in the HP C Compiler
8165: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8166: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8167: # This bug is HP SR number 8606223364.
8168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8169: $as_echo_n "checking size of short int... " >&6; }
8170: if ${ac_cv_sizeof_short_int+:} false; then :
8171: $as_echo_n "(cached) " >&6
8172: else
8173: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8174:
8175: else
8176: if test "$ac_cv_type_short_int" = yes; then
8177: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8178: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8179: as_fn_error 77 "cannot compute sizeof (short int)
8180: See \`config.log' for more details" "$LINENO" 5; }
8181: else
8182: ac_cv_sizeof_short_int=0
8183: fi
8184: fi
8185:
8186: fi
8187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8188: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8189:
8190:
8191:
8192: cat >>confdefs.h <<_ACEOF
8193: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8194: _ACEOF
8195:
8196:
8197: # The cast to long int works around a bug in the HP C Compiler
8198: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8199: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8200: # This bug is HP SR number 8606223364.
8201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8202: $as_echo_n "checking size of int... " >&6; }
8203: if ${ac_cv_sizeof_int+:} false; then :
8204: $as_echo_n "(cached) " >&6
8205: else
8206: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8207:
8208: else
8209: if test "$ac_cv_type_int" = yes; then
8210: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8211: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8212: as_fn_error 77 "cannot compute sizeof (int)
8213: See \`config.log' for more details" "$LINENO" 5; }
8214: else
8215: ac_cv_sizeof_int=0
8216: fi
8217: fi
8218:
8219: fi
8220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8221: $as_echo "$ac_cv_sizeof_int" >&6; }
8222:
8223:
8224:
8225: cat >>confdefs.h <<_ACEOF
8226: #define SIZEOF_INT $ac_cv_sizeof_int
8227: _ACEOF
8228:
8229:
8230: # The cast to long int works around a bug in the HP C Compiler
8231: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8232: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8233: # This bug is HP SR number 8606223364.
8234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8235: $as_echo_n "checking size of long int... " >&6; }
8236: if ${ac_cv_sizeof_long_int+:} false; then :
8237: $as_echo_n "(cached) " >&6
8238: else
8239: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8240:
8241: else
8242: if test "$ac_cv_type_long_int" = yes; then
8243: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8244: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8245: as_fn_error 77 "cannot compute sizeof (long int)
8246: See \`config.log' for more details" "$LINENO" 5; }
8247: else
8248: ac_cv_sizeof_long_int=0
8249: fi
8250: fi
8251:
8252: fi
8253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8254: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8255:
8256:
8257:
8258: cat >>confdefs.h <<_ACEOF
8259: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8260: _ACEOF
8261:
8262:
8263: # The cast to long int works around a bug in the HP C Compiler
8264: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8265: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8266: # This bug is HP SR number 8606223364.
8267: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8268: $as_echo_n "checking size of long long int... " >&6; }
8269: if ${ac_cv_sizeof_long_long_int+:} false; then :
8270: $as_echo_n "(cached) " >&6
8271: else
8272: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8273:
8274: else
8275: if test "$ac_cv_type_long_long_int" = yes; then
8276: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8277: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8278: as_fn_error 77 "cannot compute sizeof (long long int)
8279: See \`config.log' for more details" "$LINENO" 5; }
8280: else
8281: ac_cv_sizeof_long_long_int=0
8282: fi
8283: fi
8284:
8285: fi
8286: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8287: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8288:
8289:
8290:
8291: cat >>confdefs.h <<_ACEOF
8292: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8293: _ACEOF
8294:
8295:
8296: # The cast to long int works around a bug in the HP C Compiler
8297: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8298: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8299: # This bug is HP SR number 8606223364.
8300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8301: $as_echo_n "checking size of float... " >&6; }
8302: if ${ac_cv_sizeof_float+:} false; then :
8303: $as_echo_n "(cached) " >&6
8304: else
8305: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8306:
8307: else
8308: if test "$ac_cv_type_float" = yes; then
8309: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8310: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8311: as_fn_error 77 "cannot compute sizeof (float)
8312: See \`config.log' for more details" "$LINENO" 5; }
8313: else
8314: ac_cv_sizeof_float=0
8315: fi
8316: fi
8317:
8318: fi
8319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8320: $as_echo "$ac_cv_sizeof_float" >&6; }
8321:
8322:
8323:
8324: cat >>confdefs.h <<_ACEOF
8325: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8326: _ACEOF
8327:
8328:
8329: # The cast to long int works around a bug in the HP C Compiler
8330: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8331: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8332: # This bug is HP SR number 8606223364.
8333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8334: $as_echo_n "checking size of double... " >&6; }
8335: if ${ac_cv_sizeof_double+:} false; then :
8336: $as_echo_n "(cached) " >&6
8337: else
8338: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8339:
8340: else
8341: if test "$ac_cv_type_double" = yes; then
8342: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8343: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8344: as_fn_error 77 "cannot compute sizeof (double)
8345: See \`config.log' for more details" "$LINENO" 5; }
8346: else
8347: ac_cv_sizeof_double=0
8348: fi
8349: fi
8350:
8351: fi
8352: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8353: $as_echo "$ac_cv_sizeof_double" >&6; }
8354:
8355:
8356:
8357: cat >>confdefs.h <<_ACEOF
8358: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8359: _ACEOF
8360:
8361:
8362: # The cast to long int works around a bug in the HP C Compiler
8363: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8364: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8365: # This bug is HP SR number 8606223364.
8366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8367: $as_echo_n "checking size of long double... " >&6; }
8368: if ${ac_cv_sizeof_long_double+:} false; then :
8369: $as_echo_n "(cached) " >&6
8370: else
8371: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8372:
8373: else
8374: if test "$ac_cv_type_long_double" = yes; then
8375: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8376: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8377: as_fn_error 77 "cannot compute sizeof (long double)
8378: See \`config.log' for more details" "$LINENO" 5; }
8379: else
8380: ac_cv_sizeof_long_double=0
8381: fi
8382: fi
8383:
8384: fi
8385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8386: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8387:
8388:
8389:
8390: cat >>confdefs.h <<_ACEOF
8391: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8392: _ACEOF
8393:
8394:
8395:
8396: ac_header_dirent=no
8397: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8398: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8400: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8401: if eval \${$as_ac_Header+:} false; then :
8402: $as_echo_n "(cached) " >&6
8403: else
8404: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405: /* end confdefs.h. */
8406: #include <sys/types.h>
8407: #include <$ac_hdr>
8408:
8409: int
8410: main ()
8411: {
8412: if ((DIR *) 0)
8413: return 0;
8414: ;
8415: return 0;
8416: }
8417: _ACEOF
8418: if ac_fn_c_try_compile "$LINENO"; then :
8419: eval "$as_ac_Header=yes"
8420: else
8421: eval "$as_ac_Header=no"
8422: fi
8423: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8424: fi
8425: eval ac_res=\$$as_ac_Header
8426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8427: $as_echo "$ac_res" >&6; }
8428: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8429: cat >>confdefs.h <<_ACEOF
8430: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8431: _ACEOF
8432:
8433: ac_header_dirent=$ac_hdr; break
8434: fi
8435:
8436: done
8437: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8438: if test $ac_header_dirent = dirent.h; then
8439: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8440: $as_echo_n "checking for library containing opendir... " >&6; }
8441: if ${ac_cv_search_opendir+:} false; then :
8442: $as_echo_n "(cached) " >&6
8443: else
8444: ac_func_search_save_LIBS=$LIBS
8445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446: /* end confdefs.h. */
8447:
8448: /* Override any GCC internal prototype to avoid an error.
8449: Use char because int might match the return type of a GCC
8450: builtin and then its argument prototype would still apply. */
8451: #ifdef __cplusplus
8452: extern "C"
8453: #endif
8454: char opendir ();
8455: int
8456: main ()
8457: {
8458: return opendir ();
8459: ;
8460: return 0;
8461: }
8462: _ACEOF
8463: for ac_lib in '' dir; do
8464: if test -z "$ac_lib"; then
8465: ac_res="none required"
8466: else
8467: ac_res=-l$ac_lib
8468: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8469: fi
8470: if ac_fn_c_try_link "$LINENO"; then :
8471: ac_cv_search_opendir=$ac_res
8472: fi
8473: rm -f core conftest.err conftest.$ac_objext \
8474: conftest$ac_exeext
8475: if ${ac_cv_search_opendir+:} false; then :
8476: break
8477: fi
8478: done
8479: if ${ac_cv_search_opendir+:} false; then :
8480:
8481: else
8482: ac_cv_search_opendir=no
8483: fi
8484: rm conftest.$ac_ext
8485: LIBS=$ac_func_search_save_LIBS
8486: fi
8487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8488: $as_echo "$ac_cv_search_opendir" >&6; }
8489: ac_res=$ac_cv_search_opendir
8490: if test "$ac_res" != no; then :
8491: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8492:
8493: fi
8494:
8495: else
8496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8497: $as_echo_n "checking for library containing opendir... " >&6; }
8498: if ${ac_cv_search_opendir+:} false; then :
8499: $as_echo_n "(cached) " >&6
8500: else
8501: ac_func_search_save_LIBS=$LIBS
8502: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503: /* end confdefs.h. */
8504:
8505: /* Override any GCC internal prototype to avoid an error.
8506: Use char because int might match the return type of a GCC
8507: builtin and then its argument prototype would still apply. */
8508: #ifdef __cplusplus
8509: extern "C"
8510: #endif
8511: char opendir ();
8512: int
8513: main ()
8514: {
8515: return opendir ();
8516: ;
8517: return 0;
8518: }
8519: _ACEOF
8520: for ac_lib in '' x; do
8521: if test -z "$ac_lib"; then
8522: ac_res="none required"
8523: else
8524: ac_res=-l$ac_lib
8525: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8526: fi
8527: if ac_fn_c_try_link "$LINENO"; then :
8528: ac_cv_search_opendir=$ac_res
8529: fi
8530: rm -f core conftest.err conftest.$ac_objext \
8531: conftest$ac_exeext
8532: if ${ac_cv_search_opendir+:} false; then :
8533: break
8534: fi
8535: done
8536: if ${ac_cv_search_opendir+:} false; then :
8537:
8538: else
8539: ac_cv_search_opendir=no
8540: fi
8541: rm conftest.$ac_ext
8542: LIBS=$ac_func_search_save_LIBS
8543: fi
8544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8545: $as_echo "$ac_cv_search_opendir" >&6; }
8546: ac_res=$ac_cv_search_opendir
8547: if test "$ac_res" != no; then :
8548: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8549:
8550: fi
8551:
8552: fi
8553:
8554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8555: $as_echo_n "checking for ANSI C header files... " >&6; }
8556: if ${ac_cv_header_stdc+:} false; then :
8557: $as_echo_n "(cached) " >&6
8558: else
8559: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560: /* end confdefs.h. */
8561: #include <stdlib.h>
8562: #include <stdarg.h>
8563: #include <string.h>
8564: #include <float.h>
8565:
8566: int
8567: main ()
8568: {
8569:
8570: ;
8571: return 0;
8572: }
8573: _ACEOF
8574: if ac_fn_c_try_compile "$LINENO"; then :
8575: ac_cv_header_stdc=yes
8576: else
8577: ac_cv_header_stdc=no
8578: fi
8579: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580:
8581: if test $ac_cv_header_stdc = yes; then
8582: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584: /* end confdefs.h. */
8585: #include <string.h>
8586:
8587: _ACEOF
8588: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8589: $EGREP "memchr" >/dev/null 2>&1; then :
8590:
8591: else
8592: ac_cv_header_stdc=no
8593: fi
8594: rm -f conftest*
8595:
8596: fi
8597:
8598: if test $ac_cv_header_stdc = yes; then
8599: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601: /* end confdefs.h. */
8602: #include <stdlib.h>
8603:
8604: _ACEOF
8605: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8606: $EGREP "free" >/dev/null 2>&1; then :
8607:
8608: else
8609: ac_cv_header_stdc=no
8610: fi
8611: rm -f conftest*
8612:
8613: fi
8614:
8615: if test $ac_cv_header_stdc = yes; then
8616: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8617: if test "$cross_compiling" = yes; then :
8618: :
8619: else
8620: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621: /* end confdefs.h. */
8622: #include <ctype.h>
8623: #include <stdlib.h>
8624: #if ((' ' & 0x0FF) == 0x020)
8625: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8626: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8627: #else
8628: # define ISLOWER(c) \
8629: (('a' <= (c) && (c) <= 'i') \
8630: || ('j' <= (c) && (c) <= 'r') \
8631: || ('s' <= (c) && (c) <= 'z'))
8632: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8633: #endif
8634:
8635: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8636: int
8637: main ()
8638: {
8639: int i;
8640: for (i = 0; i < 256; i++)
8641: if (XOR (islower (i), ISLOWER (i))
8642: || toupper (i) != TOUPPER (i))
8643: return 2;
8644: return 0;
8645: }
8646: _ACEOF
8647: if ac_fn_c_try_run "$LINENO"; then :
8648:
8649: else
8650: ac_cv_header_stdc=no
8651: fi
8652: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8653: conftest.$ac_objext conftest.beam conftest.$ac_ext
8654: fi
8655:
8656: fi
8657: fi
8658: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8659: $as_echo "$ac_cv_header_stdc" >&6; }
8660: if test $ac_cv_header_stdc = yes; then
8661:
8662: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8663:
8664: fi
8665:
8666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8667: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8668: if ${ac_cv_header_sys_wait_h+:} false; then :
8669: $as_echo_n "(cached) " >&6
8670: else
8671: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672: /* end confdefs.h. */
8673: #include <sys/types.h>
8674: #include <sys/wait.h>
8675: #ifndef WEXITSTATUS
8676: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8677: #endif
8678: #ifndef WIFEXITED
8679: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8680: #endif
8681:
8682: int
8683: main ()
8684: {
8685: int s;
8686: wait (&s);
8687: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8688: ;
8689: return 0;
8690: }
8691: _ACEOF
8692: if ac_fn_c_try_compile "$LINENO"; then :
8693: ac_cv_header_sys_wait_h=yes
8694: else
8695: ac_cv_header_sys_wait_h=no
8696: fi
8697: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8698: fi
8699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8700: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8701: if test $ac_cv_header_sys_wait_h = yes; then
8702:
8703: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8704:
8705: fi
8706:
8707: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8708: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8709: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8710: do :
8711: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8712: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8713: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8714: cat >>confdefs.h <<_ACEOF
8715: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8716: _ACEOF
8717:
8718: fi
8719:
8720: done
8721:
8722:
8723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8724: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8725: if ${ac_cv_c_const+:} false; then :
8726: $as_echo_n "(cached) " >&6
8727: else
8728: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729: /* end confdefs.h. */
8730:
8731: int
8732: main ()
8733: {
8734: /* FIXME: Include the comments suggested by Paul. */
8735: #ifndef __cplusplus
8736: /* Ultrix mips cc rejects this. */
8737: typedef int charset[2];
8738: const charset cs;
8739: /* SunOS 4.1.1 cc rejects this. */
8740: char const *const *pcpcc;
8741: char **ppc;
8742: /* NEC SVR4.0.2 mips cc rejects this. */
8743: struct point {int x, y;};
8744: static struct point const zero = {0,0};
8745: /* AIX XL C 1.02.0.0 rejects this.
8746: It does not let you subtract one const X* pointer from another in
8747: an arm of an if-expression whose if-part is not a constant
8748: expression */
8749: const char *g = "string";
8750: pcpcc = &g + (g ? g-g : 0);
8751: /* HPUX 7.0 cc rejects these. */
8752: ++pcpcc;
8753: ppc = (char**) pcpcc;
8754: pcpcc = (char const *const *) ppc;
8755: { /* SCO 3.2v4 cc rejects this. */
8756: char *t;
8757: char const *s = 0 ? (char *) 0 : (char const *) 0;
8758:
8759: *t++ = 0;
8760: if (s) return 0;
8761: }
8762: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8763: int x[] = {25, 17};
8764: const int *foo = &x[0];
8765: ++foo;
8766: }
8767: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8768: typedef const int *iptr;
8769: iptr p = 0;
8770: ++p;
8771: }
8772: { /* AIX XL C 1.02.0.0 rejects this saying
8773: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8774: struct s { int j; const int *ap[3]; };
8775: struct s *b; b->j = 5;
8776: }
8777: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8778: const int foo = 10;
8779: if (!foo) return 0;
8780: }
8781: return !cs[0] && !zero.x;
8782: #endif
8783:
8784: ;
8785: return 0;
8786: }
8787: _ACEOF
8788: if ac_fn_c_try_compile "$LINENO"; then :
8789: ac_cv_c_const=yes
8790: else
8791: ac_cv_c_const=no
8792: fi
8793: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8794: fi
8795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8796: $as_echo "$ac_cv_c_const" >&6; }
8797: if test $ac_cv_c_const = no; then
8798:
8799: $as_echo "#define const /**/" >>confdefs.h
8800:
8801: fi
8802:
8803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8804: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8805: if ${ac_cv_type_uid_t+:} false; then :
8806: $as_echo_n "(cached) " >&6
8807: else
8808: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809: /* end confdefs.h. */
8810: #include <sys/types.h>
8811:
8812: _ACEOF
8813: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8814: $EGREP "uid_t" >/dev/null 2>&1; then :
8815: ac_cv_type_uid_t=yes
8816: else
8817: ac_cv_type_uid_t=no
8818: fi
8819: rm -f conftest*
8820:
8821: fi
8822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8823: $as_echo "$ac_cv_type_uid_t" >&6; }
8824: if test $ac_cv_type_uid_t = no; then
8825:
8826: $as_echo "#define uid_t int" >>confdefs.h
8827:
8828:
8829: $as_echo "#define gid_t int" >>confdefs.h
8830:
8831: fi
8832:
8833: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8834: if test "x$ac_cv_type_pid_t" = xyes; then :
8835:
8836: else
8837:
8838: cat >>confdefs.h <<_ACEOF
8839: #define pid_t int
8840: _ACEOF
8841:
8842: fi
8843:
8844: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8845: if test "x$ac_cv_type_size_t" = xyes; then :
8846:
8847: else
8848:
8849: cat >>confdefs.h <<_ACEOF
8850: #define size_t unsigned int
8851: _ACEOF
8852:
8853: fi
8854:
8855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8856: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8857: if ${ac_cv_header_time+:} false; then :
8858: $as_echo_n "(cached) " >&6
8859: else
8860: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861: /* end confdefs.h. */
8862: #include <sys/types.h>
8863: #include <sys/time.h>
8864: #include <time.h>
8865:
8866: int
8867: main ()
8868: {
8869: if ((struct tm *) 0)
8870: return 0;
8871: ;
8872: return 0;
8873: }
8874: _ACEOF
8875: if ac_fn_c_try_compile "$LINENO"; then :
8876: ac_cv_header_time=yes
8877: else
8878: ac_cv_header_time=no
8879: fi
8880: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8881: fi
8882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8883: $as_echo "$ac_cv_header_time" >&6; }
8884: if test $ac_cv_header_time = yes; then
8885:
8886: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8887:
8888: fi
8889:
8890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8891: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8892: if ${ac_cv_struct_tm+:} false; then :
8893: $as_echo_n "(cached) " >&6
8894: else
8895: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896: /* end confdefs.h. */
8897: #include <sys/types.h>
8898: #include <time.h>
8899:
8900: int
8901: main ()
8902: {
8903: struct tm tm;
8904: int *p = &tm.tm_sec;
8905: return !p;
8906: ;
8907: return 0;
8908: }
8909: _ACEOF
8910: if ac_fn_c_try_compile "$LINENO"; then :
8911: ac_cv_struct_tm=time.h
8912: else
8913: ac_cv_struct_tm=sys/time.h
8914: fi
8915: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8916: fi
8917: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8918: $as_echo "$ac_cv_struct_tm" >&6; }
8919: if test $ac_cv_struct_tm = sys/time.h; then
8920:
8921: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8922:
8923: fi
8924:
8925:
8926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8927: $as_echo_n "checking return type of signal handlers... " >&6; }
8928: if ${ac_cv_type_signal+:} false; then :
8929: $as_echo_n "(cached) " >&6
8930: else
8931: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932: /* end confdefs.h. */
8933: #include <sys/types.h>
8934: #include <signal.h>
8935:
8936: int
8937: main ()
8938: {
8939: return *(signal (0, 0)) (0) == 1;
8940: ;
8941: return 0;
8942: }
8943: _ACEOF
8944: if ac_fn_c_try_compile "$LINENO"; then :
8945: ac_cv_type_signal=int
8946: else
8947: ac_cv_type_signal=void
8948: fi
8949: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8950: fi
8951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8952: $as_echo "$ac_cv_type_signal" >&6; }
8953:
8954: cat >>confdefs.h <<_ACEOF
8955: #define RETSIGTYPE $ac_cv_type_signal
8956: _ACEOF
8957:
8958:
8959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
8960: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
8961: if test "$cross_compiling" = yes; then :
8962: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8963: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8964: as_fn_error $? "cannot run test program while cross compiling
8965: See \`config.log' for more details" "$LINENO" 5; }
8966: else
8967: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968: /* end confdefs.h. */
8969: #include <unistd.h>
8970: #include <signal.h>
8971: int flag;
8972: void handler(int signal, siginfo_t *siginfo, void *context)
8973: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
8974: int
8975: main ()
8976: {
8977: struct sigaction action;
8978: action.sa_sigaction = handler;
8979: action.sa_flags = SA_SIGINFO;
8980: sigaction(SIGUSR1, &action, NULL);
8981: raise(SIGUSR1);
8982: return(flag);
8983: ;
8984: return 0;
8985: }
8986: _ACEOF
8987: if ac_fn_c_try_run "$LINENO"; then :
8988: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989: $as_echo "no" >&6; }
8990: else
8991: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8992: $as_echo "yes" >&6; }
8993: fi
8994: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8995: conftest.$ac_objext conftest.beam conftest.$ac_ext
8996: fi
8997:
8998:
8999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
9000: $as_echo_n "checking for working strcoll... " >&6; }
9001: if ${ac_cv_func_strcoll_works+:} false; then :
9002: $as_echo_n "(cached) " >&6
9003: else
9004: if test "$cross_compiling" = yes; then :
9005: ac_cv_func_strcoll_works=no
9006: else
9007: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008: /* end confdefs.h. */
9009: $ac_includes_default
9010: int
9011: main ()
9012: {
9013: return (strcoll ("abc", "def") >= 0 ||
9014: strcoll ("ABC", "DEF") >= 0 ||
9015: strcoll ("123", "456") >= 0)
9016: ;
9017: return 0;
9018: }
9019: _ACEOF
9020: if ac_fn_c_try_run "$LINENO"; then :
9021: ac_cv_func_strcoll_works=yes
9022: else
9023: ac_cv_func_strcoll_works=no
9024: fi
9025: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9026: conftest.$ac_objext conftest.beam conftest.$ac_ext
9027: fi
9028:
9029: fi
9030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
9031: $as_echo "$ac_cv_func_strcoll_works" >&6; }
9032: if test $ac_cv_func_strcoll_works = yes; then
9033:
9034: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
9035:
9036: fi
9037:
9038: for ac_func in strftime
9039: do :
9040: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
9041: if test "x$ac_cv_func_strftime" = xyes; then :
9042: cat >>confdefs.h <<_ACEOF
9043: #define HAVE_STRFTIME 1
9044: _ACEOF
9045:
9046: else
9047: # strftime is in -lintl on SCO UNIX.
9048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
9049: $as_echo_n "checking for strftime in -lintl... " >&6; }
9050: if ${ac_cv_lib_intl_strftime+:} false; then :
9051: $as_echo_n "(cached) " >&6
9052: else
9053: ac_check_lib_save_LIBS=$LIBS
9054: LIBS="-lintl $LIBS"
9055: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056: /* end confdefs.h. */
9057:
9058: /* Override any GCC internal prototype to avoid an error.
9059: Use char because int might match the return type of a GCC
9060: builtin and then its argument prototype would still apply. */
9061: #ifdef __cplusplus
9062: extern "C"
9063: #endif
9064: char strftime ();
9065: int
9066: main ()
9067: {
9068: return strftime ();
9069: ;
9070: return 0;
9071: }
9072: _ACEOF
9073: if ac_fn_c_try_link "$LINENO"; then :
9074: ac_cv_lib_intl_strftime=yes
9075: else
9076: ac_cv_lib_intl_strftime=no
9077: fi
9078: rm -f core conftest.err conftest.$ac_objext \
9079: conftest$ac_exeext conftest.$ac_ext
9080: LIBS=$ac_check_lib_save_LIBS
9081: fi
9082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9083: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9084: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9085: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9086:
9087: LIBS="-lintl $LIBS"
9088: fi
9089:
9090: fi
9091: done
9092:
9093: for ac_func in vprintf
9094: do :
9095: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9096: if test "x$ac_cv_func_vprintf" = xyes; then :
9097: cat >>confdefs.h <<_ACEOF
9098: #define HAVE_VPRINTF 1
9099: _ACEOF
9100:
9101: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9102: if test "x$ac_cv_func__doprnt" = xyes; then :
9103:
9104: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9105:
9106: fi
9107:
9108: fi
9109: done
9110:
9111:
9112: for ac_func in ftime getcwd putenv select strcspn strdup \
9113: strerror strspn strstr strtod
9114: do :
9115: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9116: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9117: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9118: cat >>confdefs.h <<_ACEOF
9119: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9120: _ACEOF
9121:
9122: fi
9123: done
9124:
9125:
9126:
9127: # Check whether --with-openssl_arch was given.
9128: if test "${with_openssl_arch+set}" = set; then :
9129: withval=$with_openssl_arch;
9130: else
9131: with_openssl_arch=none
9132: fi
9133:
9134:
9135: if test $(uname) = "OS/2"; then
9136: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9137: else
9138: if test "x$with_openssl_arch" = xnone; then
9139: (cd tools/$OPENSSL && ./config)
9140: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9141: (cd tools/$OPENSSL && ./Configure)
9142: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9143: elif test "x$with_openssl_arch" = xlist; then
9144: (cd tools/$OPENSSL && ./Configure)
9145: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9146: else
9147: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
9148: fi
9149: fi
9150:
9151:
9152:
9153: subdirs="$subdirs tools/$NCURSES"
9154:
9155: subdirs="$subdirs tools/$READLINE"
9156:
9157: subdirs="$subdirs tools/$GSL"
9158:
9159: subdirs="$subdirs tools/$GPP"
9160:
9161: subdirs="$subdirs tools/$FILE"
9162:
9163: subdirs="$subdirs tools/$ICONV"
9164:
9165: subdirs="$subdirs tools/$SQLITE"
9166:
9167: subdirs="$subdirs tools/$UNITS"
9168:
9169:
9170: if test "$MYGNUPLOT" = "yes"; then
9171: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9172: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9173: (cd "$srcdir/tools" && tar -xf -)
9174: fi
9175: subdirs="$subdirs tools/$GNUPLOT"
9176:
9177: GNUPLOT_COMPILATION=$GNUPLOT
9178: else
9179: GNUPLOT_COMPILATION=
9180: fi
9181:
9182:
9183:
9184: case $host_cpu in
9185:
9186: i?86)
9187: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9188: -Wno-pointer-sign"
9189: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9190: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9191: break ;;
9192:
9193: x86_64*)
9194: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9195: -Wno-pointer-sign"
9196: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9197: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9198: break ;;
9199:
9200: alpha*)
9201: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9202: -Wno-pointer-sign"
9203: FFLAGS="$FFLAGS -mieee -Wall"
9204: FCFLAGS="$FCFLAGS -mieee -Wall"
9205: break ;;
9206:
9207: sparc*)
9208: CFLAGS="$CFLAGS -Wall -funsigned-char \
9209: -Wno-pointer-sign"
9210: FFLAGS="$FFLAGS -Wall"
9211: FCFLAGS="$FCFLAGS -Wall"
9212: break ;;
9213:
9214: esac
9215:
9216: case $host_os in
9217:
9218: cygwin*)
9219: OS=Cygwin
9220: break ;;
9221:
9222: interix*)
9223: OS=Interix
9224: break ;;
9225:
9226: *)
9227: OS=$(uname)
9228: break ;;
9229:
9230: esac
9231:
9232:
9233:
9234: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9235: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9236: MALLOC=
9237:
9238: case $OS in
9239:
9240: Darwin)
9241: EXPORT_DYNAMIC=-Wl,-flat_namespace
9242: NESTED_FUNCTIONS=-fnested-functions
9243: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9244: IPCS_SYSV=-UIPCS_SYSV
9245: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9246: ac_configure_args="$ac_configure_args --with-readline=builtin \
9247: --disable-shared --enable-static --enable-threads"
9248: C_STANDARD=-std=gnu99
9249: break ;;
9250:
9251: Cygwin)
9252: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9253: NESTED_FUNCTIONS=
9254: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9255: IPCS_SYSV=-UIPCS_SYSV
9256: ac_configure_args="$ac_configure_args --with-readline=builtin \
9257: --disable-shared --enable-static --enable-threads"
9258: C_STANDARD=-std=gnu99
9259: break ;;
9260:
9261: Interix)
9262: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9263: NESTED_FUNCTIONS=
9264: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9265: IPCS_SYSV=-UIPCS_SYSV
9266: ac_configure_args="$ac_configure_args --with-readline=builtin \
9267: --disable-shared --enable-static --enable-threads"
9268: C_STANDARD=-std=gnu99
9269: break;;
9270:
9271: AIX)
9272: EXPORT_DYNAMIC=-Wl,--export-dynamic
9273: NESTED_FUNCTIONS=
9274: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9275: IPCS_SYSV=-UIPCS_SYSV
9276: ac_configure_args="$ac_configure_args --with-readline=builtin \
9277: --disable-shared --enable-static --enable-threads"
9278: C_STANDARD=-std=gnu99
9279: break ;;
9280:
9281: OS/2)
9282: if test $FORCED_FINAL_ENCODING -eq 0; then \
9283: FINAL_ENCODING=CP850; \
9284: fi;
9285: OS=OS2
9286: NESTED_FUNCTIONS=
9287: EXPORT_DYNAMIC=-Zmap
9288: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9289: IPCS_SYSV=-DIPCS_SYSV
9290: ac_configure_args="$ac_configure_args --without-readline \
9291: --without-cairo --disable-shared --enable-static \
9292: --enable-threads"
9293: C_STANDARD=
9294: break;;
9295:
9296: OpenBSD)
9297: if test $FORCED_FINAL_ENCODING -eq 0; then \
9298: FINAL_ENCODING=UTF-8; \
9299: fi;
9300: EXPORT_DYNAMIC=-Wl,--export-dynamic
9301: NESTED_FUNCTIONS=
9302: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9303: IPCS_SYSV=-DIPCS_SYSV
9304: ac_configure_args="$ac_configure_args --with-readline=builtin \
9305: --disable-shared --enable-static --enable-threads"
9306: C_STANDARD=-std=gnu99
9307: break;;
9308:
9309: SunOS)
9310: EXPORT_DYNAMIC=-Wl,--export-dynamic
9311: NESTED_FUNCTIONS=
9312: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9313:
9314: if test $IPCS_SYSV = no; then
9315: IPCS_SYSV=-UIPCS_SYSV
9316: else
9317: IPCS_SYSV=-DIPCS_SYSV
9318: fi
9319:
9320: ac_configure_args="$ac_configure_args --with-readline=builtin \
9321: --disable-shared --enable-static --enable-threads"
9322: C_STANDARD=-std=gnu99
9323: MALLOC=-lumem
9324: break ;;
9325:
9326: *)
9327: EXPORT_DYNAMIC=-Wl,--export-dynamic
9328: NESTED_FUNCTIONS=
9329: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9330:
9331: if test $IPCS_SYSV = no; then
9332: IPCS_SYSV=-UIPCS_SYSV
9333: else
9334: IPCS_SYSV=-DIPCS_SYSV
9335: fi
9336:
9337: ac_configure_args="$ac_configure_args --with-readline=builtin \
9338: --disable-shared --enable-static --enable-threads"
9339: C_STANDARD=-std=gnu99
9340: break ;;
9341:
9342: esac
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:
9380:
9381: ac_config_files="$ac_config_files Makefile"
9382:
9383: ac_config_files="$ac_config_files COPYING"
9384:
9385: ac_config_files="$ac_config_files tools/Makefile"
9386:
9387: ac_config_files="$ac_config_files src/Makefile"
9388:
9389: ac_config_files="$ac_config_files man/Makefile"
9390:
9391: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9392:
9393: ac_config_files="$ac_config_files doc/Makefile"
9394:
9395: ac_config_files="$ac_config_files scripts/Makefile"
9396:
9397: ac_config_files="$ac_config_files scripts/mkrplso"
9398:
9399: ac_config_files="$ac_config_files scripts/rplcc"
9400:
9401: ac_config_files="$ac_config_files scripts/rpllink"
9402:
9403: ac_config_files="$ac_config_files rpltags/Makefile"
9404:
9405: ac_config_files="$ac_config_files rpliconv/Makefile"
9406:
9407: ac_config_files="$ac_config_files rplsums/Makefile"
9408:
9409: ac_config_files="$ac_config_files rplcas/Makefile"
9410:
9411: ac_config_files="$ac_config_files rplawk/Makefile"
9412:
9413: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9414:
9415: ac_config_files="$ac_config_files lapack/blas/Makefile"
9416:
9417:
9418: ac_config_files="$ac_config_files man/rpl.1"
9419:
9420: ac_config_files="$ac_config_files man/rplcc.1"
9421:
9422: ac_config_files="$ac_config_files man/rpllink.1"
9423:
9424: ac_config_files="$ac_config_files man/rpltags.1"
9425:
9426: ac_config_files="$ac_config_files man/mkrplso.1"
9427:
9428: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9429:
9430: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9431:
9432: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9433:
9434: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9435:
9436: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9437:
9438:
9439: cat >confcache <<\_ACEOF
9440: # This file is a shell script that caches the results of configure
9441: # tests run on this system so they can be shared between configure
9442: # scripts and configure runs, see configure's option --config-cache.
9443: # It is not useful on other systems. If it contains results you don't
9444: # want to keep, you may remove or edit it.
9445: #
9446: # config.status only pays attention to the cache file if you give it
9447: # the --recheck option to rerun configure.
9448: #
9449: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9450: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9451: # following values.
9452:
9453: _ACEOF
9454:
9455: # The following way of writing the cache mishandles newlines in values,
9456: # but we know of no workaround that is simple, portable, and efficient.
9457: # So, we kill variables containing newlines.
9458: # Ultrix sh set writes to stderr and can't be redirected directly,
9459: # and sets the high bit in the cache file unless we assign to the vars.
9460: (
9461: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9462: eval ac_val=\$$ac_var
9463: case $ac_val in #(
9464: *${as_nl}*)
9465: case $ac_var in #(
9466: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9467: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9468: esac
9469: case $ac_var in #(
9470: _ | IFS | as_nl) ;; #(
9471: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9472: *) { eval $ac_var=; unset $ac_var;} ;;
9473: esac ;;
9474: esac
9475: done
9476:
9477: (set) 2>&1 |
9478: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9479: *${as_nl}ac_space=\ *)
9480: # `set' does not quote correctly, so add quotes: double-quote
9481: # substitution turns \\\\ into \\, and sed turns \\ into \.
9482: sed -n \
9483: "s/'/'\\\\''/g;
9484: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9485: ;; #(
9486: *)
9487: # `set' quotes correctly as required by POSIX, so do not add quotes.
9488: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9489: ;;
9490: esac |
9491: sort
9492: ) |
9493: sed '
9494: /^ac_cv_env_/b end
9495: t clear
9496: :clear
9497: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9498: t end
9499: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9500: :end' >>confcache
9501: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9502: if test -w "$cache_file"; then
9503: if test "x$cache_file" != "x/dev/null"; then
9504: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9505: $as_echo "$as_me: updating cache $cache_file" >&6;}
9506: if test ! -f "$cache_file" || test -h "$cache_file"; then
9507: cat confcache >"$cache_file"
9508: else
9509: case $cache_file in #(
9510: */* | ?:*)
9511: mv -f confcache "$cache_file"$$ &&
9512: mv -f "$cache_file"$$ "$cache_file" ;; #(
9513: *)
9514: mv -f confcache "$cache_file" ;;
9515: esac
9516: fi
9517: fi
9518: else
9519: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9520: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9521: fi
9522: fi
9523: rm -f confcache
9524:
9525: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9526: # Let make expand exec_prefix.
9527: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9528:
9529: DEFS=-DHAVE_CONFIG_H
9530:
9531: ac_libobjs=
9532: ac_ltlibobjs=
9533: U=
9534: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9535: # 1. Remove the extension, and $U if already installed.
9536: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9537: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9538: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9539: # will be set to the directory where LIBOBJS objects are built.
9540: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9541: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9542: done
9543: LIBOBJS=$ac_libobjs
9544:
9545: LTLIBOBJS=$ac_ltlibobjs
9546:
9547:
9548: if test -n "$EXEEXT"; then
9549: am__EXEEXT_TRUE=
9550: am__EXEEXT_FALSE='#'
9551: else
9552: am__EXEEXT_TRUE='#'
9553: am__EXEEXT_FALSE=
9554: fi
9555:
9556: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9557: as_fn_error $? "conditional \"AMDEP\" was never defined.
9558: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9559: fi
9560: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9561: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9562: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9563: fi
9564: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9565: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9566: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9567: fi
9568:
9569: : "${CONFIG_STATUS=./config.status}"
9570: ac_write_fail=0
9571: ac_clean_files_save=$ac_clean_files
9572: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9573: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9574: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9575: as_write_fail=0
9576: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9577: #! $SHELL
9578: # Generated by $as_me.
9579: # Run this file to recreate the current configuration.
9580: # Compiler output produced by configure, useful for debugging
9581: # configure, is in config.log if it exists.
9582:
9583: debug=false
9584: ac_cs_recheck=false
9585: ac_cs_silent=false
9586:
9587: SHELL=\${CONFIG_SHELL-$SHELL}
9588: export SHELL
9589: _ASEOF
9590: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9591: ## -------------------- ##
9592: ## M4sh Initialization. ##
9593: ## -------------------- ##
9594:
9595: # Be more Bourne compatible
9596: DUALCASE=1; export DUALCASE # for MKS sh
9597: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9598: emulate sh
9599: NULLCMD=:
9600: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9601: # is contrary to our usage. Disable this feature.
9602: alias -g '${1+"$@"}'='"$@"'
9603: setopt NO_GLOB_SUBST
9604: else
9605: case `(set -o) 2>/dev/null` in #(
9606: *posix*) :
9607: set -o posix ;; #(
9608: *) :
9609: ;;
9610: esac
9611: fi
9612:
9613:
9614: as_nl='
9615: '
9616: export as_nl
9617: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9618: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9619: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9620: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9621: # Prefer a ksh shell builtin over an external printf program on Solaris,
9622: # but without wasting forks for bash or zsh.
9623: if test -z "$BASH_VERSION$ZSH_VERSION" \
9624: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9625: as_echo='print -r --'
9626: as_echo_n='print -rn --'
9627: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9628: as_echo='printf %s\n'
9629: as_echo_n='printf %s'
9630: else
9631: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9632: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9633: as_echo_n='/usr/ucb/echo -n'
9634: else
9635: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9636: as_echo_n_body='eval
9637: arg=$1;
9638: case $arg in #(
9639: *"$as_nl"*)
9640: expr "X$arg" : "X\\(.*\\)$as_nl";
9641: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9642: esac;
9643: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9644: '
9645: export as_echo_n_body
9646: as_echo_n='sh -c $as_echo_n_body as_echo'
9647: fi
9648: export as_echo_body
9649: as_echo='sh -c $as_echo_body as_echo'
9650: fi
9651:
9652: # The user is always right.
9653: if test "${PATH_SEPARATOR+set}" != set; then
9654: PATH_SEPARATOR=:
9655: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9656: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9657: PATH_SEPARATOR=';'
9658: }
9659: fi
9660:
9661:
9662: # IFS
9663: # We need space, tab and new line, in precisely that order. Quoting is
9664: # there to prevent editors from complaining about space-tab.
9665: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9666: # splitting by setting IFS to empty value.)
9667: IFS=" "" $as_nl"
9668:
9669: # Find who we are. Look in the path if we contain no directory separator.
9670: as_myself=
9671: case $0 in #((
9672: *[\\/]* ) as_myself=$0 ;;
9673: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674: for as_dir in $PATH
9675: do
9676: IFS=$as_save_IFS
9677: test -z "$as_dir" && as_dir=.
9678: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9679: done
9680: IFS=$as_save_IFS
9681:
9682: ;;
9683: esac
9684: # We did not find ourselves, most probably we were run as `sh COMMAND'
9685: # in which case we are not to be found in the path.
9686: if test "x$as_myself" = x; then
9687: as_myself=$0
9688: fi
9689: if test ! -f "$as_myself"; then
9690: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9691: exit 1
9692: fi
9693:
9694: # Unset variables that we do not need and which cause bugs (e.g. in
9695: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9696: # suppresses any "Segmentation fault" message there. '((' could
9697: # trigger a bug in pdksh 5.2.14.
9698: for as_var in BASH_ENV ENV MAIL MAILPATH
9699: do eval test x\${$as_var+set} = xset \
9700: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9701: done
9702: PS1='$ '
9703: PS2='> '
9704: PS4='+ '
9705:
9706: # NLS nuisances.
9707: LC_ALL=C
9708: export LC_ALL
9709: LANGUAGE=C
9710: export LANGUAGE
9711:
9712: # CDPATH.
9713: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9714:
9715:
9716: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9717: # ----------------------------------------
9718: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9719: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9720: # script with STATUS, using 1 if that was 0.
9721: as_fn_error ()
9722: {
9723: as_status=$1; test $as_status -eq 0 && as_status=1
9724: if test "$4"; then
9725: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9726: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9727: fi
9728: $as_echo "$as_me: error: $2" >&2
9729: as_fn_exit $as_status
9730: } # as_fn_error
9731:
9732:
9733: # as_fn_set_status STATUS
9734: # -----------------------
9735: # Set $? to STATUS, without forking.
9736: as_fn_set_status ()
9737: {
9738: return $1
9739: } # as_fn_set_status
9740:
9741: # as_fn_exit STATUS
9742: # -----------------
9743: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9744: as_fn_exit ()
9745: {
9746: set +e
9747: as_fn_set_status $1
9748: exit $1
9749: } # as_fn_exit
9750:
9751: # as_fn_unset VAR
9752: # ---------------
9753: # Portably unset VAR.
9754: as_fn_unset ()
9755: {
9756: { eval $1=; unset $1;}
9757: }
9758: as_unset=as_fn_unset
9759: # as_fn_append VAR VALUE
9760: # ----------------------
9761: # Append the text in VALUE to the end of the definition contained in VAR. Take
9762: # advantage of any shell optimizations that allow amortized linear growth over
9763: # repeated appends, instead of the typical quadratic growth present in naive
9764: # implementations.
9765: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9766: eval 'as_fn_append ()
9767: {
9768: eval $1+=\$2
9769: }'
9770: else
9771: as_fn_append ()
9772: {
9773: eval $1=\$$1\$2
9774: }
9775: fi # as_fn_append
9776:
9777: # as_fn_arith ARG...
9778: # ------------------
9779: # Perform arithmetic evaluation on the ARGs, and store the result in the
9780: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9781: # must be portable across $(()) and expr.
9782: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9783: eval 'as_fn_arith ()
9784: {
9785: as_val=$(( $* ))
9786: }'
9787: else
9788: as_fn_arith ()
9789: {
9790: as_val=`expr "$@" || test $? -eq 1`
9791: }
9792: fi # as_fn_arith
9793:
9794:
9795: if expr a : '\(a\)' >/dev/null 2>&1 &&
9796: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9797: as_expr=expr
9798: else
9799: as_expr=false
9800: fi
9801:
9802: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9803: as_basename=basename
9804: else
9805: as_basename=false
9806: fi
9807:
9808: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9809: as_dirname=dirname
9810: else
9811: as_dirname=false
9812: fi
9813:
9814: as_me=`$as_basename -- "$0" ||
9815: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9816: X"$0" : 'X\(//\)$' \| \
9817: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9818: $as_echo X/"$0" |
9819: sed '/^.*\/\([^/][^/]*\)\/*$/{
9820: s//\1/
9821: q
9822: }
9823: /^X\/\(\/\/\)$/{
9824: s//\1/
9825: q
9826: }
9827: /^X\/\(\/\).*/{
9828: s//\1/
9829: q
9830: }
9831: s/.*/./; q'`
9832:
9833: # Avoid depending upon Character Ranges.
9834: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9835: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9836: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9837: as_cr_digits='0123456789'
9838: as_cr_alnum=$as_cr_Letters$as_cr_digits
9839:
9840: ECHO_C= ECHO_N= ECHO_T=
9841: case `echo -n x` in #(((((
9842: -n*)
9843: case `echo 'xy\c'` in
9844: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9845: xy) ECHO_C='\c';;
9846: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9847: ECHO_T=' ';;
9848: esac;;
9849: *)
9850: ECHO_N='-n';;
9851: esac
9852:
9853: rm -f conf$$ conf$$.exe conf$$.file
9854: if test -d conf$$.dir; then
9855: rm -f conf$$.dir/conf$$.file
9856: else
9857: rm -f conf$$.dir
9858: mkdir conf$$.dir 2>/dev/null
9859: fi
9860: if (echo >conf$$.file) 2>/dev/null; then
9861: if ln -s conf$$.file conf$$ 2>/dev/null; then
9862: as_ln_s='ln -s'
9863: # ... but there are two gotchas:
9864: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9865: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9866: # In both cases, we have to default to `cp -p'.
9867: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9868: as_ln_s='cp -p'
9869: elif ln conf$$.file conf$$ 2>/dev/null; then
9870: as_ln_s=ln
9871: else
9872: as_ln_s='cp -p'
9873: fi
9874: else
9875: as_ln_s='cp -p'
9876: fi
9877: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9878: rmdir conf$$.dir 2>/dev/null
9879:
9880:
9881: # as_fn_mkdir_p
9882: # -------------
9883: # Create "$as_dir" as a directory, including parents if necessary.
9884: as_fn_mkdir_p ()
9885: {
9886:
9887: case $as_dir in #(
9888: -*) as_dir=./$as_dir;;
9889: esac
9890: test -d "$as_dir" || eval $as_mkdir_p || {
9891: as_dirs=
9892: while :; do
9893: case $as_dir in #(
9894: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9895: *) as_qdir=$as_dir;;
9896: esac
9897: as_dirs="'$as_qdir' $as_dirs"
9898: as_dir=`$as_dirname -- "$as_dir" ||
9899: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9900: X"$as_dir" : 'X\(//\)[^/]' \| \
9901: X"$as_dir" : 'X\(//\)$' \| \
9902: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9903: $as_echo X"$as_dir" |
9904: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9905: s//\1/
9906: q
9907: }
9908: /^X\(\/\/\)[^/].*/{
9909: s//\1/
9910: q
9911: }
9912: /^X\(\/\/\)$/{
9913: s//\1/
9914: q
9915: }
9916: /^X\(\/\).*/{
9917: s//\1/
9918: q
9919: }
9920: s/.*/./; q'`
9921: test -d "$as_dir" && break
9922: done
9923: test -z "$as_dirs" || eval "mkdir $as_dirs"
9924: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9925:
9926:
9927: } # as_fn_mkdir_p
9928: if mkdir -p . 2>/dev/null; then
9929: as_mkdir_p='mkdir -p "$as_dir"'
9930: else
9931: test -d ./-p && rmdir ./-p
9932: as_mkdir_p=false
9933: fi
9934:
9935: if test -x / >/dev/null 2>&1; then
9936: as_test_x='test -x'
9937: else
9938: if ls -dL / >/dev/null 2>&1; then
9939: as_ls_L_option=L
9940: else
9941: as_ls_L_option=
9942: fi
9943: as_test_x='
9944: eval sh -c '\''
9945: if test -d "$1"; then
9946: test -d "$1/.";
9947: else
9948: case $1 in #(
9949: -*)set "./$1";;
9950: esac;
9951: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9952: ???[sx]*):;;*)false;;esac;fi
9953: '\'' sh
9954: '
9955: fi
9956: as_executable_p=$as_test_x
9957:
9958: # Sed expression to map a string onto a valid CPP name.
9959: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9960:
9961: # Sed expression to map a string onto a valid variable name.
9962: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9963:
9964:
9965: exec 6>&1
9966: ## ----------------------------------- ##
9967: ## Main body of $CONFIG_STATUS script. ##
9968: ## ----------------------------------- ##
9969: _ASEOF
9970: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9971:
9972: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9973: # Save the log message, to keep $0 and so on meaningful, and to
9974: # report actual input values of CONFIG_FILES etc. instead of their
9975: # values after options handling.
9976: ac_log="
9977: This file was extended by rpl $as_me 4.1.0, which was
9978: generated by GNU Autoconf 2.68. Invocation command line was
9979:
9980: CONFIG_FILES = $CONFIG_FILES
9981: CONFIG_HEADERS = $CONFIG_HEADERS
9982: CONFIG_LINKS = $CONFIG_LINKS
9983: CONFIG_COMMANDS = $CONFIG_COMMANDS
9984: $ $0 $@
9985:
9986: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9987: "
9988:
9989: _ACEOF
9990:
9991: case $ac_config_files in *"
9992: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9993: esac
9994:
9995: case $ac_config_headers in *"
9996: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9997: esac
9998:
9999:
10000: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10001: # Files that config.status was made for.
10002: config_files="$ac_config_files"
10003: config_headers="$ac_config_headers"
10004: config_commands="$ac_config_commands"
10005:
10006: _ACEOF
10007:
10008: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10009: ac_cs_usage="\
10010: \`$as_me' instantiates files and other configuration actions
10011: from templates according to the current configuration. Unless the files
10012: and actions are specified as TAGs, all are instantiated by default.
10013:
10014: Usage: $0 [OPTION]... [TAG]...
10015:
10016: -h, --help print this help, then exit
10017: -V, --version print version number and configuration settings, then exit
10018: --config print configuration, then exit
10019: -q, --quiet, --silent
10020: do not print progress messages
10021: -d, --debug don't remove temporary files
10022: --recheck update $as_me by reconfiguring in the same conditions
10023: --file=FILE[:TEMPLATE]
10024: instantiate the configuration file FILE
10025: --header=FILE[:TEMPLATE]
10026: instantiate the configuration header FILE
10027:
10028: Configuration files:
10029: $config_files
10030:
10031: Configuration headers:
10032: $config_headers
10033:
10034: Configuration commands:
10035: $config_commands
10036:
10037: Report bugs to the package provider."
10038:
10039: _ACEOF
10040: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10041: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10042: ac_cs_version="\\
10043: rpl config.status 4.1.0
10044: configured by $0, generated by GNU Autoconf 2.68,
10045: with options \\"\$ac_cs_config\\"
10046:
10047: Copyright (C) 2010 Free Software Foundation, Inc.
10048: This config.status script is free software; the Free Software Foundation
10049: gives unlimited permission to copy, distribute and modify it."
10050:
10051: ac_pwd='$ac_pwd'
10052: srcdir='$srcdir'
10053: INSTALL='$INSTALL'
10054: MKDIR_P='$MKDIR_P'
10055: AWK='$AWK'
10056: test -n "\$AWK" || AWK=awk
10057: _ACEOF
10058:
10059: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10060: # The default lists apply if the user does not specify any file.
10061: ac_need_defaults=:
10062: while test $# != 0
10063: do
10064: case $1 in
10065: --*=?*)
10066: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10067: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10068: ac_shift=:
10069: ;;
10070: --*=)
10071: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10072: ac_optarg=
10073: ac_shift=:
10074: ;;
10075: *)
10076: ac_option=$1
10077: ac_optarg=$2
10078: ac_shift=shift
10079: ;;
10080: esac
10081:
10082: case $ac_option in
10083: # Handling of the options.
10084: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10085: ac_cs_recheck=: ;;
10086: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10087: $as_echo "$ac_cs_version"; exit ;;
10088: --config | --confi | --conf | --con | --co | --c )
10089: $as_echo "$ac_cs_config"; exit ;;
10090: --debug | --debu | --deb | --de | --d | -d )
10091: debug=: ;;
10092: --file | --fil | --fi | --f )
10093: $ac_shift
10094: case $ac_optarg in
10095: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10096: '') as_fn_error $? "missing file argument" ;;
10097: esac
10098: as_fn_append CONFIG_FILES " '$ac_optarg'"
10099: ac_need_defaults=false;;
10100: --header | --heade | --head | --hea )
10101: $ac_shift
10102: case $ac_optarg in
10103: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10104: esac
10105: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10106: ac_need_defaults=false;;
10107: --he | --h)
10108: # Conflict between --help and --header
10109: as_fn_error $? "ambiguous option: \`$1'
10110: Try \`$0 --help' for more information.";;
10111: --help | --hel | -h )
10112: $as_echo "$ac_cs_usage"; exit ;;
10113: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10114: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10115: ac_cs_silent=: ;;
10116:
10117: # This is an error.
10118: -*) as_fn_error $? "unrecognized option: \`$1'
10119: Try \`$0 --help' for more information." ;;
10120:
10121: *) as_fn_append ac_config_targets " $1"
10122: ac_need_defaults=false ;;
10123:
10124: esac
10125: shift
10126: done
10127:
10128: ac_configure_extra_args=
10129:
10130: if $ac_cs_silent; then
10131: exec 6>/dev/null
10132: ac_configure_extra_args="$ac_configure_extra_args --silent"
10133: fi
10134:
10135: _ACEOF
10136: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10137: if \$ac_cs_recheck; then
10138: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10139: shift
10140: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10141: CONFIG_SHELL='$SHELL'
10142: export CONFIG_SHELL
10143: exec "\$@"
10144: fi
10145:
10146: _ACEOF
10147: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10148: exec 5>>config.log
10149: {
10150: echo
10151: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10152: ## Running $as_me. ##
10153: _ASBOX
10154: $as_echo "$ac_log"
10155: } >&5
10156:
10157: _ACEOF
10158: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10159: #
10160: # INIT-COMMANDS
10161: #
10162: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10163:
10164: _ACEOF
10165:
10166: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10167:
10168: # Handling of arguments.
10169: for ac_config_target in $ac_config_targets
10170: do
10171: case $ac_config_target in
10172: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10173: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10174: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10175: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10176: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10177: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10178: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10179: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10180: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10181: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10182: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10183: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10184: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10185: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10186: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10187: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10188: "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10189: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10190: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10191: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10192: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10193: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10194: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10195: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10196: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10197: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10198: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10199: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10200: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10201: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10202:
10203: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10204: esac
10205: done
10206:
10207:
10208: # If the user did not use the arguments to specify the items to instantiate,
10209: # then the envvar interface is used. Set only those that are not.
10210: # We use the long form for the default assignment because of an extremely
10211: # bizarre bug on SunOS 4.1.3.
10212: if $ac_need_defaults; then
10213: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10214: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10215: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10216: fi
10217:
10218: # Have a temporary directory for convenience. Make it in the build tree
10219: # simply because there is no reason against having it here, and in addition,
10220: # creating and moving files from /tmp can sometimes cause problems.
10221: # Hook for its removal unless debugging.
10222: # Note that there is a small window in which the directory will not be cleaned:
10223: # after its creation but before its name has been assigned to `$tmp'.
10224: $debug ||
10225: {
10226: tmp= ac_tmp=
10227: trap 'exit_status=$?
10228: : "${ac_tmp:=$tmp}"
10229: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10230: ' 0
10231: trap 'as_fn_exit 1' 1 2 13 15
10232: }
10233: # Create a (secure) tmp directory for tmp files.
10234:
10235: {
10236: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10237: test -d "$tmp"
10238: } ||
10239: {
10240: tmp=./conf$$-$RANDOM
10241: (umask 077 && mkdir "$tmp")
10242: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10243: ac_tmp=$tmp
10244:
10245: # Set up the scripts for CONFIG_FILES section.
10246: # No need to generate them if there are no CONFIG_FILES.
10247: # This happens for instance with `./config.status config.h'.
10248: if test -n "$CONFIG_FILES"; then
10249:
10250:
10251: ac_cr=`echo X | tr X '\015'`
10252: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10253: # But we know of no other shell where ac_cr would be empty at this
10254: # point, so we can use a bashism as a fallback.
10255: if test "x$ac_cr" = x; then
10256: eval ac_cr=\$\'\\r\'
10257: fi
10258: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10259: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10260: ac_cs_awk_cr='\\r'
10261: else
10262: ac_cs_awk_cr=$ac_cr
10263: fi
10264:
10265: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10266: _ACEOF
10267:
10268:
10269: {
10270: echo "cat >conf$$subs.awk <<_ACEOF" &&
10271: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10272: echo "_ACEOF"
10273: } >conf$$subs.sh ||
10274: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10275: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10276: ac_delim='%!_!# '
10277: for ac_last_try in false false false false false :; do
10278: . ./conf$$subs.sh ||
10279: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10280:
10281: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10282: if test $ac_delim_n = $ac_delim_num; then
10283: break
10284: elif $ac_last_try; then
10285: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10286: else
10287: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10288: fi
10289: done
10290: rm -f conf$$subs.sh
10291:
10292: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10293: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10294: _ACEOF
10295: sed -n '
10296: h
10297: s/^/S["/; s/!.*/"]=/
10298: p
10299: g
10300: s/^[^!]*!//
10301: :repl
10302: t repl
10303: s/'"$ac_delim"'$//
10304: t delim
10305: :nl
10306: h
10307: s/\(.\{148\}\)..*/\1/
10308: t more1
10309: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10310: p
10311: n
10312: b repl
10313: :more1
10314: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10315: p
10316: g
10317: s/.\{148\}//
10318: t nl
10319: :delim
10320: h
10321: s/\(.\{148\}\)..*/\1/
10322: t more2
10323: s/["\\]/\\&/g; s/^/"/; s/$/"/
10324: p
10325: b
10326: :more2
10327: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10328: p
10329: g
10330: s/.\{148\}//
10331: t delim
10332: ' <conf$$subs.awk | sed '
10333: /^[^""]/{
10334: N
10335: s/\n//
10336: }
10337: ' >>$CONFIG_STATUS || ac_write_fail=1
10338: rm -f conf$$subs.awk
10339: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10340: _ACAWK
10341: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10342: for (key in S) S_is_set[key] = 1
10343: FS = ""
10344:
10345: }
10346: {
10347: line = $ 0
10348: nfields = split(line, field, "@")
10349: substed = 0
10350: len = length(field[1])
10351: for (i = 2; i < nfields; i++) {
10352: key = field[i]
10353: keylen = length(key)
10354: if (S_is_set[key]) {
10355: value = S[key]
10356: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10357: len += length(value) + length(field[++i])
10358: substed = 1
10359: } else
10360: len += 1 + keylen
10361: }
10362:
10363: print line
10364: }
10365:
10366: _ACAWK
10367: _ACEOF
10368: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10369: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10370: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10371: else
10372: cat
10373: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10374: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10375: _ACEOF
10376:
10377: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10378: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10379: # trailing colons and then remove the whole line if VPATH becomes empty
10380: # (actually we leave an empty line to preserve line numbers).
10381: if test "x$srcdir" = x.; then
10382: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10383: h
10384: s///
10385: s/^/:/
10386: s/[ ]*$/:/
10387: s/:\$(srcdir):/:/g
10388: s/:\${srcdir}:/:/g
10389: s/:@srcdir@:/:/g
10390: s/^:*//
10391: s/:*$//
10392: x
10393: s/\(=[ ]*\).*/\1/
10394: G
10395: s/\n//
10396: s/^[^=]*=[ ]*$//
10397: }'
10398: fi
10399:
10400: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10401: fi # test -n "$CONFIG_FILES"
10402:
10403: # Set up the scripts for CONFIG_HEADERS section.
10404: # No need to generate them if there are no CONFIG_HEADERS.
10405: # This happens for instance with `./config.status Makefile'.
10406: if test -n "$CONFIG_HEADERS"; then
10407: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10408: BEGIN {
10409: _ACEOF
10410:
10411: # Transform confdefs.h into an awk script `defines.awk', embedded as
10412: # here-document in config.status, that substitutes the proper values into
10413: # config.h.in to produce config.h.
10414:
10415: # Create a delimiter string that does not exist in confdefs.h, to ease
10416: # handling of long lines.
10417: ac_delim='%!_!# '
10418: for ac_last_try in false false :; do
10419: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10420: if test -z "$ac_tt"; then
10421: break
10422: elif $ac_last_try; then
10423: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10424: else
10425: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10426: fi
10427: done
10428:
10429: # For the awk script, D is an array of macro values keyed by name,
10430: # likewise P contains macro parameters if any. Preserve backslash
10431: # newline sequences.
10432:
10433: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10434: sed -n '
10435: s/.\{148\}/&'"$ac_delim"'/g
10436: t rset
10437: :rset
10438: s/^[ ]*#[ ]*define[ ][ ]*/ /
10439: t def
10440: d
10441: :def
10442: s/\\$//
10443: t bsnl
10444: s/["\\]/\\&/g
10445: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10446: D["\1"]=" \3"/p
10447: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10448: d
10449: :bsnl
10450: s/["\\]/\\&/g
10451: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10452: D["\1"]=" \3\\\\\\n"\\/p
10453: t cont
10454: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10455: t cont
10456: d
10457: :cont
10458: n
10459: s/.\{148\}/&'"$ac_delim"'/g
10460: t clear
10461: :clear
10462: s/\\$//
10463: t bsnlc
10464: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10465: d
10466: :bsnlc
10467: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10468: b cont
10469: ' <confdefs.h | sed '
10470: s/'"$ac_delim"'/"\\\
10471: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10472:
10473: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10474: for (key in D) D_is_set[key] = 1
10475: FS = ""
10476: }
10477: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10478: line = \$ 0
10479: split(line, arg, " ")
10480: if (arg[1] == "#") {
10481: defundef = arg[2]
10482: mac1 = arg[3]
10483: } else {
10484: defundef = substr(arg[1], 2)
10485: mac1 = arg[2]
10486: }
10487: split(mac1, mac2, "(") #)
10488: macro = mac2[1]
10489: prefix = substr(line, 1, index(line, defundef) - 1)
10490: if (D_is_set[macro]) {
10491: # Preserve the white space surrounding the "#".
10492: print prefix "define", macro P[macro] D[macro]
10493: next
10494: } else {
10495: # Replace #undef with comments. This is necessary, for example,
10496: # in the case of _POSIX_SOURCE, which is predefined and required
10497: # on some systems where configure will not decide to define it.
10498: if (defundef == "undef") {
10499: print "/*", prefix defundef, macro, "*/"
10500: next
10501: }
10502: }
10503: }
10504: { print }
10505: _ACAWK
10506: _ACEOF
10507: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10508: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10509: fi # test -n "$CONFIG_HEADERS"
10510:
10511:
10512: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10513: shift
10514: for ac_tag
10515: do
10516: case $ac_tag in
10517: :[FHLC]) ac_mode=$ac_tag; continue;;
10518: esac
10519: case $ac_mode$ac_tag in
10520: :[FHL]*:*);;
10521: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10522: :[FH]-) ac_tag=-:-;;
10523: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10524: esac
10525: ac_save_IFS=$IFS
10526: IFS=:
10527: set x $ac_tag
10528: IFS=$ac_save_IFS
10529: shift
10530: ac_file=$1
10531: shift
10532:
10533: case $ac_mode in
10534: :L) ac_source=$1;;
10535: :[FH])
10536: ac_file_inputs=
10537: for ac_f
10538: do
10539: case $ac_f in
10540: -) ac_f="$ac_tmp/stdin";;
10541: *) # Look for the file first in the build tree, then in the source tree
10542: # (if the path is not absolute). The absolute path cannot be DOS-style,
10543: # because $ac_f cannot contain `:'.
10544: test -f "$ac_f" ||
10545: case $ac_f in
10546: [\\/$]*) false;;
10547: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10548: esac ||
10549: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10550: esac
10551: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10552: as_fn_append ac_file_inputs " '$ac_f'"
10553: done
10554:
10555: # Let's still pretend it is `configure' which instantiates (i.e., don't
10556: # use $as_me), people would be surprised to read:
10557: # /* config.h. Generated by config.status. */
10558: configure_input='Generated from '`
10559: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10560: `' by configure.'
10561: if test x"$ac_file" != x-; then
10562: configure_input="$ac_file. $configure_input"
10563: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10564: $as_echo "$as_me: creating $ac_file" >&6;}
10565: fi
10566: # Neutralize special characters interpreted by sed in replacement strings.
10567: case $configure_input in #(
10568: *\&* | *\|* | *\\* )
10569: ac_sed_conf_input=`$as_echo "$configure_input" |
10570: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10571: *) ac_sed_conf_input=$configure_input;;
10572: esac
10573:
10574: case $ac_tag in
10575: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10576: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10577: esac
10578: ;;
10579: esac
10580:
10581: ac_dir=`$as_dirname -- "$ac_file" ||
10582: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10583: X"$ac_file" : 'X\(//\)[^/]' \| \
10584: X"$ac_file" : 'X\(//\)$' \| \
10585: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10586: $as_echo X"$ac_file" |
10587: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10588: s//\1/
10589: q
10590: }
10591: /^X\(\/\/\)[^/].*/{
10592: s//\1/
10593: q
10594: }
10595: /^X\(\/\/\)$/{
10596: s//\1/
10597: q
10598: }
10599: /^X\(\/\).*/{
10600: s//\1/
10601: q
10602: }
10603: s/.*/./; q'`
10604: as_dir="$ac_dir"; as_fn_mkdir_p
10605: ac_builddir=.
10606:
10607: case "$ac_dir" in
10608: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10609: *)
10610: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10611: # A ".." for each directory in $ac_dir_suffix.
10612: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10613: case $ac_top_builddir_sub in
10614: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10615: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10616: esac ;;
10617: esac
10618: ac_abs_top_builddir=$ac_pwd
10619: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10620: # for backward compatibility:
10621: ac_top_builddir=$ac_top_build_prefix
10622:
10623: case $srcdir in
10624: .) # We are building in place.
10625: ac_srcdir=.
10626: ac_top_srcdir=$ac_top_builddir_sub
10627: ac_abs_top_srcdir=$ac_pwd ;;
10628: [\\/]* | ?:[\\/]* ) # Absolute name.
10629: ac_srcdir=$srcdir$ac_dir_suffix;
10630: ac_top_srcdir=$srcdir
10631: ac_abs_top_srcdir=$srcdir ;;
10632: *) # Relative name.
10633: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10634: ac_top_srcdir=$ac_top_build_prefix$srcdir
10635: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10636: esac
10637: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10638:
10639:
10640: case $ac_mode in
10641: :F)
10642: #
10643: # CONFIG_FILE
10644: #
10645:
10646: case $INSTALL in
10647: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10648: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10649: esac
10650: ac_MKDIR_P=$MKDIR_P
10651: case $MKDIR_P in
10652: [\\/$]* | ?:[\\/]* ) ;;
10653: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10654: esac
10655: _ACEOF
10656:
10657: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10658: # If the template does not know about datarootdir, expand it.
10659: # FIXME: This hack should be removed a few years after 2.60.
10660: ac_datarootdir_hack=; ac_datarootdir_seen=
10661: ac_sed_dataroot='
10662: /datarootdir/ {
10663: p
10664: q
10665: }
10666: /@datadir@/p
10667: /@docdir@/p
10668: /@infodir@/p
10669: /@localedir@/p
10670: /@mandir@/p'
10671: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10672: *datarootdir*) ac_datarootdir_seen=yes;;
10673: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10674: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10675: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10676: _ACEOF
10677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10678: ac_datarootdir_hack='
10679: s&@datadir@&$datadir&g
10680: s&@docdir@&$docdir&g
10681: s&@infodir@&$infodir&g
10682: s&@localedir@&$localedir&g
10683: s&@mandir@&$mandir&g
10684: s&\\\${datarootdir}&$datarootdir&g' ;;
10685: esac
10686: _ACEOF
10687:
10688: # Neutralize VPATH when `$srcdir' = `.'.
10689: # Shell code in configure.ac might set extrasub.
10690: # FIXME: do we really want to maintain this feature?
10691: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10692: ac_sed_extra="$ac_vpsub
10693: $extrasub
10694: _ACEOF
10695: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10696: :t
10697: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10698: s|@configure_input@|$ac_sed_conf_input|;t t
10699: s&@top_builddir@&$ac_top_builddir_sub&;t t
10700: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10701: s&@srcdir@&$ac_srcdir&;t t
10702: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10703: s&@top_srcdir@&$ac_top_srcdir&;t t
10704: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10705: s&@builddir@&$ac_builddir&;t t
10706: s&@abs_builddir@&$ac_abs_builddir&;t t
10707: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10708: s&@INSTALL@&$ac_INSTALL&;t t
10709: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10710: $ac_datarootdir_hack
10711: "
10712: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10713: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10714:
10715: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10716: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10717: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10718: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10719: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10720: which seems to be undefined. Please make sure it is defined" >&5
10721: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10722: which seems to be undefined. Please make sure it is defined" >&2;}
10723:
10724: rm -f "$ac_tmp/stdin"
10725: case $ac_file in
10726: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10727: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10728: esac \
10729: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10730: ;;
10731: :H)
10732: #
10733: # CONFIG_HEADER
10734: #
10735: if test x"$ac_file" != x-; then
10736: {
10737: $as_echo "/* $configure_input */" \
10738: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10739: } >"$ac_tmp/config.h" \
10740: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10741: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10742: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10743: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10744: else
10745: rm -f "$ac_file"
10746: mv "$ac_tmp/config.h" "$ac_file" \
10747: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10748: fi
10749: else
10750: $as_echo "/* $configure_input */" \
10751: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10752: || as_fn_error $? "could not create -" "$LINENO" 5
10753: fi
10754: # Compute "$ac_file"'s index in $config_headers.
10755: _am_arg="$ac_file"
10756: _am_stamp_count=1
10757: for _am_header in $config_headers :; do
10758: case $_am_header in
10759: $_am_arg | $_am_arg:* )
10760: break ;;
10761: * )
10762: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10763: esac
10764: done
10765: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10766: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10767: X"$_am_arg" : 'X\(//\)[^/]' \| \
10768: X"$_am_arg" : 'X\(//\)$' \| \
10769: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10770: $as_echo X"$_am_arg" |
10771: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10772: s//\1/
10773: q
10774: }
10775: /^X\(\/\/\)[^/].*/{
10776: s//\1/
10777: q
10778: }
10779: /^X\(\/\/\)$/{
10780: s//\1/
10781: q
10782: }
10783: /^X\(\/\).*/{
10784: s//\1/
10785: q
10786: }
10787: s/.*/./; q'`/stamp-h$_am_stamp_count
10788: ;;
10789:
10790: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10791: $as_echo "$as_me: executing $ac_file commands" >&6;}
10792: ;;
10793: esac
10794:
10795:
10796: case $ac_file$ac_mode in
10797: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10798: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10799: # are listed without --file. Let's play safe and only enable the eval
10800: # if we detect the quoting.
10801: case $CONFIG_FILES in
10802: *\'*) eval set x "$CONFIG_FILES" ;;
10803: *) set x $CONFIG_FILES ;;
10804: esac
10805: shift
10806: for mf
10807: do
10808: # Strip MF so we end up with the name of the file.
10809: mf=`echo "$mf" | sed -e 's/:.*$//'`
10810: # Check whether this is an Automake generated Makefile or not.
10811: # We used to match only the files named `Makefile.in', but
10812: # some people rename them; so instead we look at the file content.
10813: # Grep'ing the first line is not enough: some people post-process
10814: # each Makefile.in and add a new line on top of each file to say so.
10815: # Grep'ing the whole file is not good either: AIX grep has a line
10816: # limit of 2048, but all sed's we know have understand at least 4000.
10817: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10818: dirpart=`$as_dirname -- "$mf" ||
10819: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10820: X"$mf" : 'X\(//\)[^/]' \| \
10821: X"$mf" : 'X\(//\)$' \| \
10822: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10823: $as_echo X"$mf" |
10824: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10825: s//\1/
10826: q
10827: }
10828: /^X\(\/\/\)[^/].*/{
10829: s//\1/
10830: q
10831: }
10832: /^X\(\/\/\)$/{
10833: s//\1/
10834: q
10835: }
10836: /^X\(\/\).*/{
10837: s//\1/
10838: q
10839: }
10840: s/.*/./; q'`
10841: else
10842: continue
10843: fi
10844: # Extract the definition of DEPDIR, am__include, and am__quote
10845: # from the Makefile without running `make'.
10846: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10847: test -z "$DEPDIR" && continue
10848: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10849: test -z "am__include" && continue
10850: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10851: # When using ansi2knr, U may be empty or an underscore; expand it
10852: U=`sed -n 's/^U = //p' < "$mf"`
10853: # Find all dependency output files, they are included files with
10854: # $(DEPDIR) in their names. We invoke sed twice because it is the
10855: # simplest approach to changing $(DEPDIR) to its actual value in the
10856: # expansion.
10857: for file in `sed -n "
10858: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10859: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10860: # Make sure the directory exists.
10861: test -f "$dirpart/$file" && continue
10862: fdir=`$as_dirname -- "$file" ||
10863: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10864: X"$file" : 'X\(//\)[^/]' \| \
10865: X"$file" : 'X\(//\)$' \| \
10866: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10867: $as_echo X"$file" |
10868: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10869: s//\1/
10870: q
10871: }
10872: /^X\(\/\/\)[^/].*/{
10873: s//\1/
10874: q
10875: }
10876: /^X\(\/\/\)$/{
10877: s//\1/
10878: q
10879: }
10880: /^X\(\/\).*/{
10881: s//\1/
10882: q
10883: }
10884: s/.*/./; q'`
10885: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10886: # echo "creating $dirpart/$file"
10887: echo '# dummy' > "$dirpart/$file"
10888: done
10889: done
10890: }
10891: ;;
10892:
10893: esac
10894: done # for ac_tag
10895:
10896:
10897: as_fn_exit 0
10898: _ACEOF
10899: ac_clean_files=$ac_clean_files_save
10900:
10901: test $ac_write_fail = 0 ||
10902: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10903:
10904:
10905: # configure is writing to config.log, and then calls config.status.
10906: # config.status does its own redirection, appending to config.log.
10907: # Unfortunately, on DOS this fails, as config.log is still kept open
10908: # by configure, so config.status won't be able to write to it; its
10909: # output is simply discarded. So we exec the FD to /dev/null,
10910: # effectively closing config.log, so it can be properly (re)opened and
10911: # appended to by config.status. When coming back to configure, we
10912: # need to make the FD available again.
10913: if test "$no_create" != yes; then
10914: ac_cs_success=:
10915: ac_config_status_args=
10916: test "$silent" = yes &&
10917: ac_config_status_args="$ac_config_status_args --quiet"
10918: exec 5>/dev/null
10919: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10920: exec 5>>config.log
10921: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10922: # would make configure fail if this is the last instruction.
10923: $ac_cs_success || as_fn_exit 1
10924: fi
10925:
10926: #
10927: # CONFIG_SUBDIRS section.
10928: #
10929: if test "$no_recursion" != yes; then
10930:
10931: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10932: # so they do not pile up.
10933: ac_sub_configure_args=
10934: ac_prev=
10935: eval "set x $ac_configure_args"
10936: shift
10937: for ac_arg
10938: do
10939: if test -n "$ac_prev"; then
10940: ac_prev=
10941: continue
10942: fi
10943: case $ac_arg in
10944: -cache-file | --cache-file | --cache-fil | --cache-fi \
10945: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10946: ac_prev=cache_file ;;
10947: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10948: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10949: | --c=*)
10950: ;;
10951: --config-cache | -C)
10952: ;;
10953: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10954: ac_prev=srcdir ;;
10955: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10956: ;;
10957: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10958: ac_prev=prefix ;;
10959: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10960: ;;
10961: --disable-option-checking)
10962: ;;
10963: *)
10964: case $ac_arg in
10965: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10966: esac
10967: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10968: esac
10969: done
10970:
10971: # Always prepend --prefix to ensure using the same prefix
10972: # in subdir configurations.
10973: ac_arg="--prefix=$prefix"
10974: case $ac_arg in
10975: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10976: esac
10977: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10978:
10979: # Pass --silent
10980: if test "$silent" = yes; then
10981: ac_sub_configure_args="--silent $ac_sub_configure_args"
10982: fi
10983:
10984: # Always prepend --disable-option-checking to silence warnings, since
10985: # different subdirs can have different --enable and --with options.
10986: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10987:
10988: ac_popdir=`pwd`
10989: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10990:
10991: # Do not complain, so a configure script can configure whichever
10992: # parts of a large source tree are present.
10993: test -d "$srcdir/$ac_dir" || continue
10994:
10995: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10996: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10997: $as_echo "$ac_msg" >&6
10998: as_dir="$ac_dir"; as_fn_mkdir_p
10999: ac_builddir=.
11000:
11001: case "$ac_dir" in
11002: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11003: *)
11004: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11005: # A ".." for each directory in $ac_dir_suffix.
11006: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11007: case $ac_top_builddir_sub in
11008: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11009: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11010: esac ;;
11011: esac
11012: ac_abs_top_builddir=$ac_pwd
11013: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11014: # for backward compatibility:
11015: ac_top_builddir=$ac_top_build_prefix
11016:
11017: case $srcdir in
11018: .) # We are building in place.
11019: ac_srcdir=.
11020: ac_top_srcdir=$ac_top_builddir_sub
11021: ac_abs_top_srcdir=$ac_pwd ;;
11022: [\\/]* | ?:[\\/]* ) # Absolute name.
11023: ac_srcdir=$srcdir$ac_dir_suffix;
11024: ac_top_srcdir=$srcdir
11025: ac_abs_top_srcdir=$srcdir ;;
11026: *) # Relative name.
11027: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11028: ac_top_srcdir=$ac_top_build_prefix$srcdir
11029: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11030: esac
11031: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11032:
11033:
11034: cd "$ac_dir"
11035:
11036: # Check for guested configure; otherwise get Cygnus style configure.
11037: if test -f "$ac_srcdir/configure.gnu"; then
11038: ac_sub_configure=$ac_srcdir/configure.gnu
11039: elif test -f "$ac_srcdir/configure"; then
11040: ac_sub_configure=$ac_srcdir/configure
11041: elif test -f "$ac_srcdir/configure.in"; then
11042: # This should be Cygnus configure.
11043: ac_sub_configure=$ac_aux_dir/configure
11044: else
11045: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11046: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11047: ac_sub_configure=
11048: fi
11049:
11050: # The recursion is here.
11051: if test -n "$ac_sub_configure"; then
11052: # Make the cache file name correct relative to the subdirectory.
11053: case $cache_file in
11054: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11055: *) # Relative name.
11056: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11057: esac
11058:
11059: { $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
11060: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11061: # The eval makes quoting arguments work.
11062: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11063: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11064: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11065: fi
11066:
11067: cd "$ac_popdir"
11068: done
11069: fi
11070: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11071: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11072: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11073: fi
11074:
CVSweb interface <joel.bertrand@systella.fr>