1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.65 for rpl 4.0.14.
4: #
5: #
6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8: # 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: case $0 in #((
93: *[\\/]* ) as_myself=$0 ;;
94: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95: for as_dir in $PATH
96: do
97: IFS=$as_save_IFS
98: test -z "$as_dir" && as_dir=.
99: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100: done
101: IFS=$as_save_IFS
102:
103: ;;
104: esac
105: # We did not find ourselves, most probably we were run as `sh COMMAND'
106: # in which case we are not to be found in the path.
107: if test "x$as_myself" = x; then
108: as_myself=$0
109: fi
110: if test ! -f "$as_myself"; then
111: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112: exit 1
113: fi
114:
115: # Unset variables that we do not need and which cause bugs (e.g. in
116: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117: # suppresses any "Segmentation fault" message there. '((' could
118: # trigger a bug in pdksh 5.2.14.
119: for as_var in BASH_ENV ENV MAIL MAILPATH
120: do eval test x\${$as_var+set} = xset \
121: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122: done
123: PS1='$ '
124: PS2='> '
125: PS4='+ '
126:
127: # NLS nuisances.
128: LC_ALL=C
129: export LC_ALL
130: LANGUAGE=C
131: export LANGUAGE
132:
133: # CDPATH.
134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135:
136: if test "x$CONFIG_SHELL" = x; then
137: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138: emulate sh
139: NULLCMD=:
140: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141: # is contrary to our usage. Disable this feature.
142: alias -g '\${1+\"\$@\"}'='\"\$@\"'
143: setopt NO_GLOB_SUBST
144: else
145: case \`(set -o) 2>/dev/null\` in #(
146: *posix*) :
147: set -o posix ;; #(
148: *) :
149: ;;
150: esac
151: fi
152: "
153: as_required="as_fn_return () { (exit \$1); }
154: as_fn_success () { as_fn_return 0; }
155: as_fn_failure () { as_fn_return 1; }
156: as_fn_ret_success () { return 0; }
157: as_fn_ret_failure () { return 1; }
158:
159: exitcode=0
160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165:
166: else
167: exitcode=1; echo positional parameters were not saved.
168: fi
169: test x\$exitcode = x0 || exit 1"
170: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174: test \$(( 1 + 1 )) = 2 || exit 1"
175: if (eval "$as_required") 2>/dev/null; then :
176: as_have_required=yes
177: else
178: as_have_required=no
179: fi
180: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181:
182: else
183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184: as_found=false
185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186: do
187: IFS=$as_save_IFS
188: test -z "$as_dir" && as_dir=.
189: as_found=:
190: case $as_dir in #(
191: /*)
192: for as_base in sh bash ksh sh5; do
193: # Try only shells that exist, to save several forks.
194: as_shell=$as_dir/$as_base
195: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197: CONFIG_SHELL=$as_shell as_have_required=yes
198: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199: break 2
200: fi
201: fi
202: done;;
203: esac
204: as_found=false
205: done
206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208: CONFIG_SHELL=$SHELL as_have_required=yes
209: fi; }
210: IFS=$as_save_IFS
211:
212:
213: if test "x$CONFIG_SHELL" != x; then :
214: # We cannot yet assume a decent shell, so we have to provide a
215: # neutralization value for shells without unset; and this also
216: # works around shells that cannot unset nonexistent variables.
217: BASH_ENV=/dev/null
218: ENV=/dev/null
219: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220: export CONFIG_SHELL
221: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222: fi
223:
224: if test x$as_have_required = xno; then :
225: $as_echo "$0: This script requires a shell more modern than all"
226: $as_echo "$0: the shells that I found on your system."
227: if test x${ZSH_VERSION+set} = xset ; then
228: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230: else
231: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232: $0: including any error possibly output before this
233: $0: message. Then install a modern shell, or manually run
234: $0: the script under such a shell if you do have one."
235: fi
236: exit 1
237: fi
238: fi
239: fi
240: SHELL=${CONFIG_SHELL-/bin/sh}
241: export SHELL
242: # Unset more variables known to interfere with behavior of common tools.
243: CLICOLOR_FORCE= GREP_OPTIONS=
244: unset CLICOLOR_FORCE GREP_OPTIONS
245:
246: ## --------------------- ##
247: ## M4sh Shell Functions. ##
248: ## --------------------- ##
249: # as_fn_unset VAR
250: # ---------------
251: # Portably unset VAR.
252: as_fn_unset ()
253: {
254: { eval $1=; unset $1;}
255: }
256: as_unset=as_fn_unset
257:
258: # as_fn_set_status STATUS
259: # -----------------------
260: # Set $? to STATUS, without forking.
261: as_fn_set_status ()
262: {
263: return $1
264: } # as_fn_set_status
265:
266: # as_fn_exit STATUS
267: # -----------------
268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269: as_fn_exit ()
270: {
271: set +e
272: as_fn_set_status $1
273: exit $1
274: } # as_fn_exit
275:
276: # as_fn_mkdir_p
277: # -------------
278: # Create "$as_dir" as a directory, including parents if necessary.
279: as_fn_mkdir_p ()
280: {
281:
282: case $as_dir in #(
283: -*) as_dir=./$as_dir;;
284: esac
285: test -d "$as_dir" || eval $as_mkdir_p || {
286: as_dirs=
287: while :; do
288: case $as_dir in #(
289: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290: *) as_qdir=$as_dir;;
291: esac
292: as_dirs="'$as_qdir' $as_dirs"
293: as_dir=`$as_dirname -- "$as_dir" ||
294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295: X"$as_dir" : 'X\(//\)[^/]' \| \
296: X"$as_dir" : 'X\(//\)$' \| \
297: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298: $as_echo X"$as_dir" |
299: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300: s//\1/
301: q
302: }
303: /^X\(\/\/\)[^/].*/{
304: s//\1/
305: q
306: }
307: /^X\(\/\/\)$/{
308: s//\1/
309: q
310: }
311: /^X\(\/\).*/{
312: s//\1/
313: q
314: }
315: s/.*/./; q'`
316: test -d "$as_dir" && break
317: done
318: test -z "$as_dirs" || eval "mkdir $as_dirs"
319: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320:
321:
322: } # as_fn_mkdir_p
323: # as_fn_append VAR VALUE
324: # ----------------------
325: # Append the text in VALUE to the end of the definition contained in VAR. Take
326: # advantage of any shell optimizations that allow amortized linear growth over
327: # repeated appends, instead of the typical quadratic growth present in naive
328: # implementations.
329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330: eval 'as_fn_append ()
331: {
332: eval $1+=\$2
333: }'
334: else
335: as_fn_append ()
336: {
337: eval $1=\$$1\$2
338: }
339: fi # as_fn_append
340:
341: # as_fn_arith ARG...
342: # ------------------
343: # Perform arithmetic evaluation on the ARGs, and store the result in the
344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
345: # must be portable across $(()) and expr.
346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347: eval 'as_fn_arith ()
348: {
349: as_val=$(( $* ))
350: }'
351: else
352: as_fn_arith ()
353: {
354: as_val=`expr "$@" || test $? -eq 1`
355: }
356: fi # as_fn_arith
357:
358:
359: # as_fn_error ERROR [LINENO LOG_FD]
360: # ---------------------------------
361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363: # script with status $?, using 1 if that was 0.
364: as_fn_error ()
365: {
366: as_status=$?; test $as_status -eq 0 && as_status=1
367: if test "$3"; then
368: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370: fi
371: $as_echo "$as_me: error: $1" >&2
372: as_fn_exit $as_status
373: } # as_fn_error
374:
375: if expr a : '\(a\)' >/dev/null 2>&1 &&
376: test "X`expr 00001 : '.*\(...\)'`" = X001; then
377: as_expr=expr
378: else
379: as_expr=false
380: fi
381:
382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383: as_basename=basename
384: else
385: as_basename=false
386: fi
387:
388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389: as_dirname=dirname
390: else
391: as_dirname=false
392: fi
393:
394: as_me=`$as_basename -- "$0" ||
395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396: X"$0" : 'X\(//\)$' \| \
397: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398: $as_echo X/"$0" |
399: sed '/^.*\/\([^/][^/]*\)\/*$/{
400: s//\1/
401: q
402: }
403: /^X\/\(\/\/\)$/{
404: s//\1/
405: q
406: }
407: /^X\/\(\/\).*/{
408: s//\1/
409: q
410: }
411: s/.*/./; q'`
412:
413: # Avoid depending upon Character Ranges.
414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417: as_cr_digits='0123456789'
418: as_cr_alnum=$as_cr_Letters$as_cr_digits
419:
420:
421: as_lineno_1=$LINENO as_lineno_1a=$LINENO
422: as_lineno_2=$LINENO as_lineno_2a=$LINENO
423: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426: sed -n '
427: p
428: /[$]LINENO/=
429: ' <$as_myself |
430: sed '
431: s/[$]LINENO.*/&-/
432: t lineno
433: b
434: :lineno
435: N
436: :loop
437: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438: t loop
439: s/-\n.*//
440: ' >$as_me.lineno &&
441: chmod +x "$as_me.lineno" ||
442: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443:
444: # Don't try to exec as it changes $[0], causing all sort of problems
445: # (the dirname of $[0] is not the place where we might find the
446: # original and so on. Autoconf is especially sensitive to this).
447: . "./$as_me.lineno"
448: # Exit status is that of the last command.
449: exit
450: }
451:
452: ECHO_C= ECHO_N= ECHO_T=
453: case `echo -n x` in #(((((
454: -n*)
455: case `echo 'xy\c'` in
456: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457: xy) ECHO_C='\c';;
458: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459: ECHO_T=' ';;
460: esac;;
461: *)
462: ECHO_N='-n';;
463: esac
464:
465: rm -f conf$$ conf$$.exe conf$$.file
466: if test -d conf$$.dir; then
467: rm -f conf$$.dir/conf$$.file
468: else
469: rm -f conf$$.dir
470: mkdir conf$$.dir 2>/dev/null
471: fi
472: if (echo >conf$$.file) 2>/dev/null; then
473: if ln -s conf$$.file conf$$ 2>/dev/null; then
474: as_ln_s='ln -s'
475: # ... but there are two gotchas:
476: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478: # In both cases, we have to default to `cp -p'.
479: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480: as_ln_s='cp -p'
481: elif ln conf$$.file conf$$ 2>/dev/null; then
482: as_ln_s=ln
483: else
484: as_ln_s='cp -p'
485: fi
486: else
487: as_ln_s='cp -p'
488: fi
489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490: rmdir conf$$.dir 2>/dev/null
491:
492: if mkdir -p . 2>/dev/null; then
493: as_mkdir_p='mkdir -p "$as_dir"'
494: else
495: test -d ./-p && rmdir ./-p
496: as_mkdir_p=false
497: fi
498:
499: if test -x / >/dev/null 2>&1; then
500: as_test_x='test -x'
501: else
502: if ls -dL / >/dev/null 2>&1; then
503: as_ls_L_option=L
504: else
505: as_ls_L_option=
506: fi
507: as_test_x='
508: eval sh -c '\''
509: if test -d "$1"; then
510: test -d "$1/.";
511: else
512: case $1 in #(
513: -*)set "./$1";;
514: esac;
515: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516: ???[sx]*):;;*)false;;esac;fi
517: '\'' sh
518: '
519: fi
520: as_executable_p=$as_test_x
521:
522: # Sed expression to map a string onto a valid CPP name.
523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524:
525: # Sed expression to map a string onto a valid variable name.
526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527:
528:
529: test -n "$DJDIR" || exec 7<&0 </dev/null
530: exec 6>&1
531:
532: # Name of the host.
533: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534: # so uname gets run too.
535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536:
537: #
538: # Initializations.
539: #
540: ac_default_prefix=/usr/local
541: ac_clean_files=
542: ac_config_libobj_dir=.
543: LIBOBJS=
544: cross_compiling=no
545: subdirs=
546: MFLAGS=
547: MAKEFLAGS=
548:
549: # Identity of this package.
550: PACKAGE_NAME='rpl'
551: PACKAGE_TARNAME='rpl'
552: PACKAGE_VERSION='4.0.14'
553: PACKAGE_STRING='rpl 4.0.14'
554: PACKAGE_BUGREPORT=''
555: PACKAGE_URL=''
556:
557: ac_default_prefix=/usr/local
558: # Factoring default headers for most tests.
559: ac_includes_default="\
560: #include <stdio.h>
561: #ifdef HAVE_SYS_TYPES_H
562: # include <sys/types.h>
563: #endif
564: #ifdef HAVE_SYS_STAT_H
565: # include <sys/stat.h>
566: #endif
567: #ifdef STDC_HEADERS
568: # include <stdlib.h>
569: # include <stddef.h>
570: #else
571: # ifdef HAVE_STDLIB_H
572: # include <stdlib.h>
573: # endif
574: #endif
575: #ifdef HAVE_STRING_H
576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577: # include <memory.h>
578: # endif
579: # include <string.h>
580: #endif
581: #ifdef HAVE_STRINGS_H
582: # include <strings.h>
583: #endif
584: #ifdef HAVE_INTTYPES_H
585: # include <inttypes.h>
586: #endif
587: #ifdef HAVE_STDINT_H
588: # include <stdint.h>
589: #endif
590: #ifdef HAVE_UNISTD_H
591: # include <unistd.h>
592: #endif"
593:
594: enable_option_checking=no
595: ac_subst_vars='am__EXEEXT_FALSE
596: am__EXEEXT_TRUE
597: LTLIBOBJS
598: LIBOBJS
599: DATE_FR
600: FINAL_ENCODING
601: OPENSSL
602: SQLITE
603: ICONV
604: FILE
605: GNUPLOT
606: GPP
607: GSL
608: UNITS
609: READLINE
610: NCURSES
611: SEMAPHORES_NOMMES
612: NESTED_FUNCTIONS
613: EXPORT_DYNAMIC
614: LIBMTMALLOC
615: OS
616: GNUPLOT_COMPILATION
617: subdirs
618: EGREP
619: GREP
620: libPgSQLlib
621: libPgSQLinc
622: POSTGRESQL_SUPPORT
623: libMySQLlib
624: libMySQLinc
625: MYSQL_SUPPORT
626: DATE
627: includeX
628: libX
629: MOTIF_SUPPORT
630: DEBUG
631: EXPERIMENTAL_CODE
632: VIM_SUPPORT
633: POSTSCRIPT_SUPPORT
634: FORCE_GNUPLOT_PATH
635: GNUPLOT_SUPPORT
636: VIM
637: GNUPLOT_P
638: GV
639: GS
640: DVIPS
641: LATEX
642: TEX
643: SED
644: RANLIB
645: LN_S
646: RUNPATH
647: PROFILAGE
648: X_EXTRA_LIBS
649: X_LIBS
650: X_PRE_LIBS
651: X_CFLAGS
652: CPP
653: XMKMF
654: ac_ct_FC
655: FCFLAGS
656: FC
657: ac_ct_F77
658: FFLAGS
659: F77
660: am__fastdepCXX_FALSE
661: am__fastdepCXX_TRUE
662: CXXDEPMODE
663: ac_ct_CXX
664: CXXFLAGS
665: CXX
666: am__fastdepCC_FALSE
667: am__fastdepCC_TRUE
668: CCDEPMODE
669: AMDEPBACKSLASH
670: AMDEP_FALSE
671: AMDEP_TRUE
672: am__quote
673: am__include
674: DEPDIR
675: OBJEXT
676: EXEEXT
677: ac_ct_CC
678: CPPFLAGS
679: LDFLAGS
680: CFLAGS
681: CC
682: am__untar
683: am__tar
684: AMTAR
685: am__leading_dot
686: SET_MAKE
687: AWK
688: mkdir_p
689: MKDIR_P
690: INSTALL_STRIP_PROGRAM
691: STRIP
692: install_sh
693: MAKEINFO
694: AUTOHEADER
695: AUTOMAKE
696: AUTOCONF
697: ACLOCAL
698: VERSION
699: PACKAGE
700: CYGPATH_W
701: am__isrc
702: INSTALL_DATA
703: INSTALL_SCRIPT
704: INSTALL_PROGRAM
705: target_os
706: target_vendor
707: target_cpu
708: target
709: host_os
710: host_vendor
711: host_cpu
712: host
713: build_os
714: build_vendor
715: build_cpu
716: build
717: target_alias
718: host_alias
719: build_alias
720: LIBS
721: ECHO_T
722: ECHO_N
723: ECHO_C
724: DEFS
725: mandir
726: localedir
727: libdir
728: psdir
729: pdfdir
730: dvidir
731: htmldir
732: infodir
733: docdir
734: oldincludedir
735: includedir
736: localstatedir
737: sharedstatedir
738: sysconfdir
739: datadir
740: datarootdir
741: libexecdir
742: sbindir
743: bindir
744: program_transform_name
745: prefix
746: exec_prefix
747: PACKAGE_URL
748: PACKAGE_BUGREPORT
749: PACKAGE_STRING
750: PACKAGE_VERSION
751: PACKAGE_TARNAME
752: PACKAGE_NAME
753: PATH_SEPARATOR
754: SHELL'
755: ac_subst_files=''
756: ac_user_opts='
757: enable_option_checking
758: enable_dependency_tracking
759: with_x
760: enable_optimization
761: enable_final_encoding
762: enable_tex
763: enable_vim
764: enable_embedded_gnuplot
765: enable_gnuplot
766: enable_motif
767: enable_experimental
768: enable_debug
769: enable_profile
770: enable_final_run_path
771: with_mysql
772: with_postgresql
773: with_openssl_arch
774: '
775: ac_precious_vars='build_alias
776: host_alias
777: target_alias
778: CC
779: CFLAGS
780: LDFLAGS
781: LIBS
782: CPPFLAGS
783: CXX
784: CXXFLAGS
785: CCC
786: F77
787: FFLAGS
788: FC
789: FCFLAGS
790: XMKMF
791: CPP'
792: ac_subdirs_all='tools/$NCURSES
793: tools/$READLINE
794: tools/$GSL
795: tools/$GPP
796: tools/$FILE
797: tools/$ICONV
798: tools/$SQLITE
799: tools/$UNITS
800: tools/$GNUPLOT'
801:
802: # Initialize some variables set by options.
803: ac_init_help=
804: ac_init_version=false
805: ac_unrecognized_opts=
806: ac_unrecognized_sep=
807: # The variables have the same names as the options, with
808: # dashes changed to underlines.
809: cache_file=/dev/null
810: exec_prefix=NONE
811: no_create=
812: no_recursion=
813: prefix=NONE
814: program_prefix=NONE
815: program_suffix=NONE
816: program_transform_name=s,x,x,
817: silent=
818: site=
819: srcdir=
820: verbose=
821: x_includes=NONE
822: x_libraries=NONE
823:
824: # Installation directory options.
825: # These are left unexpanded so users can "make install exec_prefix=/foo"
826: # and all the variables that are supposed to be based on exec_prefix
827: # by default will actually change.
828: # Use braces instead of parens because sh, perl, etc. also accept them.
829: # (The list follows the same order as the GNU Coding Standards.)
830: bindir='${exec_prefix}/bin'
831: sbindir='${exec_prefix}/sbin'
832: libexecdir='${exec_prefix}/libexec'
833: datarootdir='${prefix}/share'
834: datadir='${datarootdir}'
835: sysconfdir='${prefix}/etc'
836: sharedstatedir='${prefix}/com'
837: localstatedir='${prefix}/var'
838: includedir='${prefix}/include'
839: oldincludedir='/usr/include'
840: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
841: infodir='${datarootdir}/info'
842: htmldir='${docdir}'
843: dvidir='${docdir}'
844: pdfdir='${docdir}'
845: psdir='${docdir}'
846: libdir='${exec_prefix}/lib'
847: localedir='${datarootdir}/locale'
848: mandir='${datarootdir}/man'
849:
850: ac_prev=
851: ac_dashdash=
852: for ac_option
853: do
854: # If the previous option needs an argument, assign it.
855: if test -n "$ac_prev"; then
856: eval $ac_prev=\$ac_option
857: ac_prev=
858: continue
859: fi
860:
861: case $ac_option in
862: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863: *) ac_optarg=yes ;;
864: esac
865:
866: # Accept the important Cygnus configure options, so we can diagnose typos.
867:
868: case $ac_dashdash$ac_option in
869: --)
870: ac_dashdash=yes ;;
871:
872: -bindir | --bindir | --bindi | --bind | --bin | --bi)
873: ac_prev=bindir ;;
874: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875: bindir=$ac_optarg ;;
876:
877: -build | --build | --buil | --bui | --bu)
878: ac_prev=build_alias ;;
879: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
880: build_alias=$ac_optarg ;;
881:
882: -cache-file | --cache-file | --cache-fil | --cache-fi \
883: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
884: ac_prev=cache_file ;;
885: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
886: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
887: cache_file=$ac_optarg ;;
888:
889: --config-cache | -C)
890: cache_file=config.cache ;;
891:
892: -datadir | --datadir | --datadi | --datad)
893: ac_prev=datadir ;;
894: -datadir=* | --datadir=* | --datadi=* | --datad=*)
895: datadir=$ac_optarg ;;
896:
897: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898: | --dataroo | --dataro | --datar)
899: ac_prev=datarootdir ;;
900: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902: datarootdir=$ac_optarg ;;
903:
904: -disable-* | --disable-*)
905: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906: # Reject names that are not valid shell variable names.
907: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908: as_fn_error "invalid feature name: $ac_useropt"
909: ac_useropt_orig=$ac_useropt
910: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911: case $ac_user_opts in
912: *"
913: "enable_$ac_useropt"
914: "*) ;;
915: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916: ac_unrecognized_sep=', ';;
917: esac
918: eval enable_$ac_useropt=no ;;
919:
920: -docdir | --docdir | --docdi | --doc | --do)
921: ac_prev=docdir ;;
922: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923: docdir=$ac_optarg ;;
924:
925: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926: ac_prev=dvidir ;;
927: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928: dvidir=$ac_optarg ;;
929:
930: -enable-* | --enable-*)
931: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932: # Reject names that are not valid shell variable names.
933: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934: as_fn_error "invalid feature name: $ac_useropt"
935: ac_useropt_orig=$ac_useropt
936: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937: case $ac_user_opts in
938: *"
939: "enable_$ac_useropt"
940: "*) ;;
941: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942: ac_unrecognized_sep=', ';;
943: esac
944: eval enable_$ac_useropt=\$ac_optarg ;;
945:
946: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948: | --exec | --exe | --ex)
949: ac_prev=exec_prefix ;;
950: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952: | --exec=* | --exe=* | --ex=*)
953: exec_prefix=$ac_optarg ;;
954:
955: -gas | --gas | --ga | --g)
956: # Obsolete; use --with-gas.
957: with_gas=yes ;;
958:
959: -help | --help | --hel | --he | -h)
960: ac_init_help=long ;;
961: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962: ac_init_help=recursive ;;
963: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964: ac_init_help=short ;;
965:
966: -host | --host | --hos | --ho)
967: ac_prev=host_alias ;;
968: -host=* | --host=* | --hos=* | --ho=*)
969: host_alias=$ac_optarg ;;
970:
971: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972: ac_prev=htmldir ;;
973: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974: | --ht=*)
975: htmldir=$ac_optarg ;;
976:
977: -includedir | --includedir | --includedi | --included | --include \
978: | --includ | --inclu | --incl | --inc)
979: ac_prev=includedir ;;
980: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981: | --includ=* | --inclu=* | --incl=* | --inc=*)
982: includedir=$ac_optarg ;;
983:
984: -infodir | --infodir | --infodi | --infod | --info | --inf)
985: ac_prev=infodir ;;
986: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987: infodir=$ac_optarg ;;
988:
989: -libdir | --libdir | --libdi | --libd)
990: ac_prev=libdir ;;
991: -libdir=* | --libdir=* | --libdi=* | --libd=*)
992: libdir=$ac_optarg ;;
993:
994: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995: | --libexe | --libex | --libe)
996: ac_prev=libexecdir ;;
997: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998: | --libexe=* | --libex=* | --libe=*)
999: libexecdir=$ac_optarg ;;
1000:
1001: -localedir | --localedir | --localedi | --localed | --locale)
1002: ac_prev=localedir ;;
1003: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004: localedir=$ac_optarg ;;
1005:
1006: -localstatedir | --localstatedir | --localstatedi | --localstated \
1007: | --localstate | --localstat | --localsta | --localst | --locals)
1008: ac_prev=localstatedir ;;
1009: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011: localstatedir=$ac_optarg ;;
1012:
1013: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014: ac_prev=mandir ;;
1015: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016: mandir=$ac_optarg ;;
1017:
1018: -nfp | --nfp | --nf)
1019: # Obsolete; use --without-fp.
1020: with_fp=no ;;
1021:
1022: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023: | --no-cr | --no-c | -n)
1024: no_create=yes ;;
1025:
1026: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028: no_recursion=yes ;;
1029:
1030: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032: | --oldin | --oldi | --old | --ol | --o)
1033: ac_prev=oldincludedir ;;
1034: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037: oldincludedir=$ac_optarg ;;
1038:
1039: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040: ac_prev=prefix ;;
1041: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042: prefix=$ac_optarg ;;
1043:
1044: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045: | --program-pre | --program-pr | --program-p)
1046: ac_prev=program_prefix ;;
1047: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049: program_prefix=$ac_optarg ;;
1050:
1051: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052: | --program-suf | --program-su | --program-s)
1053: ac_prev=program_suffix ;;
1054: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056: program_suffix=$ac_optarg ;;
1057:
1058: -program-transform-name | --program-transform-name \
1059: | --program-transform-nam | --program-transform-na \
1060: | --program-transform-n | --program-transform- \
1061: | --program-transform | --program-transfor \
1062: | --program-transfo | --program-transf \
1063: | --program-trans | --program-tran \
1064: | --progr-tra | --program-tr | --program-t)
1065: ac_prev=program_transform_name ;;
1066: -program-transform-name=* | --program-transform-name=* \
1067: | --program-transform-nam=* | --program-transform-na=* \
1068: | --program-transform-n=* | --program-transform-=* \
1069: | --program-transform=* | --program-transfor=* \
1070: | --program-transfo=* | --program-transf=* \
1071: | --program-trans=* | --program-tran=* \
1072: | --progr-tra=* | --program-tr=* | --program-t=*)
1073: program_transform_name=$ac_optarg ;;
1074:
1075: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076: ac_prev=pdfdir ;;
1077: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078: pdfdir=$ac_optarg ;;
1079:
1080: -psdir | --psdir | --psdi | --psd | --ps)
1081: ac_prev=psdir ;;
1082: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083: psdir=$ac_optarg ;;
1084:
1085: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086: | -silent | --silent | --silen | --sile | --sil)
1087: silent=yes ;;
1088:
1089: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090: ac_prev=sbindir ;;
1091: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092: | --sbi=* | --sb=*)
1093: sbindir=$ac_optarg ;;
1094:
1095: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097: | --sharedst | --shareds | --shared | --share | --shar \
1098: | --sha | --sh)
1099: ac_prev=sharedstatedir ;;
1100: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103: | --sha=* | --sh=*)
1104: sharedstatedir=$ac_optarg ;;
1105:
1106: -site | --site | --sit)
1107: ac_prev=site ;;
1108: -site=* | --site=* | --sit=*)
1109: site=$ac_optarg ;;
1110:
1111: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112: ac_prev=srcdir ;;
1113: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114: srcdir=$ac_optarg ;;
1115:
1116: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117: | --syscon | --sysco | --sysc | --sys | --sy)
1118: ac_prev=sysconfdir ;;
1119: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121: sysconfdir=$ac_optarg ;;
1122:
1123: -target | --target | --targe | --targ | --tar | --ta | --t)
1124: ac_prev=target_alias ;;
1125: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126: target_alias=$ac_optarg ;;
1127:
1128: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129: verbose=yes ;;
1130:
1131: -version | --version | --versio | --versi | --vers | -V)
1132: ac_init_version=: ;;
1133:
1134: -with-* | --with-*)
1135: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136: # Reject names that are not valid shell variable names.
1137: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138: as_fn_error "invalid package name: $ac_useropt"
1139: ac_useropt_orig=$ac_useropt
1140: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141: case $ac_user_opts in
1142: *"
1143: "with_$ac_useropt"
1144: "*) ;;
1145: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146: ac_unrecognized_sep=', ';;
1147: esac
1148: eval with_$ac_useropt=\$ac_optarg ;;
1149:
1150: -without-* | --without-*)
1151: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152: # Reject names that are not valid shell variable names.
1153: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154: as_fn_error "invalid package name: $ac_useropt"
1155: ac_useropt_orig=$ac_useropt
1156: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157: case $ac_user_opts in
1158: *"
1159: "with_$ac_useropt"
1160: "*) ;;
1161: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162: ac_unrecognized_sep=', ';;
1163: esac
1164: eval with_$ac_useropt=no ;;
1165:
1166: --x)
1167: # Obsolete; use --with-x.
1168: with_x=yes ;;
1169:
1170: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1171: | --x-incl | --x-inc | --x-in | --x-i)
1172: ac_prev=x_includes ;;
1173: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1174: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1175: x_includes=$ac_optarg ;;
1176:
1177: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1178: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1179: ac_prev=x_libraries ;;
1180: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1181: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1182: x_libraries=$ac_optarg ;;
1183:
1184: -*) as_fn_error "unrecognized option: \`$ac_option'
1185: Try \`$0 --help' for more information."
1186: ;;
1187:
1188: *=*)
1189: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1190: # Reject names that are not valid shell variable names.
1191: case $ac_envvar in #(
1192: '' | [0-9]* | *[!_$as_cr_alnum]* )
1193: as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1194: esac
1195: eval $ac_envvar=\$ac_optarg
1196: export $ac_envvar ;;
1197:
1198: *)
1199: # FIXME: should be removed in autoconf 3.0.
1200: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1204: ;;
1205:
1206: esac
1207: done
1208:
1209: if test -n "$ac_prev"; then
1210: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1211: as_fn_error "missing argument to $ac_option"
1212: fi
1213:
1214: if test -n "$ac_unrecognized_opts"; then
1215: case $enable_option_checking in
1216: no) ;;
1217: fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1218: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219: esac
1220: fi
1221:
1222: # Check all directory arguments for consistency.
1223: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224: datadir sysconfdir sharedstatedir localstatedir includedir \
1225: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226: libdir localedir mandir
1227: do
1228: eval ac_val=\$$ac_var
1229: # Remove trailing slashes.
1230: case $ac_val in
1231: */ )
1232: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233: eval $ac_var=\$ac_val;;
1234: esac
1235: # Be sure to have absolute directory names.
1236: case $ac_val in
1237: [\\/$]* | ?:[\\/]* ) continue;;
1238: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239: esac
1240: as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1241: done
1242:
1243: # There might be people who depend on the old broken behavior: `$host'
1244: # used to hold the argument of --host etc.
1245: # FIXME: To remove some day.
1246: build=$build_alias
1247: host=$host_alias
1248: target=$target_alias
1249:
1250: # FIXME: To remove some day.
1251: if test "x$host_alias" != x; then
1252: if test "x$build_alias" = x; then
1253: cross_compiling=maybe
1254: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1255: If a cross compiler is detected then cross compile mode will be used." >&2
1256: elif test "x$build_alias" != "x$host_alias"; then
1257: cross_compiling=yes
1258: fi
1259: fi
1260:
1261: ac_tool_prefix=
1262: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263:
1264: test "$silent" = yes && exec 6>/dev/null
1265:
1266:
1267: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268: ac_ls_di=`ls -di .` &&
1269: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270: as_fn_error "working directory cannot be determined"
1271: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272: as_fn_error "pwd does not report name of working directory"
1273:
1274:
1275: # Find the source files, if location was not specified.
1276: if test -z "$srcdir"; then
1277: ac_srcdir_defaulted=yes
1278: # Try the directory containing this script, then the parent directory.
1279: ac_confdir=`$as_dirname -- "$as_myself" ||
1280: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281: X"$as_myself" : 'X\(//\)[^/]' \| \
1282: X"$as_myself" : 'X\(//\)$' \| \
1283: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284: $as_echo X"$as_myself" |
1285: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286: s//\1/
1287: q
1288: }
1289: /^X\(\/\/\)[^/].*/{
1290: s//\1/
1291: q
1292: }
1293: /^X\(\/\/\)$/{
1294: s//\1/
1295: q
1296: }
1297: /^X\(\/\).*/{
1298: s//\1/
1299: q
1300: }
1301: s/.*/./; q'`
1302: srcdir=$ac_confdir
1303: if test ! -r "$srcdir/$ac_unique_file"; then
1304: srcdir=..
1305: fi
1306: else
1307: ac_srcdir_defaulted=no
1308: fi
1309: if test ! -r "$srcdir/$ac_unique_file"; then
1310: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311: as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1312: fi
1313: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314: ac_abs_confdir=`(
1315: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1316: pwd)`
1317: # When building in place, set srcdir=.
1318: if test "$ac_abs_confdir" = "$ac_pwd"; then
1319: srcdir=.
1320: fi
1321: # Remove unnecessary trailing slashes from srcdir.
1322: # Double slashes in file names in object file debugging info
1323: # mess up M-x gdb in Emacs.
1324: case $srcdir in
1325: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326: esac
1327: for ac_var in $ac_precious_vars; do
1328: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329: eval ac_env_${ac_var}_value=\$${ac_var}
1330: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332: done
1333:
1334: #
1335: # Report the --help message.
1336: #
1337: if test "$ac_init_help" = "long"; then
1338: # Omit some internal or obsolete options to make the list less imposing.
1339: # This message is too long to be a string in the A/UX 3.1 sh.
1340: cat <<_ACEOF
1341: \`configure' configures rpl 4.0.14 to adapt to many kinds of systems.
1342:
1343: Usage: $0 [OPTION]... [VAR=VALUE]...
1344:
1345: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346: VAR=VALUE. See below for descriptions of some of the useful variables.
1347:
1348: Defaults for the options are specified in brackets.
1349:
1350: Configuration:
1351: -h, --help display this help and exit
1352: --help=short display options specific to this package
1353: --help=recursive display the short help of all the included packages
1354: -V, --version display version information and exit
1355: -q, --quiet, --silent do not print \`checking...' messages
1356: --cache-file=FILE cache test results in FILE [disabled]
1357: -C, --config-cache alias for \`--cache-file=config.cache'
1358: -n, --no-create do not create output files
1359: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360:
1361: Installation directories:
1362: --prefix=PREFIX install architecture-independent files in PREFIX
1363: [$ac_default_prefix]
1364: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365: [PREFIX]
1366:
1367: By default, \`make install' will install all the files in
1368: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370: for instance \`--prefix=\$HOME'.
1371:
1372: For better control, use the options below.
1373:
1374: Fine tuning of the installation directories:
1375: --bindir=DIR user executables [EPREFIX/bin]
1376: --sbindir=DIR system admin executables [EPREFIX/sbin]
1377: --libexecdir=DIR program executables [EPREFIX/libexec]
1378: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381: --libdir=DIR object code libraries [EPREFIX/lib]
1382: --includedir=DIR C header files [PREFIX/include]
1383: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386: --infodir=DIR info documentation [DATAROOTDIR/info]
1387: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388: --mandir=DIR man documentation [DATAROOTDIR/man]
1389: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1390: --htmldir=DIR html documentation [DOCDIR]
1391: --dvidir=DIR dvi documentation [DOCDIR]
1392: --pdfdir=DIR pdf documentation [DOCDIR]
1393: --psdir=DIR ps documentation [DOCDIR]
1394: _ACEOF
1395:
1396: cat <<\_ACEOF
1397:
1398: Program names:
1399: --program-prefix=PREFIX prepend PREFIX to installed program names
1400: --program-suffix=SUFFIX append SUFFIX to installed program names
1401: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1402:
1403: X features:
1404: --x-includes=DIR X include files are in DIR
1405: --x-libraries=DIR X library files are in DIR
1406:
1407: System types:
1408: --build=BUILD configure for building on BUILD [guessed]
1409: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1410: --target=TARGET configure for building compilers for TARGET [HOST]
1411: _ACEOF
1412: fi
1413:
1414: if test -n "$ac_init_help"; then
1415: case $ac_init_help in
1416: short | recursive ) echo "Configuration of rpl 4.0.14:";;
1417: esac
1418: cat <<\_ACEOF
1419:
1420: Optional Features:
1421: --disable-option-checking ignore unrecognized --enable/--with options
1422: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1423: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1424: --disable-dependency-tracking speeds up one-time build
1425: --enable-dependency-tracking do not reject slow dependency extractors
1426: --enable-optimization set compiler flags [default=environment variables -O3]
1427: --enable-final-encoding force final encoding [default=guessed]
1428: --enable-tex provide the TeX support [default=guessed]
1429: --enable-vim provide the vim support [default=guessed]
1430: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1431: --enable-gnuplot provide the GnuPlot support [default=guessed]
1432: --enable-motif provide the Motif support [default=guessed]
1433: --enable-experimental enable experimental code [default=no]
1434: --enable-debug enable debug code [default=no]
1435: --enable-profile enable profile code [default=no]
1436: --enable-final-run-path=PATH enable another final run path than PREFIX
1437:
1438: Optional Packages:
1439: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1440: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1441: --with-x use the X Window System
1442: --with-mysql=PATH specify directory for installed mysql
1443: --with-postgresql=PATH specify directory for installed postgresql
1444: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1445:
1446: Some influential environment variables:
1447: CC C compiler command
1448: CFLAGS C compiler flags
1449: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1450: nonstandard directory <lib dir>
1451: LIBS libraries to pass to the linker, e.g. -l<library>
1452: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1453: you have headers in a nonstandard directory <include dir>
1454: CXX C++ compiler command
1455: CXXFLAGS C++ compiler flags
1456: F77 Fortran 77 compiler command
1457: FFLAGS Fortran 77 compiler flags
1458: FC Fortran compiler command
1459: FCFLAGS Fortran compiler flags
1460: XMKMF Path to xmkmf, Makefile generator for X Window System
1461: CPP C preprocessor
1462:
1463: Use these variables to override the choices made by `configure' or to help
1464: it to find libraries and programs with nonstandard names/locations.
1465:
1466: Report bugs to the package provider.
1467: _ACEOF
1468: ac_status=$?
1469: fi
1470:
1471: if test "$ac_init_help" = "recursive"; then
1472: # If there are subdirs, report their specific --help.
1473: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1474: test -d "$ac_dir" ||
1475: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476: continue
1477: ac_builddir=.
1478:
1479: case "$ac_dir" in
1480: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481: *)
1482: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1483: # A ".." for each directory in $ac_dir_suffix.
1484: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1485: case $ac_top_builddir_sub in
1486: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1488: esac ;;
1489: esac
1490: ac_abs_top_builddir=$ac_pwd
1491: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1492: # for backward compatibility:
1493: ac_top_builddir=$ac_top_build_prefix
1494:
1495: case $srcdir in
1496: .) # We are building in place.
1497: ac_srcdir=.
1498: ac_top_srcdir=$ac_top_builddir_sub
1499: ac_abs_top_srcdir=$ac_pwd ;;
1500: [\\/]* | ?:[\\/]* ) # Absolute name.
1501: ac_srcdir=$srcdir$ac_dir_suffix;
1502: ac_top_srcdir=$srcdir
1503: ac_abs_top_srcdir=$srcdir ;;
1504: *) # Relative name.
1505: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1506: ac_top_srcdir=$ac_top_build_prefix$srcdir
1507: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508: esac
1509: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510:
1511: cd "$ac_dir" || { ac_status=$?; continue; }
1512: # Check for guested configure.
1513: if test -f "$ac_srcdir/configure.gnu"; then
1514: echo &&
1515: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1516: elif test -f "$ac_srcdir/configure"; then
1517: echo &&
1518: $SHELL "$ac_srcdir/configure" --help=recursive
1519: else
1520: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521: fi || ac_status=$?
1522: cd "$ac_pwd" || { ac_status=$?; break; }
1523: done
1524: fi
1525:
1526: test -n "$ac_init_help" && exit $ac_status
1527: if $ac_init_version; then
1528: cat <<\_ACEOF
1529: rpl configure 4.0.14
1530: generated by GNU Autoconf 2.65
1531:
1532: Copyright (C) 2009 Free Software Foundation, Inc.
1533: This configure script is free software; the Free Software Foundation
1534: gives unlimited permission to copy, distribute and modify it.
1535: _ACEOF
1536: exit
1537: fi
1538:
1539: ## ------------------------ ##
1540: ## Autoconf initialization. ##
1541: ## ------------------------ ##
1542:
1543: # ac_fn_c_try_compile LINENO
1544: # --------------------------
1545: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1546: ac_fn_c_try_compile ()
1547: {
1548: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549: rm -f conftest.$ac_objext
1550: if { { ac_try="$ac_compile"
1551: case "(($ac_try" in
1552: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553: *) ac_try_echo=$ac_try;;
1554: esac
1555: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556: $as_echo "$ac_try_echo"; } >&5
1557: (eval "$ac_compile") 2>conftest.err
1558: ac_status=$?
1559: if test -s conftest.err; then
1560: grep -v '^ *+' conftest.err >conftest.er1
1561: cat conftest.er1 >&5
1562: mv -f conftest.er1 conftest.err
1563: fi
1564: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565: test $ac_status = 0; } && {
1566: test -z "$ac_c_werror_flag" ||
1567: test ! -s conftest.err
1568: } && test -s conftest.$ac_objext; then :
1569: ac_retval=0
1570: else
1571: $as_echo "$as_me: failed program was:" >&5
1572: sed 's/^/| /' conftest.$ac_ext >&5
1573:
1574: ac_retval=1
1575: fi
1576: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577: as_fn_set_status $ac_retval
1578:
1579: } # ac_fn_c_try_compile
1580:
1581: # ac_fn_cxx_try_compile LINENO
1582: # ----------------------------
1583: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584: ac_fn_cxx_try_compile ()
1585: {
1586: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587: rm -f conftest.$ac_objext
1588: if { { ac_try="$ac_compile"
1589: case "(($ac_try" in
1590: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591: *) ac_try_echo=$ac_try;;
1592: esac
1593: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594: $as_echo "$ac_try_echo"; } >&5
1595: (eval "$ac_compile") 2>conftest.err
1596: ac_status=$?
1597: if test -s conftest.err; then
1598: grep -v '^ *+' conftest.err >conftest.er1
1599: cat conftest.er1 >&5
1600: mv -f conftest.er1 conftest.err
1601: fi
1602: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603: test $ac_status = 0; } && {
1604: test -z "$ac_cxx_werror_flag" ||
1605: test ! -s conftest.err
1606: } && test -s conftest.$ac_objext; then :
1607: ac_retval=0
1608: else
1609: $as_echo "$as_me: failed program was:" >&5
1610: sed 's/^/| /' conftest.$ac_ext >&5
1611:
1612: ac_retval=1
1613: fi
1614: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615: as_fn_set_status $ac_retval
1616:
1617: } # ac_fn_cxx_try_compile
1618:
1619: # ac_fn_f77_try_compile LINENO
1620: # ----------------------------
1621: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622: ac_fn_f77_try_compile ()
1623: {
1624: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625: rm -f conftest.$ac_objext
1626: if { { ac_try="$ac_compile"
1627: case "(($ac_try" in
1628: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629: *) ac_try_echo=$ac_try;;
1630: esac
1631: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632: $as_echo "$ac_try_echo"; } >&5
1633: (eval "$ac_compile") 2>conftest.err
1634: ac_status=$?
1635: if test -s conftest.err; then
1636: grep -v '^ *+' conftest.err >conftest.er1
1637: cat conftest.er1 >&5
1638: mv -f conftest.er1 conftest.err
1639: fi
1640: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641: test $ac_status = 0; } && {
1642: test -z "$ac_f77_werror_flag" ||
1643: test ! -s conftest.err
1644: } && test -s conftest.$ac_objext; then :
1645: ac_retval=0
1646: else
1647: $as_echo "$as_me: failed program was:" >&5
1648: sed 's/^/| /' conftest.$ac_ext >&5
1649:
1650: ac_retval=1
1651: fi
1652: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653: as_fn_set_status $ac_retval
1654:
1655: } # ac_fn_f77_try_compile
1656:
1657: # ac_fn_fc_try_compile LINENO
1658: # ---------------------------
1659: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1660: ac_fn_fc_try_compile ()
1661: {
1662: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663: rm -f conftest.$ac_objext
1664: if { { ac_try="$ac_compile"
1665: case "(($ac_try" in
1666: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667: *) ac_try_echo=$ac_try;;
1668: esac
1669: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670: $as_echo "$ac_try_echo"; } >&5
1671: (eval "$ac_compile") 2>conftest.err
1672: ac_status=$?
1673: if test -s conftest.err; then
1674: grep -v '^ *+' conftest.err >conftest.er1
1675: cat conftest.er1 >&5
1676: mv -f conftest.er1 conftest.err
1677: fi
1678: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679: test $ac_status = 0; } && {
1680: test -z "$ac_fc_werror_flag" ||
1681: test ! -s conftest.err
1682: } && test -s conftest.$ac_objext; then :
1683: ac_retval=0
1684: else
1685: $as_echo "$as_me: failed program was:" >&5
1686: sed 's/^/| /' conftest.$ac_ext >&5
1687:
1688: ac_retval=1
1689: fi
1690: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691: as_fn_set_status $ac_retval
1692:
1693: } # ac_fn_fc_try_compile
1694:
1695: # ac_fn_c_try_cpp LINENO
1696: # ----------------------
1697: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1698: ac_fn_c_try_cpp ()
1699: {
1700: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701: if { { ac_try="$ac_cpp conftest.$ac_ext"
1702: case "(($ac_try" in
1703: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704: *) ac_try_echo=$ac_try;;
1705: esac
1706: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707: $as_echo "$ac_try_echo"; } >&5
1708: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1709: ac_status=$?
1710: if test -s conftest.err; then
1711: grep -v '^ *+' conftest.err >conftest.er1
1712: cat conftest.er1 >&5
1713: mv -f conftest.er1 conftest.err
1714: fi
1715: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716: test $ac_status = 0; } >/dev/null && {
1717: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1718: test ! -s conftest.err
1719: }; then :
1720: ac_retval=0
1721: else
1722: $as_echo "$as_me: failed program was:" >&5
1723: sed 's/^/| /' conftest.$ac_ext >&5
1724:
1725: ac_retval=1
1726: fi
1727: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728: as_fn_set_status $ac_retval
1729:
1730: } # ac_fn_c_try_cpp
1731:
1732: # ac_fn_c_try_link LINENO
1733: # -----------------------
1734: # Try to link conftest.$ac_ext, and return whether this succeeded.
1735: ac_fn_c_try_link ()
1736: {
1737: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738: rm -f conftest.$ac_objext conftest$ac_exeext
1739: if { { ac_try="$ac_link"
1740: case "(($ac_try" in
1741: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742: *) ac_try_echo=$ac_try;;
1743: esac
1744: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745: $as_echo "$ac_try_echo"; } >&5
1746: (eval "$ac_link") 2>conftest.err
1747: ac_status=$?
1748: if test -s conftest.err; then
1749: grep -v '^ *+' conftest.err >conftest.er1
1750: cat conftest.er1 >&5
1751: mv -f conftest.er1 conftest.err
1752: fi
1753: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754: test $ac_status = 0; } && {
1755: test -z "$ac_c_werror_flag" ||
1756: test ! -s conftest.err
1757: } && test -s conftest$ac_exeext && {
1758: test "$cross_compiling" = yes ||
1759: $as_test_x conftest$ac_exeext
1760: }; then :
1761: ac_retval=0
1762: else
1763: $as_echo "$as_me: failed program was:" >&5
1764: sed 's/^/| /' conftest.$ac_ext >&5
1765:
1766: ac_retval=1
1767: fi
1768: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770: # interfere with the next link command; also delete a directory that is
1771: # left behind by Apple's compiler. We do this before executing the actions.
1772: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774: as_fn_set_status $ac_retval
1775:
1776: } # ac_fn_c_try_link
1777:
1778: # ac_fn_c_check_func LINENO FUNC VAR
1779: # ----------------------------------
1780: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781: ac_fn_c_check_func ()
1782: {
1783: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785: $as_echo_n "checking for $2... " >&6; }
1786: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787: $as_echo_n "(cached) " >&6
1788: else
1789: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790: /* end confdefs.h. */
1791: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1792: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1793: #define $2 innocuous_$2
1794:
1795: /* System header to define __stub macros and hopefully few prototypes,
1796: which can conflict with char $2 (); below.
1797: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1798: <limits.h> exists even on freestanding compilers. */
1799:
1800: #ifdef __STDC__
1801: # include <limits.h>
1802: #else
1803: # include <assert.h>
1804: #endif
1805:
1806: #undef $2
1807:
1808: /* Override any GCC internal prototype to avoid an error.
1809: Use char because int might match the return type of a GCC
1810: builtin and then its argument prototype would still apply. */
1811: #ifdef __cplusplus
1812: extern "C"
1813: #endif
1814: char $2 ();
1815: /* The GNU C library defines this for functions which it implements
1816: to always fail with ENOSYS. Some functions are actually named
1817: something starting with __ and the normal name is an alias. */
1818: #if defined __stub_$2 || defined __stub___$2
1819: choke me
1820: #endif
1821:
1822: int
1823: main ()
1824: {
1825: return $2 ();
1826: ;
1827: return 0;
1828: }
1829: _ACEOF
1830: if ac_fn_c_try_link "$LINENO"; then :
1831: eval "$3=yes"
1832: else
1833: eval "$3=no"
1834: fi
1835: rm -f core conftest.err conftest.$ac_objext \
1836: conftest$ac_exeext conftest.$ac_ext
1837: fi
1838: eval ac_res=\$$3
1839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840: $as_echo "$ac_res" >&6; }
1841: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842:
1843: } # ac_fn_c_check_func
1844:
1845: # ac_fn_c_try_run LINENO
1846: # ----------------------
1847: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848: # that executables *can* be run.
1849: ac_fn_c_try_run ()
1850: {
1851: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852: if { { ac_try="$ac_link"
1853: case "(($ac_try" in
1854: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855: *) ac_try_echo=$ac_try;;
1856: esac
1857: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858: $as_echo "$ac_try_echo"; } >&5
1859: (eval "$ac_link") 2>&5
1860: ac_status=$?
1861: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1863: { { case "(($ac_try" in
1864: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865: *) ac_try_echo=$ac_try;;
1866: esac
1867: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868: $as_echo "$ac_try_echo"; } >&5
1869: (eval "$ac_try") 2>&5
1870: ac_status=$?
1871: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872: test $ac_status = 0; }; }; then :
1873: ac_retval=0
1874: else
1875: $as_echo "$as_me: program exited with status $ac_status" >&5
1876: $as_echo "$as_me: failed program was:" >&5
1877: sed 's/^/| /' conftest.$ac_ext >&5
1878:
1879: ac_retval=$ac_status
1880: fi
1881: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883: as_fn_set_status $ac_retval
1884:
1885: } # ac_fn_c_try_run
1886:
1887: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1888: # --------------------------------------------
1889: # Tries to find the compile-time value of EXPR in a program that includes
1890: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1891: # computed
1892: ac_fn_c_compute_int ()
1893: {
1894: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895: if test "$cross_compiling" = yes; then
1896: # Depending upon the size, compute the lo and hi bounds.
1897: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898: /* end confdefs.h. */
1899: $4
1900: int
1901: main ()
1902: {
1903: static int test_array [1 - 2 * !(($2) >= 0)];
1904: test_array [0] = 0
1905:
1906: ;
1907: return 0;
1908: }
1909: _ACEOF
1910: if ac_fn_c_try_compile "$LINENO"; then :
1911: ac_lo=0 ac_mid=0
1912: while :; do
1913: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914: /* end confdefs.h. */
1915: $4
1916: int
1917: main ()
1918: {
1919: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1920: test_array [0] = 0
1921:
1922: ;
1923: return 0;
1924: }
1925: _ACEOF
1926: if ac_fn_c_try_compile "$LINENO"; then :
1927: ac_hi=$ac_mid; break
1928: else
1929: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1930: if test $ac_lo -le $ac_mid; then
1931: ac_lo= ac_hi=
1932: break
1933: fi
1934: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1935: fi
1936: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937: done
1938: else
1939: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940: /* end confdefs.h. */
1941: $4
1942: int
1943: main ()
1944: {
1945: static int test_array [1 - 2 * !(($2) < 0)];
1946: test_array [0] = 0
1947:
1948: ;
1949: return 0;
1950: }
1951: _ACEOF
1952: if ac_fn_c_try_compile "$LINENO"; then :
1953: ac_hi=-1 ac_mid=-1
1954: while :; do
1955: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956: /* end confdefs.h. */
1957: $4
1958: int
1959: main ()
1960: {
1961: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1962: test_array [0] = 0
1963:
1964: ;
1965: return 0;
1966: }
1967: _ACEOF
1968: if ac_fn_c_try_compile "$LINENO"; then :
1969: ac_lo=$ac_mid; break
1970: else
1971: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1972: if test $ac_mid -le $ac_hi; then
1973: ac_lo= ac_hi=
1974: break
1975: fi
1976: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1977: fi
1978: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979: done
1980: else
1981: ac_lo= ac_hi=
1982: fi
1983: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984: fi
1985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986: # Binary search between lo and hi bounds.
1987: while test "x$ac_lo" != "x$ac_hi"; do
1988: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1989: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990: /* end confdefs.h. */
1991: $4
1992: int
1993: main ()
1994: {
1995: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1996: test_array [0] = 0
1997:
1998: ;
1999: return 0;
2000: }
2001: _ACEOF
2002: if ac_fn_c_try_compile "$LINENO"; then :
2003: ac_hi=$ac_mid
2004: else
2005: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2006: fi
2007: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008: done
2009: case $ac_lo in #((
2010: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2011: '') ac_retval=1 ;;
2012: esac
2013: else
2014: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015: /* end confdefs.h. */
2016: $4
2017: static long int longval () { return $2; }
2018: static unsigned long int ulongval () { return $2; }
2019: #include <stdio.h>
2020: #include <stdlib.h>
2021: int
2022: main ()
2023: {
2024:
2025: FILE *f = fopen ("conftest.val", "w");
2026: if (! f)
2027: return 1;
2028: if (($2) < 0)
2029: {
2030: long int i = longval ();
2031: if (i != ($2))
2032: return 1;
2033: fprintf (f, "%ld", i);
2034: }
2035: else
2036: {
2037: unsigned long int i = ulongval ();
2038: if (i != ($2))
2039: return 1;
2040: fprintf (f, "%lu", i);
2041: }
2042: /* Do not output a trailing newline, as this causes \r\n confusion
2043: on some platforms. */
2044: return ferror (f) || fclose (f) != 0;
2045:
2046: ;
2047: return 0;
2048: }
2049: _ACEOF
2050: if ac_fn_c_try_run "$LINENO"; then :
2051: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2052: else
2053: ac_retval=1
2054: fi
2055: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2056: conftest.$ac_objext conftest.beam conftest.$ac_ext
2057: rm -f conftest.val
2058:
2059: fi
2060: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2061: as_fn_set_status $ac_retval
2062:
2063: } # ac_fn_c_compute_int
2064:
2065: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2066: # -------------------------------------------------------
2067: # Tests whether HEADER exists and can be compiled using the include files in
2068: # INCLUDES, setting the cache variable VAR accordingly.
2069: ac_fn_c_check_header_compile ()
2070: {
2071: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2073: $as_echo_n "checking for $2... " >&6; }
2074: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2075: $as_echo_n "(cached) " >&6
2076: else
2077: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078: /* end confdefs.h. */
2079: $4
2080: #include <$2>
2081: _ACEOF
2082: if ac_fn_c_try_compile "$LINENO"; then :
2083: eval "$3=yes"
2084: else
2085: eval "$3=no"
2086: fi
2087: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088: fi
2089: eval ac_res=\$$3
2090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091: $as_echo "$ac_res" >&6; }
2092: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093:
2094: } # ac_fn_c_check_header_compile
2095:
2096: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097: # -------------------------------------------------------
2098: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099: # the include files in INCLUDES and setting the cache variable VAR
2100: # accordingly.
2101: ac_fn_c_check_header_mongrel ()
2102: {
2103: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106: $as_echo_n "checking for $2... " >&6; }
2107: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108: $as_echo_n "(cached) " >&6
2109: fi
2110: eval ac_res=\$$3
2111: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112: $as_echo "$ac_res" >&6; }
2113: else
2114: # Is the header compilable?
2115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116: $as_echo_n "checking $2 usability... " >&6; }
2117: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118: /* end confdefs.h. */
2119: $4
2120: #include <$2>
2121: _ACEOF
2122: if ac_fn_c_try_compile "$LINENO"; then :
2123: ac_header_compiler=yes
2124: else
2125: ac_header_compiler=no
2126: fi
2127: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129: $as_echo "$ac_header_compiler" >&6; }
2130:
2131: # Is the header present?
2132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133: $as_echo_n "checking $2 presence... " >&6; }
2134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135: /* end confdefs.h. */
2136: #include <$2>
2137: _ACEOF
2138: if ac_fn_c_try_cpp "$LINENO"; then :
2139: ac_header_preproc=yes
2140: else
2141: ac_header_preproc=no
2142: fi
2143: rm -f conftest.err conftest.$ac_ext
2144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145: $as_echo "$ac_header_preproc" >&6; }
2146:
2147: # So? What about this header?
2148: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149: yes:no: )
2150: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154: ;;
2155: no:yes:* )
2156: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2159: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2160: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2163: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2164: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2166: ;;
2167: esac
2168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169: $as_echo_n "checking for $2... " >&6; }
2170: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171: $as_echo_n "(cached) " >&6
2172: else
2173: eval "$3=\$ac_header_compiler"
2174: fi
2175: eval ac_res=\$$3
2176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177: $as_echo "$ac_res" >&6; }
2178: fi
2179: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2180:
2181: } # ac_fn_c_check_header_mongrel
2182:
2183: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2184: # -------------------------------------------
2185: # Tests whether TYPE exists after having included INCLUDES, setting cache
2186: # variable VAR accordingly.
2187: ac_fn_c_check_type ()
2188: {
2189: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191: $as_echo_n "checking for $2... " >&6; }
2192: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193: $as_echo_n "(cached) " >&6
2194: else
2195: eval "$3=no"
2196: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197: /* end confdefs.h. */
2198: $4
2199: int
2200: main ()
2201: {
2202: if (sizeof ($2))
2203: return 0;
2204: ;
2205: return 0;
2206: }
2207: _ACEOF
2208: if ac_fn_c_try_compile "$LINENO"; then :
2209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210: /* end confdefs.h. */
2211: $4
2212: int
2213: main ()
2214: {
2215: if (sizeof (($2)))
2216: return 0;
2217: ;
2218: return 0;
2219: }
2220: _ACEOF
2221: if ac_fn_c_try_compile "$LINENO"; then :
2222:
2223: else
2224: eval "$3=yes"
2225: fi
2226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227: fi
2228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229: fi
2230: eval ac_res=\$$3
2231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232: $as_echo "$ac_res" >&6; }
2233: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234:
2235: } # ac_fn_c_check_type
2236: cat >config.log <<_ACEOF
2237: This file contains any messages produced by compilers while
2238: running configure, to aid debugging if configure makes a mistake.
2239:
2240: It was created by rpl $as_me 4.0.14, which was
2241: generated by GNU Autoconf 2.65. Invocation command line was
2242:
2243: $ $0 $@
2244:
2245: _ACEOF
2246: exec 5>>config.log
2247: {
2248: cat <<_ASUNAME
2249: ## --------- ##
2250: ## Platform. ##
2251: ## --------- ##
2252:
2253: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2254: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2255: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2256: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2257: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2258:
2259: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2260: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2261:
2262: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2263: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2264: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2265: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2266: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2267: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2268: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2269:
2270: _ASUNAME
2271:
2272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273: for as_dir in $PATH
2274: do
2275: IFS=$as_save_IFS
2276: test -z "$as_dir" && as_dir=.
2277: $as_echo "PATH: $as_dir"
2278: done
2279: IFS=$as_save_IFS
2280:
2281: } >&5
2282:
2283: cat >&5 <<_ACEOF
2284:
2285:
2286: ## ----------- ##
2287: ## Core tests. ##
2288: ## ----------- ##
2289:
2290: _ACEOF
2291:
2292:
2293: # Keep a trace of the command line.
2294: # Strip out --no-create and --no-recursion so they do not pile up.
2295: # Strip out --silent because we don't want to record it for future runs.
2296: # Also quote any args containing shell meta-characters.
2297: # Make two passes to allow for proper duplicate-argument suppression.
2298: ac_configure_args=
2299: ac_configure_args0=
2300: ac_configure_args1=
2301: ac_must_keep_next=false
2302: for ac_pass in 1 2
2303: do
2304: for ac_arg
2305: do
2306: case $ac_arg in
2307: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2308: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2309: | -silent | --silent | --silen | --sile | --sil)
2310: continue ;;
2311: *\'*)
2312: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2313: esac
2314: case $ac_pass in
2315: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2316: 2)
2317: as_fn_append ac_configure_args1 " '$ac_arg'"
2318: if test $ac_must_keep_next = true; then
2319: ac_must_keep_next=false # Got value, back to normal.
2320: else
2321: case $ac_arg in
2322: *=* | --config-cache | -C | -disable-* | --disable-* \
2323: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2324: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2325: | -with-* | --with-* | -without-* | --without-* | --x)
2326: case "$ac_configure_args0 " in
2327: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2328: esac
2329: ;;
2330: -* ) ac_must_keep_next=true ;;
2331: esac
2332: fi
2333: as_fn_append ac_configure_args " '$ac_arg'"
2334: ;;
2335: esac
2336: done
2337: done
2338: { ac_configure_args0=; unset ac_configure_args0;}
2339: { ac_configure_args1=; unset ac_configure_args1;}
2340:
2341: # When interrupted or exit'd, cleanup temporary files, and complete
2342: # config.log. We remove comments because anyway the quotes in there
2343: # would cause problems or look ugly.
2344: # WARNING: Use '\'' to represent an apostrophe within the trap.
2345: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2346: trap 'exit_status=$?
2347: # Save into config.log some information that might help in debugging.
2348: {
2349: echo
2350:
2351: cat <<\_ASBOX
2352: ## ---------------- ##
2353: ## Cache variables. ##
2354: ## ---------------- ##
2355: _ASBOX
2356: echo
2357: # The following way of writing the cache mishandles newlines in values,
2358: (
2359: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2360: eval ac_val=\$$ac_var
2361: case $ac_val in #(
2362: *${as_nl}*)
2363: case $ac_var in #(
2364: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2365: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2366: esac
2367: case $ac_var in #(
2368: _ | IFS | as_nl) ;; #(
2369: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2370: *) { eval $ac_var=; unset $ac_var;} ;;
2371: esac ;;
2372: esac
2373: done
2374: (set) 2>&1 |
2375: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2376: *${as_nl}ac_space=\ *)
2377: sed -n \
2378: "s/'\''/'\''\\\\'\'''\''/g;
2379: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2380: ;; #(
2381: *)
2382: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2383: ;;
2384: esac |
2385: sort
2386: )
2387: echo
2388:
2389: cat <<\_ASBOX
2390: ## ----------------- ##
2391: ## Output variables. ##
2392: ## ----------------- ##
2393: _ASBOX
2394: echo
2395: for ac_var in $ac_subst_vars
2396: do
2397: eval ac_val=\$$ac_var
2398: case $ac_val in
2399: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2400: esac
2401: $as_echo "$ac_var='\''$ac_val'\''"
2402: done | sort
2403: echo
2404:
2405: if test -n "$ac_subst_files"; then
2406: cat <<\_ASBOX
2407: ## ------------------- ##
2408: ## File substitutions. ##
2409: ## ------------------- ##
2410: _ASBOX
2411: echo
2412: for ac_var in $ac_subst_files
2413: do
2414: eval ac_val=\$$ac_var
2415: case $ac_val in
2416: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417: esac
2418: $as_echo "$ac_var='\''$ac_val'\''"
2419: done | sort
2420: echo
2421: fi
2422:
2423: if test -s confdefs.h; then
2424: cat <<\_ASBOX
2425: ## ----------- ##
2426: ## confdefs.h. ##
2427: ## ----------- ##
2428: _ASBOX
2429: echo
2430: cat confdefs.h
2431: echo
2432: fi
2433: test "$ac_signal" != 0 &&
2434: $as_echo "$as_me: caught signal $ac_signal"
2435: $as_echo "$as_me: exit $exit_status"
2436: } >&5
2437: rm -f core *.core core.conftest.* &&
2438: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2439: exit $exit_status
2440: ' 0
2441: for ac_signal in 1 2 13 15; do
2442: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2443: done
2444: ac_signal=0
2445:
2446: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2447: rm -f -r conftest* confdefs.h
2448:
2449: $as_echo "/* confdefs.h */" > confdefs.h
2450:
2451: # Predefined preprocessor variables.
2452:
2453: cat >>confdefs.h <<_ACEOF
2454: #define PACKAGE_NAME "$PACKAGE_NAME"
2455: _ACEOF
2456:
2457: cat >>confdefs.h <<_ACEOF
2458: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2459: _ACEOF
2460:
2461: cat >>confdefs.h <<_ACEOF
2462: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2463: _ACEOF
2464:
2465: cat >>confdefs.h <<_ACEOF
2466: #define PACKAGE_STRING "$PACKAGE_STRING"
2467: _ACEOF
2468:
2469: cat >>confdefs.h <<_ACEOF
2470: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2471: _ACEOF
2472:
2473: cat >>confdefs.h <<_ACEOF
2474: #define PACKAGE_URL "$PACKAGE_URL"
2475: _ACEOF
2476:
2477:
2478: # Let the site file select an alternate cache file if it wants to.
2479: # Prefer an explicitly selected file to automatically selected ones.
2480: ac_site_file1=NONE
2481: ac_site_file2=NONE
2482: if test -n "$CONFIG_SITE"; then
2483: ac_site_file1=$CONFIG_SITE
2484: elif test "x$prefix" != xNONE; then
2485: ac_site_file1=$prefix/share/config.site
2486: ac_site_file2=$prefix/etc/config.site
2487: else
2488: ac_site_file1=$ac_default_prefix/share/config.site
2489: ac_site_file2=$ac_default_prefix/etc/config.site
2490: fi
2491: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2492: do
2493: test "x$ac_site_file" = xNONE && continue
2494: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2495: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2496: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2497: sed 's/^/| /' "$ac_site_file" >&5
2498: . "$ac_site_file"
2499: fi
2500: done
2501:
2502: if test -r "$cache_file"; then
2503: # Some versions of bash will fail to source /dev/null (special files
2504: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2505: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2506: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2507: $as_echo "$as_me: loading cache $cache_file" >&6;}
2508: case $cache_file in
2509: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2510: *) . "./$cache_file";;
2511: esac
2512: fi
2513: else
2514: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2515: $as_echo "$as_me: creating cache $cache_file" >&6;}
2516: >$cache_file
2517: fi
2518:
2519: # Check that the precious variables saved in the cache have kept the same
2520: # value.
2521: ac_cache_corrupted=false
2522: for ac_var in $ac_precious_vars; do
2523: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524: eval ac_new_set=\$ac_env_${ac_var}_set
2525: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526: eval ac_new_val=\$ac_env_${ac_var}_value
2527: case $ac_old_set,$ac_new_set in
2528: set,)
2529: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531: ac_cache_corrupted=: ;;
2532: ,set)
2533: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535: ac_cache_corrupted=: ;;
2536: ,);;
2537: *)
2538: if test "x$ac_old_val" != "x$ac_new_val"; then
2539: # differences in whitespace do not lead to failure.
2540: ac_old_val_w=`echo x $ac_old_val`
2541: ac_new_val_w=`echo x $ac_new_val`
2542: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545: ac_cache_corrupted=:
2546: else
2547: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549: eval $ac_var=\$ac_old_val
2550: fi
2551: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2552: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2553: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2554: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2555: fi;;
2556: esac
2557: # Pass precious variables to config.status.
2558: if test "$ac_new_set" = set; then
2559: case $ac_new_val in
2560: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561: *) ac_arg=$ac_var=$ac_new_val ;;
2562: esac
2563: case " $ac_configure_args " in
2564: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2565: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2566: esac
2567: fi
2568: done
2569: if $ac_cache_corrupted; then
2570: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574: as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2575: fi
2576: ## -------------------- ##
2577: ## Main body of script. ##
2578: ## -------------------- ##
2579:
2580: ac_ext=c
2581: ac_cpp='$CPP $CPPFLAGS'
2582: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2585:
2586:
2587: ac_aux_dir=
2588: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2589: for ac_t in install-sh install.sh shtool; do
2590: if test -f "$ac_dir/$ac_t"; then
2591: ac_aux_dir=$ac_dir
2592: ac_install_sh="$ac_aux_dir/$ac_t -c"
2593: break 2
2594: fi
2595: done
2596: done
2597: if test -z "$ac_aux_dir"; then
2598: as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2599: fi
2600:
2601: # These three variables are undocumented and unsupported,
2602: # and are intended to be withdrawn in a future Autoconf release.
2603: # They can cause serious problems if a builder's source tree is in a directory
2604: # whose full name contains unusual characters.
2605: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2606: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2607: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2608:
2609:
2610: # Make sure we can run config.sub.
2611: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2612: as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2613:
2614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2615: $as_echo_n "checking build system type... " >&6; }
2616: if test "${ac_cv_build+set}" = set; then :
2617: $as_echo_n "(cached) " >&6
2618: else
2619: ac_build_alias=$build_alias
2620: test "x$ac_build_alias" = x &&
2621: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2622: test "x$ac_build_alias" = x &&
2623: as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2624: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2625: as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2626:
2627: fi
2628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2629: $as_echo "$ac_cv_build" >&6; }
2630: case $ac_cv_build in
2631: *-*-*) ;;
2632: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2633: esac
2634: build=$ac_cv_build
2635: ac_save_IFS=$IFS; IFS='-'
2636: set x $ac_cv_build
2637: shift
2638: build_cpu=$1
2639: build_vendor=$2
2640: shift; shift
2641: # Remember, the first character of IFS is used to create $*,
2642: # except with old shells:
2643: build_os=$*
2644: IFS=$ac_save_IFS
2645: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2646:
2647:
2648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2649: $as_echo_n "checking host system type... " >&6; }
2650: if test "${ac_cv_host+set}" = set; then :
2651: $as_echo_n "(cached) " >&6
2652: else
2653: if test "x$host_alias" = x; then
2654: ac_cv_host=$ac_cv_build
2655: else
2656: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2657: as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2658: fi
2659:
2660: fi
2661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2662: $as_echo "$ac_cv_host" >&6; }
2663: case $ac_cv_host in
2664: *-*-*) ;;
2665: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2666: esac
2667: host=$ac_cv_host
2668: ac_save_IFS=$IFS; IFS='-'
2669: set x $ac_cv_host
2670: shift
2671: host_cpu=$1
2672: host_vendor=$2
2673: shift; shift
2674: # Remember, the first character of IFS is used to create $*,
2675: # except with old shells:
2676: host_os=$*
2677: IFS=$ac_save_IFS
2678: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2679:
2680:
2681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2682: $as_echo_n "checking target system type... " >&6; }
2683: if test "${ac_cv_target+set}" = set; then :
2684: $as_echo_n "(cached) " >&6
2685: else
2686: if test "x$target_alias" = x; then
2687: ac_cv_target=$ac_cv_host
2688: else
2689: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2690: as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2691: fi
2692:
2693: fi
2694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2695: $as_echo "$ac_cv_target" >&6; }
2696: case $ac_cv_target in
2697: *-*-*) ;;
2698: *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2699: esac
2700: target=$ac_cv_target
2701: ac_save_IFS=$IFS; IFS='-'
2702: set x $ac_cv_target
2703: shift
2704: target_cpu=$1
2705: target_vendor=$2
2706: shift; shift
2707: # Remember, the first character of IFS is used to create $*,
2708: # except with old shells:
2709: target_os=$*
2710: IFS=$ac_save_IFS
2711: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2712:
2713:
2714: # The aliases save the names the user supplied, while $host etc.
2715: # will get canonicalized.
2716: test -n "$target_alias" &&
2717: test "$program_prefix$program_suffix$program_transform_name" = \
2718: NONENONEs,x,x, &&
2719: program_prefix=${target_alias}-
2720:
2721: am__api_version='1.11'
2722:
2723: # Find a good install program. We prefer a C program (faster),
2724: # so one script is as good as another. But avoid the broken or
2725: # incompatible versions:
2726: # SysV /etc/install, /usr/sbin/install
2727: # SunOS /usr/etc/install
2728: # IRIX /sbin/install
2729: # AIX /bin/install
2730: # AmigaOS /C/install, which installs bootblocks on floppy discs
2731: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2732: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2733: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2734: # OS/2's system install, which has a completely different semantic
2735: # ./install, which can be erroneously created by make from ./install.sh.
2736: # Reject install programs that cannot install multiple files.
2737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2738: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2739: if test -z "$INSTALL"; then
2740: if test "${ac_cv_path_install+set}" = set; then :
2741: $as_echo_n "(cached) " >&6
2742: else
2743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744: for as_dir in $PATH
2745: do
2746: IFS=$as_save_IFS
2747: test -z "$as_dir" && as_dir=.
2748: # Account for people who put trailing slashes in PATH elements.
2749: case $as_dir/ in #((
2750: ./ | .// | /[cC]/* | \
2751: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2752: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2753: /usr/ucb/* ) ;;
2754: *)
2755: # OSF1 and SCO ODT 3.0 have their own names for install.
2756: # Don't use installbsd from OSF since it installs stuff as root
2757: # by default.
2758: for ac_prog in ginstall scoinst install; do
2759: for ac_exec_ext in '' $ac_executable_extensions; do
2760: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2761: if test $ac_prog = install &&
2762: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2763: # AIX install. It has an incompatible calling convention.
2764: :
2765: elif test $ac_prog = install &&
2766: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2767: # program-specific install script used by HP pwplus--don't use.
2768: :
2769: else
2770: rm -rf conftest.one conftest.two conftest.dir
2771: echo one > conftest.one
2772: echo two > conftest.two
2773: mkdir conftest.dir
2774: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2775: test -s conftest.one && test -s conftest.two &&
2776: test -s conftest.dir/conftest.one &&
2777: test -s conftest.dir/conftest.two
2778: then
2779: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2780: break 3
2781: fi
2782: fi
2783: fi
2784: done
2785: done
2786: ;;
2787: esac
2788:
2789: done
2790: IFS=$as_save_IFS
2791:
2792: rm -rf conftest.one conftest.two conftest.dir
2793:
2794: fi
2795: if test "${ac_cv_path_install+set}" = set; then
2796: INSTALL=$ac_cv_path_install
2797: else
2798: # As a last resort, use the slow shell script. Don't cache a
2799: # value for INSTALL within a source directory, because that will
2800: # break other packages using the cache if that directory is
2801: # removed, or if the value is a relative name.
2802: INSTALL=$ac_install_sh
2803: fi
2804: fi
2805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2806: $as_echo "$INSTALL" >&6; }
2807:
2808: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2809: # It thinks the first close brace ends the variable substitution.
2810: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2811:
2812: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2813:
2814: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2815:
2816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2817: $as_echo_n "checking whether build environment is sane... " >&6; }
2818: # Just in case
2819: sleep 1
2820: echo timestamp > conftest.file
2821: # Reject unsafe characters in $srcdir or the absolute working directory
2822: # name. Accept space and tab only in the latter.
2823: am_lf='
2824: '
2825: case `pwd` in
2826: *[\\\"\#\$\&\'\`$am_lf]*)
2827: as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2828: esac
2829: case $srcdir in
2830: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2831: as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2832: esac
2833:
2834: # Do `set' in a subshell so we don't clobber the current shell's
2835: # arguments. Must try -L first in case configure is actually a
2836: # symlink; some systems play weird games with the mod time of symlinks
2837: # (eg FreeBSD returns the mod time of the symlink's containing
2838: # directory).
2839: if (
2840: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2841: if test "$*" = "X"; then
2842: # -L didn't work.
2843: set X `ls -t "$srcdir/configure" conftest.file`
2844: fi
2845: rm -f conftest.file
2846: if test "$*" != "X $srcdir/configure conftest.file" \
2847: && test "$*" != "X conftest.file $srcdir/configure"; then
2848:
2849: # If neither matched, then we have a broken ls. This can happen
2850: # if, for instance, CONFIG_SHELL is bash and it inherits a
2851: # broken ls alias from the environment. This has actually
2852: # happened. Such a system could not be considered "sane".
2853: as_fn_error "ls -t appears to fail. Make sure there is not a broken
2854: alias in your environment" "$LINENO" 5
2855: fi
2856:
2857: test "$2" = conftest.file
2858: )
2859: then
2860: # Ok.
2861: :
2862: else
2863: as_fn_error "newly created file is older than distributed files!
2864: Check your system clock" "$LINENO" 5
2865: fi
2866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2867: $as_echo "yes" >&6; }
2868: test "$program_prefix" != NONE &&
2869: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2870: # Use a double $ so make ignores it.
2871: test "$program_suffix" != NONE &&
2872: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2873: # Double any \ or $.
2874: # By default was `s,x,x', remove it if useless.
2875: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2876: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2877:
2878: # expand $ac_aux_dir to an absolute path
2879: am_aux_dir=`cd $ac_aux_dir && pwd`
2880:
2881: if test x"${MISSING+set}" != xset; then
2882: case $am_aux_dir in
2883: *\ * | *\ *)
2884: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2885: *)
2886: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2887: esac
2888: fi
2889: # Use eval to expand $SHELL
2890: if eval "$MISSING --run true"; then
2891: am_missing_run="$MISSING --run "
2892: else
2893: am_missing_run=
2894: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2895: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2896: fi
2897:
2898: if test x"${install_sh}" != xset; then
2899: case $am_aux_dir in
2900: *\ * | *\ *)
2901: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2902: *)
2903: install_sh="\${SHELL} $am_aux_dir/install-sh"
2904: esac
2905: fi
2906:
2907: # Installed binaries are usually stripped using `strip' when the user
2908: # run `make install-strip'. However `strip' might not be the right
2909: # tool to use in cross-compilation environments, therefore Automake
2910: # will honor the `STRIP' environment variable to overrule this program.
2911: if test "$cross_compiling" != no; then
2912: if test -n "$ac_tool_prefix"; then
2913: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2914: set dummy ${ac_tool_prefix}strip; ac_word=$2
2915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916: $as_echo_n "checking for $ac_word... " >&6; }
2917: if test "${ac_cv_prog_STRIP+set}" = set; then :
2918: $as_echo_n "(cached) " >&6
2919: else
2920: if test -n "$STRIP"; then
2921: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2922: else
2923: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924: for as_dir in $PATH
2925: do
2926: IFS=$as_save_IFS
2927: test -z "$as_dir" && as_dir=.
2928: for ac_exec_ext in '' $ac_executable_extensions; do
2929: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2931: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932: break 2
2933: fi
2934: done
2935: done
2936: IFS=$as_save_IFS
2937:
2938: fi
2939: fi
2940: STRIP=$ac_cv_prog_STRIP
2941: if test -n "$STRIP"; then
2942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2943: $as_echo "$STRIP" >&6; }
2944: else
2945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946: $as_echo "no" >&6; }
2947: fi
2948:
2949:
2950: fi
2951: if test -z "$ac_cv_prog_STRIP"; then
2952: ac_ct_STRIP=$STRIP
2953: # Extract the first word of "strip", so it can be a program name with args.
2954: set dummy strip; ac_word=$2
2955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956: $as_echo_n "checking for $ac_word... " >&6; }
2957: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2958: $as_echo_n "(cached) " >&6
2959: else
2960: if test -n "$ac_ct_STRIP"; then
2961: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2962: else
2963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964: for as_dir in $PATH
2965: do
2966: IFS=$as_save_IFS
2967: test -z "$as_dir" && as_dir=.
2968: for ac_exec_ext in '' $ac_executable_extensions; do
2969: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970: ac_cv_prog_ac_ct_STRIP="strip"
2971: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972: break 2
2973: fi
2974: done
2975: done
2976: IFS=$as_save_IFS
2977:
2978: fi
2979: fi
2980: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2981: if test -n "$ac_ct_STRIP"; then
2982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2983: $as_echo "$ac_ct_STRIP" >&6; }
2984: else
2985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986: $as_echo "no" >&6; }
2987: fi
2988:
2989: if test "x$ac_ct_STRIP" = x; then
2990: STRIP=":"
2991: else
2992: case $cross_compiling:$ac_tool_warned in
2993: yes:)
2994: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996: ac_tool_warned=yes ;;
2997: esac
2998: STRIP=$ac_ct_STRIP
2999: fi
3000: else
3001: STRIP="$ac_cv_prog_STRIP"
3002: fi
3003:
3004: fi
3005: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3006:
3007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3008: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3009: if test -z "$MKDIR_P"; then
3010: if test "${ac_cv_path_mkdir+set}" = set; then :
3011: $as_echo_n "(cached) " >&6
3012: else
3013: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3015: do
3016: IFS=$as_save_IFS
3017: test -z "$as_dir" && as_dir=.
3018: for ac_prog in mkdir gmkdir; do
3019: for ac_exec_ext in '' $ac_executable_extensions; do
3020: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3021: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3022: 'mkdir (GNU coreutils) '* | \
3023: 'mkdir (coreutils) '* | \
3024: 'mkdir (fileutils) '4.1*)
3025: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3026: break 3;;
3027: esac
3028: done
3029: done
3030: done
3031: IFS=$as_save_IFS
3032:
3033: fi
3034:
3035: test -d ./--version && rmdir ./--version
3036: if test "${ac_cv_path_mkdir+set}" = set; then
3037: MKDIR_P="$ac_cv_path_mkdir -p"
3038: else
3039: # As a last resort, use the slow shell script. Don't cache a
3040: # value for MKDIR_P within a source directory, because that will
3041: # break other packages using the cache if that directory is
3042: # removed, or if the value is a relative name.
3043: MKDIR_P="$ac_install_sh -d"
3044: fi
3045: fi
3046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3047: $as_echo "$MKDIR_P" >&6; }
3048:
3049: mkdir_p="$MKDIR_P"
3050: case $mkdir_p in
3051: [\\/$]* | ?:[\\/]*) ;;
3052: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3053: esac
3054:
3055: for ac_prog in gawk mawk nawk awk
3056: do
3057: # Extract the first word of "$ac_prog", so it can be a program name with args.
3058: set dummy $ac_prog; ac_word=$2
3059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060: $as_echo_n "checking for $ac_word... " >&6; }
3061: if test "${ac_cv_prog_AWK+set}" = set; then :
3062: $as_echo_n "(cached) " >&6
3063: else
3064: if test -n "$AWK"; then
3065: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3066: else
3067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068: for as_dir in $PATH
3069: do
3070: IFS=$as_save_IFS
3071: test -z "$as_dir" && as_dir=.
3072: for ac_exec_ext in '' $ac_executable_extensions; do
3073: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074: ac_cv_prog_AWK="$ac_prog"
3075: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076: break 2
3077: fi
3078: done
3079: done
3080: IFS=$as_save_IFS
3081:
3082: fi
3083: fi
3084: AWK=$ac_cv_prog_AWK
3085: if test -n "$AWK"; then
3086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3087: $as_echo "$AWK" >&6; }
3088: else
3089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090: $as_echo "no" >&6; }
3091: fi
3092:
3093:
3094: test -n "$AWK" && break
3095: done
3096:
3097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3098: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3099: set x ${MAKE-make}
3100: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3101: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3102: $as_echo_n "(cached) " >&6
3103: else
3104: cat >conftest.make <<\_ACEOF
3105: SHELL = /bin/sh
3106: all:
3107: @echo '@@@%%%=$(MAKE)=@@@%%%'
3108: _ACEOF
3109: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3110: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3111: *@@@%%%=?*=@@@%%%*)
3112: eval ac_cv_prog_make_${ac_make}_set=yes;;
3113: *)
3114: eval ac_cv_prog_make_${ac_make}_set=no;;
3115: esac
3116: rm -f conftest.make
3117: fi
3118: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3120: $as_echo "yes" >&6; }
3121: SET_MAKE=
3122: else
3123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124: $as_echo "no" >&6; }
3125: SET_MAKE="MAKE=${MAKE-make}"
3126: fi
3127:
3128: rm -rf .tst 2>/dev/null
3129: mkdir .tst 2>/dev/null
3130: if test -d .tst; then
3131: am__leading_dot=.
3132: else
3133: am__leading_dot=_
3134: fi
3135: rmdir .tst 2>/dev/null
3136:
3137: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3138: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3139: # is not polluted with repeated "-I."
3140: am__isrc=' -I$(srcdir)'
3141: # test to see if srcdir already configured
3142: if test -f $srcdir/config.status; then
3143: as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3144: fi
3145: fi
3146:
3147: # test whether we have cygpath
3148: if test -z "$CYGPATH_W"; then
3149: if (cygpath --version) >/dev/null 2>/dev/null; then
3150: CYGPATH_W='cygpath -w'
3151: else
3152: CYGPATH_W=echo
3153: fi
3154: fi
3155:
3156:
3157: # Define the identity of the package.
3158: PACKAGE='rpl'
3159: VERSION='4.0.14'
3160:
3161:
3162: cat >>confdefs.h <<_ACEOF
3163: #define PACKAGE "$PACKAGE"
3164: _ACEOF
3165:
3166:
3167: cat >>confdefs.h <<_ACEOF
3168: #define VERSION "$VERSION"
3169: _ACEOF
3170:
3171: # Some tools Automake needs.
3172:
3173: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3174:
3175:
3176: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3177:
3178:
3179: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3180:
3181:
3182: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3183:
3184:
3185: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3186:
3187: # We need awk for the "check" target. The system "awk" is bad on
3188: # some platforms.
3189: # Always define AMTAR for backward compatibility.
3190:
3191: AMTAR=${AMTAR-"${am_missing_run}tar"}
3192:
3193: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3194:
3195:
3196:
3197:
3198:
3199:
3200: ac_config_headers="$ac_config_headers rplconfig.h"
3201:
3202:
3203: NCURSES=ncurses-5.7-20100206
3204: READLINE=readline-6.1
3205: UNITS=units-1.87
3206: GSL=gsl-1.14
3207: GPP=gpp-2.24
3208: GNUPLOT=gnuplot-4.4.0
3209: FILE=file-5.03
3210: ICONV=libiconv-1.13.1
3211: SQLITE=sqlite-3.6.23.1
3212: OPENSSL=openssl-1.0.0
3213:
3214: ac_ext=c
3215: ac_cpp='$CPP $CPPFLAGS'
3216: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219: if test -n "$ac_tool_prefix"; then
3220: for ac_prog in gcc-4.4 gcc
3221: do
3222: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3223: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225: $as_echo_n "checking for $ac_word... " >&6; }
3226: if test "${ac_cv_prog_CC+set}" = set; then :
3227: $as_echo_n "(cached) " >&6
3228: else
3229: if test -n "$CC"; then
3230: ac_cv_prog_CC="$CC" # Let the user override the test.
3231: else
3232: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233: for as_dir in $PATH
3234: do
3235: IFS=$as_save_IFS
3236: test -z "$as_dir" && as_dir=.
3237: for ac_exec_ext in '' $ac_executable_extensions; do
3238: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3240: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241: break 2
3242: fi
3243: done
3244: done
3245: IFS=$as_save_IFS
3246:
3247: fi
3248: fi
3249: CC=$ac_cv_prog_CC
3250: if test -n "$CC"; then
3251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252: $as_echo "$CC" >&6; }
3253: else
3254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255: $as_echo "no" >&6; }
3256: fi
3257:
3258:
3259: test -n "$CC" && break
3260: done
3261: fi
3262: if test -z "$CC"; then
3263: ac_ct_CC=$CC
3264: for ac_prog in gcc-4.4 gcc
3265: do
3266: # Extract the first word of "$ac_prog", so it can be a program name with args.
3267: set dummy $ac_prog; ac_word=$2
3268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269: $as_echo_n "checking for $ac_word... " >&6; }
3270: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3271: $as_echo_n "(cached) " >&6
3272: else
3273: if test -n "$ac_ct_CC"; then
3274: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3275: else
3276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277: for as_dir in $PATH
3278: do
3279: IFS=$as_save_IFS
3280: test -z "$as_dir" && as_dir=.
3281: for ac_exec_ext in '' $ac_executable_extensions; do
3282: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283: ac_cv_prog_ac_ct_CC="$ac_prog"
3284: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285: break 2
3286: fi
3287: done
3288: done
3289: IFS=$as_save_IFS
3290:
3291: fi
3292: fi
3293: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3294: if test -n "$ac_ct_CC"; then
3295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3296: $as_echo "$ac_ct_CC" >&6; }
3297: else
3298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299: $as_echo "no" >&6; }
3300: fi
3301:
3302:
3303: test -n "$ac_ct_CC" && break
3304: done
3305:
3306: if test "x$ac_ct_CC" = x; then
3307: CC=""
3308: else
3309: case $cross_compiling:$ac_tool_warned in
3310: yes:)
3311: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313: ac_tool_warned=yes ;;
3314: esac
3315: CC=$ac_ct_CC
3316: fi
3317: fi
3318:
3319:
3320: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322: as_fn_error "no acceptable C compiler found in \$PATH
3323: See \`config.log' for more details." "$LINENO" 5; }
3324:
3325: # Provide some information about the compiler.
3326: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3327: set X $ac_compile
3328: ac_compiler=$2
3329: for ac_option in --version -v -V -qversion; do
3330: { { ac_try="$ac_compiler $ac_option >&5"
3331: case "(($ac_try" in
3332: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333: *) ac_try_echo=$ac_try;;
3334: esac
3335: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336: $as_echo "$ac_try_echo"; } >&5
3337: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338: ac_status=$?
3339: if test -s conftest.err; then
3340: sed '10a\
3341: ... rest of stderr output deleted ...
3342: 10q' conftest.err >conftest.er1
3343: cat conftest.er1 >&5
3344: fi
3345: rm -f conftest.er1 conftest.err
3346: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347: test $ac_status = 0; }
3348: done
3349:
3350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351: /* end confdefs.h. */
3352:
3353: int
3354: main ()
3355: {
3356:
3357: ;
3358: return 0;
3359: }
3360: _ACEOF
3361: ac_clean_files_save=$ac_clean_files
3362: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363: # Try to create an executable without -o first, disregard a.out.
3364: # It will help us diagnose broken compilers, and finding out an intuition
3365: # of exeext.
3366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367: $as_echo_n "checking whether the C compiler works... " >&6; }
3368: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369:
3370: # The possible output files:
3371: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3372:
3373: ac_rmfiles=
3374: for ac_file in $ac_files
3375: do
3376: case $ac_file in
3377: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379: esac
3380: done
3381: rm -f $ac_rmfiles
3382:
3383: if { { ac_try="$ac_link_default"
3384: case "(($ac_try" in
3385: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386: *) ac_try_echo=$ac_try;;
3387: esac
3388: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389: $as_echo "$ac_try_echo"; } >&5
3390: (eval "$ac_link_default") 2>&5
3391: ac_status=$?
3392: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393: test $ac_status = 0; }; then :
3394: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397: # so that the user can short-circuit this test for compilers unknown to
3398: # Autoconf.
3399: for ac_file in $ac_files ''
3400: do
3401: test -f "$ac_file" || continue
3402: case $ac_file in
3403: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3404: ;;
3405: [ab].out )
3406: # We found the default executable, but exeext='' is most
3407: # certainly right.
3408: break;;
3409: *.* )
3410: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411: then :; else
3412: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413: fi
3414: # We set ac_cv_exeext here because the later test for it is not
3415: # safe: cross compilers may not add the suffix if given an `-o'
3416: # argument, so we may need to know it at that point already.
3417: # Even if this section looks crufty: it has the advantage of
3418: # actually working.
3419: break;;
3420: * )
3421: break;;
3422: esac
3423: done
3424: test "$ac_cv_exeext" = no && ac_cv_exeext=
3425:
3426: else
3427: ac_file=''
3428: fi
3429: if test -z "$ac_file"; then :
3430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431: $as_echo "no" >&6; }
3432: $as_echo "$as_me: failed program was:" >&5
3433: sed 's/^/| /' conftest.$ac_ext >&5
3434:
3435: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437: { as_fn_set_status 77
3438: as_fn_error "C compiler cannot create executables
3439: See \`config.log' for more details." "$LINENO" 5; }; }
3440: else
3441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3442: $as_echo "yes" >&6; }
3443: fi
3444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3445: $as_echo_n "checking for C compiler default output file name... " >&6; }
3446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3447: $as_echo "$ac_file" >&6; }
3448: ac_exeext=$ac_cv_exeext
3449:
3450: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3451: ac_clean_files=$ac_clean_files_save
3452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3453: $as_echo_n "checking for suffix of executables... " >&6; }
3454: if { { ac_try="$ac_link"
3455: case "(($ac_try" in
3456: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457: *) ac_try_echo=$ac_try;;
3458: esac
3459: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460: $as_echo "$ac_try_echo"; } >&5
3461: (eval "$ac_link") 2>&5
3462: ac_status=$?
3463: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464: test $ac_status = 0; }; then :
3465: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3466: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3467: # work properly (i.e., refer to `conftest.exe'), while it won't with
3468: # `rm'.
3469: for ac_file in conftest.exe conftest conftest.*; do
3470: test -f "$ac_file" || continue
3471: case $ac_file in
3472: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3473: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3474: break;;
3475: * ) break;;
3476: esac
3477: done
3478: else
3479: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481: as_fn_error "cannot compute suffix of executables: cannot compile and link
3482: See \`config.log' for more details." "$LINENO" 5; }
3483: fi
3484: rm -f conftest conftest$ac_cv_exeext
3485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3486: $as_echo "$ac_cv_exeext" >&6; }
3487:
3488: rm -f conftest.$ac_ext
3489: EXEEXT=$ac_cv_exeext
3490: ac_exeext=$EXEEXT
3491: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492: /* end confdefs.h. */
3493: #include <stdio.h>
3494: int
3495: main ()
3496: {
3497: FILE *f = fopen ("conftest.out", "w");
3498: return ferror (f) || fclose (f) != 0;
3499:
3500: ;
3501: return 0;
3502: }
3503: _ACEOF
3504: ac_clean_files="$ac_clean_files conftest.out"
3505: # Check that the compiler produces executables we can run. If not, either
3506: # the compiler is broken, or we cross compile.
3507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3508: $as_echo_n "checking whether we are cross compiling... " >&6; }
3509: if test "$cross_compiling" != yes; then
3510: { { ac_try="$ac_link"
3511: case "(($ac_try" in
3512: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513: *) ac_try_echo=$ac_try;;
3514: esac
3515: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516: $as_echo "$ac_try_echo"; } >&5
3517: (eval "$ac_link") 2>&5
3518: ac_status=$?
3519: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520: test $ac_status = 0; }
3521: if { ac_try='./conftest$ac_cv_exeext'
3522: { { case "(($ac_try" in
3523: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524: *) ac_try_echo=$ac_try;;
3525: esac
3526: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527: $as_echo "$ac_try_echo"; } >&5
3528: (eval "$ac_try") 2>&5
3529: ac_status=$?
3530: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3531: test $ac_status = 0; }; }; then
3532: cross_compiling=no
3533: else
3534: if test "$cross_compiling" = maybe; then
3535: cross_compiling=yes
3536: else
3537: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539: as_fn_error "cannot run C compiled programs.
3540: If you meant to cross compile, use \`--host'.
3541: See \`config.log' for more details." "$LINENO" 5; }
3542: fi
3543: fi
3544: fi
3545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3546: $as_echo "$cross_compiling" >&6; }
3547:
3548: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3549: ac_clean_files=$ac_clean_files_save
3550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3551: $as_echo_n "checking for suffix of object files... " >&6; }
3552: if test "${ac_cv_objext+set}" = set; then :
3553: $as_echo_n "(cached) " >&6
3554: else
3555: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556: /* end confdefs.h. */
3557:
3558: int
3559: main ()
3560: {
3561:
3562: ;
3563: return 0;
3564: }
3565: _ACEOF
3566: rm -f conftest.o conftest.obj
3567: if { { ac_try="$ac_compile"
3568: case "(($ac_try" in
3569: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570: *) ac_try_echo=$ac_try;;
3571: esac
3572: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573: $as_echo "$ac_try_echo"; } >&5
3574: (eval "$ac_compile") 2>&5
3575: ac_status=$?
3576: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577: test $ac_status = 0; }; then :
3578: for ac_file in conftest.o conftest.obj conftest.*; do
3579: test -f "$ac_file" || continue;
3580: case $ac_file in
3581: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3582: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3583: break;;
3584: esac
3585: done
3586: else
3587: $as_echo "$as_me: failed program was:" >&5
3588: sed 's/^/| /' conftest.$ac_ext >&5
3589:
3590: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592: as_fn_error "cannot compute suffix of object files: cannot compile
3593: See \`config.log' for more details." "$LINENO" 5; }
3594: fi
3595: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3596: fi
3597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3598: $as_echo "$ac_cv_objext" >&6; }
3599: OBJEXT=$ac_cv_objext
3600: ac_objext=$OBJEXT
3601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3602: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3603: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3604: $as_echo_n "(cached) " >&6
3605: else
3606: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607: /* end confdefs.h. */
3608:
3609: int
3610: main ()
3611: {
3612: #ifndef __GNUC__
3613: choke me
3614: #endif
3615:
3616: ;
3617: return 0;
3618: }
3619: _ACEOF
3620: if ac_fn_c_try_compile "$LINENO"; then :
3621: ac_compiler_gnu=yes
3622: else
3623: ac_compiler_gnu=no
3624: fi
3625: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3626: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627:
3628: fi
3629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3630: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3631: if test $ac_compiler_gnu = yes; then
3632: GCC=yes
3633: else
3634: GCC=
3635: fi
3636: ac_test_CFLAGS=${CFLAGS+set}
3637: ac_save_CFLAGS=$CFLAGS
3638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3639: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3640: if test "${ac_cv_prog_cc_g+set}" = set; then :
3641: $as_echo_n "(cached) " >&6
3642: else
3643: ac_save_c_werror_flag=$ac_c_werror_flag
3644: ac_c_werror_flag=yes
3645: ac_cv_prog_cc_g=no
3646: CFLAGS="-g"
3647: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648: /* end confdefs.h. */
3649:
3650: int
3651: main ()
3652: {
3653:
3654: ;
3655: return 0;
3656: }
3657: _ACEOF
3658: if ac_fn_c_try_compile "$LINENO"; then :
3659: ac_cv_prog_cc_g=yes
3660: else
3661: CFLAGS=""
3662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663: /* end confdefs.h. */
3664:
3665: int
3666: main ()
3667: {
3668:
3669: ;
3670: return 0;
3671: }
3672: _ACEOF
3673: if ac_fn_c_try_compile "$LINENO"; then :
3674:
3675: else
3676: ac_c_werror_flag=$ac_save_c_werror_flag
3677: CFLAGS="-g"
3678: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679: /* end confdefs.h. */
3680:
3681: int
3682: main ()
3683: {
3684:
3685: ;
3686: return 0;
3687: }
3688: _ACEOF
3689: if ac_fn_c_try_compile "$LINENO"; then :
3690: ac_cv_prog_cc_g=yes
3691: fi
3692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693: fi
3694: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695: fi
3696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697: ac_c_werror_flag=$ac_save_c_werror_flag
3698: fi
3699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3700: $as_echo "$ac_cv_prog_cc_g" >&6; }
3701: if test "$ac_test_CFLAGS" = set; then
3702: CFLAGS=$ac_save_CFLAGS
3703: elif test $ac_cv_prog_cc_g = yes; then
3704: if test "$GCC" = yes; then
3705: CFLAGS="-g -O2"
3706: else
3707: CFLAGS="-g"
3708: fi
3709: else
3710: if test "$GCC" = yes; then
3711: CFLAGS="-O2"
3712: else
3713: CFLAGS=
3714: fi
3715: fi
3716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3717: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3718: if test "${ac_cv_prog_cc_c89+set}" = set; then :
3719: $as_echo_n "(cached) " >&6
3720: else
3721: ac_cv_prog_cc_c89=no
3722: ac_save_CC=$CC
3723: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724: /* end confdefs.h. */
3725: #include <stdarg.h>
3726: #include <stdio.h>
3727: #include <sys/types.h>
3728: #include <sys/stat.h>
3729: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3730: struct buf { int x; };
3731: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3732: static char *e (p, i)
3733: char **p;
3734: int i;
3735: {
3736: return p[i];
3737: }
3738: static char *f (char * (*g) (char **, int), char **p, ...)
3739: {
3740: char *s;
3741: va_list v;
3742: va_start (v,p);
3743: s = g (p, va_arg (v,int));
3744: va_end (v);
3745: return s;
3746: }
3747:
3748: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3749: function prototypes and stuff, but not '\xHH' hex character constants.
3750: These don't provoke an error unfortunately, instead are silently treated
3751: as 'x'. The following induces an error, until -std is added to get
3752: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3753: array size at least. It's necessary to write '\x00'==0 to get something
3754: that's true only with -std. */
3755: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3756:
3757: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3758: inside strings and character constants. */
3759: #define FOO(x) 'x'
3760: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3761:
3762: int test (int i, double x);
3763: struct s1 {int (*f) (int a);};
3764: struct s2 {int (*f) (double a);};
3765: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3766: int argc;
3767: char **argv;
3768: int
3769: main ()
3770: {
3771: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3772: ;
3773: return 0;
3774: }
3775: _ACEOF
3776: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3777: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3778: do
3779: CC="$ac_save_CC $ac_arg"
3780: if ac_fn_c_try_compile "$LINENO"; then :
3781: ac_cv_prog_cc_c89=$ac_arg
3782: fi
3783: rm -f core conftest.err conftest.$ac_objext
3784: test "x$ac_cv_prog_cc_c89" != "xno" && break
3785: done
3786: rm -f conftest.$ac_ext
3787: CC=$ac_save_CC
3788:
3789: fi
3790: # AC_CACHE_VAL
3791: case "x$ac_cv_prog_cc_c89" in
3792: x)
3793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3794: $as_echo "none needed" >&6; } ;;
3795: xno)
3796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3797: $as_echo "unsupported" >&6; } ;;
3798: *)
3799: CC="$CC $ac_cv_prog_cc_c89"
3800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3801: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3802: esac
3803: if test "x$ac_cv_prog_cc_c89" != xno; then :
3804:
3805: fi
3806:
3807: ac_ext=c
3808: ac_cpp='$CPP $CPPFLAGS'
3809: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812: DEPDIR="${am__leading_dot}deps"
3813:
3814: ac_config_commands="$ac_config_commands depfiles"
3815:
3816:
3817: am_make=${MAKE-make}
3818: cat > confinc << 'END'
3819: am__doit:
3820: @echo this is the am__doit target
3821: .PHONY: am__doit
3822: END
3823: # If we don't find an include directive, just comment out the code.
3824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3825: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3826: am__include="#"
3827: am__quote=
3828: _am_result=none
3829: # First try GNU make style include.
3830: echo "include confinc" > confmf
3831: # Ignore all kinds of additional output from `make'.
3832: case `$am_make -s -f confmf 2> /dev/null` in #(
3833: *the\ am__doit\ target*)
3834: am__include=include
3835: am__quote=
3836: _am_result=GNU
3837: ;;
3838: esac
3839: # Now try BSD make style include.
3840: if test "$am__include" = "#"; then
3841: echo '.include "confinc"' > confmf
3842: case `$am_make -s -f confmf 2> /dev/null` in #(
3843: *the\ am__doit\ target*)
3844: am__include=.include
3845: am__quote="\""
3846: _am_result=BSD
3847: ;;
3848: esac
3849: fi
3850:
3851:
3852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3853: $as_echo "$_am_result" >&6; }
3854: rm -f confinc confmf
3855:
3856: # Check whether --enable-dependency-tracking was given.
3857: if test "${enable_dependency_tracking+set}" = set; then :
3858: enableval=$enable_dependency_tracking;
3859: fi
3860:
3861: if test "x$enable_dependency_tracking" != xno; then
3862: am_depcomp="$ac_aux_dir/depcomp"
3863: AMDEPBACKSLASH='\'
3864: fi
3865: if test "x$enable_dependency_tracking" != xno; then
3866: AMDEP_TRUE=
3867: AMDEP_FALSE='#'
3868: else
3869: AMDEP_TRUE='#'
3870: AMDEP_FALSE=
3871: fi
3872:
3873:
3874:
3875: depcc="$CC" am_compiler_list=
3876:
3877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3878: $as_echo_n "checking dependency style of $depcc... " >&6; }
3879: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3880: $as_echo_n "(cached) " >&6
3881: else
3882: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3883: # We make a subdir and do the tests there. Otherwise we can end up
3884: # making bogus files that we don't know about and never remove. For
3885: # instance it was reported that on HP-UX the gcc test will end up
3886: # making a dummy file named `D' -- because `-MD' means `put the output
3887: # in D'.
3888: mkdir conftest.dir
3889: # Copy depcomp to subdir because otherwise we won't find it if we're
3890: # using a relative directory.
3891: cp "$am_depcomp" conftest.dir
3892: cd conftest.dir
3893: # We will build objects and dependencies in a subdirectory because
3894: # it helps to detect inapplicable dependency modes. For instance
3895: # both Tru64's cc and ICC support -MD to output dependencies as a
3896: # side effect of compilation, but ICC will put the dependencies in
3897: # the current directory while Tru64 will put them in the object
3898: # directory.
3899: mkdir sub
3900:
3901: am_cv_CC_dependencies_compiler_type=none
3902: if test "$am_compiler_list" = ""; then
3903: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3904: fi
3905: am__universal=false
3906: case " $depcc " in #(
3907: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3908: esac
3909:
3910: for depmode in $am_compiler_list; do
3911: # Setup a source with many dependencies, because some compilers
3912: # like to wrap large dependency lists on column 80 (with \), and
3913: # we should not choose a depcomp mode which is confused by this.
3914: #
3915: # We need to recreate these files for each test, as the compiler may
3916: # overwrite some of them when testing with obscure command lines.
3917: # This happens at least with the AIX C compiler.
3918: : > sub/conftest.c
3919: for i in 1 2 3 4 5 6; do
3920: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3921: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3922: # Solaris 8's {/usr,}/bin/sh.
3923: touch sub/conftst$i.h
3924: done
3925: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3926:
3927: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3928: # mode. It turns out that the SunPro C++ compiler does not properly
3929: # handle `-M -o', and we need to detect this. Also, some Intel
3930: # versions had trouble with output in subdirs
3931: am__obj=sub/conftest.${OBJEXT-o}
3932: am__minus_obj="-o $am__obj"
3933: case $depmode in
3934: gcc)
3935: # This depmode causes a compiler race in universal mode.
3936: test "$am__universal" = false || continue
3937: ;;
3938: nosideeffect)
3939: # after this tag, mechanisms are not by side-effect, so they'll
3940: # only be used when explicitly requested
3941: if test "x$enable_dependency_tracking" = xyes; then
3942: continue
3943: else
3944: break
3945: fi
3946: ;;
3947: msvisualcpp | msvcmsys)
3948: # This compiler won't grok `-c -o', but also, the minuso test has
3949: # not run yet. These depmodes are late enough in the game, and
3950: # so weak that their functioning should not be impacted.
3951: am__obj=conftest.${OBJEXT-o}
3952: am__minus_obj=
3953: ;;
3954: none) break ;;
3955: esac
3956: if depmode=$depmode \
3957: source=sub/conftest.c object=$am__obj \
3958: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3959: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3960: >/dev/null 2>conftest.err &&
3961: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3962: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3963: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3964: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3965: # icc doesn't choke on unknown options, it will just issue warnings
3966: # or remarks (even with -Werror). So we grep stderr for any message
3967: # that says an option was ignored or not supported.
3968: # When given -MP, icc 7.0 and 7.1 complain thusly:
3969: # icc: Command line warning: ignoring option '-M'; no argument required
3970: # The diagnosis changed in icc 8.0:
3971: # icc: Command line remark: option '-MP' not supported
3972: if (grep 'ignoring option' conftest.err ||
3973: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3974: am_cv_CC_dependencies_compiler_type=$depmode
3975: break
3976: fi
3977: fi
3978: done
3979:
3980: cd ..
3981: rm -rf conftest.dir
3982: else
3983: am_cv_CC_dependencies_compiler_type=none
3984: fi
3985:
3986: fi
3987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3988: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3989: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3990:
3991: if
3992: test "x$enable_dependency_tracking" != xno \
3993: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3994: am__fastdepCC_TRUE=
3995: am__fastdepCC_FALSE='#'
3996: else
3997: am__fastdepCC_TRUE='#'
3998: am__fastdepCC_FALSE=
3999: fi
4000:
4001:
4002:
4003: if test x"$CC" != x""; then
4004: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4005: awk -F. '{ printf("%s", $1);}'`
4006: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4007: awk -F. '{ printf("%s", $2);}'`
4008: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
4009: OPTIMISATION_C=-O3
4010: else
4011: if test $GCC_VERSION_MAJEURE -ge 5; then
4012: OPTIMISATION_C=-O3
4013: else
4014: OPTIMISATION_C=-O2
4015: fi
4016: fi
4017: fi
4018:
4019: if test "x$CC" != xcc; then
4020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4021: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4022: else
4023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4024: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4025: fi
4026: set dummy $CC; ac_cc=`$as_echo "$2" |
4027: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4028: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4029: $as_echo_n "(cached) " >&6
4030: else
4031: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032: /* end confdefs.h. */
4033:
4034: int
4035: main ()
4036: {
4037:
4038: ;
4039: return 0;
4040: }
4041: _ACEOF
4042: # Make sure it works both with $CC and with simple cc.
4043: # We do the test twice because some compilers refuse to overwrite an
4044: # existing .o file with -o, though they will create one.
4045: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4046: rm -f conftest2.*
4047: if { { case "(($ac_try" in
4048: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049: *) ac_try_echo=$ac_try;;
4050: esac
4051: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052: $as_echo "$ac_try_echo"; } >&5
4053: (eval "$ac_try") 2>&5
4054: ac_status=$?
4055: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056: test $ac_status = 0; } &&
4057: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4058: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059: *) ac_try_echo=$ac_try;;
4060: esac
4061: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062: $as_echo "$ac_try_echo"; } >&5
4063: (eval "$ac_try") 2>&5
4064: ac_status=$?
4065: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066: test $ac_status = 0; };
4067: then
4068: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4069: if test "x$CC" != xcc; then
4070: # Test first that cc exists at all.
4071: if { ac_try='cc -c conftest.$ac_ext >&5'
4072: { { case "(($ac_try" in
4073: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074: *) ac_try_echo=$ac_try;;
4075: esac
4076: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077: $as_echo "$ac_try_echo"; } >&5
4078: (eval "$ac_try") 2>&5
4079: ac_status=$?
4080: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081: test $ac_status = 0; }; }; then
4082: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4083: rm -f conftest2.*
4084: if { { case "(($ac_try" in
4085: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086: *) ac_try_echo=$ac_try;;
4087: esac
4088: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089: $as_echo "$ac_try_echo"; } >&5
4090: (eval "$ac_try") 2>&5
4091: ac_status=$?
4092: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093: test $ac_status = 0; } &&
4094: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4095: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096: *) ac_try_echo=$ac_try;;
4097: esac
4098: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099: $as_echo "$ac_try_echo"; } >&5
4100: (eval "$ac_try") 2>&5
4101: ac_status=$?
4102: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103: test $ac_status = 0; };
4104: then
4105: # cc works too.
4106: :
4107: else
4108: # cc exists but doesn't like -o.
4109: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4110: fi
4111: fi
4112: fi
4113: else
4114: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4115: fi
4116: rm -f core conftest*
4117:
4118: fi
4119: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121: $as_echo "yes" >&6; }
4122: else
4123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124: $as_echo "no" >&6; }
4125:
4126: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4127:
4128: fi
4129:
4130: # FIXME: we rely on the cache variable name because
4131: # there is no other way.
4132: set dummy $CC
4133: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4134: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4135: if test "$am_t" != yes; then
4136: # Losing compiler, so override with the script.
4137: # FIXME: It is wrong to rewrite CC.
4138: # But if we don't then we get into trouble of one sort or another.
4139: # A longer-term fix would be to have automake use am__CC in this case,
4140: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4141: CC="$am_aux_dir/compile $CC"
4142: fi
4143:
4144:
4145:
4146: if test "$GCC" != yes; then
4147: as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5
4148: fi
4149:
4150: ac_ext=cpp
4151: ac_cpp='$CXXCPP $CPPFLAGS'
4152: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4155: if test -z "$CXX"; then
4156: if test -n "$CCC"; then
4157: CXX=$CCC
4158: else
4159: if test -n "$ac_tool_prefix"; then
4160: for ac_prog in g++-4.4 g++
4161: do
4162: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4163: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165: $as_echo_n "checking for $ac_word... " >&6; }
4166: if test "${ac_cv_prog_CXX+set}" = set; then :
4167: $as_echo_n "(cached) " >&6
4168: else
4169: if test -n "$CXX"; then
4170: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4171: else
4172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173: for as_dir in $PATH
4174: do
4175: IFS=$as_save_IFS
4176: test -z "$as_dir" && as_dir=.
4177: for ac_exec_ext in '' $ac_executable_extensions; do
4178: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4180: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181: break 2
4182: fi
4183: done
4184: done
4185: IFS=$as_save_IFS
4186:
4187: fi
4188: fi
4189: CXX=$ac_cv_prog_CXX
4190: if test -n "$CXX"; then
4191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4192: $as_echo "$CXX" >&6; }
4193: else
4194: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195: $as_echo "no" >&6; }
4196: fi
4197:
4198:
4199: test -n "$CXX" && break
4200: done
4201: fi
4202: if test -z "$CXX"; then
4203: ac_ct_CXX=$CXX
4204: for ac_prog in g++-4.4 g++
4205: do
4206: # Extract the first word of "$ac_prog", so it can be a program name with args.
4207: set dummy $ac_prog; ac_word=$2
4208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209: $as_echo_n "checking for $ac_word... " >&6; }
4210: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4211: $as_echo_n "(cached) " >&6
4212: else
4213: if test -n "$ac_ct_CXX"; then
4214: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4215: else
4216: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217: for as_dir in $PATH
4218: do
4219: IFS=$as_save_IFS
4220: test -z "$as_dir" && as_dir=.
4221: for ac_exec_ext in '' $ac_executable_extensions; do
4222: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223: ac_cv_prog_ac_ct_CXX="$ac_prog"
4224: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225: break 2
4226: fi
4227: done
4228: done
4229: IFS=$as_save_IFS
4230:
4231: fi
4232: fi
4233: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4234: if test -n "$ac_ct_CXX"; then
4235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4236: $as_echo "$ac_ct_CXX" >&6; }
4237: else
4238: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239: $as_echo "no" >&6; }
4240: fi
4241:
4242:
4243: test -n "$ac_ct_CXX" && break
4244: done
4245:
4246: if test "x$ac_ct_CXX" = x; then
4247: CXX="g++"
4248: else
4249: case $cross_compiling:$ac_tool_warned in
4250: yes:)
4251: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4252: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4253: ac_tool_warned=yes ;;
4254: esac
4255: CXX=$ac_ct_CXX
4256: fi
4257: fi
4258:
4259: fi
4260: fi
4261: # Provide some information about the compiler.
4262: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4263: set X $ac_compile
4264: ac_compiler=$2
4265: for ac_option in --version -v -V -qversion; do
4266: { { ac_try="$ac_compiler $ac_option >&5"
4267: case "(($ac_try" in
4268: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269: *) ac_try_echo=$ac_try;;
4270: esac
4271: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272: $as_echo "$ac_try_echo"; } >&5
4273: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4274: ac_status=$?
4275: if test -s conftest.err; then
4276: sed '10a\
4277: ... rest of stderr output deleted ...
4278: 10q' conftest.err >conftest.er1
4279: cat conftest.er1 >&5
4280: fi
4281: rm -f conftest.er1 conftest.err
4282: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4283: test $ac_status = 0; }
4284: done
4285:
4286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4287: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4288: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4289: $as_echo_n "(cached) " >&6
4290: else
4291: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292: /* end confdefs.h. */
4293:
4294: int
4295: main ()
4296: {
4297: #ifndef __GNUC__
4298: choke me
4299: #endif
4300:
4301: ;
4302: return 0;
4303: }
4304: _ACEOF
4305: if ac_fn_cxx_try_compile "$LINENO"; then :
4306: ac_compiler_gnu=yes
4307: else
4308: ac_compiler_gnu=no
4309: fi
4310: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4312:
4313: fi
4314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4315: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4316: if test $ac_compiler_gnu = yes; then
4317: GXX=yes
4318: else
4319: GXX=
4320: fi
4321: ac_test_CXXFLAGS=${CXXFLAGS+set}
4322: ac_save_CXXFLAGS=$CXXFLAGS
4323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4324: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4325: if test "${ac_cv_prog_cxx_g+set}" = set; then :
4326: $as_echo_n "(cached) " >&6
4327: else
4328: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4329: ac_cxx_werror_flag=yes
4330: ac_cv_prog_cxx_g=no
4331: CXXFLAGS="-g"
4332: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333: /* end confdefs.h. */
4334:
4335: int
4336: main ()
4337: {
4338:
4339: ;
4340: return 0;
4341: }
4342: _ACEOF
4343: if ac_fn_cxx_try_compile "$LINENO"; then :
4344: ac_cv_prog_cxx_g=yes
4345: else
4346: CXXFLAGS=""
4347: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348: /* end confdefs.h. */
4349:
4350: int
4351: main ()
4352: {
4353:
4354: ;
4355: return 0;
4356: }
4357: _ACEOF
4358: if ac_fn_cxx_try_compile "$LINENO"; then :
4359:
4360: else
4361: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4362: CXXFLAGS="-g"
4363: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364: /* end confdefs.h. */
4365:
4366: int
4367: main ()
4368: {
4369:
4370: ;
4371: return 0;
4372: }
4373: _ACEOF
4374: if ac_fn_cxx_try_compile "$LINENO"; then :
4375: ac_cv_prog_cxx_g=yes
4376: fi
4377: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378: fi
4379: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380: fi
4381: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4383: fi
4384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4385: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4386: if test "$ac_test_CXXFLAGS" = set; then
4387: CXXFLAGS=$ac_save_CXXFLAGS
4388: elif test $ac_cv_prog_cxx_g = yes; then
4389: if test "$GXX" = yes; then
4390: CXXFLAGS="-g -O2"
4391: else
4392: CXXFLAGS="-g"
4393: fi
4394: else
4395: if test "$GXX" = yes; then
4396: CXXFLAGS="-O2"
4397: else
4398: CXXFLAGS=
4399: fi
4400: fi
4401: ac_ext=c
4402: ac_cpp='$CPP $CPPFLAGS'
4403: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4404: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4405: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4406:
4407: depcc="$CXX" am_compiler_list=
4408:
4409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4410: $as_echo_n "checking dependency style of $depcc... " >&6; }
4411: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4412: $as_echo_n "(cached) " >&6
4413: else
4414: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4415: # We make a subdir and do the tests there. Otherwise we can end up
4416: # making bogus files that we don't know about and never remove. For
4417: # instance it was reported that on HP-UX the gcc test will end up
4418: # making a dummy file named `D' -- because `-MD' means `put the output
4419: # in D'.
4420: mkdir conftest.dir
4421: # Copy depcomp to subdir because otherwise we won't find it if we're
4422: # using a relative directory.
4423: cp "$am_depcomp" conftest.dir
4424: cd conftest.dir
4425: # We will build objects and dependencies in a subdirectory because
4426: # it helps to detect inapplicable dependency modes. For instance
4427: # both Tru64's cc and ICC support -MD to output dependencies as a
4428: # side effect of compilation, but ICC will put the dependencies in
4429: # the current directory while Tru64 will put them in the object
4430: # directory.
4431: mkdir sub
4432:
4433: am_cv_CXX_dependencies_compiler_type=none
4434: if test "$am_compiler_list" = ""; then
4435: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4436: fi
4437: am__universal=false
4438: case " $depcc " in #(
4439: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4440: esac
4441:
4442: for depmode in $am_compiler_list; do
4443: # Setup a source with many dependencies, because some compilers
4444: # like to wrap large dependency lists on column 80 (with \), and
4445: # we should not choose a depcomp mode which is confused by this.
4446: #
4447: # We need to recreate these files for each test, as the compiler may
4448: # overwrite some of them when testing with obscure command lines.
4449: # This happens at least with the AIX C compiler.
4450: : > sub/conftest.c
4451: for i in 1 2 3 4 5 6; do
4452: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4453: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4454: # Solaris 8's {/usr,}/bin/sh.
4455: touch sub/conftst$i.h
4456: done
4457: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4458:
4459: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4460: # mode. It turns out that the SunPro C++ compiler does not properly
4461: # handle `-M -o', and we need to detect this. Also, some Intel
4462: # versions had trouble with output in subdirs
4463: am__obj=sub/conftest.${OBJEXT-o}
4464: am__minus_obj="-o $am__obj"
4465: case $depmode in
4466: gcc)
4467: # This depmode causes a compiler race in universal mode.
4468: test "$am__universal" = false || continue
4469: ;;
4470: nosideeffect)
4471: # after this tag, mechanisms are not by side-effect, so they'll
4472: # only be used when explicitly requested
4473: if test "x$enable_dependency_tracking" = xyes; then
4474: continue
4475: else
4476: break
4477: fi
4478: ;;
4479: msvisualcpp | msvcmsys)
4480: # This compiler won't grok `-c -o', but also, the minuso test has
4481: # not run yet. These depmodes are late enough in the game, and
4482: # so weak that their functioning should not be impacted.
4483: am__obj=conftest.${OBJEXT-o}
4484: am__minus_obj=
4485: ;;
4486: none) break ;;
4487: esac
4488: if depmode=$depmode \
4489: source=sub/conftest.c object=$am__obj \
4490: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4491: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4492: >/dev/null 2>conftest.err &&
4493: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4494: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4495: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4496: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4497: # icc doesn't choke on unknown options, it will just issue warnings
4498: # or remarks (even with -Werror). So we grep stderr for any message
4499: # that says an option was ignored or not supported.
4500: # When given -MP, icc 7.0 and 7.1 complain thusly:
4501: # icc: Command line warning: ignoring option '-M'; no argument required
4502: # The diagnosis changed in icc 8.0:
4503: # icc: Command line remark: option '-MP' not supported
4504: if (grep 'ignoring option' conftest.err ||
4505: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4506: am_cv_CXX_dependencies_compiler_type=$depmode
4507: break
4508: fi
4509: fi
4510: done
4511:
4512: cd ..
4513: rm -rf conftest.dir
4514: else
4515: am_cv_CXX_dependencies_compiler_type=none
4516: fi
4517:
4518: fi
4519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4520: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4521: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4522:
4523: if
4524: test "x$enable_dependency_tracking" != xno \
4525: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4526: am__fastdepCXX_TRUE=
4527: am__fastdepCXX_FALSE='#'
4528: else
4529: am__fastdepCXX_TRUE='#'
4530: am__fastdepCXX_FALSE=
4531: fi
4532:
4533:
4534:
4535: if test "$GXX" != yes; then
4536: as_fn_error "Cannot find g++! You have to install it." "$LINENO" 5
4537: fi
4538:
4539: ac_ext=f
4540: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4541: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4543: if test -n "$ac_tool_prefix"; then
4544: for ac_prog in gfortran-4.4 gfortran
4545: do
4546: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4547: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549: $as_echo_n "checking for $ac_word... " >&6; }
4550: if test "${ac_cv_prog_F77+set}" = set; then :
4551: $as_echo_n "(cached) " >&6
4552: else
4553: if test -n "$F77"; then
4554: ac_cv_prog_F77="$F77" # Let the user override the test.
4555: else
4556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557: for as_dir in $PATH
4558: do
4559: IFS=$as_save_IFS
4560: test -z "$as_dir" && as_dir=.
4561: for ac_exec_ext in '' $ac_executable_extensions; do
4562: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4564: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565: break 2
4566: fi
4567: done
4568: done
4569: IFS=$as_save_IFS
4570:
4571: fi
4572: fi
4573: F77=$ac_cv_prog_F77
4574: if test -n "$F77"; then
4575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4576: $as_echo "$F77" >&6; }
4577: else
4578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579: $as_echo "no" >&6; }
4580: fi
4581:
4582:
4583: test -n "$F77" && break
4584: done
4585: fi
4586: if test -z "$F77"; then
4587: ac_ct_F77=$F77
4588: for ac_prog in gfortran-4.4 gfortran
4589: do
4590: # Extract the first word of "$ac_prog", so it can be a program name with args.
4591: set dummy $ac_prog; ac_word=$2
4592: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593: $as_echo_n "checking for $ac_word... " >&6; }
4594: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
4595: $as_echo_n "(cached) " >&6
4596: else
4597: if test -n "$ac_ct_F77"; then
4598: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4599: else
4600: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601: for as_dir in $PATH
4602: do
4603: IFS=$as_save_IFS
4604: test -z "$as_dir" && as_dir=.
4605: for ac_exec_ext in '' $ac_executable_extensions; do
4606: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607: ac_cv_prog_ac_ct_F77="$ac_prog"
4608: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609: break 2
4610: fi
4611: done
4612: done
4613: IFS=$as_save_IFS
4614:
4615: fi
4616: fi
4617: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4618: if test -n "$ac_ct_F77"; then
4619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4620: $as_echo "$ac_ct_F77" >&6; }
4621: else
4622: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623: $as_echo "no" >&6; }
4624: fi
4625:
4626:
4627: test -n "$ac_ct_F77" && break
4628: done
4629:
4630: if test "x$ac_ct_F77" = x; then
4631: F77=""
4632: else
4633: case $cross_compiling:$ac_tool_warned in
4634: yes:)
4635: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4636: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4637: ac_tool_warned=yes ;;
4638: esac
4639: F77=$ac_ct_F77
4640: fi
4641: fi
4642:
4643:
4644: # Provide some information about the compiler.
4645: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4646: set X $ac_compile
4647: ac_compiler=$2
4648: for ac_option in --version -v -V -qversion; do
4649: { { ac_try="$ac_compiler $ac_option >&5"
4650: case "(($ac_try" in
4651: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652: *) ac_try_echo=$ac_try;;
4653: esac
4654: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4655: $as_echo "$ac_try_echo"; } >&5
4656: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4657: ac_status=$?
4658: if test -s conftest.err; then
4659: sed '10a\
4660: ... rest of stderr output deleted ...
4661: 10q' conftest.err >conftest.er1
4662: cat conftest.er1 >&5
4663: fi
4664: rm -f conftest.er1 conftest.err
4665: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666: test $ac_status = 0; }
4667: done
4668: rm -f a.out
4669:
4670: # If we don't use `.F' as extension, the preprocessor is not run on the
4671: # input file. (Note that this only needs to work for GNU compilers.)
4672: ac_save_ext=$ac_ext
4673: ac_ext=F
4674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4675: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4676: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
4677: $as_echo_n "(cached) " >&6
4678: else
4679: cat > conftest.$ac_ext <<_ACEOF
4680: program main
4681: #ifndef __GNUC__
4682: choke me
4683: #endif
4684:
4685: end
4686: _ACEOF
4687: if ac_fn_f77_try_compile "$LINENO"; then :
4688: ac_compiler_gnu=yes
4689: else
4690: ac_compiler_gnu=no
4691: fi
4692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4694:
4695: fi
4696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4697: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4698: ac_ext=$ac_save_ext
4699: ac_test_FFLAGS=${FFLAGS+set}
4700: ac_save_FFLAGS=$FFLAGS
4701: FFLAGS=
4702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4703: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4704: if test "${ac_cv_prog_f77_g+set}" = set; then :
4705: $as_echo_n "(cached) " >&6
4706: else
4707: FFLAGS=-g
4708: cat > conftest.$ac_ext <<_ACEOF
4709: program main
4710:
4711: end
4712: _ACEOF
4713: if ac_fn_f77_try_compile "$LINENO"; then :
4714: ac_cv_prog_f77_g=yes
4715: else
4716: ac_cv_prog_f77_g=no
4717: fi
4718: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719:
4720: fi
4721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4722: $as_echo "$ac_cv_prog_f77_g" >&6; }
4723: if test "$ac_test_FFLAGS" = set; then
4724: FFLAGS=$ac_save_FFLAGS
4725: elif test $ac_cv_prog_f77_g = yes; then
4726: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4727: FFLAGS="-g -O2"
4728: else
4729: FFLAGS="-g"
4730: fi
4731: else
4732: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4733: FFLAGS="-O2"
4734: else
4735: FFLAGS=
4736: fi
4737: fi
4738:
4739: if test $ac_compiler_gnu = yes; then
4740: G77=yes
4741: else
4742: G77=
4743: fi
4744: ac_ext=c
4745: ac_cpp='$CPP $CPPFLAGS'
4746: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4749:
4750:
4751: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4752: as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
4753: fi
4754:
4755: ac_ext=${ac_fc_srcext-f}
4756: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4757: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4758: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4759: if test -n "$ac_tool_prefix"; then
4760: for ac_prog in gfortran-4.4 gfortran
4761: do
4762: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4763: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765: $as_echo_n "checking for $ac_word... " >&6; }
4766: if test "${ac_cv_prog_FC+set}" = set; then :
4767: $as_echo_n "(cached) " >&6
4768: else
4769: if test -n "$FC"; then
4770: ac_cv_prog_FC="$FC" # Let the user override the test.
4771: else
4772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773: for as_dir in $PATH
4774: do
4775: IFS=$as_save_IFS
4776: test -z "$as_dir" && as_dir=.
4777: for ac_exec_ext in '' $ac_executable_extensions; do
4778: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4780: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781: break 2
4782: fi
4783: done
4784: done
4785: IFS=$as_save_IFS
4786:
4787: fi
4788: fi
4789: FC=$ac_cv_prog_FC
4790: if test -n "$FC"; then
4791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4792: $as_echo "$FC" >&6; }
4793: else
4794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795: $as_echo "no" >&6; }
4796: fi
4797:
4798:
4799: test -n "$FC" && break
4800: done
4801: fi
4802: if test -z "$FC"; then
4803: ac_ct_FC=$FC
4804: for ac_prog in gfortran-4.4 gfortran
4805: do
4806: # Extract the first word of "$ac_prog", so it can be a program name with args.
4807: set dummy $ac_prog; ac_word=$2
4808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809: $as_echo_n "checking for $ac_word... " >&6; }
4810: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
4811: $as_echo_n "(cached) " >&6
4812: else
4813: if test -n "$ac_ct_FC"; then
4814: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4815: else
4816: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817: for as_dir in $PATH
4818: do
4819: IFS=$as_save_IFS
4820: test -z "$as_dir" && as_dir=.
4821: for ac_exec_ext in '' $ac_executable_extensions; do
4822: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823: ac_cv_prog_ac_ct_FC="$ac_prog"
4824: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825: break 2
4826: fi
4827: done
4828: done
4829: IFS=$as_save_IFS
4830:
4831: fi
4832: fi
4833: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4834: if test -n "$ac_ct_FC"; then
4835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4836: $as_echo "$ac_ct_FC" >&6; }
4837: else
4838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839: $as_echo "no" >&6; }
4840: fi
4841:
4842:
4843: test -n "$ac_ct_FC" && break
4844: done
4845:
4846: if test "x$ac_ct_FC" = x; then
4847: FC=""
4848: else
4849: case $cross_compiling:$ac_tool_warned in
4850: yes:)
4851: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4852: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4853: ac_tool_warned=yes ;;
4854: esac
4855: FC=$ac_ct_FC
4856: fi
4857: fi
4858:
4859:
4860: # Provide some information about the compiler.
4861: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4862: set X $ac_compile
4863: ac_compiler=$2
4864: for ac_option in --version -v -V -qversion; do
4865: { { ac_try="$ac_compiler $ac_option >&5"
4866: case "(($ac_try" in
4867: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868: *) ac_try_echo=$ac_try;;
4869: esac
4870: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4871: $as_echo "$ac_try_echo"; } >&5
4872: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4873: ac_status=$?
4874: if test -s conftest.err; then
4875: sed '10a\
4876: ... rest of stderr output deleted ...
4877: 10q' conftest.err >conftest.er1
4878: cat conftest.er1 >&5
4879: fi
4880: rm -f conftest.er1 conftest.err
4881: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882: test $ac_status = 0; }
4883: done
4884: rm -f a.out
4885:
4886: # If we don't use `.F' as extension, the preprocessor is not run on the
4887: # input file. (Note that this only needs to work for GNU compilers.)
4888: ac_save_ext=$ac_ext
4889: ac_ext=F
4890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4891: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4892: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
4893: $as_echo_n "(cached) " >&6
4894: else
4895: cat > conftest.$ac_ext <<_ACEOF
4896: program main
4897: #ifndef __GNUC__
4898: choke me
4899: #endif
4900:
4901: end
4902: _ACEOF
4903: if ac_fn_fc_try_compile "$LINENO"; then :
4904: ac_compiler_gnu=yes
4905: else
4906: ac_compiler_gnu=no
4907: fi
4908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4910:
4911: fi
4912: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4913: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4914: ac_ext=$ac_save_ext
4915: ac_test_FCFLAGS=${FCFLAGS+set}
4916: ac_save_FCFLAGS=$FCFLAGS
4917: FCFLAGS=
4918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4919: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4920: if test "${ac_cv_prog_fc_g+set}" = set; then :
4921: $as_echo_n "(cached) " >&6
4922: else
4923: FCFLAGS=-g
4924: cat > conftest.$ac_ext <<_ACEOF
4925: program main
4926:
4927: end
4928: _ACEOF
4929: if ac_fn_fc_try_compile "$LINENO"; then :
4930: ac_cv_prog_fc_g=yes
4931: else
4932: ac_cv_prog_fc_g=no
4933: fi
4934: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935:
4936: fi
4937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4938: $as_echo "$ac_cv_prog_fc_g" >&6; }
4939: if test "$ac_test_FCFLAGS" = set; then
4940: FCFLAGS=$ac_save_FCFLAGS
4941: elif test $ac_cv_prog_fc_g = yes; then
4942: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4943: FCFLAGS="-g -O2"
4944: else
4945: FCFLAGS="-g"
4946: fi
4947: else
4948: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4949: FCFLAGS="-O2"
4950: else
4951: FCFLAGS=
4952: fi
4953: fi
4954:
4955: ac_ext=c
4956: ac_cpp='$CPP $CPPFLAGS'
4957: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960:
4961:
4962: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
4963: as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
4964: fi
4965:
4966: if test x"$FC" != x""; then
4967: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4968: awk -F. '{ printf("%s", $1);}'`
4969: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4970: awk -F. '{ printf("%s", $2);}'`
4971: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
4972: OPTIMISATION_F=-O3
4973: else
4974: if test $GCC_VERSION_MAJEURE -ge 5; then
4975: OPTIMISATION_F=-O3
4976: else
4977: OPTIMISATION_F=-O2
4978: fi
4979: fi
4980: fi
4981:
4982:
4983: ac_ext=c
4984: ac_cpp='$CPP $CPPFLAGS'
4985: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4989: $as_echo_n "checking how to run the C preprocessor... " >&6; }
4990: # On Suns, sometimes $CPP names a directory.
4991: if test -n "$CPP" && test -d "$CPP"; then
4992: CPP=
4993: fi
4994: if test -z "$CPP"; then
4995: if test "${ac_cv_prog_CPP+set}" = set; then :
4996: $as_echo_n "(cached) " >&6
4997: else
4998: # Double quotes because CPP needs to be expanded
4999: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5000: do
5001: ac_preproc_ok=false
5002: for ac_c_preproc_warn_flag in '' yes
5003: do
5004: # Use a header file that comes with gcc, so configuring glibc
5005: # with a fresh cross-compiler works.
5006: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5007: # <limits.h> exists even on freestanding compilers.
5008: # On the NeXT, cc -E runs the code through the compiler's parser,
5009: # not just through cpp. "Syntax error" is here to catch this case.
5010: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011: /* end confdefs.h. */
5012: #ifdef __STDC__
5013: # include <limits.h>
5014: #else
5015: # include <assert.h>
5016: #endif
5017: Syntax error
5018: _ACEOF
5019: if ac_fn_c_try_cpp "$LINENO"; then :
5020:
5021: else
5022: # Broken: fails on valid input.
5023: continue
5024: fi
5025: rm -f conftest.err conftest.$ac_ext
5026:
5027: # OK, works on sane cases. Now check whether nonexistent headers
5028: # can be detected and how.
5029: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030: /* end confdefs.h. */
5031: #include <ac_nonexistent.h>
5032: _ACEOF
5033: if ac_fn_c_try_cpp "$LINENO"; then :
5034: # Broken: success on invalid input.
5035: continue
5036: else
5037: # Passes both tests.
5038: ac_preproc_ok=:
5039: break
5040: fi
5041: rm -f conftest.err conftest.$ac_ext
5042:
5043: done
5044: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5045: rm -f conftest.err conftest.$ac_ext
5046: if $ac_preproc_ok; then :
5047: break
5048: fi
5049:
5050: done
5051: ac_cv_prog_CPP=$CPP
5052:
5053: fi
5054: CPP=$ac_cv_prog_CPP
5055: else
5056: ac_cv_prog_CPP=$CPP
5057: fi
5058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5059: $as_echo "$CPP" >&6; }
5060: ac_preproc_ok=false
5061: for ac_c_preproc_warn_flag in '' yes
5062: do
5063: # Use a header file that comes with gcc, so configuring glibc
5064: # with a fresh cross-compiler works.
5065: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5066: # <limits.h> exists even on freestanding compilers.
5067: # On the NeXT, cc -E runs the code through the compiler's parser,
5068: # not just through cpp. "Syntax error" is here to catch this case.
5069: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070: /* end confdefs.h. */
5071: #ifdef __STDC__
5072: # include <limits.h>
5073: #else
5074: # include <assert.h>
5075: #endif
5076: Syntax error
5077: _ACEOF
5078: if ac_fn_c_try_cpp "$LINENO"; then :
5079:
5080: else
5081: # Broken: fails on valid input.
5082: continue
5083: fi
5084: rm -f conftest.err conftest.$ac_ext
5085:
5086: # OK, works on sane cases. Now check whether nonexistent headers
5087: # can be detected and how.
5088: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089: /* end confdefs.h. */
5090: #include <ac_nonexistent.h>
5091: _ACEOF
5092: if ac_fn_c_try_cpp "$LINENO"; then :
5093: # Broken: success on invalid input.
5094: continue
5095: else
5096: # Passes both tests.
5097: ac_preproc_ok=:
5098: break
5099: fi
5100: rm -f conftest.err conftest.$ac_ext
5101:
5102: done
5103: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5104: rm -f conftest.err conftest.$ac_ext
5105: if $ac_preproc_ok; then :
5106:
5107: else
5108: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5109: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5110: as_fn_error "C preprocessor \"$CPP\" fails sanity check
5111: See \`config.log' for more details." "$LINENO" 5; }
5112: fi
5113:
5114: ac_ext=c
5115: ac_cpp='$CPP $CPPFLAGS'
5116: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119:
5120:
5121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5122: $as_echo_n "checking for X... " >&6; }
5123:
5124:
5125: # Check whether --with-x was given.
5126: if test "${with_x+set}" = set; then :
5127: withval=$with_x;
5128: fi
5129:
5130: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5131: if test "x$with_x" = xno; then
5132: # The user explicitly disabled X.
5133: have_x=disabled
5134: else
5135: case $x_includes,$x_libraries in #(
5136: *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
5137: *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5138: $as_echo_n "(cached) " >&6
5139: else
5140: # One or both of the vars are not set, and there is no cached value.
5141: ac_x_includes=no ac_x_libraries=no
5142: rm -f -r conftest.dir
5143: if mkdir conftest.dir; then
5144: cd conftest.dir
5145: cat >Imakefile <<'_ACEOF'
5146: incroot:
5147: @echo incroot='${INCROOT}'
5148: usrlibdir:
5149: @echo usrlibdir='${USRLIBDIR}'
5150: libdir:
5151: @echo libdir='${LIBDIR}'
5152: _ACEOF
5153: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5154: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5155: for ac_var in incroot usrlibdir libdir; do
5156: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5157: done
5158: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5159: for ac_extension in a so sl dylib la dll; do
5160: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5161: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5162: ac_im_usrlibdir=$ac_im_libdir; break
5163: fi
5164: done
5165: # Screen out bogus values from the imake configuration. They are
5166: # bogus both because they are the default anyway, and because
5167: # using them would break gcc on systems where it needs fixed includes.
5168: case $ac_im_incroot in
5169: /usr/include) ac_x_includes= ;;
5170: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5171: esac
5172: case $ac_im_usrlibdir in
5173: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5174: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5175: esac
5176: fi
5177: cd ..
5178: rm -f -r conftest.dir
5179: fi
5180:
5181: # Standard set of common directories for X headers.
5182: # Check X11 before X11Rn because it is often a symlink to the current release.
5183: ac_x_header_dirs='
5184: /usr/X11/include
5185: /usr/X11R7/include
5186: /usr/X11R6/include
5187: /usr/X11R5/include
5188: /usr/X11R4/include
5189:
5190: /usr/include/X11
5191: /usr/include/X11R7
5192: /usr/include/X11R6
5193: /usr/include/X11R5
5194: /usr/include/X11R4
5195:
5196: /usr/local/X11/include
5197: /usr/local/X11R7/include
5198: /usr/local/X11R6/include
5199: /usr/local/X11R5/include
5200: /usr/local/X11R4/include
5201:
5202: /usr/local/include/X11
5203: /usr/local/include/X11R7
5204: /usr/local/include/X11R6
5205: /usr/local/include/X11R5
5206: /usr/local/include/X11R4
5207:
5208: /usr/X386/include
5209: /usr/x386/include
5210: /usr/XFree86/include/X11
5211:
5212: /usr/include
5213: /usr/local/include
5214: /usr/unsupported/include
5215: /usr/athena/include
5216: /usr/local/x11r5/include
5217: /usr/lpp/Xamples/include
5218:
5219: /usr/openwin/include
5220: /usr/openwin/share/include'
5221:
5222: if test "$ac_x_includes" = no; then
5223: # Guess where to find include files, by looking for Xlib.h.
5224: # First, try using that file with no special directory specified.
5225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226: /* end confdefs.h. */
5227: #include <X11/Xlib.h>
5228: _ACEOF
5229: if ac_fn_c_try_cpp "$LINENO"; then :
5230: # We can compile using X headers with no special include directory.
5231: ac_x_includes=
5232: else
5233: for ac_dir in $ac_x_header_dirs; do
5234: if test -r "$ac_dir/X11/Xlib.h"; then
5235: ac_x_includes=$ac_dir
5236: break
5237: fi
5238: done
5239: fi
5240: rm -f conftest.err conftest.$ac_ext
5241: fi # $ac_x_includes = no
5242:
5243: if test "$ac_x_libraries" = no; then
5244: # Check for the libraries.
5245: # See if we find them without any special options.
5246: # Don't add to $LIBS permanently.
5247: ac_save_LIBS=$LIBS
5248: LIBS="-lX11 $LIBS"
5249: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250: /* end confdefs.h. */
5251: #include <X11/Xlib.h>
5252: int
5253: main ()
5254: {
5255: XrmInitialize ()
5256: ;
5257: return 0;
5258: }
5259: _ACEOF
5260: if ac_fn_c_try_link "$LINENO"; then :
5261: LIBS=$ac_save_LIBS
5262: # We can link X programs with no special library path.
5263: ac_x_libraries=
5264: else
5265: LIBS=$ac_save_LIBS
5266: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5267: do
5268: # Don't even attempt the hair of trying to link an X program!
5269: for ac_extension in a so sl dylib la dll; do
5270: if test -r "$ac_dir/libX11.$ac_extension"; then
5271: ac_x_libraries=$ac_dir
5272: break 2
5273: fi
5274: done
5275: done
5276: fi
5277: rm -f core conftest.err conftest.$ac_objext \
5278: conftest$ac_exeext conftest.$ac_ext
5279: fi # $ac_x_libraries = no
5280:
5281: case $ac_x_includes,$ac_x_libraries in #(
5282: no,* | *,no | *\'*)
5283: # Didn't find X, or a directory has "'" in its name.
5284: ac_cv_have_x="have_x=no";; #(
5285: *)
5286: # Record where we found X for the cache.
5287: ac_cv_have_x="have_x=yes\
5288: ac_x_includes='$ac_x_includes'\
5289: ac_x_libraries='$ac_x_libraries'"
5290: esac
5291: fi
5292: ;; #(
5293: *) have_x=yes;;
5294: esac
5295: eval "$ac_cv_have_x"
5296: fi # $with_x != no
5297:
5298: if test "$have_x" != yes; then
5299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5300: $as_echo "$have_x" >&6; }
5301: no_x=yes
5302: else
5303: # If each of the values was on the command line, it overrides each guess.
5304: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5305: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5306: # Update the cache value to reflect the command line values.
5307: ac_cv_have_x="have_x=yes\
5308: ac_x_includes='$x_includes'\
5309: ac_x_libraries='$x_libraries'"
5310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5311: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5312: fi
5313:
5314: if test "$no_x" = yes; then
5315: # Not all programs may use this symbol, but it does not hurt to define it.
5316:
5317: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5318:
5319: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5320: else
5321: if test -n "$x_includes"; then
5322: X_CFLAGS="$X_CFLAGS -I$x_includes"
5323: fi
5324:
5325: # It would also be nice to do this for all -L options, not just this one.
5326: if test -n "$x_libraries"; then
5327: X_LIBS="$X_LIBS -L$x_libraries"
5328: # For Solaris; some versions of Sun CC require a space after -R and
5329: # others require no space. Words are not sufficient . . . .
5330: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5331: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5332: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5333: ac_xsave_c_werror_flag=$ac_c_werror_flag
5334: ac_c_werror_flag=yes
5335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336: /* end confdefs.h. */
5337:
5338: int
5339: main ()
5340: {
5341:
5342: ;
5343: return 0;
5344: }
5345: _ACEOF
5346: if ac_fn_c_try_link "$LINENO"; then :
5347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348: $as_echo "no" >&6; }
5349: X_LIBS="$X_LIBS -R$x_libraries"
5350: else
5351: LIBS="$ac_xsave_LIBS -R $x_libraries"
5352: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353: /* end confdefs.h. */
5354:
5355: int
5356: main ()
5357: {
5358:
5359: ;
5360: return 0;
5361: }
5362: _ACEOF
5363: if ac_fn_c_try_link "$LINENO"; then :
5364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365: $as_echo "yes" >&6; }
5366: X_LIBS="$X_LIBS -R $x_libraries"
5367: else
5368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5369: $as_echo "neither works" >&6; }
5370: fi
5371: rm -f core conftest.err conftest.$ac_objext \
5372: conftest$ac_exeext conftest.$ac_ext
5373: fi
5374: rm -f core conftest.err conftest.$ac_objext \
5375: conftest$ac_exeext conftest.$ac_ext
5376: ac_c_werror_flag=$ac_xsave_c_werror_flag
5377: LIBS=$ac_xsave_LIBS
5378: fi
5379:
5380: # Check for system-dependent libraries X programs must link with.
5381: # Do this before checking for the system-independent R6 libraries
5382: # (-lICE), since we may need -lsocket or whatever for X linking.
5383:
5384: if test "$ISC" = yes; then
5385: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5386: else
5387: # Martyn Johnson says this is needed for Ultrix, if the X
5388: # libraries were built with DECnet support. And Karl Berry says
5389: # the Alpha needs dnet_stub (dnet does not exist).
5390: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5391: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392: /* end confdefs.h. */
5393:
5394: /* Override any GCC internal prototype to avoid an error.
5395: Use char because int might match the return type of a GCC
5396: builtin and then its argument prototype would still apply. */
5397: #ifdef __cplusplus
5398: extern "C"
5399: #endif
5400: char XOpenDisplay ();
5401: int
5402: main ()
5403: {
5404: return XOpenDisplay ();
5405: ;
5406: return 0;
5407: }
5408: _ACEOF
5409: if ac_fn_c_try_link "$LINENO"; then :
5410:
5411: else
5412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5413: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5414: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5415: $as_echo_n "(cached) " >&6
5416: else
5417: ac_check_lib_save_LIBS=$LIBS
5418: LIBS="-ldnet $LIBS"
5419: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420: /* end confdefs.h. */
5421:
5422: /* Override any GCC internal prototype to avoid an error.
5423: Use char because int might match the return type of a GCC
5424: builtin and then its argument prototype would still apply. */
5425: #ifdef __cplusplus
5426: extern "C"
5427: #endif
5428: char dnet_ntoa ();
5429: int
5430: main ()
5431: {
5432: return dnet_ntoa ();
5433: ;
5434: return 0;
5435: }
5436: _ACEOF
5437: if ac_fn_c_try_link "$LINENO"; then :
5438: ac_cv_lib_dnet_dnet_ntoa=yes
5439: else
5440: ac_cv_lib_dnet_dnet_ntoa=no
5441: fi
5442: rm -f core conftest.err conftest.$ac_objext \
5443: conftest$ac_exeext conftest.$ac_ext
5444: LIBS=$ac_check_lib_save_LIBS
5445: fi
5446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5447: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5448: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5449: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5450: fi
5451:
5452: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5453: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5454: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5455: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5456: $as_echo_n "(cached) " >&6
5457: else
5458: ac_check_lib_save_LIBS=$LIBS
5459: LIBS="-ldnet_stub $LIBS"
5460: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5461: /* end confdefs.h. */
5462:
5463: /* Override any GCC internal prototype to avoid an error.
5464: Use char because int might match the return type of a GCC
5465: builtin and then its argument prototype would still apply. */
5466: #ifdef __cplusplus
5467: extern "C"
5468: #endif
5469: char dnet_ntoa ();
5470: int
5471: main ()
5472: {
5473: return dnet_ntoa ();
5474: ;
5475: return 0;
5476: }
5477: _ACEOF
5478: if ac_fn_c_try_link "$LINENO"; then :
5479: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5480: else
5481: ac_cv_lib_dnet_stub_dnet_ntoa=no
5482: fi
5483: rm -f core conftest.err conftest.$ac_objext \
5484: conftest$ac_exeext conftest.$ac_ext
5485: LIBS=$ac_check_lib_save_LIBS
5486: fi
5487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5488: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5489: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5490: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5491: fi
5492:
5493: fi
5494: fi
5495: rm -f core conftest.err conftest.$ac_objext \
5496: conftest$ac_exeext conftest.$ac_ext
5497: LIBS="$ac_xsave_LIBS"
5498:
5499: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5500: # to get the SysV transport functions.
5501: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5502: # needs -lnsl.
5503: # The nsl library prevents programs from opening the X display
5504: # on Irix 5.2, according to T.E. Dickey.
5505: # The functions gethostbyname, getservbyname, and inet_addr are
5506: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5507: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5508: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5509:
5510: fi
5511:
5512: if test $ac_cv_func_gethostbyname = no; then
5513: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5514: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5515: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5516: $as_echo_n "(cached) " >&6
5517: else
5518: ac_check_lib_save_LIBS=$LIBS
5519: LIBS="-lnsl $LIBS"
5520: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521: /* end confdefs.h. */
5522:
5523: /* Override any GCC internal prototype to avoid an error.
5524: Use char because int might match the return type of a GCC
5525: builtin and then its argument prototype would still apply. */
5526: #ifdef __cplusplus
5527: extern "C"
5528: #endif
5529: char gethostbyname ();
5530: int
5531: main ()
5532: {
5533: return gethostbyname ();
5534: ;
5535: return 0;
5536: }
5537: _ACEOF
5538: if ac_fn_c_try_link "$LINENO"; then :
5539: ac_cv_lib_nsl_gethostbyname=yes
5540: else
5541: ac_cv_lib_nsl_gethostbyname=no
5542: fi
5543: rm -f core conftest.err conftest.$ac_objext \
5544: conftest$ac_exeext conftest.$ac_ext
5545: LIBS=$ac_check_lib_save_LIBS
5546: fi
5547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5548: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5549: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
5550: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5551: fi
5552:
5553: if test $ac_cv_lib_nsl_gethostbyname = no; then
5554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5555: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5556: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
5557: $as_echo_n "(cached) " >&6
5558: else
5559: ac_check_lib_save_LIBS=$LIBS
5560: LIBS="-lbsd $LIBS"
5561: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5562: /* end confdefs.h. */
5563:
5564: /* Override any GCC internal prototype to avoid an error.
5565: Use char because int might match the return type of a GCC
5566: builtin and then its argument prototype would still apply. */
5567: #ifdef __cplusplus
5568: extern "C"
5569: #endif
5570: char gethostbyname ();
5571: int
5572: main ()
5573: {
5574: return gethostbyname ();
5575: ;
5576: return 0;
5577: }
5578: _ACEOF
5579: if ac_fn_c_try_link "$LINENO"; then :
5580: ac_cv_lib_bsd_gethostbyname=yes
5581: else
5582: ac_cv_lib_bsd_gethostbyname=no
5583: fi
5584: rm -f core conftest.err conftest.$ac_objext \
5585: conftest$ac_exeext conftest.$ac_ext
5586: LIBS=$ac_check_lib_save_LIBS
5587: fi
5588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5589: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5590: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
5591: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5592: fi
5593:
5594: fi
5595: fi
5596:
5597: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5598: # socket/setsockopt and other routines are undefined under SCO ODT
5599: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5600: # on later versions), says Simon Leinen: it contains gethostby*
5601: # variants that don't use the name server (or something). -lsocket
5602: # must be given before -lnsl if both are needed. We assume that
5603: # if connect needs -lnsl, so does gethostbyname.
5604: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5605: if test "x$ac_cv_func_connect" = x""yes; then :
5606:
5607: fi
5608:
5609: if test $ac_cv_func_connect = no; then
5610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5611: $as_echo_n "checking for connect in -lsocket... " >&6; }
5612: if test "${ac_cv_lib_socket_connect+set}" = set; then :
5613: $as_echo_n "(cached) " >&6
5614: else
5615: ac_check_lib_save_LIBS=$LIBS
5616: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5618: /* end confdefs.h. */
5619:
5620: /* Override any GCC internal prototype to avoid an error.
5621: Use char because int might match the return type of a GCC
5622: builtin and then its argument prototype would still apply. */
5623: #ifdef __cplusplus
5624: extern "C"
5625: #endif
5626: char connect ();
5627: int
5628: main ()
5629: {
5630: return connect ();
5631: ;
5632: return 0;
5633: }
5634: _ACEOF
5635: if ac_fn_c_try_link "$LINENO"; then :
5636: ac_cv_lib_socket_connect=yes
5637: else
5638: ac_cv_lib_socket_connect=no
5639: fi
5640: rm -f core conftest.err conftest.$ac_objext \
5641: conftest$ac_exeext conftest.$ac_ext
5642: LIBS=$ac_check_lib_save_LIBS
5643: fi
5644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5645: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5646: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
5647: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5648: fi
5649:
5650: fi
5651:
5652: # Guillermo Gomez says -lposix is necessary on A/UX.
5653: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5654: if test "x$ac_cv_func_remove" = x""yes; then :
5655:
5656: fi
5657:
5658: if test $ac_cv_func_remove = no; then
5659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5660: $as_echo_n "checking for remove in -lposix... " >&6; }
5661: if test "${ac_cv_lib_posix_remove+set}" = set; then :
5662: $as_echo_n "(cached) " >&6
5663: else
5664: ac_check_lib_save_LIBS=$LIBS
5665: LIBS="-lposix $LIBS"
5666: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667: /* end confdefs.h. */
5668:
5669: /* Override any GCC internal prototype to avoid an error.
5670: Use char because int might match the return type of a GCC
5671: builtin and then its argument prototype would still apply. */
5672: #ifdef __cplusplus
5673: extern "C"
5674: #endif
5675: char remove ();
5676: int
5677: main ()
5678: {
5679: return remove ();
5680: ;
5681: return 0;
5682: }
5683: _ACEOF
5684: if ac_fn_c_try_link "$LINENO"; then :
5685: ac_cv_lib_posix_remove=yes
5686: else
5687: ac_cv_lib_posix_remove=no
5688: fi
5689: rm -f core conftest.err conftest.$ac_objext \
5690: conftest$ac_exeext conftest.$ac_ext
5691: LIBS=$ac_check_lib_save_LIBS
5692: fi
5693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5694: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5695: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
5696: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5697: fi
5698:
5699: fi
5700:
5701: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5702: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5703: if test "x$ac_cv_func_shmat" = x""yes; then :
5704:
5705: fi
5706:
5707: if test $ac_cv_func_shmat = no; then
5708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5709: $as_echo_n "checking for shmat in -lipc... " >&6; }
5710: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
5711: $as_echo_n "(cached) " >&6
5712: else
5713: ac_check_lib_save_LIBS=$LIBS
5714: LIBS="-lipc $LIBS"
5715: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716: /* end confdefs.h. */
5717:
5718: /* Override any GCC internal prototype to avoid an error.
5719: Use char because int might match the return type of a GCC
5720: builtin and then its argument prototype would still apply. */
5721: #ifdef __cplusplus
5722: extern "C"
5723: #endif
5724: char shmat ();
5725: int
5726: main ()
5727: {
5728: return shmat ();
5729: ;
5730: return 0;
5731: }
5732: _ACEOF
5733: if ac_fn_c_try_link "$LINENO"; then :
5734: ac_cv_lib_ipc_shmat=yes
5735: else
5736: ac_cv_lib_ipc_shmat=no
5737: fi
5738: rm -f core conftest.err conftest.$ac_objext \
5739: conftest$ac_exeext conftest.$ac_ext
5740: LIBS=$ac_check_lib_save_LIBS
5741: fi
5742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5743: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5744: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
5745: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5746: fi
5747:
5748: fi
5749: fi
5750:
5751: # Check for libraries that X11R6 Xt/Xaw programs need.
5752: ac_save_LDFLAGS=$LDFLAGS
5753: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5754: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5755: # check for ICE first), but we must link in the order -lSM -lICE or
5756: # we get undefined symbols. So assume we have SM if we have ICE.
5757: # These have to be linked with before -lX11, unlike the other
5758: # libraries we check for below, so use a different variable.
5759: # John Interrante, Karl Berry
5760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5761: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5762: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
5763: $as_echo_n "(cached) " >&6
5764: else
5765: ac_check_lib_save_LIBS=$LIBS
5766: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768: /* end confdefs.h. */
5769:
5770: /* Override any GCC internal prototype to avoid an error.
5771: Use char because int might match the return type of a GCC
5772: builtin and then its argument prototype would still apply. */
5773: #ifdef __cplusplus
5774: extern "C"
5775: #endif
5776: char IceConnectionNumber ();
5777: int
5778: main ()
5779: {
5780: return IceConnectionNumber ();
5781: ;
5782: return 0;
5783: }
5784: _ACEOF
5785: if ac_fn_c_try_link "$LINENO"; then :
5786: ac_cv_lib_ICE_IceConnectionNumber=yes
5787: else
5788: ac_cv_lib_ICE_IceConnectionNumber=no
5789: fi
5790: rm -f core conftest.err conftest.$ac_objext \
5791: conftest$ac_exeext conftest.$ac_ext
5792: LIBS=$ac_check_lib_save_LIBS
5793: fi
5794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5795: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5796: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
5797: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5798: fi
5799:
5800: LDFLAGS=$ac_save_LDFLAGS
5801:
5802: fi
5803:
5804:
5805: if test "$ac_x_includes" != "no"; then
5806: if test x"$ac_x_includes" != x; then
5807: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5808: includeX="-I$ac_x_includes"
5809: fi
5810: fi
5811: if test "$ac_x_libraries" != "no"; then
5812: if test x"$ac_x_libraries" != x; then
5813: X_LIBS="$X_LIBS -L$ac_x_libraries"
5814: fi
5815: fi
5816:
5817: # Check whether --enable-optimization was given.
5818: if test "${enable_optimization+set}" = set; then :
5819: enableval=$enable_optimization;
5820: if test "$enableval" = "no"; then
5821: CFLAGS=
5822: FFLAGS=
5823: CXXFLAGS=
5824: FCFLAGS=
5825: else
5826: CFLAGS="$CFLAGS $enable_optimization"
5827: FFLAGS="$FFLAGS $enable_optimization"
5828: FCFLAGS="$FCFLAGS $enable_optimization"
5829: fi
5830: else
5831:
5832: CFLAGS="$CFLAGS $OPTIMISATION_C"
5833: FFLAGS="$FFLAGS $OPTIMISATION_F"
5834: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5835:
5836:
5837: fi
5838:
5839:
5840: # Check whether --enable-final-encoding was given.
5841: if test "${enable_final_encoding+set}" = set; then :
5842: enableval=$enable_final_encoding;
5843: if test "$enableval" = "no"; then
5844: FINAL_ENCODING="\$(shell locale charmap | \
5845: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5846: else
5847: FINAL_ENCODING="$enable_final_encoding"
5848: fi
5849: else
5850: FINAL_ENCODING="\$(shell locale charmap | \
5851: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5852: fi
5853:
5854:
5855: # Check whether --enable-tex was given.
5856: if test "${enable_tex+set}" = set; then :
5857: enableval=$enable_tex;
5858: if test "$enableval" = "no"; then
5859: TEX_SUPPORT=no
5860: else
5861: TEX_SUPPORT=yes
5862: fi
5863: else
5864: TEX_SUPPORT=guessed
5865: fi
5866:
5867:
5868: # Check whether --enable-vim was given.
5869: if test "${enable_vim+set}" = set; then :
5870: enableval=$enable_vim;
5871: if test "$enableval" = "no"; then
5872: VIM_SUPPORT=no
5873: else
5874: VIM_SUPPORT=yes
5875: fi
5876: else
5877: VIM_SUPPORT=guessed
5878: fi
5879:
5880:
5881: # Check whether --enable-embedded-gnuplot was given.
5882: if test "${enable_embedded_gnuplot+set}" = set; then :
5883: enableval=$enable_embedded_gnuplot;
5884: if test "$enableval" = "no"; then
5885: MYGNUPLOT=no
5886: else
5887: MYGNUPLOT=yes
5888: fi
5889: else
5890:
5891: MYGNUPLOT=yes
5892: fi
5893:
5894:
5895: # Check whether --enable-gnuplot was given.
5896: if test "${enable_gnuplot+set}" = set; then :
5897: enableval=$enable_gnuplot;
5898: if test "$enableval" = "no"; then
5899: GNUPLOT_SUPPORT=no
5900: MYGNUPLOT=no
5901: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5902: else
5903: GNUPLOT_SUPPORT=yes
5904: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5905: fi
5906: else
5907:
5908: if test "$MYGNUPLOT" = "yes"; then
5909: GNUPLOT_SUPPORT=yes
5910: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5911: else
5912: GNUPLOT_SUPPORT=guessed
5913: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5914: fi
5915: fi
5916:
5917:
5918: # Check whether --enable-motif was given.
5919: if test "${enable_motif+set}" = set; then :
5920: enableval=$enable_motif;
5921: if test "$enableval" = "no"; then
5922: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
5923: else
5924: CFLAGS_ORIG=$CFLAGS
5925: LIBS_ORIG=$LIBS
5926: CFLAGS="$CFLAGS $X_CFLAGS"
5927: LIBS="$LIB $X_LIBS"
5928: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
5929: $as_echo_n "checking for main in -lXm... " >&6; }
5930: if test "${ac_cv_lib_Xm_main+set}" = set; then :
5931: $as_echo_n "(cached) " >&6
5932: else
5933: ac_check_lib_save_LIBS=$LIBS
5934: LIBS="-lXm $LIBS"
5935: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936: /* end confdefs.h. */
5937:
5938:
5939: int
5940: main ()
5941: {
5942: return main ();
5943: ;
5944: return 0;
5945: }
5946: _ACEOF
5947: if ac_fn_c_try_link "$LINENO"; then :
5948: ac_cv_lib_Xm_main=yes
5949: else
5950: ac_cv_lib_Xm_main=no
5951: fi
5952: rm -f core conftest.err conftest.$ac_objext \
5953: conftest$ac_exeext conftest.$ac_ext
5954: LIBS=$ac_check_lib_save_LIBS
5955: fi
5956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
5957: $as_echo "$ac_cv_lib_Xm_main" >&6; }
5958: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
5959: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
5960: else
5961: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
5962: fi
5963:
5964: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
5965: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
5966: Motif flag is disabled.
5967: " >&5
5968: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
5969: Motif flag is disabled.
5970: " >&2;}
5971: fi
5972: LIBS=$LIBS_ORIG
5973: CFLAGS=$CFLAGS_ORIG
5974: fi
5975: else
5976: MOTIF_SUPPORT=guessed
5977: fi
5978:
5979:
5980: # Check whether --enable-experimental was given.
5981: if test "${enable_experimental+set}" = set; then :
5982: enableval=$enable_experimental;
5983: if test "$enableval" = "no"; then
5984: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
5985: else
5986: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
5987: fi
5988: else
5989: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
5990: fi
5991:
5992:
5993: # Check whether --enable-debug was given.
5994: if test "${enable_debug+set}" = set; then :
5995: enableval=$enable_debug;
5996: if test "$enableval" = "no"; then
5997: DEBUG=""
5998: else
5999: DEBUG="-DDEBUG_MEMOIRE"
6000: fi
6001: else
6002: DEBUG=""
6003: fi
6004:
6005:
6006: # Check whether --enable-profile was given.
6007: if test "${enable_profile+set}" = set; then :
6008: enableval=$enable_profile;
6009: if test "$enableval" = "no"; then
6010: PROFILAGE=""
6011: else
6012: PROFILAGE="-pg"
6013: fi
6014: else
6015: PROFILAGE=""
6016: fi
6017:
6018:
6019:
6020:
6021: if test ! -d tools; then
6022: mkdir tools
6023: fi
6024: if test ! -d "$srcdir"/tools/$NCURSES; then
6025: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6026: (cd "$srcdir/tools" && tar -xf -)
6027: fi
6028: if test ! -d "$srcdir"/tools/$READLINE; then
6029: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6030: (cd "$srcdir/tools" && tar -xf -)
6031: fi
6032: if test ! -d "$srcdir"/tools/$UNITS; then
6033: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6034: (cd "$srcdir/tools" && tar -xf -)
6035: fi
6036: if test ! -d "$srcdir"/tools/$GSL; then
6037: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6038: (cd "$srcdir/tools" && tar -xf -)
6039: fi
6040: if test ! -d "$srcdir"/tools/$GPP; then
6041: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6042: (cd "$srcdir/tools" && tar -xf -)
6043: fi
6044: if test ! -d "$srcdir"/tools/$FILE; then
6045: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6046: (cd "$srcdir/tools" && tar -xf - )
6047: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6048: fi
6049: if test ! -d "$srcdir"/tools/$ICONV; then
6050: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6051: (cd "$srcdir/tools" && tar -xf -)
6052: fi
6053: if test ! -d "$srcdir"/tools/$SQLITE; then
6054: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6055: (cd "$srcdir/tools" && tar -xf -)
6056: fi
6057: if test ! -d tools/$OPENSSL; then
6058: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6059: (cd tools && tar -xf -)
6060: fi
6061:
6062:
6063:
6064: # Check whether --enable-final-run-path was given.
6065: if test "${enable_final_run_path+set}" = set; then :
6066: enableval=$enable_final_run_path;
6067: if test "x$enable_final_run_path" = "x"; then
6068: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6069: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6070: as_fn_error "\"You should specify final path !\"" "$LINENO" 5
6071: else
6072: RUNPATH="$enable_final_run_path"
6073: fi
6074:
6075: else
6076: RUNPATH="\${prefix}"
6077:
6078: fi
6079:
6080:
6081:
6082:
6083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6084: $as_echo_n "checking whether ln -s works... " >&6; }
6085: LN_S=$as_ln_s
6086: if test "$LN_S" = "ln -s"; then
6087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6088: $as_echo "yes" >&6; }
6089: else
6090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6091: $as_echo "no, using $LN_S" >&6; }
6092: fi
6093:
6094: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6095: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6096: set x ${MAKE-make}
6097: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6098: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6099: $as_echo_n "(cached) " >&6
6100: else
6101: cat >conftest.make <<\_ACEOF
6102: SHELL = /bin/sh
6103: all:
6104: @echo '@@@%%%=$(MAKE)=@@@%%%'
6105: _ACEOF
6106: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6107: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6108: *@@@%%%=?*=@@@%%%*)
6109: eval ac_cv_prog_make_${ac_make}_set=yes;;
6110: *)
6111: eval ac_cv_prog_make_${ac_make}_set=no;;
6112: esac
6113: rm -f conftest.make
6114: fi
6115: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6117: $as_echo "yes" >&6; }
6118: SET_MAKE=
6119: else
6120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121: $as_echo "no" >&6; }
6122: SET_MAKE="MAKE=${MAKE-make}"
6123: fi
6124:
6125: if test -n "$ac_tool_prefix"; then
6126: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6127: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129: $as_echo_n "checking for $ac_word... " >&6; }
6130: if test "${ac_cv_prog_RANLIB+set}" = set; then :
6131: $as_echo_n "(cached) " >&6
6132: else
6133: if test -n "$RANLIB"; then
6134: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6135: else
6136: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137: for as_dir in $PATH
6138: do
6139: IFS=$as_save_IFS
6140: test -z "$as_dir" && as_dir=.
6141: for ac_exec_ext in '' $ac_executable_extensions; do
6142: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6144: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145: break 2
6146: fi
6147: done
6148: done
6149: IFS=$as_save_IFS
6150:
6151: fi
6152: fi
6153: RANLIB=$ac_cv_prog_RANLIB
6154: if test -n "$RANLIB"; then
6155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6156: $as_echo "$RANLIB" >&6; }
6157: else
6158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159: $as_echo "no" >&6; }
6160: fi
6161:
6162:
6163: fi
6164: if test -z "$ac_cv_prog_RANLIB"; then
6165: ac_ct_RANLIB=$RANLIB
6166: # Extract the first word of "ranlib", so it can be a program name with args.
6167: set dummy ranlib; ac_word=$2
6168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169: $as_echo_n "checking for $ac_word... " >&6; }
6170: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6171: $as_echo_n "(cached) " >&6
6172: else
6173: if test -n "$ac_ct_RANLIB"; then
6174: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6175: else
6176: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177: for as_dir in $PATH
6178: do
6179: IFS=$as_save_IFS
6180: test -z "$as_dir" && as_dir=.
6181: for ac_exec_ext in '' $ac_executable_extensions; do
6182: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183: ac_cv_prog_ac_ct_RANLIB="ranlib"
6184: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185: break 2
6186: fi
6187: done
6188: done
6189: IFS=$as_save_IFS
6190:
6191: fi
6192: fi
6193: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6194: if test -n "$ac_ct_RANLIB"; then
6195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6196: $as_echo "$ac_ct_RANLIB" >&6; }
6197: else
6198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199: $as_echo "no" >&6; }
6200: fi
6201:
6202: if test "x$ac_ct_RANLIB" = x; then
6203: RANLIB=":"
6204: else
6205: case $cross_compiling:$ac_tool_warned in
6206: yes:)
6207: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209: ac_tool_warned=yes ;;
6210: esac
6211: RANLIB=$ac_ct_RANLIB
6212: fi
6213: else
6214: RANLIB="$ac_cv_prog_RANLIB"
6215: fi
6216:
6217:
6218: # Extract the first word of "nawk", so it can be a program name with args.
6219: set dummy nawk; ac_word=$2
6220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221: $as_echo_n "checking for $ac_word... " >&6; }
6222: if test "${ac_cv_prog_AWK+set}" = set; then :
6223: $as_echo_n "(cached) " >&6
6224: else
6225: if test -n "$AWK"; then
6226: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6227: else
6228: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229: for as_dir in $PATH
6230: do
6231: IFS=$as_save_IFS
6232: test -z "$as_dir" && as_dir=.
6233: for ac_exec_ext in '' $ac_executable_extensions; do
6234: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235: ac_cv_prog_AWK="yes"
6236: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237: break 2
6238: fi
6239: done
6240: done
6241: IFS=$as_save_IFS
6242:
6243: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6244: fi
6245: fi
6246: AWK=$ac_cv_prog_AWK
6247: if test -n "$AWK"; then
6248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6249: $as_echo "$AWK" >&6; }
6250: else
6251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252: $as_echo "no" >&6; }
6253: fi
6254:
6255:
6256: if test "$AWK" = no; then
6257: as_fn_error "Can not find nawk !" "$LINENO" 5
6258: fi
6259:
6260: # Extract the first word of "sed", so it can be a program name with args.
6261: set dummy sed; ac_word=$2
6262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263: $as_echo_n "checking for $ac_word... " >&6; }
6264: if test "${ac_cv_prog_SED+set}" = set; then :
6265: $as_echo_n "(cached) " >&6
6266: else
6267: if test -n "$SED"; then
6268: ac_cv_prog_SED="$SED" # Let the user override the test.
6269: else
6270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271: for as_dir in $PATH
6272: do
6273: IFS=$as_save_IFS
6274: test -z "$as_dir" && as_dir=.
6275: for ac_exec_ext in '' $ac_executable_extensions; do
6276: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277: ac_cv_prog_SED="yes"
6278: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279: break 2
6280: fi
6281: done
6282: done
6283: IFS=$as_save_IFS
6284:
6285: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6286: fi
6287: fi
6288: SED=$ac_cv_prog_SED
6289: if test -n "$SED"; then
6290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6291: $as_echo "$SED" >&6; }
6292: else
6293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294: $as_echo "no" >&6; }
6295: fi
6296:
6297:
6298: if test "$SED" = no; then
6299: as_fn_error "Can not find sed !" "$LINENO" 5
6300: fi
6301:
6302: if test "$TEX_SUPPORT" = guessed; then
6303: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6304:
6305: # Extract the first word of "tex", so it can be a program name with args.
6306: set dummy tex; ac_word=$2
6307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308: $as_echo_n "checking for $ac_word... " >&6; }
6309: if test "${ac_cv_prog_TEX+set}" = set; then :
6310: $as_echo_n "(cached) " >&6
6311: else
6312: if test -n "$TEX"; then
6313: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6314: else
6315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316: for as_dir in $PATH
6317: do
6318: IFS=$as_save_IFS
6319: test -z "$as_dir" && as_dir=.
6320: for ac_exec_ext in '' $ac_executable_extensions; do
6321: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322: ac_cv_prog_TEX="yes"
6323: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324: break 2
6325: fi
6326: done
6327: done
6328: IFS=$as_save_IFS
6329:
6330: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6331: fi
6332: fi
6333: TEX=$ac_cv_prog_TEX
6334: if test -n "$TEX"; then
6335: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6336: $as_echo "$TEX" >&6; }
6337: else
6338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339: $as_echo "no" >&6; }
6340: fi
6341:
6342:
6343: if test "$TEX" = no; then
6344: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6345: Download at http://tex.loria.fr/
6346: " >&5
6347: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6348: Download at http://tex.loria.fr/
6349: " >&2;}
6350: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6351: fi
6352:
6353: # Extract the first word of "latex", so it can be a program name with args.
6354: set dummy latex; ac_word=$2
6355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356: $as_echo_n "checking for $ac_word... " >&6; }
6357: if test "${ac_cv_prog_LATEX+set}" = set; then :
6358: $as_echo_n "(cached) " >&6
6359: else
6360: if test -n "$LATEX"; then
6361: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6362: else
6363: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364: for as_dir in $PATH
6365: do
6366: IFS=$as_save_IFS
6367: test -z "$as_dir" && as_dir=.
6368: for ac_exec_ext in '' $ac_executable_extensions; do
6369: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370: ac_cv_prog_LATEX="yes"
6371: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372: break 2
6373: fi
6374: done
6375: done
6376: IFS=$as_save_IFS
6377:
6378: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6379: fi
6380: fi
6381: LATEX=$ac_cv_prog_LATEX
6382: if test -n "$LATEX"; then
6383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6384: $as_echo "$LATEX" >&6; }
6385: else
6386: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387: $as_echo "no" >&6; }
6388: fi
6389:
6390:
6391: if test "$LATEX" = no; then
6392: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6393: Download at http://tex.loria.fr/
6394: " >&5
6395: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6396: Download at http://tex.loria.fr/
6397: " >&2;}
6398: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6399: fi
6400:
6401: # Extract the first word of "dvips", so it can be a program name with args.
6402: set dummy dvips; ac_word=$2
6403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404: $as_echo_n "checking for $ac_word... " >&6; }
6405: if test "${ac_cv_prog_DVIPS+set}" = set; then :
6406: $as_echo_n "(cached) " >&6
6407: else
6408: if test -n "$DVIPS"; then
6409: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6410: else
6411: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412: for as_dir in $PATH
6413: do
6414: IFS=$as_save_IFS
6415: test -z "$as_dir" && as_dir=.
6416: for ac_exec_ext in '' $ac_executable_extensions; do
6417: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418: ac_cv_prog_DVIPS="yes"
6419: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420: break 2
6421: fi
6422: done
6423: done
6424: IFS=$as_save_IFS
6425:
6426: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6427: fi
6428: fi
6429: DVIPS=$ac_cv_prog_DVIPS
6430: if test -n "$DVIPS"; then
6431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6432: $as_echo "$DVIPS" >&6; }
6433: else
6434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435: $as_echo "no" >&6; }
6436: fi
6437:
6438:
6439: if test "$DVIPS" = no; then
6440: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6441: Download at http://tex.loria.fr/
6442: " >&5
6443: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6444: Download at http://tex.loria.fr/
6445: " >&2;}
6446: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6447: fi
6448:
6449: # Extract the first word of "gs", so it can be a program name with args.
6450: set dummy gs; ac_word=$2
6451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452: $as_echo_n "checking for $ac_word... " >&6; }
6453: if test "${ac_cv_prog_GS+set}" = set; then :
6454: $as_echo_n "(cached) " >&6
6455: else
6456: if test -n "$GS"; then
6457: ac_cv_prog_GS="$GS" # Let the user override the test.
6458: else
6459: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460: for as_dir in $PATH
6461: do
6462: IFS=$as_save_IFS
6463: test -z "$as_dir" && as_dir=.
6464: for ac_exec_ext in '' $ac_executable_extensions; do
6465: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466: ac_cv_prog_GS="yes"
6467: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468: break 2
6469: fi
6470: done
6471: done
6472: IFS=$as_save_IFS
6473:
6474: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6475: fi
6476: fi
6477: GS=$ac_cv_prog_GS
6478: if test -n "$GS"; then
6479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6480: $as_echo "$GS" >&6; }
6481: else
6482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6483: $as_echo "no" >&6; }
6484: fi
6485:
6486:
6487: if test "$GS" = no; then
6488: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6489: Download at http://ftp.lip6.fr/
6490: " >&5
6491: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6492: Download at http://ftp.lip6.fr/
6493: " >&2;}
6494: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6495: fi
6496:
6497: # Extract the first word of "gv", so it can be a program name with args.
6498: set dummy gv; ac_word=$2
6499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500: $as_echo_n "checking for $ac_word... " >&6; }
6501: if test "${ac_cv_prog_GV+set}" = set; then :
6502: $as_echo_n "(cached) " >&6
6503: else
6504: if test -n "$GV"; then
6505: ac_cv_prog_GV="$GV" # Let the user override the test.
6506: else
6507: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508: for as_dir in $PATH
6509: do
6510: IFS=$as_save_IFS
6511: test -z "$as_dir" && as_dir=.
6512: for ac_exec_ext in '' $ac_executable_extensions; do
6513: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514: ac_cv_prog_GV="yes"
6515: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516: break 2
6517: fi
6518: done
6519: done
6520: IFS=$as_save_IFS
6521:
6522: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6523: fi
6524: fi
6525: GV=$ac_cv_prog_GV
6526: if test -n "$GV"; then
6527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6528: $as_echo "$GV" >&6; }
6529: else
6530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531: $as_echo "no" >&6; }
6532: fi
6533:
6534:
6535: if test "$GV" = no; then
6536: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6537: Download at http://ftp.lip6.fr/
6538: " >&5
6539: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6540: Download at http://ftp.lip6.fr/
6541: " >&2;}
6542: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6543: fi
6544: else
6545: if test "$TEX_SUPPORT" = no; then
6546: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6547: else
6548: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6549: fi
6550: fi
6551:
6552: if test "$GNUPLOT_SUPPORT" = guessed; then
6553: # Extract the first word of "gnuplot", so it can be a program name with args.
6554: set dummy gnuplot; ac_word=$2
6555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556: $as_echo_n "checking for $ac_word... " >&6; }
6557: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
6558: $as_echo_n "(cached) " >&6
6559: else
6560: if test -n "$GNUPLOT_P"; then
6561: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6562: else
6563: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564: for as_dir in $PATH
6565: do
6566: IFS=$as_save_IFS
6567: test -z "$as_dir" && as_dir=.
6568: for ac_exec_ext in '' $ac_executable_extensions; do
6569: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570: ac_cv_prog_GNUPLOT_P="yes"
6571: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572: break 2
6573: fi
6574: done
6575: done
6576: IFS=$as_save_IFS
6577:
6578: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6579: fi
6580: fi
6581: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6582: if test -n "$GNUPLOT_P"; then
6583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6584: $as_echo "$GNUPLOT_P" >&6; }
6585: else
6586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587: $as_echo "no" >&6; }
6588: fi
6589:
6590:
6591: if test "$GNUPLOT_P" = no; then
6592: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6593: Download at http://www.gnuplot.vt.edu/
6594: " >&5
6595: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6596: Download at http://www.gnuplot.vt.edu/
6597: " >&2;}
6598: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6599: else
6600: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6601: fi
6602: else
6603: if test "$GNUPLOT_SUPPORT" = no; then
6604: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6605: else
6606: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6607: fi
6608: fi
6609:
6610: if test "$VIM_SUPPORT" = guessed; then
6611: # Extract the first word of "vim", so it can be a program name with args.
6612: set dummy vim; ac_word=$2
6613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614: $as_echo_n "checking for $ac_word... " >&6; }
6615: if test "${ac_cv_prog_VIM+set}" = set; then :
6616: $as_echo_n "(cached) " >&6
6617: else
6618: if test -n "$VIM"; then
6619: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6620: else
6621: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622: for as_dir in $PATH
6623: do
6624: IFS=$as_save_IFS
6625: test -z "$as_dir" && as_dir=.
6626: for ac_exec_ext in '' $ac_executable_extensions; do
6627: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628: ac_cv_prog_VIM="yes"
6629: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630: break 2
6631: fi
6632: done
6633: done
6634: IFS=$as_save_IFS
6635:
6636: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6637: fi
6638: fi
6639: VIM=$ac_cv_prog_VIM
6640: if test -n "$VIM"; then
6641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6642: $as_echo "$VIM" >&6; }
6643: else
6644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645: $as_echo "no" >&6; }
6646: fi
6647:
6648:
6649: if test "$VIM" = no; then
6650: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6651: Download at http://www.vim.org/
6652: " >&5
6653: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6654: Download at http://www.vim.org/
6655: " >&2;}
6656: VIM_SUPPORT="-UVIM_SUPPORT"
6657: else
6658: VIM_SUPPORT="-DVIM_SUPPORT"
6659: fi
6660: else
6661: if test "$VIM_SUPPORT" = no; then
6662: VIM_SUPPORT="-UVIM_SUPPORT"
6663: else
6664: VIM_SUPPORT="-DVIM_SUPPORT"
6665: fi
6666: fi
6667:
6668: if test "$MOTIF_SUPPORT" = guessed; then
6669: CFLAGS_ORIG=$CFLAGS
6670: LIBS_ORIG=$LIBS
6671: CFLAGS="$CFLAGS $X_CFLAGS"
6672: LIBS="$LIB $X_LIBS"
6673: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6674: $as_echo_n "checking for main in -lXm... " >&6; }
6675: if test "${ac_cv_lib_Xm_main+set}" = set; then :
6676: $as_echo_n "(cached) " >&6
6677: else
6678: ac_check_lib_save_LIBS=$LIBS
6679: LIBS="-lXm $LIBS"
6680: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681: /* end confdefs.h. */
6682:
6683:
6684: int
6685: main ()
6686: {
6687: return main ();
6688: ;
6689: return 0;
6690: }
6691: _ACEOF
6692: if ac_fn_c_try_link "$LINENO"; then :
6693: ac_cv_lib_Xm_main=yes
6694: else
6695: ac_cv_lib_Xm_main=no
6696: fi
6697: rm -f core conftest.err conftest.$ac_objext \
6698: conftest$ac_exeext conftest.$ac_ext
6699: LIBS=$ac_check_lib_save_LIBS
6700: fi
6701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6702: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6703: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
6704: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6705: else
6706: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6707: fi
6708:
6709: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6710: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6711: Motif flag is disabled.
6712: " >&5
6713: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6714: Motif flag is disabled.
6715: " >&2;}
6716: fi
6717: LIBS=$LIBS_ORIG
6718: CFLAGS=$CFLAGS_ORIG
6719: fi
6720:
6721: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6722: CFLAGS_ORIG=$CFLAGS
6723: LIBS_ORIG=$LIBS
6724: CFLAGS="$CFLAGS $X_CFLAGS"
6725: LIBS="$LIB $X_LIBS"
6726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6727: $as_echo_n "checking for main in -lXpm... " >&6; }
6728: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
6729: $as_echo_n "(cached) " >&6
6730: else
6731: ac_check_lib_save_LIBS=$LIBS
6732: LIBS="-lXpm $LIBS"
6733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734: /* end confdefs.h. */
6735:
6736:
6737: int
6738: main ()
6739: {
6740: return main ();
6741: ;
6742: return 0;
6743: }
6744: _ACEOF
6745: if ac_fn_c_try_link "$LINENO"; then :
6746: ac_cv_lib_Xpm_main=yes
6747: else
6748: ac_cv_lib_Xpm_main=no
6749: fi
6750: rm -f core conftest.err conftest.$ac_objext \
6751: conftest$ac_exeext conftest.$ac_ext
6752: LIBS=$ac_check_lib_save_LIBS
6753: fi
6754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6755: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6756: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
6757: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6758: else
6759: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6760: fi
6761:
6762: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6763: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6764: else
6765: libX=""
6766: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6767: Motif flag is disabled.
6768: " >&5
6769: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6770: Motif flag is disabled.
6771: " >&2;}
6772: fi
6773: LIBS=$LIBS_ORIG
6774: CFLAGS=$CFLAGS_ORIG
6775: else
6776: libX=""
6777: fi
6778:
6779:
6780:
6781:
6782:
6783:
6784:
6785:
6786:
6787:
6788:
6789: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6790:
6791:
6792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6793: $as_echo_n "checking for main in -lm... " >&6; }
6794: if test "${ac_cv_lib_m_main+set}" = set; then :
6795: $as_echo_n "(cached) " >&6
6796: else
6797: ac_check_lib_save_LIBS=$LIBS
6798: LIBS="-lm $LIBS"
6799: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800: /* end confdefs.h. */
6801:
6802:
6803: int
6804: main ()
6805: {
6806: return main ();
6807: ;
6808: return 0;
6809: }
6810: _ACEOF
6811: if ac_fn_c_try_link "$LINENO"; then :
6812: ac_cv_lib_m_main=yes
6813: else
6814: ac_cv_lib_m_main=no
6815: fi
6816: rm -f core conftest.err conftest.$ac_objext \
6817: conftest$ac_exeext conftest.$ac_ext
6818: LIBS=$ac_check_lib_save_LIBS
6819: fi
6820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
6821: $as_echo "$ac_cv_lib_m_main" >&6; }
6822: if test "x$ac_cv_lib_m_main" = x""yes; then :
6823: cat >>confdefs.h <<_ACEOF
6824: #define HAVE_LIBM 1
6825: _ACEOF
6826:
6827: LIBS="-lm $LIBS"
6828:
6829: else
6830: as_fn_error "Can not find libm !" "$LINENO" 5
6831: fi
6832:
6833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
6834: $as_echo_n "checking for main in -lpthread... " >&6; }
6835: if test "${ac_cv_lib_pthread_main+set}" = set; then :
6836: $as_echo_n "(cached) " >&6
6837: else
6838: ac_check_lib_save_LIBS=$LIBS
6839: LIBS="-lpthread $LIBS"
6840: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841: /* end confdefs.h. */
6842:
6843:
6844: int
6845: main ()
6846: {
6847: return main ();
6848: ;
6849: return 0;
6850: }
6851: _ACEOF
6852: if ac_fn_c_try_link "$LINENO"; then :
6853: ac_cv_lib_pthread_main=yes
6854: else
6855: ac_cv_lib_pthread_main=no
6856: fi
6857: rm -f core conftest.err conftest.$ac_objext \
6858: conftest$ac_exeext conftest.$ac_ext
6859: LIBS=$ac_check_lib_save_LIBS
6860: fi
6861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
6862: $as_echo "$ac_cv_lib_pthread_main" >&6; }
6863: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
6864: cat >>confdefs.h <<_ACEOF
6865: #define HAVE_LIBPTHREAD 1
6866: _ACEOF
6867:
6868: LIBS="-lpthread $LIBS"
6869:
6870: else
6871: as_fn_error "Can not find libpthread !" "$LINENO" 5
6872: fi
6873:
6874:
6875: if test "$CYGWIN" != yes; then
6876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6877: $as_echo_n "checking for dlopen in -ldl... " >&6; }
6878: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
6879: $as_echo_n "(cached) " >&6
6880: else
6881: ac_check_lib_save_LIBS=$LIBS
6882: LIBS="-ldl $LIBS"
6883: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884: /* end confdefs.h. */
6885:
6886: /* Override any GCC internal prototype to avoid an error.
6887: Use char because int might match the return type of a GCC
6888: builtin and then its argument prototype would still apply. */
6889: #ifdef __cplusplus
6890: extern "C"
6891: #endif
6892: char dlopen ();
6893: int
6894: main ()
6895: {
6896: return dlopen ();
6897: ;
6898: return 0;
6899: }
6900: _ACEOF
6901: if ac_fn_c_try_link "$LINENO"; then :
6902: ac_cv_lib_dl_dlopen=yes
6903: else
6904: ac_cv_lib_dl_dlopen=no
6905: fi
6906: rm -f core conftest.err conftest.$ac_objext \
6907: conftest$ac_exeext conftest.$ac_ext
6908: LIBS=$ac_check_lib_save_LIBS
6909: fi
6910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6911: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6912: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
6913: LIBS="$LIBS -ldl"
6914: else
6915: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
6916: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
6917: fi
6918:
6919: fi
6920:
6921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
6922: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
6923: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
6924: $as_echo_n "(cached) " >&6
6925: else
6926: ac_check_lib_save_LIBS=$LIBS
6927: LIBS="-lrt $LIBS"
6928: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929: /* end confdefs.h. */
6930:
6931: /* Override any GCC internal prototype to avoid an error.
6932: Use char because int might match the return type of a GCC
6933: builtin and then its argument prototype would still apply. */
6934: #ifdef __cplusplus
6935: extern "C"
6936: #endif
6937: char nanosleep ();
6938: int
6939: main ()
6940: {
6941: return nanosleep ();
6942: ;
6943: return 0;
6944: }
6945: _ACEOF
6946: if ac_fn_c_try_link "$LINENO"; then :
6947: ac_cv_lib_rt_nanosleep=yes
6948: else
6949: ac_cv_lib_rt_nanosleep=no
6950: fi
6951: rm -f core conftest.err conftest.$ac_objext \
6952: conftest$ac_exeext conftest.$ac_ext
6953: LIBS=$ac_check_lib_save_LIBS
6954: fi
6955: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
6956: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
6957: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
6958: LIBS="$LIBS -lrt"
6959: else
6960: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
6961: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
6962: fi
6963:
6964:
6965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
6966: $as_echo_n "checking for bind in -lsocket... " >&6; }
6967: if test "${ac_cv_lib_socket_bind+set}" = set; then :
6968: $as_echo_n "(cached) " >&6
6969: else
6970: ac_check_lib_save_LIBS=$LIBS
6971: LIBS="-lsocket $LIBS"
6972: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973: /* end confdefs.h. */
6974:
6975: /* Override any GCC internal prototype to avoid an error.
6976: Use char because int might match the return type of a GCC
6977: builtin and then its argument prototype would still apply. */
6978: #ifdef __cplusplus
6979: extern "C"
6980: #endif
6981: char bind ();
6982: int
6983: main ()
6984: {
6985: return bind ();
6986: ;
6987: return 0;
6988: }
6989: _ACEOF
6990: if ac_fn_c_try_link "$LINENO"; then :
6991: ac_cv_lib_socket_bind=yes
6992: else
6993: ac_cv_lib_socket_bind=no
6994: fi
6995: rm -f core conftest.err conftest.$ac_objext \
6996: conftest$ac_exeext conftest.$ac_ext
6997: LIBS=$ac_check_lib_save_LIBS
6998: fi
6999: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7000: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7001: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
7002: LIBS="$LIBS -lsocket"
7003: else
7004: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7005: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7006: fi
7007:
7008:
7009: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7010:
7011: # Check whether --with-mysql was given.
7012: if test "${with_mysql+set}" = set; then :
7013: withval=$with_mysql;
7014: else
7015: with_mysql=check
7016: fi
7017:
7018:
7019: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7020: libMySQLinc="-I/usr/include"
7021: libMySQLlib="-L/usr/lib"
7022:
7023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7024: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7025: saved_CFLAGS="$CFLAGS"
7026: CFLAGS="$CFLAGS $libMySQLinc"
7027: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028: /* end confdefs.h. */
7029: #include "mysql.h"
7030: int
7031: main ()
7032: {
7033:
7034: ;
7035: return 0;
7036: }
7037: _ACEOF
7038: if ac_fn_c_try_compile "$LINENO"; then :
7039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7040: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7041: libMySQLinc=$libMySQLinc/mysql
7042: else
7043: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7045: fi
7046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7047: CFLAGS=$saved_CFLAGS
7048:
7049: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7051: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7052: saved_CFLAGS="$CFLAGS"
7053: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7054: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055: /* end confdefs.h. */
7056: #include "mysql.h"
7057: int
7058: main ()
7059: {
7060:
7061: ;
7062: return 0;
7063: }
7064: _ACEOF
7065: if ac_fn_c_try_compile "$LINENO"; then :
7066: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7067: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7068: libMySQLinc=$libMySQLinc
7069: else
7070: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7072: fi
7073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7074: CFLAGS=$saved_CFLAGS
7075: libMySQLinc=$libMySQLinc/mysql
7076: fi
7077:
7078: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7080: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7081: saved_CFLAGS="$CFLAGS"
7082: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7083: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084: /* end confdefs.h. */
7085: #include "mysql.h"
7086: int
7087: main ()
7088: {
7089:
7090: ;
7091: return 0;
7092: }
7093: _ACEOF
7094: if ac_fn_c_try_compile "$LINENO"; then :
7095: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7096: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7097: libMySQLinc=$libMySQLinc/mysql
7098: else
7099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7101: fi
7102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7103: CFLAGS=$saved_CFLAGS
7104: libMySQLinc=$libMySQLinc/../local/include
7105: libMySQLlib=$libMySQLlib/../local/lib
7106: fi
7107:
7108: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7110: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7111: saved_CFLAGS="$CFLAGS"
7112: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7113: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114: /* end confdefs.h. */
7115: #include "mysql.h"
7116: int
7117: main ()
7118: {
7119:
7120: ;
7121: return 0;
7122: }
7123: _ACEOF
7124: if ac_fn_c_try_compile "$LINENO"; then :
7125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7126: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7127: libMySQLinc=$libMySQLinc/mysql
7128: else
7129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7131: fi
7132: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7133: CFLAGS=$saved_CFLAGS
7134: libMySQLinc=$libMySQLinc/../local/include/mysql
7135: libMySQLlib=$libMySQLlib/../local/lib
7136: fi
7137: else
7138: if test "x$with_mysql" != xno; then
7139: libMySQLinc="-I$with_mysql/include"
7140: libMySQLlib="-L$with_mysql/lib"
7141:
7142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7143: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7144: saved_CFLAGS="$CFLAGS"
7145: CFLAGS="$CFLAGS $libMySQLinc"
7146: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147: /* end confdefs.h. */
7148: #include "mysql.h"
7149: int
7150: main ()
7151: {
7152:
7153: ;
7154: return 0;
7155: }
7156: _ACEOF
7157: if ac_fn_c_try_compile "$LINENO"; then :
7158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7159: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7160: libMySQLinc=$libMySQLinc/mysql
7161: else
7162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7164: fi
7165: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7166: CFLAGS=$saved_CFLAGS
7167:
7168: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7170: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7171: saved_CFLAGS="$CFLAGS"
7172: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7173: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174: /* end confdefs.h. */
7175: #include "mysql.h"
7176: int
7177: main ()
7178: {
7179:
7180: ;
7181: return 0;
7182: }
7183: _ACEOF
7184: if ac_fn_c_try_compile "$LINENO"; then :
7185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7186: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7187: libMySQLinc=$libMySQLinc
7188: else
7189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7191: fi
7192: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193: CFLAGS=$saved_CFLAGS
7194: libMySQLinc=$libMySQLinc/mysql
7195: fi
7196: else
7197: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7198: fi
7199: fi
7200:
7201: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7202: MYSQL_LIB=no
7203:
7204: if test $MYSQL_LIB = no; then
7205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7206: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7207: saved_LIBS="$LIBS"
7208: LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r"
7209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210: /* end confdefs.h. */
7211: #include "mysql.h"
7212: int
7213: main ()
7214: {
7215: MYSQL mysql; mysql_init(&mysql);
7216: ;
7217: return 0;
7218: }
7219: _ACEOF
7220: if ac_fn_c_try_link "$LINENO"; then :
7221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7222: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7223: else
7224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225: $as_echo "no" >&6; }; MYSQL_LIB="no"
7226: fi
7227: rm -f core conftest.err conftest.$ac_objext \
7228: conftest$ac_exeext conftest.$ac_ext
7229: LIBS=$saved_LIBS;
7230: libMySQLlib="$libMySQLlib -lmysqlclient_r"
7231: fi
7232:
7233: if test $MYSQL_LIB = no; then
7234: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7235: fi
7236: fi
7237:
7238: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7239: libMySQLinc=
7240: libMySQLlib=
7241: fi
7242:
7243:
7244:
7245:
7246:
7247: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7248:
7249: # Check whether --with-postgresql was given.
7250: if test "${with_postgresql+set}" = set; then :
7251: withval=$with_postgresql;
7252: else
7253: with_postgresql=check
7254: fi
7255:
7256:
7257: # with_postgresql : check [pas défini], yes [uniquement --with],
7258: # no [--without], valeur [--with=valeur].
7259:
7260: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7261: libPgSQLinc="-I/usr/include"
7262: libPgSQLlib="-L/usr/lib"
7263:
7264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7265: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7266: saved_CFLAGS="$CFLAGS"
7267: CFLAGS="$CFLAGS $libPgSQLinc"
7268: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269: /* end confdefs.h. */
7270: #include "libpq-fe.h"
7271: int
7272: main ()
7273: {
7274:
7275: ;
7276: return 0;
7277: }
7278: _ACEOF
7279: if ac_fn_c_try_compile "$LINENO"; then :
7280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7281: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7282: else
7283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7285: fi
7286: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287: CFLAGS=$saved_CFLAGS
7288:
7289: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7291: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7292: saved_CFLAGS="$CFLAGS"
7293: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7294: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295: /* end confdefs.h. */
7296: #include "libpq-fe.h"
7297: int
7298: main ()
7299: {
7300:
7301: ;
7302: return 0;
7303: }
7304: _ACEOF
7305: if ac_fn_c_try_compile "$LINENO"; then :
7306: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7307: $as_echo "yes" >&6; };
7308: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7309: else
7310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311: $as_echo "no" >&6; };
7312: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7313: fi
7314: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7315: CFLAGS=$saved_CFLAGS
7316: libPgSQLinc=$libPgSQLinc/postgresql
7317: fi
7318:
7319: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7321: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7322: saved_CFLAGS="$CFLAGS"
7323: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7324: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325: /* end confdefs.h. */
7326: #include "libpq-fe.h"
7327: int
7328: main ()
7329: {
7330:
7331: ;
7332: return 0;
7333: }
7334: _ACEOF
7335: if ac_fn_c_try_compile "$LINENO"; then :
7336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7337: $as_echo "yes" >&6; };
7338: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7339: else
7340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341: $as_echo "no" >&6; };
7342: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7343: fi
7344: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345: CFLAGS=$saved_CFLAGS
7346: libPgSQLinc=$libPgSQLinc/pgsql
7347: fi
7348:
7349: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7351: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7352: saved_CFLAGS="$CFLAGS"
7353: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7354: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355: /* end confdefs.h. */
7356: #include "libpq-fe.h"
7357: int
7358: main ()
7359: {
7360:
7361: ;
7362: return 0;
7363: }
7364: _ACEOF
7365: if ac_fn_c_try_compile "$LINENO"; then :
7366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7367: $as_echo "yes" >&6; };
7368: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7369: else
7370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371: $as_echo "no" >&6; };
7372: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7373: fi
7374: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375: CFLAGS=$saved_CFLAGS
7376: libPgSQLinc=$libPgSQLinc/../local/include
7377: libPgSQLlib=$libPgSQLlib/../local/lib
7378: fi
7379:
7380: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7382: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7383: saved_CFLAGS="$CFLAGS"
7384: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386: /* end confdefs.h. */
7387: #include "libpq-fe.h"
7388: int
7389: main ()
7390: {
7391:
7392: ;
7393: return 0;
7394: }
7395: _ACEOF
7396: if ac_fn_c_try_compile "$LINENO"; then :
7397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7398: $as_echo "yes" >&6; };
7399: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7400: else
7401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402: $as_echo "no" >&6; };
7403: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7404: fi
7405: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406: CFLAGS=$saved_CFLAGS
7407: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7408: libPgSQLlib=$libPgSQLlib/../local/lib
7409: fi
7410:
7411: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7413: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7414: saved_CFLAGS="$CFLAGS"
7415: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7416: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417: /* end confdefs.h. */
7418: #include "libpq-fe.h"
7419: int
7420: main ()
7421: {
7422:
7423: ;
7424: return 0;
7425: }
7426: _ACEOF
7427: if ac_fn_c_try_compile "$LINENO"; then :
7428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7429: $as_echo "yes" >&6; };
7430: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7431: else
7432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433: $as_echo "no" >&6; };
7434: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7435: fi
7436: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7437: CFLAGS=$saved_CFLAGS
7438: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7439: libPgSQLlib=$libPgSQLlib/../local/lib
7440: fi
7441: else
7442: if test "x$with_postgresql" != xno; then
7443: libPgSQLinc="-I$with_postgresql/include"
7444: libPgSQLlib="-L$with_postgresql/lib"
7445:
7446: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7447: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7448: saved_CFLAGS="$CFLAGS"
7449: CFLAGS="$CFLAGS $libPgSQLinc"
7450: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7451: /* end confdefs.h. */
7452: #include "libpq-fe.h"
7453: int
7454: main ()
7455: {
7456:
7457: ;
7458: return 0;
7459: }
7460: _ACEOF
7461: if ac_fn_c_try_compile "$LINENO"; then :
7462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7463: $as_echo "yes" >&6; };
7464: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7465: else
7466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467: $as_echo "no" >&6; };
7468: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7469: fi
7470: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471: CFLAGS=$saved_CFLAGS
7472:
7473: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7475: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7476: saved_CFLAGS="$CFLAGS"
7477: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7478: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479: /* end confdefs.h. */
7480: #include "libpq-fe.h"
7481: int
7482: main ()
7483: {
7484:
7485: ;
7486: return 0;
7487: }
7488: _ACEOF
7489: if ac_fn_c_try_compile "$LINENO"; then :
7490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7491: $as_echo "yes" >&6; };
7492: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7493: else
7494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495: $as_echo "no" >&6; };
7496: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7497: fi
7498: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7499: CFLAGS=$saved_CFLAGS
7500: libPgSQLinc=$libPgSQLinc/postgresql
7501: fi
7502:
7503: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7505: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7506: saved_CFLAGS="$CFLAGS"
7507: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7508: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509: /* end confdefs.h. */
7510: #include "libpq-fe.h"
7511: int
7512: main ()
7513: {
7514:
7515: ;
7516: return 0;
7517: }
7518: _ACEOF
7519: if ac_fn_c_try_compile "$LINENO"; then :
7520: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7521: $as_echo "yes" >&6; };
7522: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7523: else
7524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525: $as_echo "no" >&6; };
7526: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7527: fi
7528: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7529: CFLAGS=$saved_CFLAGS
7530: libPgSQLinc=$libPgSQLinc/pgsql
7531: fi
7532: else
7533: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7534: fi
7535: fi
7536:
7537: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7538: POSTGRESQL_LIB=no
7539:
7540: if test $POSTGRESQL_LIB = no; then
7541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7542: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7543: saved_LIBS="$LIBS"
7544: LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq"
7545: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546: /* end confdefs.h. */
7547: #include "libpq-fe.h"
7548: int
7549: main ()
7550: {
7551: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7552: PQconnectdb(conninfo);
7553: ;
7554: return 0;
7555: }
7556: _ACEOF
7557: if ac_fn_c_try_link "$LINENO"; then :
7558: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7559: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7560: else
7561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7563: fi
7564: rm -f core conftest.err conftest.$ac_objext \
7565: conftest$ac_exeext conftest.$ac_ext
7566: LIBS=$saved_LIBS;
7567: libPgSQLlib="$libPgSQLlib -lpq"
7568: fi
7569: fi
7570:
7571: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7572: libPgSQLinc=
7573: libPgSQLlib=
7574: fi
7575:
7576:
7577:
7578:
7579:
7580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7581: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7582: if test "${ac_cv_path_GREP+set}" = set; then :
7583: $as_echo_n "(cached) " >&6
7584: else
7585: if test -z "$GREP"; then
7586: ac_path_GREP_found=false
7587: # Loop through the user's path and test for each of PROGNAME-LIST
7588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7590: do
7591: IFS=$as_save_IFS
7592: test -z "$as_dir" && as_dir=.
7593: for ac_prog in grep ggrep; do
7594: for ac_exec_ext in '' $ac_executable_extensions; do
7595: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7596: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7597: # Check for GNU ac_path_GREP and select it if it is found.
7598: # Check for GNU $ac_path_GREP
7599: case `"$ac_path_GREP" --version 2>&1` in
7600: *GNU*)
7601: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7602: *)
7603: ac_count=0
7604: $as_echo_n 0123456789 >"conftest.in"
7605: while :
7606: do
7607: cat "conftest.in" "conftest.in" >"conftest.tmp"
7608: mv "conftest.tmp" "conftest.in"
7609: cp "conftest.in" "conftest.nl"
7610: $as_echo 'GREP' >> "conftest.nl"
7611: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7612: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7613: as_fn_arith $ac_count + 1 && ac_count=$as_val
7614: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7615: # Best one so far, save it but keep looking for a better one
7616: ac_cv_path_GREP="$ac_path_GREP"
7617: ac_path_GREP_max=$ac_count
7618: fi
7619: # 10*(2^10) chars as input seems more than enough
7620: test $ac_count -gt 10 && break
7621: done
7622: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7623: esac
7624:
7625: $ac_path_GREP_found && break 3
7626: done
7627: done
7628: done
7629: IFS=$as_save_IFS
7630: if test -z "$ac_cv_path_GREP"; then
7631: as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7632: fi
7633: else
7634: ac_cv_path_GREP=$GREP
7635: fi
7636:
7637: fi
7638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7639: $as_echo "$ac_cv_path_GREP" >&6; }
7640: GREP="$ac_cv_path_GREP"
7641:
7642:
7643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7644: $as_echo_n "checking for egrep... " >&6; }
7645: if test "${ac_cv_path_EGREP+set}" = set; then :
7646: $as_echo_n "(cached) " >&6
7647: else
7648: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7649: then ac_cv_path_EGREP="$GREP -E"
7650: else
7651: if test -z "$EGREP"; then
7652: ac_path_EGREP_found=false
7653: # Loop through the user's path and test for each of PROGNAME-LIST
7654: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7656: do
7657: IFS=$as_save_IFS
7658: test -z "$as_dir" && as_dir=.
7659: for ac_prog in egrep; do
7660: for ac_exec_ext in '' $ac_executable_extensions; do
7661: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7662: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7663: # Check for GNU ac_path_EGREP and select it if it is found.
7664: # Check for GNU $ac_path_EGREP
7665: case `"$ac_path_EGREP" --version 2>&1` in
7666: *GNU*)
7667: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7668: *)
7669: ac_count=0
7670: $as_echo_n 0123456789 >"conftest.in"
7671: while :
7672: do
7673: cat "conftest.in" "conftest.in" >"conftest.tmp"
7674: mv "conftest.tmp" "conftest.in"
7675: cp "conftest.in" "conftest.nl"
7676: $as_echo 'EGREP' >> "conftest.nl"
7677: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7678: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7679: as_fn_arith $ac_count + 1 && ac_count=$as_val
7680: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7681: # Best one so far, save it but keep looking for a better one
7682: ac_cv_path_EGREP="$ac_path_EGREP"
7683: ac_path_EGREP_max=$ac_count
7684: fi
7685: # 10*(2^10) chars as input seems more than enough
7686: test $ac_count -gt 10 && break
7687: done
7688: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7689: esac
7690:
7691: $ac_path_EGREP_found && break 3
7692: done
7693: done
7694: done
7695: IFS=$as_save_IFS
7696: if test -z "$ac_cv_path_EGREP"; then
7697: as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7698: fi
7699: else
7700: ac_cv_path_EGREP=$EGREP
7701: fi
7702:
7703: fi
7704: fi
7705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7706: $as_echo "$ac_cv_path_EGREP" >&6; }
7707: EGREP="$ac_cv_path_EGREP"
7708:
7709:
7710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7711: $as_echo_n "checking for ANSI C header files... " >&6; }
7712: if test "${ac_cv_header_stdc+set}" = set; then :
7713: $as_echo_n "(cached) " >&6
7714: else
7715: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716: /* end confdefs.h. */
7717: #include <stdlib.h>
7718: #include <stdarg.h>
7719: #include <string.h>
7720: #include <float.h>
7721:
7722: int
7723: main ()
7724: {
7725:
7726: ;
7727: return 0;
7728: }
7729: _ACEOF
7730: if ac_fn_c_try_compile "$LINENO"; then :
7731: ac_cv_header_stdc=yes
7732: else
7733: ac_cv_header_stdc=no
7734: fi
7735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7736:
7737: if test $ac_cv_header_stdc = yes; then
7738: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7739: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740: /* end confdefs.h. */
7741: #include <string.h>
7742:
7743: _ACEOF
7744: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7745: $EGREP "memchr" >/dev/null 2>&1; then :
7746:
7747: else
7748: ac_cv_header_stdc=no
7749: fi
7750: rm -f conftest*
7751:
7752: fi
7753:
7754: if test $ac_cv_header_stdc = yes; then
7755: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757: /* end confdefs.h. */
7758: #include <stdlib.h>
7759:
7760: _ACEOF
7761: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7762: $EGREP "free" >/dev/null 2>&1; then :
7763:
7764: else
7765: ac_cv_header_stdc=no
7766: fi
7767: rm -f conftest*
7768:
7769: fi
7770:
7771: if test $ac_cv_header_stdc = yes; then
7772: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7773: if test "$cross_compiling" = yes; then :
7774: :
7775: else
7776: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777: /* end confdefs.h. */
7778: #include <ctype.h>
7779: #include <stdlib.h>
7780: #if ((' ' & 0x0FF) == 0x020)
7781: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7782: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7783: #else
7784: # define ISLOWER(c) \
7785: (('a' <= (c) && (c) <= 'i') \
7786: || ('j' <= (c) && (c) <= 'r') \
7787: || ('s' <= (c) && (c) <= 'z'))
7788: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7789: #endif
7790:
7791: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7792: int
7793: main ()
7794: {
7795: int i;
7796: for (i = 0; i < 256; i++)
7797: if (XOR (islower (i), ISLOWER (i))
7798: || toupper (i) != TOUPPER (i))
7799: return 2;
7800: return 0;
7801: }
7802: _ACEOF
7803: if ac_fn_c_try_run "$LINENO"; then :
7804:
7805: else
7806: ac_cv_header_stdc=no
7807: fi
7808: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7809: conftest.$ac_objext conftest.beam conftest.$ac_ext
7810: fi
7811:
7812: fi
7813: fi
7814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7815: $as_echo "$ac_cv_header_stdc" >&6; }
7816: if test $ac_cv_header_stdc = yes; then
7817:
7818: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7819:
7820: fi
7821:
7822: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7823: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7824: inttypes.h stdint.h unistd.h
7825: do :
7826: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7828: "
7829: eval as_val=\$$as_ac_Header
7830: if test "x$as_val" = x""yes; then :
7831: cat >>confdefs.h <<_ACEOF
7832: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7833: _ACEOF
7834:
7835: fi
7836:
7837: done
7838:
7839:
7840: # The cast to long int works around a bug in the HP C Compiler
7841: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7842: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7843: # This bug is HP SR number 8606223364.
7844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
7845: $as_echo_n "checking size of void *... " >&6; }
7846: if test "${ac_cv_sizeof_void_p+set}" = set; then :
7847: $as_echo_n "(cached) " >&6
7848: else
7849: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
7850:
7851: else
7852: if test "$ac_cv_type_void_p" = yes; then
7853: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7854: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7855: { as_fn_set_status 77
7856: as_fn_error "cannot compute sizeof (void *)
7857: See \`config.log' for more details." "$LINENO" 5; }; }
7858: else
7859: ac_cv_sizeof_void_p=0
7860: fi
7861: fi
7862:
7863: fi
7864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
7865: $as_echo "$ac_cv_sizeof_void_p" >&6; }
7866:
7867:
7868:
7869: cat >>confdefs.h <<_ACEOF
7870: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7871: _ACEOF
7872:
7873:
7874: # The cast to long int works around a bug in the HP C Compiler
7875: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7876: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7877: # This bug is HP SR number 8606223364.
7878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
7879: $as_echo_n "checking size of char... " >&6; }
7880: if test "${ac_cv_sizeof_char+set}" = set; then :
7881: $as_echo_n "(cached) " >&6
7882: else
7883: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
7884:
7885: else
7886: if test "$ac_cv_type_char" = yes; then
7887: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7888: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7889: { as_fn_set_status 77
7890: as_fn_error "cannot compute sizeof (char)
7891: See \`config.log' for more details." "$LINENO" 5; }; }
7892: else
7893: ac_cv_sizeof_char=0
7894: fi
7895: fi
7896:
7897: fi
7898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
7899: $as_echo "$ac_cv_sizeof_char" >&6; }
7900:
7901:
7902:
7903: cat >>confdefs.h <<_ACEOF
7904: #define SIZEOF_CHAR $ac_cv_sizeof_char
7905: _ACEOF
7906:
7907:
7908: # The cast to long int works around a bug in the HP C Compiler
7909: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7910: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7911: # This bug is HP SR number 8606223364.
7912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
7913: $as_echo_n "checking size of short int... " >&6; }
7914: if test "${ac_cv_sizeof_short_int+set}" = set; then :
7915: $as_echo_n "(cached) " >&6
7916: else
7917: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
7918:
7919: else
7920: if test "$ac_cv_type_short_int" = yes; then
7921: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7922: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7923: { as_fn_set_status 77
7924: as_fn_error "cannot compute sizeof (short int)
7925: See \`config.log' for more details." "$LINENO" 5; }; }
7926: else
7927: ac_cv_sizeof_short_int=0
7928: fi
7929: fi
7930:
7931: fi
7932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
7933: $as_echo "$ac_cv_sizeof_short_int" >&6; }
7934:
7935:
7936:
7937: cat >>confdefs.h <<_ACEOF
7938: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
7939: _ACEOF
7940:
7941:
7942: # The cast to long int works around a bug in the HP C Compiler
7943: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7944: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7945: # This bug is HP SR number 8606223364.
7946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7947: $as_echo_n "checking size of int... " >&6; }
7948: if test "${ac_cv_sizeof_int+set}" = set; then :
7949: $as_echo_n "(cached) " >&6
7950: else
7951: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
7952:
7953: else
7954: if test "$ac_cv_type_int" = yes; then
7955: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7956: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7957: { as_fn_set_status 77
7958: as_fn_error "cannot compute sizeof (int)
7959: See \`config.log' for more details." "$LINENO" 5; }; }
7960: else
7961: ac_cv_sizeof_int=0
7962: fi
7963: fi
7964:
7965: fi
7966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7967: $as_echo "$ac_cv_sizeof_int" >&6; }
7968:
7969:
7970:
7971: cat >>confdefs.h <<_ACEOF
7972: #define SIZEOF_INT $ac_cv_sizeof_int
7973: _ACEOF
7974:
7975:
7976: # The cast to long int works around a bug in the HP C Compiler
7977: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7978: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7979: # This bug is HP SR number 8606223364.
7980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
7981: $as_echo_n "checking size of long int... " >&6; }
7982: if test "${ac_cv_sizeof_long_int+set}" = set; then :
7983: $as_echo_n "(cached) " >&6
7984: else
7985: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
7986:
7987: else
7988: if test "$ac_cv_type_long_int" = yes; then
7989: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7990: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7991: { as_fn_set_status 77
7992: as_fn_error "cannot compute sizeof (long int)
7993: See \`config.log' for more details." "$LINENO" 5; }; }
7994: else
7995: ac_cv_sizeof_long_int=0
7996: fi
7997: fi
7998:
7999: fi
8000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8001: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8002:
8003:
8004:
8005: cat >>confdefs.h <<_ACEOF
8006: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8007: _ACEOF
8008:
8009:
8010: # The cast to long int works around a bug in the HP C Compiler
8011: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8012: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8013: # This bug is HP SR number 8606223364.
8014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8015: $as_echo_n "checking size of long long int... " >&6; }
8016: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
8017: $as_echo_n "(cached) " >&6
8018: else
8019: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8020:
8021: else
8022: if test "$ac_cv_type_long_long_int" = yes; then
8023: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8024: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8025: { as_fn_set_status 77
8026: as_fn_error "cannot compute sizeof (long long int)
8027: See \`config.log' for more details." "$LINENO" 5; }; }
8028: else
8029: ac_cv_sizeof_long_long_int=0
8030: fi
8031: fi
8032:
8033: fi
8034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8035: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8036:
8037:
8038:
8039: cat >>confdefs.h <<_ACEOF
8040: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8041: _ACEOF
8042:
8043:
8044: # The cast to long int works around a bug in the HP C Compiler
8045: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8046: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8047: # This bug is HP SR number 8606223364.
8048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8049: $as_echo_n "checking size of float... " >&6; }
8050: if test "${ac_cv_sizeof_float+set}" = set; then :
8051: $as_echo_n "(cached) " >&6
8052: else
8053: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8054:
8055: else
8056: if test "$ac_cv_type_float" = yes; then
8057: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8058: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8059: { as_fn_set_status 77
8060: as_fn_error "cannot compute sizeof (float)
8061: See \`config.log' for more details." "$LINENO" 5; }; }
8062: else
8063: ac_cv_sizeof_float=0
8064: fi
8065: fi
8066:
8067: fi
8068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8069: $as_echo "$ac_cv_sizeof_float" >&6; }
8070:
8071:
8072:
8073: cat >>confdefs.h <<_ACEOF
8074: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8075: _ACEOF
8076:
8077:
8078: # The cast to long int works around a bug in the HP C Compiler
8079: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8080: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8081: # This bug is HP SR number 8606223364.
8082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8083: $as_echo_n "checking size of double... " >&6; }
8084: if test "${ac_cv_sizeof_double+set}" = set; then :
8085: $as_echo_n "(cached) " >&6
8086: else
8087: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8088:
8089: else
8090: if test "$ac_cv_type_double" = yes; then
8091: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8092: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8093: { as_fn_set_status 77
8094: as_fn_error "cannot compute sizeof (double)
8095: See \`config.log' for more details." "$LINENO" 5; }; }
8096: else
8097: ac_cv_sizeof_double=0
8098: fi
8099: fi
8100:
8101: fi
8102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8103: $as_echo "$ac_cv_sizeof_double" >&6; }
8104:
8105:
8106:
8107: cat >>confdefs.h <<_ACEOF
8108: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8109: _ACEOF
8110:
8111:
8112: # The cast to long int works around a bug in the HP C Compiler
8113: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8114: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8115: # This bug is HP SR number 8606223364.
8116: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8117: $as_echo_n "checking size of long double... " >&6; }
8118: if test "${ac_cv_sizeof_long_double+set}" = set; then :
8119: $as_echo_n "(cached) " >&6
8120: else
8121: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8122:
8123: else
8124: if test "$ac_cv_type_long_double" = yes; then
8125: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8126: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8127: { as_fn_set_status 77
8128: as_fn_error "cannot compute sizeof (long double)
8129: See \`config.log' for more details." "$LINENO" 5; }; }
8130: else
8131: ac_cv_sizeof_long_double=0
8132: fi
8133: fi
8134:
8135: fi
8136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8137: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8138:
8139:
8140:
8141: cat >>confdefs.h <<_ACEOF
8142: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8143: _ACEOF
8144:
8145:
8146:
8147: ac_header_dirent=no
8148: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8149: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8151: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8152: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
8153: $as_echo_n "(cached) " >&6
8154: else
8155: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156: /* end confdefs.h. */
8157: #include <sys/types.h>
8158: #include <$ac_hdr>
8159:
8160: int
8161: main ()
8162: {
8163: if ((DIR *) 0)
8164: return 0;
8165: ;
8166: return 0;
8167: }
8168: _ACEOF
8169: if ac_fn_c_try_compile "$LINENO"; then :
8170: eval "$as_ac_Header=yes"
8171: else
8172: eval "$as_ac_Header=no"
8173: fi
8174: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8175: fi
8176: eval ac_res=\$$as_ac_Header
8177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8178: $as_echo "$ac_res" >&6; }
8179: eval as_val=\$$as_ac_Header
8180: if test "x$as_val" = x""yes; then :
8181: cat >>confdefs.h <<_ACEOF
8182: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8183: _ACEOF
8184:
8185: ac_header_dirent=$ac_hdr; break
8186: fi
8187:
8188: done
8189: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8190: if test $ac_header_dirent = dirent.h; then
8191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8192: $as_echo_n "checking for library containing opendir... " >&6; }
8193: if test "${ac_cv_search_opendir+set}" = set; then :
8194: $as_echo_n "(cached) " >&6
8195: else
8196: ac_func_search_save_LIBS=$LIBS
8197: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8198: /* end confdefs.h. */
8199:
8200: /* Override any GCC internal prototype to avoid an error.
8201: Use char because int might match the return type of a GCC
8202: builtin and then its argument prototype would still apply. */
8203: #ifdef __cplusplus
8204: extern "C"
8205: #endif
8206: char opendir ();
8207: int
8208: main ()
8209: {
8210: return opendir ();
8211: ;
8212: return 0;
8213: }
8214: _ACEOF
8215: for ac_lib in '' dir; do
8216: if test -z "$ac_lib"; then
8217: ac_res="none required"
8218: else
8219: ac_res=-l$ac_lib
8220: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8221: fi
8222: if ac_fn_c_try_link "$LINENO"; then :
8223: ac_cv_search_opendir=$ac_res
8224: fi
8225: rm -f core conftest.err conftest.$ac_objext \
8226: conftest$ac_exeext
8227: if test "${ac_cv_search_opendir+set}" = set; then :
8228: break
8229: fi
8230: done
8231: if test "${ac_cv_search_opendir+set}" = set; then :
8232:
8233: else
8234: ac_cv_search_opendir=no
8235: fi
8236: rm conftest.$ac_ext
8237: LIBS=$ac_func_search_save_LIBS
8238: fi
8239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8240: $as_echo "$ac_cv_search_opendir" >&6; }
8241: ac_res=$ac_cv_search_opendir
8242: if test "$ac_res" != no; then :
8243: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8244:
8245: fi
8246:
8247: else
8248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8249: $as_echo_n "checking for library containing opendir... " >&6; }
8250: if test "${ac_cv_search_opendir+set}" = set; then :
8251: $as_echo_n "(cached) " >&6
8252: else
8253: ac_func_search_save_LIBS=$LIBS
8254: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255: /* end confdefs.h. */
8256:
8257: /* Override any GCC internal prototype to avoid an error.
8258: Use char because int might match the return type of a GCC
8259: builtin and then its argument prototype would still apply. */
8260: #ifdef __cplusplus
8261: extern "C"
8262: #endif
8263: char opendir ();
8264: int
8265: main ()
8266: {
8267: return opendir ();
8268: ;
8269: return 0;
8270: }
8271: _ACEOF
8272: for ac_lib in '' x; do
8273: if test -z "$ac_lib"; then
8274: ac_res="none required"
8275: else
8276: ac_res=-l$ac_lib
8277: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8278: fi
8279: if ac_fn_c_try_link "$LINENO"; then :
8280: ac_cv_search_opendir=$ac_res
8281: fi
8282: rm -f core conftest.err conftest.$ac_objext \
8283: conftest$ac_exeext
8284: if test "${ac_cv_search_opendir+set}" = set; then :
8285: break
8286: fi
8287: done
8288: if test "${ac_cv_search_opendir+set}" = set; then :
8289:
8290: else
8291: ac_cv_search_opendir=no
8292: fi
8293: rm conftest.$ac_ext
8294: LIBS=$ac_func_search_save_LIBS
8295: fi
8296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8297: $as_echo "$ac_cv_search_opendir" >&6; }
8298: ac_res=$ac_cv_search_opendir
8299: if test "$ac_res" != no; then :
8300: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8301:
8302: fi
8303:
8304: fi
8305:
8306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8307: $as_echo_n "checking for ANSI C header files... " >&6; }
8308: if test "${ac_cv_header_stdc+set}" = set; then :
8309: $as_echo_n "(cached) " >&6
8310: else
8311: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312: /* end confdefs.h. */
8313: #include <stdlib.h>
8314: #include <stdarg.h>
8315: #include <string.h>
8316: #include <float.h>
8317:
8318: int
8319: main ()
8320: {
8321:
8322: ;
8323: return 0;
8324: }
8325: _ACEOF
8326: if ac_fn_c_try_compile "$LINENO"; then :
8327: ac_cv_header_stdc=yes
8328: else
8329: ac_cv_header_stdc=no
8330: fi
8331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8332:
8333: if test $ac_cv_header_stdc = yes; then
8334: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336: /* end confdefs.h. */
8337: #include <string.h>
8338:
8339: _ACEOF
8340: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8341: $EGREP "memchr" >/dev/null 2>&1; then :
8342:
8343: else
8344: ac_cv_header_stdc=no
8345: fi
8346: rm -f conftest*
8347:
8348: fi
8349:
8350: if test $ac_cv_header_stdc = yes; then
8351: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8352: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353: /* end confdefs.h. */
8354: #include <stdlib.h>
8355:
8356: _ACEOF
8357: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8358: $EGREP "free" >/dev/null 2>&1; then :
8359:
8360: else
8361: ac_cv_header_stdc=no
8362: fi
8363: rm -f conftest*
8364:
8365: fi
8366:
8367: if test $ac_cv_header_stdc = yes; then
8368: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8369: if test "$cross_compiling" = yes; then :
8370: :
8371: else
8372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373: /* end confdefs.h. */
8374: #include <ctype.h>
8375: #include <stdlib.h>
8376: #if ((' ' & 0x0FF) == 0x020)
8377: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8378: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8379: #else
8380: # define ISLOWER(c) \
8381: (('a' <= (c) && (c) <= 'i') \
8382: || ('j' <= (c) && (c) <= 'r') \
8383: || ('s' <= (c) && (c) <= 'z'))
8384: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8385: #endif
8386:
8387: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8388: int
8389: main ()
8390: {
8391: int i;
8392: for (i = 0; i < 256; i++)
8393: if (XOR (islower (i), ISLOWER (i))
8394: || toupper (i) != TOUPPER (i))
8395: return 2;
8396: return 0;
8397: }
8398: _ACEOF
8399: if ac_fn_c_try_run "$LINENO"; then :
8400:
8401: else
8402: ac_cv_header_stdc=no
8403: fi
8404: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8405: conftest.$ac_objext conftest.beam conftest.$ac_ext
8406: fi
8407:
8408: fi
8409: fi
8410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8411: $as_echo "$ac_cv_header_stdc" >&6; }
8412: if test $ac_cv_header_stdc = yes; then
8413:
8414: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8415:
8416: fi
8417:
8418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8419: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8420: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
8421: $as_echo_n "(cached) " >&6
8422: else
8423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424: /* end confdefs.h. */
8425: #include <sys/types.h>
8426: #include <sys/wait.h>
8427: #ifndef WEXITSTATUS
8428: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8429: #endif
8430: #ifndef WIFEXITED
8431: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8432: #endif
8433:
8434: int
8435: main ()
8436: {
8437: int s;
8438: wait (&s);
8439: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8440: ;
8441: return 0;
8442: }
8443: _ACEOF
8444: if ac_fn_c_try_compile "$LINENO"; then :
8445: ac_cv_header_sys_wait_h=yes
8446: else
8447: ac_cv_header_sys_wait_h=no
8448: fi
8449: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450: fi
8451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8452: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8453: if test $ac_cv_header_sys_wait_h = yes; then
8454:
8455: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8456:
8457: fi
8458:
8459: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8460: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8461: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8462: do :
8463: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8464: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8465: eval as_val=\$$as_ac_Header
8466: if test "x$as_val" = x""yes; then :
8467: cat >>confdefs.h <<_ACEOF
8468: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8469: _ACEOF
8470:
8471: fi
8472:
8473: done
8474:
8475:
8476: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8477: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8478: if test "${ac_cv_c_const+set}" = set; then :
8479: $as_echo_n "(cached) " >&6
8480: else
8481: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482: /* end confdefs.h. */
8483:
8484: int
8485: main ()
8486: {
8487: /* FIXME: Include the comments suggested by Paul. */
8488: #ifndef __cplusplus
8489: /* Ultrix mips cc rejects this. */
8490: typedef int charset[2];
8491: const charset cs;
8492: /* SunOS 4.1.1 cc rejects this. */
8493: char const *const *pcpcc;
8494: char **ppc;
8495: /* NEC SVR4.0.2 mips cc rejects this. */
8496: struct point {int x, y;};
8497: static struct point const zero = {0,0};
8498: /* AIX XL C 1.02.0.0 rejects this.
8499: It does not let you subtract one const X* pointer from another in
8500: an arm of an if-expression whose if-part is not a constant
8501: expression */
8502: const char *g = "string";
8503: pcpcc = &g + (g ? g-g : 0);
8504: /* HPUX 7.0 cc rejects these. */
8505: ++pcpcc;
8506: ppc = (char**) pcpcc;
8507: pcpcc = (char const *const *) ppc;
8508: { /* SCO 3.2v4 cc rejects this. */
8509: char *t;
8510: char const *s = 0 ? (char *) 0 : (char const *) 0;
8511:
8512: *t++ = 0;
8513: if (s) return 0;
8514: }
8515: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8516: int x[] = {25, 17};
8517: const int *foo = &x[0];
8518: ++foo;
8519: }
8520: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8521: typedef const int *iptr;
8522: iptr p = 0;
8523: ++p;
8524: }
8525: { /* AIX XL C 1.02.0.0 rejects this saying
8526: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8527: struct s { int j; const int *ap[3]; };
8528: struct s *b; b->j = 5;
8529: }
8530: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8531: const int foo = 10;
8532: if (!foo) return 0;
8533: }
8534: return !cs[0] && !zero.x;
8535: #endif
8536:
8537: ;
8538: return 0;
8539: }
8540: _ACEOF
8541: if ac_fn_c_try_compile "$LINENO"; then :
8542: ac_cv_c_const=yes
8543: else
8544: ac_cv_c_const=no
8545: fi
8546: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8547: fi
8548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8549: $as_echo "$ac_cv_c_const" >&6; }
8550: if test $ac_cv_c_const = no; then
8551:
8552: $as_echo "#define const /**/" >>confdefs.h
8553:
8554: fi
8555:
8556: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8557: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8558: if test "${ac_cv_type_uid_t+set}" = set; then :
8559: $as_echo_n "(cached) " >&6
8560: else
8561: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562: /* end confdefs.h. */
8563: #include <sys/types.h>
8564:
8565: _ACEOF
8566: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8567: $EGREP "uid_t" >/dev/null 2>&1; then :
8568: ac_cv_type_uid_t=yes
8569: else
8570: ac_cv_type_uid_t=no
8571: fi
8572: rm -f conftest*
8573:
8574: fi
8575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8576: $as_echo "$ac_cv_type_uid_t" >&6; }
8577: if test $ac_cv_type_uid_t = no; then
8578:
8579: $as_echo "#define uid_t int" >>confdefs.h
8580:
8581:
8582: $as_echo "#define gid_t int" >>confdefs.h
8583:
8584: fi
8585:
8586: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8587: if test "x$ac_cv_type_pid_t" = x""yes; then :
8588:
8589: else
8590:
8591: cat >>confdefs.h <<_ACEOF
8592: #define pid_t int
8593: _ACEOF
8594:
8595: fi
8596:
8597: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8598: if test "x$ac_cv_type_size_t" = x""yes; then :
8599:
8600: else
8601:
8602: cat >>confdefs.h <<_ACEOF
8603: #define size_t unsigned int
8604: _ACEOF
8605:
8606: fi
8607:
8608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8609: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8610: if test "${ac_cv_header_time+set}" = set; then :
8611: $as_echo_n "(cached) " >&6
8612: else
8613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614: /* end confdefs.h. */
8615: #include <sys/types.h>
8616: #include <sys/time.h>
8617: #include <time.h>
8618:
8619: int
8620: main ()
8621: {
8622: if ((struct tm *) 0)
8623: return 0;
8624: ;
8625: return 0;
8626: }
8627: _ACEOF
8628: if ac_fn_c_try_compile "$LINENO"; then :
8629: ac_cv_header_time=yes
8630: else
8631: ac_cv_header_time=no
8632: fi
8633: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8634: fi
8635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8636: $as_echo "$ac_cv_header_time" >&6; }
8637: if test $ac_cv_header_time = yes; then
8638:
8639: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8640:
8641: fi
8642:
8643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8644: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8645: if test "${ac_cv_struct_tm+set}" = set; then :
8646: $as_echo_n "(cached) " >&6
8647: else
8648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649: /* end confdefs.h. */
8650: #include <sys/types.h>
8651: #include <time.h>
8652:
8653: int
8654: main ()
8655: {
8656: struct tm tm;
8657: int *p = &tm.tm_sec;
8658: return !p;
8659: ;
8660: return 0;
8661: }
8662: _ACEOF
8663: if ac_fn_c_try_compile "$LINENO"; then :
8664: ac_cv_struct_tm=time.h
8665: else
8666: ac_cv_struct_tm=sys/time.h
8667: fi
8668: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8669: fi
8670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8671: $as_echo "$ac_cv_struct_tm" >&6; }
8672: if test $ac_cv_struct_tm = sys/time.h; then
8673:
8674: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8675:
8676: fi
8677:
8678:
8679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8680: $as_echo_n "checking return type of signal handlers... " >&6; }
8681: if test "${ac_cv_type_signal+set}" = set; then :
8682: $as_echo_n "(cached) " >&6
8683: else
8684: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685: /* end confdefs.h. */
8686: #include <sys/types.h>
8687: #include <signal.h>
8688:
8689: int
8690: main ()
8691: {
8692: return *(signal (0, 0)) (0) == 1;
8693: ;
8694: return 0;
8695: }
8696: _ACEOF
8697: if ac_fn_c_try_compile "$LINENO"; then :
8698: ac_cv_type_signal=int
8699: else
8700: ac_cv_type_signal=void
8701: fi
8702: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8703: fi
8704: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8705: $as_echo "$ac_cv_type_signal" >&6; }
8706:
8707: cat >>confdefs.h <<_ACEOF
8708: #define RETSIGTYPE $ac_cv_type_signal
8709: _ACEOF
8710:
8711:
8712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8713: $as_echo_n "checking for working strcoll... " >&6; }
8714: if test "${ac_cv_func_strcoll_works+set}" = set; then :
8715: $as_echo_n "(cached) " >&6
8716: else
8717: if test "$cross_compiling" = yes; then :
8718: ac_cv_func_strcoll_works=no
8719: else
8720: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721: /* end confdefs.h. */
8722: $ac_includes_default
8723: int
8724: main ()
8725: {
8726: return (strcoll ("abc", "def") >= 0 ||
8727: strcoll ("ABC", "DEF") >= 0 ||
8728: strcoll ("123", "456") >= 0)
8729: ;
8730: return 0;
8731: }
8732: _ACEOF
8733: if ac_fn_c_try_run "$LINENO"; then :
8734: ac_cv_func_strcoll_works=yes
8735: else
8736: ac_cv_func_strcoll_works=no
8737: fi
8738: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8739: conftest.$ac_objext conftest.beam conftest.$ac_ext
8740: fi
8741:
8742: fi
8743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
8744: $as_echo "$ac_cv_func_strcoll_works" >&6; }
8745: if test $ac_cv_func_strcoll_works = yes; then
8746:
8747: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
8748:
8749: fi
8750:
8751: for ac_func in strftime
8752: do :
8753: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
8754: if test "x$ac_cv_func_strftime" = x""yes; then :
8755: cat >>confdefs.h <<_ACEOF
8756: #define HAVE_STRFTIME 1
8757: _ACEOF
8758:
8759: else
8760: # strftime is in -lintl on SCO UNIX.
8761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
8762: $as_echo_n "checking for strftime in -lintl... " >&6; }
8763: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
8764: $as_echo_n "(cached) " >&6
8765: else
8766: ac_check_lib_save_LIBS=$LIBS
8767: LIBS="-lintl $LIBS"
8768: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769: /* end confdefs.h. */
8770:
8771: /* Override any GCC internal prototype to avoid an error.
8772: Use char because int might match the return type of a GCC
8773: builtin and then its argument prototype would still apply. */
8774: #ifdef __cplusplus
8775: extern "C"
8776: #endif
8777: char strftime ();
8778: int
8779: main ()
8780: {
8781: return strftime ();
8782: ;
8783: return 0;
8784: }
8785: _ACEOF
8786: if ac_fn_c_try_link "$LINENO"; then :
8787: ac_cv_lib_intl_strftime=yes
8788: else
8789: ac_cv_lib_intl_strftime=no
8790: fi
8791: rm -f core conftest.err conftest.$ac_objext \
8792: conftest$ac_exeext conftest.$ac_ext
8793: LIBS=$ac_check_lib_save_LIBS
8794: fi
8795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
8796: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
8797: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
8798: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
8799:
8800: LIBS="-lintl $LIBS"
8801: fi
8802:
8803: fi
8804: done
8805:
8806: for ac_func in vprintf
8807: do :
8808: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
8809: if test "x$ac_cv_func_vprintf" = x""yes; then :
8810: cat >>confdefs.h <<_ACEOF
8811: #define HAVE_VPRINTF 1
8812: _ACEOF
8813:
8814: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
8815: if test "x$ac_cv_func__doprnt" = x""yes; then :
8816:
8817: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
8818:
8819: fi
8820:
8821: fi
8822: done
8823:
8824:
8825: for ac_func in ftime getcwd putenv select strcspn strdup \
8826: strerror strspn strstr strtod
8827: do :
8828: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8829: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8830: eval as_val=\$$as_ac_var
8831: if test "x$as_val" = x""yes; then :
8832: cat >>confdefs.h <<_ACEOF
8833: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8834: _ACEOF
8835:
8836: fi
8837: done
8838:
8839:
8840: ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared"
8841:
8842:
8843:
8844: subdirs="$subdirs tools/$NCURSES"
8845:
8846: subdirs="$subdirs tools/$READLINE"
8847:
8848: subdirs="$subdirs tools/$GSL"
8849:
8850: subdirs="$subdirs tools/$GPP"
8851:
8852: subdirs="$subdirs tools/$FILE"
8853:
8854: subdirs="$subdirs tools/$ICONV"
8855:
8856: subdirs="$subdirs tools/$SQLITE"
8857:
8858: subdirs="$subdirs tools/$UNITS"
8859:
8860:
8861:
8862: # Check whether --with-openssl_arch was given.
8863: if test "${with_openssl_arch+set}" = set; then :
8864: withval=$with_openssl_arch;
8865: else
8866: with_openssl_arch=none
8867: fi
8868:
8869:
8870: if test "x$with_openssl_arch" = xnone; then
8871: (cd tools/$OPENSSL && ./config)
8872: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
8873: (cd tools/$OPENSSL && ./Configure)
8874: as_fn_error "OS/COMP informations are required!" "$LINENO" 5
8875: elif test "x$with_openssl_arch" = xlist; then
8876: (cd tools/$OPENSSL && ./Configure)
8877: as_fn_error "Please specify OS and Architecture" "$LINENO" 5
8878: else
8879: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
8880: fi
8881:
8882: if test "$MYGNUPLOT" = "yes"; then
8883: if test ! -d "$srcdir"/tools/$GNUPLOT; then
8884: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
8885: (cd "$srcdir/tools" && tar -xf -)
8886: fi
8887: subdirs="$subdirs tools/$GNUPLOT"
8888:
8889: GNUPLOT_COMPILATION=$GNUPLOT
8890: else
8891: GNUPLOT_COMPILATION=
8892: fi
8893:
8894:
8895:
8896: case $host_cpu in
8897:
8898: i?86)
8899: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
8900: -Wno-pointer-sign"
8901: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
8902: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
8903: break ;;
8904:
8905: x86_64*)
8906: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
8907: -Wno-pointer-sign"
8908: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
8909: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
8910: break ;;
8911:
8912: alpha*)
8913: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
8914: -Wno-pointer-sign"
8915: FFLAGS="$FFLAGS -mieee -Wall"
8916: FCFLAGS="$FCFLAGS -mieee -Wall"
8917: break ;;
8918:
8919: sparc*)
8920: CFLAGS="$CFLAGS -Wall -funsigned-char \
8921: -Wno-pointer-sign"
8922: FFLAGS="$FFLAGS -Wall"
8923: FCFLAGS="$FCFLAGS -Wall"
8924: break ;;
8925:
8926: esac
8927:
8928: case $host_os in
8929:
8930: cygwin*)
8931: OS=Cygwin
8932: break ;;
8933:
8934: interix*)
8935: OS=Interix
8936: break ;;
8937:
8938: *)
8939: OS=$(uname)
8940: break ;;
8941:
8942: esac
8943:
8944:
8945:
8946: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
8947: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
8948:
8949: if test $(uname) = "SunOS"; then
8950: LIBMTMALLOC=-lmtmalloc
8951: else
8952: LIBMTMALLOC=
8953: fi
8954:
8955: case $(OS) in
8956:
8957: Darwin)
8958: EXPORT_DYNAMIC=-flat_namespace
8959: NESTED_FUNCTIONS=-fnested-functions
8960: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
8961: break ;;
8962:
8963: Cygwin)
8964: EXPORT_DYNAMIC=--export-all-symbols
8965: NESTED_FUNCTIONS=
8966: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
8967: break ;;
8968:
8969: *)
8970: EXPORT_DYNAMIC=--export-dynamic
8971: NESTED_FUNCTIONS=
8972: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
8973: break ;;
8974:
8975: esac
8976:
8977:
8978:
8979:
8980:
8981:
8982:
8983:
8984:
8985:
8986:
8987:
8988:
8989:
8990:
8991:
8992:
8993:
8994:
8995:
8996:
8997:
8998:
8999:
9000:
9001: ac_config_files="$ac_config_files Makefile"
9002:
9003: ac_config_files="$ac_config_files COPYING"
9004:
9005: ac_config_files="$ac_config_files tools/Makefile"
9006:
9007: ac_config_files="$ac_config_files src/Makefile"
9008:
9009: ac_config_files="$ac_config_files man/Makefile"
9010:
9011: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9012:
9013: ac_config_files="$ac_config_files doc/Makefile"
9014:
9015: ac_config_files="$ac_config_files scripts/Makefile"
9016:
9017: ac_config_files="$ac_config_files scripts/mkrplso"
9018:
9019: ac_config_files="$ac_config_files scripts/rplcc"
9020:
9021: ac_config_files="$ac_config_files scripts/rpllink"
9022:
9023: ac_config_files="$ac_config_files rpltags/Makefile"
9024:
9025: ac_config_files="$ac_config_files rpliconv/Makefile"
9026:
9027: ac_config_files="$ac_config_files rplsums/Makefile"
9028:
9029: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9030:
9031: ac_config_files="$ac_config_files lapack/blas/Makefile"
9032:
9033:
9034: ac_config_files="$ac_config_files man/rpl.1"
9035:
9036: ac_config_files="$ac_config_files man/rplcc.1"
9037:
9038: ac_config_files="$ac_config_files man/rpllink.1"
9039:
9040: ac_config_files="$ac_config_files man/rpltags.1"
9041:
9042: ac_config_files="$ac_config_files man/mkrplso.1"
9043:
9044: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9045:
9046: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9047:
9048: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9049:
9050: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9051:
9052: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9053:
9054:
9055: cat >confcache <<\_ACEOF
9056: # This file is a shell script that caches the results of configure
9057: # tests run on this system so they can be shared between configure
9058: # scripts and configure runs, see configure's option --config-cache.
9059: # It is not useful on other systems. If it contains results you don't
9060: # want to keep, you may remove or edit it.
9061: #
9062: # config.status only pays attention to the cache file if you give it
9063: # the --recheck option to rerun configure.
9064: #
9065: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9066: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9067: # following values.
9068:
9069: _ACEOF
9070:
9071: # The following way of writing the cache mishandles newlines in values,
9072: # but we know of no workaround that is simple, portable, and efficient.
9073: # So, we kill variables containing newlines.
9074: # Ultrix sh set writes to stderr and can't be redirected directly,
9075: # and sets the high bit in the cache file unless we assign to the vars.
9076: (
9077: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9078: eval ac_val=\$$ac_var
9079: case $ac_val in #(
9080: *${as_nl}*)
9081: case $ac_var in #(
9082: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9083: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9084: esac
9085: case $ac_var in #(
9086: _ | IFS | as_nl) ;; #(
9087: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9088: *) { eval $ac_var=; unset $ac_var;} ;;
9089: esac ;;
9090: esac
9091: done
9092:
9093: (set) 2>&1 |
9094: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9095: *${as_nl}ac_space=\ *)
9096: # `set' does not quote correctly, so add quotes: double-quote
9097: # substitution turns \\\\ into \\, and sed turns \\ into \.
9098: sed -n \
9099: "s/'/'\\\\''/g;
9100: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9101: ;; #(
9102: *)
9103: # `set' quotes correctly as required by POSIX, so do not add quotes.
9104: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9105: ;;
9106: esac |
9107: sort
9108: ) |
9109: sed '
9110: /^ac_cv_env_/b end
9111: t clear
9112: :clear
9113: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9114: t end
9115: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9116: :end' >>confcache
9117: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9118: if test -w "$cache_file"; then
9119: test "x$cache_file" != "x/dev/null" &&
9120: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9121: $as_echo "$as_me: updating cache $cache_file" >&6;}
9122: cat confcache >$cache_file
9123: else
9124: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9125: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9126: fi
9127: fi
9128: rm -f confcache
9129:
9130: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9131: # Let make expand exec_prefix.
9132: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9133:
9134: DEFS=-DHAVE_CONFIG_H
9135:
9136: ac_libobjs=
9137: ac_ltlibobjs=
9138: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9139: # 1. Remove the extension, and $U if already installed.
9140: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9141: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9142: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9143: # will be set to the directory where LIBOBJS objects are built.
9144: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9145: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9146: done
9147: LIBOBJS=$ac_libobjs
9148:
9149: LTLIBOBJS=$ac_ltlibobjs
9150:
9151:
9152: if test -n "$EXEEXT"; then
9153: am__EXEEXT_TRUE=
9154: am__EXEEXT_FALSE='#'
9155: else
9156: am__EXEEXT_TRUE='#'
9157: am__EXEEXT_FALSE=
9158: fi
9159:
9160: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9161: as_fn_error "conditional \"AMDEP\" was never defined.
9162: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9163: fi
9164: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9165: as_fn_error "conditional \"am__fastdepCC\" was never defined.
9166: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9167: fi
9168: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9169: as_fn_error "conditional \"am__fastdepCXX\" was never defined.
9170: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9171: fi
9172:
9173: : ${CONFIG_STATUS=./config.status}
9174: ac_write_fail=0
9175: ac_clean_files_save=$ac_clean_files
9176: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9177: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9178: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9179: as_write_fail=0
9180: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9181: #! $SHELL
9182: # Generated by $as_me.
9183: # Run this file to recreate the current configuration.
9184: # Compiler output produced by configure, useful for debugging
9185: # configure, is in config.log if it exists.
9186:
9187: debug=false
9188: ac_cs_recheck=false
9189: ac_cs_silent=false
9190:
9191: SHELL=\${CONFIG_SHELL-$SHELL}
9192: export SHELL
9193: _ASEOF
9194: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9195: ## -------------------- ##
9196: ## M4sh Initialization. ##
9197: ## -------------------- ##
9198:
9199: # Be more Bourne compatible
9200: DUALCASE=1; export DUALCASE # for MKS sh
9201: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9202: emulate sh
9203: NULLCMD=:
9204: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9205: # is contrary to our usage. Disable this feature.
9206: alias -g '${1+"$@"}'='"$@"'
9207: setopt NO_GLOB_SUBST
9208: else
9209: case `(set -o) 2>/dev/null` in #(
9210: *posix*) :
9211: set -o posix ;; #(
9212: *) :
9213: ;;
9214: esac
9215: fi
9216:
9217:
9218: as_nl='
9219: '
9220: export as_nl
9221: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9222: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9223: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9224: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9225: # Prefer a ksh shell builtin over an external printf program on Solaris,
9226: # but without wasting forks for bash or zsh.
9227: if test -z "$BASH_VERSION$ZSH_VERSION" \
9228: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9229: as_echo='print -r --'
9230: as_echo_n='print -rn --'
9231: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9232: as_echo='printf %s\n'
9233: as_echo_n='printf %s'
9234: else
9235: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9236: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9237: as_echo_n='/usr/ucb/echo -n'
9238: else
9239: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9240: as_echo_n_body='eval
9241: arg=$1;
9242: case $arg in #(
9243: *"$as_nl"*)
9244: expr "X$arg" : "X\\(.*\\)$as_nl";
9245: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9246: esac;
9247: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9248: '
9249: export as_echo_n_body
9250: as_echo_n='sh -c $as_echo_n_body as_echo'
9251: fi
9252: export as_echo_body
9253: as_echo='sh -c $as_echo_body as_echo'
9254: fi
9255:
9256: # The user is always right.
9257: if test "${PATH_SEPARATOR+set}" != set; then
9258: PATH_SEPARATOR=:
9259: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9260: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9261: PATH_SEPARATOR=';'
9262: }
9263: fi
9264:
9265:
9266: # IFS
9267: # We need space, tab and new line, in precisely that order. Quoting is
9268: # there to prevent editors from complaining about space-tab.
9269: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9270: # splitting by setting IFS to empty value.)
9271: IFS=" "" $as_nl"
9272:
9273: # Find who we are. Look in the path if we contain no directory separator.
9274: case $0 in #((
9275: *[\\/]* ) as_myself=$0 ;;
9276: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277: for as_dir in $PATH
9278: do
9279: IFS=$as_save_IFS
9280: test -z "$as_dir" && as_dir=.
9281: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9282: done
9283: IFS=$as_save_IFS
9284:
9285: ;;
9286: esac
9287: # We did not find ourselves, most probably we were run as `sh COMMAND'
9288: # in which case we are not to be found in the path.
9289: if test "x$as_myself" = x; then
9290: as_myself=$0
9291: fi
9292: if test ! -f "$as_myself"; then
9293: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9294: exit 1
9295: fi
9296:
9297: # Unset variables that we do not need and which cause bugs (e.g. in
9298: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9299: # suppresses any "Segmentation fault" message there. '((' could
9300: # trigger a bug in pdksh 5.2.14.
9301: for as_var in BASH_ENV ENV MAIL MAILPATH
9302: do eval test x\${$as_var+set} = xset \
9303: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9304: done
9305: PS1='$ '
9306: PS2='> '
9307: PS4='+ '
9308:
9309: # NLS nuisances.
9310: LC_ALL=C
9311: export LC_ALL
9312: LANGUAGE=C
9313: export LANGUAGE
9314:
9315: # CDPATH.
9316: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9317:
9318:
9319: # as_fn_error ERROR [LINENO LOG_FD]
9320: # ---------------------------------
9321: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9322: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9323: # script with status $?, using 1 if that was 0.
9324: as_fn_error ()
9325: {
9326: as_status=$?; test $as_status -eq 0 && as_status=1
9327: if test "$3"; then
9328: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9329: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
9330: fi
9331: $as_echo "$as_me: error: $1" >&2
9332: as_fn_exit $as_status
9333: } # as_fn_error
9334:
9335:
9336: # as_fn_set_status STATUS
9337: # -----------------------
9338: # Set $? to STATUS, without forking.
9339: as_fn_set_status ()
9340: {
9341: return $1
9342: } # as_fn_set_status
9343:
9344: # as_fn_exit STATUS
9345: # -----------------
9346: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9347: as_fn_exit ()
9348: {
9349: set +e
9350: as_fn_set_status $1
9351: exit $1
9352: } # as_fn_exit
9353:
9354: # as_fn_unset VAR
9355: # ---------------
9356: # Portably unset VAR.
9357: as_fn_unset ()
9358: {
9359: { eval $1=; unset $1;}
9360: }
9361: as_unset=as_fn_unset
9362: # as_fn_append VAR VALUE
9363: # ----------------------
9364: # Append the text in VALUE to the end of the definition contained in VAR. Take
9365: # advantage of any shell optimizations that allow amortized linear growth over
9366: # repeated appends, instead of the typical quadratic growth present in naive
9367: # implementations.
9368: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9369: eval 'as_fn_append ()
9370: {
9371: eval $1+=\$2
9372: }'
9373: else
9374: as_fn_append ()
9375: {
9376: eval $1=\$$1\$2
9377: }
9378: fi # as_fn_append
9379:
9380: # as_fn_arith ARG...
9381: # ------------------
9382: # Perform arithmetic evaluation on the ARGs, and store the result in the
9383: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9384: # must be portable across $(()) and expr.
9385: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9386: eval 'as_fn_arith ()
9387: {
9388: as_val=$(( $* ))
9389: }'
9390: else
9391: as_fn_arith ()
9392: {
9393: as_val=`expr "$@" || test $? -eq 1`
9394: }
9395: fi # as_fn_arith
9396:
9397:
9398: if expr a : '\(a\)' >/dev/null 2>&1 &&
9399: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9400: as_expr=expr
9401: else
9402: as_expr=false
9403: fi
9404:
9405: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9406: as_basename=basename
9407: else
9408: as_basename=false
9409: fi
9410:
9411: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9412: as_dirname=dirname
9413: else
9414: as_dirname=false
9415: fi
9416:
9417: as_me=`$as_basename -- "$0" ||
9418: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9419: X"$0" : 'X\(//\)$' \| \
9420: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9421: $as_echo X/"$0" |
9422: sed '/^.*\/\([^/][^/]*\)\/*$/{
9423: s//\1/
9424: q
9425: }
9426: /^X\/\(\/\/\)$/{
9427: s//\1/
9428: q
9429: }
9430: /^X\/\(\/\).*/{
9431: s//\1/
9432: q
9433: }
9434: s/.*/./; q'`
9435:
9436: # Avoid depending upon Character Ranges.
9437: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9438: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9439: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9440: as_cr_digits='0123456789'
9441: as_cr_alnum=$as_cr_Letters$as_cr_digits
9442:
9443: ECHO_C= ECHO_N= ECHO_T=
9444: case `echo -n x` in #(((((
9445: -n*)
9446: case `echo 'xy\c'` in
9447: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9448: xy) ECHO_C='\c';;
9449: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9450: ECHO_T=' ';;
9451: esac;;
9452: *)
9453: ECHO_N='-n';;
9454: esac
9455:
9456: rm -f conf$$ conf$$.exe conf$$.file
9457: if test -d conf$$.dir; then
9458: rm -f conf$$.dir/conf$$.file
9459: else
9460: rm -f conf$$.dir
9461: mkdir conf$$.dir 2>/dev/null
9462: fi
9463: if (echo >conf$$.file) 2>/dev/null; then
9464: if ln -s conf$$.file conf$$ 2>/dev/null; then
9465: as_ln_s='ln -s'
9466: # ... but there are two gotchas:
9467: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9468: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9469: # In both cases, we have to default to `cp -p'.
9470: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9471: as_ln_s='cp -p'
9472: elif ln conf$$.file conf$$ 2>/dev/null; then
9473: as_ln_s=ln
9474: else
9475: as_ln_s='cp -p'
9476: fi
9477: else
9478: as_ln_s='cp -p'
9479: fi
9480: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9481: rmdir conf$$.dir 2>/dev/null
9482:
9483:
9484: # as_fn_mkdir_p
9485: # -------------
9486: # Create "$as_dir" as a directory, including parents if necessary.
9487: as_fn_mkdir_p ()
9488: {
9489:
9490: case $as_dir in #(
9491: -*) as_dir=./$as_dir;;
9492: esac
9493: test -d "$as_dir" || eval $as_mkdir_p || {
9494: as_dirs=
9495: while :; do
9496: case $as_dir in #(
9497: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9498: *) as_qdir=$as_dir;;
9499: esac
9500: as_dirs="'$as_qdir' $as_dirs"
9501: as_dir=`$as_dirname -- "$as_dir" ||
9502: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9503: X"$as_dir" : 'X\(//\)[^/]' \| \
9504: X"$as_dir" : 'X\(//\)$' \| \
9505: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9506: $as_echo X"$as_dir" |
9507: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9508: s//\1/
9509: q
9510: }
9511: /^X\(\/\/\)[^/].*/{
9512: s//\1/
9513: q
9514: }
9515: /^X\(\/\/\)$/{
9516: s//\1/
9517: q
9518: }
9519: /^X\(\/\).*/{
9520: s//\1/
9521: q
9522: }
9523: s/.*/./; q'`
9524: test -d "$as_dir" && break
9525: done
9526: test -z "$as_dirs" || eval "mkdir $as_dirs"
9527: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9528:
9529:
9530: } # as_fn_mkdir_p
9531: if mkdir -p . 2>/dev/null; then
9532: as_mkdir_p='mkdir -p "$as_dir"'
9533: else
9534: test -d ./-p && rmdir ./-p
9535: as_mkdir_p=false
9536: fi
9537:
9538: if test -x / >/dev/null 2>&1; then
9539: as_test_x='test -x'
9540: else
9541: if ls -dL / >/dev/null 2>&1; then
9542: as_ls_L_option=L
9543: else
9544: as_ls_L_option=
9545: fi
9546: as_test_x='
9547: eval sh -c '\''
9548: if test -d "$1"; then
9549: test -d "$1/.";
9550: else
9551: case $1 in #(
9552: -*)set "./$1";;
9553: esac;
9554: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9555: ???[sx]*):;;*)false;;esac;fi
9556: '\'' sh
9557: '
9558: fi
9559: as_executable_p=$as_test_x
9560:
9561: # Sed expression to map a string onto a valid CPP name.
9562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9563:
9564: # Sed expression to map a string onto a valid variable name.
9565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9566:
9567:
9568: exec 6>&1
9569: ## ----------------------------------- ##
9570: ## Main body of $CONFIG_STATUS script. ##
9571: ## ----------------------------------- ##
9572: _ASEOF
9573: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9574:
9575: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9576: # Save the log message, to keep $0 and so on meaningful, and to
9577: # report actual input values of CONFIG_FILES etc. instead of their
9578: # values after options handling.
9579: ac_log="
9580: This file was extended by rpl $as_me 4.0.14, which was
9581: generated by GNU Autoconf 2.65. Invocation command line was
9582:
9583: CONFIG_FILES = $CONFIG_FILES
9584: CONFIG_HEADERS = $CONFIG_HEADERS
9585: CONFIG_LINKS = $CONFIG_LINKS
9586: CONFIG_COMMANDS = $CONFIG_COMMANDS
9587: $ $0 $@
9588:
9589: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9590: "
9591:
9592: _ACEOF
9593:
9594: case $ac_config_files in *"
9595: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9596: esac
9597:
9598: case $ac_config_headers in *"
9599: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9600: esac
9601:
9602:
9603: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9604: # Files that config.status was made for.
9605: config_files="$ac_config_files"
9606: config_headers="$ac_config_headers"
9607: config_commands="$ac_config_commands"
9608:
9609: _ACEOF
9610:
9611: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9612: ac_cs_usage="\
9613: \`$as_me' instantiates files and other configuration actions
9614: from templates according to the current configuration. Unless the files
9615: and actions are specified as TAGs, all are instantiated by default.
9616:
9617: Usage: $0 [OPTION]... [TAG]...
9618:
9619: -h, --help print this help, then exit
9620: -V, --version print version number and configuration settings, then exit
9621: --config print configuration, then exit
9622: -q, --quiet, --silent
9623: do not print progress messages
9624: -d, --debug don't remove temporary files
9625: --recheck update $as_me by reconfiguring in the same conditions
9626: --file=FILE[:TEMPLATE]
9627: instantiate the configuration file FILE
9628: --header=FILE[:TEMPLATE]
9629: instantiate the configuration header FILE
9630:
9631: Configuration files:
9632: $config_files
9633:
9634: Configuration headers:
9635: $config_headers
9636:
9637: Configuration commands:
9638: $config_commands
9639:
9640: Report bugs to the package provider."
9641:
9642: _ACEOF
9643: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9644: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9645: ac_cs_version="\\
9646: rpl config.status 4.0.14
9647: configured by $0, generated by GNU Autoconf 2.65,
9648: with options \\"\$ac_cs_config\\"
9649:
9650: Copyright (C) 2009 Free Software Foundation, Inc.
9651: This config.status script is free software; the Free Software Foundation
9652: gives unlimited permission to copy, distribute and modify it."
9653:
9654: ac_pwd='$ac_pwd'
9655: srcdir='$srcdir'
9656: INSTALL='$INSTALL'
9657: MKDIR_P='$MKDIR_P'
9658: AWK='$AWK'
9659: test -n "\$AWK" || AWK=awk
9660: _ACEOF
9661:
9662: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9663: # The default lists apply if the user does not specify any file.
9664: ac_need_defaults=:
9665: while test $# != 0
9666: do
9667: case $1 in
9668: --*=*)
9669: ac_option=`expr "X$1" : 'X\([^=]*\)='`
9670: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9671: ac_shift=:
9672: ;;
9673: *)
9674: ac_option=$1
9675: ac_optarg=$2
9676: ac_shift=shift
9677: ;;
9678: esac
9679:
9680: case $ac_option in
9681: # Handling of the options.
9682: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9683: ac_cs_recheck=: ;;
9684: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9685: $as_echo "$ac_cs_version"; exit ;;
9686: --config | --confi | --conf | --con | --co | --c )
9687: $as_echo "$ac_cs_config"; exit ;;
9688: --debug | --debu | --deb | --de | --d | -d )
9689: debug=: ;;
9690: --file | --fil | --fi | --f )
9691: $ac_shift
9692: case $ac_optarg in
9693: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9694: esac
9695: as_fn_append CONFIG_FILES " '$ac_optarg'"
9696: ac_need_defaults=false;;
9697: --header | --heade | --head | --hea )
9698: $ac_shift
9699: case $ac_optarg in
9700: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9701: esac
9702: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9703: ac_need_defaults=false;;
9704: --he | --h)
9705: # Conflict between --help and --header
9706: as_fn_error "ambiguous option: \`$1'
9707: Try \`$0 --help' for more information.";;
9708: --help | --hel | -h )
9709: $as_echo "$ac_cs_usage"; exit ;;
9710: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9711: | -silent | --silent | --silen | --sile | --sil | --si | --s)
9712: ac_cs_silent=: ;;
9713:
9714: # This is an error.
9715: -*) as_fn_error "unrecognized option: \`$1'
9716: Try \`$0 --help' for more information." ;;
9717:
9718: *) as_fn_append ac_config_targets " $1"
9719: ac_need_defaults=false ;;
9720:
9721: esac
9722: shift
9723: done
9724:
9725: ac_configure_extra_args=
9726:
9727: if $ac_cs_silent; then
9728: exec 6>/dev/null
9729: ac_configure_extra_args="$ac_configure_extra_args --silent"
9730: fi
9731:
9732: _ACEOF
9733: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9734: if \$ac_cs_recheck; then
9735: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9736: shift
9737: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9738: CONFIG_SHELL='$SHELL'
9739: export CONFIG_SHELL
9740: exec "\$@"
9741: fi
9742:
9743: _ACEOF
9744: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9745: exec 5>>config.log
9746: {
9747: echo
9748: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9749: ## Running $as_me. ##
9750: _ASBOX
9751: $as_echo "$ac_log"
9752: } >&5
9753:
9754: _ACEOF
9755: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9756: #
9757: # INIT-COMMANDS
9758: #
9759: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9760:
9761: _ACEOF
9762:
9763: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9764:
9765: # Handling of arguments.
9766: for ac_config_target in $ac_config_targets
9767: do
9768: case $ac_config_target in
9769: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
9770: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9771: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9772: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
9773: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
9774: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9775: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
9776: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
9777: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9778: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
9779: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
9780: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
9781: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
9782: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
9783: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
9784: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
9785: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
9786: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
9787: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
9788: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
9789: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
9790: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
9791: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
9792: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
9793: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
9794: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
9795: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
9796: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
9797:
9798: *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9799: esac
9800: done
9801:
9802:
9803: # If the user did not use the arguments to specify the items to instantiate,
9804: # then the envvar interface is used. Set only those that are not.
9805: # We use the long form for the default assignment because of an extremely
9806: # bizarre bug on SunOS 4.1.3.
9807: if $ac_need_defaults; then
9808: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9809: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9810: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9811: fi
9812:
9813: # Have a temporary directory for convenience. Make it in the build tree
9814: # simply because there is no reason against having it here, and in addition,
9815: # creating and moving files from /tmp can sometimes cause problems.
9816: # Hook for its removal unless debugging.
9817: # Note that there is a small window in which the directory will not be cleaned:
9818: # after its creation but before its name has been assigned to `$tmp'.
9819: $debug ||
9820: {
9821: tmp=
9822: trap 'exit_status=$?
9823: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9824: ' 0
9825: trap 'as_fn_exit 1' 1 2 13 15
9826: }
9827: # Create a (secure) tmp directory for tmp files.
9828:
9829: {
9830: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9831: test -n "$tmp" && test -d "$tmp"
9832: } ||
9833: {
9834: tmp=./conf$$-$RANDOM
9835: (umask 077 && mkdir "$tmp")
9836: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9837:
9838: # Set up the scripts for CONFIG_FILES section.
9839: # No need to generate them if there are no CONFIG_FILES.
9840: # This happens for instance with `./config.status config.h'.
9841: if test -n "$CONFIG_FILES"; then
9842:
9843:
9844: ac_cr=`echo X | tr X '\015'`
9845: # On cygwin, bash can eat \r inside `` if the user requested igncr.
9846: # But we know of no other shell where ac_cr would be empty at this
9847: # point, so we can use a bashism as a fallback.
9848: if test "x$ac_cr" = x; then
9849: eval ac_cr=\$\'\\r\'
9850: fi
9851: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9852: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9853: ac_cs_awk_cr='\r'
9854: else
9855: ac_cs_awk_cr=$ac_cr
9856: fi
9857:
9858: echo 'BEGIN {' >"$tmp/subs1.awk" &&
9859: _ACEOF
9860:
9861:
9862: {
9863: echo "cat >conf$$subs.awk <<_ACEOF" &&
9864: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9865: echo "_ACEOF"
9866: } >conf$$subs.sh ||
9867: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9868: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9869: ac_delim='%!_!# '
9870: for ac_last_try in false false false false false :; do
9871: . ./conf$$subs.sh ||
9872: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9873:
9874: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9875: if test $ac_delim_n = $ac_delim_num; then
9876: break
9877: elif $ac_last_try; then
9878: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9879: else
9880: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9881: fi
9882: done
9883: rm -f conf$$subs.sh
9884:
9885: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9886: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9887: _ACEOF
9888: sed -n '
9889: h
9890: s/^/S["/; s/!.*/"]=/
9891: p
9892: g
9893: s/^[^!]*!//
9894: :repl
9895: t repl
9896: s/'"$ac_delim"'$//
9897: t delim
9898: :nl
9899: h
9900: s/\(.\{148\}\)..*/\1/
9901: t more1
9902: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9903: p
9904: n
9905: b repl
9906: :more1
9907: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9908: p
9909: g
9910: s/.\{148\}//
9911: t nl
9912: :delim
9913: h
9914: s/\(.\{148\}\)..*/\1/
9915: t more2
9916: s/["\\]/\\&/g; s/^/"/; s/$/"/
9917: p
9918: b
9919: :more2
9920: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9921: p
9922: g
9923: s/.\{148\}//
9924: t delim
9925: ' <conf$$subs.awk | sed '
9926: /^[^""]/{
9927: N
9928: s/\n//
9929: }
9930: ' >>$CONFIG_STATUS || ac_write_fail=1
9931: rm -f conf$$subs.awk
9932: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9933: _ACAWK
9934: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9935: for (key in S) S_is_set[key] = 1
9936: FS = ""
9937:
9938: }
9939: {
9940: line = $ 0
9941: nfields = split(line, field, "@")
9942: substed = 0
9943: len = length(field[1])
9944: for (i = 2; i < nfields; i++) {
9945: key = field[i]
9946: keylen = length(key)
9947: if (S_is_set[key]) {
9948: value = S[key]
9949: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9950: len += length(value) + length(field[++i])
9951: substed = 1
9952: } else
9953: len += 1 + keylen
9954: }
9955:
9956: print line
9957: }
9958:
9959: _ACAWK
9960: _ACEOF
9961: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9962: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9963: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9964: else
9965: cat
9966: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9967: || as_fn_error "could not setup config files machinery" "$LINENO" 5
9968: _ACEOF
9969:
9970: # VPATH may cause trouble with some makes, so we remove $(srcdir),
9971: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9972: # trailing colons and then remove the whole line if VPATH becomes empty
9973: # (actually we leave an empty line to preserve line numbers).
9974: if test "x$srcdir" = x.; then
9975: ac_vpsub='/^[ ]*VPATH[ ]*=/{
9976: s/:*\$(srcdir):*/:/
9977: s/:*\${srcdir}:*/:/
9978: s/:*@srcdir@:*/:/
9979: s/^\([^=]*=[ ]*\):*/\1/
9980: s/:*$//
9981: s/^[^=]*=[ ]*$//
9982: }'
9983: fi
9984:
9985: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9986: fi # test -n "$CONFIG_FILES"
9987:
9988: # Set up the scripts for CONFIG_HEADERS section.
9989: # No need to generate them if there are no CONFIG_HEADERS.
9990: # This happens for instance with `./config.status Makefile'.
9991: if test -n "$CONFIG_HEADERS"; then
9992: cat >"$tmp/defines.awk" <<\_ACAWK ||
9993: BEGIN {
9994: _ACEOF
9995:
9996: # Transform confdefs.h into an awk script `defines.awk', embedded as
9997: # here-document in config.status, that substitutes the proper values into
9998: # config.h.in to produce config.h.
9999:
10000: # Create a delimiter string that does not exist in confdefs.h, to ease
10001: # handling of long lines.
10002: ac_delim='%!_!# '
10003: for ac_last_try in false false :; do
10004: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10005: if test -z "$ac_t"; then
10006: break
10007: elif $ac_last_try; then
10008: as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10009: else
10010: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10011: fi
10012: done
10013:
10014: # For the awk script, D is an array of macro values keyed by name,
10015: # likewise P contains macro parameters if any. Preserve backslash
10016: # newline sequences.
10017:
10018: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10019: sed -n '
10020: s/.\{148\}/&'"$ac_delim"'/g
10021: t rset
10022: :rset
10023: s/^[ ]*#[ ]*define[ ][ ]*/ /
10024: t def
10025: d
10026: :def
10027: s/\\$//
10028: t bsnl
10029: s/["\\]/\\&/g
10030: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10031: D["\1"]=" \3"/p
10032: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10033: d
10034: :bsnl
10035: s/["\\]/\\&/g
10036: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10037: D["\1"]=" \3\\\\\\n"\\/p
10038: t cont
10039: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10040: t cont
10041: d
10042: :cont
10043: n
10044: s/.\{148\}/&'"$ac_delim"'/g
10045: t clear
10046: :clear
10047: s/\\$//
10048: t bsnlc
10049: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10050: d
10051: :bsnlc
10052: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10053: b cont
10054: ' <confdefs.h | sed '
10055: s/'"$ac_delim"'/"\\\
10056: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10057:
10058: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10059: for (key in D) D_is_set[key] = 1
10060: FS = ""
10061: }
10062: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10063: line = \$ 0
10064: split(line, arg, " ")
10065: if (arg[1] == "#") {
10066: defundef = arg[2]
10067: mac1 = arg[3]
10068: } else {
10069: defundef = substr(arg[1], 2)
10070: mac1 = arg[2]
10071: }
10072: split(mac1, mac2, "(") #)
10073: macro = mac2[1]
10074: prefix = substr(line, 1, index(line, defundef) - 1)
10075: if (D_is_set[macro]) {
10076: # Preserve the white space surrounding the "#".
10077: print prefix "define", macro P[macro] D[macro]
10078: next
10079: } else {
10080: # Replace #undef with comments. This is necessary, for example,
10081: # in the case of _POSIX_SOURCE, which is predefined and required
10082: # on some systems where configure will not decide to define it.
10083: if (defundef == "undef") {
10084: print "/*", prefix defundef, macro, "*/"
10085: next
10086: }
10087: }
10088: }
10089: { print }
10090: _ACAWK
10091: _ACEOF
10092: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10093: as_fn_error "could not setup config headers machinery" "$LINENO" 5
10094: fi # test -n "$CONFIG_HEADERS"
10095:
10096:
10097: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10098: shift
10099: for ac_tag
10100: do
10101: case $ac_tag in
10102: :[FHLC]) ac_mode=$ac_tag; continue;;
10103: esac
10104: case $ac_mode$ac_tag in
10105: :[FHL]*:*);;
10106: :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10107: :[FH]-) ac_tag=-:-;;
10108: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10109: esac
10110: ac_save_IFS=$IFS
10111: IFS=:
10112: set x $ac_tag
10113: IFS=$ac_save_IFS
10114: shift
10115: ac_file=$1
10116: shift
10117:
10118: case $ac_mode in
10119: :L) ac_source=$1;;
10120: :[FH])
10121: ac_file_inputs=
10122: for ac_f
10123: do
10124: case $ac_f in
10125: -) ac_f="$tmp/stdin";;
10126: *) # Look for the file first in the build tree, then in the source tree
10127: # (if the path is not absolute). The absolute path cannot be DOS-style,
10128: # because $ac_f cannot contain `:'.
10129: test -f "$ac_f" ||
10130: case $ac_f in
10131: [\\/$]*) false;;
10132: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10133: esac ||
10134: as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10135: esac
10136: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10137: as_fn_append ac_file_inputs " '$ac_f'"
10138: done
10139:
10140: # Let's still pretend it is `configure' which instantiates (i.e., don't
10141: # use $as_me), people would be surprised to read:
10142: # /* config.h. Generated by config.status. */
10143: configure_input='Generated from '`
10144: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10145: `' by configure.'
10146: if test x"$ac_file" != x-; then
10147: configure_input="$ac_file. $configure_input"
10148: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10149: $as_echo "$as_me: creating $ac_file" >&6;}
10150: fi
10151: # Neutralize special characters interpreted by sed in replacement strings.
10152: case $configure_input in #(
10153: *\&* | *\|* | *\\* )
10154: ac_sed_conf_input=`$as_echo "$configure_input" |
10155: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10156: *) ac_sed_conf_input=$configure_input;;
10157: esac
10158:
10159: case $ac_tag in
10160: *:-:* | *:-) cat >"$tmp/stdin" \
10161: || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10162: esac
10163: ;;
10164: esac
10165:
10166: ac_dir=`$as_dirname -- "$ac_file" ||
10167: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10168: X"$ac_file" : 'X\(//\)[^/]' \| \
10169: X"$ac_file" : 'X\(//\)$' \| \
10170: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10171: $as_echo X"$ac_file" |
10172: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10173: s//\1/
10174: q
10175: }
10176: /^X\(\/\/\)[^/].*/{
10177: s//\1/
10178: q
10179: }
10180: /^X\(\/\/\)$/{
10181: s//\1/
10182: q
10183: }
10184: /^X\(\/\).*/{
10185: s//\1/
10186: q
10187: }
10188: s/.*/./; q'`
10189: as_dir="$ac_dir"; as_fn_mkdir_p
10190: ac_builddir=.
10191:
10192: case "$ac_dir" in
10193: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10194: *)
10195: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10196: # A ".." for each directory in $ac_dir_suffix.
10197: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10198: case $ac_top_builddir_sub in
10199: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10200: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10201: esac ;;
10202: esac
10203: ac_abs_top_builddir=$ac_pwd
10204: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10205: # for backward compatibility:
10206: ac_top_builddir=$ac_top_build_prefix
10207:
10208: case $srcdir in
10209: .) # We are building in place.
10210: ac_srcdir=.
10211: ac_top_srcdir=$ac_top_builddir_sub
10212: ac_abs_top_srcdir=$ac_pwd ;;
10213: [\\/]* | ?:[\\/]* ) # Absolute name.
10214: ac_srcdir=$srcdir$ac_dir_suffix;
10215: ac_top_srcdir=$srcdir
10216: ac_abs_top_srcdir=$srcdir ;;
10217: *) # Relative name.
10218: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10219: ac_top_srcdir=$ac_top_build_prefix$srcdir
10220: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10221: esac
10222: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10223:
10224:
10225: case $ac_mode in
10226: :F)
10227: #
10228: # CONFIG_FILE
10229: #
10230:
10231: case $INSTALL in
10232: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10233: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10234: esac
10235: ac_MKDIR_P=$MKDIR_P
10236: case $MKDIR_P in
10237: [\\/$]* | ?:[\\/]* ) ;;
10238: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10239: esac
10240: _ACEOF
10241:
10242: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10243: # If the template does not know about datarootdir, expand it.
10244: # FIXME: This hack should be removed a few years after 2.60.
10245: ac_datarootdir_hack=; ac_datarootdir_seen=
10246: ac_sed_dataroot='
10247: /datarootdir/ {
10248: p
10249: q
10250: }
10251: /@datadir@/p
10252: /@docdir@/p
10253: /@infodir@/p
10254: /@localedir@/p
10255: /@mandir@/p'
10256: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10257: *datarootdir*) ac_datarootdir_seen=yes;;
10258: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10259: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10260: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10261: _ACEOF
10262: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10263: ac_datarootdir_hack='
10264: s&@datadir@&$datadir&g
10265: s&@docdir@&$docdir&g
10266: s&@infodir@&$infodir&g
10267: s&@localedir@&$localedir&g
10268: s&@mandir@&$mandir&g
10269: s&\\\${datarootdir}&$datarootdir&g' ;;
10270: esac
10271: _ACEOF
10272:
10273: # Neutralize VPATH when `$srcdir' = `.'.
10274: # Shell code in configure.ac might set extrasub.
10275: # FIXME: do we really want to maintain this feature?
10276: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10277: ac_sed_extra="$ac_vpsub
10278: $extrasub
10279: _ACEOF
10280: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10281: :t
10282: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10283: s|@configure_input@|$ac_sed_conf_input|;t t
10284: s&@top_builddir@&$ac_top_builddir_sub&;t t
10285: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10286: s&@srcdir@&$ac_srcdir&;t t
10287: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10288: s&@top_srcdir@&$ac_top_srcdir&;t t
10289: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10290: s&@builddir@&$ac_builddir&;t t
10291: s&@abs_builddir@&$ac_abs_builddir&;t t
10292: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10293: s&@INSTALL@&$ac_INSTALL&;t t
10294: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10295: $ac_datarootdir_hack
10296: "
10297: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10298: || as_fn_error "could not create $ac_file" "$LINENO" 5
10299:
10300: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10301: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10302: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10303: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10304: which seems to be undefined. Please make sure it is defined." >&5
10305: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10306: which seems to be undefined. Please make sure it is defined." >&2;}
10307:
10308: rm -f "$tmp/stdin"
10309: case $ac_file in
10310: -) cat "$tmp/out" && rm -f "$tmp/out";;
10311: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10312: esac \
10313: || as_fn_error "could not create $ac_file" "$LINENO" 5
10314: ;;
10315: :H)
10316: #
10317: # CONFIG_HEADER
10318: #
10319: if test x"$ac_file" != x-; then
10320: {
10321: $as_echo "/* $configure_input */" \
10322: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10323: } >"$tmp/config.h" \
10324: || as_fn_error "could not create $ac_file" "$LINENO" 5
10325: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10326: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10327: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10328: else
10329: rm -f "$ac_file"
10330: mv "$tmp/config.h" "$ac_file" \
10331: || as_fn_error "could not create $ac_file" "$LINENO" 5
10332: fi
10333: else
10334: $as_echo "/* $configure_input */" \
10335: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10336: || as_fn_error "could not create -" "$LINENO" 5
10337: fi
10338: # Compute "$ac_file"'s index in $config_headers.
10339: _am_arg="$ac_file"
10340: _am_stamp_count=1
10341: for _am_header in $config_headers :; do
10342: case $_am_header in
10343: $_am_arg | $_am_arg:* )
10344: break ;;
10345: * )
10346: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10347: esac
10348: done
10349: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10350: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10351: X"$_am_arg" : 'X\(//\)[^/]' \| \
10352: X"$_am_arg" : 'X\(//\)$' \| \
10353: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10354: $as_echo X"$_am_arg" |
10355: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10356: s//\1/
10357: q
10358: }
10359: /^X\(\/\/\)[^/].*/{
10360: s//\1/
10361: q
10362: }
10363: /^X\(\/\/\)$/{
10364: s//\1/
10365: q
10366: }
10367: /^X\(\/\).*/{
10368: s//\1/
10369: q
10370: }
10371: s/.*/./; q'`/stamp-h$_am_stamp_count
10372: ;;
10373:
10374: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10375: $as_echo "$as_me: executing $ac_file commands" >&6;}
10376: ;;
10377: esac
10378:
10379:
10380: case $ac_file$ac_mode in
10381: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10382: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10383: # are listed without --file. Let's play safe and only enable the eval
10384: # if we detect the quoting.
10385: case $CONFIG_FILES in
10386: *\'*) eval set x "$CONFIG_FILES" ;;
10387: *) set x $CONFIG_FILES ;;
10388: esac
10389: shift
10390: for mf
10391: do
10392: # Strip MF so we end up with the name of the file.
10393: mf=`echo "$mf" | sed -e 's/:.*$//'`
10394: # Check whether this is an Automake generated Makefile or not.
10395: # We used to match only the files named `Makefile.in', but
10396: # some people rename them; so instead we look at the file content.
10397: # Grep'ing the first line is not enough: some people post-process
10398: # each Makefile.in and add a new line on top of each file to say so.
10399: # Grep'ing the whole file is not good either: AIX grep has a line
10400: # limit of 2048, but all sed's we know have understand at least 4000.
10401: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10402: dirpart=`$as_dirname -- "$mf" ||
10403: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10404: X"$mf" : 'X\(//\)[^/]' \| \
10405: X"$mf" : 'X\(//\)$' \| \
10406: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10407: $as_echo X"$mf" |
10408: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10409: s//\1/
10410: q
10411: }
10412: /^X\(\/\/\)[^/].*/{
10413: s//\1/
10414: q
10415: }
10416: /^X\(\/\/\)$/{
10417: s//\1/
10418: q
10419: }
10420: /^X\(\/\).*/{
10421: s//\1/
10422: q
10423: }
10424: s/.*/./; q'`
10425: else
10426: continue
10427: fi
10428: # Extract the definition of DEPDIR, am__include, and am__quote
10429: # from the Makefile without running `make'.
10430: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10431: test -z "$DEPDIR" && continue
10432: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10433: test -z "am__include" && continue
10434: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10435: # When using ansi2knr, U may be empty or an underscore; expand it
10436: U=`sed -n 's/^U = //p' < "$mf"`
10437: # Find all dependency output files, they are included files with
10438: # $(DEPDIR) in their names. We invoke sed twice because it is the
10439: # simplest approach to changing $(DEPDIR) to its actual value in the
10440: # expansion.
10441: for file in `sed -n "
10442: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10443: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10444: # Make sure the directory exists.
10445: test -f "$dirpart/$file" && continue
10446: fdir=`$as_dirname -- "$file" ||
10447: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10448: X"$file" : 'X\(//\)[^/]' \| \
10449: X"$file" : 'X\(//\)$' \| \
10450: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10451: $as_echo X"$file" |
10452: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10453: s//\1/
10454: q
10455: }
10456: /^X\(\/\/\)[^/].*/{
10457: s//\1/
10458: q
10459: }
10460: /^X\(\/\/\)$/{
10461: s//\1/
10462: q
10463: }
10464: /^X\(\/\).*/{
10465: s//\1/
10466: q
10467: }
10468: s/.*/./; q'`
10469: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10470: # echo "creating $dirpart/$file"
10471: echo '# dummy' > "$dirpart/$file"
10472: done
10473: done
10474: }
10475: ;;
10476:
10477: esac
10478: done # for ac_tag
10479:
10480:
10481: as_fn_exit 0
10482: _ACEOF
10483: ac_clean_files=$ac_clean_files_save
10484:
10485: test $ac_write_fail = 0 ||
10486: as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10487:
10488:
10489: # configure is writing to config.log, and then calls config.status.
10490: # config.status does its own redirection, appending to config.log.
10491: # Unfortunately, on DOS this fails, as config.log is still kept open
10492: # by configure, so config.status won't be able to write to it; its
10493: # output is simply discarded. So we exec the FD to /dev/null,
10494: # effectively closing config.log, so it can be properly (re)opened and
10495: # appended to by config.status. When coming back to configure, we
10496: # need to make the FD available again.
10497: if test "$no_create" != yes; then
10498: ac_cs_success=:
10499: ac_config_status_args=
10500: test "$silent" = yes &&
10501: ac_config_status_args="$ac_config_status_args --quiet"
10502: exec 5>/dev/null
10503: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10504: exec 5>>config.log
10505: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10506: # would make configure fail if this is the last instruction.
10507: $ac_cs_success || as_fn_exit $?
10508: fi
10509:
10510: #
10511: # CONFIG_SUBDIRS section.
10512: #
10513: if test "$no_recursion" != yes; then
10514:
10515: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10516: # so they do not pile up.
10517: ac_sub_configure_args=
10518: ac_prev=
10519: eval "set x $ac_configure_args"
10520: shift
10521: for ac_arg
10522: do
10523: if test -n "$ac_prev"; then
10524: ac_prev=
10525: continue
10526: fi
10527: case $ac_arg in
10528: -cache-file | --cache-file | --cache-fil | --cache-fi \
10529: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10530: ac_prev=cache_file ;;
10531: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10532: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10533: | --c=*)
10534: ;;
10535: --config-cache | -C)
10536: ;;
10537: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10538: ac_prev=srcdir ;;
10539: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10540: ;;
10541: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10542: ac_prev=prefix ;;
10543: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10544: ;;
10545: --disable-option-checking)
10546: ;;
10547: *)
10548: case $ac_arg in
10549: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10550: esac
10551: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10552: esac
10553: done
10554:
10555: # Always prepend --prefix to ensure using the same prefix
10556: # in subdir configurations.
10557: ac_arg="--prefix=$prefix"
10558: case $ac_arg in
10559: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10560: esac
10561: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10562:
10563: # Pass --silent
10564: if test "$silent" = yes; then
10565: ac_sub_configure_args="--silent $ac_sub_configure_args"
10566: fi
10567:
10568: # Always prepend --disable-option-checking to silence warnings, since
10569: # different subdirs can have different --enable and --with options.
10570: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10571:
10572: ac_popdir=`pwd`
10573: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10574:
10575: # Do not complain, so a configure script can configure whichever
10576: # parts of a large source tree are present.
10577: test -d "$srcdir/$ac_dir" || continue
10578:
10579: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10580: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10581: $as_echo "$ac_msg" >&6
10582: as_dir="$ac_dir"; as_fn_mkdir_p
10583: ac_builddir=.
10584:
10585: case "$ac_dir" in
10586: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10587: *)
10588: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10589: # A ".." for each directory in $ac_dir_suffix.
10590: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10591: case $ac_top_builddir_sub in
10592: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10593: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10594: esac ;;
10595: esac
10596: ac_abs_top_builddir=$ac_pwd
10597: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10598: # for backward compatibility:
10599: ac_top_builddir=$ac_top_build_prefix
10600:
10601: case $srcdir in
10602: .) # We are building in place.
10603: ac_srcdir=.
10604: ac_top_srcdir=$ac_top_builddir_sub
10605: ac_abs_top_srcdir=$ac_pwd ;;
10606: [\\/]* | ?:[\\/]* ) # Absolute name.
10607: ac_srcdir=$srcdir$ac_dir_suffix;
10608: ac_top_srcdir=$srcdir
10609: ac_abs_top_srcdir=$srcdir ;;
10610: *) # Relative name.
10611: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10612: ac_top_srcdir=$ac_top_build_prefix$srcdir
10613: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10614: esac
10615: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10616:
10617:
10618: cd "$ac_dir"
10619:
10620: # Check for guested configure; otherwise get Cygnus style configure.
10621: if test -f "$ac_srcdir/configure.gnu"; then
10622: ac_sub_configure=$ac_srcdir/configure.gnu
10623: elif test -f "$ac_srcdir/configure"; then
10624: ac_sub_configure=$ac_srcdir/configure
10625: elif test -f "$ac_srcdir/configure.in"; then
10626: # This should be Cygnus configure.
10627: ac_sub_configure=$ac_aux_dir/configure
10628: else
10629: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10630: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10631: ac_sub_configure=
10632: fi
10633:
10634: # The recursion is here.
10635: if test -n "$ac_sub_configure"; then
10636: # Make the cache file name correct relative to the subdirectory.
10637: case $cache_file in
10638: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10639: *) # Relative name.
10640: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10641: esac
10642:
10643: { $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
10644: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10645: # The eval makes quoting arguments work.
10646: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10647: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10648: as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10649: fi
10650:
10651: cd "$ac_popdir"
10652: done
10653: fi
10654: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10655: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10656: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10657: fi
10658:
CVSweb interface <joel.bertrand@systella.fr>