1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.68 for rpl 4.0.24.
4: #
5: #
6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8: # Foundation, Inc.
9: #
10: #
11: # This configure script is free software; the Free Software Foundation
12: # gives unlimited permission to copy, distribute and modify it.
13: ## -------------------- ##
14: ## M4sh Initialization. ##
15: ## -------------------- ##
16:
17: # Be more Bourne compatible
18: DUALCASE=1; export DUALCASE # for MKS sh
19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20: emulate sh
21: NULLCMD=:
22: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23: # is contrary to our usage. Disable this feature.
24: alias -g '${1+"$@"}'='"$@"'
25: setopt NO_GLOB_SUBST
26: else
27: case `(set -o) 2>/dev/null` in #(
28: *posix*) :
29: set -o posix ;; #(
30: *) :
31: ;;
32: esac
33: fi
34:
35:
36: as_nl='
37: '
38: export as_nl
39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43: # Prefer a ksh shell builtin over an external printf program on Solaris,
44: # but without wasting forks for bash or zsh.
45: if test -z "$BASH_VERSION$ZSH_VERSION" \
46: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47: as_echo='print -r --'
48: as_echo_n='print -rn --'
49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50: as_echo='printf %s\n'
51: as_echo_n='printf %s'
52: else
53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55: as_echo_n='/usr/ucb/echo -n'
56: else
57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58: as_echo_n_body='eval
59: arg=$1;
60: case $arg in #(
61: *"$as_nl"*)
62: expr "X$arg" : "X\\(.*\\)$as_nl";
63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64: esac;
65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66: '
67: export as_echo_n_body
68: as_echo_n='sh -c $as_echo_n_body as_echo'
69: fi
70: export as_echo_body
71: as_echo='sh -c $as_echo_body as_echo'
72: fi
73:
74: # The user is always right.
75: if test "${PATH_SEPARATOR+set}" != set; then
76: PATH_SEPARATOR=:
77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79: PATH_SEPARATOR=';'
80: }
81: fi
82:
83:
84: # IFS
85: # We need space, tab and new line, in precisely that order. Quoting is
86: # there to prevent editors from complaining about space-tab.
87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88: # splitting by setting IFS to empty value.)
89: IFS=" "" $as_nl"
90:
91: # Find who we are. Look in the path if we contain no directory separator.
92: as_myself=
93: case $0 in #((
94: *[\\/]* ) as_myself=$0 ;;
95: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96: for as_dir in $PATH
97: do
98: IFS=$as_save_IFS
99: test -z "$as_dir" && as_dir=.
100: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101: done
102: IFS=$as_save_IFS
103:
104: ;;
105: esac
106: # We did not find ourselves, most probably we were run as `sh COMMAND'
107: # in which case we are not to be found in the path.
108: if test "x$as_myself" = x; then
109: as_myself=$0
110: fi
111: if test ! -f "$as_myself"; then
112: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113: exit 1
114: fi
115:
116: # Unset variables that we do not need and which cause bugs (e.g. in
117: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118: # suppresses any "Segmentation fault" message there. '((' could
119: # trigger a bug in pdksh 5.2.14.
120: for as_var in BASH_ENV ENV MAIL MAILPATH
121: do eval test x\${$as_var+set} = xset \
122: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # CDPATH.
135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136:
137: if test "x$CONFIG_SHELL" = x; then
138: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139: emulate sh
140: NULLCMD=:
141: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142: # is contrary to our usage. Disable this feature.
143: alias -g '\${1+\"\$@\"}'='\"\$@\"'
144: setopt NO_GLOB_SUBST
145: else
146: case \`(set -o) 2>/dev/null\` in #(
147: *posix*) :
148: set -o posix ;; #(
149: *) :
150: ;;
151: esac
152: fi
153: "
154: as_required="as_fn_return () { (exit \$1); }
155: as_fn_success () { as_fn_return 0; }
156: as_fn_failure () { as_fn_return 1; }
157: as_fn_ret_success () { return 0; }
158: as_fn_ret_failure () { return 1; }
159:
160: exitcode=0
161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166:
167: else
168: exitcode=1; echo positional parameters were not saved.
169: fi
170: test x\$exitcode = x0 || exit 1"
171: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175: test \$(( 1 + 1 )) = 2 || exit 1"
176: if (eval "$as_required") 2>/dev/null; then :
177: as_have_required=yes
178: else
179: as_have_required=no
180: fi
181: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182:
183: else
184: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185: as_found=false
186: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187: do
188: IFS=$as_save_IFS
189: test -z "$as_dir" && as_dir=.
190: as_found=:
191: case $as_dir in #(
192: /*)
193: for as_base in sh bash ksh sh5; do
194: # Try only shells that exist, to save several forks.
195: as_shell=$as_dir/$as_base
196: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198: CONFIG_SHELL=$as_shell as_have_required=yes
199: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200: break 2
201: fi
202: fi
203: done;;
204: esac
205: as_found=false
206: done
207: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209: CONFIG_SHELL=$SHELL as_have_required=yes
210: fi; }
211: IFS=$as_save_IFS
212:
213:
214: if test "x$CONFIG_SHELL" != x; then :
215: # We cannot yet assume a decent shell, so we have to provide a
216: # neutralization value for shells without unset; and this also
217: # works around shells that cannot unset nonexistent variables.
218: # Preserve -v and -x to the replacement shell.
219: BASH_ENV=/dev/null
220: ENV=/dev/null
221: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222: export CONFIG_SHELL
223: case $- in # ((((
224: *v*x* | *x*v* ) as_opts=-vx ;;
225: *v* ) as_opts=-v ;;
226: *x* ) as_opts=-x ;;
227: * ) as_opts= ;;
228: esac
229: exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230: fi
231:
232: if test x$as_have_required = xno; then :
233: $as_echo "$0: This script requires a shell more modern than all"
234: $as_echo "$0: the shells that I found on your system."
235: if test x${ZSH_VERSION+set} = xset ; then
236: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238: else
239: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240: $0: including any error possibly output before this
241: $0: message. Then install a modern shell, or manually run
242: $0: the script under such a shell if you do have one."
243: fi
244: exit 1
245: fi
246: fi
247: fi
248: SHELL=${CONFIG_SHELL-/bin/sh}
249: export SHELL
250: # Unset more variables known to interfere with behavior of common tools.
251: CLICOLOR_FORCE= GREP_OPTIONS=
252: unset CLICOLOR_FORCE GREP_OPTIONS
253:
254: ## --------------------- ##
255: ## M4sh Shell Functions. ##
256: ## --------------------- ##
257: # as_fn_unset VAR
258: # ---------------
259: # Portably unset VAR.
260: as_fn_unset ()
261: {
262: { eval $1=; unset $1;}
263: }
264: as_unset=as_fn_unset
265:
266: # as_fn_set_status STATUS
267: # -----------------------
268: # Set $? to STATUS, without forking.
269: as_fn_set_status ()
270: {
271: return $1
272: } # as_fn_set_status
273:
274: # as_fn_exit STATUS
275: # -----------------
276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277: as_fn_exit ()
278: {
279: set +e
280: as_fn_set_status $1
281: exit $1
282: } # as_fn_exit
283:
284: # as_fn_mkdir_p
285: # -------------
286: # Create "$as_dir" as a directory, including parents if necessary.
287: as_fn_mkdir_p ()
288: {
289:
290: case $as_dir in #(
291: -*) as_dir=./$as_dir;;
292: esac
293: test -d "$as_dir" || eval $as_mkdir_p || {
294: as_dirs=
295: while :; do
296: case $as_dir in #(
297: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298: *) as_qdir=$as_dir;;
299: esac
300: as_dirs="'$as_qdir' $as_dirs"
301: as_dir=`$as_dirname -- "$as_dir" ||
302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303: X"$as_dir" : 'X\(//\)[^/]' \| \
304: X"$as_dir" : 'X\(//\)$' \| \
305: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306: $as_echo X"$as_dir" |
307: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308: s//\1/
309: q
310: }
311: /^X\(\/\/\)[^/].*/{
312: s//\1/
313: q
314: }
315: /^X\(\/\/\)$/{
316: s//\1/
317: q
318: }
319: /^X\(\/\).*/{
320: s//\1/
321: q
322: }
323: s/.*/./; q'`
324: test -d "$as_dir" && break
325: done
326: test -z "$as_dirs" || eval "mkdir $as_dirs"
327: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328:
329:
330: } # as_fn_mkdir_p
331: # as_fn_append VAR VALUE
332: # ----------------------
333: # Append the text in VALUE to the end of the definition contained in VAR. Take
334: # advantage of any shell optimizations that allow amortized linear growth over
335: # repeated appends, instead of the typical quadratic growth present in naive
336: # implementations.
337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338: eval 'as_fn_append ()
339: {
340: eval $1+=\$2
341: }'
342: else
343: as_fn_append ()
344: {
345: eval $1=\$$1\$2
346: }
347: fi # as_fn_append
348:
349: # as_fn_arith ARG...
350: # ------------------
351: # Perform arithmetic evaluation on the ARGs, and store the result in the
352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
353: # must be portable across $(()) and expr.
354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355: eval 'as_fn_arith ()
356: {
357: as_val=$(( $* ))
358: }'
359: else
360: as_fn_arith ()
361: {
362: as_val=`expr "$@" || test $? -eq 1`
363: }
364: fi # as_fn_arith
365:
366:
367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
368: # ----------------------------------------
369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371: # script with STATUS, using 1 if that was 0.
372: as_fn_error ()
373: {
374: as_status=$1; test $as_status -eq 0 && as_status=1
375: if test "$4"; then
376: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378: fi
379: $as_echo "$as_me: error: $2" >&2
380: as_fn_exit $as_status
381: } # as_fn_error
382:
383: if expr a : '\(a\)' >/dev/null 2>&1 &&
384: test "X`expr 00001 : '.*\(...\)'`" = X001; then
385: as_expr=expr
386: else
387: as_expr=false
388: fi
389:
390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391: as_basename=basename
392: else
393: as_basename=false
394: fi
395:
396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397: as_dirname=dirname
398: else
399: as_dirname=false
400: fi
401:
402: as_me=`$as_basename -- "$0" ||
403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404: X"$0" : 'X\(//\)$' \| \
405: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406: $as_echo X/"$0" |
407: sed '/^.*\/\([^/][^/]*\)\/*$/{
408: s//\1/
409: q
410: }
411: /^X\/\(\/\/\)$/{
412: s//\1/
413: q
414: }
415: /^X\/\(\/\).*/{
416: s//\1/
417: q
418: }
419: s/.*/./; q'`
420:
421: # Avoid depending upon Character Ranges.
422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425: as_cr_digits='0123456789'
426: as_cr_alnum=$as_cr_Letters$as_cr_digits
427:
428:
429: as_lineno_1=$LINENO as_lineno_1a=$LINENO
430: as_lineno_2=$LINENO as_lineno_2a=$LINENO
431: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434: sed -n '
435: p
436: /[$]LINENO/=
437: ' <$as_myself |
438: sed '
439: s/[$]LINENO.*/&-/
440: t lineno
441: b
442: :lineno
443: N
444: :loop
445: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446: t loop
447: s/-\n.*//
448: ' >$as_me.lineno &&
449: chmod +x "$as_me.lineno" ||
450: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451:
452: # Don't try to exec as it changes $[0], causing all sort of problems
453: # (the dirname of $[0] is not the place where we might find the
454: # original and so on. Autoconf is especially sensitive to this).
455: . "./$as_me.lineno"
456: # Exit status is that of the last command.
457: exit
458: }
459:
460: ECHO_C= ECHO_N= ECHO_T=
461: case `echo -n x` in #(((((
462: -n*)
463: case `echo 'xy\c'` in
464: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465: xy) ECHO_C='\c';;
466: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467: ECHO_T=' ';;
468: esac;;
469: *)
470: ECHO_N='-n';;
471: esac
472:
473: rm -f conf$$ conf$$.exe conf$$.file
474: if test -d conf$$.dir; then
475: rm -f conf$$.dir/conf$$.file
476: else
477: rm -f conf$$.dir
478: mkdir conf$$.dir 2>/dev/null
479: fi
480: if (echo >conf$$.file) 2>/dev/null; then
481: if ln -s conf$$.file conf$$ 2>/dev/null; then
482: as_ln_s='ln -s'
483: # ... but there are two gotchas:
484: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486: # In both cases, we have to default to `cp -p'.
487: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488: as_ln_s='cp -p'
489: elif ln conf$$.file conf$$ 2>/dev/null; then
490: as_ln_s=ln
491: else
492: as_ln_s='cp -p'
493: fi
494: else
495: as_ln_s='cp -p'
496: fi
497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498: rmdir conf$$.dir 2>/dev/null
499:
500: if mkdir -p . 2>/dev/null; then
501: as_mkdir_p='mkdir -p "$as_dir"'
502: else
503: test -d ./-p && rmdir ./-p
504: as_mkdir_p=false
505: fi
506:
507: if test -x / >/dev/null 2>&1; then
508: as_test_x='test -x'
509: else
510: if ls -dL / >/dev/null 2>&1; then
511: as_ls_L_option=L
512: else
513: as_ls_L_option=
514: fi
515: as_test_x='
516: eval sh -c '\''
517: if test -d "$1"; then
518: test -d "$1/.";
519: else
520: case $1 in #(
521: -*)set "./$1";;
522: esac;
523: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524: ???[sx]*):;;*)false;;esac;fi
525: '\'' sh
526: '
527: fi
528: as_executable_p=$as_test_x
529:
530: # Sed expression to map a string onto a valid CPP name.
531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532:
533: # Sed expression to map a string onto a valid variable name.
534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535:
536:
537: test -n "$DJDIR" || exec 7<&0 </dev/null
538: exec 6>&1
539:
540: # Name of the host.
541: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542: # so uname gets run too.
543: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544:
545: #
546: # Initializations.
547: #
548: ac_default_prefix=/usr/local
549: ac_clean_files=
550: ac_config_libobj_dir=.
551: LIBOBJS=
552: cross_compiling=no
553: subdirs=
554: MFLAGS=
555: MAKEFLAGS=
556:
557: # Identity of this package.
558: PACKAGE_NAME='rpl'
559: PACKAGE_TARNAME='rpl'
560: PACKAGE_VERSION='4.0.24'
561: PACKAGE_STRING='rpl 4.0.24'
562: PACKAGE_BUGREPORT=''
563: PACKAGE_URL=''
564:
565: ac_default_prefix=/usr/local
566: # Factoring default headers for most tests.
567: ac_includes_default="\
568: #include <stdio.h>
569: #ifdef HAVE_SYS_TYPES_H
570: # include <sys/types.h>
571: #endif
572: #ifdef HAVE_SYS_STAT_H
573: # include <sys/stat.h>
574: #endif
575: #ifdef STDC_HEADERS
576: # include <stdlib.h>
577: # include <stddef.h>
578: #else
579: # ifdef HAVE_STDLIB_H
580: # include <stdlib.h>
581: # endif
582: #endif
583: #ifdef HAVE_STRING_H
584: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585: # include <memory.h>
586: # endif
587: # include <string.h>
588: #endif
589: #ifdef HAVE_STRINGS_H
590: # include <strings.h>
591: #endif
592: #ifdef HAVE_INTTYPES_H
593: # include <inttypes.h>
594: #endif
595: #ifdef HAVE_STDINT_H
596: # include <stdint.h>
597: #endif
598: #ifdef HAVE_UNISTD_H
599: # include <unistd.h>
600: #endif"
601:
602: enable_option_checking=no
603: ac_subst_vars='am__EXEEXT_FALSE
604: am__EXEEXT_TRUE
605: LTLIBOBJS
606: LIBOBJS
607: MALLOC
608: EXT_SQL
609: DATE_FR
610: FINAL_ENCODING
611: OPENSSL
612: SQLITE
613: ICONV
614: FILE
615: GNUPLOT
616: GPP
617: GSL
618: UNITS
619: READLINE
620: NCURSES
621: BSH_PATH
622: BROKEN_SIGINFO
623: IPV6
624: SEMUN
625: IPCS_SYSV
626: SEMAPHORES_NOMMES
627: NESTED_FUNCTIONS
628: EXPORT_DYNAMIC
629: C_STANDARD
630: OS
631: GNUPLOT_COMPILATION
632: subdirs
633: EGREP
634: GREP
635: libPgSQLlib
636: libPgSQLinc
637: POSTGRESQL_SUPPORT
638: libMySQLlib
639: libMySQLinc
640: MYSQL_SUPPORT
641: DATE
642: includeX
643: libX
644: MOTIF_SUPPORT
645: DEBUG
646: EXPERIMENTAL_CODE
647: VIM_SUPPORT
648: POSTSCRIPT_SUPPORT
649: FORCE_GNUPLOT_PATH
650: GNUPLOT_SUPPORT
651: VIM
652: GNUPLOT_P
653: GV
654: GS
655: DVIPS
656: LATEX
657: TEX
658: SED
659: RANLIB
660: LN_S
661: RUNPATH
662: PROFILAGE
663: X_EXTRA_LIBS
664: X_LIBS
665: X_PRE_LIBS
666: X_CFLAGS
667: CPP
668: XMKMF
669: ac_ct_FC
670: FCFLAGS
671: FC
672: ac_ct_F77
673: FFLAGS
674: F77
675: am__fastdepCXX_FALSE
676: am__fastdepCXX_TRUE
677: CXXDEPMODE
678: ac_ct_CXX
679: CXXFLAGS
680: CXX
681: am__fastdepCC_FALSE
682: am__fastdepCC_TRUE
683: CCDEPMODE
684: AMDEPBACKSLASH
685: AMDEP_FALSE
686: AMDEP_TRUE
687: am__quote
688: am__include
689: DEPDIR
690: OBJEXT
691: EXEEXT
692: ac_ct_CC
693: CPPFLAGS
694: LDFLAGS
695: CFLAGS
696: CC
697: am__untar
698: am__tar
699: AMTAR
700: am__leading_dot
701: SET_MAKE
702: AWK
703: mkdir_p
704: MKDIR_P
705: INSTALL_STRIP_PROGRAM
706: STRIP
707: install_sh
708: MAKEINFO
709: AUTOHEADER
710: AUTOMAKE
711: AUTOCONF
712: ACLOCAL
713: VERSION
714: PACKAGE
715: CYGPATH_W
716: am__isrc
717: INSTALL_DATA
718: INSTALL_SCRIPT
719: INSTALL_PROGRAM
720: target_os
721: target_vendor
722: target_cpu
723: target
724: host_os
725: host_vendor
726: host_cpu
727: host
728: build_os
729: build_vendor
730: build_cpu
731: build
732: target_alias
733: host_alias
734: build_alias
735: LIBS
736: ECHO_T
737: ECHO_N
738: ECHO_C
739: DEFS
740: mandir
741: localedir
742: libdir
743: psdir
744: pdfdir
745: dvidir
746: htmldir
747: infodir
748: docdir
749: oldincludedir
750: includedir
751: localstatedir
752: sharedstatedir
753: sysconfdir
754: datadir
755: datarootdir
756: libexecdir
757: sbindir
758: bindir
759: program_transform_name
760: prefix
761: exec_prefix
762: PACKAGE_URL
763: PACKAGE_BUGREPORT
764: PACKAGE_STRING
765: PACKAGE_VERSION
766: PACKAGE_TARNAME
767: PACKAGE_NAME
768: PATH_SEPARATOR
769: SHELL'
770: ac_subst_files=''
771: ac_user_opts='
772: enable_option_checking
773: enable_dependency_tracking
774: with_x
775: enable_optimization
776: enable_sysv_semaphores
777: enable_full_static
778: enable_final_encoding
779: enable_tex
780: enable_vim
781: enable_embedded_gnuplot
782: enable_gnuplot
783: enable_motif
784: enable_experimental
785: enable_debug
786: enable_profile
787: enable_final_run_path
788: with_mysql
789: with_postgresql
790: with_bourne_shell
791: with_openssl_arch
792: '
793: ac_precious_vars='build_alias
794: host_alias
795: target_alias
796: CC
797: CFLAGS
798: LDFLAGS
799: LIBS
800: CPPFLAGS
801: CXX
802: CXXFLAGS
803: CCC
804: F77
805: FFLAGS
806: FC
807: FCFLAGS
808: XMKMF
809: CPP'
810: ac_subdirs_all='tools/$NCURSES
811: tools/$READLINE
812: tools/$GSL
813: tools/$GPP
814: tools/$FILE
815: tools/$ICONV
816: tools/$SQLITE
817: tools/$UNITS
818: tools/$GNUPLOT'
819:
820: # Initialize some variables set by options.
821: ac_init_help=
822: ac_init_version=false
823: ac_unrecognized_opts=
824: ac_unrecognized_sep=
825: # The variables have the same names as the options, with
826: # dashes changed to underlines.
827: cache_file=/dev/null
828: exec_prefix=NONE
829: no_create=
830: no_recursion=
831: prefix=NONE
832: program_prefix=NONE
833: program_suffix=NONE
834: program_transform_name=s,x,x,
835: silent=
836: site=
837: srcdir=
838: verbose=
839: x_includes=NONE
840: x_libraries=NONE
841:
842: # Installation directory options.
843: # These are left unexpanded so users can "make install exec_prefix=/foo"
844: # and all the variables that are supposed to be based on exec_prefix
845: # by default will actually change.
846: # Use braces instead of parens because sh, perl, etc. also accept them.
847: # (The list follows the same order as the GNU Coding Standards.)
848: bindir='${exec_prefix}/bin'
849: sbindir='${exec_prefix}/sbin'
850: libexecdir='${exec_prefix}/libexec'
851: datarootdir='${prefix}/share'
852: datadir='${datarootdir}'
853: sysconfdir='${prefix}/etc'
854: sharedstatedir='${prefix}/com'
855: localstatedir='${prefix}/var'
856: includedir='${prefix}/include'
857: oldincludedir='/usr/include'
858: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859: infodir='${datarootdir}/info'
860: htmldir='${docdir}'
861: dvidir='${docdir}'
862: pdfdir='${docdir}'
863: psdir='${docdir}'
864: libdir='${exec_prefix}/lib'
865: localedir='${datarootdir}/locale'
866: mandir='${datarootdir}/man'
867:
868: ac_prev=
869: ac_dashdash=
870: for ac_option
871: do
872: # If the previous option needs an argument, assign it.
873: if test -n "$ac_prev"; then
874: eval $ac_prev=\$ac_option
875: ac_prev=
876: continue
877: fi
878:
879: case $ac_option in
880: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881: *=) ac_optarg= ;;
882: *) ac_optarg=yes ;;
883: esac
884:
885: # Accept the important Cygnus configure options, so we can diagnose typos.
886:
887: case $ac_dashdash$ac_option in
888: --)
889: ac_dashdash=yes ;;
890:
891: -bindir | --bindir | --bindi | --bind | --bin | --bi)
892: ac_prev=bindir ;;
893: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
894: bindir=$ac_optarg ;;
895:
896: -build | --build | --buil | --bui | --bu)
897: ac_prev=build_alias ;;
898: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
899: build_alias=$ac_optarg ;;
900:
901: -cache-file | --cache-file | --cache-fil | --cache-fi \
902: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903: ac_prev=cache_file ;;
904: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906: cache_file=$ac_optarg ;;
907:
908: --config-cache | -C)
909: cache_file=config.cache ;;
910:
911: -datadir | --datadir | --datadi | --datad)
912: ac_prev=datadir ;;
913: -datadir=* | --datadir=* | --datadi=* | --datad=*)
914: datadir=$ac_optarg ;;
915:
916: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917: | --dataroo | --dataro | --datar)
918: ac_prev=datarootdir ;;
919: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921: datarootdir=$ac_optarg ;;
922:
923: -disable-* | --disable-*)
924: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925: # Reject names that are not valid shell variable names.
926: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927: as_fn_error $? "invalid feature name: $ac_useropt"
928: ac_useropt_orig=$ac_useropt
929: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930: case $ac_user_opts in
931: *"
932: "enable_$ac_useropt"
933: "*) ;;
934: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935: ac_unrecognized_sep=', ';;
936: esac
937: eval enable_$ac_useropt=no ;;
938:
939: -docdir | --docdir | --docdi | --doc | --do)
940: ac_prev=docdir ;;
941: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
942: docdir=$ac_optarg ;;
943:
944: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
945: ac_prev=dvidir ;;
946: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
947: dvidir=$ac_optarg ;;
948:
949: -enable-* | --enable-*)
950: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951: # Reject names that are not valid shell variable names.
952: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953: as_fn_error $? "invalid feature name: $ac_useropt"
954: ac_useropt_orig=$ac_useropt
955: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956: case $ac_user_opts in
957: *"
958: "enable_$ac_useropt"
959: "*) ;;
960: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961: ac_unrecognized_sep=', ';;
962: esac
963: eval enable_$ac_useropt=\$ac_optarg ;;
964:
965: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967: | --exec | --exe | --ex)
968: ac_prev=exec_prefix ;;
969: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971: | --exec=* | --exe=* | --ex=*)
972: exec_prefix=$ac_optarg ;;
973:
974: -gas | --gas | --ga | --g)
975: # Obsolete; use --with-gas.
976: with_gas=yes ;;
977:
978: -help | --help | --hel | --he | -h)
979: ac_init_help=long ;;
980: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981: ac_init_help=recursive ;;
982: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983: ac_init_help=short ;;
984:
985: -host | --host | --hos | --ho)
986: ac_prev=host_alias ;;
987: -host=* | --host=* | --hos=* | --ho=*)
988: host_alias=$ac_optarg ;;
989:
990: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
991: ac_prev=htmldir ;;
992: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
993: | --ht=*)
994: htmldir=$ac_optarg ;;
995:
996: -includedir | --includedir | --includedi | --included | --include \
997: | --includ | --inclu | --incl | --inc)
998: ac_prev=includedir ;;
999: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000: | --includ=* | --inclu=* | --incl=* | --inc=*)
1001: includedir=$ac_optarg ;;
1002:
1003: -infodir | --infodir | --infodi | --infod | --info | --inf)
1004: ac_prev=infodir ;;
1005: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006: infodir=$ac_optarg ;;
1007:
1008: -libdir | --libdir | --libdi | --libd)
1009: ac_prev=libdir ;;
1010: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1011: libdir=$ac_optarg ;;
1012:
1013: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014: | --libexe | --libex | --libe)
1015: ac_prev=libexecdir ;;
1016: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017: | --libexe=* | --libex=* | --libe=*)
1018: libexecdir=$ac_optarg ;;
1019:
1020: -localedir | --localedir | --localedi | --localed | --locale)
1021: ac_prev=localedir ;;
1022: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023: localedir=$ac_optarg ;;
1024:
1025: -localstatedir | --localstatedir | --localstatedi | --localstated \
1026: | --localstate | --localstat | --localsta | --localst | --locals)
1027: ac_prev=localstatedir ;;
1028: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030: localstatedir=$ac_optarg ;;
1031:
1032: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1033: ac_prev=mandir ;;
1034: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035: mandir=$ac_optarg ;;
1036:
1037: -nfp | --nfp | --nf)
1038: # Obsolete; use --without-fp.
1039: with_fp=no ;;
1040:
1041: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042: | --no-cr | --no-c | -n)
1043: no_create=yes ;;
1044:
1045: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1047: no_recursion=yes ;;
1048:
1049: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051: | --oldin | --oldi | --old | --ol | --o)
1052: ac_prev=oldincludedir ;;
1053: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056: oldincludedir=$ac_optarg ;;
1057:
1058: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1059: ac_prev=prefix ;;
1060: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061: prefix=$ac_optarg ;;
1062:
1063: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1064: | --program-pre | --program-pr | --program-p)
1065: ac_prev=program_prefix ;;
1066: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1067: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068: program_prefix=$ac_optarg ;;
1069:
1070: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1071: | --program-suf | --program-su | --program-s)
1072: ac_prev=program_suffix ;;
1073: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1074: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075: program_suffix=$ac_optarg ;;
1076:
1077: -program-transform-name | --program-transform-name \
1078: | --program-transform-nam | --program-transform-na \
1079: | --program-transform-n | --program-transform- \
1080: | --program-transform | --program-transfor \
1081: | --program-transfo | --program-transf \
1082: | --program-trans | --program-tran \
1083: | --progr-tra | --program-tr | --program-t)
1084: ac_prev=program_transform_name ;;
1085: -program-transform-name=* | --program-transform-name=* \
1086: | --program-transform-nam=* | --program-transform-na=* \
1087: | --program-transform-n=* | --program-transform-=* \
1088: | --program-transform=* | --program-transfor=* \
1089: | --program-transfo=* | --program-transf=* \
1090: | --program-trans=* | --program-tran=* \
1091: | --progr-tra=* | --program-tr=* | --program-t=*)
1092: program_transform_name=$ac_optarg ;;
1093:
1094: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1095: ac_prev=pdfdir ;;
1096: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097: pdfdir=$ac_optarg ;;
1098:
1099: -psdir | --psdir | --psdi | --psd | --ps)
1100: ac_prev=psdir ;;
1101: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1102: psdir=$ac_optarg ;;
1103:
1104: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105: | -silent | --silent | --silen | --sile | --sil)
1106: silent=yes ;;
1107:
1108: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1109: ac_prev=sbindir ;;
1110: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1111: | --sbi=* | --sb=*)
1112: sbindir=$ac_optarg ;;
1113:
1114: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1115: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1116: | --sharedst | --shareds | --shared | --share | --shar \
1117: | --sha | --sh)
1118: ac_prev=sharedstatedir ;;
1119: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1120: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1121: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1122: | --sha=* | --sh=*)
1123: sharedstatedir=$ac_optarg ;;
1124:
1125: -site | --site | --sit)
1126: ac_prev=site ;;
1127: -site=* | --site=* | --sit=*)
1128: site=$ac_optarg ;;
1129:
1130: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1131: ac_prev=srcdir ;;
1132: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1133: srcdir=$ac_optarg ;;
1134:
1135: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1136: | --syscon | --sysco | --sysc | --sys | --sy)
1137: ac_prev=sysconfdir ;;
1138: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1139: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1140: sysconfdir=$ac_optarg ;;
1141:
1142: -target | --target | --targe | --targ | --tar | --ta | --t)
1143: ac_prev=target_alias ;;
1144: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1145: target_alias=$ac_optarg ;;
1146:
1147: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1148: verbose=yes ;;
1149:
1150: -version | --version | --versio | --versi | --vers | -V)
1151: ac_init_version=: ;;
1152:
1153: -with-* | --with-*)
1154: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155: # Reject names that are not valid shell variable names.
1156: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157: as_fn_error $? "invalid package name: $ac_useropt"
1158: ac_useropt_orig=$ac_useropt
1159: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160: case $ac_user_opts in
1161: *"
1162: "with_$ac_useropt"
1163: "*) ;;
1164: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165: ac_unrecognized_sep=', ';;
1166: esac
1167: eval with_$ac_useropt=\$ac_optarg ;;
1168:
1169: -without-* | --without-*)
1170: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171: # Reject names that are not valid shell variable names.
1172: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173: as_fn_error $? "invalid package name: $ac_useropt"
1174: ac_useropt_orig=$ac_useropt
1175: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176: case $ac_user_opts in
1177: *"
1178: "with_$ac_useropt"
1179: "*) ;;
1180: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181: ac_unrecognized_sep=', ';;
1182: esac
1183: eval with_$ac_useropt=no ;;
1184:
1185: --x)
1186: # Obsolete; use --with-x.
1187: with_x=yes ;;
1188:
1189: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1190: | --x-incl | --x-inc | --x-in | --x-i)
1191: ac_prev=x_includes ;;
1192: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1193: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1194: x_includes=$ac_optarg ;;
1195:
1196: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1197: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1198: ac_prev=x_libraries ;;
1199: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1200: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201: x_libraries=$ac_optarg ;;
1202:
1203: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1204: Try \`$0 --help' for more information"
1205: ;;
1206:
1207: *=*)
1208: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209: # Reject names that are not valid shell variable names.
1210: case $ac_envvar in #(
1211: '' | [0-9]* | *[!_$as_cr_alnum]* )
1212: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1213: esac
1214: eval $ac_envvar=\$ac_optarg
1215: export $ac_envvar ;;
1216:
1217: *)
1218: # FIXME: should be removed in autoconf 3.0.
1219: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223: ;;
1224:
1225: esac
1226: done
1227:
1228: if test -n "$ac_prev"; then
1229: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230: as_fn_error $? "missing argument to $ac_option"
1231: fi
1232:
1233: if test -n "$ac_unrecognized_opts"; then
1234: case $enable_option_checking in
1235: no) ;;
1236: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238: esac
1239: fi
1240:
1241: # Check all directory arguments for consistency.
1242: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243: datadir sysconfdir sharedstatedir localstatedir includedir \
1244: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245: libdir localedir mandir
1246: do
1247: eval ac_val=\$$ac_var
1248: # Remove trailing slashes.
1249: case $ac_val in
1250: */ )
1251: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252: eval $ac_var=\$ac_val;;
1253: esac
1254: # Be sure to have absolute directory names.
1255: case $ac_val in
1256: [\\/$]* | ?:[\\/]* ) continue;;
1257: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1258: esac
1259: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1260: done
1261:
1262: # There might be people who depend on the old broken behavior: `$host'
1263: # used to hold the argument of --host etc.
1264: # FIXME: To remove some day.
1265: build=$build_alias
1266: host=$host_alias
1267: target=$target_alias
1268:
1269: # FIXME: To remove some day.
1270: if test "x$host_alias" != x; then
1271: if test "x$build_alias" = x; then
1272: cross_compiling=maybe
1273: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274: If a cross compiler is detected then cross compile mode will be used" >&2
1275: elif test "x$build_alias" != "x$host_alias"; then
1276: cross_compiling=yes
1277: fi
1278: fi
1279:
1280: ac_tool_prefix=
1281: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1282:
1283: test "$silent" = yes && exec 6>/dev/null
1284:
1285:
1286: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287: ac_ls_di=`ls -di .` &&
1288: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289: as_fn_error $? "working directory cannot be determined"
1290: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291: as_fn_error $? "pwd does not report name of working directory"
1292:
1293:
1294: # Find the source files, if location was not specified.
1295: if test -z "$srcdir"; then
1296: ac_srcdir_defaulted=yes
1297: # Try the directory containing this script, then the parent directory.
1298: ac_confdir=`$as_dirname -- "$as_myself" ||
1299: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300: X"$as_myself" : 'X\(//\)[^/]' \| \
1301: X"$as_myself" : 'X\(//\)$' \| \
1302: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303: $as_echo X"$as_myself" |
1304: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305: s//\1/
1306: q
1307: }
1308: /^X\(\/\/\)[^/].*/{
1309: s//\1/
1310: q
1311: }
1312: /^X\(\/\/\)$/{
1313: s//\1/
1314: q
1315: }
1316: /^X\(\/\).*/{
1317: s//\1/
1318: q
1319: }
1320: s/.*/./; q'`
1321: srcdir=$ac_confdir
1322: if test ! -r "$srcdir/$ac_unique_file"; then
1323: srcdir=..
1324: fi
1325: else
1326: ac_srcdir_defaulted=no
1327: fi
1328: if test ! -r "$srcdir/$ac_unique_file"; then
1329: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1331: fi
1332: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333: ac_abs_confdir=`(
1334: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335: pwd)`
1336: # When building in place, set srcdir=.
1337: if test "$ac_abs_confdir" = "$ac_pwd"; then
1338: srcdir=.
1339: fi
1340: # Remove unnecessary trailing slashes from srcdir.
1341: # Double slashes in file names in object file debugging info
1342: # mess up M-x gdb in Emacs.
1343: case $srcdir in
1344: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345: esac
1346: for ac_var in $ac_precious_vars; do
1347: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348: eval ac_env_${ac_var}_value=\$${ac_var}
1349: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1351: done
1352:
1353: #
1354: # Report the --help message.
1355: #
1356: if test "$ac_init_help" = "long"; then
1357: # Omit some internal or obsolete options to make the list less imposing.
1358: # This message is too long to be a string in the A/UX 3.1 sh.
1359: cat <<_ACEOF
1360: \`configure' configures rpl 4.0.24 to adapt to many kinds of systems.
1361:
1362: Usage: $0 [OPTION]... [VAR=VALUE]...
1363:
1364: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365: VAR=VALUE. See below for descriptions of some of the useful variables.
1366:
1367: Defaults for the options are specified in brackets.
1368:
1369: Configuration:
1370: -h, --help display this help and exit
1371: --help=short display options specific to this package
1372: --help=recursive display the short help of all the included packages
1373: -V, --version display version information and exit
1374: -q, --quiet, --silent do not print \`checking ...' messages
1375: --cache-file=FILE cache test results in FILE [disabled]
1376: -C, --config-cache alias for \`--cache-file=config.cache'
1377: -n, --no-create do not create output files
1378: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379:
1380: Installation directories:
1381: --prefix=PREFIX install architecture-independent files in PREFIX
1382: [$ac_default_prefix]
1383: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1384: [PREFIX]
1385:
1386: By default, \`make install' will install all the files in
1387: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389: for instance \`--prefix=\$HOME'.
1390:
1391: For better control, use the options below.
1392:
1393: Fine tuning of the installation directories:
1394: --bindir=DIR user executables [EPREFIX/bin]
1395: --sbindir=DIR system admin executables [EPREFIX/sbin]
1396: --libexecdir=DIR program executables [EPREFIX/libexec]
1397: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400: --libdir=DIR object code libraries [EPREFIX/lib]
1401: --includedir=DIR C header files [PREFIX/include]
1402: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405: --infodir=DIR info documentation [DATAROOTDIR/info]
1406: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407: --mandir=DIR man documentation [DATAROOTDIR/man]
1408: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1409: --htmldir=DIR html documentation [DOCDIR]
1410: --dvidir=DIR dvi documentation [DOCDIR]
1411: --pdfdir=DIR pdf documentation [DOCDIR]
1412: --psdir=DIR ps documentation [DOCDIR]
1413: _ACEOF
1414:
1415: cat <<\_ACEOF
1416:
1417: Program names:
1418: --program-prefix=PREFIX prepend PREFIX to installed program names
1419: --program-suffix=SUFFIX append SUFFIX to installed program names
1420: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1421:
1422: X features:
1423: --x-includes=DIR X include files are in DIR
1424: --x-libraries=DIR X library files are in DIR
1425:
1426: System types:
1427: --build=BUILD configure for building on BUILD [guessed]
1428: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1429: --target=TARGET configure for building compilers for TARGET [HOST]
1430: _ACEOF
1431: fi
1432:
1433: if test -n "$ac_init_help"; then
1434: case $ac_init_help in
1435: short | recursive ) echo "Configuration of rpl 4.0.24:";;
1436: esac
1437: cat <<\_ACEOF
1438:
1439: Optional Features:
1440: --disable-option-checking ignore unrecognized --enable/--with options
1441: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1442: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1443: --disable-dependency-tracking speeds up one-time build
1444: --enable-dependency-tracking do not reject slow dependency extractors
1445: --enable-optimization set compiler flags [default=environment variables -O3]
1446: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1447: --enable-full-static build static RPL/2 engine [default=shared]
1448: --enable-final-encoding force final encoding [default=guessed]
1449: --enable-tex provide the TeX support [default=guessed]
1450: --enable-vim provide the vim support [default=guessed]
1451: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1452: --enable-gnuplot provide the GnuPlot support [default=guessed]
1453: --enable-motif provide the Motif support [default=guessed]
1454: --enable-experimental enable experimental code [default=no]
1455: --enable-debug enable debug code [default=no]
1456: --enable-profile enable profile code [default=no]
1457: --enable-final-run-path=PATH enable another final run path than PREFIX
1458:
1459: Optional Packages:
1460: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462: --with-x use the X Window System
1463: --with-mysql=PATH specify directory for installed mysql
1464: --with-postgresql=PATH specify directory for installed postgresql
1465: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1466: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1467:
1468: Some influential environment variables:
1469: CC C compiler command
1470: CFLAGS C compiler flags
1471: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1472: nonstandard directory <lib dir>
1473: LIBS libraries to pass to the linker, e.g. -l<library>
1474: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475: you have headers in a nonstandard directory <include dir>
1476: CXX C++ compiler command
1477: CXXFLAGS C++ compiler flags
1478: F77 Fortran 77 compiler command
1479: FFLAGS Fortran 77 compiler flags
1480: FC Fortran compiler command
1481: FCFLAGS Fortran compiler flags
1482: XMKMF Path to xmkmf, Makefile generator for X Window System
1483: CPP C preprocessor
1484:
1485: Use these variables to override the choices made by `configure' or to help
1486: it to find libraries and programs with nonstandard names/locations.
1487:
1488: Report bugs to the package provider.
1489: _ACEOF
1490: ac_status=$?
1491: fi
1492:
1493: if test "$ac_init_help" = "recursive"; then
1494: # If there are subdirs, report their specific --help.
1495: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1496: test -d "$ac_dir" ||
1497: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1498: continue
1499: ac_builddir=.
1500:
1501: case "$ac_dir" in
1502: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503: *)
1504: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1505: # A ".." for each directory in $ac_dir_suffix.
1506: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1507: case $ac_top_builddir_sub in
1508: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1510: esac ;;
1511: esac
1512: ac_abs_top_builddir=$ac_pwd
1513: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514: # for backward compatibility:
1515: ac_top_builddir=$ac_top_build_prefix
1516:
1517: case $srcdir in
1518: .) # We are building in place.
1519: ac_srcdir=.
1520: ac_top_srcdir=$ac_top_builddir_sub
1521: ac_abs_top_srcdir=$ac_pwd ;;
1522: [\\/]* | ?:[\\/]* ) # Absolute name.
1523: ac_srcdir=$srcdir$ac_dir_suffix;
1524: ac_top_srcdir=$srcdir
1525: ac_abs_top_srcdir=$srcdir ;;
1526: *) # Relative name.
1527: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528: ac_top_srcdir=$ac_top_build_prefix$srcdir
1529: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1530: esac
1531: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1532:
1533: cd "$ac_dir" || { ac_status=$?; continue; }
1534: # Check for guested configure.
1535: if test -f "$ac_srcdir/configure.gnu"; then
1536: echo &&
1537: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538: elif test -f "$ac_srcdir/configure"; then
1539: echo &&
1540: $SHELL "$ac_srcdir/configure" --help=recursive
1541: else
1542: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543: fi || ac_status=$?
1544: cd "$ac_pwd" || { ac_status=$?; break; }
1545: done
1546: fi
1547:
1548: test -n "$ac_init_help" && exit $ac_status
1549: if $ac_init_version; then
1550: cat <<\_ACEOF
1551: rpl configure 4.0.24
1552: generated by GNU Autoconf 2.68
1553:
1554: Copyright (C) 2010 Free Software Foundation, Inc.
1555: This configure script is free software; the Free Software Foundation
1556: gives unlimited permission to copy, distribute and modify it.
1557: _ACEOF
1558: exit
1559: fi
1560:
1561: ## ------------------------ ##
1562: ## Autoconf initialization. ##
1563: ## ------------------------ ##
1564:
1565: # ac_fn_c_try_compile LINENO
1566: # --------------------------
1567: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568: ac_fn_c_try_compile ()
1569: {
1570: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571: rm -f conftest.$ac_objext
1572: if { { ac_try="$ac_compile"
1573: case "(($ac_try" in
1574: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575: *) ac_try_echo=$ac_try;;
1576: esac
1577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578: $as_echo "$ac_try_echo"; } >&5
1579: (eval "$ac_compile") 2>conftest.err
1580: ac_status=$?
1581: if test -s conftest.err; then
1582: grep -v '^ *+' conftest.err >conftest.er1
1583: cat conftest.er1 >&5
1584: mv -f conftest.er1 conftest.err
1585: fi
1586: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587: test $ac_status = 0; } && {
1588: test -z "$ac_c_werror_flag" ||
1589: test ! -s conftest.err
1590: } && test -s conftest.$ac_objext; then :
1591: ac_retval=0
1592: else
1593: $as_echo "$as_me: failed program was:" >&5
1594: sed 's/^/| /' conftest.$ac_ext >&5
1595:
1596: ac_retval=1
1597: fi
1598: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599: as_fn_set_status $ac_retval
1600:
1601: } # ac_fn_c_try_compile
1602:
1603: # ac_fn_cxx_try_compile LINENO
1604: # ----------------------------
1605: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606: ac_fn_cxx_try_compile ()
1607: {
1608: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609: rm -f conftest.$ac_objext
1610: if { { ac_try="$ac_compile"
1611: case "(($ac_try" in
1612: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613: *) ac_try_echo=$ac_try;;
1614: esac
1615: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616: $as_echo "$ac_try_echo"; } >&5
1617: (eval "$ac_compile") 2>conftest.err
1618: ac_status=$?
1619: if test -s conftest.err; then
1620: grep -v '^ *+' conftest.err >conftest.er1
1621: cat conftest.er1 >&5
1622: mv -f conftest.er1 conftest.err
1623: fi
1624: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625: test $ac_status = 0; } && {
1626: test -z "$ac_cxx_werror_flag" ||
1627: test ! -s conftest.err
1628: } && test -s conftest.$ac_objext; then :
1629: ac_retval=0
1630: else
1631: $as_echo "$as_me: failed program was:" >&5
1632: sed 's/^/| /' conftest.$ac_ext >&5
1633:
1634: ac_retval=1
1635: fi
1636: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637: as_fn_set_status $ac_retval
1638:
1639: } # ac_fn_cxx_try_compile
1640:
1641: # ac_fn_f77_try_compile LINENO
1642: # ----------------------------
1643: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644: ac_fn_f77_try_compile ()
1645: {
1646: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647: rm -f conftest.$ac_objext
1648: if { { ac_try="$ac_compile"
1649: case "(($ac_try" in
1650: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651: *) ac_try_echo=$ac_try;;
1652: esac
1653: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654: $as_echo "$ac_try_echo"; } >&5
1655: (eval "$ac_compile") 2>conftest.err
1656: ac_status=$?
1657: if test -s conftest.err; then
1658: grep -v '^ *+' conftest.err >conftest.er1
1659: cat conftest.er1 >&5
1660: mv -f conftest.er1 conftest.err
1661: fi
1662: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663: test $ac_status = 0; } && {
1664: test -z "$ac_f77_werror_flag" ||
1665: test ! -s conftest.err
1666: } && test -s conftest.$ac_objext; then :
1667: ac_retval=0
1668: else
1669: $as_echo "$as_me: failed program was:" >&5
1670: sed 's/^/| /' conftest.$ac_ext >&5
1671:
1672: ac_retval=1
1673: fi
1674: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675: as_fn_set_status $ac_retval
1676:
1677: } # ac_fn_f77_try_compile
1678:
1679: # ac_fn_fc_try_compile LINENO
1680: # ---------------------------
1681: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682: ac_fn_fc_try_compile ()
1683: {
1684: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685: rm -f conftest.$ac_objext
1686: if { { ac_try="$ac_compile"
1687: case "(($ac_try" in
1688: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689: *) ac_try_echo=$ac_try;;
1690: esac
1691: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692: $as_echo "$ac_try_echo"; } >&5
1693: (eval "$ac_compile") 2>conftest.err
1694: ac_status=$?
1695: if test -s conftest.err; then
1696: grep -v '^ *+' conftest.err >conftest.er1
1697: cat conftest.er1 >&5
1698: mv -f conftest.er1 conftest.err
1699: fi
1700: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701: test $ac_status = 0; } && {
1702: test -z "$ac_fc_werror_flag" ||
1703: test ! -s conftest.err
1704: } && test -s conftest.$ac_objext; then :
1705: ac_retval=0
1706: else
1707: $as_echo "$as_me: failed program was:" >&5
1708: sed 's/^/| /' conftest.$ac_ext >&5
1709:
1710: ac_retval=1
1711: fi
1712: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713: as_fn_set_status $ac_retval
1714:
1715: } # ac_fn_fc_try_compile
1716:
1717: # ac_fn_c_try_cpp LINENO
1718: # ----------------------
1719: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720: ac_fn_c_try_cpp ()
1721: {
1722: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723: if { { ac_try="$ac_cpp conftest.$ac_ext"
1724: case "(($ac_try" in
1725: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726: *) ac_try_echo=$ac_try;;
1727: esac
1728: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729: $as_echo "$ac_try_echo"; } >&5
1730: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731: ac_status=$?
1732: if test -s conftest.err; then
1733: grep -v '^ *+' conftest.err >conftest.er1
1734: cat conftest.er1 >&5
1735: mv -f conftest.er1 conftest.err
1736: fi
1737: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738: test $ac_status = 0; } > conftest.i && {
1739: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1740: test ! -s conftest.err
1741: }; then :
1742: ac_retval=0
1743: else
1744: $as_echo "$as_me: failed program was:" >&5
1745: sed 's/^/| /' conftest.$ac_ext >&5
1746:
1747: ac_retval=1
1748: fi
1749: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750: as_fn_set_status $ac_retval
1751:
1752: } # ac_fn_c_try_cpp
1753:
1754: # ac_fn_c_try_link LINENO
1755: # -----------------------
1756: # Try to link conftest.$ac_ext, and return whether this succeeded.
1757: ac_fn_c_try_link ()
1758: {
1759: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760: rm -f conftest.$ac_objext conftest$ac_exeext
1761: if { { ac_try="$ac_link"
1762: case "(($ac_try" in
1763: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764: *) ac_try_echo=$ac_try;;
1765: esac
1766: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767: $as_echo "$ac_try_echo"; } >&5
1768: (eval "$ac_link") 2>conftest.err
1769: ac_status=$?
1770: if test -s conftest.err; then
1771: grep -v '^ *+' conftest.err >conftest.er1
1772: cat conftest.er1 >&5
1773: mv -f conftest.er1 conftest.err
1774: fi
1775: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776: test $ac_status = 0; } && {
1777: test -z "$ac_c_werror_flag" ||
1778: test ! -s conftest.err
1779: } && test -s conftest$ac_exeext && {
1780: test "$cross_compiling" = yes ||
1781: $as_test_x conftest$ac_exeext
1782: }; then :
1783: ac_retval=0
1784: else
1785: $as_echo "$as_me: failed program was:" >&5
1786: sed 's/^/| /' conftest.$ac_ext >&5
1787:
1788: ac_retval=1
1789: fi
1790: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792: # interfere with the next link command; also delete a directory that is
1793: # left behind by Apple's compiler. We do this before executing the actions.
1794: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796: as_fn_set_status $ac_retval
1797:
1798: } # ac_fn_c_try_link
1799:
1800: # ac_fn_c_check_func LINENO FUNC VAR
1801: # ----------------------------------
1802: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1803: ac_fn_c_check_func ()
1804: {
1805: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807: $as_echo_n "checking for $2... " >&6; }
1808: if eval \${$3+:} false; then :
1809: $as_echo_n "(cached) " >&6
1810: else
1811: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812: /* end confdefs.h. */
1813: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1815: #define $2 innocuous_$2
1816:
1817: /* System header to define __stub macros and hopefully few prototypes,
1818: which can conflict with char $2 (); below.
1819: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820: <limits.h> exists even on freestanding compilers. */
1821:
1822: #ifdef __STDC__
1823: # include <limits.h>
1824: #else
1825: # include <assert.h>
1826: #endif
1827:
1828: #undef $2
1829:
1830: /* Override any GCC internal prototype to avoid an error.
1831: Use char because int might match the return type of a GCC
1832: builtin and then its argument prototype would still apply. */
1833: #ifdef __cplusplus
1834: extern "C"
1835: #endif
1836: char $2 ();
1837: /* The GNU C library defines this for functions which it implements
1838: to always fail with ENOSYS. Some functions are actually named
1839: something starting with __ and the normal name is an alias. */
1840: #if defined __stub_$2 || defined __stub___$2
1841: choke me
1842: #endif
1843:
1844: int
1845: main ()
1846: {
1847: return $2 ();
1848: ;
1849: return 0;
1850: }
1851: _ACEOF
1852: if ac_fn_c_try_link "$LINENO"; then :
1853: eval "$3=yes"
1854: else
1855: eval "$3=no"
1856: fi
1857: rm -f core conftest.err conftest.$ac_objext \
1858: conftest$ac_exeext conftest.$ac_ext
1859: fi
1860: eval ac_res=\$$3
1861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862: $as_echo "$ac_res" >&6; }
1863: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864:
1865: } # ac_fn_c_check_func
1866:
1867: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1868: # -------------------------------------------
1869: # Tests whether TYPE exists after having included INCLUDES, setting cache
1870: # variable VAR accordingly.
1871: ac_fn_c_check_type ()
1872: {
1873: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875: $as_echo_n "checking for $2... " >&6; }
1876: if eval \${$3+:} false; then :
1877: $as_echo_n "(cached) " >&6
1878: else
1879: eval "$3=no"
1880: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881: /* end confdefs.h. */
1882: $4
1883: int
1884: main ()
1885: {
1886: if (sizeof ($2))
1887: return 0;
1888: ;
1889: return 0;
1890: }
1891: _ACEOF
1892: if ac_fn_c_try_compile "$LINENO"; then :
1893: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894: /* end confdefs.h. */
1895: $4
1896: int
1897: main ()
1898: {
1899: if (sizeof (($2)))
1900: return 0;
1901: ;
1902: return 0;
1903: }
1904: _ACEOF
1905: if ac_fn_c_try_compile "$LINENO"; then :
1906:
1907: else
1908: eval "$3=yes"
1909: fi
1910: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911: fi
1912: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913: fi
1914: eval ac_res=\$$3
1915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916: $as_echo "$ac_res" >&6; }
1917: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918:
1919: } # ac_fn_c_check_type
1920:
1921: # ac_fn_c_try_run LINENO
1922: # ----------------------
1923: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1924: # that executables *can* be run.
1925: ac_fn_c_try_run ()
1926: {
1927: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928: if { { ac_try="$ac_link"
1929: case "(($ac_try" in
1930: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931: *) ac_try_echo=$ac_try;;
1932: esac
1933: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934: $as_echo "$ac_try_echo"; } >&5
1935: (eval "$ac_link") 2>&5
1936: ac_status=$?
1937: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1939: { { case "(($ac_try" in
1940: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941: *) ac_try_echo=$ac_try;;
1942: esac
1943: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944: $as_echo "$ac_try_echo"; } >&5
1945: (eval "$ac_try") 2>&5
1946: ac_status=$?
1947: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948: test $ac_status = 0; }; }; then :
1949: ac_retval=0
1950: else
1951: $as_echo "$as_me: program exited with status $ac_status" >&5
1952: $as_echo "$as_me: failed program was:" >&5
1953: sed 's/^/| /' conftest.$ac_ext >&5
1954:
1955: ac_retval=$ac_status
1956: fi
1957: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959: as_fn_set_status $ac_retval
1960:
1961: } # ac_fn_c_try_run
1962:
1963: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1964: # --------------------------------------------
1965: # Tries to find the compile-time value of EXPR in a program that includes
1966: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1967: # computed
1968: ac_fn_c_compute_int ()
1969: {
1970: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971: if test "$cross_compiling" = yes; then
1972: # Depending upon the size, compute the lo and hi bounds.
1973: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974: /* end confdefs.h. */
1975: $4
1976: int
1977: main ()
1978: {
1979: static int test_array [1 - 2 * !(($2) >= 0)];
1980: test_array [0] = 0
1981:
1982: ;
1983: return 0;
1984: }
1985: _ACEOF
1986: if ac_fn_c_try_compile "$LINENO"; then :
1987: ac_lo=0 ac_mid=0
1988: while :; do
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; break
2004: else
2005: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2006: if test $ac_lo -le $ac_mid; then
2007: ac_lo= ac_hi=
2008: break
2009: fi
2010: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2011: fi
2012: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013: done
2014: else
2015: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016: /* end confdefs.h. */
2017: $4
2018: int
2019: main ()
2020: {
2021: static int test_array [1 - 2 * !(($2) < 0)];
2022: test_array [0] = 0
2023:
2024: ;
2025: return 0;
2026: }
2027: _ACEOF
2028: if ac_fn_c_try_compile "$LINENO"; then :
2029: ac_hi=-1 ac_mid=-1
2030: while :; do
2031: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032: /* end confdefs.h. */
2033: $4
2034: int
2035: main ()
2036: {
2037: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2038: test_array [0] = 0
2039:
2040: ;
2041: return 0;
2042: }
2043: _ACEOF
2044: if ac_fn_c_try_compile "$LINENO"; then :
2045: ac_lo=$ac_mid; break
2046: else
2047: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2048: if test $ac_mid -le $ac_hi; then
2049: ac_lo= ac_hi=
2050: break
2051: fi
2052: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2053: fi
2054: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055: done
2056: else
2057: ac_lo= ac_hi=
2058: fi
2059: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060: fi
2061: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062: # Binary search between lo and hi bounds.
2063: while test "x$ac_lo" != "x$ac_hi"; do
2064: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2065: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066: /* end confdefs.h. */
2067: $4
2068: int
2069: main ()
2070: {
2071: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2072: test_array [0] = 0
2073:
2074: ;
2075: return 0;
2076: }
2077: _ACEOF
2078: if ac_fn_c_try_compile "$LINENO"; then :
2079: ac_hi=$ac_mid
2080: else
2081: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2082: fi
2083: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084: done
2085: case $ac_lo in #((
2086: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2087: '') ac_retval=1 ;;
2088: esac
2089: else
2090: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091: /* end confdefs.h. */
2092: $4
2093: static long int longval () { return $2; }
2094: static unsigned long int ulongval () { return $2; }
2095: #include <stdio.h>
2096: #include <stdlib.h>
2097: int
2098: main ()
2099: {
2100:
2101: FILE *f = fopen ("conftest.val", "w");
2102: if (! f)
2103: return 1;
2104: if (($2) < 0)
2105: {
2106: long int i = longval ();
2107: if (i != ($2))
2108: return 1;
2109: fprintf (f, "%ld", i);
2110: }
2111: else
2112: {
2113: unsigned long int i = ulongval ();
2114: if (i != ($2))
2115: return 1;
2116: fprintf (f, "%lu", i);
2117: }
2118: /* Do not output a trailing newline, as this causes \r\n confusion
2119: on some platforms. */
2120: return ferror (f) || fclose (f) != 0;
2121:
2122: ;
2123: return 0;
2124: }
2125: _ACEOF
2126: if ac_fn_c_try_run "$LINENO"; then :
2127: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2128: else
2129: ac_retval=1
2130: fi
2131: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2132: conftest.$ac_objext conftest.beam conftest.$ac_ext
2133: rm -f conftest.val
2134:
2135: fi
2136: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137: as_fn_set_status $ac_retval
2138:
2139: } # ac_fn_c_compute_int
2140:
2141: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2142: # -------------------------------------------------------
2143: # Tests whether HEADER exists and can be compiled using the include files in
2144: # INCLUDES, setting the cache variable VAR accordingly.
2145: ac_fn_c_check_header_compile ()
2146: {
2147: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149: $as_echo_n "checking for $2... " >&6; }
2150: if eval \${$3+:} false; then :
2151: $as_echo_n "(cached) " >&6
2152: else
2153: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154: /* end confdefs.h. */
2155: $4
2156: #include <$2>
2157: _ACEOF
2158: if ac_fn_c_try_compile "$LINENO"; then :
2159: eval "$3=yes"
2160: else
2161: eval "$3=no"
2162: fi
2163: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164: fi
2165: eval ac_res=\$$3
2166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167: $as_echo "$ac_res" >&6; }
2168: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169:
2170: } # ac_fn_c_check_header_compile
2171:
2172: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2173: # -------------------------------------------------------
2174: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2175: # the include files in INCLUDES and setting the cache variable VAR
2176: # accordingly.
2177: ac_fn_c_check_header_mongrel ()
2178: {
2179: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180: if eval \${$3+:} false; then :
2181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182: $as_echo_n "checking for $2... " >&6; }
2183: if eval \${$3+:} false; then :
2184: $as_echo_n "(cached) " >&6
2185: fi
2186: eval ac_res=\$$3
2187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188: $as_echo "$ac_res" >&6; }
2189: else
2190: # Is the header compilable?
2191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2192: $as_echo_n "checking $2 usability... " >&6; }
2193: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194: /* end confdefs.h. */
2195: $4
2196: #include <$2>
2197: _ACEOF
2198: if ac_fn_c_try_compile "$LINENO"; then :
2199: ac_header_compiler=yes
2200: else
2201: ac_header_compiler=no
2202: fi
2203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2205: $as_echo "$ac_header_compiler" >&6; }
2206:
2207: # Is the header present?
2208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2209: $as_echo_n "checking $2 presence... " >&6; }
2210: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2211: /* end confdefs.h. */
2212: #include <$2>
2213: _ACEOF
2214: if ac_fn_c_try_cpp "$LINENO"; then :
2215: ac_header_preproc=yes
2216: else
2217: ac_header_preproc=no
2218: fi
2219: rm -f conftest.err conftest.i conftest.$ac_ext
2220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2221: $as_echo "$ac_header_preproc" >&6; }
2222:
2223: # So? What about this header?
2224: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2225: yes:no: )
2226: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2227: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2228: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230: ;;
2231: no:yes:* )
2232: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2233: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2234: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2235: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2236: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2237: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2238: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2239: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2240: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242: ;;
2243: esac
2244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245: $as_echo_n "checking for $2... " >&6; }
2246: if eval \${$3+:} false; then :
2247: $as_echo_n "(cached) " >&6
2248: else
2249: eval "$3=\$ac_header_compiler"
2250: fi
2251: eval ac_res=\$$3
2252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253: $as_echo "$ac_res" >&6; }
2254: fi
2255: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256:
2257: } # ac_fn_c_check_header_mongrel
2258: cat >config.log <<_ACEOF
2259: This file contains any messages produced by compilers while
2260: running configure, to aid debugging if configure makes a mistake.
2261:
2262: It was created by rpl $as_me 4.0.24, which was
2263: generated by GNU Autoconf 2.68. Invocation command line was
2264:
2265: $ $0 $@
2266:
2267: _ACEOF
2268: exec 5>>config.log
2269: {
2270: cat <<_ASUNAME
2271: ## --------- ##
2272: ## Platform. ##
2273: ## --------- ##
2274:
2275: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2276: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2277: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2278: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2279: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2280:
2281: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2282: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2283:
2284: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2285: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2286: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2287: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2288: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2289: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2290: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2291:
2292: _ASUNAME
2293:
2294: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295: for as_dir in $PATH
2296: do
2297: IFS=$as_save_IFS
2298: test -z "$as_dir" && as_dir=.
2299: $as_echo "PATH: $as_dir"
2300: done
2301: IFS=$as_save_IFS
2302:
2303: } >&5
2304:
2305: cat >&5 <<_ACEOF
2306:
2307:
2308: ## ----------- ##
2309: ## Core tests. ##
2310: ## ----------- ##
2311:
2312: _ACEOF
2313:
2314:
2315: # Keep a trace of the command line.
2316: # Strip out --no-create and --no-recursion so they do not pile up.
2317: # Strip out --silent because we don't want to record it for future runs.
2318: # Also quote any args containing shell meta-characters.
2319: # Make two passes to allow for proper duplicate-argument suppression.
2320: ac_configure_args=
2321: ac_configure_args0=
2322: ac_configure_args1=
2323: ac_must_keep_next=false
2324: for ac_pass in 1 2
2325: do
2326: for ac_arg
2327: do
2328: case $ac_arg in
2329: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2330: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2331: | -silent | --silent | --silen | --sile | --sil)
2332: continue ;;
2333: *\'*)
2334: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2335: esac
2336: case $ac_pass in
2337: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2338: 2)
2339: as_fn_append ac_configure_args1 " '$ac_arg'"
2340: if test $ac_must_keep_next = true; then
2341: ac_must_keep_next=false # Got value, back to normal.
2342: else
2343: case $ac_arg in
2344: *=* | --config-cache | -C | -disable-* | --disable-* \
2345: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2346: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2347: | -with-* | --with-* | -without-* | --without-* | --x)
2348: case "$ac_configure_args0 " in
2349: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2350: esac
2351: ;;
2352: -* ) ac_must_keep_next=true ;;
2353: esac
2354: fi
2355: as_fn_append ac_configure_args " '$ac_arg'"
2356: ;;
2357: esac
2358: done
2359: done
2360: { ac_configure_args0=; unset ac_configure_args0;}
2361: { ac_configure_args1=; unset ac_configure_args1;}
2362:
2363: # When interrupted or exit'd, cleanup temporary files, and complete
2364: # config.log. We remove comments because anyway the quotes in there
2365: # would cause problems or look ugly.
2366: # WARNING: Use '\'' to represent an apostrophe within the trap.
2367: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2368: trap 'exit_status=$?
2369: # Save into config.log some information that might help in debugging.
2370: {
2371: echo
2372:
2373: $as_echo "## ---------------- ##
2374: ## Cache variables. ##
2375: ## ---------------- ##"
2376: echo
2377: # The following way of writing the cache mishandles newlines in values,
2378: (
2379: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2380: eval ac_val=\$$ac_var
2381: case $ac_val in #(
2382: *${as_nl}*)
2383: case $ac_var in #(
2384: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2385: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2386: esac
2387: case $ac_var in #(
2388: _ | IFS | as_nl) ;; #(
2389: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2390: *) { eval $ac_var=; unset $ac_var;} ;;
2391: esac ;;
2392: esac
2393: done
2394: (set) 2>&1 |
2395: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2396: *${as_nl}ac_space=\ *)
2397: sed -n \
2398: "s/'\''/'\''\\\\'\'''\''/g;
2399: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2400: ;; #(
2401: *)
2402: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2403: ;;
2404: esac |
2405: sort
2406: )
2407: echo
2408:
2409: $as_echo "## ----------------- ##
2410: ## Output variables. ##
2411: ## ----------------- ##"
2412: echo
2413: for ac_var in $ac_subst_vars
2414: do
2415: eval ac_val=\$$ac_var
2416: case $ac_val in
2417: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2418: esac
2419: $as_echo "$ac_var='\''$ac_val'\''"
2420: done | sort
2421: echo
2422:
2423: if test -n "$ac_subst_files"; then
2424: $as_echo "## ------------------- ##
2425: ## File substitutions. ##
2426: ## ------------------- ##"
2427: echo
2428: for ac_var in $ac_subst_files
2429: do
2430: eval ac_val=\$$ac_var
2431: case $ac_val in
2432: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433: esac
2434: $as_echo "$ac_var='\''$ac_val'\''"
2435: done | sort
2436: echo
2437: fi
2438:
2439: if test -s confdefs.h; then
2440: $as_echo "## ----------- ##
2441: ## confdefs.h. ##
2442: ## ----------- ##"
2443: echo
2444: cat confdefs.h
2445: echo
2446: fi
2447: test "$ac_signal" != 0 &&
2448: $as_echo "$as_me: caught signal $ac_signal"
2449: $as_echo "$as_me: exit $exit_status"
2450: } >&5
2451: rm -f core *.core core.conftest.* &&
2452: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2453: exit $exit_status
2454: ' 0
2455: for ac_signal in 1 2 13 15; do
2456: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2457: done
2458: ac_signal=0
2459:
2460: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461: rm -f -r conftest* confdefs.h
2462:
2463: $as_echo "/* confdefs.h */" > confdefs.h
2464:
2465: # Predefined preprocessor variables.
2466:
2467: cat >>confdefs.h <<_ACEOF
2468: #define PACKAGE_NAME "$PACKAGE_NAME"
2469: _ACEOF
2470:
2471: cat >>confdefs.h <<_ACEOF
2472: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2473: _ACEOF
2474:
2475: cat >>confdefs.h <<_ACEOF
2476: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2477: _ACEOF
2478:
2479: cat >>confdefs.h <<_ACEOF
2480: #define PACKAGE_STRING "$PACKAGE_STRING"
2481: _ACEOF
2482:
2483: cat >>confdefs.h <<_ACEOF
2484: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2485: _ACEOF
2486:
2487: cat >>confdefs.h <<_ACEOF
2488: #define PACKAGE_URL "$PACKAGE_URL"
2489: _ACEOF
2490:
2491:
2492: # Let the site file select an alternate cache file if it wants to.
2493: # Prefer an explicitly selected file to automatically selected ones.
2494: ac_site_file1=NONE
2495: ac_site_file2=NONE
2496: if test -n "$CONFIG_SITE"; then
2497: # We do not want a PATH search for config.site.
2498: case $CONFIG_SITE in #((
2499: -*) ac_site_file1=./$CONFIG_SITE;;
2500: */*) ac_site_file1=$CONFIG_SITE;;
2501: *) ac_site_file1=./$CONFIG_SITE;;
2502: esac
2503: elif test "x$prefix" != xNONE; then
2504: ac_site_file1=$prefix/share/config.site
2505: ac_site_file2=$prefix/etc/config.site
2506: else
2507: ac_site_file1=$ac_default_prefix/share/config.site
2508: ac_site_file2=$ac_default_prefix/etc/config.site
2509: fi
2510: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2511: do
2512: test "x$ac_site_file" = xNONE && continue
2513: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2514: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516: sed 's/^/| /' "$ac_site_file" >&5
2517: . "$ac_site_file" \
2518: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520: as_fn_error $? "failed to load site script $ac_site_file
2521: See \`config.log' for more details" "$LINENO" 5; }
2522: fi
2523: done
2524:
2525: if test -r "$cache_file"; then
2526: # Some versions of bash will fail to source /dev/null (special files
2527: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2528: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2529: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2530: $as_echo "$as_me: loading cache $cache_file" >&6;}
2531: case $cache_file in
2532: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2533: *) . "./$cache_file";;
2534: esac
2535: fi
2536: else
2537: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2538: $as_echo "$as_me: creating cache $cache_file" >&6;}
2539: >$cache_file
2540: fi
2541:
2542: # Check that the precious variables saved in the cache have kept the same
2543: # value.
2544: ac_cache_corrupted=false
2545: for ac_var in $ac_precious_vars; do
2546: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2547: eval ac_new_set=\$ac_env_${ac_var}_set
2548: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2549: eval ac_new_val=\$ac_env_${ac_var}_value
2550: case $ac_old_set,$ac_new_set in
2551: set,)
2552: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2553: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2554: ac_cache_corrupted=: ;;
2555: ,set)
2556: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2557: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2558: ac_cache_corrupted=: ;;
2559: ,);;
2560: *)
2561: if test "x$ac_old_val" != "x$ac_new_val"; then
2562: # differences in whitespace do not lead to failure.
2563: ac_old_val_w=`echo x $ac_old_val`
2564: ac_new_val_w=`echo x $ac_new_val`
2565: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2566: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2567: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2568: ac_cache_corrupted=:
2569: else
2570: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2571: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2572: eval $ac_var=\$ac_old_val
2573: fi
2574: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2575: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2576: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2577: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2578: fi;;
2579: esac
2580: # Pass precious variables to config.status.
2581: if test "$ac_new_set" = set; then
2582: case $ac_new_val in
2583: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2584: *) ac_arg=$ac_var=$ac_new_val ;;
2585: esac
2586: case " $ac_configure_args " in
2587: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2588: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2589: esac
2590: fi
2591: done
2592: if $ac_cache_corrupted; then
2593: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2596: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2597: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2598: fi
2599: ## -------------------- ##
2600: ## Main body of script. ##
2601: ## -------------------- ##
2602:
2603: ac_ext=c
2604: ac_cpp='$CPP $CPPFLAGS'
2605: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2606: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2607: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2608:
2609:
2610: ac_aux_dir=
2611: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2612: if test -f "$ac_dir/install-sh"; then
2613: ac_aux_dir=$ac_dir
2614: ac_install_sh="$ac_aux_dir/install-sh -c"
2615: break
2616: elif test -f "$ac_dir/install.sh"; then
2617: ac_aux_dir=$ac_dir
2618: ac_install_sh="$ac_aux_dir/install.sh -c"
2619: break
2620: elif test -f "$ac_dir/shtool"; then
2621: ac_aux_dir=$ac_dir
2622: ac_install_sh="$ac_aux_dir/shtool install -c"
2623: break
2624: fi
2625: done
2626: if test -z "$ac_aux_dir"; then
2627: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2628: fi
2629:
2630: # These three variables are undocumented and unsupported,
2631: # and are intended to be withdrawn in a future Autoconf release.
2632: # They can cause serious problems if a builder's source tree is in a directory
2633: # whose full name contains unusual characters.
2634: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2637:
2638:
2639: # Make sure we can run config.sub.
2640: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2641: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2642:
2643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2644: $as_echo_n "checking build system type... " >&6; }
2645: if ${ac_cv_build+:} false; then :
2646: $as_echo_n "(cached) " >&6
2647: else
2648: ac_build_alias=$build_alias
2649: test "x$ac_build_alias" = x &&
2650: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2651: test "x$ac_build_alias" = x &&
2652: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2653: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2654: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2655:
2656: fi
2657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2658: $as_echo "$ac_cv_build" >&6; }
2659: case $ac_cv_build in
2660: *-*-*) ;;
2661: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2662: esac
2663: build=$ac_cv_build
2664: ac_save_IFS=$IFS; IFS='-'
2665: set x $ac_cv_build
2666: shift
2667: build_cpu=$1
2668: build_vendor=$2
2669: shift; shift
2670: # Remember, the first character of IFS is used to create $*,
2671: # except with old shells:
2672: build_os=$*
2673: IFS=$ac_save_IFS
2674: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2675:
2676:
2677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2678: $as_echo_n "checking host system type... " >&6; }
2679: if ${ac_cv_host+:} false; then :
2680: $as_echo_n "(cached) " >&6
2681: else
2682: if test "x$host_alias" = x; then
2683: ac_cv_host=$ac_cv_build
2684: else
2685: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2686: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2687: fi
2688:
2689: fi
2690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2691: $as_echo "$ac_cv_host" >&6; }
2692: case $ac_cv_host in
2693: *-*-*) ;;
2694: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2695: esac
2696: host=$ac_cv_host
2697: ac_save_IFS=$IFS; IFS='-'
2698: set x $ac_cv_host
2699: shift
2700: host_cpu=$1
2701: host_vendor=$2
2702: shift; shift
2703: # Remember, the first character of IFS is used to create $*,
2704: # except with old shells:
2705: host_os=$*
2706: IFS=$ac_save_IFS
2707: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2708:
2709:
2710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2711: $as_echo_n "checking target system type... " >&6; }
2712: if ${ac_cv_target+:} false; then :
2713: $as_echo_n "(cached) " >&6
2714: else
2715: if test "x$target_alias" = x; then
2716: ac_cv_target=$ac_cv_host
2717: else
2718: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2719: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2720: fi
2721:
2722: fi
2723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2724: $as_echo "$ac_cv_target" >&6; }
2725: case $ac_cv_target in
2726: *-*-*) ;;
2727: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2728: esac
2729: target=$ac_cv_target
2730: ac_save_IFS=$IFS; IFS='-'
2731: set x $ac_cv_target
2732: shift
2733: target_cpu=$1
2734: target_vendor=$2
2735: shift; shift
2736: # Remember, the first character of IFS is used to create $*,
2737: # except with old shells:
2738: target_os=$*
2739: IFS=$ac_save_IFS
2740: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2741:
2742:
2743: # The aliases save the names the user supplied, while $host etc.
2744: # will get canonicalized.
2745: test -n "$target_alias" &&
2746: test "$program_prefix$program_suffix$program_transform_name" = \
2747: NONENONEs,x,x, &&
2748: program_prefix=${target_alias}-
2749:
2750: am__api_version='1.11'
2751:
2752: # Find a good install program. We prefer a C program (faster),
2753: # so one script is as good as another. But avoid the broken or
2754: # incompatible versions:
2755: # SysV /etc/install, /usr/sbin/install
2756: # SunOS /usr/etc/install
2757: # IRIX /sbin/install
2758: # AIX /bin/install
2759: # AmigaOS /C/install, which installs bootblocks on floppy discs
2760: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2761: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2762: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2763: # OS/2's system install, which has a completely different semantic
2764: # ./install, which can be erroneously created by make from ./install.sh.
2765: # Reject install programs that cannot install multiple files.
2766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2767: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2768: if test -z "$INSTALL"; then
2769: if ${ac_cv_path_install+:} false; then :
2770: $as_echo_n "(cached) " >&6
2771: else
2772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773: for as_dir in $PATH
2774: do
2775: IFS=$as_save_IFS
2776: test -z "$as_dir" && as_dir=.
2777: # Account for people who put trailing slashes in PATH elements.
2778: case $as_dir/ in #((
2779: ./ | .// | /[cC]/* | \
2780: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2781: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2782: /usr/ucb/* ) ;;
2783: *)
2784: # OSF1 and SCO ODT 3.0 have their own names for install.
2785: # Don't use installbsd from OSF since it installs stuff as root
2786: # by default.
2787: for ac_prog in ginstall scoinst install; do
2788: for ac_exec_ext in '' $ac_executable_extensions; do
2789: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2790: if test $ac_prog = install &&
2791: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2792: # AIX install. It has an incompatible calling convention.
2793: :
2794: elif test $ac_prog = install &&
2795: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2796: # program-specific install script used by HP pwplus--don't use.
2797: :
2798: else
2799: rm -rf conftest.one conftest.two conftest.dir
2800: echo one > conftest.one
2801: echo two > conftest.two
2802: mkdir conftest.dir
2803: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2804: test -s conftest.one && test -s conftest.two &&
2805: test -s conftest.dir/conftest.one &&
2806: test -s conftest.dir/conftest.two
2807: then
2808: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2809: break 3
2810: fi
2811: fi
2812: fi
2813: done
2814: done
2815: ;;
2816: esac
2817:
2818: done
2819: IFS=$as_save_IFS
2820:
2821: rm -rf conftest.one conftest.two conftest.dir
2822:
2823: fi
2824: if test "${ac_cv_path_install+set}" = set; then
2825: INSTALL=$ac_cv_path_install
2826: else
2827: # As a last resort, use the slow shell script. Don't cache a
2828: # value for INSTALL within a source directory, because that will
2829: # break other packages using the cache if that directory is
2830: # removed, or if the value is a relative name.
2831: INSTALL=$ac_install_sh
2832: fi
2833: fi
2834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2835: $as_echo "$INSTALL" >&6; }
2836:
2837: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2838: # It thinks the first close brace ends the variable substitution.
2839: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2840:
2841: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2842:
2843: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2844:
2845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2846: $as_echo_n "checking whether build environment is sane... " >&6; }
2847: # Just in case
2848: sleep 1
2849: echo timestamp > conftest.file
2850: # Reject unsafe characters in $srcdir or the absolute working directory
2851: # name. Accept space and tab only in the latter.
2852: am_lf='
2853: '
2854: case `pwd` in
2855: *[\\\"\#\$\&\'\`$am_lf]*)
2856: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2857: esac
2858: case $srcdir in
2859: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2860: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2861: esac
2862:
2863: # Do `set' in a subshell so we don't clobber the current shell's
2864: # arguments. Must try -L first in case configure is actually a
2865: # symlink; some systems play weird games with the mod time of symlinks
2866: # (eg FreeBSD returns the mod time of the symlink's containing
2867: # directory).
2868: if (
2869: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2870: if test "$*" = "X"; then
2871: # -L didn't work.
2872: set X `ls -t "$srcdir/configure" conftest.file`
2873: fi
2874: rm -f conftest.file
2875: if test "$*" != "X $srcdir/configure conftest.file" \
2876: && test "$*" != "X conftest.file $srcdir/configure"; then
2877:
2878: # If neither matched, then we have a broken ls. This can happen
2879: # if, for instance, CONFIG_SHELL is bash and it inherits a
2880: # broken ls alias from the environment. This has actually
2881: # happened. Such a system could not be considered "sane".
2882: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2883: alias in your environment" "$LINENO" 5
2884: fi
2885:
2886: test "$2" = conftest.file
2887: )
2888: then
2889: # Ok.
2890: :
2891: else
2892: as_fn_error $? "newly created file is older than distributed files!
2893: Check your system clock" "$LINENO" 5
2894: fi
2895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896: $as_echo "yes" >&6; }
2897: test "$program_prefix" != NONE &&
2898: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2899: # Use a double $ so make ignores it.
2900: test "$program_suffix" != NONE &&
2901: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2902: # Double any \ or $.
2903: # By default was `s,x,x', remove it if useless.
2904: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2905: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2906:
2907: # expand $ac_aux_dir to an absolute path
2908: am_aux_dir=`cd $ac_aux_dir && pwd`
2909:
2910: if test x"${MISSING+set}" != xset; then
2911: case $am_aux_dir in
2912: *\ * | *\ *)
2913: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2914: *)
2915: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2916: esac
2917: fi
2918: # Use eval to expand $SHELL
2919: if eval "$MISSING --run true"; then
2920: am_missing_run="$MISSING --run "
2921: else
2922: am_missing_run=
2923: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2924: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2925: fi
2926:
2927: if test x"${install_sh}" != xset; then
2928: case $am_aux_dir in
2929: *\ * | *\ *)
2930: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2931: *)
2932: install_sh="\${SHELL} $am_aux_dir/install-sh"
2933: esac
2934: fi
2935:
2936: # Installed binaries are usually stripped using `strip' when the user
2937: # run `make install-strip'. However `strip' might not be the right
2938: # tool to use in cross-compilation environments, therefore Automake
2939: # will honor the `STRIP' environment variable to overrule this program.
2940: if test "$cross_compiling" != no; then
2941: if test -n "$ac_tool_prefix"; then
2942: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2943: set dummy ${ac_tool_prefix}strip; ac_word=$2
2944: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945: $as_echo_n "checking for $ac_word... " >&6; }
2946: if ${ac_cv_prog_STRIP+:} false; then :
2947: $as_echo_n "(cached) " >&6
2948: else
2949: if test -n "$STRIP"; then
2950: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2951: else
2952: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953: for as_dir in $PATH
2954: do
2955: IFS=$as_save_IFS
2956: test -z "$as_dir" && as_dir=.
2957: for ac_exec_ext in '' $ac_executable_extensions; do
2958: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2960: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961: break 2
2962: fi
2963: done
2964: done
2965: IFS=$as_save_IFS
2966:
2967: fi
2968: fi
2969: STRIP=$ac_cv_prog_STRIP
2970: if test -n "$STRIP"; then
2971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2972: $as_echo "$STRIP" >&6; }
2973: else
2974: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975: $as_echo "no" >&6; }
2976: fi
2977:
2978:
2979: fi
2980: if test -z "$ac_cv_prog_STRIP"; then
2981: ac_ct_STRIP=$STRIP
2982: # Extract the first word of "strip", so it can be a program name with args.
2983: set dummy strip; ac_word=$2
2984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985: $as_echo_n "checking for $ac_word... " >&6; }
2986: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2987: $as_echo_n "(cached) " >&6
2988: else
2989: if test -n "$ac_ct_STRIP"; then
2990: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2991: else
2992: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993: for as_dir in $PATH
2994: do
2995: IFS=$as_save_IFS
2996: test -z "$as_dir" && as_dir=.
2997: for ac_exec_ext in '' $ac_executable_extensions; do
2998: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999: ac_cv_prog_ac_ct_STRIP="strip"
3000: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001: break 2
3002: fi
3003: done
3004: done
3005: IFS=$as_save_IFS
3006:
3007: fi
3008: fi
3009: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3010: if test -n "$ac_ct_STRIP"; then
3011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3012: $as_echo "$ac_ct_STRIP" >&6; }
3013: else
3014: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015: $as_echo "no" >&6; }
3016: fi
3017:
3018: if test "x$ac_ct_STRIP" = x; then
3019: STRIP=":"
3020: else
3021: case $cross_compiling:$ac_tool_warned in
3022: yes:)
3023: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025: ac_tool_warned=yes ;;
3026: esac
3027: STRIP=$ac_ct_STRIP
3028: fi
3029: else
3030: STRIP="$ac_cv_prog_STRIP"
3031: fi
3032:
3033: fi
3034: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3035:
3036: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3037: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3038: if test -z "$MKDIR_P"; then
3039: if ${ac_cv_path_mkdir+:} false; then :
3040: $as_echo_n "(cached) " >&6
3041: else
3042: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3044: do
3045: IFS=$as_save_IFS
3046: test -z "$as_dir" && as_dir=.
3047: for ac_prog in mkdir gmkdir; do
3048: for ac_exec_ext in '' $ac_executable_extensions; do
3049: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3050: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3051: 'mkdir (GNU coreutils) '* | \
3052: 'mkdir (coreutils) '* | \
3053: 'mkdir (fileutils) '4.1*)
3054: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3055: break 3;;
3056: esac
3057: done
3058: done
3059: done
3060: IFS=$as_save_IFS
3061:
3062: fi
3063:
3064: test -d ./--version && rmdir ./--version
3065: if test "${ac_cv_path_mkdir+set}" = set; then
3066: MKDIR_P="$ac_cv_path_mkdir -p"
3067: else
3068: # As a last resort, use the slow shell script. Don't cache a
3069: # value for MKDIR_P within a source directory, because that will
3070: # break other packages using the cache if that directory is
3071: # removed, or if the value is a relative name.
3072: MKDIR_P="$ac_install_sh -d"
3073: fi
3074: fi
3075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3076: $as_echo "$MKDIR_P" >&6; }
3077:
3078: mkdir_p="$MKDIR_P"
3079: case $mkdir_p in
3080: [\\/$]* | ?:[\\/]*) ;;
3081: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3082: esac
3083:
3084: for ac_prog in gawk mawk nawk awk
3085: do
3086: # Extract the first word of "$ac_prog", so it can be a program name with args.
3087: set dummy $ac_prog; ac_word=$2
3088: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089: $as_echo_n "checking for $ac_word... " >&6; }
3090: if ${ac_cv_prog_AWK+:} false; then :
3091: $as_echo_n "(cached) " >&6
3092: else
3093: if test -n "$AWK"; then
3094: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3095: else
3096: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097: for as_dir in $PATH
3098: do
3099: IFS=$as_save_IFS
3100: test -z "$as_dir" && as_dir=.
3101: for ac_exec_ext in '' $ac_executable_extensions; do
3102: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103: ac_cv_prog_AWK="$ac_prog"
3104: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105: break 2
3106: fi
3107: done
3108: done
3109: IFS=$as_save_IFS
3110:
3111: fi
3112: fi
3113: AWK=$ac_cv_prog_AWK
3114: if test -n "$AWK"; then
3115: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3116: $as_echo "$AWK" >&6; }
3117: else
3118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119: $as_echo "no" >&6; }
3120: fi
3121:
3122:
3123: test -n "$AWK" && break
3124: done
3125:
3126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3127: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3128: set x ${MAKE-make}
3129: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3130: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3131: $as_echo_n "(cached) " >&6
3132: else
3133: cat >conftest.make <<\_ACEOF
3134: SHELL = /bin/sh
3135: all:
3136: @echo '@@@%%%=$(MAKE)=@@@%%%'
3137: _ACEOF
3138: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3139: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3140: *@@@%%%=?*=@@@%%%*)
3141: eval ac_cv_prog_make_${ac_make}_set=yes;;
3142: *)
3143: eval ac_cv_prog_make_${ac_make}_set=no;;
3144: esac
3145: rm -f conftest.make
3146: fi
3147: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149: $as_echo "yes" >&6; }
3150: SET_MAKE=
3151: else
3152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153: $as_echo "no" >&6; }
3154: SET_MAKE="MAKE=${MAKE-make}"
3155: fi
3156:
3157: rm -rf .tst 2>/dev/null
3158: mkdir .tst 2>/dev/null
3159: if test -d .tst; then
3160: am__leading_dot=.
3161: else
3162: am__leading_dot=_
3163: fi
3164: rmdir .tst 2>/dev/null
3165:
3166: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3167: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3168: # is not polluted with repeated "-I."
3169: am__isrc=' -I$(srcdir)'
3170: # test to see if srcdir already configured
3171: if test -f $srcdir/config.status; then
3172: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3173: fi
3174: fi
3175:
3176: # test whether we have cygpath
3177: if test -z "$CYGPATH_W"; then
3178: if (cygpath --version) >/dev/null 2>/dev/null; then
3179: CYGPATH_W='cygpath -w'
3180: else
3181: CYGPATH_W=echo
3182: fi
3183: fi
3184:
3185:
3186: # Define the identity of the package.
3187: PACKAGE='rpl'
3188: VERSION='4.0.24'
3189:
3190:
3191: cat >>confdefs.h <<_ACEOF
3192: #define PACKAGE "$PACKAGE"
3193: _ACEOF
3194:
3195:
3196: cat >>confdefs.h <<_ACEOF
3197: #define VERSION "$VERSION"
3198: _ACEOF
3199:
3200: # Some tools Automake needs.
3201:
3202: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3203:
3204:
3205: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3206:
3207:
3208: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3209:
3210:
3211: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3212:
3213:
3214: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3215:
3216: # We need awk for the "check" target. The system "awk" is bad on
3217: # some platforms.
3218: # Always define AMTAR for backward compatibility.
3219:
3220: AMTAR=${AMTAR-"${am_missing_run}tar"}
3221:
3222: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3223:
3224:
3225:
3226:
3227:
3228:
3229: ac_config_headers="$ac_config_headers rplconfig.h"
3230:
3231:
3232: NCURSES=ncurses-5.8
3233: READLINE=readline-6.2
3234: UNITS=units-1.88
3235: GSL=gsl-1.14
3236: GPP=gpp-2.24
3237: GNUPLOT=gnuplot-4.4.3
3238: FILE=file-5.03
3239: ICONV=libiconv-1.13.1
3240: SQLITE=sqlite-3.7.5
3241: OPENSSL=openssl-1.0.0d
3242:
3243: ac_ext=c
3244: ac_cpp='$CPP $CPPFLAGS'
3245: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248: if test -n "$ac_tool_prefix"; then
3249: for ac_prog in gcc
3250: do
3251: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3252: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254: $as_echo_n "checking for $ac_word... " >&6; }
3255: if ${ac_cv_prog_CC+:} false; then :
3256: $as_echo_n "(cached) " >&6
3257: else
3258: if test -n "$CC"; then
3259: ac_cv_prog_CC="$CC" # Let the user override the test.
3260: else
3261: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262: for as_dir in $PATH
3263: do
3264: IFS=$as_save_IFS
3265: test -z "$as_dir" && as_dir=.
3266: for ac_exec_ext in '' $ac_executable_extensions; do
3267: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3269: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270: break 2
3271: fi
3272: done
3273: done
3274: IFS=$as_save_IFS
3275:
3276: fi
3277: fi
3278: CC=$ac_cv_prog_CC
3279: if test -n "$CC"; then
3280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281: $as_echo "$CC" >&6; }
3282: else
3283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284: $as_echo "no" >&6; }
3285: fi
3286:
3287:
3288: test -n "$CC" && break
3289: done
3290: fi
3291: if test -z "$CC"; then
3292: ac_ct_CC=$CC
3293: for ac_prog in gcc
3294: do
3295: # Extract the first word of "$ac_prog", so it can be a program name with args.
3296: set dummy $ac_prog; ac_word=$2
3297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298: $as_echo_n "checking for $ac_word... " >&6; }
3299: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300: $as_echo_n "(cached) " >&6
3301: else
3302: if test -n "$ac_ct_CC"; then
3303: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3304: else
3305: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306: for as_dir in $PATH
3307: do
3308: IFS=$as_save_IFS
3309: test -z "$as_dir" && as_dir=.
3310: for ac_exec_ext in '' $ac_executable_extensions; do
3311: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3312: ac_cv_prog_ac_ct_CC="$ac_prog"
3313: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3314: break 2
3315: fi
3316: done
3317: done
3318: IFS=$as_save_IFS
3319:
3320: fi
3321: fi
3322: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3323: if test -n "$ac_ct_CC"; then
3324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3325: $as_echo "$ac_ct_CC" >&6; }
3326: else
3327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328: $as_echo "no" >&6; }
3329: fi
3330:
3331:
3332: test -n "$ac_ct_CC" && break
3333: done
3334:
3335: if test "x$ac_ct_CC" = x; then
3336: CC=""
3337: else
3338: case $cross_compiling:$ac_tool_warned in
3339: yes:)
3340: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342: ac_tool_warned=yes ;;
3343: esac
3344: CC=$ac_ct_CC
3345: fi
3346: fi
3347:
3348:
3349: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351: as_fn_error $? "no acceptable C compiler found in \$PATH
3352: See \`config.log' for more details" "$LINENO" 5; }
3353:
3354: # Provide some information about the compiler.
3355: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3356: set X $ac_compile
3357: ac_compiler=$2
3358: for ac_option in --version -v -V -qversion; do
3359: { { ac_try="$ac_compiler $ac_option >&5"
3360: case "(($ac_try" in
3361: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362: *) ac_try_echo=$ac_try;;
3363: esac
3364: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365: $as_echo "$ac_try_echo"; } >&5
3366: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3367: ac_status=$?
3368: if test -s conftest.err; then
3369: sed '10a\
3370: ... rest of stderr output deleted ...
3371: 10q' conftest.err >conftest.er1
3372: cat conftest.er1 >&5
3373: fi
3374: rm -f conftest.er1 conftest.err
3375: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376: test $ac_status = 0; }
3377: done
3378:
3379: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380: /* end confdefs.h. */
3381:
3382: int
3383: main ()
3384: {
3385:
3386: ;
3387: return 0;
3388: }
3389: _ACEOF
3390: ac_clean_files_save=$ac_clean_files
3391: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392: # Try to create an executable without -o first, disregard a.out.
3393: # It will help us diagnose broken compilers, and finding out an intuition
3394: # of exeext.
3395: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3396: $as_echo_n "checking whether the C compiler works... " >&6; }
3397: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3398:
3399: # The possible output files:
3400: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401:
3402: ac_rmfiles=
3403: for ac_file in $ac_files
3404: do
3405: case $ac_file in
3406: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3408: esac
3409: done
3410: rm -f $ac_rmfiles
3411:
3412: if { { ac_try="$ac_link_default"
3413: case "(($ac_try" in
3414: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415: *) ac_try_echo=$ac_try;;
3416: esac
3417: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418: $as_echo "$ac_try_echo"; } >&5
3419: (eval "$ac_link_default") 2>&5
3420: ac_status=$?
3421: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422: test $ac_status = 0; }; then :
3423: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3426: # so that the user can short-circuit this test for compilers unknown to
3427: # Autoconf.
3428: for ac_file in $ac_files ''
3429: do
3430: test -f "$ac_file" || continue
3431: case $ac_file in
3432: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3433: ;;
3434: [ab].out )
3435: # We found the default executable, but exeext='' is most
3436: # certainly right.
3437: break;;
3438: *.* )
3439: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3440: then :; else
3441: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442: fi
3443: # We set ac_cv_exeext here because the later test for it is not
3444: # safe: cross compilers may not add the suffix if given an `-o'
3445: # argument, so we may need to know it at that point already.
3446: # Even if this section looks crufty: it has the advantage of
3447: # actually working.
3448: break;;
3449: * )
3450: break;;
3451: esac
3452: done
3453: test "$ac_cv_exeext" = no && ac_cv_exeext=
3454:
3455: else
3456: ac_file=''
3457: fi
3458: if test -z "$ac_file"; then :
3459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460: $as_echo "no" >&6; }
3461: $as_echo "$as_me: failed program was:" >&5
3462: sed 's/^/| /' conftest.$ac_ext >&5
3463:
3464: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466: as_fn_error 77 "C compiler cannot create executables
3467: See \`config.log' for more details" "$LINENO" 5; }
3468: else
3469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470: $as_echo "yes" >&6; }
3471: fi
3472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473: $as_echo_n "checking for C compiler default output file name... " >&6; }
3474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475: $as_echo "$ac_file" >&6; }
3476: ac_exeext=$ac_cv_exeext
3477:
3478: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479: ac_clean_files=$ac_clean_files_save
3480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481: $as_echo_n "checking for suffix of executables... " >&6; }
3482: if { { ac_try="$ac_link"
3483: case "(($ac_try" in
3484: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485: *) ac_try_echo=$ac_try;;
3486: esac
3487: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488: $as_echo "$ac_try_echo"; } >&5
3489: (eval "$ac_link") 2>&5
3490: ac_status=$?
3491: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492: test $ac_status = 0; }; then :
3493: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495: # work properly (i.e., refer to `conftest.exe'), while it won't with
3496: # `rm'.
3497: for ac_file in conftest.exe conftest conftest.*; do
3498: test -f "$ac_file" || continue
3499: case $ac_file in
3500: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502: break;;
3503: * ) break;;
3504: esac
3505: done
3506: else
3507: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510: See \`config.log' for more details" "$LINENO" 5; }
3511: fi
3512: rm -f conftest conftest$ac_cv_exeext
3513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514: $as_echo "$ac_cv_exeext" >&6; }
3515:
3516: rm -f conftest.$ac_ext
3517: EXEEXT=$ac_cv_exeext
3518: ac_exeext=$EXEEXT
3519: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520: /* end confdefs.h. */
3521: #include <stdio.h>
3522: int
3523: main ()
3524: {
3525: FILE *f = fopen ("conftest.out", "w");
3526: return ferror (f) || fclose (f) != 0;
3527:
3528: ;
3529: return 0;
3530: }
3531: _ACEOF
3532: ac_clean_files="$ac_clean_files conftest.out"
3533: # Check that the compiler produces executables we can run. If not, either
3534: # the compiler is broken, or we cross compile.
3535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536: $as_echo_n "checking whether we are cross compiling... " >&6; }
3537: if test "$cross_compiling" != yes; then
3538: { { ac_try="$ac_link"
3539: case "(($ac_try" in
3540: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541: *) ac_try_echo=$ac_try;;
3542: esac
3543: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544: $as_echo "$ac_try_echo"; } >&5
3545: (eval "$ac_link") 2>&5
3546: ac_status=$?
3547: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548: test $ac_status = 0; }
3549: if { ac_try='./conftest$ac_cv_exeext'
3550: { { case "(($ac_try" in
3551: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552: *) ac_try_echo=$ac_try;;
3553: esac
3554: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555: $as_echo "$ac_try_echo"; } >&5
3556: (eval "$ac_try") 2>&5
3557: ac_status=$?
3558: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559: test $ac_status = 0; }; }; then
3560: cross_compiling=no
3561: else
3562: if test "$cross_compiling" = maybe; then
3563: cross_compiling=yes
3564: else
3565: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567: as_fn_error $? "cannot run C compiled programs.
3568: If you meant to cross compile, use \`--host'.
3569: See \`config.log' for more details" "$LINENO" 5; }
3570: fi
3571: fi
3572: fi
3573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574: $as_echo "$cross_compiling" >&6; }
3575:
3576: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577: ac_clean_files=$ac_clean_files_save
3578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579: $as_echo_n "checking for suffix of object files... " >&6; }
3580: if ${ac_cv_objext+:} false; then :
3581: $as_echo_n "(cached) " >&6
3582: else
3583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584: /* end confdefs.h. */
3585:
3586: int
3587: main ()
3588: {
3589:
3590: ;
3591: return 0;
3592: }
3593: _ACEOF
3594: rm -f conftest.o conftest.obj
3595: if { { ac_try="$ac_compile"
3596: case "(($ac_try" in
3597: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598: *) ac_try_echo=$ac_try;;
3599: esac
3600: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601: $as_echo "$ac_try_echo"; } >&5
3602: (eval "$ac_compile") 2>&5
3603: ac_status=$?
3604: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605: test $ac_status = 0; }; then :
3606: for ac_file in conftest.o conftest.obj conftest.*; do
3607: test -f "$ac_file" || continue;
3608: case $ac_file in
3609: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3611: break;;
3612: esac
3613: done
3614: else
3615: $as_echo "$as_me: failed program was:" >&5
3616: sed 's/^/| /' conftest.$ac_ext >&5
3617:
3618: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620: as_fn_error $? "cannot compute suffix of object files: cannot compile
3621: See \`config.log' for more details" "$LINENO" 5; }
3622: fi
3623: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624: fi
3625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626: $as_echo "$ac_cv_objext" >&6; }
3627: OBJEXT=$ac_cv_objext
3628: ac_objext=$OBJEXT
3629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631: if ${ac_cv_c_compiler_gnu+:} false; then :
3632: $as_echo_n "(cached) " >&6
3633: else
3634: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635: /* end confdefs.h. */
3636:
3637: int
3638: main ()
3639: {
3640: #ifndef __GNUC__
3641: choke me
3642: #endif
3643:
3644: ;
3645: return 0;
3646: }
3647: _ACEOF
3648: if ac_fn_c_try_compile "$LINENO"; then :
3649: ac_compiler_gnu=yes
3650: else
3651: ac_compiler_gnu=no
3652: fi
3653: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3655:
3656: fi
3657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659: if test $ac_compiler_gnu = yes; then
3660: GCC=yes
3661: else
3662: GCC=
3663: fi
3664: ac_test_CFLAGS=${CFLAGS+set}
3665: ac_save_CFLAGS=$CFLAGS
3666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3668: if ${ac_cv_prog_cc_g+:} false; then :
3669: $as_echo_n "(cached) " >&6
3670: else
3671: ac_save_c_werror_flag=$ac_c_werror_flag
3672: ac_c_werror_flag=yes
3673: ac_cv_prog_cc_g=no
3674: CFLAGS="-g"
3675: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676: /* end confdefs.h. */
3677:
3678: int
3679: main ()
3680: {
3681:
3682: ;
3683: return 0;
3684: }
3685: _ACEOF
3686: if ac_fn_c_try_compile "$LINENO"; then :
3687: ac_cv_prog_cc_g=yes
3688: else
3689: CFLAGS=""
3690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691: /* end confdefs.h. */
3692:
3693: int
3694: main ()
3695: {
3696:
3697: ;
3698: return 0;
3699: }
3700: _ACEOF
3701: if ac_fn_c_try_compile "$LINENO"; then :
3702:
3703: else
3704: ac_c_werror_flag=$ac_save_c_werror_flag
3705: CFLAGS="-g"
3706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707: /* end confdefs.h. */
3708:
3709: int
3710: main ()
3711: {
3712:
3713: ;
3714: return 0;
3715: }
3716: _ACEOF
3717: if ac_fn_c_try_compile "$LINENO"; then :
3718: ac_cv_prog_cc_g=yes
3719: fi
3720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721: fi
3722: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723: fi
3724: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725: ac_c_werror_flag=$ac_save_c_werror_flag
3726: fi
3727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728: $as_echo "$ac_cv_prog_cc_g" >&6; }
3729: if test "$ac_test_CFLAGS" = set; then
3730: CFLAGS=$ac_save_CFLAGS
3731: elif test $ac_cv_prog_cc_g = yes; then
3732: if test "$GCC" = yes; then
3733: CFLAGS="-g -O2"
3734: else
3735: CFLAGS="-g"
3736: fi
3737: else
3738: if test "$GCC" = yes; then
3739: CFLAGS="-O2"
3740: else
3741: CFLAGS=
3742: fi
3743: fi
3744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746: if ${ac_cv_prog_cc_c89+:} false; then :
3747: $as_echo_n "(cached) " >&6
3748: else
3749: ac_cv_prog_cc_c89=no
3750: ac_save_CC=$CC
3751: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752: /* end confdefs.h. */
3753: #include <stdarg.h>
3754: #include <stdio.h>
3755: #include <sys/types.h>
3756: #include <sys/stat.h>
3757: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3758: struct buf { int x; };
3759: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760: static char *e (p, i)
3761: char **p;
3762: int i;
3763: {
3764: return p[i];
3765: }
3766: static char *f (char * (*g) (char **, int), char **p, ...)
3767: {
3768: char *s;
3769: va_list v;
3770: va_start (v,p);
3771: s = g (p, va_arg (v,int));
3772: va_end (v);
3773: return s;
3774: }
3775:
3776: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3777: function prototypes and stuff, but not '\xHH' hex character constants.
3778: These don't provoke an error unfortunately, instead are silently treated
3779: as 'x'. The following induces an error, until -std is added to get
3780: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3781: array size at least. It's necessary to write '\x00'==0 to get something
3782: that's true only with -std. */
3783: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3784:
3785: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786: inside strings and character constants. */
3787: #define FOO(x) 'x'
3788: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3789:
3790: int test (int i, double x);
3791: struct s1 {int (*f) (int a);};
3792: struct s2 {int (*f) (double a);};
3793: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3794: int argc;
3795: char **argv;
3796: int
3797: main ()
3798: {
3799: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3800: ;
3801: return 0;
3802: }
3803: _ACEOF
3804: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3806: do
3807: CC="$ac_save_CC $ac_arg"
3808: if ac_fn_c_try_compile "$LINENO"; then :
3809: ac_cv_prog_cc_c89=$ac_arg
3810: fi
3811: rm -f core conftest.err conftest.$ac_objext
3812: test "x$ac_cv_prog_cc_c89" != "xno" && break
3813: done
3814: rm -f conftest.$ac_ext
3815: CC=$ac_save_CC
3816:
3817: fi
3818: # AC_CACHE_VAL
3819: case "x$ac_cv_prog_cc_c89" in
3820: x)
3821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822: $as_echo "none needed" >&6; } ;;
3823: xno)
3824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825: $as_echo "unsupported" >&6; } ;;
3826: *)
3827: CC="$CC $ac_cv_prog_cc_c89"
3828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3830: esac
3831: if test "x$ac_cv_prog_cc_c89" != xno; then :
3832:
3833: fi
3834:
3835: ac_ext=c
3836: ac_cpp='$CPP $CPPFLAGS'
3837: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840: DEPDIR="${am__leading_dot}deps"
3841:
3842: ac_config_commands="$ac_config_commands depfiles"
3843:
3844:
3845: am_make=${MAKE-make}
3846: cat > confinc << 'END'
3847: am__doit:
3848: @echo this is the am__doit target
3849: .PHONY: am__doit
3850: END
3851: # If we don't find an include directive, just comment out the code.
3852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3853: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3854: am__include="#"
3855: am__quote=
3856: _am_result=none
3857: # First try GNU make style include.
3858: echo "include confinc" > confmf
3859: # Ignore all kinds of additional output from `make'.
3860: case `$am_make -s -f confmf 2> /dev/null` in #(
3861: *the\ am__doit\ target*)
3862: am__include=include
3863: am__quote=
3864: _am_result=GNU
3865: ;;
3866: esac
3867: # Now try BSD make style include.
3868: if test "$am__include" = "#"; then
3869: echo '.include "confinc"' > confmf
3870: case `$am_make -s -f confmf 2> /dev/null` in #(
3871: *the\ am__doit\ target*)
3872: am__include=.include
3873: am__quote="\""
3874: _am_result=BSD
3875: ;;
3876: esac
3877: fi
3878:
3879:
3880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3881: $as_echo "$_am_result" >&6; }
3882: rm -f confinc confmf
3883:
3884: # Check whether --enable-dependency-tracking was given.
3885: if test "${enable_dependency_tracking+set}" = set; then :
3886: enableval=$enable_dependency_tracking;
3887: fi
3888:
3889: if test "x$enable_dependency_tracking" != xno; then
3890: am_depcomp="$ac_aux_dir/depcomp"
3891: AMDEPBACKSLASH='\'
3892: fi
3893: if test "x$enable_dependency_tracking" != xno; then
3894: AMDEP_TRUE=
3895: AMDEP_FALSE='#'
3896: else
3897: AMDEP_TRUE='#'
3898: AMDEP_FALSE=
3899: fi
3900:
3901:
3902:
3903: depcc="$CC" am_compiler_list=
3904:
3905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3906: $as_echo_n "checking dependency style of $depcc... " >&6; }
3907: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3908: $as_echo_n "(cached) " >&6
3909: else
3910: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3911: # We make a subdir and do the tests there. Otherwise we can end up
3912: # making bogus files that we don't know about and never remove. For
3913: # instance it was reported that on HP-UX the gcc test will end up
3914: # making a dummy file named `D' -- because `-MD' means `put the output
3915: # in D'.
3916: mkdir conftest.dir
3917: # Copy depcomp to subdir because otherwise we won't find it if we're
3918: # using a relative directory.
3919: cp "$am_depcomp" conftest.dir
3920: cd conftest.dir
3921: # We will build objects and dependencies in a subdirectory because
3922: # it helps to detect inapplicable dependency modes. For instance
3923: # both Tru64's cc and ICC support -MD to output dependencies as a
3924: # side effect of compilation, but ICC will put the dependencies in
3925: # the current directory while Tru64 will put them in the object
3926: # directory.
3927: mkdir sub
3928:
3929: am_cv_CC_dependencies_compiler_type=none
3930: if test "$am_compiler_list" = ""; then
3931: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3932: fi
3933: am__universal=false
3934: case " $depcc " in #(
3935: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3936: esac
3937:
3938: for depmode in $am_compiler_list; do
3939: # Setup a source with many dependencies, because some compilers
3940: # like to wrap large dependency lists on column 80 (with \), and
3941: # we should not choose a depcomp mode which is confused by this.
3942: #
3943: # We need to recreate these files for each test, as the compiler may
3944: # overwrite some of them when testing with obscure command lines.
3945: # This happens at least with the AIX C compiler.
3946: : > sub/conftest.c
3947: for i in 1 2 3 4 5 6; do
3948: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3949: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3950: # Solaris 8's {/usr,}/bin/sh.
3951: touch sub/conftst$i.h
3952: done
3953: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3954:
3955: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3956: # mode. It turns out that the SunPro C++ compiler does not properly
3957: # handle `-M -o', and we need to detect this. Also, some Intel
3958: # versions had trouble with output in subdirs
3959: am__obj=sub/conftest.${OBJEXT-o}
3960: am__minus_obj="-o $am__obj"
3961: case $depmode in
3962: gcc)
3963: # This depmode causes a compiler race in universal mode.
3964: test "$am__universal" = false || continue
3965: ;;
3966: nosideeffect)
3967: # after this tag, mechanisms are not by side-effect, so they'll
3968: # only be used when explicitly requested
3969: if test "x$enable_dependency_tracking" = xyes; then
3970: continue
3971: else
3972: break
3973: fi
3974: ;;
3975: msvisualcpp | msvcmsys)
3976: # This compiler won't grok `-c -o', but also, the minuso test has
3977: # not run yet. These depmodes are late enough in the game, and
3978: # so weak that their functioning should not be impacted.
3979: am__obj=conftest.${OBJEXT-o}
3980: am__minus_obj=
3981: ;;
3982: none) break ;;
3983: esac
3984: if depmode=$depmode \
3985: source=sub/conftest.c object=$am__obj \
3986: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3987: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3988: >/dev/null 2>conftest.err &&
3989: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3990: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3991: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3992: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3993: # icc doesn't choke on unknown options, it will just issue warnings
3994: # or remarks (even with -Werror). So we grep stderr for any message
3995: # that says an option was ignored or not supported.
3996: # When given -MP, icc 7.0 and 7.1 complain thusly:
3997: # icc: Command line warning: ignoring option '-M'; no argument required
3998: # The diagnosis changed in icc 8.0:
3999: # icc: Command line remark: option '-MP' not supported
4000: if (grep 'ignoring option' conftest.err ||
4001: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4002: am_cv_CC_dependencies_compiler_type=$depmode
4003: break
4004: fi
4005: fi
4006: done
4007:
4008: cd ..
4009: rm -rf conftest.dir
4010: else
4011: am_cv_CC_dependencies_compiler_type=none
4012: fi
4013:
4014: fi
4015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4016: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4017: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4018:
4019: if
4020: test "x$enable_dependency_tracking" != xno \
4021: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4022: am__fastdepCC_TRUE=
4023: am__fastdepCC_FALSE='#'
4024: else
4025: am__fastdepCC_TRUE='#'
4026: am__fastdepCC_FALSE=
4027: fi
4028:
4029:
4030:
4031: EXT_SQL=
4032:
4033: if test x"$CC" != x""; then
4034: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4035: awk -F. '{ printf("%s", $1);}'`
4036: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4037: awk -F. '{ printf("%s", $2);}'`
4038: if test $GCC_VERSION_MAJEURE -ge 5; then
4039: OPTIMISATION_C=-O3
4040: else
4041: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4042: then
4043: OPTIMISATION_C=-O3
4044: else
4045: if test $GCC_VERSION_MAJEURE -ge 2; then
4046: OPTIMISATION_C=-O2
4047: else
4048: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4049: fi
4050: fi
4051: fi
4052: fi
4053:
4054: if test "x$CC" != xcc; then
4055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4056: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4057: else
4058: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4059: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4060: fi
4061: set dummy $CC; ac_cc=`$as_echo "$2" |
4062: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4063: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4064: $as_echo_n "(cached) " >&6
4065: else
4066: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067: /* end confdefs.h. */
4068:
4069: int
4070: main ()
4071: {
4072:
4073: ;
4074: return 0;
4075: }
4076: _ACEOF
4077: # Make sure it works both with $CC and with simple cc.
4078: # We do the test twice because some compilers refuse to overwrite an
4079: # existing .o file with -o, though they will create one.
4080: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4081: rm -f conftest2.*
4082: if { { case "(($ac_try" in
4083: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084: *) ac_try_echo=$ac_try;;
4085: esac
4086: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087: $as_echo "$ac_try_echo"; } >&5
4088: (eval "$ac_try") 2>&5
4089: ac_status=$?
4090: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091: test $ac_status = 0; } &&
4092: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4093: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094: *) ac_try_echo=$ac_try;;
4095: esac
4096: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097: $as_echo "$ac_try_echo"; } >&5
4098: (eval "$ac_try") 2>&5
4099: ac_status=$?
4100: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101: test $ac_status = 0; };
4102: then
4103: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4104: if test "x$CC" != xcc; then
4105: # Test first that cc exists at all.
4106: if { ac_try='cc -c conftest.$ac_ext >&5'
4107: { { case "(($ac_try" in
4108: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109: *) ac_try_echo=$ac_try;;
4110: esac
4111: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112: $as_echo "$ac_try_echo"; } >&5
4113: (eval "$ac_try") 2>&5
4114: ac_status=$?
4115: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116: test $ac_status = 0; }; }; then
4117: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4118: rm -f conftest2.*
4119: if { { case "(($ac_try" in
4120: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121: *) ac_try_echo=$ac_try;;
4122: esac
4123: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124: $as_echo "$ac_try_echo"; } >&5
4125: (eval "$ac_try") 2>&5
4126: ac_status=$?
4127: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128: test $ac_status = 0; } &&
4129: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4130: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4131: *) ac_try_echo=$ac_try;;
4132: esac
4133: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4134: $as_echo "$ac_try_echo"; } >&5
4135: (eval "$ac_try") 2>&5
4136: ac_status=$?
4137: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138: test $ac_status = 0; };
4139: then
4140: # cc works too.
4141: :
4142: else
4143: # cc exists but doesn't like -o.
4144: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4145: fi
4146: fi
4147: fi
4148: else
4149: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4150: fi
4151: rm -f core conftest*
4152:
4153: fi
4154: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156: $as_echo "yes" >&6; }
4157: else
4158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159: $as_echo "no" >&6; }
4160:
4161: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4162:
4163: fi
4164:
4165: # FIXME: we rely on the cache variable name because
4166: # there is no other way.
4167: set dummy $CC
4168: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4169: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4170: if test "$am_t" != yes; then
4171: # Losing compiler, so override with the script.
4172: # FIXME: It is wrong to rewrite CC.
4173: # But if we don't then we get into trouble of one sort or another.
4174: # A longer-term fix would be to have automake use am__CC in this case,
4175: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4176: CC="$am_aux_dir/compile $CC"
4177: fi
4178:
4179:
4180:
4181: if test "$GCC" != yes; then
4182: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4183: fi
4184:
4185: ac_ext=cpp
4186: ac_cpp='$CXXCPP $CPPFLAGS'
4187: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4190: if test -z "$CXX"; then
4191: if test -n "$CCC"; then
4192: CXX=$CCC
4193: else
4194: if test -n "$ac_tool_prefix"; then
4195: for ac_prog in g++
4196: do
4197: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4198: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200: $as_echo_n "checking for $ac_word... " >&6; }
4201: if ${ac_cv_prog_CXX+:} false; then :
4202: $as_echo_n "(cached) " >&6
4203: else
4204: if test -n "$CXX"; then
4205: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4206: else
4207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208: for as_dir in $PATH
4209: do
4210: IFS=$as_save_IFS
4211: test -z "$as_dir" && as_dir=.
4212: for ac_exec_ext in '' $ac_executable_extensions; do
4213: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4215: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216: break 2
4217: fi
4218: done
4219: done
4220: IFS=$as_save_IFS
4221:
4222: fi
4223: fi
4224: CXX=$ac_cv_prog_CXX
4225: if test -n "$CXX"; then
4226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4227: $as_echo "$CXX" >&6; }
4228: else
4229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230: $as_echo "no" >&6; }
4231: fi
4232:
4233:
4234: test -n "$CXX" && break
4235: done
4236: fi
4237: if test -z "$CXX"; then
4238: ac_ct_CXX=$CXX
4239: for ac_prog in g++
4240: do
4241: # Extract the first word of "$ac_prog", so it can be a program name with args.
4242: set dummy $ac_prog; ac_word=$2
4243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4244: $as_echo_n "checking for $ac_word... " >&6; }
4245: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4246: $as_echo_n "(cached) " >&6
4247: else
4248: if test -n "$ac_ct_CXX"; then
4249: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4250: else
4251: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252: for as_dir in $PATH
4253: do
4254: IFS=$as_save_IFS
4255: test -z "$as_dir" && as_dir=.
4256: for ac_exec_ext in '' $ac_executable_extensions; do
4257: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4258: ac_cv_prog_ac_ct_CXX="$ac_prog"
4259: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260: break 2
4261: fi
4262: done
4263: done
4264: IFS=$as_save_IFS
4265:
4266: fi
4267: fi
4268: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4269: if test -n "$ac_ct_CXX"; then
4270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4271: $as_echo "$ac_ct_CXX" >&6; }
4272: else
4273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274: $as_echo "no" >&6; }
4275: fi
4276:
4277:
4278: test -n "$ac_ct_CXX" && break
4279: done
4280:
4281: if test "x$ac_ct_CXX" = x; then
4282: CXX="g++"
4283: else
4284: case $cross_compiling:$ac_tool_warned in
4285: yes:)
4286: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4287: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4288: ac_tool_warned=yes ;;
4289: esac
4290: CXX=$ac_ct_CXX
4291: fi
4292: fi
4293:
4294: fi
4295: fi
4296: # Provide some information about the compiler.
4297: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4298: set X $ac_compile
4299: ac_compiler=$2
4300: for ac_option in --version -v -V -qversion; do
4301: { { ac_try="$ac_compiler $ac_option >&5"
4302: case "(($ac_try" in
4303: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304: *) ac_try_echo=$ac_try;;
4305: esac
4306: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4307: $as_echo "$ac_try_echo"; } >&5
4308: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4309: ac_status=$?
4310: if test -s conftest.err; then
4311: sed '10a\
4312: ... rest of stderr output deleted ...
4313: 10q' conftest.err >conftest.er1
4314: cat conftest.er1 >&5
4315: fi
4316: rm -f conftest.er1 conftest.err
4317: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4318: test $ac_status = 0; }
4319: done
4320:
4321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4322: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4323: if ${ac_cv_cxx_compiler_gnu+:} false; then :
4324: $as_echo_n "(cached) " >&6
4325: else
4326: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327: /* end confdefs.h. */
4328:
4329: int
4330: main ()
4331: {
4332: #ifndef __GNUC__
4333: choke me
4334: #endif
4335:
4336: ;
4337: return 0;
4338: }
4339: _ACEOF
4340: if ac_fn_cxx_try_compile "$LINENO"; then :
4341: ac_compiler_gnu=yes
4342: else
4343: ac_compiler_gnu=no
4344: fi
4345: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4347:
4348: fi
4349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4350: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4351: if test $ac_compiler_gnu = yes; then
4352: GXX=yes
4353: else
4354: GXX=
4355: fi
4356: ac_test_CXXFLAGS=${CXXFLAGS+set}
4357: ac_save_CXXFLAGS=$CXXFLAGS
4358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4359: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4360: if ${ac_cv_prog_cxx_g+:} false; then :
4361: $as_echo_n "(cached) " >&6
4362: else
4363: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4364: ac_cxx_werror_flag=yes
4365: ac_cv_prog_cxx_g=no
4366: CXXFLAGS="-g"
4367: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368: /* end confdefs.h. */
4369:
4370: int
4371: main ()
4372: {
4373:
4374: ;
4375: return 0;
4376: }
4377: _ACEOF
4378: if ac_fn_cxx_try_compile "$LINENO"; then :
4379: ac_cv_prog_cxx_g=yes
4380: else
4381: CXXFLAGS=""
4382: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383: /* end confdefs.h. */
4384:
4385: int
4386: main ()
4387: {
4388:
4389: ;
4390: return 0;
4391: }
4392: _ACEOF
4393: if ac_fn_cxx_try_compile "$LINENO"; then :
4394:
4395: else
4396: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4397: CXXFLAGS="-g"
4398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399: /* end confdefs.h. */
4400:
4401: int
4402: main ()
4403: {
4404:
4405: ;
4406: return 0;
4407: }
4408: _ACEOF
4409: if ac_fn_cxx_try_compile "$LINENO"; then :
4410: ac_cv_prog_cxx_g=yes
4411: fi
4412: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413: fi
4414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415: fi
4416: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4418: fi
4419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4420: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4421: if test "$ac_test_CXXFLAGS" = set; then
4422: CXXFLAGS=$ac_save_CXXFLAGS
4423: elif test $ac_cv_prog_cxx_g = yes; then
4424: if test "$GXX" = yes; then
4425: CXXFLAGS="-g -O2"
4426: else
4427: CXXFLAGS="-g"
4428: fi
4429: else
4430: if test "$GXX" = yes; then
4431: CXXFLAGS="-O2"
4432: else
4433: CXXFLAGS=
4434: fi
4435: fi
4436: ac_ext=c
4437: ac_cpp='$CPP $CPPFLAGS'
4438: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4439: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4440: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4441:
4442: depcc="$CXX" am_compiler_list=
4443:
4444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4445: $as_echo_n "checking dependency style of $depcc... " >&6; }
4446: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4447: $as_echo_n "(cached) " >&6
4448: else
4449: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4450: # We make a subdir and do the tests there. Otherwise we can end up
4451: # making bogus files that we don't know about and never remove. For
4452: # instance it was reported that on HP-UX the gcc test will end up
4453: # making a dummy file named `D' -- because `-MD' means `put the output
4454: # in D'.
4455: mkdir conftest.dir
4456: # Copy depcomp to subdir because otherwise we won't find it if we're
4457: # using a relative directory.
4458: cp "$am_depcomp" conftest.dir
4459: cd conftest.dir
4460: # We will build objects and dependencies in a subdirectory because
4461: # it helps to detect inapplicable dependency modes. For instance
4462: # both Tru64's cc and ICC support -MD to output dependencies as a
4463: # side effect of compilation, but ICC will put the dependencies in
4464: # the current directory while Tru64 will put them in the object
4465: # directory.
4466: mkdir sub
4467:
4468: am_cv_CXX_dependencies_compiler_type=none
4469: if test "$am_compiler_list" = ""; then
4470: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4471: fi
4472: am__universal=false
4473: case " $depcc " in #(
4474: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4475: esac
4476:
4477: for depmode in $am_compiler_list; do
4478: # Setup a source with many dependencies, because some compilers
4479: # like to wrap large dependency lists on column 80 (with \), and
4480: # we should not choose a depcomp mode which is confused by this.
4481: #
4482: # We need to recreate these files for each test, as the compiler may
4483: # overwrite some of them when testing with obscure command lines.
4484: # This happens at least with the AIX C compiler.
4485: : > sub/conftest.c
4486: for i in 1 2 3 4 5 6; do
4487: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4488: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4489: # Solaris 8's {/usr,}/bin/sh.
4490: touch sub/conftst$i.h
4491: done
4492: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4493:
4494: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4495: # mode. It turns out that the SunPro C++ compiler does not properly
4496: # handle `-M -o', and we need to detect this. Also, some Intel
4497: # versions had trouble with output in subdirs
4498: am__obj=sub/conftest.${OBJEXT-o}
4499: am__minus_obj="-o $am__obj"
4500: case $depmode in
4501: gcc)
4502: # This depmode causes a compiler race in universal mode.
4503: test "$am__universal" = false || continue
4504: ;;
4505: nosideeffect)
4506: # after this tag, mechanisms are not by side-effect, so they'll
4507: # only be used when explicitly requested
4508: if test "x$enable_dependency_tracking" = xyes; then
4509: continue
4510: else
4511: break
4512: fi
4513: ;;
4514: msvisualcpp | msvcmsys)
4515: # This compiler won't grok `-c -o', but also, the minuso test has
4516: # not run yet. These depmodes are late enough in the game, and
4517: # so weak that their functioning should not be impacted.
4518: am__obj=conftest.${OBJEXT-o}
4519: am__minus_obj=
4520: ;;
4521: none) break ;;
4522: esac
4523: if depmode=$depmode \
4524: source=sub/conftest.c object=$am__obj \
4525: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4526: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4527: >/dev/null 2>conftest.err &&
4528: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4529: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4530: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4531: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4532: # icc doesn't choke on unknown options, it will just issue warnings
4533: # or remarks (even with -Werror). So we grep stderr for any message
4534: # that says an option was ignored or not supported.
4535: # When given -MP, icc 7.0 and 7.1 complain thusly:
4536: # icc: Command line warning: ignoring option '-M'; no argument required
4537: # The diagnosis changed in icc 8.0:
4538: # icc: Command line remark: option '-MP' not supported
4539: if (grep 'ignoring option' conftest.err ||
4540: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4541: am_cv_CXX_dependencies_compiler_type=$depmode
4542: break
4543: fi
4544: fi
4545: done
4546:
4547: cd ..
4548: rm -rf conftest.dir
4549: else
4550: am_cv_CXX_dependencies_compiler_type=none
4551: fi
4552:
4553: fi
4554: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4555: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4556: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4557:
4558: if
4559: test "x$enable_dependency_tracking" != xno \
4560: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4561: am__fastdepCXX_TRUE=
4562: am__fastdepCXX_FALSE='#'
4563: else
4564: am__fastdepCXX_TRUE='#'
4565: am__fastdepCXX_FALSE=
4566: fi
4567:
4568:
4569:
4570: if test "$GXX" != yes; then
4571: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4572: fi
4573:
4574: ac_ext=f
4575: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4576: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4578: if test -n "$ac_tool_prefix"; then
4579: for ac_prog in gfortran
4580: do
4581: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4582: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584: $as_echo_n "checking for $ac_word... " >&6; }
4585: if ${ac_cv_prog_F77+:} false; then :
4586: $as_echo_n "(cached) " >&6
4587: else
4588: if test -n "$F77"; then
4589: ac_cv_prog_F77="$F77" # Let the user override the test.
4590: else
4591: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592: for as_dir in $PATH
4593: do
4594: IFS=$as_save_IFS
4595: test -z "$as_dir" && as_dir=.
4596: for ac_exec_ext in '' $ac_executable_extensions; do
4597: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4599: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600: break 2
4601: fi
4602: done
4603: done
4604: IFS=$as_save_IFS
4605:
4606: fi
4607: fi
4608: F77=$ac_cv_prog_F77
4609: if test -n "$F77"; then
4610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4611: $as_echo "$F77" >&6; }
4612: else
4613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614: $as_echo "no" >&6; }
4615: fi
4616:
4617:
4618: test -n "$F77" && break
4619: done
4620: fi
4621: if test -z "$F77"; then
4622: ac_ct_F77=$F77
4623: for ac_prog in gfortran
4624: do
4625: # Extract the first word of "$ac_prog", so it can be a program name with args.
4626: set dummy $ac_prog; ac_word=$2
4627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628: $as_echo_n "checking for $ac_word... " >&6; }
4629: if ${ac_cv_prog_ac_ct_F77+:} false; then :
4630: $as_echo_n "(cached) " >&6
4631: else
4632: if test -n "$ac_ct_F77"; then
4633: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4634: else
4635: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636: for as_dir in $PATH
4637: do
4638: IFS=$as_save_IFS
4639: test -z "$as_dir" && as_dir=.
4640: for ac_exec_ext in '' $ac_executable_extensions; do
4641: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4642: ac_cv_prog_ac_ct_F77="$ac_prog"
4643: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644: break 2
4645: fi
4646: done
4647: done
4648: IFS=$as_save_IFS
4649:
4650: fi
4651: fi
4652: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4653: if test -n "$ac_ct_F77"; then
4654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4655: $as_echo "$ac_ct_F77" >&6; }
4656: else
4657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658: $as_echo "no" >&6; }
4659: fi
4660:
4661:
4662: test -n "$ac_ct_F77" && break
4663: done
4664:
4665: if test "x$ac_ct_F77" = x; then
4666: F77=""
4667: else
4668: case $cross_compiling:$ac_tool_warned in
4669: yes:)
4670: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4671: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4672: ac_tool_warned=yes ;;
4673: esac
4674: F77=$ac_ct_F77
4675: fi
4676: fi
4677:
4678:
4679: # Provide some information about the compiler.
4680: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4681: set X $ac_compile
4682: ac_compiler=$2
4683: for ac_option in --version -v -V -qversion; do
4684: { { ac_try="$ac_compiler $ac_option >&5"
4685: case "(($ac_try" in
4686: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4687: *) ac_try_echo=$ac_try;;
4688: esac
4689: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4690: $as_echo "$ac_try_echo"; } >&5
4691: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4692: ac_status=$?
4693: if test -s conftest.err; then
4694: sed '10a\
4695: ... rest of stderr output deleted ...
4696: 10q' conftest.err >conftest.er1
4697: cat conftest.er1 >&5
4698: fi
4699: rm -f conftest.er1 conftest.err
4700: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701: test $ac_status = 0; }
4702: done
4703: rm -f a.out
4704:
4705: # If we don't use `.F' as extension, the preprocessor is not run on the
4706: # input file. (Note that this only needs to work for GNU compilers.)
4707: ac_save_ext=$ac_ext
4708: ac_ext=F
4709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4710: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4711: if ${ac_cv_f77_compiler_gnu+:} false; then :
4712: $as_echo_n "(cached) " >&6
4713: else
4714: cat > conftest.$ac_ext <<_ACEOF
4715: program main
4716: #ifndef __GNUC__
4717: choke me
4718: #endif
4719:
4720: end
4721: _ACEOF
4722: if ac_fn_f77_try_compile "$LINENO"; then :
4723: ac_compiler_gnu=yes
4724: else
4725: ac_compiler_gnu=no
4726: fi
4727: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4728: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4729:
4730: fi
4731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4732: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4733: ac_ext=$ac_save_ext
4734: ac_test_FFLAGS=${FFLAGS+set}
4735: ac_save_FFLAGS=$FFLAGS
4736: FFLAGS=
4737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4738: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4739: if ${ac_cv_prog_f77_g+:} false; then :
4740: $as_echo_n "(cached) " >&6
4741: else
4742: FFLAGS=-g
4743: cat > conftest.$ac_ext <<_ACEOF
4744: program main
4745:
4746: end
4747: _ACEOF
4748: if ac_fn_f77_try_compile "$LINENO"; then :
4749: ac_cv_prog_f77_g=yes
4750: else
4751: ac_cv_prog_f77_g=no
4752: fi
4753: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754:
4755: fi
4756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4757: $as_echo "$ac_cv_prog_f77_g" >&6; }
4758: if test "$ac_test_FFLAGS" = set; then
4759: FFLAGS=$ac_save_FFLAGS
4760: elif test $ac_cv_prog_f77_g = yes; then
4761: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4762: FFLAGS="-g -O2"
4763: else
4764: FFLAGS="-g"
4765: fi
4766: else
4767: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4768: FFLAGS="-O2"
4769: else
4770: FFLAGS=
4771: fi
4772: fi
4773:
4774: if test $ac_compiler_gnu = yes; then
4775: G77=yes
4776: else
4777: G77=
4778: fi
4779: ac_ext=c
4780: ac_cpp='$CPP $CPPFLAGS'
4781: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784:
4785:
4786: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4787: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4788: fi
4789:
4790: ac_ext=${ac_fc_srcext-f}
4791: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4792: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4793: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4794: if test -n "$ac_tool_prefix"; then
4795: for ac_prog in gfortran
4796: do
4797: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4798: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800: $as_echo_n "checking for $ac_word... " >&6; }
4801: if ${ac_cv_prog_FC+:} false; then :
4802: $as_echo_n "(cached) " >&6
4803: else
4804: if test -n "$FC"; then
4805: ac_cv_prog_FC="$FC" # Let the user override the test.
4806: else
4807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808: for as_dir in $PATH
4809: do
4810: IFS=$as_save_IFS
4811: test -z "$as_dir" && as_dir=.
4812: for ac_exec_ext in '' $ac_executable_extensions; do
4813: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4815: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816: break 2
4817: fi
4818: done
4819: done
4820: IFS=$as_save_IFS
4821:
4822: fi
4823: fi
4824: FC=$ac_cv_prog_FC
4825: if test -n "$FC"; then
4826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4827: $as_echo "$FC" >&6; }
4828: else
4829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830: $as_echo "no" >&6; }
4831: fi
4832:
4833:
4834: test -n "$FC" && break
4835: done
4836: fi
4837: if test -z "$FC"; then
4838: ac_ct_FC=$FC
4839: for ac_prog in gfortran
4840: do
4841: # Extract the first word of "$ac_prog", so it can be a program name with args.
4842: set dummy $ac_prog; ac_word=$2
4843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844: $as_echo_n "checking for $ac_word... " >&6; }
4845: if ${ac_cv_prog_ac_ct_FC+:} false; then :
4846: $as_echo_n "(cached) " >&6
4847: else
4848: if test -n "$ac_ct_FC"; then
4849: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4850: else
4851: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852: for as_dir in $PATH
4853: do
4854: IFS=$as_save_IFS
4855: test -z "$as_dir" && as_dir=.
4856: for ac_exec_ext in '' $ac_executable_extensions; do
4857: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4858: ac_cv_prog_ac_ct_FC="$ac_prog"
4859: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860: break 2
4861: fi
4862: done
4863: done
4864: IFS=$as_save_IFS
4865:
4866: fi
4867: fi
4868: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4869: if test -n "$ac_ct_FC"; then
4870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4871: $as_echo "$ac_ct_FC" >&6; }
4872: else
4873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874: $as_echo "no" >&6; }
4875: fi
4876:
4877:
4878: test -n "$ac_ct_FC" && break
4879: done
4880:
4881: if test "x$ac_ct_FC" = x; then
4882: FC=""
4883: else
4884: case $cross_compiling:$ac_tool_warned in
4885: yes:)
4886: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4887: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4888: ac_tool_warned=yes ;;
4889: esac
4890: FC=$ac_ct_FC
4891: fi
4892: fi
4893:
4894:
4895: # Provide some information about the compiler.
4896: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4897: set X $ac_compile
4898: ac_compiler=$2
4899: for ac_option in --version -v -V -qversion; do
4900: { { ac_try="$ac_compiler $ac_option >&5"
4901: case "(($ac_try" in
4902: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903: *) ac_try_echo=$ac_try;;
4904: esac
4905: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4906: $as_echo "$ac_try_echo"; } >&5
4907: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4908: ac_status=$?
4909: if test -s conftest.err; then
4910: sed '10a\
4911: ... rest of stderr output deleted ...
4912: 10q' conftest.err >conftest.er1
4913: cat conftest.er1 >&5
4914: fi
4915: rm -f conftest.er1 conftest.err
4916: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4917: test $ac_status = 0; }
4918: done
4919: rm -f a.out
4920:
4921: # If we don't use `.F' as extension, the preprocessor is not run on the
4922: # input file. (Note that this only needs to work for GNU compilers.)
4923: ac_save_ext=$ac_ext
4924: ac_ext=F
4925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4926: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4927: if ${ac_cv_fc_compiler_gnu+:} false; then :
4928: $as_echo_n "(cached) " >&6
4929: else
4930: cat > conftest.$ac_ext <<_ACEOF
4931: program main
4932: #ifndef __GNUC__
4933: choke me
4934: #endif
4935:
4936: end
4937: _ACEOF
4938: if ac_fn_fc_try_compile "$LINENO"; then :
4939: ac_compiler_gnu=yes
4940: else
4941: ac_compiler_gnu=no
4942: fi
4943: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4945:
4946: fi
4947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4948: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4949: ac_ext=$ac_save_ext
4950: ac_test_FCFLAGS=${FCFLAGS+set}
4951: ac_save_FCFLAGS=$FCFLAGS
4952: FCFLAGS=
4953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4954: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4955: if ${ac_cv_prog_fc_g+:} false; then :
4956: $as_echo_n "(cached) " >&6
4957: else
4958: FCFLAGS=-g
4959: cat > conftest.$ac_ext <<_ACEOF
4960: program main
4961:
4962: end
4963: _ACEOF
4964: if ac_fn_fc_try_compile "$LINENO"; then :
4965: ac_cv_prog_fc_g=yes
4966: else
4967: ac_cv_prog_fc_g=no
4968: fi
4969: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970:
4971: fi
4972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4973: $as_echo "$ac_cv_prog_fc_g" >&6; }
4974: if test "$ac_test_FCFLAGS" = set; then
4975: FCFLAGS=$ac_save_FCFLAGS
4976: elif test $ac_cv_prog_fc_g = yes; then
4977: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4978: FCFLAGS="-g -O2"
4979: else
4980: FCFLAGS="-g"
4981: fi
4982: else
4983: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4984: FCFLAGS="-O2"
4985: else
4986: FCFLAGS=
4987: fi
4988: fi
4989:
4990: ac_ext=c
4991: ac_cpp='$CPP $CPPFLAGS'
4992: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4995:
4996:
4997: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
4998: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4999: fi
5000:
5001: if test x"$FC" != x""; then
5002: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5003: awk -F. '{ printf("%s", $1);}'`
5004: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
5005: awk -F. '{ printf("%s", $2);}'`
5006: if test $GCC_VERSION_MAJEURE -ge 5; then
5007: OPTIMISATION_F=-O3
5008: else
5009: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5010: OPTIMISATION_F=-O3
5011: else
5012: if test $GCC_VERSION_MAJEURE -ge 3; then
5013: OPTIMISATION_F=-O2
5014: else
5015: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5016: fi
5017: fi
5018: fi
5019: fi
5020:
5021:
5022: ac_ext=c
5023: ac_cpp='$CPP $CPPFLAGS'
5024: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5028: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5029: # On Suns, sometimes $CPP names a directory.
5030: if test -n "$CPP" && test -d "$CPP"; then
5031: CPP=
5032: fi
5033: if test -z "$CPP"; then
5034: if ${ac_cv_prog_CPP+:} false; then :
5035: $as_echo_n "(cached) " >&6
5036: else
5037: # Double quotes because CPP needs to be expanded
5038: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5039: do
5040: ac_preproc_ok=false
5041: for ac_c_preproc_warn_flag in '' yes
5042: do
5043: # Use a header file that comes with gcc, so configuring glibc
5044: # with a fresh cross-compiler works.
5045: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5046: # <limits.h> exists even on freestanding compilers.
5047: # On the NeXT, cc -E runs the code through the compiler's parser,
5048: # not just through cpp. "Syntax error" is here to catch this case.
5049: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050: /* end confdefs.h. */
5051: #ifdef __STDC__
5052: # include <limits.h>
5053: #else
5054: # include <assert.h>
5055: #endif
5056: Syntax error
5057: _ACEOF
5058: if ac_fn_c_try_cpp "$LINENO"; then :
5059:
5060: else
5061: # Broken: fails on valid input.
5062: continue
5063: fi
5064: rm -f conftest.err conftest.i conftest.$ac_ext
5065:
5066: # OK, works on sane cases. Now check whether nonexistent headers
5067: # can be detected and how.
5068: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069: /* end confdefs.h. */
5070: #include <ac_nonexistent.h>
5071: _ACEOF
5072: if ac_fn_c_try_cpp "$LINENO"; then :
5073: # Broken: success on invalid input.
5074: continue
5075: else
5076: # Passes both tests.
5077: ac_preproc_ok=:
5078: break
5079: fi
5080: rm -f conftest.err conftest.i conftest.$ac_ext
5081:
5082: done
5083: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5084: rm -f conftest.i conftest.err conftest.$ac_ext
5085: if $ac_preproc_ok; then :
5086: break
5087: fi
5088:
5089: done
5090: ac_cv_prog_CPP=$CPP
5091:
5092: fi
5093: CPP=$ac_cv_prog_CPP
5094: else
5095: ac_cv_prog_CPP=$CPP
5096: fi
5097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5098: $as_echo "$CPP" >&6; }
5099: ac_preproc_ok=false
5100: for ac_c_preproc_warn_flag in '' yes
5101: do
5102: # Use a header file that comes with gcc, so configuring glibc
5103: # with a fresh cross-compiler works.
5104: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105: # <limits.h> exists even on freestanding compilers.
5106: # On the NeXT, cc -E runs the code through the compiler's parser,
5107: # not just through cpp. "Syntax error" is here to catch this case.
5108: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109: /* end confdefs.h. */
5110: #ifdef __STDC__
5111: # include <limits.h>
5112: #else
5113: # include <assert.h>
5114: #endif
5115: Syntax error
5116: _ACEOF
5117: if ac_fn_c_try_cpp "$LINENO"; then :
5118:
5119: else
5120: # Broken: fails on valid input.
5121: continue
5122: fi
5123: rm -f conftest.err conftest.i conftest.$ac_ext
5124:
5125: # OK, works on sane cases. Now check whether nonexistent headers
5126: # can be detected and how.
5127: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128: /* end confdefs.h. */
5129: #include <ac_nonexistent.h>
5130: _ACEOF
5131: if ac_fn_c_try_cpp "$LINENO"; then :
5132: # Broken: success on invalid input.
5133: continue
5134: else
5135: # Passes both tests.
5136: ac_preproc_ok=:
5137: break
5138: fi
5139: rm -f conftest.err conftest.i conftest.$ac_ext
5140:
5141: done
5142: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5143: rm -f conftest.i conftest.err conftest.$ac_ext
5144: if $ac_preproc_ok; then :
5145:
5146: else
5147: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5149: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5150: See \`config.log' for more details" "$LINENO" 5; }
5151: fi
5152:
5153: ac_ext=c
5154: ac_cpp='$CPP $CPPFLAGS'
5155: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5158:
5159:
5160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5161: $as_echo_n "checking for X... " >&6; }
5162:
5163:
5164: # Check whether --with-x was given.
5165: if test "${with_x+set}" = set; then :
5166: withval=$with_x;
5167: fi
5168:
5169: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5170: if test "x$with_x" = xno; then
5171: # The user explicitly disabled X.
5172: have_x=disabled
5173: else
5174: case $x_includes,$x_libraries in #(
5175: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5176: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5177: $as_echo_n "(cached) " >&6
5178: else
5179: # One or both of the vars are not set, and there is no cached value.
5180: ac_x_includes=no ac_x_libraries=no
5181: rm -f -r conftest.dir
5182: if mkdir conftest.dir; then
5183: cd conftest.dir
5184: cat >Imakefile <<'_ACEOF'
5185: incroot:
5186: @echo incroot='${INCROOT}'
5187: usrlibdir:
5188: @echo usrlibdir='${USRLIBDIR}'
5189: libdir:
5190: @echo libdir='${LIBDIR}'
5191: _ACEOF
5192: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5193: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5194: for ac_var in incroot usrlibdir libdir; do
5195: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5196: done
5197: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5198: for ac_extension in a so sl dylib la dll; do
5199: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5200: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5201: ac_im_usrlibdir=$ac_im_libdir; break
5202: fi
5203: done
5204: # Screen out bogus values from the imake configuration. They are
5205: # bogus both because they are the default anyway, and because
5206: # using them would break gcc on systems where it needs fixed includes.
5207: case $ac_im_incroot in
5208: /usr/include) ac_x_includes= ;;
5209: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5210: esac
5211: case $ac_im_usrlibdir in
5212: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5213: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5214: esac
5215: fi
5216: cd ..
5217: rm -f -r conftest.dir
5218: fi
5219:
5220: # Standard set of common directories for X headers.
5221: # Check X11 before X11Rn because it is often a symlink to the current release.
5222: ac_x_header_dirs='
5223: /usr/X11/include
5224: /usr/X11R7/include
5225: /usr/X11R6/include
5226: /usr/X11R5/include
5227: /usr/X11R4/include
5228:
5229: /usr/include/X11
5230: /usr/include/X11R7
5231: /usr/include/X11R6
5232: /usr/include/X11R5
5233: /usr/include/X11R4
5234:
5235: /usr/local/X11/include
5236: /usr/local/X11R7/include
5237: /usr/local/X11R6/include
5238: /usr/local/X11R5/include
5239: /usr/local/X11R4/include
5240:
5241: /usr/local/include/X11
5242: /usr/local/include/X11R7
5243: /usr/local/include/X11R6
5244: /usr/local/include/X11R5
5245: /usr/local/include/X11R4
5246:
5247: /usr/X386/include
5248: /usr/x386/include
5249: /usr/XFree86/include/X11
5250:
5251: /usr/include
5252: /usr/local/include
5253: /usr/unsupported/include
5254: /usr/athena/include
5255: /usr/local/x11r5/include
5256: /usr/lpp/Xamples/include
5257:
5258: /usr/openwin/include
5259: /usr/openwin/share/include'
5260:
5261: if test "$ac_x_includes" = no; then
5262: # Guess where to find include files, by looking for Xlib.h.
5263: # First, try using that file with no special directory specified.
5264: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265: /* end confdefs.h. */
5266: #include <X11/Xlib.h>
5267: _ACEOF
5268: if ac_fn_c_try_cpp "$LINENO"; then :
5269: # We can compile using X headers with no special include directory.
5270: ac_x_includes=
5271: else
5272: for ac_dir in $ac_x_header_dirs; do
5273: if test -r "$ac_dir/X11/Xlib.h"; then
5274: ac_x_includes=$ac_dir
5275: break
5276: fi
5277: done
5278: fi
5279: rm -f conftest.err conftest.i conftest.$ac_ext
5280: fi # $ac_x_includes = no
5281:
5282: if test "$ac_x_libraries" = no; then
5283: # Check for the libraries.
5284: # See if we find them without any special options.
5285: # Don't add to $LIBS permanently.
5286: ac_save_LIBS=$LIBS
5287: LIBS="-lX11 $LIBS"
5288: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289: /* end confdefs.h. */
5290: #include <X11/Xlib.h>
5291: int
5292: main ()
5293: {
5294: XrmInitialize ()
5295: ;
5296: return 0;
5297: }
5298: _ACEOF
5299: if ac_fn_c_try_link "$LINENO"; then :
5300: LIBS=$ac_save_LIBS
5301: # We can link X programs with no special library path.
5302: ac_x_libraries=
5303: else
5304: LIBS=$ac_save_LIBS
5305: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5306: do
5307: # Don't even attempt the hair of trying to link an X program!
5308: for ac_extension in a so sl dylib la dll; do
5309: if test -r "$ac_dir/libX11.$ac_extension"; then
5310: ac_x_libraries=$ac_dir
5311: break 2
5312: fi
5313: done
5314: done
5315: fi
5316: rm -f core conftest.err conftest.$ac_objext \
5317: conftest$ac_exeext conftest.$ac_ext
5318: fi # $ac_x_libraries = no
5319:
5320: case $ac_x_includes,$ac_x_libraries in #(
5321: no,* | *,no | *\'*)
5322: # Didn't find X, or a directory has "'" in its name.
5323: ac_cv_have_x="have_x=no";; #(
5324: *)
5325: # Record where we found X for the cache.
5326: ac_cv_have_x="have_x=yes\
5327: ac_x_includes='$ac_x_includes'\
5328: ac_x_libraries='$ac_x_libraries'"
5329: esac
5330: fi
5331: ;; #(
5332: *) have_x=yes;;
5333: esac
5334: eval "$ac_cv_have_x"
5335: fi # $with_x != no
5336:
5337: if test "$have_x" != yes; then
5338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5339: $as_echo "$have_x" >&6; }
5340: no_x=yes
5341: else
5342: # If each of the values was on the command line, it overrides each guess.
5343: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5344: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5345: # Update the cache value to reflect the command line values.
5346: ac_cv_have_x="have_x=yes\
5347: ac_x_includes='$x_includes'\
5348: ac_x_libraries='$x_libraries'"
5349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5350: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5351: fi
5352:
5353: if test "$no_x" = yes; then
5354: # Not all programs may use this symbol, but it does not hurt to define it.
5355:
5356: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5357:
5358: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5359: else
5360: if test -n "$x_includes"; then
5361: X_CFLAGS="$X_CFLAGS -I$x_includes"
5362: fi
5363:
5364: # It would also be nice to do this for all -L options, not just this one.
5365: if test -n "$x_libraries"; then
5366: X_LIBS="$X_LIBS -L$x_libraries"
5367: # For Solaris; some versions of Sun CC require a space after -R and
5368: # others require no space. Words are not sufficient . . . .
5369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5370: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5371: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5372: ac_xsave_c_werror_flag=$ac_c_werror_flag
5373: ac_c_werror_flag=yes
5374: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375: /* end confdefs.h. */
5376:
5377: int
5378: main ()
5379: {
5380:
5381: ;
5382: return 0;
5383: }
5384: _ACEOF
5385: if ac_fn_c_try_link "$LINENO"; then :
5386: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387: $as_echo "no" >&6; }
5388: X_LIBS="$X_LIBS -R$x_libraries"
5389: else
5390: LIBS="$ac_xsave_LIBS -R $x_libraries"
5391: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392: /* end confdefs.h. */
5393:
5394: int
5395: main ()
5396: {
5397:
5398: ;
5399: return 0;
5400: }
5401: _ACEOF
5402: if ac_fn_c_try_link "$LINENO"; then :
5403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5404: $as_echo "yes" >&6; }
5405: X_LIBS="$X_LIBS -R $x_libraries"
5406: else
5407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5408: $as_echo "neither works" >&6; }
5409: fi
5410: rm -f core conftest.err conftest.$ac_objext \
5411: conftest$ac_exeext conftest.$ac_ext
5412: fi
5413: rm -f core conftest.err conftest.$ac_objext \
5414: conftest$ac_exeext conftest.$ac_ext
5415: ac_c_werror_flag=$ac_xsave_c_werror_flag
5416: LIBS=$ac_xsave_LIBS
5417: fi
5418:
5419: # Check for system-dependent libraries X programs must link with.
5420: # Do this before checking for the system-independent R6 libraries
5421: # (-lICE), since we may need -lsocket or whatever for X linking.
5422:
5423: if test "$ISC" = yes; then
5424: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5425: else
5426: # Martyn Johnson says this is needed for Ultrix, if the X
5427: # libraries were built with DECnet support. And Karl Berry says
5428: # the Alpha needs dnet_stub (dnet does not exist).
5429: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5430: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431: /* end confdefs.h. */
5432:
5433: /* Override any GCC internal prototype to avoid an error.
5434: Use char because int might match the return type of a GCC
5435: builtin and then its argument prototype would still apply. */
5436: #ifdef __cplusplus
5437: extern "C"
5438: #endif
5439: char XOpenDisplay ();
5440: int
5441: main ()
5442: {
5443: return XOpenDisplay ();
5444: ;
5445: return 0;
5446: }
5447: _ACEOF
5448: if ac_fn_c_try_link "$LINENO"; then :
5449:
5450: else
5451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5452: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5453: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5454: $as_echo_n "(cached) " >&6
5455: else
5456: ac_check_lib_save_LIBS=$LIBS
5457: LIBS="-ldnet $LIBS"
5458: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459: /* end confdefs.h. */
5460:
5461: /* Override any GCC internal prototype to avoid an error.
5462: Use char because int might match the return type of a GCC
5463: builtin and then its argument prototype would still apply. */
5464: #ifdef __cplusplus
5465: extern "C"
5466: #endif
5467: char dnet_ntoa ();
5468: int
5469: main ()
5470: {
5471: return dnet_ntoa ();
5472: ;
5473: return 0;
5474: }
5475: _ACEOF
5476: if ac_fn_c_try_link "$LINENO"; then :
5477: ac_cv_lib_dnet_dnet_ntoa=yes
5478: else
5479: ac_cv_lib_dnet_dnet_ntoa=no
5480: fi
5481: rm -f core conftest.err conftest.$ac_objext \
5482: conftest$ac_exeext conftest.$ac_ext
5483: LIBS=$ac_check_lib_save_LIBS
5484: fi
5485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5486: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5487: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5488: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5489: fi
5490:
5491: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5493: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5494: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5495: $as_echo_n "(cached) " >&6
5496: else
5497: ac_check_lib_save_LIBS=$LIBS
5498: LIBS="-ldnet_stub $LIBS"
5499: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500: /* end confdefs.h. */
5501:
5502: /* Override any GCC internal prototype to avoid an error.
5503: Use char because int might match the return type of a GCC
5504: builtin and then its argument prototype would still apply. */
5505: #ifdef __cplusplus
5506: extern "C"
5507: #endif
5508: char dnet_ntoa ();
5509: int
5510: main ()
5511: {
5512: return dnet_ntoa ();
5513: ;
5514: return 0;
5515: }
5516: _ACEOF
5517: if ac_fn_c_try_link "$LINENO"; then :
5518: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5519: else
5520: ac_cv_lib_dnet_stub_dnet_ntoa=no
5521: fi
5522: rm -f core conftest.err conftest.$ac_objext \
5523: conftest$ac_exeext conftest.$ac_ext
5524: LIBS=$ac_check_lib_save_LIBS
5525: fi
5526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5527: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5528: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5529: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5530: fi
5531:
5532: fi
5533: fi
5534: rm -f core conftest.err conftest.$ac_objext \
5535: conftest$ac_exeext conftest.$ac_ext
5536: LIBS="$ac_xsave_LIBS"
5537:
5538: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5539: # to get the SysV transport functions.
5540: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5541: # needs -lnsl.
5542: # The nsl library prevents programs from opening the X display
5543: # on Irix 5.2, according to T.E. Dickey.
5544: # The functions gethostbyname, getservbyname, and inet_addr are
5545: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5546: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5547: if test "x$ac_cv_func_gethostbyname" = xyes; then :
5548:
5549: fi
5550:
5551: if test $ac_cv_func_gethostbyname = no; then
5552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5553: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5554: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5555: $as_echo_n "(cached) " >&6
5556: else
5557: ac_check_lib_save_LIBS=$LIBS
5558: LIBS="-lnsl $LIBS"
5559: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560: /* end confdefs.h. */
5561:
5562: /* Override any GCC internal prototype to avoid an error.
5563: Use char because int might match the return type of a GCC
5564: builtin and then its argument prototype would still apply. */
5565: #ifdef __cplusplus
5566: extern "C"
5567: #endif
5568: char gethostbyname ();
5569: int
5570: main ()
5571: {
5572: return gethostbyname ();
5573: ;
5574: return 0;
5575: }
5576: _ACEOF
5577: if ac_fn_c_try_link "$LINENO"; then :
5578: ac_cv_lib_nsl_gethostbyname=yes
5579: else
5580: ac_cv_lib_nsl_gethostbyname=no
5581: fi
5582: rm -f core conftest.err conftest.$ac_objext \
5583: conftest$ac_exeext conftest.$ac_ext
5584: LIBS=$ac_check_lib_save_LIBS
5585: fi
5586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5587: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5588: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5589: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5590: fi
5591:
5592: if test $ac_cv_lib_nsl_gethostbyname = no; then
5593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5594: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5595: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5596: $as_echo_n "(cached) " >&6
5597: else
5598: ac_check_lib_save_LIBS=$LIBS
5599: LIBS="-lbsd $LIBS"
5600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601: /* end confdefs.h. */
5602:
5603: /* Override any GCC internal prototype to avoid an error.
5604: Use char because int might match the return type of a GCC
5605: builtin and then its argument prototype would still apply. */
5606: #ifdef __cplusplus
5607: extern "C"
5608: #endif
5609: char gethostbyname ();
5610: int
5611: main ()
5612: {
5613: return gethostbyname ();
5614: ;
5615: return 0;
5616: }
5617: _ACEOF
5618: if ac_fn_c_try_link "$LINENO"; then :
5619: ac_cv_lib_bsd_gethostbyname=yes
5620: else
5621: ac_cv_lib_bsd_gethostbyname=no
5622: fi
5623: rm -f core conftest.err conftest.$ac_objext \
5624: conftest$ac_exeext conftest.$ac_ext
5625: LIBS=$ac_check_lib_save_LIBS
5626: fi
5627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5628: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5629: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
5630: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5631: fi
5632:
5633: fi
5634: fi
5635:
5636: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5637: # socket/setsockopt and other routines are undefined under SCO ODT
5638: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5639: # on later versions), says Simon Leinen: it contains gethostby*
5640: # variants that don't use the name server (or something). -lsocket
5641: # must be given before -lnsl if both are needed. We assume that
5642: # if connect needs -lnsl, so does gethostbyname.
5643: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5644: if test "x$ac_cv_func_connect" = xyes; then :
5645:
5646: fi
5647:
5648: if test $ac_cv_func_connect = no; then
5649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5650: $as_echo_n "checking for connect in -lsocket... " >&6; }
5651: if ${ac_cv_lib_socket_connect+:} false; then :
5652: $as_echo_n "(cached) " >&6
5653: else
5654: ac_check_lib_save_LIBS=$LIBS
5655: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5656: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657: /* end confdefs.h. */
5658:
5659: /* Override any GCC internal prototype to avoid an error.
5660: Use char because int might match the return type of a GCC
5661: builtin and then its argument prototype would still apply. */
5662: #ifdef __cplusplus
5663: extern "C"
5664: #endif
5665: char connect ();
5666: int
5667: main ()
5668: {
5669: return connect ();
5670: ;
5671: return 0;
5672: }
5673: _ACEOF
5674: if ac_fn_c_try_link "$LINENO"; then :
5675: ac_cv_lib_socket_connect=yes
5676: else
5677: ac_cv_lib_socket_connect=no
5678: fi
5679: rm -f core conftest.err conftest.$ac_objext \
5680: conftest$ac_exeext conftest.$ac_ext
5681: LIBS=$ac_check_lib_save_LIBS
5682: fi
5683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5684: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5685: if test "x$ac_cv_lib_socket_connect" = xyes; then :
5686: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5687: fi
5688:
5689: fi
5690:
5691: # Guillermo Gomez says -lposix is necessary on A/UX.
5692: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5693: if test "x$ac_cv_func_remove" = xyes; then :
5694:
5695: fi
5696:
5697: if test $ac_cv_func_remove = no; then
5698: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5699: $as_echo_n "checking for remove in -lposix... " >&6; }
5700: if ${ac_cv_lib_posix_remove+:} false; then :
5701: $as_echo_n "(cached) " >&6
5702: else
5703: ac_check_lib_save_LIBS=$LIBS
5704: LIBS="-lposix $LIBS"
5705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706: /* end confdefs.h. */
5707:
5708: /* Override any GCC internal prototype to avoid an error.
5709: Use char because int might match the return type of a GCC
5710: builtin and then its argument prototype would still apply. */
5711: #ifdef __cplusplus
5712: extern "C"
5713: #endif
5714: char remove ();
5715: int
5716: main ()
5717: {
5718: return remove ();
5719: ;
5720: return 0;
5721: }
5722: _ACEOF
5723: if ac_fn_c_try_link "$LINENO"; then :
5724: ac_cv_lib_posix_remove=yes
5725: else
5726: ac_cv_lib_posix_remove=no
5727: fi
5728: rm -f core conftest.err conftest.$ac_objext \
5729: conftest$ac_exeext conftest.$ac_ext
5730: LIBS=$ac_check_lib_save_LIBS
5731: fi
5732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5733: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5734: if test "x$ac_cv_lib_posix_remove" = xyes; then :
5735: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5736: fi
5737:
5738: fi
5739:
5740: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5741: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5742: if test "x$ac_cv_func_shmat" = xyes; then :
5743:
5744: fi
5745:
5746: if test $ac_cv_func_shmat = no; then
5747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5748: $as_echo_n "checking for shmat in -lipc... " >&6; }
5749: if ${ac_cv_lib_ipc_shmat+:} false; then :
5750: $as_echo_n "(cached) " >&6
5751: else
5752: ac_check_lib_save_LIBS=$LIBS
5753: LIBS="-lipc $LIBS"
5754: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755: /* end confdefs.h. */
5756:
5757: /* Override any GCC internal prototype to avoid an error.
5758: Use char because int might match the return type of a GCC
5759: builtin and then its argument prototype would still apply. */
5760: #ifdef __cplusplus
5761: extern "C"
5762: #endif
5763: char shmat ();
5764: int
5765: main ()
5766: {
5767: return shmat ();
5768: ;
5769: return 0;
5770: }
5771: _ACEOF
5772: if ac_fn_c_try_link "$LINENO"; then :
5773: ac_cv_lib_ipc_shmat=yes
5774: else
5775: ac_cv_lib_ipc_shmat=no
5776: fi
5777: rm -f core conftest.err conftest.$ac_objext \
5778: conftest$ac_exeext conftest.$ac_ext
5779: LIBS=$ac_check_lib_save_LIBS
5780: fi
5781: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5782: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5783: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
5784: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5785: fi
5786:
5787: fi
5788: fi
5789:
5790: # Check for libraries that X11R6 Xt/Xaw programs need.
5791: ac_save_LDFLAGS=$LDFLAGS
5792: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5793: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5794: # check for ICE first), but we must link in the order -lSM -lICE or
5795: # we get undefined symbols. So assume we have SM if we have ICE.
5796: # These have to be linked with before -lX11, unlike the other
5797: # libraries we check for below, so use a different variable.
5798: # John Interrante, Karl Berry
5799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5800: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5801: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
5802: $as_echo_n "(cached) " >&6
5803: else
5804: ac_check_lib_save_LIBS=$LIBS
5805: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807: /* end confdefs.h. */
5808:
5809: /* Override any GCC internal prototype to avoid an error.
5810: Use char because int might match the return type of a GCC
5811: builtin and then its argument prototype would still apply. */
5812: #ifdef __cplusplus
5813: extern "C"
5814: #endif
5815: char IceConnectionNumber ();
5816: int
5817: main ()
5818: {
5819: return IceConnectionNumber ();
5820: ;
5821: return 0;
5822: }
5823: _ACEOF
5824: if ac_fn_c_try_link "$LINENO"; then :
5825: ac_cv_lib_ICE_IceConnectionNumber=yes
5826: else
5827: ac_cv_lib_ICE_IceConnectionNumber=no
5828: fi
5829: rm -f core conftest.err conftest.$ac_objext \
5830: conftest$ac_exeext conftest.$ac_ext
5831: LIBS=$ac_check_lib_save_LIBS
5832: fi
5833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5834: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5835: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
5836: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5837: fi
5838:
5839: LDFLAGS=$ac_save_LDFLAGS
5840:
5841: fi
5842:
5843:
5844: if test "$ac_x_includes" != "no"; then
5845: if test x"$ac_x_includes" != x; then
5846: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5847: includeX="-I$ac_x_includes"
5848: fi
5849: fi
5850: if test "$ac_x_libraries" != "no"; then
5851: if test x"$ac_x_libraries" != x; then
5852: X_LIBS="$X_LIBS -L$ac_x_libraries"
5853: fi
5854: fi
5855:
5856: # Check whether --enable-optimization was given.
5857: if test "${enable_optimization+set}" = set; then :
5858: enableval=$enable_optimization;
5859: if test "$enableval" = "no"; then
5860: CFLAGS=
5861: FFLAGS=
5862: CXXFLAGS=
5863: FCFLAGS=
5864: else
5865: CFLAGS="$CFLAGS $enable_optimization"
5866: FFLAGS="$FFLAGS $enable_optimization"
5867: FCFLAGS="$FCFLAGS $enable_optimization"
5868: fi
5869: else
5870:
5871: CFLAGS="$CFLAGS $OPTIMISATION_C"
5872: FFLAGS="$FFLAGS $OPTIMISATION_F"
5873: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5874:
5875:
5876: fi
5877:
5878:
5879: # Check whether --enable-sysv-semaphores was given.
5880: if test "${enable_sysv_semaphores+set}" = set; then :
5881: enableval=$enable_sysv_semaphores;
5882: if test "$enableval" = "no"; then
5883: IPCS_SYSV=no
5884: else
5885: IPCS_SYSV=yes
5886: fi
5887: else
5888: IPCS_SYSV=no
5889: fi
5890:
5891:
5892: # Check whether --enable-full-static was given.
5893: if test "${enable_full_static+set}" = set; then :
5894: enableval=$enable_full_static;
5895: if test "$enableval" = "no"; then
5896: STATIC=no
5897: else
5898: STATIC=yes
5899: fi
5900: else
5901: STATIC=no
5902: fi
5903:
5904:
5905: # Check whether --enable-final-encoding was given.
5906: if test "${enable_final_encoding+set}" = set; then :
5907: enableval=$enable_final_encoding;
5908: if test "$enableval" = "no"; then
5909: FINAL_ENCODING="\$(shell locale charmap | \
5910: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5911: FORCED_FINAL_ENCODING=0
5912: else
5913: FINAL_ENCODING="$enable_final_encoding"
5914: FORCED_FINAL_ENCODING=1
5915: fi
5916: else
5917:
5918: FORCED_FINAL_ENCODING=0
5919: FINAL_ENCODING="\$(shell locale charmap | \
5920: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5921: fi
5922:
5923:
5924: # Check whether --enable-tex was given.
5925: if test "${enable_tex+set}" = set; then :
5926: enableval=$enable_tex;
5927: if test "$enableval" = "no"; then
5928: TEX_SUPPORT=no
5929: else
5930: TEX_SUPPORT=yes
5931: fi
5932: else
5933: TEX_SUPPORT=guessed
5934: fi
5935:
5936:
5937: # Check whether --enable-vim was given.
5938: if test "${enable_vim+set}" = set; then :
5939: enableval=$enable_vim;
5940: if test "$enableval" = "no"; then
5941: VIM_SUPPORT=no
5942: else
5943: VIM_SUPPORT=yes
5944: fi
5945: else
5946: VIM_SUPPORT=guessed
5947: fi
5948:
5949:
5950: # Check whether --enable-embedded-gnuplot was given.
5951: if test "${enable_embedded_gnuplot+set}" = set; then :
5952: enableval=$enable_embedded_gnuplot;
5953: if test "$enableval" = "no"; then
5954: MYGNUPLOT=no
5955: else
5956: MYGNUPLOT=yes
5957: fi
5958: else
5959:
5960: MYGNUPLOT=yes
5961: fi
5962:
5963:
5964: # Check whether --enable-gnuplot was given.
5965: if test "${enable_gnuplot+set}" = set; then :
5966: enableval=$enable_gnuplot;
5967: if test "$enableval" = "no"; then
5968: GNUPLOT_SUPPORT=no
5969: MYGNUPLOT=no
5970: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5971: else
5972: GNUPLOT_SUPPORT=yes
5973: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5974: fi
5975: else
5976:
5977: if test "$MYGNUPLOT" = "yes"; then
5978: GNUPLOT_SUPPORT=yes
5979: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5980: else
5981: GNUPLOT_SUPPORT=guessed
5982: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5983: fi
5984: fi
5985:
5986:
5987: # Check whether --enable-motif was given.
5988: if test "${enable_motif+set}" = set; then :
5989: enableval=$enable_motif;
5990: if test "$enableval" = "no"; then
5991: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
5992: else
5993: CFLAGS_ORIG=$CFLAGS
5994: LIBS_ORIG=$LIBS
5995: CFLAGS="$CFLAGS $X_CFLAGS"
5996: LIBS="$LIB $X_LIBS"
5997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
5998: $as_echo_n "checking for main in -lXm... " >&6; }
5999: if ${ac_cv_lib_Xm_main+:} false; then :
6000: $as_echo_n "(cached) " >&6
6001: else
6002: ac_check_lib_save_LIBS=$LIBS
6003: LIBS="-lXm $LIBS"
6004: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6005: /* end confdefs.h. */
6006:
6007:
6008: int
6009: main ()
6010: {
6011: return main ();
6012: ;
6013: return 0;
6014: }
6015: _ACEOF
6016: if ac_fn_c_try_link "$LINENO"; then :
6017: ac_cv_lib_Xm_main=yes
6018: else
6019: ac_cv_lib_Xm_main=no
6020: fi
6021: rm -f core conftest.err conftest.$ac_objext \
6022: conftest$ac_exeext conftest.$ac_ext
6023: LIBS=$ac_check_lib_save_LIBS
6024: fi
6025: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6026: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6027: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6028: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6029: else
6030: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6031: fi
6032:
6033: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6034: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
6035: Motif flag is disabled.
6036: " >&5
6037: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
6038: Motif flag is disabled.
6039: " >&2;}
6040: fi
6041: LIBS=$LIBS_ORIG
6042: CFLAGS=$CFLAGS_ORIG
6043: fi
6044: else
6045: MOTIF_SUPPORT=guessed
6046: fi
6047:
6048:
6049: # Check whether --enable-experimental was given.
6050: if test "${enable_experimental+set}" = set; then :
6051: enableval=$enable_experimental;
6052: if test "$enableval" = "no"; then
6053: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6054: else
6055: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6056: fi
6057: else
6058: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6059: fi
6060:
6061:
6062: # Check whether --enable-debug was given.
6063: if test "${enable_debug+set}" = set; then :
6064: enableval=$enable_debug;
6065: if test "$enableval" = "no"; then
6066: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6067: else
6068: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6069: fi
6070: else
6071: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6072: fi
6073:
6074:
6075: # Check whether --enable-profile was given.
6076: if test "${enable_profile+set}" = set; then :
6077: enableval=$enable_profile;
6078: if test "$enableval" = "no"; then
6079: PROFILAGE=""
6080: else
6081: PROFILAGE="-pg"
6082: fi
6083: else
6084: PROFILAGE=""
6085: fi
6086:
6087:
6088:
6089:
6090: if test ! -d tools; then
6091: mkdir tools
6092: fi
6093: if test ! -d "$srcdir"/tools/$NCURSES; then
6094: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6095: (cd "$srcdir/tools" && tar -xf -)
6096: (cd "$srcdir/tools/"$NCURSES && \
6097: for i in ../$NCURSES*.patch.gz;
6098: do gunzip -c $i | patch -p1;
6099: done);
6100: fi
6101: if test ! -d "$srcdir"/tools/$READLINE; then
6102: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6103: (cd "$srcdir/tools" && tar -xf -)
6104: fi
6105: if test ! -d "$srcdir"/tools/$UNITS; then
6106: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6107: (cd "$srcdir/tools" && tar -xf -)
6108: fi
6109: if test ! -d "$srcdir"/tools/$GSL; then
6110: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6111: (cd "$srcdir/tools" && tar -xf -)
6112: if test $(uname) = "OS/2"; then
6113: (cd "$srcdir"/tools/$GSL; \
6114: TMP=$(mktemp tmp.XXXXXXXXXX); \
6115: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6116: \mv -f $TMP ltmain.sh)
6117: fi
6118: fi
6119: if test ! -d "$srcdir"/tools/$GPP; then
6120: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6121: (cd "$srcdir/tools" && tar -xf -)
6122: fi
6123: if test ! -d "$srcdir"/tools/$FILE; then
6124: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6125: (cd "$srcdir/tools" && tar -xf - )
6126: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6127: fi
6128: if test ! -d "$srcdir"/tools/$ICONV; then
6129: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6130: (cd "$srcdir/tools" && tar -xf -)
6131: fi
6132: if test ! -d "$srcdir"/tools/$SQLITE; then
6133: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6134: (cd "$srcdir/tools" && tar -xf -)
6135: fi
6136: if test ! -d tools/$OPENSSL; then
6137: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6138: (cd tools && tar -xf -)
6139: fi
6140:
6141:
6142:
6143: # Check whether --enable-final-run-path was given.
6144: if test "${enable_final_run_path+set}" = set; then :
6145: enableval=$enable_final_run_path;
6146: if test "x$enable_final_run_path" = "x"; then
6147: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6148: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6149: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6150: else
6151: RUNPATH="$enable_final_run_path"
6152: fi
6153:
6154: else
6155: RUNPATH="\${prefix}"
6156:
6157: fi
6158:
6159:
6160:
6161:
6162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6163: $as_echo_n "checking whether ln -s works... " >&6; }
6164: LN_S=$as_ln_s
6165: if test "$LN_S" = "ln -s"; then
6166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6167: $as_echo "yes" >&6; }
6168: else
6169: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6170: $as_echo "no, using $LN_S" >&6; }
6171: fi
6172:
6173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6174: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6175: set x ${MAKE-make}
6176: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6177: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6178: $as_echo_n "(cached) " >&6
6179: else
6180: cat >conftest.make <<\_ACEOF
6181: SHELL = /bin/sh
6182: all:
6183: @echo '@@@%%%=$(MAKE)=@@@%%%'
6184: _ACEOF
6185: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6186: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6187: *@@@%%%=?*=@@@%%%*)
6188: eval ac_cv_prog_make_${ac_make}_set=yes;;
6189: *)
6190: eval ac_cv_prog_make_${ac_make}_set=no;;
6191: esac
6192: rm -f conftest.make
6193: fi
6194: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6196: $as_echo "yes" >&6; }
6197: SET_MAKE=
6198: else
6199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200: $as_echo "no" >&6; }
6201: SET_MAKE="MAKE=${MAKE-make}"
6202: fi
6203:
6204: if test -n "$ac_tool_prefix"; then
6205: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6206: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208: $as_echo_n "checking for $ac_word... " >&6; }
6209: if ${ac_cv_prog_RANLIB+:} false; then :
6210: $as_echo_n "(cached) " >&6
6211: else
6212: if test -n "$RANLIB"; then
6213: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6214: else
6215: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216: for as_dir in $PATH
6217: do
6218: IFS=$as_save_IFS
6219: test -z "$as_dir" && as_dir=.
6220: for ac_exec_ext in '' $ac_executable_extensions; do
6221: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6223: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224: break 2
6225: fi
6226: done
6227: done
6228: IFS=$as_save_IFS
6229:
6230: fi
6231: fi
6232: RANLIB=$ac_cv_prog_RANLIB
6233: if test -n "$RANLIB"; then
6234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6235: $as_echo "$RANLIB" >&6; }
6236: else
6237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238: $as_echo "no" >&6; }
6239: fi
6240:
6241:
6242: fi
6243: if test -z "$ac_cv_prog_RANLIB"; then
6244: ac_ct_RANLIB=$RANLIB
6245: # Extract the first word of "ranlib", so it can be a program name with args.
6246: set dummy ranlib; ac_word=$2
6247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248: $as_echo_n "checking for $ac_word... " >&6; }
6249: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6250: $as_echo_n "(cached) " >&6
6251: else
6252: if test -n "$ac_ct_RANLIB"; then
6253: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6254: else
6255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256: for as_dir in $PATH
6257: do
6258: IFS=$as_save_IFS
6259: test -z "$as_dir" && as_dir=.
6260: for ac_exec_ext in '' $ac_executable_extensions; do
6261: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262: ac_cv_prog_ac_ct_RANLIB="ranlib"
6263: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264: break 2
6265: fi
6266: done
6267: done
6268: IFS=$as_save_IFS
6269:
6270: fi
6271: fi
6272: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6273: if test -n "$ac_ct_RANLIB"; then
6274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6275: $as_echo "$ac_ct_RANLIB" >&6; }
6276: else
6277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278: $as_echo "no" >&6; }
6279: fi
6280:
6281: if test "x$ac_ct_RANLIB" = x; then
6282: RANLIB=":"
6283: else
6284: case $cross_compiling:$ac_tool_warned in
6285: yes:)
6286: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6287: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6288: ac_tool_warned=yes ;;
6289: esac
6290: RANLIB=$ac_ct_RANLIB
6291: fi
6292: else
6293: RANLIB="$ac_cv_prog_RANLIB"
6294: fi
6295:
6296:
6297: # Extract the first word of "nawk", so it can be a program name with args.
6298: set dummy nawk; ac_word=$2
6299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300: $as_echo_n "checking for $ac_word... " >&6; }
6301: if ${ac_cv_prog_AWK+:} false; then :
6302: $as_echo_n "(cached) " >&6
6303: else
6304: if test -n "$AWK"; then
6305: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6306: else
6307: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308: for as_dir in $PATH
6309: do
6310: IFS=$as_save_IFS
6311: test -z "$as_dir" && as_dir=.
6312: for ac_exec_ext in '' $ac_executable_extensions; do
6313: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314: ac_cv_prog_AWK="yes"
6315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316: break 2
6317: fi
6318: done
6319: done
6320: IFS=$as_save_IFS
6321:
6322: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6323: fi
6324: fi
6325: AWK=$ac_cv_prog_AWK
6326: if test -n "$AWK"; then
6327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6328: $as_echo "$AWK" >&6; }
6329: else
6330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331: $as_echo "no" >&6; }
6332: fi
6333:
6334:
6335: if test "$AWK" = no; then
6336: # Extract the first word of "gawk", so it can be a program name with args.
6337: set dummy gawk; ac_word=$2
6338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6339: $as_echo_n "checking for $ac_word... " >&6; }
6340: if ${ac_cv_prog_AWK+:} false; then :
6341: $as_echo_n "(cached) " >&6
6342: else
6343: if test -n "$AWK"; then
6344: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6345: else
6346: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347: for as_dir in $PATH
6348: do
6349: IFS=$as_save_IFS
6350: test -z "$as_dir" && as_dir=.
6351: for ac_exec_ext in '' $ac_executable_extensions; do
6352: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6353: ac_cv_prog_AWK="yes"
6354: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6355: break 2
6356: fi
6357: done
6358: done
6359: IFS=$as_save_IFS
6360:
6361: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6362: fi
6363: fi
6364: AWK=$ac_cv_prog_AWK
6365: if test -n "$AWK"; then
6366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6367: $as_echo "$AWK" >&6; }
6368: else
6369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370: $as_echo "no" >&6; }
6371: fi
6372:
6373:
6374: if test "$AWK" = no; then
6375: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6376: fi
6377: fi
6378:
6379: # Extract the first word of "sed", so it can be a program name with args.
6380: set dummy sed; ac_word=$2
6381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382: $as_echo_n "checking for $ac_word... " >&6; }
6383: if ${ac_cv_prog_SED+:} false; then :
6384: $as_echo_n "(cached) " >&6
6385: else
6386: if test -n "$SED"; then
6387: ac_cv_prog_SED="$SED" # Let the user override the test.
6388: else
6389: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390: for as_dir in $PATH
6391: do
6392: IFS=$as_save_IFS
6393: test -z "$as_dir" && as_dir=.
6394: for ac_exec_ext in '' $ac_executable_extensions; do
6395: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396: ac_cv_prog_SED="yes"
6397: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398: break 2
6399: fi
6400: done
6401: done
6402: IFS=$as_save_IFS
6403:
6404: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6405: fi
6406: fi
6407: SED=$ac_cv_prog_SED
6408: if test -n "$SED"; then
6409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6410: $as_echo "$SED" >&6; }
6411: else
6412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413: $as_echo "no" >&6; }
6414: fi
6415:
6416:
6417: if test "$SED" = no; then
6418: as_fn_error $? "Can not find sed !" "$LINENO" 5
6419: fi
6420:
6421: if test "$TEX_SUPPORT" = guessed; then
6422: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6423:
6424: # Extract the first word of "tex", so it can be a program name with args.
6425: set dummy tex; ac_word=$2
6426: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427: $as_echo_n "checking for $ac_word... " >&6; }
6428: if ${ac_cv_prog_TEX+:} false; then :
6429: $as_echo_n "(cached) " >&6
6430: else
6431: if test -n "$TEX"; then
6432: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6433: else
6434: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435: for as_dir in $PATH
6436: do
6437: IFS=$as_save_IFS
6438: test -z "$as_dir" && as_dir=.
6439: for ac_exec_ext in '' $ac_executable_extensions; do
6440: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441: ac_cv_prog_TEX="yes"
6442: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443: break 2
6444: fi
6445: done
6446: done
6447: IFS=$as_save_IFS
6448:
6449: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6450: fi
6451: fi
6452: TEX=$ac_cv_prog_TEX
6453: if test -n "$TEX"; then
6454: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6455: $as_echo "$TEX" >&6; }
6456: else
6457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458: $as_echo "no" >&6; }
6459: fi
6460:
6461:
6462: if test "$TEX" = no; then
6463: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6464: Download at http://tex.loria.fr/
6465: " >&5
6466: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6467: Download at http://tex.loria.fr/
6468: " >&2;}
6469: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6470: fi
6471:
6472: # Extract the first word of "latex", so it can be a program name with args.
6473: set dummy latex; ac_word=$2
6474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475: $as_echo_n "checking for $ac_word... " >&6; }
6476: if ${ac_cv_prog_LATEX+:} false; then :
6477: $as_echo_n "(cached) " >&6
6478: else
6479: if test -n "$LATEX"; then
6480: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6481: else
6482: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483: for as_dir in $PATH
6484: do
6485: IFS=$as_save_IFS
6486: test -z "$as_dir" && as_dir=.
6487: for ac_exec_ext in '' $ac_executable_extensions; do
6488: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489: ac_cv_prog_LATEX="yes"
6490: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491: break 2
6492: fi
6493: done
6494: done
6495: IFS=$as_save_IFS
6496:
6497: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6498: fi
6499: fi
6500: LATEX=$ac_cv_prog_LATEX
6501: if test -n "$LATEX"; then
6502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6503: $as_echo "$LATEX" >&6; }
6504: else
6505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506: $as_echo "no" >&6; }
6507: fi
6508:
6509:
6510: if test "$LATEX" = no; then
6511: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6512: Download at http://tex.loria.fr/
6513: " >&5
6514: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6515: Download at http://tex.loria.fr/
6516: " >&2;}
6517: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6518: fi
6519:
6520: # Extract the first word of "dvips", so it can be a program name with args.
6521: set dummy dvips; ac_word=$2
6522: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6523: $as_echo_n "checking for $ac_word... " >&6; }
6524: if ${ac_cv_prog_DVIPS+:} false; then :
6525: $as_echo_n "(cached) " >&6
6526: else
6527: if test -n "$DVIPS"; then
6528: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6529: else
6530: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531: for as_dir in $PATH
6532: do
6533: IFS=$as_save_IFS
6534: test -z "$as_dir" && as_dir=.
6535: for ac_exec_ext in '' $ac_executable_extensions; do
6536: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537: ac_cv_prog_DVIPS="yes"
6538: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539: break 2
6540: fi
6541: done
6542: done
6543: IFS=$as_save_IFS
6544:
6545: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6546: fi
6547: fi
6548: DVIPS=$ac_cv_prog_DVIPS
6549: if test -n "$DVIPS"; then
6550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6551: $as_echo "$DVIPS" >&6; }
6552: else
6553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554: $as_echo "no" >&6; }
6555: fi
6556:
6557:
6558: if test "$DVIPS" = no; then
6559: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6560: Download at http://tex.loria.fr/
6561: " >&5
6562: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6563: Download at http://tex.loria.fr/
6564: " >&2;}
6565: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6566: fi
6567:
6568: # Extract the first word of "gs", so it can be a program name with args.
6569: set dummy gs; ac_word=$2
6570: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571: $as_echo_n "checking for $ac_word... " >&6; }
6572: if ${ac_cv_prog_GS+:} false; then :
6573: $as_echo_n "(cached) " >&6
6574: else
6575: if test -n "$GS"; then
6576: ac_cv_prog_GS="$GS" # Let the user override the test.
6577: else
6578: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579: for as_dir in $PATH
6580: do
6581: IFS=$as_save_IFS
6582: test -z "$as_dir" && as_dir=.
6583: for ac_exec_ext in '' $ac_executable_extensions; do
6584: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6585: ac_cv_prog_GS="yes"
6586: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6587: break 2
6588: fi
6589: done
6590: done
6591: IFS=$as_save_IFS
6592:
6593: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6594: fi
6595: fi
6596: GS=$ac_cv_prog_GS
6597: if test -n "$GS"; then
6598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6599: $as_echo "$GS" >&6; }
6600: else
6601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602: $as_echo "no" >&6; }
6603: fi
6604:
6605:
6606: if test "$GS" = no; then
6607: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6608: Download at http://ftp.lip6.fr/
6609: " >&5
6610: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6611: Download at http://ftp.lip6.fr/
6612: " >&2;}
6613: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6614: fi
6615:
6616: # Extract the first word of "gv", so it can be a program name with args.
6617: set dummy gv; ac_word=$2
6618: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619: $as_echo_n "checking for $ac_word... " >&6; }
6620: if ${ac_cv_prog_GV+:} false; then :
6621: $as_echo_n "(cached) " >&6
6622: else
6623: if test -n "$GV"; then
6624: ac_cv_prog_GV="$GV" # Let the user override the test.
6625: else
6626: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627: for as_dir in $PATH
6628: do
6629: IFS=$as_save_IFS
6630: test -z "$as_dir" && as_dir=.
6631: for ac_exec_ext in '' $ac_executable_extensions; do
6632: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633: ac_cv_prog_GV="yes"
6634: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635: break 2
6636: fi
6637: done
6638: done
6639: IFS=$as_save_IFS
6640:
6641: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6642: fi
6643: fi
6644: GV=$ac_cv_prog_GV
6645: if test -n "$GV"; then
6646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6647: $as_echo "$GV" >&6; }
6648: else
6649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650: $as_echo "no" >&6; }
6651: fi
6652:
6653:
6654: if test "$GV" = no; then
6655: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6656: Download at http://ftp.lip6.fr/
6657: " >&5
6658: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6659: Download at http://ftp.lip6.fr/
6660: " >&2;}
6661: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6662: fi
6663: else
6664: if test "$TEX_SUPPORT" = no; then
6665: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6666: else
6667: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6668: fi
6669: fi
6670:
6671: if test "$GNUPLOT_SUPPORT" = guessed; then
6672: # Extract the first word of "gnuplot", so it can be a program name with args.
6673: set dummy gnuplot; ac_word=$2
6674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675: $as_echo_n "checking for $ac_word... " >&6; }
6676: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
6677: $as_echo_n "(cached) " >&6
6678: else
6679: if test -n "$GNUPLOT_P"; then
6680: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6681: else
6682: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683: for as_dir in $PATH
6684: do
6685: IFS=$as_save_IFS
6686: test -z "$as_dir" && as_dir=.
6687: for ac_exec_ext in '' $ac_executable_extensions; do
6688: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689: ac_cv_prog_GNUPLOT_P="yes"
6690: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691: break 2
6692: fi
6693: done
6694: done
6695: IFS=$as_save_IFS
6696:
6697: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6698: fi
6699: fi
6700: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6701: if test -n "$GNUPLOT_P"; then
6702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6703: $as_echo "$GNUPLOT_P" >&6; }
6704: else
6705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706: $as_echo "no" >&6; }
6707: fi
6708:
6709:
6710: if test "$GNUPLOT_P" = no; then
6711: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6712: Download at http://www.gnuplot.vt.edu/
6713: " >&5
6714: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6715: Download at http://www.gnuplot.vt.edu/
6716: " >&2;}
6717: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6718: else
6719: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6720: fi
6721: else
6722: if test "$GNUPLOT_SUPPORT" = no; then
6723: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6724: else
6725: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6726: fi
6727: fi
6728:
6729: if test "$VIM_SUPPORT" = guessed; then
6730: # Extract the first word of "vim", so it can be a program name with args.
6731: set dummy vim; ac_word=$2
6732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733: $as_echo_n "checking for $ac_word... " >&6; }
6734: if ${ac_cv_prog_VIM+:} false; then :
6735: $as_echo_n "(cached) " >&6
6736: else
6737: if test -n "$VIM"; then
6738: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6739: else
6740: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741: for as_dir in $PATH
6742: do
6743: IFS=$as_save_IFS
6744: test -z "$as_dir" && as_dir=.
6745: for ac_exec_ext in '' $ac_executable_extensions; do
6746: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747: ac_cv_prog_VIM="yes"
6748: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749: break 2
6750: fi
6751: done
6752: done
6753: IFS=$as_save_IFS
6754:
6755: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6756: fi
6757: fi
6758: VIM=$ac_cv_prog_VIM
6759: if test -n "$VIM"; then
6760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6761: $as_echo "$VIM" >&6; }
6762: else
6763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764: $as_echo "no" >&6; }
6765: fi
6766:
6767:
6768: if test "$VIM" = no; then
6769: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6770: Download at http://www.vim.org/
6771: " >&5
6772: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6773: Download at http://www.vim.org/
6774: " >&2;}
6775: VIM_SUPPORT="-UVIM_SUPPORT"
6776: else
6777: VIM_SUPPORT="-DVIM_SUPPORT"
6778: fi
6779: else
6780: if test "$VIM_SUPPORT" = no; then
6781: VIM_SUPPORT="-UVIM_SUPPORT"
6782: else
6783: VIM_SUPPORT="-DVIM_SUPPORT"
6784: fi
6785: fi
6786:
6787: if test "$MOTIF_SUPPORT" = guessed; then
6788: CFLAGS_ORIG=$CFLAGS
6789: LIBS_ORIG=$LIBS
6790: CFLAGS="$CFLAGS $X_CFLAGS"
6791: LIBS="$LIB $X_LIBS"
6792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6793: $as_echo_n "checking for main in -lXm... " >&6; }
6794: if ${ac_cv_lib_Xm_main+:} false; then :
6795: $as_echo_n "(cached) " >&6
6796: else
6797: ac_check_lib_save_LIBS=$LIBS
6798: LIBS="-lXm $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_Xm_main=yes
6813: else
6814: ac_cv_lib_Xm_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_Xm_main" >&5
6821: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6822: if test "x$ac_cv_lib_Xm_main" = xyes; then :
6823: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6824: else
6825: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6826: fi
6827:
6828: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6829: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6830: Motif flag is disabled.
6831: " >&5
6832: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6833: Motif flag is disabled.
6834: " >&2;}
6835: fi
6836: LIBS=$LIBS_ORIG
6837: CFLAGS=$CFLAGS_ORIG
6838: fi
6839:
6840: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6841: CFLAGS_ORIG=$CFLAGS
6842: LIBS_ORIG=$LIBS
6843: CFLAGS="$CFLAGS $X_CFLAGS"
6844: LIBS="$LIB $X_LIBS"
6845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6846: $as_echo_n "checking for main in -lXpm... " >&6; }
6847: if ${ac_cv_lib_Xpm_main+:} false; then :
6848: $as_echo_n "(cached) " >&6
6849: else
6850: ac_check_lib_save_LIBS=$LIBS
6851: LIBS="-lXpm $LIBS"
6852: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853: /* end confdefs.h. */
6854:
6855:
6856: int
6857: main ()
6858: {
6859: return main ();
6860: ;
6861: return 0;
6862: }
6863: _ACEOF
6864: if ac_fn_c_try_link "$LINENO"; then :
6865: ac_cv_lib_Xpm_main=yes
6866: else
6867: ac_cv_lib_Xpm_main=no
6868: fi
6869: rm -f core conftest.err conftest.$ac_objext \
6870: conftest$ac_exeext conftest.$ac_ext
6871: LIBS=$ac_check_lib_save_LIBS
6872: fi
6873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6874: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6875: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
6876: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6877: else
6878: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6879: fi
6880:
6881: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6882: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6883: else
6884: libX=""
6885: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6886: Motif flag is disabled.
6887: " >&5
6888: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6889: Motif flag is disabled.
6890: " >&2;}
6891: fi
6892: LIBS=$LIBS_ORIG
6893: CFLAGS=$CFLAGS_ORIG
6894: else
6895: libX=""
6896: fi
6897:
6898:
6899:
6900:
6901:
6902:
6903:
6904:
6905:
6906:
6907:
6908: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6909:
6910:
6911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6912: $as_echo_n "checking for main in -lm... " >&6; }
6913: if ${ac_cv_lib_m_main+:} false; then :
6914: $as_echo_n "(cached) " >&6
6915: else
6916: ac_check_lib_save_LIBS=$LIBS
6917: LIBS="-lm $LIBS"
6918: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919: /* end confdefs.h. */
6920:
6921:
6922: int
6923: main ()
6924: {
6925: return main ();
6926: ;
6927: return 0;
6928: }
6929: _ACEOF
6930: if ac_fn_c_try_link "$LINENO"; then :
6931: ac_cv_lib_m_main=yes
6932: else
6933: ac_cv_lib_m_main=no
6934: fi
6935: rm -f core conftest.err conftest.$ac_objext \
6936: conftest$ac_exeext conftest.$ac_ext
6937: LIBS=$ac_check_lib_save_LIBS
6938: fi
6939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
6940: $as_echo "$ac_cv_lib_m_main" >&6; }
6941: if test "x$ac_cv_lib_m_main" = xyes; then :
6942: cat >>confdefs.h <<_ACEOF
6943: #define HAVE_LIBM 1
6944: _ACEOF
6945:
6946: LIBS="-lm $LIBS"
6947:
6948: else
6949: as_fn_error $? "Can not find libm !" "$LINENO" 5
6950: fi
6951:
6952: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
6953: $as_echo_n "checking for main in -lpthread... " >&6; }
6954: if ${ac_cv_lib_pthread_main+:} false; then :
6955: $as_echo_n "(cached) " >&6
6956: else
6957: ac_check_lib_save_LIBS=$LIBS
6958: LIBS="-lpthread $LIBS"
6959: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960: /* end confdefs.h. */
6961:
6962:
6963: int
6964: main ()
6965: {
6966: return main ();
6967: ;
6968: return 0;
6969: }
6970: _ACEOF
6971: if ac_fn_c_try_link "$LINENO"; then :
6972: ac_cv_lib_pthread_main=yes
6973: else
6974: ac_cv_lib_pthread_main=no
6975: fi
6976: rm -f core conftest.err conftest.$ac_objext \
6977: conftest$ac_exeext conftest.$ac_ext
6978: LIBS=$ac_check_lib_save_LIBS
6979: fi
6980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
6981: $as_echo "$ac_cv_lib_pthread_main" >&6; }
6982: if test "x$ac_cv_lib_pthread_main" = xyes; then :
6983: cat >>confdefs.h <<_ACEOF
6984: #define HAVE_LIBPTHREAD 1
6985: _ACEOF
6986:
6987: LIBS="-lpthread $LIBS"
6988:
6989: else
6990: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
6991: fi
6992:
6993:
6994: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
6995: #include <sys/sem.h>
6996:
6997: "
6998: if test "x$ac_cv_type_union_semun" = xyes; then :
6999: SEMUN=-DUNION_SEMUN
7000: else
7001: SEMUN=-UUNION_SEMUN
7002: fi
7003:
7004:
7005: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
7006: #include <sys/types.h>
7007: #include <netinet/in.h>
7008:
7009: "
7010: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
7011: IPV6=-DIPV6
7012: else
7013: IPV6=-UIPV6
7014: fi
7015:
7016:
7017: if test "$CYGWIN" != yes; then
7018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7019: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7020: if ${ac_cv_lib_dl_dlopen+:} false; then :
7021: $as_echo_n "(cached) " >&6
7022: else
7023: ac_check_lib_save_LIBS=$LIBS
7024: LIBS="-ldl $LIBS"
7025: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026: /* end confdefs.h. */
7027:
7028: /* Override any GCC internal prototype to avoid an error.
7029: Use char because int might match the return type of a GCC
7030: builtin and then its argument prototype would still apply. */
7031: #ifdef __cplusplus
7032: extern "C"
7033: #endif
7034: char dlopen ();
7035: int
7036: main ()
7037: {
7038: return dlopen ();
7039: ;
7040: return 0;
7041: }
7042: _ACEOF
7043: if ac_fn_c_try_link "$LINENO"; then :
7044: ac_cv_lib_dl_dlopen=yes
7045: else
7046: ac_cv_lib_dl_dlopen=no
7047: fi
7048: rm -f core conftest.err conftest.$ac_objext \
7049: conftest$ac_exeext conftest.$ac_ext
7050: LIBS=$ac_check_lib_save_LIBS
7051: fi
7052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7053: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7054: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7055: LIBS="$LIBS -ldl"
7056: else
7057: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7058: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7059: fi
7060:
7061: fi
7062:
7063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7064: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7065: if ${ac_cv_lib_rt_nanosleep+:} false; then :
7066: $as_echo_n "(cached) " >&6
7067: else
7068: ac_check_lib_save_LIBS=$LIBS
7069: LIBS="-lrt $LIBS"
7070: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071: /* end confdefs.h. */
7072:
7073: /* Override any GCC internal prototype to avoid an error.
7074: Use char because int might match the return type of a GCC
7075: builtin and then its argument prototype would still apply. */
7076: #ifdef __cplusplus
7077: extern "C"
7078: #endif
7079: char nanosleep ();
7080: int
7081: main ()
7082: {
7083: return nanosleep ();
7084: ;
7085: return 0;
7086: }
7087: _ACEOF
7088: if ac_fn_c_try_link "$LINENO"; then :
7089: ac_cv_lib_rt_nanosleep=yes
7090: else
7091: ac_cv_lib_rt_nanosleep=no
7092: fi
7093: rm -f core conftest.err conftest.$ac_objext \
7094: conftest$ac_exeext conftest.$ac_ext
7095: LIBS=$ac_check_lib_save_LIBS
7096: fi
7097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7098: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7099: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7100: LIBS="$LIBS -lrt"
7101: else
7102: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7103: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7104: fi
7105:
7106:
7107: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7108: $as_echo_n "checking for bind in -lsocket... " >&6; }
7109: if ${ac_cv_lib_socket_bind+:} false; then :
7110: $as_echo_n "(cached) " >&6
7111: else
7112: ac_check_lib_save_LIBS=$LIBS
7113: LIBS="-lsocket $LIBS"
7114: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115: /* end confdefs.h. */
7116:
7117: /* Override any GCC internal prototype to avoid an error.
7118: Use char because int might match the return type of a GCC
7119: builtin and then its argument prototype would still apply. */
7120: #ifdef __cplusplus
7121: extern "C"
7122: #endif
7123: char bind ();
7124: int
7125: main ()
7126: {
7127: return bind ();
7128: ;
7129: return 0;
7130: }
7131: _ACEOF
7132: if ac_fn_c_try_link "$LINENO"; then :
7133: ac_cv_lib_socket_bind=yes
7134: else
7135: ac_cv_lib_socket_bind=no
7136: fi
7137: rm -f core conftest.err conftest.$ac_objext \
7138: conftest$ac_exeext conftest.$ac_ext
7139: LIBS=$ac_check_lib_save_LIBS
7140: fi
7141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7142: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7143: if test "x$ac_cv_lib_socket_bind" = xyes; then :
7144: LIBS="$LIBS -lsocket"
7145: else
7146: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7147: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7148: fi
7149:
7150:
7151: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7152:
7153: # Check whether --with-mysql was given.
7154: if test "${with_mysql+set}" = set; then :
7155: withval=$with_mysql;
7156: else
7157: with_mysql=check
7158: fi
7159:
7160:
7161: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7162: libMySQLinc="-I/usr/include"
7163: libMySQLlib="/usr/lib"
7164:
7165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7166: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7167: saved_CFLAGS="$CFLAGS"
7168: CFLAGS="$CFLAGS -L/$libMySQLinc"
7169: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170: /* end confdefs.h. */
7171: #include "mysql.h"
7172: int
7173: main ()
7174: {
7175:
7176: ;
7177: return 0;
7178: }
7179: _ACEOF
7180: if ac_fn_c_try_compile "$LINENO"; then :
7181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7182: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7183: libMySQLinc=$libMySQLinc/mysql
7184: else
7185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7187: fi
7188: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7189: CFLAGS=$saved_CFLAGS
7190:
7191: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7193: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7194: saved_CFLAGS="$CFLAGS"
7195: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7196: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197: /* end confdefs.h. */
7198: #include "mysql.h"
7199: int
7200: main ()
7201: {
7202:
7203: ;
7204: return 0;
7205: }
7206: _ACEOF
7207: if ac_fn_c_try_compile "$LINENO"; then :
7208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7209: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7210: libMySQLinc=$libMySQLinc
7211: else
7212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7214: fi
7215: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7216: CFLAGS=$saved_CFLAGS
7217: libMySQLinc=$libMySQLinc/mysql
7218: fi
7219:
7220: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7222: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7223: saved_CFLAGS="$CFLAGS"
7224: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226: /* end confdefs.h. */
7227: #include "mysql.h"
7228: int
7229: main ()
7230: {
7231:
7232: ;
7233: return 0;
7234: }
7235: _ACEOF
7236: if ac_fn_c_try_compile "$LINENO"; then :
7237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7238: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7239: libMySQLinc=$libMySQLinc/mysql
7240: else
7241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7243: fi
7244: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245: CFLAGS=$saved_CFLAGS
7246: libMySQLinc=$libMySQLinc/../local/include
7247: libMySQLlib=$libMySQLlib/../local/lib
7248: fi
7249:
7250: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7252: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7253: saved_CFLAGS="$CFLAGS"
7254: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7255: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256: /* end confdefs.h. */
7257: #include "mysql.h"
7258: int
7259: main ()
7260: {
7261:
7262: ;
7263: return 0;
7264: }
7265: _ACEOF
7266: if ac_fn_c_try_compile "$LINENO"; then :
7267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7268: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7269: libMySQLinc=$libMySQLinc/mysql
7270: else
7271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7273: fi
7274: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7275: CFLAGS=$saved_CFLAGS
7276: libMySQLinc=$libMySQLinc/../local/include/mysql
7277: libMySQLlib=$libMySQLlib/../local/lib
7278: fi
7279: else
7280: if test "x$with_mysql" != xno; then
7281: libMySQLinc="-I$with_mysql/include"
7282: libMySQLlib="$with_mysql/lib"
7283:
7284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7285: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7286: saved_CFLAGS="$CFLAGS"
7287: CFLAGS="$CFLAGS $libMySQLinc"
7288: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289: /* end confdefs.h. */
7290: #include "mysql.h"
7291: int
7292: main ()
7293: {
7294:
7295: ;
7296: return 0;
7297: }
7298: _ACEOF
7299: if ac_fn_c_try_compile "$LINENO"; then :
7300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7301: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7302: libMySQLinc=$libMySQLinc/mysql
7303: else
7304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7306: fi
7307: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7308: CFLAGS=$saved_CFLAGS
7309:
7310: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7312: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7313: saved_CFLAGS="$CFLAGS"
7314: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316: /* end confdefs.h. */
7317: #include "mysql.h"
7318: int
7319: main ()
7320: {
7321:
7322: ;
7323: return 0;
7324: }
7325: _ACEOF
7326: if ac_fn_c_try_compile "$LINENO"; then :
7327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7328: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7329: libMySQLinc=$libMySQLinc
7330: else
7331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7333: fi
7334: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7335: CFLAGS=$saved_CFLAGS
7336: libMySQLinc=$libMySQLinc/mysql
7337: fi
7338: else
7339: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7340: fi
7341: fi
7342:
7343: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7344: MYSQL_LIB=no
7345:
7346: if test $MYSQL_LIB = no; then
7347: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7348: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7349: saved_LIBS="$LIBS"
7350: if test $STATIC = no; then
7351: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7352: else
7353: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7354: fi
7355: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356: /* end confdefs.h. */
7357: #include "mysql.h"
7358: int
7359: main ()
7360: {
7361: MYSQL mysql; mysql_init(&mysql);
7362: ;
7363: return 0;
7364: }
7365: _ACEOF
7366: if ac_fn_c_try_link "$LINENO"; then :
7367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7368: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7369: else
7370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371: $as_echo "no" >&6; }; MYSQL_LIB="no"
7372: fi
7373: rm -f core conftest.err conftest.$ac_objext \
7374: conftest$ac_exeext conftest.$ac_ext
7375: LIBS=$saved_LIBS;
7376: if test $STATIC = no; then
7377: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7378: else
7379: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7380: EXT_SQL="$EXT_SQL $libMySQLlib"
7381: fi
7382: fi
7383:
7384: if test $MYSQL_LIB = no; then
7385: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7386: fi
7387: fi
7388:
7389: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7390: libMySQLinc=
7391: libMySQLlib=
7392: fi
7393:
7394:
7395:
7396:
7397:
7398: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7399:
7400: # Check whether --with-postgresql was given.
7401: if test "${with_postgresql+set}" = set; then :
7402: withval=$with_postgresql;
7403: else
7404: with_postgresql=check
7405: fi
7406:
7407:
7408: # with_postgresql : check [pas défini], yes [uniquement --with],
7409: # no [--without], valeur [--with=valeur].
7410:
7411: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7412: libPgSQLinc="-I/usr/include"
7413: libPgSQLlib="/usr/lib"
7414:
7415: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7416: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7417: saved_CFLAGS="$CFLAGS"
7418: CFLAGS="$CFLAGS $libPgSQLinc"
7419: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420: /* end confdefs.h. */
7421: #include "libpq-fe.h"
7422: int
7423: main ()
7424: {
7425:
7426: ;
7427: return 0;
7428: }
7429: _ACEOF
7430: if ac_fn_c_try_compile "$LINENO"; then :
7431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7432: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7433: else
7434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7436: fi
7437: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7438: CFLAGS=$saved_CFLAGS
7439:
7440: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7442: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7443: saved_CFLAGS="$CFLAGS"
7444: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446: /* end confdefs.h. */
7447: #include "libpq-fe.h"
7448: int
7449: main ()
7450: {
7451:
7452: ;
7453: return 0;
7454: }
7455: _ACEOF
7456: if ac_fn_c_try_compile "$LINENO"; then :
7457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7458: $as_echo "yes" >&6; };
7459: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7460: else
7461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462: $as_echo "no" >&6; };
7463: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7464: fi
7465: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7466: CFLAGS=$saved_CFLAGS
7467: libPgSQLinc=$libPgSQLinc/postgresql
7468: fi
7469:
7470: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7472: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7473: saved_CFLAGS="$CFLAGS"
7474: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7475: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476: /* end confdefs.h. */
7477: #include "libpq-fe.h"
7478: int
7479: main ()
7480: {
7481:
7482: ;
7483: return 0;
7484: }
7485: _ACEOF
7486: if ac_fn_c_try_compile "$LINENO"; then :
7487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7488: $as_echo "yes" >&6; };
7489: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7490: else
7491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492: $as_echo "no" >&6; };
7493: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7494: fi
7495: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7496: CFLAGS=$saved_CFLAGS
7497: libPgSQLinc=$libPgSQLinc/pgsql
7498: fi
7499:
7500: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7502: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7503: saved_CFLAGS="$CFLAGS"
7504: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7505: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506: /* end confdefs.h. */
7507: #include "libpq-fe.h"
7508: int
7509: main ()
7510: {
7511:
7512: ;
7513: return 0;
7514: }
7515: _ACEOF
7516: if ac_fn_c_try_compile "$LINENO"; then :
7517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7518: $as_echo "yes" >&6; };
7519: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7520: else
7521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522: $as_echo "no" >&6; };
7523: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7524: fi
7525: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526: CFLAGS=$saved_CFLAGS
7527: libPgSQLinc=$libPgSQLinc/../local/include
7528: libPgSQLlib=$libPgSQLlib/../local/lib
7529: fi
7530:
7531: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7533: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7534: saved_CFLAGS="$CFLAGS"
7535: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7536: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537: /* end confdefs.h. */
7538: #include "libpq-fe.h"
7539: int
7540: main ()
7541: {
7542:
7543: ;
7544: return 0;
7545: }
7546: _ACEOF
7547: if ac_fn_c_try_compile "$LINENO"; then :
7548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7549: $as_echo "yes" >&6; };
7550: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7551: else
7552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553: $as_echo "no" >&6; };
7554: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7555: fi
7556: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557: CFLAGS=$saved_CFLAGS
7558: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7559: libPgSQLlib=$libPgSQLlib/../local/lib
7560: fi
7561:
7562: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7563: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7564: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7565: saved_CFLAGS="$CFLAGS"
7566: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7567: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568: /* end confdefs.h. */
7569: #include "libpq-fe.h"
7570: int
7571: main ()
7572: {
7573:
7574: ;
7575: return 0;
7576: }
7577: _ACEOF
7578: if ac_fn_c_try_compile "$LINENO"; then :
7579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7580: $as_echo "yes" >&6; };
7581: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7582: else
7583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584: $as_echo "no" >&6; };
7585: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7586: fi
7587: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588: CFLAGS=$saved_CFLAGS
7589: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7590: libPgSQLlib=$libPgSQLlib/../local/lib
7591: fi
7592: else
7593: if test "x$with_postgresql" != xno; then
7594: libPgSQLinc="-I$with_postgresql/include"
7595: libPgSQLlib="$with_postgresql/lib"
7596:
7597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7598: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7599: saved_CFLAGS="$CFLAGS"
7600: CFLAGS="$CFLAGS $libPgSQLinc"
7601: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602: /* end confdefs.h. */
7603: #include "libpq-fe.h"
7604: int
7605: main ()
7606: {
7607:
7608: ;
7609: return 0;
7610: }
7611: _ACEOF
7612: if ac_fn_c_try_compile "$LINENO"; then :
7613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7614: $as_echo "yes" >&6; };
7615: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7616: else
7617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618: $as_echo "no" >&6; };
7619: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7620: fi
7621: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7622: CFLAGS=$saved_CFLAGS
7623:
7624: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7626: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7627: saved_CFLAGS="$CFLAGS"
7628: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7629: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630: /* end confdefs.h. */
7631: #include "libpq-fe.h"
7632: int
7633: main ()
7634: {
7635:
7636: ;
7637: return 0;
7638: }
7639: _ACEOF
7640: if ac_fn_c_try_compile "$LINENO"; then :
7641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7642: $as_echo "yes" >&6; };
7643: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7644: else
7645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646: $as_echo "no" >&6; };
7647: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7648: fi
7649: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7650: CFLAGS=$saved_CFLAGS
7651: libPgSQLinc=$libPgSQLinc/postgresql
7652: fi
7653:
7654: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7656: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7657: saved_CFLAGS="$CFLAGS"
7658: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7659: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660: /* end confdefs.h. */
7661: #include "libpq-fe.h"
7662: int
7663: main ()
7664: {
7665:
7666: ;
7667: return 0;
7668: }
7669: _ACEOF
7670: if ac_fn_c_try_compile "$LINENO"; then :
7671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7672: $as_echo "yes" >&6; };
7673: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7674: else
7675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676: $as_echo "no" >&6; };
7677: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7678: fi
7679: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7680: CFLAGS=$saved_CFLAGS
7681: libPgSQLinc=$libPgSQLinc/pgsql
7682: fi
7683: else
7684: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7685: fi
7686: fi
7687:
7688: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7689: POSTGRESQL_LIB=no
7690:
7691: if test $POSTGRESQL_LIB = no; then
7692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7693: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7694: saved_LIBS="$LIBS"
7695: if test $STATIC = no; then
7696: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7697: else
7698: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7699: fi
7700: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701: /* end confdefs.h. */
7702: #include "libpq-fe.h"
7703: int
7704: main ()
7705: {
7706: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7707: PQconnectdb(conninfo);
7708: ;
7709: return 0;
7710: }
7711: _ACEOF
7712: if ac_fn_c_try_link "$LINENO"; then :
7713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7714: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7715: else
7716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7718: fi
7719: rm -f core conftest.err conftest.$ac_objext \
7720: conftest$ac_exeext conftest.$ac_ext
7721: LIBS=$saved_LIBS;
7722: if test $STATIC = no; then
7723: libPgSQLlib="-L/$libPgSQLlib -lpq"
7724: else
7725: libPgSQLlib="$libPgSQLlib/libpq.a"
7726: EXT_SQL="$EXT_SQL $libPgSQLlib"
7727: fi
7728: fi
7729: fi
7730:
7731: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7732: libPgSQLinc=
7733: libPgSQLlib=
7734: fi
7735:
7736:
7737:
7738:
7739:
7740: # with_postgresql : check [pas défini], yes [uniquement --with],
7741: # no [--without], valeur [--with=valeur].
7742:
7743: # Check whether --with-bourne_shell was given.
7744: if test "${with_bourne_shell+set}" = set; then :
7745: withval=$with_bourne_shell;
7746: else
7747: with_bourne_shell=no
7748: fi
7749:
7750:
7751: if test "x$with_bourne_shell" = xyes; then
7752: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7753: fi
7754:
7755: if test "x$with_bourne_shell" = xno; then
7756: if test $(uname) = "OS/2"; then
7757: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7758: fi
7759:
7760: BSH_PATH=
7761: else
7762: if test ! -x $with_bourne_shell; then
7763: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7764: fi
7765:
7766: if test $(uname) = "OS/2"; then
7767: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7768: sed -e '1,$s/\//\\\\\\\\/g')
7769: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7770: else
7771: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7772: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7773: BSH_PATH=
7774: fi
7775: fi
7776:
7777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7778: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7779: if ${ac_cv_path_GREP+:} false; then :
7780: $as_echo_n "(cached) " >&6
7781: else
7782: if test -z "$GREP"; then
7783: ac_path_GREP_found=false
7784: # Loop through the user's path and test for each of PROGNAME-LIST
7785: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7787: do
7788: IFS=$as_save_IFS
7789: test -z "$as_dir" && as_dir=.
7790: for ac_prog in grep ggrep; do
7791: for ac_exec_ext in '' $ac_executable_extensions; do
7792: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7793: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7794: # Check for GNU ac_path_GREP and select it if it is found.
7795: # Check for GNU $ac_path_GREP
7796: case `"$ac_path_GREP" --version 2>&1` in
7797: *GNU*)
7798: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7799: *)
7800: ac_count=0
7801: $as_echo_n 0123456789 >"conftest.in"
7802: while :
7803: do
7804: cat "conftest.in" "conftest.in" >"conftest.tmp"
7805: mv "conftest.tmp" "conftest.in"
7806: cp "conftest.in" "conftest.nl"
7807: $as_echo 'GREP' >> "conftest.nl"
7808: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7809: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7810: as_fn_arith $ac_count + 1 && ac_count=$as_val
7811: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7812: # Best one so far, save it but keep looking for a better one
7813: ac_cv_path_GREP="$ac_path_GREP"
7814: ac_path_GREP_max=$ac_count
7815: fi
7816: # 10*(2^10) chars as input seems more than enough
7817: test $ac_count -gt 10 && break
7818: done
7819: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7820: esac
7821:
7822: $ac_path_GREP_found && break 3
7823: done
7824: done
7825: done
7826: IFS=$as_save_IFS
7827: if test -z "$ac_cv_path_GREP"; then
7828: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7829: fi
7830: else
7831: ac_cv_path_GREP=$GREP
7832: fi
7833:
7834: fi
7835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7836: $as_echo "$ac_cv_path_GREP" >&6; }
7837: GREP="$ac_cv_path_GREP"
7838:
7839:
7840: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7841: $as_echo_n "checking for egrep... " >&6; }
7842: if ${ac_cv_path_EGREP+:} false; then :
7843: $as_echo_n "(cached) " >&6
7844: else
7845: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7846: then ac_cv_path_EGREP="$GREP -E"
7847: else
7848: if test -z "$EGREP"; then
7849: ac_path_EGREP_found=false
7850: # Loop through the user's path and test for each of PROGNAME-LIST
7851: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7853: do
7854: IFS=$as_save_IFS
7855: test -z "$as_dir" && as_dir=.
7856: for ac_prog in egrep; do
7857: for ac_exec_ext in '' $ac_executable_extensions; do
7858: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7859: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7860: # Check for GNU ac_path_EGREP and select it if it is found.
7861: # Check for GNU $ac_path_EGREP
7862: case `"$ac_path_EGREP" --version 2>&1` in
7863: *GNU*)
7864: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7865: *)
7866: ac_count=0
7867: $as_echo_n 0123456789 >"conftest.in"
7868: while :
7869: do
7870: cat "conftest.in" "conftest.in" >"conftest.tmp"
7871: mv "conftest.tmp" "conftest.in"
7872: cp "conftest.in" "conftest.nl"
7873: $as_echo 'EGREP' >> "conftest.nl"
7874: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7875: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7876: as_fn_arith $ac_count + 1 && ac_count=$as_val
7877: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7878: # Best one so far, save it but keep looking for a better one
7879: ac_cv_path_EGREP="$ac_path_EGREP"
7880: ac_path_EGREP_max=$ac_count
7881: fi
7882: # 10*(2^10) chars as input seems more than enough
7883: test $ac_count -gt 10 && break
7884: done
7885: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7886: esac
7887:
7888: $ac_path_EGREP_found && break 3
7889: done
7890: done
7891: done
7892: IFS=$as_save_IFS
7893: if test -z "$ac_cv_path_EGREP"; then
7894: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7895: fi
7896: else
7897: ac_cv_path_EGREP=$EGREP
7898: fi
7899:
7900: fi
7901: fi
7902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7903: $as_echo "$ac_cv_path_EGREP" >&6; }
7904: EGREP="$ac_cv_path_EGREP"
7905:
7906:
7907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7908: $as_echo_n "checking for ANSI C header files... " >&6; }
7909: if ${ac_cv_header_stdc+:} false; then :
7910: $as_echo_n "(cached) " >&6
7911: else
7912: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913: /* end confdefs.h. */
7914: #include <stdlib.h>
7915: #include <stdarg.h>
7916: #include <string.h>
7917: #include <float.h>
7918:
7919: int
7920: main ()
7921: {
7922:
7923: ;
7924: return 0;
7925: }
7926: _ACEOF
7927: if ac_fn_c_try_compile "$LINENO"; then :
7928: ac_cv_header_stdc=yes
7929: else
7930: ac_cv_header_stdc=no
7931: fi
7932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7933:
7934: if test $ac_cv_header_stdc = yes; then
7935: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7936: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937: /* end confdefs.h. */
7938: #include <string.h>
7939:
7940: _ACEOF
7941: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7942: $EGREP "memchr" >/dev/null 2>&1; then :
7943:
7944: else
7945: ac_cv_header_stdc=no
7946: fi
7947: rm -f conftest*
7948:
7949: fi
7950:
7951: if test $ac_cv_header_stdc = yes; then
7952: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7953: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954: /* end confdefs.h. */
7955: #include <stdlib.h>
7956:
7957: _ACEOF
7958: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7959: $EGREP "free" >/dev/null 2>&1; then :
7960:
7961: else
7962: ac_cv_header_stdc=no
7963: fi
7964: rm -f conftest*
7965:
7966: fi
7967:
7968: if test $ac_cv_header_stdc = yes; then
7969: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7970: if test "$cross_compiling" = yes; then :
7971: :
7972: else
7973: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974: /* end confdefs.h. */
7975: #include <ctype.h>
7976: #include <stdlib.h>
7977: #if ((' ' & 0x0FF) == 0x020)
7978: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7979: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7980: #else
7981: # define ISLOWER(c) \
7982: (('a' <= (c) && (c) <= 'i') \
7983: || ('j' <= (c) && (c) <= 'r') \
7984: || ('s' <= (c) && (c) <= 'z'))
7985: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7986: #endif
7987:
7988: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7989: int
7990: main ()
7991: {
7992: int i;
7993: for (i = 0; i < 256; i++)
7994: if (XOR (islower (i), ISLOWER (i))
7995: || toupper (i) != TOUPPER (i))
7996: return 2;
7997: return 0;
7998: }
7999: _ACEOF
8000: if ac_fn_c_try_run "$LINENO"; then :
8001:
8002: else
8003: ac_cv_header_stdc=no
8004: fi
8005: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8006: conftest.$ac_objext conftest.beam conftest.$ac_ext
8007: fi
8008:
8009: fi
8010: fi
8011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8012: $as_echo "$ac_cv_header_stdc" >&6; }
8013: if test $ac_cv_header_stdc = yes; then
8014:
8015: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8016:
8017: fi
8018:
8019: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8020: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8021: inttypes.h stdint.h unistd.h
8022: do :
8023: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8024: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8025: "
8026: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8027: cat >>confdefs.h <<_ACEOF
8028: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8029: _ACEOF
8030:
8031: fi
8032:
8033: done
8034:
8035:
8036: # The cast to long int works around a bug in the HP C Compiler
8037: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8038: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8039: # This bug is HP SR number 8606223364.
8040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8041: $as_echo_n "checking size of void *... " >&6; }
8042: if ${ac_cv_sizeof_void_p+:} false; then :
8043: $as_echo_n "(cached) " >&6
8044: else
8045: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8046:
8047: else
8048: if test "$ac_cv_type_void_p" = yes; then
8049: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8050: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8051: as_fn_error 77 "cannot compute sizeof (void *)
8052: See \`config.log' for more details" "$LINENO" 5; }
8053: else
8054: ac_cv_sizeof_void_p=0
8055: fi
8056: fi
8057:
8058: fi
8059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8060: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8061:
8062:
8063:
8064: cat >>confdefs.h <<_ACEOF
8065: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8066: _ACEOF
8067:
8068:
8069: # The cast to long int works around a bug in the HP C Compiler
8070: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8071: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8072: # This bug is HP SR number 8606223364.
8073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8074: $as_echo_n "checking size of char... " >&6; }
8075: if ${ac_cv_sizeof_char+:} false; then :
8076: $as_echo_n "(cached) " >&6
8077: else
8078: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8079:
8080: else
8081: if test "$ac_cv_type_char" = yes; then
8082: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8083: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8084: as_fn_error 77 "cannot compute sizeof (char)
8085: See \`config.log' for more details" "$LINENO" 5; }
8086: else
8087: ac_cv_sizeof_char=0
8088: fi
8089: fi
8090:
8091: fi
8092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8093: $as_echo "$ac_cv_sizeof_char" >&6; }
8094:
8095:
8096:
8097: cat >>confdefs.h <<_ACEOF
8098: #define SIZEOF_CHAR $ac_cv_sizeof_char
8099: _ACEOF
8100:
8101:
8102: # The cast to long int works around a bug in the HP C Compiler
8103: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8104: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8105: # This bug is HP SR number 8606223364.
8106: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8107: $as_echo_n "checking size of short int... " >&6; }
8108: if ${ac_cv_sizeof_short_int+:} false; then :
8109: $as_echo_n "(cached) " >&6
8110: else
8111: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8112:
8113: else
8114: if test "$ac_cv_type_short_int" = yes; then
8115: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8116: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8117: as_fn_error 77 "cannot compute sizeof (short int)
8118: See \`config.log' for more details" "$LINENO" 5; }
8119: else
8120: ac_cv_sizeof_short_int=0
8121: fi
8122: fi
8123:
8124: fi
8125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8126: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8127:
8128:
8129:
8130: cat >>confdefs.h <<_ACEOF
8131: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8132: _ACEOF
8133:
8134:
8135: # The cast to long int works around a bug in the HP C Compiler
8136: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8137: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8138: # This bug is HP SR number 8606223364.
8139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8140: $as_echo_n "checking size of int... " >&6; }
8141: if ${ac_cv_sizeof_int+:} false; then :
8142: $as_echo_n "(cached) " >&6
8143: else
8144: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8145:
8146: else
8147: if test "$ac_cv_type_int" = yes; then
8148: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8149: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8150: as_fn_error 77 "cannot compute sizeof (int)
8151: See \`config.log' for more details" "$LINENO" 5; }
8152: else
8153: ac_cv_sizeof_int=0
8154: fi
8155: fi
8156:
8157: fi
8158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8159: $as_echo "$ac_cv_sizeof_int" >&6; }
8160:
8161:
8162:
8163: cat >>confdefs.h <<_ACEOF
8164: #define SIZEOF_INT $ac_cv_sizeof_int
8165: _ACEOF
8166:
8167:
8168: # The cast to long int works around a bug in the HP C Compiler
8169: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8170: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8171: # This bug is HP SR number 8606223364.
8172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8173: $as_echo_n "checking size of long int... " >&6; }
8174: if ${ac_cv_sizeof_long_int+:} false; then :
8175: $as_echo_n "(cached) " >&6
8176: else
8177: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8178:
8179: else
8180: if test "$ac_cv_type_long_int" = yes; then
8181: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8182: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8183: as_fn_error 77 "cannot compute sizeof (long int)
8184: See \`config.log' for more details" "$LINENO" 5; }
8185: else
8186: ac_cv_sizeof_long_int=0
8187: fi
8188: fi
8189:
8190: fi
8191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8192: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8193:
8194:
8195:
8196: cat >>confdefs.h <<_ACEOF
8197: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8198: _ACEOF
8199:
8200:
8201: # The cast to long int works around a bug in the HP C Compiler
8202: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8203: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8204: # This bug is HP SR number 8606223364.
8205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8206: $as_echo_n "checking size of long long int... " >&6; }
8207: if ${ac_cv_sizeof_long_long_int+:} false; then :
8208: $as_echo_n "(cached) " >&6
8209: else
8210: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8211:
8212: else
8213: if test "$ac_cv_type_long_long_int" = yes; then
8214: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8215: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8216: as_fn_error 77 "cannot compute sizeof (long long int)
8217: See \`config.log' for more details" "$LINENO" 5; }
8218: else
8219: ac_cv_sizeof_long_long_int=0
8220: fi
8221: fi
8222:
8223: fi
8224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8225: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8226:
8227:
8228:
8229: cat >>confdefs.h <<_ACEOF
8230: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8231: _ACEOF
8232:
8233:
8234: # The cast to long int works around a bug in the HP C Compiler
8235: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8236: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8237: # This bug is HP SR number 8606223364.
8238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8239: $as_echo_n "checking size of float... " >&6; }
8240: if ${ac_cv_sizeof_float+:} false; then :
8241: $as_echo_n "(cached) " >&6
8242: else
8243: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8244:
8245: else
8246: if test "$ac_cv_type_float" = yes; then
8247: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8248: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8249: as_fn_error 77 "cannot compute sizeof (float)
8250: See \`config.log' for more details" "$LINENO" 5; }
8251: else
8252: ac_cv_sizeof_float=0
8253: fi
8254: fi
8255:
8256: fi
8257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8258: $as_echo "$ac_cv_sizeof_float" >&6; }
8259:
8260:
8261:
8262: cat >>confdefs.h <<_ACEOF
8263: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8264: _ACEOF
8265:
8266:
8267: # The cast to long int works around a bug in the HP C Compiler
8268: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8269: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8270: # This bug is HP SR number 8606223364.
8271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8272: $as_echo_n "checking size of double... " >&6; }
8273: if ${ac_cv_sizeof_double+:} false; then :
8274: $as_echo_n "(cached) " >&6
8275: else
8276: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8277:
8278: else
8279: if test "$ac_cv_type_double" = yes; then
8280: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8281: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8282: as_fn_error 77 "cannot compute sizeof (double)
8283: See \`config.log' for more details" "$LINENO" 5; }
8284: else
8285: ac_cv_sizeof_double=0
8286: fi
8287: fi
8288:
8289: fi
8290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8291: $as_echo "$ac_cv_sizeof_double" >&6; }
8292:
8293:
8294:
8295: cat >>confdefs.h <<_ACEOF
8296: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8297: _ACEOF
8298:
8299:
8300: # The cast to long int works around a bug in the HP C Compiler
8301: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8302: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8303: # This bug is HP SR number 8606223364.
8304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8305: $as_echo_n "checking size of long double... " >&6; }
8306: if ${ac_cv_sizeof_long_double+:} false; then :
8307: $as_echo_n "(cached) " >&6
8308: else
8309: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8310:
8311: else
8312: if test "$ac_cv_type_long_double" = yes; then
8313: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8314: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8315: as_fn_error 77 "cannot compute sizeof (long double)
8316: See \`config.log' for more details" "$LINENO" 5; }
8317: else
8318: ac_cv_sizeof_long_double=0
8319: fi
8320: fi
8321:
8322: fi
8323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8324: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8325:
8326:
8327:
8328: cat >>confdefs.h <<_ACEOF
8329: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8330: _ACEOF
8331:
8332:
8333:
8334: ac_header_dirent=no
8335: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8336: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8338: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8339: if eval \${$as_ac_Header+:} false; then :
8340: $as_echo_n "(cached) " >&6
8341: else
8342: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343: /* end confdefs.h. */
8344: #include <sys/types.h>
8345: #include <$ac_hdr>
8346:
8347: int
8348: main ()
8349: {
8350: if ((DIR *) 0)
8351: return 0;
8352: ;
8353: return 0;
8354: }
8355: _ACEOF
8356: if ac_fn_c_try_compile "$LINENO"; then :
8357: eval "$as_ac_Header=yes"
8358: else
8359: eval "$as_ac_Header=no"
8360: fi
8361: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8362: fi
8363: eval ac_res=\$$as_ac_Header
8364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8365: $as_echo "$ac_res" >&6; }
8366: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8367: cat >>confdefs.h <<_ACEOF
8368: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8369: _ACEOF
8370:
8371: ac_header_dirent=$ac_hdr; break
8372: fi
8373:
8374: done
8375: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8376: if test $ac_header_dirent = dirent.h; then
8377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8378: $as_echo_n "checking for library containing opendir... " >&6; }
8379: if ${ac_cv_search_opendir+:} false; then :
8380: $as_echo_n "(cached) " >&6
8381: else
8382: ac_func_search_save_LIBS=$LIBS
8383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384: /* end confdefs.h. */
8385:
8386: /* Override any GCC internal prototype to avoid an error.
8387: Use char because int might match the return type of a GCC
8388: builtin and then its argument prototype would still apply. */
8389: #ifdef __cplusplus
8390: extern "C"
8391: #endif
8392: char opendir ();
8393: int
8394: main ()
8395: {
8396: return opendir ();
8397: ;
8398: return 0;
8399: }
8400: _ACEOF
8401: for ac_lib in '' dir; do
8402: if test -z "$ac_lib"; then
8403: ac_res="none required"
8404: else
8405: ac_res=-l$ac_lib
8406: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8407: fi
8408: if ac_fn_c_try_link "$LINENO"; then :
8409: ac_cv_search_opendir=$ac_res
8410: fi
8411: rm -f core conftest.err conftest.$ac_objext \
8412: conftest$ac_exeext
8413: if ${ac_cv_search_opendir+:} false; then :
8414: break
8415: fi
8416: done
8417: if ${ac_cv_search_opendir+:} false; then :
8418:
8419: else
8420: ac_cv_search_opendir=no
8421: fi
8422: rm conftest.$ac_ext
8423: LIBS=$ac_func_search_save_LIBS
8424: fi
8425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8426: $as_echo "$ac_cv_search_opendir" >&6; }
8427: ac_res=$ac_cv_search_opendir
8428: if test "$ac_res" != no; then :
8429: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8430:
8431: fi
8432:
8433: else
8434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8435: $as_echo_n "checking for library containing opendir... " >&6; }
8436: if ${ac_cv_search_opendir+:} false; then :
8437: $as_echo_n "(cached) " >&6
8438: else
8439: ac_func_search_save_LIBS=$LIBS
8440: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441: /* end confdefs.h. */
8442:
8443: /* Override any GCC internal prototype to avoid an error.
8444: Use char because int might match the return type of a GCC
8445: builtin and then its argument prototype would still apply. */
8446: #ifdef __cplusplus
8447: extern "C"
8448: #endif
8449: char opendir ();
8450: int
8451: main ()
8452: {
8453: return opendir ();
8454: ;
8455: return 0;
8456: }
8457: _ACEOF
8458: for ac_lib in '' x; do
8459: if test -z "$ac_lib"; then
8460: ac_res="none required"
8461: else
8462: ac_res=-l$ac_lib
8463: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8464: fi
8465: if ac_fn_c_try_link "$LINENO"; then :
8466: ac_cv_search_opendir=$ac_res
8467: fi
8468: rm -f core conftest.err conftest.$ac_objext \
8469: conftest$ac_exeext
8470: if ${ac_cv_search_opendir+:} false; then :
8471: break
8472: fi
8473: done
8474: if ${ac_cv_search_opendir+:} false; then :
8475:
8476: else
8477: ac_cv_search_opendir=no
8478: fi
8479: rm conftest.$ac_ext
8480: LIBS=$ac_func_search_save_LIBS
8481: fi
8482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8483: $as_echo "$ac_cv_search_opendir" >&6; }
8484: ac_res=$ac_cv_search_opendir
8485: if test "$ac_res" != no; then :
8486: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8487:
8488: fi
8489:
8490: fi
8491:
8492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8493: $as_echo_n "checking for ANSI C header files... " >&6; }
8494: if ${ac_cv_header_stdc+:} false; then :
8495: $as_echo_n "(cached) " >&6
8496: else
8497: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498: /* end confdefs.h. */
8499: #include <stdlib.h>
8500: #include <stdarg.h>
8501: #include <string.h>
8502: #include <float.h>
8503:
8504: int
8505: main ()
8506: {
8507:
8508: ;
8509: return 0;
8510: }
8511: _ACEOF
8512: if ac_fn_c_try_compile "$LINENO"; then :
8513: ac_cv_header_stdc=yes
8514: else
8515: ac_cv_header_stdc=no
8516: fi
8517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518:
8519: if test $ac_cv_header_stdc = yes; then
8520: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8521: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522: /* end confdefs.h. */
8523: #include <string.h>
8524:
8525: _ACEOF
8526: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527: $EGREP "memchr" >/dev/null 2>&1; then :
8528:
8529: else
8530: ac_cv_header_stdc=no
8531: fi
8532: rm -f conftest*
8533:
8534: fi
8535:
8536: if test $ac_cv_header_stdc = yes; then
8537: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8538: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539: /* end confdefs.h. */
8540: #include <stdlib.h>
8541:
8542: _ACEOF
8543: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8544: $EGREP "free" >/dev/null 2>&1; then :
8545:
8546: else
8547: ac_cv_header_stdc=no
8548: fi
8549: rm -f conftest*
8550:
8551: fi
8552:
8553: if test $ac_cv_header_stdc = yes; then
8554: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8555: if test "$cross_compiling" = yes; then :
8556: :
8557: else
8558: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559: /* end confdefs.h. */
8560: #include <ctype.h>
8561: #include <stdlib.h>
8562: #if ((' ' & 0x0FF) == 0x020)
8563: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8564: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8565: #else
8566: # define ISLOWER(c) \
8567: (('a' <= (c) && (c) <= 'i') \
8568: || ('j' <= (c) && (c) <= 'r') \
8569: || ('s' <= (c) && (c) <= 'z'))
8570: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8571: #endif
8572:
8573: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8574: int
8575: main ()
8576: {
8577: int i;
8578: for (i = 0; i < 256; i++)
8579: if (XOR (islower (i), ISLOWER (i))
8580: || toupper (i) != TOUPPER (i))
8581: return 2;
8582: return 0;
8583: }
8584: _ACEOF
8585: if ac_fn_c_try_run "$LINENO"; then :
8586:
8587: else
8588: ac_cv_header_stdc=no
8589: fi
8590: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8591: conftest.$ac_objext conftest.beam conftest.$ac_ext
8592: fi
8593:
8594: fi
8595: fi
8596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8597: $as_echo "$ac_cv_header_stdc" >&6; }
8598: if test $ac_cv_header_stdc = yes; then
8599:
8600: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8601:
8602: fi
8603:
8604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8605: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8606: if ${ac_cv_header_sys_wait_h+:} false; then :
8607: $as_echo_n "(cached) " >&6
8608: else
8609: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610: /* end confdefs.h. */
8611: #include <sys/types.h>
8612: #include <sys/wait.h>
8613: #ifndef WEXITSTATUS
8614: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8615: #endif
8616: #ifndef WIFEXITED
8617: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8618: #endif
8619:
8620: int
8621: main ()
8622: {
8623: int s;
8624: wait (&s);
8625: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8626: ;
8627: return 0;
8628: }
8629: _ACEOF
8630: if ac_fn_c_try_compile "$LINENO"; then :
8631: ac_cv_header_sys_wait_h=yes
8632: else
8633: ac_cv_header_sys_wait_h=no
8634: fi
8635: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8636: fi
8637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8638: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8639: if test $ac_cv_header_sys_wait_h = yes; then
8640:
8641: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8642:
8643: fi
8644:
8645: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8646: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8647: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8648: do :
8649: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8650: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8651: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8652: cat >>confdefs.h <<_ACEOF
8653: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8654: _ACEOF
8655:
8656: fi
8657:
8658: done
8659:
8660:
8661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8662: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8663: if ${ac_cv_c_const+:} false; then :
8664: $as_echo_n "(cached) " >&6
8665: else
8666: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667: /* end confdefs.h. */
8668:
8669: int
8670: main ()
8671: {
8672: /* FIXME: Include the comments suggested by Paul. */
8673: #ifndef __cplusplus
8674: /* Ultrix mips cc rejects this. */
8675: typedef int charset[2];
8676: const charset cs;
8677: /* SunOS 4.1.1 cc rejects this. */
8678: char const *const *pcpcc;
8679: char **ppc;
8680: /* NEC SVR4.0.2 mips cc rejects this. */
8681: struct point {int x, y;};
8682: static struct point const zero = {0,0};
8683: /* AIX XL C 1.02.0.0 rejects this.
8684: It does not let you subtract one const X* pointer from another in
8685: an arm of an if-expression whose if-part is not a constant
8686: expression */
8687: const char *g = "string";
8688: pcpcc = &g + (g ? g-g : 0);
8689: /* HPUX 7.0 cc rejects these. */
8690: ++pcpcc;
8691: ppc = (char**) pcpcc;
8692: pcpcc = (char const *const *) ppc;
8693: { /* SCO 3.2v4 cc rejects this. */
8694: char *t;
8695: char const *s = 0 ? (char *) 0 : (char const *) 0;
8696:
8697: *t++ = 0;
8698: if (s) return 0;
8699: }
8700: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8701: int x[] = {25, 17};
8702: const int *foo = &x[0];
8703: ++foo;
8704: }
8705: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8706: typedef const int *iptr;
8707: iptr p = 0;
8708: ++p;
8709: }
8710: { /* AIX XL C 1.02.0.0 rejects this saying
8711: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8712: struct s { int j; const int *ap[3]; };
8713: struct s *b; b->j = 5;
8714: }
8715: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8716: const int foo = 10;
8717: if (!foo) return 0;
8718: }
8719: return !cs[0] && !zero.x;
8720: #endif
8721:
8722: ;
8723: return 0;
8724: }
8725: _ACEOF
8726: if ac_fn_c_try_compile "$LINENO"; then :
8727: ac_cv_c_const=yes
8728: else
8729: ac_cv_c_const=no
8730: fi
8731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8732: fi
8733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8734: $as_echo "$ac_cv_c_const" >&6; }
8735: if test $ac_cv_c_const = no; then
8736:
8737: $as_echo "#define const /**/" >>confdefs.h
8738:
8739: fi
8740:
8741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8742: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8743: if ${ac_cv_type_uid_t+:} false; then :
8744: $as_echo_n "(cached) " >&6
8745: else
8746: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747: /* end confdefs.h. */
8748: #include <sys/types.h>
8749:
8750: _ACEOF
8751: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8752: $EGREP "uid_t" >/dev/null 2>&1; then :
8753: ac_cv_type_uid_t=yes
8754: else
8755: ac_cv_type_uid_t=no
8756: fi
8757: rm -f conftest*
8758:
8759: fi
8760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8761: $as_echo "$ac_cv_type_uid_t" >&6; }
8762: if test $ac_cv_type_uid_t = no; then
8763:
8764: $as_echo "#define uid_t int" >>confdefs.h
8765:
8766:
8767: $as_echo "#define gid_t int" >>confdefs.h
8768:
8769: fi
8770:
8771: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8772: if test "x$ac_cv_type_pid_t" = xyes; then :
8773:
8774: else
8775:
8776: cat >>confdefs.h <<_ACEOF
8777: #define pid_t int
8778: _ACEOF
8779:
8780: fi
8781:
8782: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8783: if test "x$ac_cv_type_size_t" = xyes; then :
8784:
8785: else
8786:
8787: cat >>confdefs.h <<_ACEOF
8788: #define size_t unsigned int
8789: _ACEOF
8790:
8791: fi
8792:
8793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8794: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8795: if ${ac_cv_header_time+:} false; then :
8796: $as_echo_n "(cached) " >&6
8797: else
8798: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799: /* end confdefs.h. */
8800: #include <sys/types.h>
8801: #include <sys/time.h>
8802: #include <time.h>
8803:
8804: int
8805: main ()
8806: {
8807: if ((struct tm *) 0)
8808: return 0;
8809: ;
8810: return 0;
8811: }
8812: _ACEOF
8813: if ac_fn_c_try_compile "$LINENO"; then :
8814: ac_cv_header_time=yes
8815: else
8816: ac_cv_header_time=no
8817: fi
8818: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8819: fi
8820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8821: $as_echo "$ac_cv_header_time" >&6; }
8822: if test $ac_cv_header_time = yes; then
8823:
8824: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8825:
8826: fi
8827:
8828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8829: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8830: if ${ac_cv_struct_tm+:} false; then :
8831: $as_echo_n "(cached) " >&6
8832: else
8833: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834: /* end confdefs.h. */
8835: #include <sys/types.h>
8836: #include <time.h>
8837:
8838: int
8839: main ()
8840: {
8841: struct tm tm;
8842: int *p = &tm.tm_sec;
8843: return !p;
8844: ;
8845: return 0;
8846: }
8847: _ACEOF
8848: if ac_fn_c_try_compile "$LINENO"; then :
8849: ac_cv_struct_tm=time.h
8850: else
8851: ac_cv_struct_tm=sys/time.h
8852: fi
8853: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8854: fi
8855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8856: $as_echo "$ac_cv_struct_tm" >&6; }
8857: if test $ac_cv_struct_tm = sys/time.h; then
8858:
8859: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8860:
8861: fi
8862:
8863:
8864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8865: $as_echo_n "checking return type of signal handlers... " >&6; }
8866: if ${ac_cv_type_signal+:} false; then :
8867: $as_echo_n "(cached) " >&6
8868: else
8869: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870: /* end confdefs.h. */
8871: #include <sys/types.h>
8872: #include <signal.h>
8873:
8874: int
8875: main ()
8876: {
8877: return *(signal (0, 0)) (0) == 1;
8878: ;
8879: return 0;
8880: }
8881: _ACEOF
8882: if ac_fn_c_try_compile "$LINENO"; then :
8883: ac_cv_type_signal=int
8884: else
8885: ac_cv_type_signal=void
8886: fi
8887: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8888: fi
8889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8890: $as_echo "$ac_cv_type_signal" >&6; }
8891:
8892: cat >>confdefs.h <<_ACEOF
8893: #define RETSIGTYPE $ac_cv_type_signal
8894: _ACEOF
8895:
8896:
8897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
8898: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
8899: if test "$cross_compiling" = yes; then :
8900: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8901: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8902: as_fn_error $? "cannot run test program while cross compiling
8903: See \`config.log' for more details" "$LINENO" 5; }
8904: else
8905: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906: /* end confdefs.h. */
8907: #include <unistd.h>
8908: #include <signal.h>
8909: int flag;
8910: void handler(int signal, siginfo_t *siginfo, void *context)
8911: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
8912: int
8913: main ()
8914: {
8915: struct sigaction action;
8916: action.sa_sigaction = handler;
8917: action.sa_flags = SA_SIGINFO;
8918: sigaction(SIGUSR1, &action, NULL);
8919: raise(SIGUSR1);
8920: return(flag);
8921: ;
8922: return 0;
8923: }
8924: _ACEOF
8925: if ac_fn_c_try_run "$LINENO"; then :
8926: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927: $as_echo "no" >&6; }
8928: else
8929: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8930: $as_echo "yes" >&6; }
8931: fi
8932: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8933: conftest.$ac_objext conftest.beam conftest.$ac_ext
8934: fi
8935:
8936:
8937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8938: $as_echo_n "checking for working strcoll... " >&6; }
8939: if ${ac_cv_func_strcoll_works+:} false; then :
8940: $as_echo_n "(cached) " >&6
8941: else
8942: if test "$cross_compiling" = yes; then :
8943: ac_cv_func_strcoll_works=no
8944: else
8945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946: /* end confdefs.h. */
8947: $ac_includes_default
8948: int
8949: main ()
8950: {
8951: return (strcoll ("abc", "def") >= 0 ||
8952: strcoll ("ABC", "DEF") >= 0 ||
8953: strcoll ("123", "456") >= 0)
8954: ;
8955: return 0;
8956: }
8957: _ACEOF
8958: if ac_fn_c_try_run "$LINENO"; then :
8959: ac_cv_func_strcoll_works=yes
8960: else
8961: ac_cv_func_strcoll_works=no
8962: fi
8963: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8964: conftest.$ac_objext conftest.beam conftest.$ac_ext
8965: fi
8966:
8967: fi
8968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
8969: $as_echo "$ac_cv_func_strcoll_works" >&6; }
8970: if test $ac_cv_func_strcoll_works = yes; then
8971:
8972: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
8973:
8974: fi
8975:
8976: for ac_func in strftime
8977: do :
8978: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
8979: if test "x$ac_cv_func_strftime" = xyes; then :
8980: cat >>confdefs.h <<_ACEOF
8981: #define HAVE_STRFTIME 1
8982: _ACEOF
8983:
8984: else
8985: # strftime is in -lintl on SCO UNIX.
8986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
8987: $as_echo_n "checking for strftime in -lintl... " >&6; }
8988: if ${ac_cv_lib_intl_strftime+:} false; then :
8989: $as_echo_n "(cached) " >&6
8990: else
8991: ac_check_lib_save_LIBS=$LIBS
8992: LIBS="-lintl $LIBS"
8993: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994: /* end confdefs.h. */
8995:
8996: /* Override any GCC internal prototype to avoid an error.
8997: Use char because int might match the return type of a GCC
8998: builtin and then its argument prototype would still apply. */
8999: #ifdef __cplusplus
9000: extern "C"
9001: #endif
9002: char strftime ();
9003: int
9004: main ()
9005: {
9006: return strftime ();
9007: ;
9008: return 0;
9009: }
9010: _ACEOF
9011: if ac_fn_c_try_link "$LINENO"; then :
9012: ac_cv_lib_intl_strftime=yes
9013: else
9014: ac_cv_lib_intl_strftime=no
9015: fi
9016: rm -f core conftest.err conftest.$ac_objext \
9017: conftest$ac_exeext conftest.$ac_ext
9018: LIBS=$ac_check_lib_save_LIBS
9019: fi
9020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9021: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9022: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
9023: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9024:
9025: LIBS="-lintl $LIBS"
9026: fi
9027:
9028: fi
9029: done
9030:
9031: for ac_func in vprintf
9032: do :
9033: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9034: if test "x$ac_cv_func_vprintf" = xyes; then :
9035: cat >>confdefs.h <<_ACEOF
9036: #define HAVE_VPRINTF 1
9037: _ACEOF
9038:
9039: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9040: if test "x$ac_cv_func__doprnt" = xyes; then :
9041:
9042: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9043:
9044: fi
9045:
9046: fi
9047: done
9048:
9049:
9050: for ac_func in ftime getcwd putenv select strcspn strdup \
9051: strerror strspn strstr strtod
9052: do :
9053: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9054: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9055: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9056: cat >>confdefs.h <<_ACEOF
9057: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9058: _ACEOF
9059:
9060: fi
9061: done
9062:
9063:
9064:
9065: # Check whether --with-openssl_arch was given.
9066: if test "${with_openssl_arch+set}" = set; then :
9067: withval=$with_openssl_arch;
9068: else
9069: with_openssl_arch=none
9070: fi
9071:
9072:
9073: if test $(uname) = "OS/2"; then
9074: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9075: else
9076: if test "x$with_openssl_arch" = xnone; then
9077: (cd tools/$OPENSSL && ./config)
9078: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9079: (cd tools/$OPENSSL && ./Configure)
9080: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9081: elif test "x$with_openssl_arch" = xlist; then
9082: (cd tools/$OPENSSL && ./Configure)
9083: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9084: else
9085: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
9086: fi
9087: fi
9088:
9089:
9090:
9091: subdirs="$subdirs tools/$NCURSES"
9092:
9093: subdirs="$subdirs tools/$READLINE"
9094:
9095: subdirs="$subdirs tools/$GSL"
9096:
9097: subdirs="$subdirs tools/$GPP"
9098:
9099: subdirs="$subdirs tools/$FILE"
9100:
9101: subdirs="$subdirs tools/$ICONV"
9102:
9103: subdirs="$subdirs tools/$SQLITE"
9104:
9105: subdirs="$subdirs tools/$UNITS"
9106:
9107:
9108: if test "$MYGNUPLOT" = "yes"; then
9109: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9110: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9111: (cd "$srcdir/tools" && tar -xf -)
9112: fi
9113: subdirs="$subdirs tools/$GNUPLOT"
9114:
9115: GNUPLOT_COMPILATION=$GNUPLOT
9116: else
9117: GNUPLOT_COMPILATION=
9118: fi
9119:
9120:
9121:
9122: case $host_cpu in
9123:
9124: i?86)
9125: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9126: -Wno-pointer-sign"
9127: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9128: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9129: break ;;
9130:
9131: x86_64*)
9132: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9133: -Wno-pointer-sign"
9134: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9135: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9136: break ;;
9137:
9138: alpha*)
9139: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9140: -Wno-pointer-sign"
9141: FFLAGS="$FFLAGS -mieee -Wall"
9142: FCFLAGS="$FCFLAGS -mieee -Wall"
9143: break ;;
9144:
9145: sparc*)
9146: CFLAGS="$CFLAGS -Wall -funsigned-char \
9147: -Wno-pointer-sign"
9148: FFLAGS="$FFLAGS -Wall"
9149: FCFLAGS="$FCFLAGS -Wall"
9150: break ;;
9151:
9152: esac
9153:
9154: case $host_os in
9155:
9156: cygwin*)
9157: OS=Cygwin
9158: break ;;
9159:
9160: interix*)
9161: OS=Interix
9162: break ;;
9163:
9164: *)
9165: OS=$(uname)
9166: break ;;
9167:
9168: esac
9169:
9170:
9171:
9172: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9173: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9174: MALLOC=
9175:
9176: case $OS in
9177:
9178: Darwin)
9179: EXPORT_DYNAMIC=-Wl,-flat_namespace
9180: NESTED_FUNCTIONS=-fnested-functions
9181: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9182: IPCS_SYSV=-UIPCS_SYSV
9183: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9184: ac_configure_args="$ac_configure_args --with-readline=builtin \
9185: --disable-shared --enable-static --enable-threads"
9186: C_STANDARD=-std=gnu99
9187: break ;;
9188:
9189: Cygwin)
9190: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9191: NESTED_FUNCTIONS=
9192: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9193: IPCS_SYSV=-UIPCS_SYSV
9194: ac_configure_args="$ac_configure_args --with-readline=builtin \
9195: --disable-shared --enable-static --enable-threads"
9196: C_STANDARD=-std=gnu99
9197: break ;;
9198:
9199: Interix)
9200: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9201: NESTED_FUNCTIONS=
9202: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9203: IPCS_SYSV=-UIPCS_SYSV
9204: ac_configure_args="$ac_configure_args --with-readline=builtin \
9205: --disable-shared --enable-static --enable-threads"
9206: C_STANDARD=-std=gnu99
9207: break;;
9208:
9209: AIX)
9210: EXPORT_DYNAMIC=-Wl,--export-dynamic
9211: NESTED_FUNCTIONS=
9212: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9213: IPCS_SYSV=-UIPCS_SYSV
9214: ac_configure_args="$ac_configure_args --with-readline=builtin \
9215: --disable-shared --enable-static --enable-threads"
9216: C_STANDARD=-std=gnu99
9217: break ;;
9218:
9219: OS/2)
9220: if test $FORCED_FINAL_ENCODING -eq 0; then \
9221: FINAL_ENCODING=CP850; \
9222: fi;
9223: OS=OS2
9224: NESTED_FUNCTIONS=
9225: EXPORT_DYNAMIC=-Zmap
9226: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9227: IPCS_SYSV=-DIPCS_SYSV
9228: ac_configure_args="$ac_configure_args --without-readline \
9229: --without-cairo --disable-shared --enable-static \
9230: --enable-threads"
9231: C_STANDARD=
9232: break;;
9233:
9234: OpenBSD)
9235: if test $FORCED_FINAL_ENCODING -eq 0; then \
9236: FINAL_ENCODING=UTF-8; \
9237: fi;
9238: EXPORT_DYNAMIC=-Wl,--export-dynamic
9239: NESTED_FUNCTIONS=
9240: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9241: IPCS_SYSV=-DIPCS_SYSV
9242: ac_configure_args="$ac_configure_args --with-readline=builtin \
9243: --disable-shared --enable-static --enable-threads"
9244: C_STANDARD=-std=gnu99
9245: break;;
9246:
9247: SunOS)
9248: EXPORT_DYNAMIC=-Wl,--export-dynamic
9249: NESTED_FUNCTIONS=
9250: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9251:
9252: if test $IPCS_SYSV = no; then
9253: IPCS_SYSV=-UIPCS_SYSV
9254: else
9255: IPCS_SYSV=-DIPCS_SYSV
9256: fi
9257:
9258: ac_configure_args="$ac_configure_args --with-readline=builtin \
9259: --disable-shared --enable-static --enable-threads"
9260: C_STANDARD=-std=gnu99
9261: MALLOC=-lumem
9262: break ;;
9263:
9264: *)
9265: EXPORT_DYNAMIC=-Wl,--export-dynamic
9266: NESTED_FUNCTIONS=
9267: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9268:
9269: if test $IPCS_SYSV = no; then
9270: IPCS_SYSV=-UIPCS_SYSV
9271: else
9272: IPCS_SYSV=-DIPCS_SYSV
9273: fi
9274:
9275: ac_configure_args="$ac_configure_args --with-readline=builtin \
9276: --disable-shared --enable-static --enable-threads"
9277: C_STANDARD=-std=gnu99
9278: break ;;
9279:
9280: esac
9281:
9282:
9283:
9284:
9285:
9286:
9287:
9288:
9289:
9290:
9291:
9292:
9293:
9294:
9295:
9296:
9297:
9298:
9299:
9300:
9301:
9302:
9303:
9304:
9305:
9306:
9307:
9308:
9309:
9310:
9311:
9312:
9313: ac_config_files="$ac_config_files Makefile"
9314:
9315: ac_config_files="$ac_config_files COPYING"
9316:
9317: ac_config_files="$ac_config_files tools/Makefile"
9318:
9319: ac_config_files="$ac_config_files src/Makefile"
9320:
9321: ac_config_files="$ac_config_files man/Makefile"
9322:
9323: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9324:
9325: ac_config_files="$ac_config_files doc/Makefile"
9326:
9327: ac_config_files="$ac_config_files scripts/Makefile"
9328:
9329: ac_config_files="$ac_config_files scripts/mkrplso"
9330:
9331: ac_config_files="$ac_config_files scripts/rplcc"
9332:
9333: ac_config_files="$ac_config_files scripts/rpllink"
9334:
9335: ac_config_files="$ac_config_files rpltags/Makefile"
9336:
9337: ac_config_files="$ac_config_files rpliconv/Makefile"
9338:
9339: ac_config_files="$ac_config_files rplsums/Makefile"
9340:
9341: ac_config_files="$ac_config_files rplawk/Makefile"
9342:
9343: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9344:
9345: ac_config_files="$ac_config_files lapack/blas/Makefile"
9346:
9347:
9348: ac_config_files="$ac_config_files man/rpl.1"
9349:
9350: ac_config_files="$ac_config_files man/rplcc.1"
9351:
9352: ac_config_files="$ac_config_files man/rpllink.1"
9353:
9354: ac_config_files="$ac_config_files man/rpltags.1"
9355:
9356: ac_config_files="$ac_config_files man/mkrplso.1"
9357:
9358: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9359:
9360: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9361:
9362: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9363:
9364: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9365:
9366: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9367:
9368:
9369: cat >confcache <<\_ACEOF
9370: # This file is a shell script that caches the results of configure
9371: # tests run on this system so they can be shared between configure
9372: # scripts and configure runs, see configure's option --config-cache.
9373: # It is not useful on other systems. If it contains results you don't
9374: # want to keep, you may remove or edit it.
9375: #
9376: # config.status only pays attention to the cache file if you give it
9377: # the --recheck option to rerun configure.
9378: #
9379: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9380: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9381: # following values.
9382:
9383: _ACEOF
9384:
9385: # The following way of writing the cache mishandles newlines in values,
9386: # but we know of no workaround that is simple, portable, and efficient.
9387: # So, we kill variables containing newlines.
9388: # Ultrix sh set writes to stderr and can't be redirected directly,
9389: # and sets the high bit in the cache file unless we assign to the vars.
9390: (
9391: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9392: eval ac_val=\$$ac_var
9393: case $ac_val in #(
9394: *${as_nl}*)
9395: case $ac_var in #(
9396: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9397: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9398: esac
9399: case $ac_var in #(
9400: _ | IFS | as_nl) ;; #(
9401: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9402: *) { eval $ac_var=; unset $ac_var;} ;;
9403: esac ;;
9404: esac
9405: done
9406:
9407: (set) 2>&1 |
9408: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9409: *${as_nl}ac_space=\ *)
9410: # `set' does not quote correctly, so add quotes: double-quote
9411: # substitution turns \\\\ into \\, and sed turns \\ into \.
9412: sed -n \
9413: "s/'/'\\\\''/g;
9414: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9415: ;; #(
9416: *)
9417: # `set' quotes correctly as required by POSIX, so do not add quotes.
9418: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9419: ;;
9420: esac |
9421: sort
9422: ) |
9423: sed '
9424: /^ac_cv_env_/b end
9425: t clear
9426: :clear
9427: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9428: t end
9429: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9430: :end' >>confcache
9431: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9432: if test -w "$cache_file"; then
9433: if test "x$cache_file" != "x/dev/null"; then
9434: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9435: $as_echo "$as_me: updating cache $cache_file" >&6;}
9436: if test ! -f "$cache_file" || test -h "$cache_file"; then
9437: cat confcache >"$cache_file"
9438: else
9439: case $cache_file in #(
9440: */* | ?:*)
9441: mv -f confcache "$cache_file"$$ &&
9442: mv -f "$cache_file"$$ "$cache_file" ;; #(
9443: *)
9444: mv -f confcache "$cache_file" ;;
9445: esac
9446: fi
9447: fi
9448: else
9449: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9450: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9451: fi
9452: fi
9453: rm -f confcache
9454:
9455: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9456: # Let make expand exec_prefix.
9457: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9458:
9459: DEFS=-DHAVE_CONFIG_H
9460:
9461: ac_libobjs=
9462: ac_ltlibobjs=
9463: U=
9464: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9465: # 1. Remove the extension, and $U if already installed.
9466: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9467: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9468: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9469: # will be set to the directory where LIBOBJS objects are built.
9470: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9471: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9472: done
9473: LIBOBJS=$ac_libobjs
9474:
9475: LTLIBOBJS=$ac_ltlibobjs
9476:
9477:
9478: if test -n "$EXEEXT"; then
9479: am__EXEEXT_TRUE=
9480: am__EXEEXT_FALSE='#'
9481: else
9482: am__EXEEXT_TRUE='#'
9483: am__EXEEXT_FALSE=
9484: fi
9485:
9486: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9487: as_fn_error $? "conditional \"AMDEP\" was never defined.
9488: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9489: fi
9490: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9491: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9492: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9493: fi
9494: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9495: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9496: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9497: fi
9498:
9499: : "${CONFIG_STATUS=./config.status}"
9500: ac_write_fail=0
9501: ac_clean_files_save=$ac_clean_files
9502: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9503: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9504: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9505: as_write_fail=0
9506: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9507: #! $SHELL
9508: # Generated by $as_me.
9509: # Run this file to recreate the current configuration.
9510: # Compiler output produced by configure, useful for debugging
9511: # configure, is in config.log if it exists.
9512:
9513: debug=false
9514: ac_cs_recheck=false
9515: ac_cs_silent=false
9516:
9517: SHELL=\${CONFIG_SHELL-$SHELL}
9518: export SHELL
9519: _ASEOF
9520: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9521: ## -------------------- ##
9522: ## M4sh Initialization. ##
9523: ## -------------------- ##
9524:
9525: # Be more Bourne compatible
9526: DUALCASE=1; export DUALCASE # for MKS sh
9527: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9528: emulate sh
9529: NULLCMD=:
9530: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9531: # is contrary to our usage. Disable this feature.
9532: alias -g '${1+"$@"}'='"$@"'
9533: setopt NO_GLOB_SUBST
9534: else
9535: case `(set -o) 2>/dev/null` in #(
9536: *posix*) :
9537: set -o posix ;; #(
9538: *) :
9539: ;;
9540: esac
9541: fi
9542:
9543:
9544: as_nl='
9545: '
9546: export as_nl
9547: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9548: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9549: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9550: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9551: # Prefer a ksh shell builtin over an external printf program on Solaris,
9552: # but without wasting forks for bash or zsh.
9553: if test -z "$BASH_VERSION$ZSH_VERSION" \
9554: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9555: as_echo='print -r --'
9556: as_echo_n='print -rn --'
9557: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9558: as_echo='printf %s\n'
9559: as_echo_n='printf %s'
9560: else
9561: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9562: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9563: as_echo_n='/usr/ucb/echo -n'
9564: else
9565: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9566: as_echo_n_body='eval
9567: arg=$1;
9568: case $arg in #(
9569: *"$as_nl"*)
9570: expr "X$arg" : "X\\(.*\\)$as_nl";
9571: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9572: esac;
9573: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9574: '
9575: export as_echo_n_body
9576: as_echo_n='sh -c $as_echo_n_body as_echo'
9577: fi
9578: export as_echo_body
9579: as_echo='sh -c $as_echo_body as_echo'
9580: fi
9581:
9582: # The user is always right.
9583: if test "${PATH_SEPARATOR+set}" != set; then
9584: PATH_SEPARATOR=:
9585: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9586: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9587: PATH_SEPARATOR=';'
9588: }
9589: fi
9590:
9591:
9592: # IFS
9593: # We need space, tab and new line, in precisely that order. Quoting is
9594: # there to prevent editors from complaining about space-tab.
9595: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9596: # splitting by setting IFS to empty value.)
9597: IFS=" "" $as_nl"
9598:
9599: # Find who we are. Look in the path if we contain no directory separator.
9600: as_myself=
9601: case $0 in #((
9602: *[\\/]* ) as_myself=$0 ;;
9603: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9604: for as_dir in $PATH
9605: do
9606: IFS=$as_save_IFS
9607: test -z "$as_dir" && as_dir=.
9608: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9609: done
9610: IFS=$as_save_IFS
9611:
9612: ;;
9613: esac
9614: # We did not find ourselves, most probably we were run as `sh COMMAND'
9615: # in which case we are not to be found in the path.
9616: if test "x$as_myself" = x; then
9617: as_myself=$0
9618: fi
9619: if test ! -f "$as_myself"; then
9620: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9621: exit 1
9622: fi
9623:
9624: # Unset variables that we do not need and which cause bugs (e.g. in
9625: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9626: # suppresses any "Segmentation fault" message there. '((' could
9627: # trigger a bug in pdksh 5.2.14.
9628: for as_var in BASH_ENV ENV MAIL MAILPATH
9629: do eval test x\${$as_var+set} = xset \
9630: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9631: done
9632: PS1='$ '
9633: PS2='> '
9634: PS4='+ '
9635:
9636: # NLS nuisances.
9637: LC_ALL=C
9638: export LC_ALL
9639: LANGUAGE=C
9640: export LANGUAGE
9641:
9642: # CDPATH.
9643: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9644:
9645:
9646: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9647: # ----------------------------------------
9648: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9649: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9650: # script with STATUS, using 1 if that was 0.
9651: as_fn_error ()
9652: {
9653: as_status=$1; test $as_status -eq 0 && as_status=1
9654: if test "$4"; then
9655: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9656: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9657: fi
9658: $as_echo "$as_me: error: $2" >&2
9659: as_fn_exit $as_status
9660: } # as_fn_error
9661:
9662:
9663: # as_fn_set_status STATUS
9664: # -----------------------
9665: # Set $? to STATUS, without forking.
9666: as_fn_set_status ()
9667: {
9668: return $1
9669: } # as_fn_set_status
9670:
9671: # as_fn_exit STATUS
9672: # -----------------
9673: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9674: as_fn_exit ()
9675: {
9676: set +e
9677: as_fn_set_status $1
9678: exit $1
9679: } # as_fn_exit
9680:
9681: # as_fn_unset VAR
9682: # ---------------
9683: # Portably unset VAR.
9684: as_fn_unset ()
9685: {
9686: { eval $1=; unset $1;}
9687: }
9688: as_unset=as_fn_unset
9689: # as_fn_append VAR VALUE
9690: # ----------------------
9691: # Append the text in VALUE to the end of the definition contained in VAR. Take
9692: # advantage of any shell optimizations that allow amortized linear growth over
9693: # repeated appends, instead of the typical quadratic growth present in naive
9694: # implementations.
9695: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9696: eval 'as_fn_append ()
9697: {
9698: eval $1+=\$2
9699: }'
9700: else
9701: as_fn_append ()
9702: {
9703: eval $1=\$$1\$2
9704: }
9705: fi # as_fn_append
9706:
9707: # as_fn_arith ARG...
9708: # ------------------
9709: # Perform arithmetic evaluation on the ARGs, and store the result in the
9710: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9711: # must be portable across $(()) and expr.
9712: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9713: eval 'as_fn_arith ()
9714: {
9715: as_val=$(( $* ))
9716: }'
9717: else
9718: as_fn_arith ()
9719: {
9720: as_val=`expr "$@" || test $? -eq 1`
9721: }
9722: fi # as_fn_arith
9723:
9724:
9725: if expr a : '\(a\)' >/dev/null 2>&1 &&
9726: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9727: as_expr=expr
9728: else
9729: as_expr=false
9730: fi
9731:
9732: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9733: as_basename=basename
9734: else
9735: as_basename=false
9736: fi
9737:
9738: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9739: as_dirname=dirname
9740: else
9741: as_dirname=false
9742: fi
9743:
9744: as_me=`$as_basename -- "$0" ||
9745: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9746: X"$0" : 'X\(//\)$' \| \
9747: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9748: $as_echo X/"$0" |
9749: sed '/^.*\/\([^/][^/]*\)\/*$/{
9750: s//\1/
9751: q
9752: }
9753: /^X\/\(\/\/\)$/{
9754: s//\1/
9755: q
9756: }
9757: /^X\/\(\/\).*/{
9758: s//\1/
9759: q
9760: }
9761: s/.*/./; q'`
9762:
9763: # Avoid depending upon Character Ranges.
9764: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9765: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9766: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9767: as_cr_digits='0123456789'
9768: as_cr_alnum=$as_cr_Letters$as_cr_digits
9769:
9770: ECHO_C= ECHO_N= ECHO_T=
9771: case `echo -n x` in #(((((
9772: -n*)
9773: case `echo 'xy\c'` in
9774: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9775: xy) ECHO_C='\c';;
9776: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9777: ECHO_T=' ';;
9778: esac;;
9779: *)
9780: ECHO_N='-n';;
9781: esac
9782:
9783: rm -f conf$$ conf$$.exe conf$$.file
9784: if test -d conf$$.dir; then
9785: rm -f conf$$.dir/conf$$.file
9786: else
9787: rm -f conf$$.dir
9788: mkdir conf$$.dir 2>/dev/null
9789: fi
9790: if (echo >conf$$.file) 2>/dev/null; then
9791: if ln -s conf$$.file conf$$ 2>/dev/null; then
9792: as_ln_s='ln -s'
9793: # ... but there are two gotchas:
9794: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9795: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9796: # In both cases, we have to default to `cp -p'.
9797: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9798: as_ln_s='cp -p'
9799: elif ln conf$$.file conf$$ 2>/dev/null; then
9800: as_ln_s=ln
9801: else
9802: as_ln_s='cp -p'
9803: fi
9804: else
9805: as_ln_s='cp -p'
9806: fi
9807: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9808: rmdir conf$$.dir 2>/dev/null
9809:
9810:
9811: # as_fn_mkdir_p
9812: # -------------
9813: # Create "$as_dir" as a directory, including parents if necessary.
9814: as_fn_mkdir_p ()
9815: {
9816:
9817: case $as_dir in #(
9818: -*) as_dir=./$as_dir;;
9819: esac
9820: test -d "$as_dir" || eval $as_mkdir_p || {
9821: as_dirs=
9822: while :; do
9823: case $as_dir in #(
9824: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9825: *) as_qdir=$as_dir;;
9826: esac
9827: as_dirs="'$as_qdir' $as_dirs"
9828: as_dir=`$as_dirname -- "$as_dir" ||
9829: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9830: X"$as_dir" : 'X\(//\)[^/]' \| \
9831: X"$as_dir" : 'X\(//\)$' \| \
9832: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9833: $as_echo X"$as_dir" |
9834: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9835: s//\1/
9836: q
9837: }
9838: /^X\(\/\/\)[^/].*/{
9839: s//\1/
9840: q
9841: }
9842: /^X\(\/\/\)$/{
9843: s//\1/
9844: q
9845: }
9846: /^X\(\/\).*/{
9847: s//\1/
9848: q
9849: }
9850: s/.*/./; q'`
9851: test -d "$as_dir" && break
9852: done
9853: test -z "$as_dirs" || eval "mkdir $as_dirs"
9854: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9855:
9856:
9857: } # as_fn_mkdir_p
9858: if mkdir -p . 2>/dev/null; then
9859: as_mkdir_p='mkdir -p "$as_dir"'
9860: else
9861: test -d ./-p && rmdir ./-p
9862: as_mkdir_p=false
9863: fi
9864:
9865: if test -x / >/dev/null 2>&1; then
9866: as_test_x='test -x'
9867: else
9868: if ls -dL / >/dev/null 2>&1; then
9869: as_ls_L_option=L
9870: else
9871: as_ls_L_option=
9872: fi
9873: as_test_x='
9874: eval sh -c '\''
9875: if test -d "$1"; then
9876: test -d "$1/.";
9877: else
9878: case $1 in #(
9879: -*)set "./$1";;
9880: esac;
9881: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9882: ???[sx]*):;;*)false;;esac;fi
9883: '\'' sh
9884: '
9885: fi
9886: as_executable_p=$as_test_x
9887:
9888: # Sed expression to map a string onto a valid CPP name.
9889: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9890:
9891: # Sed expression to map a string onto a valid variable name.
9892: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9893:
9894:
9895: exec 6>&1
9896: ## ----------------------------------- ##
9897: ## Main body of $CONFIG_STATUS script. ##
9898: ## ----------------------------------- ##
9899: _ASEOF
9900: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9901:
9902: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9903: # Save the log message, to keep $0 and so on meaningful, and to
9904: # report actual input values of CONFIG_FILES etc. instead of their
9905: # values after options handling.
9906: ac_log="
9907: This file was extended by rpl $as_me 4.0.24, which was
9908: generated by GNU Autoconf 2.68. Invocation command line was
9909:
9910: CONFIG_FILES = $CONFIG_FILES
9911: CONFIG_HEADERS = $CONFIG_HEADERS
9912: CONFIG_LINKS = $CONFIG_LINKS
9913: CONFIG_COMMANDS = $CONFIG_COMMANDS
9914: $ $0 $@
9915:
9916: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9917: "
9918:
9919: _ACEOF
9920:
9921: case $ac_config_files in *"
9922: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9923: esac
9924:
9925: case $ac_config_headers in *"
9926: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9927: esac
9928:
9929:
9930: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9931: # Files that config.status was made for.
9932: config_files="$ac_config_files"
9933: config_headers="$ac_config_headers"
9934: config_commands="$ac_config_commands"
9935:
9936: _ACEOF
9937:
9938: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9939: ac_cs_usage="\
9940: \`$as_me' instantiates files and other configuration actions
9941: from templates according to the current configuration. Unless the files
9942: and actions are specified as TAGs, all are instantiated by default.
9943:
9944: Usage: $0 [OPTION]... [TAG]...
9945:
9946: -h, --help print this help, then exit
9947: -V, --version print version number and configuration settings, then exit
9948: --config print configuration, then exit
9949: -q, --quiet, --silent
9950: do not print progress messages
9951: -d, --debug don't remove temporary files
9952: --recheck update $as_me by reconfiguring in the same conditions
9953: --file=FILE[:TEMPLATE]
9954: instantiate the configuration file FILE
9955: --header=FILE[:TEMPLATE]
9956: instantiate the configuration header FILE
9957:
9958: Configuration files:
9959: $config_files
9960:
9961: Configuration headers:
9962: $config_headers
9963:
9964: Configuration commands:
9965: $config_commands
9966:
9967: Report bugs to the package provider."
9968:
9969: _ACEOF
9970: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9971: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9972: ac_cs_version="\\
9973: rpl config.status 4.0.24
9974: configured by $0, generated by GNU Autoconf 2.68,
9975: with options \\"\$ac_cs_config\\"
9976:
9977: Copyright (C) 2010 Free Software Foundation, Inc.
9978: This config.status script is free software; the Free Software Foundation
9979: gives unlimited permission to copy, distribute and modify it."
9980:
9981: ac_pwd='$ac_pwd'
9982: srcdir='$srcdir'
9983: INSTALL='$INSTALL'
9984: MKDIR_P='$MKDIR_P'
9985: AWK='$AWK'
9986: test -n "\$AWK" || AWK=awk
9987: _ACEOF
9988:
9989: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9990: # The default lists apply if the user does not specify any file.
9991: ac_need_defaults=:
9992: while test $# != 0
9993: do
9994: case $1 in
9995: --*=?*)
9996: ac_option=`expr "X$1" : 'X\([^=]*\)='`
9997: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9998: ac_shift=:
9999: ;;
10000: --*=)
10001: ac_option=`expr "X$1" : 'X\([^=]*\)='`
10002: ac_optarg=
10003: ac_shift=:
10004: ;;
10005: *)
10006: ac_option=$1
10007: ac_optarg=$2
10008: ac_shift=shift
10009: ;;
10010: esac
10011:
10012: case $ac_option in
10013: # Handling of the options.
10014: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10015: ac_cs_recheck=: ;;
10016: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10017: $as_echo "$ac_cs_version"; exit ;;
10018: --config | --confi | --conf | --con | --co | --c )
10019: $as_echo "$ac_cs_config"; exit ;;
10020: --debug | --debu | --deb | --de | --d | -d )
10021: debug=: ;;
10022: --file | --fil | --fi | --f )
10023: $ac_shift
10024: case $ac_optarg in
10025: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10026: '') as_fn_error $? "missing file argument" ;;
10027: esac
10028: as_fn_append CONFIG_FILES " '$ac_optarg'"
10029: ac_need_defaults=false;;
10030: --header | --heade | --head | --hea )
10031: $ac_shift
10032: case $ac_optarg in
10033: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10034: esac
10035: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10036: ac_need_defaults=false;;
10037: --he | --h)
10038: # Conflict between --help and --header
10039: as_fn_error $? "ambiguous option: \`$1'
10040: Try \`$0 --help' for more information.";;
10041: --help | --hel | -h )
10042: $as_echo "$ac_cs_usage"; exit ;;
10043: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10044: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10045: ac_cs_silent=: ;;
10046:
10047: # This is an error.
10048: -*) as_fn_error $? "unrecognized option: \`$1'
10049: Try \`$0 --help' for more information." ;;
10050:
10051: *) as_fn_append ac_config_targets " $1"
10052: ac_need_defaults=false ;;
10053:
10054: esac
10055: shift
10056: done
10057:
10058: ac_configure_extra_args=
10059:
10060: if $ac_cs_silent; then
10061: exec 6>/dev/null
10062: ac_configure_extra_args="$ac_configure_extra_args --silent"
10063: fi
10064:
10065: _ACEOF
10066: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10067: if \$ac_cs_recheck; then
10068: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10069: shift
10070: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10071: CONFIG_SHELL='$SHELL'
10072: export CONFIG_SHELL
10073: exec "\$@"
10074: fi
10075:
10076: _ACEOF
10077: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10078: exec 5>>config.log
10079: {
10080: echo
10081: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10082: ## Running $as_me. ##
10083: _ASBOX
10084: $as_echo "$ac_log"
10085: } >&5
10086:
10087: _ACEOF
10088: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10089: #
10090: # INIT-COMMANDS
10091: #
10092: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10093:
10094: _ACEOF
10095:
10096: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10097:
10098: # Handling of arguments.
10099: for ac_config_target in $ac_config_targets
10100: do
10101: case $ac_config_target in
10102: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10103: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10104: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10105: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10106: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10107: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10108: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10109: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10110: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10111: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10112: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10113: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10114: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10115: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10116: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10117: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10118: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10119: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10120: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10121: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10122: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10123: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10124: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10125: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10126: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10127: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10128: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10129: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10130: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10131:
10132: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10133: esac
10134: done
10135:
10136:
10137: # If the user did not use the arguments to specify the items to instantiate,
10138: # then the envvar interface is used. Set only those that are not.
10139: # We use the long form for the default assignment because of an extremely
10140: # bizarre bug on SunOS 4.1.3.
10141: if $ac_need_defaults; then
10142: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10143: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10144: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10145: fi
10146:
10147: # Have a temporary directory for convenience. Make it in the build tree
10148: # simply because there is no reason against having it here, and in addition,
10149: # creating and moving files from /tmp can sometimes cause problems.
10150: # Hook for its removal unless debugging.
10151: # Note that there is a small window in which the directory will not be cleaned:
10152: # after its creation but before its name has been assigned to `$tmp'.
10153: $debug ||
10154: {
10155: tmp= ac_tmp=
10156: trap 'exit_status=$?
10157: : "${ac_tmp:=$tmp}"
10158: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10159: ' 0
10160: trap 'as_fn_exit 1' 1 2 13 15
10161: }
10162: # Create a (secure) tmp directory for tmp files.
10163:
10164: {
10165: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10166: test -d "$tmp"
10167: } ||
10168: {
10169: tmp=./conf$$-$RANDOM
10170: (umask 077 && mkdir "$tmp")
10171: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10172: ac_tmp=$tmp
10173:
10174: # Set up the scripts for CONFIG_FILES section.
10175: # No need to generate them if there are no CONFIG_FILES.
10176: # This happens for instance with `./config.status config.h'.
10177: if test -n "$CONFIG_FILES"; then
10178:
10179:
10180: ac_cr=`echo X | tr X '\015'`
10181: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10182: # But we know of no other shell where ac_cr would be empty at this
10183: # point, so we can use a bashism as a fallback.
10184: if test "x$ac_cr" = x; then
10185: eval ac_cr=\$\'\\r\'
10186: fi
10187: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10188: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10189: ac_cs_awk_cr='\\r'
10190: else
10191: ac_cs_awk_cr=$ac_cr
10192: fi
10193:
10194: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10195: _ACEOF
10196:
10197:
10198: {
10199: echo "cat >conf$$subs.awk <<_ACEOF" &&
10200: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10201: echo "_ACEOF"
10202: } >conf$$subs.sh ||
10203: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10204: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10205: ac_delim='%!_!# '
10206: for ac_last_try in false false false false false :; do
10207: . ./conf$$subs.sh ||
10208: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10209:
10210: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10211: if test $ac_delim_n = $ac_delim_num; then
10212: break
10213: elif $ac_last_try; then
10214: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10215: else
10216: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10217: fi
10218: done
10219: rm -f conf$$subs.sh
10220:
10221: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10222: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10223: _ACEOF
10224: sed -n '
10225: h
10226: s/^/S["/; s/!.*/"]=/
10227: p
10228: g
10229: s/^[^!]*!//
10230: :repl
10231: t repl
10232: s/'"$ac_delim"'$//
10233: t delim
10234: :nl
10235: h
10236: s/\(.\{148\}\)..*/\1/
10237: t more1
10238: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10239: p
10240: n
10241: b repl
10242: :more1
10243: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10244: p
10245: g
10246: s/.\{148\}//
10247: t nl
10248: :delim
10249: h
10250: s/\(.\{148\}\)..*/\1/
10251: t more2
10252: s/["\\]/\\&/g; s/^/"/; s/$/"/
10253: p
10254: b
10255: :more2
10256: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10257: p
10258: g
10259: s/.\{148\}//
10260: t delim
10261: ' <conf$$subs.awk | sed '
10262: /^[^""]/{
10263: N
10264: s/\n//
10265: }
10266: ' >>$CONFIG_STATUS || ac_write_fail=1
10267: rm -f conf$$subs.awk
10268: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10269: _ACAWK
10270: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10271: for (key in S) S_is_set[key] = 1
10272: FS = ""
10273:
10274: }
10275: {
10276: line = $ 0
10277: nfields = split(line, field, "@")
10278: substed = 0
10279: len = length(field[1])
10280: for (i = 2; i < nfields; i++) {
10281: key = field[i]
10282: keylen = length(key)
10283: if (S_is_set[key]) {
10284: value = S[key]
10285: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10286: len += length(value) + length(field[++i])
10287: substed = 1
10288: } else
10289: len += 1 + keylen
10290: }
10291:
10292: print line
10293: }
10294:
10295: _ACAWK
10296: _ACEOF
10297: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10298: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10299: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10300: else
10301: cat
10302: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10303: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10304: _ACEOF
10305:
10306: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10307: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10308: # trailing colons and then remove the whole line if VPATH becomes empty
10309: # (actually we leave an empty line to preserve line numbers).
10310: if test "x$srcdir" = x.; then
10311: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10312: h
10313: s///
10314: s/^/:/
10315: s/[ ]*$/:/
10316: s/:\$(srcdir):/:/g
10317: s/:\${srcdir}:/:/g
10318: s/:@srcdir@:/:/g
10319: s/^:*//
10320: s/:*$//
10321: x
10322: s/\(=[ ]*\).*/\1/
10323: G
10324: s/\n//
10325: s/^[^=]*=[ ]*$//
10326: }'
10327: fi
10328:
10329: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10330: fi # test -n "$CONFIG_FILES"
10331:
10332: # Set up the scripts for CONFIG_HEADERS section.
10333: # No need to generate them if there are no CONFIG_HEADERS.
10334: # This happens for instance with `./config.status Makefile'.
10335: if test -n "$CONFIG_HEADERS"; then
10336: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10337: BEGIN {
10338: _ACEOF
10339:
10340: # Transform confdefs.h into an awk script `defines.awk', embedded as
10341: # here-document in config.status, that substitutes the proper values into
10342: # config.h.in to produce config.h.
10343:
10344: # Create a delimiter string that does not exist in confdefs.h, to ease
10345: # handling of long lines.
10346: ac_delim='%!_!# '
10347: for ac_last_try in false false :; do
10348: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10349: if test -z "$ac_tt"; then
10350: break
10351: elif $ac_last_try; then
10352: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10353: else
10354: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10355: fi
10356: done
10357:
10358: # For the awk script, D is an array of macro values keyed by name,
10359: # likewise P contains macro parameters if any. Preserve backslash
10360: # newline sequences.
10361:
10362: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10363: sed -n '
10364: s/.\{148\}/&'"$ac_delim"'/g
10365: t rset
10366: :rset
10367: s/^[ ]*#[ ]*define[ ][ ]*/ /
10368: t def
10369: d
10370: :def
10371: s/\\$//
10372: t bsnl
10373: s/["\\]/\\&/g
10374: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10375: D["\1"]=" \3"/p
10376: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10377: d
10378: :bsnl
10379: s/["\\]/\\&/g
10380: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10381: D["\1"]=" \3\\\\\\n"\\/p
10382: t cont
10383: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10384: t cont
10385: d
10386: :cont
10387: n
10388: s/.\{148\}/&'"$ac_delim"'/g
10389: t clear
10390: :clear
10391: s/\\$//
10392: t bsnlc
10393: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10394: d
10395: :bsnlc
10396: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10397: b cont
10398: ' <confdefs.h | sed '
10399: s/'"$ac_delim"'/"\\\
10400: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10401:
10402: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10403: for (key in D) D_is_set[key] = 1
10404: FS = ""
10405: }
10406: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10407: line = \$ 0
10408: split(line, arg, " ")
10409: if (arg[1] == "#") {
10410: defundef = arg[2]
10411: mac1 = arg[3]
10412: } else {
10413: defundef = substr(arg[1], 2)
10414: mac1 = arg[2]
10415: }
10416: split(mac1, mac2, "(") #)
10417: macro = mac2[1]
10418: prefix = substr(line, 1, index(line, defundef) - 1)
10419: if (D_is_set[macro]) {
10420: # Preserve the white space surrounding the "#".
10421: print prefix "define", macro P[macro] D[macro]
10422: next
10423: } else {
10424: # Replace #undef with comments. This is necessary, for example,
10425: # in the case of _POSIX_SOURCE, which is predefined and required
10426: # on some systems where configure will not decide to define it.
10427: if (defundef == "undef") {
10428: print "/*", prefix defundef, macro, "*/"
10429: next
10430: }
10431: }
10432: }
10433: { print }
10434: _ACAWK
10435: _ACEOF
10436: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10437: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10438: fi # test -n "$CONFIG_HEADERS"
10439:
10440:
10441: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10442: shift
10443: for ac_tag
10444: do
10445: case $ac_tag in
10446: :[FHLC]) ac_mode=$ac_tag; continue;;
10447: esac
10448: case $ac_mode$ac_tag in
10449: :[FHL]*:*);;
10450: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10451: :[FH]-) ac_tag=-:-;;
10452: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10453: esac
10454: ac_save_IFS=$IFS
10455: IFS=:
10456: set x $ac_tag
10457: IFS=$ac_save_IFS
10458: shift
10459: ac_file=$1
10460: shift
10461:
10462: case $ac_mode in
10463: :L) ac_source=$1;;
10464: :[FH])
10465: ac_file_inputs=
10466: for ac_f
10467: do
10468: case $ac_f in
10469: -) ac_f="$ac_tmp/stdin";;
10470: *) # Look for the file first in the build tree, then in the source tree
10471: # (if the path is not absolute). The absolute path cannot be DOS-style,
10472: # because $ac_f cannot contain `:'.
10473: test -f "$ac_f" ||
10474: case $ac_f in
10475: [\\/$]*) false;;
10476: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10477: esac ||
10478: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10479: esac
10480: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10481: as_fn_append ac_file_inputs " '$ac_f'"
10482: done
10483:
10484: # Let's still pretend it is `configure' which instantiates (i.e., don't
10485: # use $as_me), people would be surprised to read:
10486: # /* config.h. Generated by config.status. */
10487: configure_input='Generated from '`
10488: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10489: `' by configure.'
10490: if test x"$ac_file" != x-; then
10491: configure_input="$ac_file. $configure_input"
10492: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10493: $as_echo "$as_me: creating $ac_file" >&6;}
10494: fi
10495: # Neutralize special characters interpreted by sed in replacement strings.
10496: case $configure_input in #(
10497: *\&* | *\|* | *\\* )
10498: ac_sed_conf_input=`$as_echo "$configure_input" |
10499: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10500: *) ac_sed_conf_input=$configure_input;;
10501: esac
10502:
10503: case $ac_tag in
10504: *:-:* | *:-) cat >"$ac_tmp/stdin" \
10505: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10506: esac
10507: ;;
10508: esac
10509:
10510: ac_dir=`$as_dirname -- "$ac_file" ||
10511: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10512: X"$ac_file" : 'X\(//\)[^/]' \| \
10513: X"$ac_file" : 'X\(//\)$' \| \
10514: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10515: $as_echo X"$ac_file" |
10516: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10517: s//\1/
10518: q
10519: }
10520: /^X\(\/\/\)[^/].*/{
10521: s//\1/
10522: q
10523: }
10524: /^X\(\/\/\)$/{
10525: s//\1/
10526: q
10527: }
10528: /^X\(\/\).*/{
10529: s//\1/
10530: q
10531: }
10532: s/.*/./; q'`
10533: as_dir="$ac_dir"; as_fn_mkdir_p
10534: ac_builddir=.
10535:
10536: case "$ac_dir" in
10537: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10538: *)
10539: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10540: # A ".." for each directory in $ac_dir_suffix.
10541: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10542: case $ac_top_builddir_sub in
10543: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10544: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10545: esac ;;
10546: esac
10547: ac_abs_top_builddir=$ac_pwd
10548: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10549: # for backward compatibility:
10550: ac_top_builddir=$ac_top_build_prefix
10551:
10552: case $srcdir in
10553: .) # We are building in place.
10554: ac_srcdir=.
10555: ac_top_srcdir=$ac_top_builddir_sub
10556: ac_abs_top_srcdir=$ac_pwd ;;
10557: [\\/]* | ?:[\\/]* ) # Absolute name.
10558: ac_srcdir=$srcdir$ac_dir_suffix;
10559: ac_top_srcdir=$srcdir
10560: ac_abs_top_srcdir=$srcdir ;;
10561: *) # Relative name.
10562: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10563: ac_top_srcdir=$ac_top_build_prefix$srcdir
10564: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10565: esac
10566: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10567:
10568:
10569: case $ac_mode in
10570: :F)
10571: #
10572: # CONFIG_FILE
10573: #
10574:
10575: case $INSTALL in
10576: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10577: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10578: esac
10579: ac_MKDIR_P=$MKDIR_P
10580: case $MKDIR_P in
10581: [\\/$]* | ?:[\\/]* ) ;;
10582: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10583: esac
10584: _ACEOF
10585:
10586: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10587: # If the template does not know about datarootdir, expand it.
10588: # FIXME: This hack should be removed a few years after 2.60.
10589: ac_datarootdir_hack=; ac_datarootdir_seen=
10590: ac_sed_dataroot='
10591: /datarootdir/ {
10592: p
10593: q
10594: }
10595: /@datadir@/p
10596: /@docdir@/p
10597: /@infodir@/p
10598: /@localedir@/p
10599: /@mandir@/p'
10600: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10601: *datarootdir*) ac_datarootdir_seen=yes;;
10602: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10603: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10604: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10605: _ACEOF
10606: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10607: ac_datarootdir_hack='
10608: s&@datadir@&$datadir&g
10609: s&@docdir@&$docdir&g
10610: s&@infodir@&$infodir&g
10611: s&@localedir@&$localedir&g
10612: s&@mandir@&$mandir&g
10613: s&\\\${datarootdir}&$datarootdir&g' ;;
10614: esac
10615: _ACEOF
10616:
10617: # Neutralize VPATH when `$srcdir' = `.'.
10618: # Shell code in configure.ac might set extrasub.
10619: # FIXME: do we really want to maintain this feature?
10620: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10621: ac_sed_extra="$ac_vpsub
10622: $extrasub
10623: _ACEOF
10624: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10625: :t
10626: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10627: s|@configure_input@|$ac_sed_conf_input|;t t
10628: s&@top_builddir@&$ac_top_builddir_sub&;t t
10629: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10630: s&@srcdir@&$ac_srcdir&;t t
10631: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10632: s&@top_srcdir@&$ac_top_srcdir&;t t
10633: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10634: s&@builddir@&$ac_builddir&;t t
10635: s&@abs_builddir@&$ac_abs_builddir&;t t
10636: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10637: s&@INSTALL@&$ac_INSTALL&;t t
10638: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10639: $ac_datarootdir_hack
10640: "
10641: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10642: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10643:
10644: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10645: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10646: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10647: "$ac_tmp/out"`; test -z "$ac_out"; } &&
10648: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10649: which seems to be undefined. Please make sure it is defined" >&5
10650: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10651: which seems to be undefined. Please make sure it is defined" >&2;}
10652:
10653: rm -f "$ac_tmp/stdin"
10654: case $ac_file in
10655: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10656: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10657: esac \
10658: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10659: ;;
10660: :H)
10661: #
10662: # CONFIG_HEADER
10663: #
10664: if test x"$ac_file" != x-; then
10665: {
10666: $as_echo "/* $configure_input */" \
10667: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10668: } >"$ac_tmp/config.h" \
10669: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10670: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10671: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10672: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10673: else
10674: rm -f "$ac_file"
10675: mv "$ac_tmp/config.h" "$ac_file" \
10676: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10677: fi
10678: else
10679: $as_echo "/* $configure_input */" \
10680: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10681: || as_fn_error $? "could not create -" "$LINENO" 5
10682: fi
10683: # Compute "$ac_file"'s index in $config_headers.
10684: _am_arg="$ac_file"
10685: _am_stamp_count=1
10686: for _am_header in $config_headers :; do
10687: case $_am_header in
10688: $_am_arg | $_am_arg:* )
10689: break ;;
10690: * )
10691: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10692: esac
10693: done
10694: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10695: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10696: X"$_am_arg" : 'X\(//\)[^/]' \| \
10697: X"$_am_arg" : 'X\(//\)$' \| \
10698: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10699: $as_echo X"$_am_arg" |
10700: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10701: s//\1/
10702: q
10703: }
10704: /^X\(\/\/\)[^/].*/{
10705: s//\1/
10706: q
10707: }
10708: /^X\(\/\/\)$/{
10709: s//\1/
10710: q
10711: }
10712: /^X\(\/\).*/{
10713: s//\1/
10714: q
10715: }
10716: s/.*/./; q'`/stamp-h$_am_stamp_count
10717: ;;
10718:
10719: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10720: $as_echo "$as_me: executing $ac_file commands" >&6;}
10721: ;;
10722: esac
10723:
10724:
10725: case $ac_file$ac_mode in
10726: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10727: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10728: # are listed without --file. Let's play safe and only enable the eval
10729: # if we detect the quoting.
10730: case $CONFIG_FILES in
10731: *\'*) eval set x "$CONFIG_FILES" ;;
10732: *) set x $CONFIG_FILES ;;
10733: esac
10734: shift
10735: for mf
10736: do
10737: # Strip MF so we end up with the name of the file.
10738: mf=`echo "$mf" | sed -e 's/:.*$//'`
10739: # Check whether this is an Automake generated Makefile or not.
10740: # We used to match only the files named `Makefile.in', but
10741: # some people rename them; so instead we look at the file content.
10742: # Grep'ing the first line is not enough: some people post-process
10743: # each Makefile.in and add a new line on top of each file to say so.
10744: # Grep'ing the whole file is not good either: AIX grep has a line
10745: # limit of 2048, but all sed's we know have understand at least 4000.
10746: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10747: dirpart=`$as_dirname -- "$mf" ||
10748: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10749: X"$mf" : 'X\(//\)[^/]' \| \
10750: X"$mf" : 'X\(//\)$' \| \
10751: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10752: $as_echo X"$mf" |
10753: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10754: s//\1/
10755: q
10756: }
10757: /^X\(\/\/\)[^/].*/{
10758: s//\1/
10759: q
10760: }
10761: /^X\(\/\/\)$/{
10762: s//\1/
10763: q
10764: }
10765: /^X\(\/\).*/{
10766: s//\1/
10767: q
10768: }
10769: s/.*/./; q'`
10770: else
10771: continue
10772: fi
10773: # Extract the definition of DEPDIR, am__include, and am__quote
10774: # from the Makefile without running `make'.
10775: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10776: test -z "$DEPDIR" && continue
10777: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10778: test -z "am__include" && continue
10779: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10780: # When using ansi2knr, U may be empty or an underscore; expand it
10781: U=`sed -n 's/^U = //p' < "$mf"`
10782: # Find all dependency output files, they are included files with
10783: # $(DEPDIR) in their names. We invoke sed twice because it is the
10784: # simplest approach to changing $(DEPDIR) to its actual value in the
10785: # expansion.
10786: for file in `sed -n "
10787: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10788: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10789: # Make sure the directory exists.
10790: test -f "$dirpart/$file" && continue
10791: fdir=`$as_dirname -- "$file" ||
10792: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10793: X"$file" : 'X\(//\)[^/]' \| \
10794: X"$file" : 'X\(//\)$' \| \
10795: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10796: $as_echo X"$file" |
10797: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10798: s//\1/
10799: q
10800: }
10801: /^X\(\/\/\)[^/].*/{
10802: s//\1/
10803: q
10804: }
10805: /^X\(\/\/\)$/{
10806: s//\1/
10807: q
10808: }
10809: /^X\(\/\).*/{
10810: s//\1/
10811: q
10812: }
10813: s/.*/./; q'`
10814: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10815: # echo "creating $dirpart/$file"
10816: echo '# dummy' > "$dirpart/$file"
10817: done
10818: done
10819: }
10820: ;;
10821:
10822: esac
10823: done # for ac_tag
10824:
10825:
10826: as_fn_exit 0
10827: _ACEOF
10828: ac_clean_files=$ac_clean_files_save
10829:
10830: test $ac_write_fail = 0 ||
10831: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10832:
10833:
10834: # configure is writing to config.log, and then calls config.status.
10835: # config.status does its own redirection, appending to config.log.
10836: # Unfortunately, on DOS this fails, as config.log is still kept open
10837: # by configure, so config.status won't be able to write to it; its
10838: # output is simply discarded. So we exec the FD to /dev/null,
10839: # effectively closing config.log, so it can be properly (re)opened and
10840: # appended to by config.status. When coming back to configure, we
10841: # need to make the FD available again.
10842: if test "$no_create" != yes; then
10843: ac_cs_success=:
10844: ac_config_status_args=
10845: test "$silent" = yes &&
10846: ac_config_status_args="$ac_config_status_args --quiet"
10847: exec 5>/dev/null
10848: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10849: exec 5>>config.log
10850: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10851: # would make configure fail if this is the last instruction.
10852: $ac_cs_success || as_fn_exit 1
10853: fi
10854:
10855: #
10856: # CONFIG_SUBDIRS section.
10857: #
10858: if test "$no_recursion" != yes; then
10859:
10860: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10861: # so they do not pile up.
10862: ac_sub_configure_args=
10863: ac_prev=
10864: eval "set x $ac_configure_args"
10865: shift
10866: for ac_arg
10867: do
10868: if test -n "$ac_prev"; then
10869: ac_prev=
10870: continue
10871: fi
10872: case $ac_arg in
10873: -cache-file | --cache-file | --cache-fil | --cache-fi \
10874: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10875: ac_prev=cache_file ;;
10876: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10877: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10878: | --c=*)
10879: ;;
10880: --config-cache | -C)
10881: ;;
10882: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10883: ac_prev=srcdir ;;
10884: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10885: ;;
10886: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10887: ac_prev=prefix ;;
10888: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10889: ;;
10890: --disable-option-checking)
10891: ;;
10892: *)
10893: case $ac_arg in
10894: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10895: esac
10896: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10897: esac
10898: done
10899:
10900: # Always prepend --prefix to ensure using the same prefix
10901: # in subdir configurations.
10902: ac_arg="--prefix=$prefix"
10903: case $ac_arg in
10904: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10905: esac
10906: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10907:
10908: # Pass --silent
10909: if test "$silent" = yes; then
10910: ac_sub_configure_args="--silent $ac_sub_configure_args"
10911: fi
10912:
10913: # Always prepend --disable-option-checking to silence warnings, since
10914: # different subdirs can have different --enable and --with options.
10915: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10916:
10917: ac_popdir=`pwd`
10918: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10919:
10920: # Do not complain, so a configure script can configure whichever
10921: # parts of a large source tree are present.
10922: test -d "$srcdir/$ac_dir" || continue
10923:
10924: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10925: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10926: $as_echo "$ac_msg" >&6
10927: as_dir="$ac_dir"; as_fn_mkdir_p
10928: ac_builddir=.
10929:
10930: case "$ac_dir" in
10931: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10932: *)
10933: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10934: # A ".." for each directory in $ac_dir_suffix.
10935: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10936: case $ac_top_builddir_sub in
10937: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10938: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10939: esac ;;
10940: esac
10941: ac_abs_top_builddir=$ac_pwd
10942: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10943: # for backward compatibility:
10944: ac_top_builddir=$ac_top_build_prefix
10945:
10946: case $srcdir in
10947: .) # We are building in place.
10948: ac_srcdir=.
10949: ac_top_srcdir=$ac_top_builddir_sub
10950: ac_abs_top_srcdir=$ac_pwd ;;
10951: [\\/]* | ?:[\\/]* ) # Absolute name.
10952: ac_srcdir=$srcdir$ac_dir_suffix;
10953: ac_top_srcdir=$srcdir
10954: ac_abs_top_srcdir=$srcdir ;;
10955: *) # Relative name.
10956: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10957: ac_top_srcdir=$ac_top_build_prefix$srcdir
10958: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10959: esac
10960: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10961:
10962:
10963: cd "$ac_dir"
10964:
10965: # Check for guested configure; otherwise get Cygnus style configure.
10966: if test -f "$ac_srcdir/configure.gnu"; then
10967: ac_sub_configure=$ac_srcdir/configure.gnu
10968: elif test -f "$ac_srcdir/configure"; then
10969: ac_sub_configure=$ac_srcdir/configure
10970: elif test -f "$ac_srcdir/configure.in"; then
10971: # This should be Cygnus configure.
10972: ac_sub_configure=$ac_aux_dir/configure
10973: else
10974: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10975: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10976: ac_sub_configure=
10977: fi
10978:
10979: # The recursion is here.
10980: if test -n "$ac_sub_configure"; then
10981: # Make the cache file name correct relative to the subdirectory.
10982: case $cache_file in
10983: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10984: *) # Relative name.
10985: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10986: esac
10987:
10988: { $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
10989: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10990: # The eval makes quoting arguments work.
10991: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10992: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10993: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10994: fi
10995:
10996: cd "$ac_popdir"
10997: done
10998: fi
10999: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11000: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11001: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11002: fi
11003:
CVSweb interface <joel.bertrand@systella.fr>