1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.67 for rpl 4.0.22.
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: case $0 in #((
93: *[\\/]* ) as_myself=$0 ;;
94: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95: for as_dir in $PATH
96: do
97: IFS=$as_save_IFS
98: test -z "$as_dir" && as_dir=.
99: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100: done
101: IFS=$as_save_IFS
102:
103: ;;
104: esac
105: # We did not find ourselves, most probably we were run as `sh COMMAND'
106: # in which case we are not to be found in the path.
107: if test "x$as_myself" = x; then
108: as_myself=$0
109: fi
110: if test ! -f "$as_myself"; then
111: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112: exit 1
113: fi
114:
115: # Unset variables that we do not need and which cause bugs (e.g. in
116: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117: # suppresses any "Segmentation fault" message there. '((' could
118: # trigger a bug in pdksh 5.2.14.
119: for as_var in BASH_ENV ENV MAIL MAILPATH
120: do eval test x\${$as_var+set} = xset \
121: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122: done
123: PS1='$ '
124: PS2='> '
125: PS4='+ '
126:
127: # NLS nuisances.
128: LC_ALL=C
129: export LC_ALL
130: LANGUAGE=C
131: export LANGUAGE
132:
133: # CDPATH.
134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135:
136: if test "x$CONFIG_SHELL" = x; then
137: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138: emulate sh
139: NULLCMD=:
140: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141: # is contrary to our usage. Disable this feature.
142: alias -g '\${1+\"\$@\"}'='\"\$@\"'
143: setopt NO_GLOB_SUBST
144: else
145: case \`(set -o) 2>/dev/null\` in #(
146: *posix*) :
147: set -o posix ;; #(
148: *) :
149: ;;
150: esac
151: fi
152: "
153: as_required="as_fn_return () { (exit \$1); }
154: as_fn_success () { as_fn_return 0; }
155: as_fn_failure () { as_fn_return 1; }
156: as_fn_ret_success () { return 0; }
157: as_fn_ret_failure () { return 1; }
158:
159: exitcode=0
160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165:
166: else
167: exitcode=1; echo positional parameters were not saved.
168: fi
169: test x\$exitcode = x0 || exit 1"
170: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174: test \$(( 1 + 1 )) = 2 || exit 1"
175: if (eval "$as_required") 2>/dev/null; then :
176: as_have_required=yes
177: else
178: as_have_required=no
179: fi
180: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181:
182: else
183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184: as_found=false
185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186: do
187: IFS=$as_save_IFS
188: test -z "$as_dir" && as_dir=.
189: as_found=:
190: case $as_dir in #(
191: /*)
192: for as_base in sh bash ksh sh5; do
193: # Try only shells that exist, to save several forks.
194: as_shell=$as_dir/$as_base
195: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197: CONFIG_SHELL=$as_shell as_have_required=yes
198: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199: break 2
200: fi
201: fi
202: done;;
203: esac
204: as_found=false
205: done
206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208: CONFIG_SHELL=$SHELL as_have_required=yes
209: fi; }
210: IFS=$as_save_IFS
211:
212:
213: if test "x$CONFIG_SHELL" != x; then :
214: # We cannot yet assume a decent shell, so we have to provide a
215: # neutralization value for shells without unset; and this also
216: # works around shells that cannot unset nonexistent variables.
217: BASH_ENV=/dev/null
218: ENV=/dev/null
219: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220: export CONFIG_SHELL
221: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222: fi
223:
224: if test x$as_have_required = xno; then :
225: $as_echo "$0: This script requires a shell more modern than all"
226: $as_echo "$0: the shells that I found on your system."
227: if test x${ZSH_VERSION+set} = xset ; then
228: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230: else
231: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232: $0: including any error possibly output before this
233: $0: message. Then install a modern shell, or manually run
234: $0: the script under such a shell if you do have one."
235: fi
236: exit 1
237: fi
238: fi
239: fi
240: SHELL=${CONFIG_SHELL-/bin/sh}
241: export SHELL
242: # Unset more variables known to interfere with behavior of common tools.
243: CLICOLOR_FORCE= GREP_OPTIONS=
244: unset CLICOLOR_FORCE GREP_OPTIONS
245:
246: ## --------------------- ##
247: ## M4sh Shell Functions. ##
248: ## --------------------- ##
249: # as_fn_unset VAR
250: # ---------------
251: # Portably unset VAR.
252: as_fn_unset ()
253: {
254: { eval $1=; unset $1;}
255: }
256: as_unset=as_fn_unset
257:
258: # as_fn_set_status STATUS
259: # -----------------------
260: # Set $? to STATUS, without forking.
261: as_fn_set_status ()
262: {
263: return $1
264: } # as_fn_set_status
265:
266: # as_fn_exit STATUS
267: # -----------------
268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269: as_fn_exit ()
270: {
271: set +e
272: as_fn_set_status $1
273: exit $1
274: } # as_fn_exit
275:
276: # as_fn_mkdir_p
277: # -------------
278: # Create "$as_dir" as a directory, including parents if necessary.
279: as_fn_mkdir_p ()
280: {
281:
282: case $as_dir in #(
283: -*) as_dir=./$as_dir;;
284: esac
285: test -d "$as_dir" || eval $as_mkdir_p || {
286: as_dirs=
287: while :; do
288: case $as_dir in #(
289: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290: *) as_qdir=$as_dir;;
291: esac
292: as_dirs="'$as_qdir' $as_dirs"
293: as_dir=`$as_dirname -- "$as_dir" ||
294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295: X"$as_dir" : 'X\(//\)[^/]' \| \
296: X"$as_dir" : 'X\(//\)$' \| \
297: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298: $as_echo X"$as_dir" |
299: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300: s//\1/
301: q
302: }
303: /^X\(\/\/\)[^/].*/{
304: s//\1/
305: q
306: }
307: /^X\(\/\/\)$/{
308: s//\1/
309: q
310: }
311: /^X\(\/\).*/{
312: s//\1/
313: q
314: }
315: s/.*/./; q'`
316: test -d "$as_dir" && break
317: done
318: test -z "$as_dirs" || eval "mkdir $as_dirs"
319: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320:
321:
322: } # as_fn_mkdir_p
323: # as_fn_append VAR VALUE
324: # ----------------------
325: # Append the text in VALUE to the end of the definition contained in VAR. Take
326: # advantage of any shell optimizations that allow amortized linear growth over
327: # repeated appends, instead of the typical quadratic growth present in naive
328: # implementations.
329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330: eval 'as_fn_append ()
331: {
332: eval $1+=\$2
333: }'
334: else
335: as_fn_append ()
336: {
337: eval $1=\$$1\$2
338: }
339: fi # as_fn_append
340:
341: # as_fn_arith ARG...
342: # ------------------
343: # Perform arithmetic evaluation on the ARGs, and store the result in the
344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
345: # must be portable across $(()) and expr.
346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347: eval 'as_fn_arith ()
348: {
349: as_val=$(( $* ))
350: }'
351: else
352: as_fn_arith ()
353: {
354: as_val=`expr "$@" || test $? -eq 1`
355: }
356: fi # as_fn_arith
357:
358:
359: # as_fn_error STATUS ERROR [LINENO LOG_FD]
360: # ----------------------------------------
361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363: # script with STATUS, using 1 if that was 0.
364: as_fn_error ()
365: {
366: as_status=$1; test $as_status -eq 0 && as_status=1
367: if test "$4"; then
368: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370: fi
371: $as_echo "$as_me: error: $2" >&2
372: as_fn_exit $as_status
373: } # as_fn_error
374:
375: if expr a : '\(a\)' >/dev/null 2>&1 &&
376: test "X`expr 00001 : '.*\(...\)'`" = X001; then
377: as_expr=expr
378: else
379: as_expr=false
380: fi
381:
382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383: as_basename=basename
384: else
385: as_basename=false
386: fi
387:
388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389: as_dirname=dirname
390: else
391: as_dirname=false
392: fi
393:
394: as_me=`$as_basename -- "$0" ||
395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396: X"$0" : 'X\(//\)$' \| \
397: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398: $as_echo X/"$0" |
399: sed '/^.*\/\([^/][^/]*\)\/*$/{
400: s//\1/
401: q
402: }
403: /^X\/\(\/\/\)$/{
404: s//\1/
405: q
406: }
407: /^X\/\(\/\).*/{
408: s//\1/
409: q
410: }
411: s/.*/./; q'`
412:
413: # Avoid depending upon Character Ranges.
414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417: as_cr_digits='0123456789'
418: as_cr_alnum=$as_cr_Letters$as_cr_digits
419:
420:
421: as_lineno_1=$LINENO as_lineno_1a=$LINENO
422: as_lineno_2=$LINENO as_lineno_2a=$LINENO
423: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426: sed -n '
427: p
428: /[$]LINENO/=
429: ' <$as_myself |
430: sed '
431: s/[$]LINENO.*/&-/
432: t lineno
433: b
434: :lineno
435: N
436: :loop
437: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438: t loop
439: s/-\n.*//
440: ' >$as_me.lineno &&
441: chmod +x "$as_me.lineno" ||
442: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443:
444: # Don't try to exec as it changes $[0], causing all sort of problems
445: # (the dirname of $[0] is not the place where we might find the
446: # original and so on. Autoconf is especially sensitive to this).
447: . "./$as_me.lineno"
448: # Exit status is that of the last command.
449: exit
450: }
451:
452: ECHO_C= ECHO_N= ECHO_T=
453: case `echo -n x` in #(((((
454: -n*)
455: case `echo 'xy\c'` in
456: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457: xy) ECHO_C='\c';;
458: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459: ECHO_T=' ';;
460: esac;;
461: *)
462: ECHO_N='-n';;
463: esac
464:
465: rm -f conf$$ conf$$.exe conf$$.file
466: if test -d conf$$.dir; then
467: rm -f conf$$.dir/conf$$.file
468: else
469: rm -f conf$$.dir
470: mkdir conf$$.dir 2>/dev/null
471: fi
472: if (echo >conf$$.file) 2>/dev/null; then
473: if ln -s conf$$.file conf$$ 2>/dev/null; then
474: as_ln_s='ln -s'
475: # ... but there are two gotchas:
476: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478: # In both cases, we have to default to `cp -p'.
479: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480: as_ln_s='cp -p'
481: elif ln conf$$.file conf$$ 2>/dev/null; then
482: as_ln_s=ln
483: else
484: as_ln_s='cp -p'
485: fi
486: else
487: as_ln_s='cp -p'
488: fi
489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490: rmdir conf$$.dir 2>/dev/null
491:
492: if mkdir -p . 2>/dev/null; then
493: as_mkdir_p='mkdir -p "$as_dir"'
494: else
495: test -d ./-p && rmdir ./-p
496: as_mkdir_p=false
497: fi
498:
499: if test -x / >/dev/null 2>&1; then
500: as_test_x='test -x'
501: else
502: if ls -dL / >/dev/null 2>&1; then
503: as_ls_L_option=L
504: else
505: as_ls_L_option=
506: fi
507: as_test_x='
508: eval sh -c '\''
509: if test -d "$1"; then
510: test -d "$1/.";
511: else
512: case $1 in #(
513: -*)set "./$1";;
514: esac;
515: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516: ???[sx]*):;;*)false;;esac;fi
517: '\'' sh
518: '
519: fi
520: as_executable_p=$as_test_x
521:
522: # Sed expression to map a string onto a valid CPP name.
523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524:
525: # Sed expression to map a string onto a valid variable name.
526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527:
528:
529: test -n "$DJDIR" || exec 7<&0 </dev/null
530: exec 6>&1
531:
532: # Name of the host.
533: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534: # so uname gets run too.
535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536:
537: #
538: # Initializations.
539: #
540: ac_default_prefix=/usr/local
541: ac_clean_files=
542: ac_config_libobj_dir=.
543: LIBOBJS=
544: cross_compiling=no
545: subdirs=
546: MFLAGS=
547: MAKEFLAGS=
548:
549: # Identity of this package.
550: PACKAGE_NAME='rpl'
551: PACKAGE_TARNAME='rpl'
552: PACKAGE_VERSION='4.0.22'
553: PACKAGE_STRING='rpl 4.0.22'
554: PACKAGE_BUGREPORT=''
555: PACKAGE_URL=''
556:
557: ac_default_prefix=/usr/local
558: # Factoring default headers for most tests.
559: ac_includes_default="\
560: #include <stdio.h>
561: #ifdef HAVE_SYS_TYPES_H
562: # include <sys/types.h>
563: #endif
564: #ifdef HAVE_SYS_STAT_H
565: # include <sys/stat.h>
566: #endif
567: #ifdef STDC_HEADERS
568: # include <stdlib.h>
569: # include <stddef.h>
570: #else
571: # ifdef HAVE_STDLIB_H
572: # include <stdlib.h>
573: # endif
574: #endif
575: #ifdef HAVE_STRING_H
576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577: # include <memory.h>
578: # endif
579: # include <string.h>
580: #endif
581: #ifdef HAVE_STRINGS_H
582: # include <strings.h>
583: #endif
584: #ifdef HAVE_INTTYPES_H
585: # include <inttypes.h>
586: #endif
587: #ifdef HAVE_STDINT_H
588: # include <stdint.h>
589: #endif
590: #ifdef HAVE_UNISTD_H
591: # include <unistd.h>
592: #endif"
593:
594: enable_option_checking=no
595: ac_subst_vars='am__EXEEXT_FALSE
596: am__EXEEXT_TRUE
597: LTLIBOBJS
598: LIBOBJS
599: MALLOC
600: EXT_SQL
601: DATE_FR
602: FINAL_ENCODING
603: OPENSSL
604: SQLITE
605: ICONV
606: FILE
607: GNUPLOT
608: GPP
609: GSL
610: UNITS
611: READLINE
612: NCURSES
613: BSH_PATH
614: BROKEN_SIGINFO
615: IPV6
616: SEMUN
617: IPCS_SYSV
618: SEMAPHORES_NOMMES
619: NESTED_FUNCTIONS
620: EXPORT_DYNAMIC
621: C_STANDARD
622: OS
623: GNUPLOT_COMPILATION
624: subdirs
625: EGREP
626: GREP
627: libPgSQLlib
628: libPgSQLinc
629: POSTGRESQL_SUPPORT
630: libMySQLlib
631: libMySQLinc
632: MYSQL_SUPPORT
633: DATE
634: includeX
635: libX
636: MOTIF_SUPPORT
637: DEBUG
638: EXPERIMENTAL_CODE
639: VIM_SUPPORT
640: POSTSCRIPT_SUPPORT
641: FORCE_GNUPLOT_PATH
642: GNUPLOT_SUPPORT
643: VIM
644: GNUPLOT_P
645: GV
646: GS
647: DVIPS
648: LATEX
649: TEX
650: SED
651: RANLIB
652: LN_S
653: RUNPATH
654: PROFILAGE
655: X_EXTRA_LIBS
656: X_LIBS
657: X_PRE_LIBS
658: X_CFLAGS
659: CPP
660: XMKMF
661: ac_ct_FC
662: FCFLAGS
663: FC
664: ac_ct_F77
665: FFLAGS
666: F77
667: am__fastdepCXX_FALSE
668: am__fastdepCXX_TRUE
669: CXXDEPMODE
670: ac_ct_CXX
671: CXXFLAGS
672: CXX
673: am__fastdepCC_FALSE
674: am__fastdepCC_TRUE
675: CCDEPMODE
676: AMDEPBACKSLASH
677: AMDEP_FALSE
678: AMDEP_TRUE
679: am__quote
680: am__include
681: DEPDIR
682: OBJEXT
683: EXEEXT
684: ac_ct_CC
685: CPPFLAGS
686: LDFLAGS
687: CFLAGS
688: CC
689: am__untar
690: am__tar
691: AMTAR
692: am__leading_dot
693: SET_MAKE
694: AWK
695: mkdir_p
696: MKDIR_P
697: INSTALL_STRIP_PROGRAM
698: STRIP
699: install_sh
700: MAKEINFO
701: AUTOHEADER
702: AUTOMAKE
703: AUTOCONF
704: ACLOCAL
705: VERSION
706: PACKAGE
707: CYGPATH_W
708: am__isrc
709: INSTALL_DATA
710: INSTALL_SCRIPT
711: INSTALL_PROGRAM
712: target_os
713: target_vendor
714: target_cpu
715: target
716: host_os
717: host_vendor
718: host_cpu
719: host
720: build_os
721: build_vendor
722: build_cpu
723: build
724: target_alias
725: host_alias
726: build_alias
727: LIBS
728: ECHO_T
729: ECHO_N
730: ECHO_C
731: DEFS
732: mandir
733: localedir
734: libdir
735: psdir
736: pdfdir
737: dvidir
738: htmldir
739: infodir
740: docdir
741: oldincludedir
742: includedir
743: localstatedir
744: sharedstatedir
745: sysconfdir
746: datadir
747: datarootdir
748: libexecdir
749: sbindir
750: bindir
751: program_transform_name
752: prefix
753: exec_prefix
754: PACKAGE_URL
755: PACKAGE_BUGREPORT
756: PACKAGE_STRING
757: PACKAGE_VERSION
758: PACKAGE_TARNAME
759: PACKAGE_NAME
760: PATH_SEPARATOR
761: SHELL'
762: ac_subst_files=''
763: ac_user_opts='
764: enable_option_checking
765: enable_dependency_tracking
766: with_x
767: enable_optimization
768: enable_sysv_semaphores
769: enable_full_static
770: enable_final_encoding
771: enable_tex
772: enable_vim
773: enable_embedded_gnuplot
774: enable_gnuplot
775: enable_motif
776: enable_experimental
777: enable_debug
778: enable_profile
779: enable_final_run_path
780: with_mysql
781: with_postgresql
782: with_bourne_shell
783: with_openssl_arch
784: '
785: ac_precious_vars='build_alias
786: host_alias
787: target_alias
788: CC
789: CFLAGS
790: LDFLAGS
791: LIBS
792: CPPFLAGS
793: CXX
794: CXXFLAGS
795: CCC
796: F77
797: FFLAGS
798: FC
799: FCFLAGS
800: XMKMF
801: CPP'
802: ac_subdirs_all='tools/$NCURSES
803: tools/$READLINE
804: tools/$GSL
805: tools/$GPP
806: tools/$FILE
807: tools/$ICONV
808: tools/$SQLITE
809: tools/$UNITS
810: tools/$GNUPLOT'
811:
812: # Initialize some variables set by options.
813: ac_init_help=
814: ac_init_version=false
815: ac_unrecognized_opts=
816: ac_unrecognized_sep=
817: # The variables have the same names as the options, with
818: # dashes changed to underlines.
819: cache_file=/dev/null
820: exec_prefix=NONE
821: no_create=
822: no_recursion=
823: prefix=NONE
824: program_prefix=NONE
825: program_suffix=NONE
826: program_transform_name=s,x,x,
827: silent=
828: site=
829: srcdir=
830: verbose=
831: x_includes=NONE
832: x_libraries=NONE
833:
834: # Installation directory options.
835: # These are left unexpanded so users can "make install exec_prefix=/foo"
836: # and all the variables that are supposed to be based on exec_prefix
837: # by default will actually change.
838: # Use braces instead of parens because sh, perl, etc. also accept them.
839: # (The list follows the same order as the GNU Coding Standards.)
840: bindir='${exec_prefix}/bin'
841: sbindir='${exec_prefix}/sbin'
842: libexecdir='${exec_prefix}/libexec'
843: datarootdir='${prefix}/share'
844: datadir='${datarootdir}'
845: sysconfdir='${prefix}/etc'
846: sharedstatedir='${prefix}/com'
847: localstatedir='${prefix}/var'
848: includedir='${prefix}/include'
849: oldincludedir='/usr/include'
850: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
851: infodir='${datarootdir}/info'
852: htmldir='${docdir}'
853: dvidir='${docdir}'
854: pdfdir='${docdir}'
855: psdir='${docdir}'
856: libdir='${exec_prefix}/lib'
857: localedir='${datarootdir}/locale'
858: mandir='${datarootdir}/man'
859:
860: ac_prev=
861: ac_dashdash=
862: for ac_option
863: do
864: # If the previous option needs an argument, assign it.
865: if test -n "$ac_prev"; then
866: eval $ac_prev=\$ac_option
867: ac_prev=
868: continue
869: fi
870:
871: case $ac_option in
872: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
873: *=) ac_optarg= ;;
874: *) ac_optarg=yes ;;
875: esac
876:
877: # Accept the important Cygnus configure options, so we can diagnose typos.
878:
879: case $ac_dashdash$ac_option in
880: --)
881: ac_dashdash=yes ;;
882:
883: -bindir | --bindir | --bindi | --bind | --bin | --bi)
884: ac_prev=bindir ;;
885: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
886: bindir=$ac_optarg ;;
887:
888: -build | --build | --buil | --bui | --bu)
889: ac_prev=build_alias ;;
890: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
891: build_alias=$ac_optarg ;;
892:
893: -cache-file | --cache-file | --cache-fil | --cache-fi \
894: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
895: ac_prev=cache_file ;;
896: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
897: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
898: cache_file=$ac_optarg ;;
899:
900: --config-cache | -C)
901: cache_file=config.cache ;;
902:
903: -datadir | --datadir | --datadi | --datad)
904: ac_prev=datadir ;;
905: -datadir=* | --datadir=* | --datadi=* | --datad=*)
906: datadir=$ac_optarg ;;
907:
908: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
909: | --dataroo | --dataro | --datar)
910: ac_prev=datarootdir ;;
911: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
912: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
913: datarootdir=$ac_optarg ;;
914:
915: -disable-* | --disable-*)
916: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
917: # Reject names that are not valid shell variable names.
918: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919: as_fn_error $? "invalid feature name: $ac_useropt"
920: ac_useropt_orig=$ac_useropt
921: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922: case $ac_user_opts in
923: *"
924: "enable_$ac_useropt"
925: "*) ;;
926: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
927: ac_unrecognized_sep=', ';;
928: esac
929: eval enable_$ac_useropt=no ;;
930:
931: -docdir | --docdir | --docdi | --doc | --do)
932: ac_prev=docdir ;;
933: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934: docdir=$ac_optarg ;;
935:
936: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
937: ac_prev=dvidir ;;
938: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939: dvidir=$ac_optarg ;;
940:
941: -enable-* | --enable-*)
942: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943: # Reject names that are not valid shell variable names.
944: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
945: as_fn_error $? "invalid feature name: $ac_useropt"
946: ac_useropt_orig=$ac_useropt
947: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948: case $ac_user_opts in
949: *"
950: "enable_$ac_useropt"
951: "*) ;;
952: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
953: ac_unrecognized_sep=', ';;
954: esac
955: eval enable_$ac_useropt=\$ac_optarg ;;
956:
957: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
958: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
959: | --exec | --exe | --ex)
960: ac_prev=exec_prefix ;;
961: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
962: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
963: | --exec=* | --exe=* | --ex=*)
964: exec_prefix=$ac_optarg ;;
965:
966: -gas | --gas | --ga | --g)
967: # Obsolete; use --with-gas.
968: with_gas=yes ;;
969:
970: -help | --help | --hel | --he | -h)
971: ac_init_help=long ;;
972: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
973: ac_init_help=recursive ;;
974: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
975: ac_init_help=short ;;
976:
977: -host | --host | --hos | --ho)
978: ac_prev=host_alias ;;
979: -host=* | --host=* | --hos=* | --ho=*)
980: host_alias=$ac_optarg ;;
981:
982: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
983: ac_prev=htmldir ;;
984: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
985: | --ht=*)
986: htmldir=$ac_optarg ;;
987:
988: -includedir | --includedir | --includedi | --included | --include \
989: | --includ | --inclu | --incl | --inc)
990: ac_prev=includedir ;;
991: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
992: | --includ=* | --inclu=* | --incl=* | --inc=*)
993: includedir=$ac_optarg ;;
994:
995: -infodir | --infodir | --infodi | --infod | --info | --inf)
996: ac_prev=infodir ;;
997: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
998: infodir=$ac_optarg ;;
999:
1000: -libdir | --libdir | --libdi | --libd)
1001: ac_prev=libdir ;;
1002: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1003: libdir=$ac_optarg ;;
1004:
1005: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1006: | --libexe | --libex | --libe)
1007: ac_prev=libexecdir ;;
1008: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1009: | --libexe=* | --libex=* | --libe=*)
1010: libexecdir=$ac_optarg ;;
1011:
1012: -localedir | --localedir | --localedi | --localed | --locale)
1013: ac_prev=localedir ;;
1014: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1015: localedir=$ac_optarg ;;
1016:
1017: -localstatedir | --localstatedir | --localstatedi | --localstated \
1018: | --localstate | --localstat | --localsta | --localst | --locals)
1019: ac_prev=localstatedir ;;
1020: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1021: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1022: localstatedir=$ac_optarg ;;
1023:
1024: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1025: ac_prev=mandir ;;
1026: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1027: mandir=$ac_optarg ;;
1028:
1029: -nfp | --nfp | --nf)
1030: # Obsolete; use --without-fp.
1031: with_fp=no ;;
1032:
1033: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1034: | --no-cr | --no-c | -n)
1035: no_create=yes ;;
1036:
1037: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1038: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1039: no_recursion=yes ;;
1040:
1041: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1042: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1043: | --oldin | --oldi | --old | --ol | --o)
1044: ac_prev=oldincludedir ;;
1045: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1046: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1047: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1048: oldincludedir=$ac_optarg ;;
1049:
1050: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1051: ac_prev=prefix ;;
1052: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1053: prefix=$ac_optarg ;;
1054:
1055: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1056: | --program-pre | --program-pr | --program-p)
1057: ac_prev=program_prefix ;;
1058: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1059: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1060: program_prefix=$ac_optarg ;;
1061:
1062: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1063: | --program-suf | --program-su | --program-s)
1064: ac_prev=program_suffix ;;
1065: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1066: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1067: program_suffix=$ac_optarg ;;
1068:
1069: -program-transform-name | --program-transform-name \
1070: | --program-transform-nam | --program-transform-na \
1071: | --program-transform-n | --program-transform- \
1072: | --program-transform | --program-transfor \
1073: | --program-transfo | --program-transf \
1074: | --program-trans | --program-tran \
1075: | --progr-tra | --program-tr | --program-t)
1076: ac_prev=program_transform_name ;;
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: program_transform_name=$ac_optarg ;;
1085:
1086: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1087: ac_prev=pdfdir ;;
1088: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1089: pdfdir=$ac_optarg ;;
1090:
1091: -psdir | --psdir | --psdi | --psd | --ps)
1092: ac_prev=psdir ;;
1093: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1094: psdir=$ac_optarg ;;
1095:
1096: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097: | -silent | --silent | --silen | --sile | --sil)
1098: silent=yes ;;
1099:
1100: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1101: ac_prev=sbindir ;;
1102: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1103: | --sbi=* | --sb=*)
1104: sbindir=$ac_optarg ;;
1105:
1106: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1107: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1108: | --sharedst | --shareds | --shared | --share | --shar \
1109: | --sha | --sh)
1110: ac_prev=sharedstatedir ;;
1111: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1112: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1113: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1114: | --sha=* | --sh=*)
1115: sharedstatedir=$ac_optarg ;;
1116:
1117: -site | --site | --sit)
1118: ac_prev=site ;;
1119: -site=* | --site=* | --sit=*)
1120: site=$ac_optarg ;;
1121:
1122: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1123: ac_prev=srcdir ;;
1124: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1125: srcdir=$ac_optarg ;;
1126:
1127: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1128: | --syscon | --sysco | --sysc | --sys | --sy)
1129: ac_prev=sysconfdir ;;
1130: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1131: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1132: sysconfdir=$ac_optarg ;;
1133:
1134: -target | --target | --targe | --targ | --tar | --ta | --t)
1135: ac_prev=target_alias ;;
1136: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1137: target_alias=$ac_optarg ;;
1138:
1139: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1140: verbose=yes ;;
1141:
1142: -version | --version | --versio | --versi | --vers | -V)
1143: ac_init_version=: ;;
1144:
1145: -with-* | --with-*)
1146: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1147: # Reject names that are not valid shell variable names.
1148: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149: as_fn_error $? "invalid package name: $ac_useropt"
1150: ac_useropt_orig=$ac_useropt
1151: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152: case $ac_user_opts in
1153: *"
1154: "with_$ac_useropt"
1155: "*) ;;
1156: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1157: ac_unrecognized_sep=', ';;
1158: esac
1159: eval with_$ac_useropt=\$ac_optarg ;;
1160:
1161: -without-* | --without-*)
1162: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1163: # Reject names that are not valid shell variable names.
1164: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165: as_fn_error $? "invalid package name: $ac_useropt"
1166: ac_useropt_orig=$ac_useropt
1167: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168: case $ac_user_opts in
1169: *"
1170: "with_$ac_useropt"
1171: "*) ;;
1172: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1173: ac_unrecognized_sep=', ';;
1174: esac
1175: eval with_$ac_useropt=no ;;
1176:
1177: --x)
1178: # Obsolete; use --with-x.
1179: with_x=yes ;;
1180:
1181: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1182: | --x-incl | --x-inc | --x-in | --x-i)
1183: ac_prev=x_includes ;;
1184: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1185: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1186: x_includes=$ac_optarg ;;
1187:
1188: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1189: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1190: ac_prev=x_libraries ;;
1191: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1192: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1193: x_libraries=$ac_optarg ;;
1194:
1195: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1196: Try \`$0 --help' for more information"
1197: ;;
1198:
1199: *=*)
1200: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1201: # Reject names that are not valid shell variable names.
1202: case $ac_envvar in #(
1203: '' | [0-9]* | *[!_$as_cr_alnum]* )
1204: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1205: esac
1206: eval $ac_envvar=\$ac_optarg
1207: export $ac_envvar ;;
1208:
1209: *)
1210: # FIXME: should be removed in autoconf 3.0.
1211: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1212: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1213: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1214: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1215: ;;
1216:
1217: esac
1218: done
1219:
1220: if test -n "$ac_prev"; then
1221: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1222: as_fn_error $? "missing argument to $ac_option"
1223: fi
1224:
1225: if test -n "$ac_unrecognized_opts"; then
1226: case $enable_option_checking in
1227: no) ;;
1228: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1229: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1230: esac
1231: fi
1232:
1233: # Check all directory arguments for consistency.
1234: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1235: datadir sysconfdir sharedstatedir localstatedir includedir \
1236: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1237: libdir localedir mandir
1238: do
1239: eval ac_val=\$$ac_var
1240: # Remove trailing slashes.
1241: case $ac_val in
1242: */ )
1243: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1244: eval $ac_var=\$ac_val;;
1245: esac
1246: # Be sure to have absolute directory names.
1247: case $ac_val in
1248: [\\/$]* | ?:[\\/]* ) continue;;
1249: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1250: esac
1251: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1252: done
1253:
1254: # There might be people who depend on the old broken behavior: `$host'
1255: # used to hold the argument of --host etc.
1256: # FIXME: To remove some day.
1257: build=$build_alias
1258: host=$host_alias
1259: target=$target_alias
1260:
1261: # FIXME: To remove some day.
1262: if test "x$host_alias" != x; then
1263: if test "x$build_alias" = x; then
1264: cross_compiling=maybe
1265: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1266: If a cross compiler is detected then cross compile mode will be used" >&2
1267: elif test "x$build_alias" != "x$host_alias"; then
1268: cross_compiling=yes
1269: fi
1270: fi
1271:
1272: ac_tool_prefix=
1273: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1274:
1275: test "$silent" = yes && exec 6>/dev/null
1276:
1277:
1278: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1279: ac_ls_di=`ls -di .` &&
1280: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1281: as_fn_error $? "working directory cannot be determined"
1282: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283: as_fn_error $? "pwd does not report name of working directory"
1284:
1285:
1286: # Find the source files, if location was not specified.
1287: if test -z "$srcdir"; then
1288: ac_srcdir_defaulted=yes
1289: # Try the directory containing this script, then the parent directory.
1290: ac_confdir=`$as_dirname -- "$as_myself" ||
1291: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292: X"$as_myself" : 'X\(//\)[^/]' \| \
1293: X"$as_myself" : 'X\(//\)$' \| \
1294: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295: $as_echo X"$as_myself" |
1296: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297: s//\1/
1298: q
1299: }
1300: /^X\(\/\/\)[^/].*/{
1301: s//\1/
1302: q
1303: }
1304: /^X\(\/\/\)$/{
1305: s//\1/
1306: q
1307: }
1308: /^X\(\/\).*/{
1309: s//\1/
1310: q
1311: }
1312: s/.*/./; q'`
1313: srcdir=$ac_confdir
1314: if test ! -r "$srcdir/$ac_unique_file"; then
1315: srcdir=..
1316: fi
1317: else
1318: ac_srcdir_defaulted=no
1319: fi
1320: if test ! -r "$srcdir/$ac_unique_file"; then
1321: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1322: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1323: fi
1324: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1325: ac_abs_confdir=`(
1326: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327: pwd)`
1328: # When building in place, set srcdir=.
1329: if test "$ac_abs_confdir" = "$ac_pwd"; then
1330: srcdir=.
1331: fi
1332: # Remove unnecessary trailing slashes from srcdir.
1333: # Double slashes in file names in object file debugging info
1334: # mess up M-x gdb in Emacs.
1335: case $srcdir in
1336: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337: esac
1338: for ac_var in $ac_precious_vars; do
1339: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1340: eval ac_env_${ac_var}_value=\$${ac_var}
1341: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1342: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1343: done
1344:
1345: #
1346: # Report the --help message.
1347: #
1348: if test "$ac_init_help" = "long"; then
1349: # Omit some internal or obsolete options to make the list less imposing.
1350: # This message is too long to be a string in the A/UX 3.1 sh.
1351: cat <<_ACEOF
1352: \`configure' configures rpl 4.0.22 to adapt to many kinds of systems.
1353:
1354: Usage: $0 [OPTION]... [VAR=VALUE]...
1355:
1356: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357: VAR=VALUE. See below for descriptions of some of the useful variables.
1358:
1359: Defaults for the options are specified in brackets.
1360:
1361: Configuration:
1362: -h, --help display this help and exit
1363: --help=short display options specific to this package
1364: --help=recursive display the short help of all the included packages
1365: -V, --version display version information and exit
1366: -q, --quiet, --silent do not print \`checking ...' messages
1367: --cache-file=FILE cache test results in FILE [disabled]
1368: -C, --config-cache alias for \`--cache-file=config.cache'
1369: -n, --no-create do not create output files
1370: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1371:
1372: Installation directories:
1373: --prefix=PREFIX install architecture-independent files in PREFIX
1374: [$ac_default_prefix]
1375: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1376: [PREFIX]
1377:
1378: By default, \`make install' will install all the files in
1379: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381: for instance \`--prefix=\$HOME'.
1382:
1383: For better control, use the options below.
1384:
1385: Fine tuning of the installation directories:
1386: --bindir=DIR user executables [EPREFIX/bin]
1387: --sbindir=DIR system admin executables [EPREFIX/sbin]
1388: --libexecdir=DIR program executables [EPREFIX/libexec]
1389: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392: --libdir=DIR object code libraries [EPREFIX/lib]
1393: --includedir=DIR C header files [PREFIX/include]
1394: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397: --infodir=DIR info documentation [DATAROOTDIR/info]
1398: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399: --mandir=DIR man documentation [DATAROOTDIR/man]
1400: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl]
1401: --htmldir=DIR html documentation [DOCDIR]
1402: --dvidir=DIR dvi documentation [DOCDIR]
1403: --pdfdir=DIR pdf documentation [DOCDIR]
1404: --psdir=DIR ps documentation [DOCDIR]
1405: _ACEOF
1406:
1407: cat <<\_ACEOF
1408:
1409: Program names:
1410: --program-prefix=PREFIX prepend PREFIX to installed program names
1411: --program-suffix=SUFFIX append SUFFIX to installed program names
1412: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1413:
1414: X features:
1415: --x-includes=DIR X include files are in DIR
1416: --x-libraries=DIR X library files are in DIR
1417:
1418: System types:
1419: --build=BUILD configure for building on BUILD [guessed]
1420: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1421: --target=TARGET configure for building compilers for TARGET [HOST]
1422: _ACEOF
1423: fi
1424:
1425: if test -n "$ac_init_help"; then
1426: case $ac_init_help in
1427: short | recursive ) echo "Configuration of rpl 4.0.22:";;
1428: esac
1429: cat <<\_ACEOF
1430:
1431: Optional Features:
1432: --disable-option-checking ignore unrecognized --enable/--with options
1433: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1434: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1435: --disable-dependency-tracking speeds up one-time build
1436: --enable-dependency-tracking do not reject slow dependency extractors
1437: --enable-optimization set compiler flags [default=environment variables -O3]
1438: --enable-sysv-ipcs use SystemV IPC functions [default=no]
1439: --enable-full-static build static RPL/2 engine [default=shared]
1440: --enable-final-encoding force final encoding [default=guessed]
1441: --enable-tex provide the TeX support [default=guessed]
1442: --enable-vim provide the vim support [default=guessed]
1443: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
1444: --enable-gnuplot provide the GnuPlot support [default=guessed]
1445: --enable-motif provide the Motif support [default=guessed]
1446: --enable-experimental enable experimental code [default=no]
1447: --enable-debug enable debug code [default=no]
1448: --enable-profile enable profile code [default=no]
1449: --enable-final-run-path=PATH enable another final run path than PREFIX
1450:
1451: Optional Packages:
1452: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1453: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1454: --with-x use the X Window System
1455: --with-mysql=PATH specify directory for installed mysql
1456: --with-postgresql=PATH specify directory for installed postgresql
1457: --with-bourne-shell=PATH specify path for OS/2 bourne shell
1458: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)
1459:
1460: Some influential environment variables:
1461: CC C compiler command
1462: CFLAGS C compiler flags
1463: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1464: nonstandard directory <lib dir>
1465: LIBS libraries to pass to the linker, e.g. -l<library>
1466: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1467: you have headers in a nonstandard directory <include dir>
1468: CXX C++ compiler command
1469: CXXFLAGS C++ compiler flags
1470: F77 Fortran 77 compiler command
1471: FFLAGS Fortran 77 compiler flags
1472: FC Fortran compiler command
1473: FCFLAGS Fortran compiler flags
1474: XMKMF Path to xmkmf, Makefile generator for X Window System
1475: CPP C preprocessor
1476:
1477: Use these variables to override the choices made by `configure' or to help
1478: it to find libraries and programs with nonstandard names/locations.
1479:
1480: Report bugs to the package provider.
1481: _ACEOF
1482: ac_status=$?
1483: fi
1484:
1485: if test "$ac_init_help" = "recursive"; then
1486: # If there are subdirs, report their specific --help.
1487: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1488: test -d "$ac_dir" ||
1489: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1490: continue
1491: ac_builddir=.
1492:
1493: case "$ac_dir" in
1494: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495: *)
1496: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1497: # A ".." for each directory in $ac_dir_suffix.
1498: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1499: case $ac_top_builddir_sub in
1500: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502: esac ;;
1503: esac
1504: ac_abs_top_builddir=$ac_pwd
1505: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1506: # for backward compatibility:
1507: ac_top_builddir=$ac_top_build_prefix
1508:
1509: case $srcdir in
1510: .) # We are building in place.
1511: ac_srcdir=.
1512: ac_top_srcdir=$ac_top_builddir_sub
1513: ac_abs_top_srcdir=$ac_pwd ;;
1514: [\\/]* | ?:[\\/]* ) # Absolute name.
1515: ac_srcdir=$srcdir$ac_dir_suffix;
1516: ac_top_srcdir=$srcdir
1517: ac_abs_top_srcdir=$srcdir ;;
1518: *) # Relative name.
1519: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520: ac_top_srcdir=$ac_top_build_prefix$srcdir
1521: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522: esac
1523: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524:
1525: cd "$ac_dir" || { ac_status=$?; continue; }
1526: # Check for guested configure.
1527: if test -f "$ac_srcdir/configure.gnu"; then
1528: echo &&
1529: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530: elif test -f "$ac_srcdir/configure"; then
1531: echo &&
1532: $SHELL "$ac_srcdir/configure" --help=recursive
1533: else
1534: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535: fi || ac_status=$?
1536: cd "$ac_pwd" || { ac_status=$?; break; }
1537: done
1538: fi
1539:
1540: test -n "$ac_init_help" && exit $ac_status
1541: if $ac_init_version; then
1542: cat <<\_ACEOF
1543: rpl configure 4.0.22
1544: generated by GNU Autoconf 2.67
1545:
1546: Copyright (C) 2010 Free Software Foundation, Inc.
1547: This configure script is free software; the Free Software Foundation
1548: gives unlimited permission to copy, distribute and modify it.
1549: _ACEOF
1550: exit
1551: fi
1552:
1553: ## ------------------------ ##
1554: ## Autoconf initialization. ##
1555: ## ------------------------ ##
1556:
1557: # ac_fn_c_try_compile LINENO
1558: # --------------------------
1559: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560: ac_fn_c_try_compile ()
1561: {
1562: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563: rm -f conftest.$ac_objext
1564: if { { ac_try="$ac_compile"
1565: case "(($ac_try" in
1566: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567: *) ac_try_echo=$ac_try;;
1568: esac
1569: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570: $as_echo "$ac_try_echo"; } >&5
1571: (eval "$ac_compile") 2>conftest.err
1572: ac_status=$?
1573: if test -s conftest.err; then
1574: grep -v '^ *+' conftest.err >conftest.er1
1575: cat conftest.er1 >&5
1576: mv -f conftest.er1 conftest.err
1577: fi
1578: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579: test $ac_status = 0; } && {
1580: test -z "$ac_c_werror_flag" ||
1581: test ! -s conftest.err
1582: } && test -s conftest.$ac_objext; then :
1583: ac_retval=0
1584: else
1585: $as_echo "$as_me: failed program was:" >&5
1586: sed 's/^/| /' conftest.$ac_ext >&5
1587:
1588: ac_retval=1
1589: fi
1590: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591: as_fn_set_status $ac_retval
1592:
1593: } # ac_fn_c_try_compile
1594:
1595: # ac_fn_cxx_try_compile LINENO
1596: # ----------------------------
1597: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1598: ac_fn_cxx_try_compile ()
1599: {
1600: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601: rm -f conftest.$ac_objext
1602: if { { ac_try="$ac_compile"
1603: case "(($ac_try" in
1604: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605: *) ac_try_echo=$ac_try;;
1606: esac
1607: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608: $as_echo "$ac_try_echo"; } >&5
1609: (eval "$ac_compile") 2>conftest.err
1610: ac_status=$?
1611: if test -s conftest.err; then
1612: grep -v '^ *+' conftest.err >conftest.er1
1613: cat conftest.er1 >&5
1614: mv -f conftest.er1 conftest.err
1615: fi
1616: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617: test $ac_status = 0; } && {
1618: test -z "$ac_cxx_werror_flag" ||
1619: test ! -s conftest.err
1620: } && test -s conftest.$ac_objext; then :
1621: ac_retval=0
1622: else
1623: $as_echo "$as_me: failed program was:" >&5
1624: sed 's/^/| /' conftest.$ac_ext >&5
1625:
1626: ac_retval=1
1627: fi
1628: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1629: as_fn_set_status $ac_retval
1630:
1631: } # ac_fn_cxx_try_compile
1632:
1633: # ac_fn_f77_try_compile LINENO
1634: # ----------------------------
1635: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1636: ac_fn_f77_try_compile ()
1637: {
1638: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639: rm -f conftest.$ac_objext
1640: if { { ac_try="$ac_compile"
1641: case "(($ac_try" in
1642: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643: *) ac_try_echo=$ac_try;;
1644: esac
1645: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646: $as_echo "$ac_try_echo"; } >&5
1647: (eval "$ac_compile") 2>conftest.err
1648: ac_status=$?
1649: if test -s conftest.err; then
1650: grep -v '^ *+' conftest.err >conftest.er1
1651: cat conftest.er1 >&5
1652: mv -f conftest.er1 conftest.err
1653: fi
1654: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655: test $ac_status = 0; } && {
1656: test -z "$ac_f77_werror_flag" ||
1657: test ! -s conftest.err
1658: } && test -s conftest.$ac_objext; then :
1659: ac_retval=0
1660: else
1661: $as_echo "$as_me: failed program was:" >&5
1662: sed 's/^/| /' conftest.$ac_ext >&5
1663:
1664: ac_retval=1
1665: fi
1666: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667: as_fn_set_status $ac_retval
1668:
1669: } # ac_fn_f77_try_compile
1670:
1671: # ac_fn_fc_try_compile LINENO
1672: # ---------------------------
1673: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674: ac_fn_fc_try_compile ()
1675: {
1676: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677: rm -f conftest.$ac_objext
1678: if { { ac_try="$ac_compile"
1679: case "(($ac_try" in
1680: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681: *) ac_try_echo=$ac_try;;
1682: esac
1683: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684: $as_echo "$ac_try_echo"; } >&5
1685: (eval "$ac_compile") 2>conftest.err
1686: ac_status=$?
1687: if test -s conftest.err; then
1688: grep -v '^ *+' conftest.err >conftest.er1
1689: cat conftest.er1 >&5
1690: mv -f conftest.er1 conftest.err
1691: fi
1692: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693: test $ac_status = 0; } && {
1694: test -z "$ac_fc_werror_flag" ||
1695: test ! -s conftest.err
1696: } && test -s conftest.$ac_objext; then :
1697: ac_retval=0
1698: else
1699: $as_echo "$as_me: failed program was:" >&5
1700: sed 's/^/| /' conftest.$ac_ext >&5
1701:
1702: ac_retval=1
1703: fi
1704: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705: as_fn_set_status $ac_retval
1706:
1707: } # ac_fn_fc_try_compile
1708:
1709: # ac_fn_c_try_cpp LINENO
1710: # ----------------------
1711: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1712: ac_fn_c_try_cpp ()
1713: {
1714: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715: if { { ac_try="$ac_cpp conftest.$ac_ext"
1716: case "(($ac_try" in
1717: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718: *) ac_try_echo=$ac_try;;
1719: esac
1720: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721: $as_echo "$ac_try_echo"; } >&5
1722: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1723: ac_status=$?
1724: if test -s conftest.err; then
1725: grep -v '^ *+' conftest.err >conftest.er1
1726: cat conftest.er1 >&5
1727: mv -f conftest.er1 conftest.err
1728: fi
1729: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730: test $ac_status = 0; } > conftest.i && {
1731: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1732: test ! -s conftest.err
1733: }; then :
1734: ac_retval=0
1735: else
1736: $as_echo "$as_me: failed program was:" >&5
1737: sed 's/^/| /' conftest.$ac_ext >&5
1738:
1739: ac_retval=1
1740: fi
1741: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742: as_fn_set_status $ac_retval
1743:
1744: } # ac_fn_c_try_cpp
1745:
1746: # ac_fn_c_try_link LINENO
1747: # -----------------------
1748: # Try to link conftest.$ac_ext, and return whether this succeeded.
1749: ac_fn_c_try_link ()
1750: {
1751: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752: rm -f conftest.$ac_objext conftest$ac_exeext
1753: if { { ac_try="$ac_link"
1754: case "(($ac_try" in
1755: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1756: *) ac_try_echo=$ac_try;;
1757: esac
1758: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759: $as_echo "$ac_try_echo"; } >&5
1760: (eval "$ac_link") 2>conftest.err
1761: ac_status=$?
1762: if test -s conftest.err; then
1763: grep -v '^ *+' conftest.err >conftest.er1
1764: cat conftest.er1 >&5
1765: mv -f conftest.er1 conftest.err
1766: fi
1767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768: test $ac_status = 0; } && {
1769: test -z "$ac_c_werror_flag" ||
1770: test ! -s conftest.err
1771: } && test -s conftest$ac_exeext && {
1772: test "$cross_compiling" = yes ||
1773: $as_test_x conftest$ac_exeext
1774: }; then :
1775: ac_retval=0
1776: else
1777: $as_echo "$as_me: failed program was:" >&5
1778: sed 's/^/| /' conftest.$ac_ext >&5
1779:
1780: ac_retval=1
1781: fi
1782: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1783: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1784: # interfere with the next link command; also delete a directory that is
1785: # left behind by Apple's compiler. We do this before executing the actions.
1786: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788: as_fn_set_status $ac_retval
1789:
1790: } # ac_fn_c_try_link
1791:
1792: # ac_fn_c_check_func LINENO FUNC VAR
1793: # ----------------------------------
1794: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1795: ac_fn_c_check_func ()
1796: {
1797: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799: $as_echo_n "checking for $2... " >&6; }
1800: if eval "test \"\${$3+set}\"" = set; then :
1801: $as_echo_n "(cached) " >&6
1802: else
1803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804: /* end confdefs.h. */
1805: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1806: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1807: #define $2 innocuous_$2
1808:
1809: /* System header to define __stub macros and hopefully few prototypes,
1810: which can conflict with char $2 (); below.
1811: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1812: <limits.h> exists even on freestanding compilers. */
1813:
1814: #ifdef __STDC__
1815: # include <limits.h>
1816: #else
1817: # include <assert.h>
1818: #endif
1819:
1820: #undef $2
1821:
1822: /* Override any GCC internal prototype to avoid an error.
1823: Use char because int might match the return type of a GCC
1824: builtin and then its argument prototype would still apply. */
1825: #ifdef __cplusplus
1826: extern "C"
1827: #endif
1828: char $2 ();
1829: /* The GNU C library defines this for functions which it implements
1830: to always fail with ENOSYS. Some functions are actually named
1831: something starting with __ and the normal name is an alias. */
1832: #if defined __stub_$2 || defined __stub___$2
1833: choke me
1834: #endif
1835:
1836: int
1837: main ()
1838: {
1839: return $2 ();
1840: ;
1841: return 0;
1842: }
1843: _ACEOF
1844: if ac_fn_c_try_link "$LINENO"; then :
1845: eval "$3=yes"
1846: else
1847: eval "$3=no"
1848: fi
1849: rm -f core conftest.err conftest.$ac_objext \
1850: conftest$ac_exeext conftest.$ac_ext
1851: fi
1852: eval ac_res=\$$3
1853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854: $as_echo "$ac_res" >&6; }
1855: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856:
1857: } # ac_fn_c_check_func
1858:
1859: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1860: # -------------------------------------------
1861: # Tests whether TYPE exists after having included INCLUDES, setting cache
1862: # variable VAR accordingly.
1863: ac_fn_c_check_type ()
1864: {
1865: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867: $as_echo_n "checking for $2... " >&6; }
1868: if eval "test \"\${$3+set}\"" = set; then :
1869: $as_echo_n "(cached) " >&6
1870: else
1871: eval "$3=no"
1872: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873: /* end confdefs.h. */
1874: $4
1875: int
1876: main ()
1877: {
1878: if (sizeof ($2))
1879: return 0;
1880: ;
1881: return 0;
1882: }
1883: _ACEOF
1884: if ac_fn_c_try_compile "$LINENO"; then :
1885: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886: /* end confdefs.h. */
1887: $4
1888: int
1889: main ()
1890: {
1891: if (sizeof (($2)))
1892: return 0;
1893: ;
1894: return 0;
1895: }
1896: _ACEOF
1897: if ac_fn_c_try_compile "$LINENO"; then :
1898:
1899: else
1900: eval "$3=yes"
1901: fi
1902: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903: fi
1904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905: fi
1906: eval ac_res=\$$3
1907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908: $as_echo "$ac_res" >&6; }
1909: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910:
1911: } # ac_fn_c_check_type
1912:
1913: # ac_fn_c_try_run LINENO
1914: # ----------------------
1915: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916: # that executables *can* be run.
1917: ac_fn_c_try_run ()
1918: {
1919: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920: if { { ac_try="$ac_link"
1921: case "(($ac_try" in
1922: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923: *) ac_try_echo=$ac_try;;
1924: esac
1925: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926: $as_echo "$ac_try_echo"; } >&5
1927: (eval "$ac_link") 2>&5
1928: ac_status=$?
1929: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931: { { case "(($ac_try" in
1932: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933: *) ac_try_echo=$ac_try;;
1934: esac
1935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936: $as_echo "$ac_try_echo"; } >&5
1937: (eval "$ac_try") 2>&5
1938: ac_status=$?
1939: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940: test $ac_status = 0; }; }; then :
1941: ac_retval=0
1942: else
1943: $as_echo "$as_me: program exited with status $ac_status" >&5
1944: $as_echo "$as_me: failed program was:" >&5
1945: sed 's/^/| /' conftest.$ac_ext >&5
1946:
1947: ac_retval=$ac_status
1948: fi
1949: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951: as_fn_set_status $ac_retval
1952:
1953: } # ac_fn_c_try_run
1954:
1955: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1956: # --------------------------------------------
1957: # Tries to find the compile-time value of EXPR in a program that includes
1958: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1959: # computed
1960: ac_fn_c_compute_int ()
1961: {
1962: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963: if test "$cross_compiling" = yes; then
1964: # Depending upon the size, compute the lo and hi bounds.
1965: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966: /* end confdefs.h. */
1967: $4
1968: int
1969: main ()
1970: {
1971: static int test_array [1 - 2 * !(($2) >= 0)];
1972: test_array [0] = 0
1973:
1974: ;
1975: return 0;
1976: }
1977: _ACEOF
1978: if ac_fn_c_try_compile "$LINENO"; then :
1979: ac_lo=0 ac_mid=0
1980: while :; do
1981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982: /* end confdefs.h. */
1983: $4
1984: int
1985: main ()
1986: {
1987: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1988: test_array [0] = 0
1989:
1990: ;
1991: return 0;
1992: }
1993: _ACEOF
1994: if ac_fn_c_try_compile "$LINENO"; then :
1995: ac_hi=$ac_mid; break
1996: else
1997: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998: if test $ac_lo -le $ac_mid; then
1999: ac_lo= ac_hi=
2000: break
2001: fi
2002: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2003: fi
2004: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005: done
2006: else
2007: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008: /* end confdefs.h. */
2009: $4
2010: int
2011: main ()
2012: {
2013: static int test_array [1 - 2 * !(($2) < 0)];
2014: test_array [0] = 0
2015:
2016: ;
2017: return 0;
2018: }
2019: _ACEOF
2020: if ac_fn_c_try_compile "$LINENO"; then :
2021: ac_hi=-1 ac_mid=-1
2022: while :; do
2023: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024: /* end confdefs.h. */
2025: $4
2026: int
2027: main ()
2028: {
2029: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2030: test_array [0] = 0
2031:
2032: ;
2033: return 0;
2034: }
2035: _ACEOF
2036: if ac_fn_c_try_compile "$LINENO"; then :
2037: ac_lo=$ac_mid; break
2038: else
2039: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2040: if test $ac_mid -le $ac_hi; then
2041: ac_lo= ac_hi=
2042: break
2043: fi
2044: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2045: fi
2046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047: done
2048: else
2049: ac_lo= ac_hi=
2050: fi
2051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052: fi
2053: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054: # Binary search between lo and hi bounds.
2055: while test "x$ac_lo" != "x$ac_hi"; do
2056: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2057: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058: /* end confdefs.h. */
2059: $4
2060: int
2061: main ()
2062: {
2063: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2064: test_array [0] = 0
2065:
2066: ;
2067: return 0;
2068: }
2069: _ACEOF
2070: if ac_fn_c_try_compile "$LINENO"; then :
2071: ac_hi=$ac_mid
2072: else
2073: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2074: fi
2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076: done
2077: case $ac_lo in #((
2078: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2079: '') ac_retval=1 ;;
2080: esac
2081: else
2082: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083: /* end confdefs.h. */
2084: $4
2085: static long int longval () { return $2; }
2086: static unsigned long int ulongval () { return $2; }
2087: #include <stdio.h>
2088: #include <stdlib.h>
2089: int
2090: main ()
2091: {
2092:
2093: FILE *f = fopen ("conftest.val", "w");
2094: if (! f)
2095: return 1;
2096: if (($2) < 0)
2097: {
2098: long int i = longval ();
2099: if (i != ($2))
2100: return 1;
2101: fprintf (f, "%ld", i);
2102: }
2103: else
2104: {
2105: unsigned long int i = ulongval ();
2106: if (i != ($2))
2107: return 1;
2108: fprintf (f, "%lu", i);
2109: }
2110: /* Do not output a trailing newline, as this causes \r\n confusion
2111: on some platforms. */
2112: return ferror (f) || fclose (f) != 0;
2113:
2114: ;
2115: return 0;
2116: }
2117: _ACEOF
2118: if ac_fn_c_try_run "$LINENO"; then :
2119: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2120: else
2121: ac_retval=1
2122: fi
2123: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2124: conftest.$ac_objext conftest.beam conftest.$ac_ext
2125: rm -f conftest.val
2126:
2127: fi
2128: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2129: as_fn_set_status $ac_retval
2130:
2131: } # ac_fn_c_compute_int
2132:
2133: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2134: # -------------------------------------------------------
2135: # Tests whether HEADER exists and can be compiled using the include files in
2136: # INCLUDES, setting the cache variable VAR accordingly.
2137: ac_fn_c_check_header_compile ()
2138: {
2139: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2141: $as_echo_n "checking for $2... " >&6; }
2142: if eval "test \"\${$3+set}\"" = set; then :
2143: $as_echo_n "(cached) " >&6
2144: else
2145: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146: /* end confdefs.h. */
2147: $4
2148: #include <$2>
2149: _ACEOF
2150: if ac_fn_c_try_compile "$LINENO"; then :
2151: eval "$3=yes"
2152: else
2153: eval "$3=no"
2154: fi
2155: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156: fi
2157: eval ac_res=\$$3
2158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2159: $as_echo "$ac_res" >&6; }
2160: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161:
2162: } # ac_fn_c_check_header_compile
2163:
2164: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2165: # -------------------------------------------------------
2166: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2167: # the include files in INCLUDES and setting the cache variable VAR
2168: # accordingly.
2169: ac_fn_c_check_header_mongrel ()
2170: {
2171: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2172: if eval "test \"\${$3+set}\"" = set; then :
2173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174: $as_echo_n "checking for $2... " >&6; }
2175: if eval "test \"\${$3+set}\"" = set; then :
2176: $as_echo_n "(cached) " >&6
2177: fi
2178: eval ac_res=\$$3
2179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180: $as_echo "$ac_res" >&6; }
2181: else
2182: # Is the header compilable?
2183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2184: $as_echo_n "checking $2 usability... " >&6; }
2185: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186: /* end confdefs.h. */
2187: $4
2188: #include <$2>
2189: _ACEOF
2190: if ac_fn_c_try_compile "$LINENO"; then :
2191: ac_header_compiler=yes
2192: else
2193: ac_header_compiler=no
2194: fi
2195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2197: $as_echo "$ac_header_compiler" >&6; }
2198:
2199: # Is the header present?
2200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2201: $as_echo_n "checking $2 presence... " >&6; }
2202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203: /* end confdefs.h. */
2204: #include <$2>
2205: _ACEOF
2206: if ac_fn_c_try_cpp "$LINENO"; then :
2207: ac_header_preproc=yes
2208: else
2209: ac_header_preproc=no
2210: fi
2211: rm -f conftest.err conftest.i conftest.$ac_ext
2212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2213: $as_echo "$ac_header_preproc" >&6; }
2214:
2215: # So? What about this header?
2216: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2217: yes:no: )
2218: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2219: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2220: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2221: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222: ;;
2223: no:yes:* )
2224: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2225: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2226: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2227: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2228: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2229: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2230: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2231: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2232: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2233: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234: ;;
2235: esac
2236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237: $as_echo_n "checking for $2... " >&6; }
2238: if eval "test \"\${$3+set}\"" = set; then :
2239: $as_echo_n "(cached) " >&6
2240: else
2241: eval "$3=\$ac_header_compiler"
2242: fi
2243: eval ac_res=\$$3
2244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245: $as_echo "$ac_res" >&6; }
2246: fi
2247: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248:
2249: } # ac_fn_c_check_header_mongrel
2250: cat >config.log <<_ACEOF
2251: This file contains any messages produced by compilers while
2252: running configure, to aid debugging if configure makes a mistake.
2253:
2254: It was created by rpl $as_me 4.0.22, which was
2255: generated by GNU Autoconf 2.67. Invocation command line was
2256:
2257: $ $0 $@
2258:
2259: _ACEOF
2260: exec 5>>config.log
2261: {
2262: cat <<_ASUNAME
2263: ## --------- ##
2264: ## Platform. ##
2265: ## --------- ##
2266:
2267: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272:
2273: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2275:
2276: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2277: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2278: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2280: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2281: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2282: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2283:
2284: _ASUNAME
2285:
2286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287: for as_dir in $PATH
2288: do
2289: IFS=$as_save_IFS
2290: test -z "$as_dir" && as_dir=.
2291: $as_echo "PATH: $as_dir"
2292: done
2293: IFS=$as_save_IFS
2294:
2295: } >&5
2296:
2297: cat >&5 <<_ACEOF
2298:
2299:
2300: ## ----------- ##
2301: ## Core tests. ##
2302: ## ----------- ##
2303:
2304: _ACEOF
2305:
2306:
2307: # Keep a trace of the command line.
2308: # Strip out --no-create and --no-recursion so they do not pile up.
2309: # Strip out --silent because we don't want to record it for future runs.
2310: # Also quote any args containing shell meta-characters.
2311: # Make two passes to allow for proper duplicate-argument suppression.
2312: ac_configure_args=
2313: ac_configure_args0=
2314: ac_configure_args1=
2315: ac_must_keep_next=false
2316: for ac_pass in 1 2
2317: do
2318: for ac_arg
2319: do
2320: case $ac_arg in
2321: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323: | -silent | --silent | --silen | --sile | --sil)
2324: continue ;;
2325: *\'*)
2326: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2327: esac
2328: case $ac_pass in
2329: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2330: 2)
2331: as_fn_append ac_configure_args1 " '$ac_arg'"
2332: if test $ac_must_keep_next = true; then
2333: ac_must_keep_next=false # Got value, back to normal.
2334: else
2335: case $ac_arg in
2336: *=* | --config-cache | -C | -disable-* | --disable-* \
2337: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339: | -with-* | --with-* | -without-* | --without-* | --x)
2340: case "$ac_configure_args0 " in
2341: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2342: esac
2343: ;;
2344: -* ) ac_must_keep_next=true ;;
2345: esac
2346: fi
2347: as_fn_append ac_configure_args " '$ac_arg'"
2348: ;;
2349: esac
2350: done
2351: done
2352: { ac_configure_args0=; unset ac_configure_args0;}
2353: { ac_configure_args1=; unset ac_configure_args1;}
2354:
2355: # When interrupted or exit'd, cleanup temporary files, and complete
2356: # config.log. We remove comments because anyway the quotes in there
2357: # would cause problems or look ugly.
2358: # WARNING: Use '\'' to represent an apostrophe within the trap.
2359: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360: trap 'exit_status=$?
2361: # Save into config.log some information that might help in debugging.
2362: {
2363: echo
2364:
2365: $as_echo "## ---------------- ##
2366: ## Cache variables. ##
2367: ## ---------------- ##"
2368: echo
2369: # The following way of writing the cache mishandles newlines in values,
2370: (
2371: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2372: eval ac_val=\$$ac_var
2373: case $ac_val in #(
2374: *${as_nl}*)
2375: case $ac_var in #(
2376: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2377: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2378: esac
2379: case $ac_var in #(
2380: _ | IFS | as_nl) ;; #(
2381: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2382: *) { eval $ac_var=; unset $ac_var;} ;;
2383: esac ;;
2384: esac
2385: done
2386: (set) 2>&1 |
2387: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2388: *${as_nl}ac_space=\ *)
2389: sed -n \
2390: "s/'\''/'\''\\\\'\'''\''/g;
2391: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2392: ;; #(
2393: *)
2394: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2395: ;;
2396: esac |
2397: sort
2398: )
2399: echo
2400:
2401: $as_echo "## ----------------- ##
2402: ## Output variables. ##
2403: ## ----------------- ##"
2404: echo
2405: for ac_var in $ac_subst_vars
2406: do
2407: eval ac_val=\$$ac_var
2408: case $ac_val in
2409: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2410: esac
2411: $as_echo "$ac_var='\''$ac_val'\''"
2412: done | sort
2413: echo
2414:
2415: if test -n "$ac_subst_files"; then
2416: $as_echo "## ------------------- ##
2417: ## File substitutions. ##
2418: ## ------------------- ##"
2419: echo
2420: for ac_var in $ac_subst_files
2421: do
2422: eval ac_val=\$$ac_var
2423: case $ac_val in
2424: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425: esac
2426: $as_echo "$ac_var='\''$ac_val'\''"
2427: done | sort
2428: echo
2429: fi
2430:
2431: if test -s confdefs.h; then
2432: $as_echo "## ----------- ##
2433: ## confdefs.h. ##
2434: ## ----------- ##"
2435: echo
2436: cat confdefs.h
2437: echo
2438: fi
2439: test "$ac_signal" != 0 &&
2440: $as_echo "$as_me: caught signal $ac_signal"
2441: $as_echo "$as_me: exit $exit_status"
2442: } >&5
2443: rm -f core *.core core.conftest.* &&
2444: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2445: exit $exit_status
2446: ' 0
2447: for ac_signal in 1 2 13 15; do
2448: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2449: done
2450: ac_signal=0
2451:
2452: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2453: rm -f -r conftest* confdefs.h
2454:
2455: $as_echo "/* confdefs.h */" > confdefs.h
2456:
2457: # Predefined preprocessor variables.
2458:
2459: cat >>confdefs.h <<_ACEOF
2460: #define PACKAGE_NAME "$PACKAGE_NAME"
2461: _ACEOF
2462:
2463: cat >>confdefs.h <<_ACEOF
2464: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2465: _ACEOF
2466:
2467: cat >>confdefs.h <<_ACEOF
2468: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2469: _ACEOF
2470:
2471: cat >>confdefs.h <<_ACEOF
2472: #define PACKAGE_STRING "$PACKAGE_STRING"
2473: _ACEOF
2474:
2475: cat >>confdefs.h <<_ACEOF
2476: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2477: _ACEOF
2478:
2479: cat >>confdefs.h <<_ACEOF
2480: #define PACKAGE_URL "$PACKAGE_URL"
2481: _ACEOF
2482:
2483:
2484: # Let the site file select an alternate cache file if it wants to.
2485: # Prefer an explicitly selected file to automatically selected ones.
2486: ac_site_file1=NONE
2487: ac_site_file2=NONE
2488: if test -n "$CONFIG_SITE"; then
2489: # We do not want a PATH search for config.site.
2490: case $CONFIG_SITE in #((
2491: -*) ac_site_file1=./$CONFIG_SITE;;
2492: */*) ac_site_file1=$CONFIG_SITE;;
2493: *) ac_site_file1=./$CONFIG_SITE;;
2494: esac
2495: elif test "x$prefix" != xNONE; then
2496: ac_site_file1=$prefix/share/config.site
2497: ac_site_file2=$prefix/etc/config.site
2498: else
2499: ac_site_file1=$ac_default_prefix/share/config.site
2500: ac_site_file2=$ac_default_prefix/etc/config.site
2501: fi
2502: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2503: do
2504: test "x$ac_site_file" = xNONE && continue
2505: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2506: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2507: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2508: sed 's/^/| /' "$ac_site_file" >&5
2509: . "$ac_site_file" \
2510: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512: as_fn_error $? "failed to load site script $ac_site_file
2513: See \`config.log' for more details" "$LINENO" 5 ; }
2514: fi
2515: done
2516:
2517: if test -r "$cache_file"; then
2518: # Some versions of bash will fail to source /dev/null (special files
2519: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2520: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2521: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522: $as_echo "$as_me: loading cache $cache_file" >&6;}
2523: case $cache_file in
2524: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2525: *) . "./$cache_file";;
2526: esac
2527: fi
2528: else
2529: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530: $as_echo "$as_me: creating cache $cache_file" >&6;}
2531: >$cache_file
2532: fi
2533:
2534: # Check that the precious variables saved in the cache have kept the same
2535: # value.
2536: ac_cache_corrupted=false
2537: for ac_var in $ac_precious_vars; do
2538: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2539: eval ac_new_set=\$ac_env_${ac_var}_set
2540: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2541: eval ac_new_val=\$ac_env_${ac_var}_value
2542: case $ac_old_set,$ac_new_set in
2543: set,)
2544: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2545: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2546: ac_cache_corrupted=: ;;
2547: ,set)
2548: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2549: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2550: ac_cache_corrupted=: ;;
2551: ,);;
2552: *)
2553: if test "x$ac_old_val" != "x$ac_new_val"; then
2554: # differences in whitespace do not lead to failure.
2555: ac_old_val_w=`echo x $ac_old_val`
2556: ac_new_val_w=`echo x $ac_new_val`
2557: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2558: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2559: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2560: ac_cache_corrupted=:
2561: else
2562: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2563: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2564: eval $ac_var=\$ac_old_val
2565: fi
2566: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2567: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2568: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2569: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2570: fi;;
2571: esac
2572: # Pass precious variables to config.status.
2573: if test "$ac_new_set" = set; then
2574: case $ac_new_val in
2575: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2576: *) ac_arg=$ac_var=$ac_new_val ;;
2577: esac
2578: case " $ac_configure_args " in
2579: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2580: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2581: esac
2582: fi
2583: done
2584: if $ac_cache_corrupted; then
2585: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2588: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2589: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2590: fi
2591: ## -------------------- ##
2592: ## Main body of script. ##
2593: ## -------------------- ##
2594:
2595: ac_ext=c
2596: ac_cpp='$CPP $CPPFLAGS'
2597: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2600:
2601:
2602: ac_aux_dir=
2603: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2604: if test -f "$ac_dir/install-sh"; then
2605: ac_aux_dir=$ac_dir
2606: ac_install_sh="$ac_aux_dir/install-sh -c"
2607: break
2608: elif test -f "$ac_dir/install.sh"; then
2609: ac_aux_dir=$ac_dir
2610: ac_install_sh="$ac_aux_dir/install.sh -c"
2611: break
2612: elif test -f "$ac_dir/shtool"; then
2613: ac_aux_dir=$ac_dir
2614: ac_install_sh="$ac_aux_dir/shtool install -c"
2615: break
2616: fi
2617: done
2618: if test -z "$ac_aux_dir"; then
2619: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2620: fi
2621:
2622: # These three variables are undocumented and unsupported,
2623: # and are intended to be withdrawn in a future Autoconf release.
2624: # They can cause serious problems if a builder's source tree is in a directory
2625: # whose full name contains unusual characters.
2626: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2627: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2628: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2629:
2630:
2631: # Make sure we can run config.sub.
2632: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2633: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2634:
2635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2636: $as_echo_n "checking build system type... " >&6; }
2637: if test "${ac_cv_build+set}" = set; then :
2638: $as_echo_n "(cached) " >&6
2639: else
2640: ac_build_alias=$build_alias
2641: test "x$ac_build_alias" = x &&
2642: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2643: test "x$ac_build_alias" = x &&
2644: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2645: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2646: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2647:
2648: fi
2649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2650: $as_echo "$ac_cv_build" >&6; }
2651: case $ac_cv_build in
2652: *-*-*) ;;
2653: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2654: esac
2655: build=$ac_cv_build
2656: ac_save_IFS=$IFS; IFS='-'
2657: set x $ac_cv_build
2658: shift
2659: build_cpu=$1
2660: build_vendor=$2
2661: shift; shift
2662: # Remember, the first character of IFS is used to create $*,
2663: # except with old shells:
2664: build_os=$*
2665: IFS=$ac_save_IFS
2666: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2667:
2668:
2669: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2670: $as_echo_n "checking host system type... " >&6; }
2671: if test "${ac_cv_host+set}" = set; then :
2672: $as_echo_n "(cached) " >&6
2673: else
2674: if test "x$host_alias" = x; then
2675: ac_cv_host=$ac_cv_build
2676: else
2677: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2678: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2679: fi
2680:
2681: fi
2682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2683: $as_echo "$ac_cv_host" >&6; }
2684: case $ac_cv_host in
2685: *-*-*) ;;
2686: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2687: esac
2688: host=$ac_cv_host
2689: ac_save_IFS=$IFS; IFS='-'
2690: set x $ac_cv_host
2691: shift
2692: host_cpu=$1
2693: host_vendor=$2
2694: shift; shift
2695: # Remember, the first character of IFS is used to create $*,
2696: # except with old shells:
2697: host_os=$*
2698: IFS=$ac_save_IFS
2699: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2700:
2701:
2702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2703: $as_echo_n "checking target system type... " >&6; }
2704: if test "${ac_cv_target+set}" = set; then :
2705: $as_echo_n "(cached) " >&6
2706: else
2707: if test "x$target_alias" = x; then
2708: ac_cv_target=$ac_cv_host
2709: else
2710: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2711: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2712: fi
2713:
2714: fi
2715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2716: $as_echo "$ac_cv_target" >&6; }
2717: case $ac_cv_target in
2718: *-*-*) ;;
2719: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
2720: esac
2721: target=$ac_cv_target
2722: ac_save_IFS=$IFS; IFS='-'
2723: set x $ac_cv_target
2724: shift
2725: target_cpu=$1
2726: target_vendor=$2
2727: shift; shift
2728: # Remember, the first character of IFS is used to create $*,
2729: # except with old shells:
2730: target_os=$*
2731: IFS=$ac_save_IFS
2732: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2733:
2734:
2735: # The aliases save the names the user supplied, while $host etc.
2736: # will get canonicalized.
2737: test -n "$target_alias" &&
2738: test "$program_prefix$program_suffix$program_transform_name" = \
2739: NONENONEs,x,x, &&
2740: program_prefix=${target_alias}-
2741:
2742: am__api_version='1.11'
2743:
2744: # Find a good install program. We prefer a C program (faster),
2745: # so one script is as good as another. But avoid the broken or
2746: # incompatible versions:
2747: # SysV /etc/install, /usr/sbin/install
2748: # SunOS /usr/etc/install
2749: # IRIX /sbin/install
2750: # AIX /bin/install
2751: # AmigaOS /C/install, which installs bootblocks on floppy discs
2752: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2753: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2754: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2755: # OS/2's system install, which has a completely different semantic
2756: # ./install, which can be erroneously created by make from ./install.sh.
2757: # Reject install programs that cannot install multiple files.
2758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2759: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2760: if test -z "$INSTALL"; then
2761: if test "${ac_cv_path_install+set}" = set; then :
2762: $as_echo_n "(cached) " >&6
2763: else
2764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765: for as_dir in $PATH
2766: do
2767: IFS=$as_save_IFS
2768: test -z "$as_dir" && as_dir=.
2769: # Account for people who put trailing slashes in PATH elements.
2770: case $as_dir/ in #((
2771: ./ | .// | /[cC]/* | \
2772: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2773: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2774: /usr/ucb/* ) ;;
2775: *)
2776: # OSF1 and SCO ODT 3.0 have their own names for install.
2777: # Don't use installbsd from OSF since it installs stuff as root
2778: # by default.
2779: for ac_prog in ginstall scoinst install; do
2780: for ac_exec_ext in '' $ac_executable_extensions; do
2781: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2782: if test $ac_prog = install &&
2783: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2784: # AIX install. It has an incompatible calling convention.
2785: :
2786: elif test $ac_prog = install &&
2787: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2788: # program-specific install script used by HP pwplus--don't use.
2789: :
2790: else
2791: rm -rf conftest.one conftest.two conftest.dir
2792: echo one > conftest.one
2793: echo two > conftest.two
2794: mkdir conftest.dir
2795: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2796: test -s conftest.one && test -s conftest.two &&
2797: test -s conftest.dir/conftest.one &&
2798: test -s conftest.dir/conftest.two
2799: then
2800: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2801: break 3
2802: fi
2803: fi
2804: fi
2805: done
2806: done
2807: ;;
2808: esac
2809:
2810: done
2811: IFS=$as_save_IFS
2812:
2813: rm -rf conftest.one conftest.two conftest.dir
2814:
2815: fi
2816: if test "${ac_cv_path_install+set}" = set; then
2817: INSTALL=$ac_cv_path_install
2818: else
2819: # As a last resort, use the slow shell script. Don't cache a
2820: # value for INSTALL within a source directory, because that will
2821: # break other packages using the cache if that directory is
2822: # removed, or if the value is a relative name.
2823: INSTALL=$ac_install_sh
2824: fi
2825: fi
2826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2827: $as_echo "$INSTALL" >&6; }
2828:
2829: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2830: # It thinks the first close brace ends the variable substitution.
2831: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2832:
2833: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2834:
2835: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2836:
2837: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2838: $as_echo_n "checking whether build environment is sane... " >&6; }
2839: # Just in case
2840: sleep 1
2841: echo timestamp > conftest.file
2842: # Reject unsafe characters in $srcdir or the absolute working directory
2843: # name. Accept space and tab only in the latter.
2844: am_lf='
2845: '
2846: case `pwd` in
2847: *[\\\"\#\$\&\'\`$am_lf]*)
2848: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2849: esac
2850: case $srcdir in
2851: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2852: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2853: esac
2854:
2855: # Do `set' in a subshell so we don't clobber the current shell's
2856: # arguments. Must try -L first in case configure is actually a
2857: # symlink; some systems play weird games with the mod time of symlinks
2858: # (eg FreeBSD returns the mod time of the symlink's containing
2859: # directory).
2860: if (
2861: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2862: if test "$*" = "X"; then
2863: # -L didn't work.
2864: set X `ls -t "$srcdir/configure" conftest.file`
2865: fi
2866: rm -f conftest.file
2867: if test "$*" != "X $srcdir/configure conftest.file" \
2868: && test "$*" != "X conftest.file $srcdir/configure"; then
2869:
2870: # If neither matched, then we have a broken ls. This can happen
2871: # if, for instance, CONFIG_SHELL is bash and it inherits a
2872: # broken ls alias from the environment. This has actually
2873: # happened. Such a system could not be considered "sane".
2874: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2875: alias in your environment" "$LINENO" 5
2876: fi
2877:
2878: test "$2" = conftest.file
2879: )
2880: then
2881: # Ok.
2882: :
2883: else
2884: as_fn_error $? "newly created file is older than distributed files!
2885: Check your system clock" "$LINENO" 5
2886: fi
2887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2888: $as_echo "yes" >&6; }
2889: test "$program_prefix" != NONE &&
2890: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2891: # Use a double $ so make ignores it.
2892: test "$program_suffix" != NONE &&
2893: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2894: # Double any \ or $.
2895: # By default was `s,x,x', remove it if useless.
2896: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2897: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2898:
2899: # expand $ac_aux_dir to an absolute path
2900: am_aux_dir=`cd $ac_aux_dir && pwd`
2901:
2902: if test x"${MISSING+set}" != xset; then
2903: case $am_aux_dir in
2904: *\ * | *\ *)
2905: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2906: *)
2907: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2908: esac
2909: fi
2910: # Use eval to expand $SHELL
2911: if eval "$MISSING --run true"; then
2912: am_missing_run="$MISSING --run "
2913: else
2914: am_missing_run=
2915: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2916: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2917: fi
2918:
2919: if test x"${install_sh}" != xset; then
2920: case $am_aux_dir in
2921: *\ * | *\ *)
2922: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2923: *)
2924: install_sh="\${SHELL} $am_aux_dir/install-sh"
2925: esac
2926: fi
2927:
2928: # Installed binaries are usually stripped using `strip' when the user
2929: # run `make install-strip'. However `strip' might not be the right
2930: # tool to use in cross-compilation environments, therefore Automake
2931: # will honor the `STRIP' environment variable to overrule this program.
2932: if test "$cross_compiling" != no; then
2933: if test -n "$ac_tool_prefix"; then
2934: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2935: set dummy ${ac_tool_prefix}strip; ac_word=$2
2936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937: $as_echo_n "checking for $ac_word... " >&6; }
2938: if test "${ac_cv_prog_STRIP+set}" = set; then :
2939: $as_echo_n "(cached) " >&6
2940: else
2941: if test -n "$STRIP"; then
2942: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2943: else
2944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945: for as_dir in $PATH
2946: do
2947: IFS=$as_save_IFS
2948: test -z "$as_dir" && as_dir=.
2949: for ac_exec_ext in '' $ac_executable_extensions; do
2950: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2952: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953: break 2
2954: fi
2955: done
2956: done
2957: IFS=$as_save_IFS
2958:
2959: fi
2960: fi
2961: STRIP=$ac_cv_prog_STRIP
2962: if test -n "$STRIP"; then
2963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2964: $as_echo "$STRIP" >&6; }
2965: else
2966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967: $as_echo "no" >&6; }
2968: fi
2969:
2970:
2971: fi
2972: if test -z "$ac_cv_prog_STRIP"; then
2973: ac_ct_STRIP=$STRIP
2974: # Extract the first word of "strip", so it can be a program name with args.
2975: set dummy strip; ac_word=$2
2976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977: $as_echo_n "checking for $ac_word... " >&6; }
2978: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2979: $as_echo_n "(cached) " >&6
2980: else
2981: if test -n "$ac_ct_STRIP"; then
2982: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2983: else
2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985: for as_dir in $PATH
2986: do
2987: IFS=$as_save_IFS
2988: test -z "$as_dir" && as_dir=.
2989: for ac_exec_ext in '' $ac_executable_extensions; do
2990: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991: ac_cv_prog_ac_ct_STRIP="strip"
2992: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993: break 2
2994: fi
2995: done
2996: done
2997: IFS=$as_save_IFS
2998:
2999: fi
3000: fi
3001: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3002: if test -n "$ac_ct_STRIP"; then
3003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3004: $as_echo "$ac_ct_STRIP" >&6; }
3005: else
3006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007: $as_echo "no" >&6; }
3008: fi
3009:
3010: if test "x$ac_ct_STRIP" = x; then
3011: STRIP=":"
3012: else
3013: case $cross_compiling:$ac_tool_warned in
3014: yes:)
3015: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3016: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3017: ac_tool_warned=yes ;;
3018: esac
3019: STRIP=$ac_ct_STRIP
3020: fi
3021: else
3022: STRIP="$ac_cv_prog_STRIP"
3023: fi
3024:
3025: fi
3026: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3027:
3028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3029: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3030: if test -z "$MKDIR_P"; then
3031: if test "${ac_cv_path_mkdir+set}" = set; then :
3032: $as_echo_n "(cached) " >&6
3033: else
3034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3036: do
3037: IFS=$as_save_IFS
3038: test -z "$as_dir" && as_dir=.
3039: for ac_prog in mkdir gmkdir; do
3040: for ac_exec_ext in '' $ac_executable_extensions; do
3041: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3042: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3043: 'mkdir (GNU coreutils) '* | \
3044: 'mkdir (coreutils) '* | \
3045: 'mkdir (fileutils) '4.1*)
3046: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3047: break 3;;
3048: esac
3049: done
3050: done
3051: done
3052: IFS=$as_save_IFS
3053:
3054: fi
3055:
3056: test -d ./--version && rmdir ./--version
3057: if test "${ac_cv_path_mkdir+set}" = set; then
3058: MKDIR_P="$ac_cv_path_mkdir -p"
3059: else
3060: # As a last resort, use the slow shell script. Don't cache a
3061: # value for MKDIR_P within a source directory, because that will
3062: # break other packages using the cache if that directory is
3063: # removed, or if the value is a relative name.
3064: MKDIR_P="$ac_install_sh -d"
3065: fi
3066: fi
3067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3068: $as_echo "$MKDIR_P" >&6; }
3069:
3070: mkdir_p="$MKDIR_P"
3071: case $mkdir_p in
3072: [\\/$]* | ?:[\\/]*) ;;
3073: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3074: esac
3075:
3076: for ac_prog in gawk mawk nawk awk
3077: do
3078: # Extract the first word of "$ac_prog", so it can be a program name with args.
3079: set dummy $ac_prog; ac_word=$2
3080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081: $as_echo_n "checking for $ac_word... " >&6; }
3082: if test "${ac_cv_prog_AWK+set}" = set; then :
3083: $as_echo_n "(cached) " >&6
3084: else
3085: if test -n "$AWK"; then
3086: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3087: else
3088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089: for as_dir in $PATH
3090: do
3091: IFS=$as_save_IFS
3092: test -z "$as_dir" && as_dir=.
3093: for ac_exec_ext in '' $ac_executable_extensions; do
3094: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095: ac_cv_prog_AWK="$ac_prog"
3096: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097: break 2
3098: fi
3099: done
3100: done
3101: IFS=$as_save_IFS
3102:
3103: fi
3104: fi
3105: AWK=$ac_cv_prog_AWK
3106: if test -n "$AWK"; then
3107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3108: $as_echo "$AWK" >&6; }
3109: else
3110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111: $as_echo "no" >&6; }
3112: fi
3113:
3114:
3115: test -n "$AWK" && break
3116: done
3117:
3118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3119: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3120: set x ${MAKE-make}
3121: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3122: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3123: $as_echo_n "(cached) " >&6
3124: else
3125: cat >conftest.make <<\_ACEOF
3126: SHELL = /bin/sh
3127: all:
3128: @echo '@@@%%%=$(MAKE)=@@@%%%'
3129: _ACEOF
3130: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3131: case `${MAKE-make} -f conftest.make 2>/dev/null` in
3132: *@@@%%%=?*=@@@%%%*)
3133: eval ac_cv_prog_make_${ac_make}_set=yes;;
3134: *)
3135: eval ac_cv_prog_make_${ac_make}_set=no;;
3136: esac
3137: rm -f conftest.make
3138: fi
3139: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141: $as_echo "yes" >&6; }
3142: SET_MAKE=
3143: else
3144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145: $as_echo "no" >&6; }
3146: SET_MAKE="MAKE=${MAKE-make}"
3147: fi
3148:
3149: rm -rf .tst 2>/dev/null
3150: mkdir .tst 2>/dev/null
3151: if test -d .tst; then
3152: am__leading_dot=.
3153: else
3154: am__leading_dot=_
3155: fi
3156: rmdir .tst 2>/dev/null
3157:
3158: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3159: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3160: # is not polluted with repeated "-I."
3161: am__isrc=' -I$(srcdir)'
3162: # test to see if srcdir already configured
3163: if test -f $srcdir/config.status; then
3164: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3165: fi
3166: fi
3167:
3168: # test whether we have cygpath
3169: if test -z "$CYGPATH_W"; then
3170: if (cygpath --version) >/dev/null 2>/dev/null; then
3171: CYGPATH_W='cygpath -w'
3172: else
3173: CYGPATH_W=echo
3174: fi
3175: fi
3176:
3177:
3178: # Define the identity of the package.
3179: PACKAGE='rpl'
3180: VERSION='4.0.22'
3181:
3182:
3183: cat >>confdefs.h <<_ACEOF
3184: #define PACKAGE "$PACKAGE"
3185: _ACEOF
3186:
3187:
3188: cat >>confdefs.h <<_ACEOF
3189: #define VERSION "$VERSION"
3190: _ACEOF
3191:
3192: # Some tools Automake needs.
3193:
3194: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3195:
3196:
3197: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3198:
3199:
3200: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3201:
3202:
3203: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3204:
3205:
3206: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3207:
3208: # We need awk for the "check" target. The system "awk" is bad on
3209: # some platforms.
3210: # Always define AMTAR for backward compatibility.
3211:
3212: AMTAR=${AMTAR-"${am_missing_run}tar"}
3213:
3214: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3215:
3216:
3217:
3218:
3219:
3220:
3221: ac_config_headers="$ac_config_headers rplconfig.h"
3222:
3223:
3224: NCURSES=ncurses-5.8
3225: READLINE=readline-6.2
3226: UNITS=units-1.88
3227: GSL=gsl-1.14
3228: GPP=gpp-2.24
3229: GNUPLOT=gnuplot-4.4.3
3230: FILE=file-5.03
3231: ICONV=libiconv-1.13.1
3232: SQLITE=sqlite-3.7.5
3233: OPENSSL=openssl-1.0.0d
3234:
3235: ac_ext=c
3236: ac_cpp='$CPP $CPPFLAGS'
3237: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240: if test -n "$ac_tool_prefix"; then
3241: for ac_prog in gcc
3242: do
3243: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3244: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246: $as_echo_n "checking for $ac_word... " >&6; }
3247: if test "${ac_cv_prog_CC+set}" = set; then :
3248: $as_echo_n "(cached) " >&6
3249: else
3250: if test -n "$CC"; then
3251: ac_cv_prog_CC="$CC" # Let the user override the test.
3252: else
3253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254: for as_dir in $PATH
3255: do
3256: IFS=$as_save_IFS
3257: test -z "$as_dir" && as_dir=.
3258: for ac_exec_ext in '' $ac_executable_extensions; do
3259: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3261: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262: break 2
3263: fi
3264: done
3265: done
3266: IFS=$as_save_IFS
3267:
3268: fi
3269: fi
3270: CC=$ac_cv_prog_CC
3271: if test -n "$CC"; then
3272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273: $as_echo "$CC" >&6; }
3274: else
3275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276: $as_echo "no" >&6; }
3277: fi
3278:
3279:
3280: test -n "$CC" && break
3281: done
3282: fi
3283: if test -z "$CC"; then
3284: ac_ct_CC=$CC
3285: for ac_prog in gcc
3286: do
3287: # Extract the first word of "$ac_prog", so it can be a program name with args.
3288: set dummy $ac_prog; ac_word=$2
3289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290: $as_echo_n "checking for $ac_word... " >&6; }
3291: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3292: $as_echo_n "(cached) " >&6
3293: else
3294: if test -n "$ac_ct_CC"; then
3295: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3296: else
3297: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298: for as_dir in $PATH
3299: do
3300: IFS=$as_save_IFS
3301: test -z "$as_dir" && as_dir=.
3302: for ac_exec_ext in '' $ac_executable_extensions; do
3303: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3304: ac_cv_prog_ac_ct_CC="$ac_prog"
3305: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306: break 2
3307: fi
3308: done
3309: done
3310: IFS=$as_save_IFS
3311:
3312: fi
3313: fi
3314: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3315: if test -n "$ac_ct_CC"; then
3316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3317: $as_echo "$ac_ct_CC" >&6; }
3318: else
3319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320: $as_echo "no" >&6; }
3321: fi
3322:
3323:
3324: test -n "$ac_ct_CC" && break
3325: done
3326:
3327: if test "x$ac_ct_CC" = x; then
3328: CC=""
3329: else
3330: case $cross_compiling:$ac_tool_warned in
3331: yes:)
3332: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3333: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3334: ac_tool_warned=yes ;;
3335: esac
3336: CC=$ac_ct_CC
3337: fi
3338: fi
3339:
3340:
3341: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343: as_fn_error $? "no acceptable C compiler found in \$PATH
3344: See \`config.log' for more details" "$LINENO" 5 ; }
3345:
3346: # Provide some information about the compiler.
3347: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3348: set X $ac_compile
3349: ac_compiler=$2
3350: for ac_option in --version -v -V -qversion; do
3351: { { ac_try="$ac_compiler $ac_option >&5"
3352: case "(($ac_try" in
3353: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354: *) ac_try_echo=$ac_try;;
3355: esac
3356: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357: $as_echo "$ac_try_echo"; } >&5
3358: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3359: ac_status=$?
3360: if test -s conftest.err; then
3361: sed '10a\
3362: ... rest of stderr output deleted ...
3363: 10q' conftest.err >conftest.er1
3364: cat conftest.er1 >&5
3365: fi
3366: rm -f conftest.er1 conftest.err
3367: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368: test $ac_status = 0; }
3369: done
3370:
3371: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372: /* end confdefs.h. */
3373:
3374: int
3375: main ()
3376: {
3377:
3378: ;
3379: return 0;
3380: }
3381: _ACEOF
3382: ac_clean_files_save=$ac_clean_files
3383: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3384: # Try to create an executable without -o first, disregard a.out.
3385: # It will help us diagnose broken compilers, and finding out an intuition
3386: # of exeext.
3387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3388: $as_echo_n "checking whether the C compiler works... " >&6; }
3389: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3390:
3391: # The possible output files:
3392: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3393:
3394: ac_rmfiles=
3395: for ac_file in $ac_files
3396: do
3397: case $ac_file in
3398: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3399: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3400: esac
3401: done
3402: rm -f $ac_rmfiles
3403:
3404: if { { ac_try="$ac_link_default"
3405: case "(($ac_try" in
3406: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407: *) ac_try_echo=$ac_try;;
3408: esac
3409: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3410: $as_echo "$ac_try_echo"; } >&5
3411: (eval "$ac_link_default") 2>&5
3412: ac_status=$?
3413: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3414: test $ac_status = 0; }; then :
3415: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3416: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3417: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3418: # so that the user can short-circuit this test for compilers unknown to
3419: # Autoconf.
3420: for ac_file in $ac_files ''
3421: do
3422: test -f "$ac_file" || continue
3423: case $ac_file in
3424: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3425: ;;
3426: [ab].out )
3427: # We found the default executable, but exeext='' is most
3428: # certainly right.
3429: break;;
3430: *.* )
3431: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3432: then :; else
3433: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3434: fi
3435: # We set ac_cv_exeext here because the later test for it is not
3436: # safe: cross compilers may not add the suffix if given an `-o'
3437: # argument, so we may need to know it at that point already.
3438: # Even if this section looks crufty: it has the advantage of
3439: # actually working.
3440: break;;
3441: * )
3442: break;;
3443: esac
3444: done
3445: test "$ac_cv_exeext" = no && ac_cv_exeext=
3446:
3447: else
3448: ac_file=''
3449: fi
3450: if test -z "$ac_file"; then :
3451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452: $as_echo "no" >&6; }
3453: $as_echo "$as_me: failed program was:" >&5
3454: sed 's/^/| /' conftest.$ac_ext >&5
3455:
3456: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458: as_fn_error 77 "C compiler cannot create executables
3459: See \`config.log' for more details" "$LINENO" 5 ; }
3460: else
3461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462: $as_echo "yes" >&6; }
3463: fi
3464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3465: $as_echo_n "checking for C compiler default output file name... " >&6; }
3466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3467: $as_echo "$ac_file" >&6; }
3468: ac_exeext=$ac_cv_exeext
3469:
3470: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3471: ac_clean_files=$ac_clean_files_save
3472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3473: $as_echo_n "checking for suffix of executables... " >&6; }
3474: if { { ac_try="$ac_link"
3475: case "(($ac_try" in
3476: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477: *) ac_try_echo=$ac_try;;
3478: esac
3479: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480: $as_echo "$ac_try_echo"; } >&5
3481: (eval "$ac_link") 2>&5
3482: ac_status=$?
3483: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484: test $ac_status = 0; }; then :
3485: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3486: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3487: # work properly (i.e., refer to `conftest.exe'), while it won't with
3488: # `rm'.
3489: for ac_file in conftest.exe conftest conftest.*; do
3490: test -f "$ac_file" || continue
3491: case $ac_file in
3492: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3493: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3494: break;;
3495: * ) break;;
3496: esac
3497: done
3498: else
3499: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3502: See \`config.log' for more details" "$LINENO" 5 ; }
3503: fi
3504: rm -f conftest conftest$ac_cv_exeext
3505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3506: $as_echo "$ac_cv_exeext" >&6; }
3507:
3508: rm -f conftest.$ac_ext
3509: EXEEXT=$ac_cv_exeext
3510: ac_exeext=$EXEEXT
3511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512: /* end confdefs.h. */
3513: #include <stdio.h>
3514: int
3515: main ()
3516: {
3517: FILE *f = fopen ("conftest.out", "w");
3518: return ferror (f) || fclose (f) != 0;
3519:
3520: ;
3521: return 0;
3522: }
3523: _ACEOF
3524: ac_clean_files="$ac_clean_files conftest.out"
3525: # Check that the compiler produces executables we can run. If not, either
3526: # the compiler is broken, or we cross compile.
3527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3528: $as_echo_n "checking whether we are cross compiling... " >&6; }
3529: if test "$cross_compiling" != yes; then
3530: { { ac_try="$ac_link"
3531: case "(($ac_try" in
3532: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533: *) ac_try_echo=$ac_try;;
3534: esac
3535: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536: $as_echo "$ac_try_echo"; } >&5
3537: (eval "$ac_link") 2>&5
3538: ac_status=$?
3539: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540: test $ac_status = 0; }
3541: if { ac_try='./conftest$ac_cv_exeext'
3542: { { case "(($ac_try" in
3543: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544: *) ac_try_echo=$ac_try;;
3545: esac
3546: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547: $as_echo "$ac_try_echo"; } >&5
3548: (eval "$ac_try") 2>&5
3549: ac_status=$?
3550: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551: test $ac_status = 0; }; }; then
3552: cross_compiling=no
3553: else
3554: if test "$cross_compiling" = maybe; then
3555: cross_compiling=yes
3556: else
3557: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559: as_fn_error $? "cannot run C compiled programs.
3560: If you meant to cross compile, use \`--host'.
3561: See \`config.log' for more details" "$LINENO" 5 ; }
3562: fi
3563: fi
3564: fi
3565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3566: $as_echo "$cross_compiling" >&6; }
3567:
3568: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3569: ac_clean_files=$ac_clean_files_save
3570: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3571: $as_echo_n "checking for suffix of object files... " >&6; }
3572: if test "${ac_cv_objext+set}" = set; then :
3573: $as_echo_n "(cached) " >&6
3574: else
3575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576: /* end confdefs.h. */
3577:
3578: int
3579: main ()
3580: {
3581:
3582: ;
3583: return 0;
3584: }
3585: _ACEOF
3586: rm -f conftest.o conftest.obj
3587: if { { ac_try="$ac_compile"
3588: case "(($ac_try" in
3589: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590: *) ac_try_echo=$ac_try;;
3591: esac
3592: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593: $as_echo "$ac_try_echo"; } >&5
3594: (eval "$ac_compile") 2>&5
3595: ac_status=$?
3596: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3597: test $ac_status = 0; }; then :
3598: for ac_file in conftest.o conftest.obj conftest.*; do
3599: test -f "$ac_file" || continue;
3600: case $ac_file in
3601: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3602: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3603: break;;
3604: esac
3605: done
3606: else
3607: $as_echo "$as_me: failed program was:" >&5
3608: sed 's/^/| /' conftest.$ac_ext >&5
3609:
3610: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612: as_fn_error $? "cannot compute suffix of object files: cannot compile
3613: See \`config.log' for more details" "$LINENO" 5 ; }
3614: fi
3615: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3616: fi
3617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3618: $as_echo "$ac_cv_objext" >&6; }
3619: OBJEXT=$ac_cv_objext
3620: ac_objext=$OBJEXT
3621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3622: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3623: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3624: $as_echo_n "(cached) " >&6
3625: else
3626: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627: /* end confdefs.h. */
3628:
3629: int
3630: main ()
3631: {
3632: #ifndef __GNUC__
3633: choke me
3634: #endif
3635:
3636: ;
3637: return 0;
3638: }
3639: _ACEOF
3640: if ac_fn_c_try_compile "$LINENO"; then :
3641: ac_compiler_gnu=yes
3642: else
3643: ac_compiler_gnu=no
3644: fi
3645: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3647:
3648: fi
3649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3650: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3651: if test $ac_compiler_gnu = yes; then
3652: GCC=yes
3653: else
3654: GCC=
3655: fi
3656: ac_test_CFLAGS=${CFLAGS+set}
3657: ac_save_CFLAGS=$CFLAGS
3658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3659: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3660: if test "${ac_cv_prog_cc_g+set}" = set; then :
3661: $as_echo_n "(cached) " >&6
3662: else
3663: ac_save_c_werror_flag=$ac_c_werror_flag
3664: ac_c_werror_flag=yes
3665: ac_cv_prog_cc_g=no
3666: CFLAGS="-g"
3667: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668: /* end confdefs.h. */
3669:
3670: int
3671: main ()
3672: {
3673:
3674: ;
3675: return 0;
3676: }
3677: _ACEOF
3678: if ac_fn_c_try_compile "$LINENO"; then :
3679: ac_cv_prog_cc_g=yes
3680: else
3681: CFLAGS=""
3682: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683: /* end confdefs.h. */
3684:
3685: int
3686: main ()
3687: {
3688:
3689: ;
3690: return 0;
3691: }
3692: _ACEOF
3693: if ac_fn_c_try_compile "$LINENO"; then :
3694:
3695: else
3696: ac_c_werror_flag=$ac_save_c_werror_flag
3697: CFLAGS="-g"
3698: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699: /* end confdefs.h. */
3700:
3701: int
3702: main ()
3703: {
3704:
3705: ;
3706: return 0;
3707: }
3708: _ACEOF
3709: if ac_fn_c_try_compile "$LINENO"; then :
3710: ac_cv_prog_cc_g=yes
3711: fi
3712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713: fi
3714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715: fi
3716: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717: ac_c_werror_flag=$ac_save_c_werror_flag
3718: fi
3719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3720: $as_echo "$ac_cv_prog_cc_g" >&6; }
3721: if test "$ac_test_CFLAGS" = set; then
3722: CFLAGS=$ac_save_CFLAGS
3723: elif test $ac_cv_prog_cc_g = yes; then
3724: if test "$GCC" = yes; then
3725: CFLAGS="-g -O2"
3726: else
3727: CFLAGS="-g"
3728: fi
3729: else
3730: if test "$GCC" = yes; then
3731: CFLAGS="-O2"
3732: else
3733: CFLAGS=
3734: fi
3735: fi
3736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3737: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3738: if test "${ac_cv_prog_cc_c89+set}" = set; then :
3739: $as_echo_n "(cached) " >&6
3740: else
3741: ac_cv_prog_cc_c89=no
3742: ac_save_CC=$CC
3743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744: /* end confdefs.h. */
3745: #include <stdarg.h>
3746: #include <stdio.h>
3747: #include <sys/types.h>
3748: #include <sys/stat.h>
3749: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3750: struct buf { int x; };
3751: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3752: static char *e (p, i)
3753: char **p;
3754: int i;
3755: {
3756: return p[i];
3757: }
3758: static char *f (char * (*g) (char **, int), char **p, ...)
3759: {
3760: char *s;
3761: va_list v;
3762: va_start (v,p);
3763: s = g (p, va_arg (v,int));
3764: va_end (v);
3765: return s;
3766: }
3767:
3768: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3769: function prototypes and stuff, but not '\xHH' hex character constants.
3770: These don't provoke an error unfortunately, instead are silently treated
3771: as 'x'. The following induces an error, until -std is added to get
3772: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3773: array size at least. It's necessary to write '\x00'==0 to get something
3774: that's true only with -std. */
3775: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3776:
3777: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3778: inside strings and character constants. */
3779: #define FOO(x) 'x'
3780: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3781:
3782: int test (int i, double x);
3783: struct s1 {int (*f) (int a);};
3784: struct s2 {int (*f) (double a);};
3785: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3786: int argc;
3787: char **argv;
3788: int
3789: main ()
3790: {
3791: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3792: ;
3793: return 0;
3794: }
3795: _ACEOF
3796: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3797: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3798: do
3799: CC="$ac_save_CC $ac_arg"
3800: if ac_fn_c_try_compile "$LINENO"; then :
3801: ac_cv_prog_cc_c89=$ac_arg
3802: fi
3803: rm -f core conftest.err conftest.$ac_objext
3804: test "x$ac_cv_prog_cc_c89" != "xno" && break
3805: done
3806: rm -f conftest.$ac_ext
3807: CC=$ac_save_CC
3808:
3809: fi
3810: # AC_CACHE_VAL
3811: case "x$ac_cv_prog_cc_c89" in
3812: x)
3813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3814: $as_echo "none needed" >&6; } ;;
3815: xno)
3816: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3817: $as_echo "unsupported" >&6; } ;;
3818: *)
3819: CC="$CC $ac_cv_prog_cc_c89"
3820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3821: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3822: esac
3823: if test "x$ac_cv_prog_cc_c89" != xno; then :
3824:
3825: fi
3826:
3827: ac_ext=c
3828: ac_cpp='$CPP $CPPFLAGS'
3829: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832: DEPDIR="${am__leading_dot}deps"
3833:
3834: ac_config_commands="$ac_config_commands depfiles"
3835:
3836:
3837: am_make=${MAKE-make}
3838: cat > confinc << 'END'
3839: am__doit:
3840: @echo this is the am__doit target
3841: .PHONY: am__doit
3842: END
3843: # If we don't find an include directive, just comment out the code.
3844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3845: $as_echo_n "checking for style of include used by $am_make... " >&6; }
3846: am__include="#"
3847: am__quote=
3848: _am_result=none
3849: # First try GNU make style include.
3850: echo "include confinc" > confmf
3851: # Ignore all kinds of additional output from `make'.
3852: case `$am_make -s -f confmf 2> /dev/null` in #(
3853: *the\ am__doit\ target*)
3854: am__include=include
3855: am__quote=
3856: _am_result=GNU
3857: ;;
3858: esac
3859: # Now try BSD make style include.
3860: if test "$am__include" = "#"; then
3861: echo '.include "confinc"' > confmf
3862: case `$am_make -s -f confmf 2> /dev/null` in #(
3863: *the\ am__doit\ target*)
3864: am__include=.include
3865: am__quote="\""
3866: _am_result=BSD
3867: ;;
3868: esac
3869: fi
3870:
3871:
3872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3873: $as_echo "$_am_result" >&6; }
3874: rm -f confinc confmf
3875:
3876: # Check whether --enable-dependency-tracking was given.
3877: if test "${enable_dependency_tracking+set}" = set; then :
3878: enableval=$enable_dependency_tracking;
3879: fi
3880:
3881: if test "x$enable_dependency_tracking" != xno; then
3882: am_depcomp="$ac_aux_dir/depcomp"
3883: AMDEPBACKSLASH='\'
3884: fi
3885: if test "x$enable_dependency_tracking" != xno; then
3886: AMDEP_TRUE=
3887: AMDEP_FALSE='#'
3888: else
3889: AMDEP_TRUE='#'
3890: AMDEP_FALSE=
3891: fi
3892:
3893:
3894:
3895: depcc="$CC" am_compiler_list=
3896:
3897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3898: $as_echo_n "checking dependency style of $depcc... " >&6; }
3899: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3900: $as_echo_n "(cached) " >&6
3901: else
3902: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3903: # We make a subdir and do the tests there. Otherwise we can end up
3904: # making bogus files that we don't know about and never remove. For
3905: # instance it was reported that on HP-UX the gcc test will end up
3906: # making a dummy file named `D' -- because `-MD' means `put the output
3907: # in D'.
3908: mkdir conftest.dir
3909: # Copy depcomp to subdir because otherwise we won't find it if we're
3910: # using a relative directory.
3911: cp "$am_depcomp" conftest.dir
3912: cd conftest.dir
3913: # We will build objects and dependencies in a subdirectory because
3914: # it helps to detect inapplicable dependency modes. For instance
3915: # both Tru64's cc and ICC support -MD to output dependencies as a
3916: # side effect of compilation, but ICC will put the dependencies in
3917: # the current directory while Tru64 will put them in the object
3918: # directory.
3919: mkdir sub
3920:
3921: am_cv_CC_dependencies_compiler_type=none
3922: if test "$am_compiler_list" = ""; then
3923: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3924: fi
3925: am__universal=false
3926: case " $depcc " in #(
3927: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3928: esac
3929:
3930: for depmode in $am_compiler_list; do
3931: # Setup a source with many dependencies, because some compilers
3932: # like to wrap large dependency lists on column 80 (with \), and
3933: # we should not choose a depcomp mode which is confused by this.
3934: #
3935: # We need to recreate these files for each test, as the compiler may
3936: # overwrite some of them when testing with obscure command lines.
3937: # This happens at least with the AIX C compiler.
3938: : > sub/conftest.c
3939: for i in 1 2 3 4 5 6; do
3940: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3941: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3942: # Solaris 8's {/usr,}/bin/sh.
3943: touch sub/conftst$i.h
3944: done
3945: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3946:
3947: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3948: # mode. It turns out that the SunPro C++ compiler does not properly
3949: # handle `-M -o', and we need to detect this. Also, some Intel
3950: # versions had trouble with output in subdirs
3951: am__obj=sub/conftest.${OBJEXT-o}
3952: am__minus_obj="-o $am__obj"
3953: case $depmode in
3954: gcc)
3955: # This depmode causes a compiler race in universal mode.
3956: test "$am__universal" = false || continue
3957: ;;
3958: nosideeffect)
3959: # after this tag, mechanisms are not by side-effect, so they'll
3960: # only be used when explicitly requested
3961: if test "x$enable_dependency_tracking" = xyes; then
3962: continue
3963: else
3964: break
3965: fi
3966: ;;
3967: msvisualcpp | msvcmsys)
3968: # This compiler won't grok `-c -o', but also, the minuso test has
3969: # not run yet. These depmodes are late enough in the game, and
3970: # so weak that their functioning should not be impacted.
3971: am__obj=conftest.${OBJEXT-o}
3972: am__minus_obj=
3973: ;;
3974: none) break ;;
3975: esac
3976: if depmode=$depmode \
3977: source=sub/conftest.c object=$am__obj \
3978: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3979: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3980: >/dev/null 2>conftest.err &&
3981: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3982: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3983: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3984: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3985: # icc doesn't choke on unknown options, it will just issue warnings
3986: # or remarks (even with -Werror). So we grep stderr for any message
3987: # that says an option was ignored or not supported.
3988: # When given -MP, icc 7.0 and 7.1 complain thusly:
3989: # icc: Command line warning: ignoring option '-M'; no argument required
3990: # The diagnosis changed in icc 8.0:
3991: # icc: Command line remark: option '-MP' not supported
3992: if (grep 'ignoring option' conftest.err ||
3993: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3994: am_cv_CC_dependencies_compiler_type=$depmode
3995: break
3996: fi
3997: fi
3998: done
3999:
4000: cd ..
4001: rm -rf conftest.dir
4002: else
4003: am_cv_CC_dependencies_compiler_type=none
4004: fi
4005:
4006: fi
4007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4008: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4009: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4010:
4011: if
4012: test "x$enable_dependency_tracking" != xno \
4013: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4014: am__fastdepCC_TRUE=
4015: am__fastdepCC_FALSE='#'
4016: else
4017: am__fastdepCC_TRUE='#'
4018: am__fastdepCC_FALSE=
4019: fi
4020:
4021:
4022:
4023: EXT_SQL=
4024:
4025: if test x"$CC" != x""; then
4026: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4027: awk -F. '{ printf("%s", $1);}'`
4028: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4029: awk -F. '{ printf("%s", $2);}'`
4030: if test $GCC_VERSION_MAJEURE -ge 5; then
4031: OPTIMISATION_C=-O3
4032: else
4033: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
4034: then
4035: OPTIMISATION_C=-O3
4036: else
4037: if test $GCC_VERSION_MAJEURE -ge 2; then
4038: OPTIMISATION_C=-O2
4039: else
4040: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
4041: fi
4042: fi
4043: fi
4044: fi
4045:
4046: if test "x$CC" != xcc; then
4047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4048: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4049: else
4050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4051: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4052: fi
4053: set dummy $CC; ac_cc=`$as_echo "$2" |
4054: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4055: if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
4056: $as_echo_n "(cached) " >&6
4057: else
4058: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059: /* end confdefs.h. */
4060:
4061: int
4062: main ()
4063: {
4064:
4065: ;
4066: return 0;
4067: }
4068: _ACEOF
4069: # Make sure it works both with $CC and with simple cc.
4070: # We do the test twice because some compilers refuse to overwrite an
4071: # existing .o file with -o, though they will create one.
4072: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4073: rm -f conftest2.*
4074: if { { case "(($ac_try" in
4075: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076: *) ac_try_echo=$ac_try;;
4077: esac
4078: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4079: $as_echo "$ac_try_echo"; } >&5
4080: (eval "$ac_try") 2>&5
4081: ac_status=$?
4082: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083: test $ac_status = 0; } &&
4084: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4085: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086: *) ac_try_echo=$ac_try;;
4087: esac
4088: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089: $as_echo "$ac_try_echo"; } >&5
4090: (eval "$ac_try") 2>&5
4091: ac_status=$?
4092: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093: test $ac_status = 0; };
4094: then
4095: eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4096: if test "x$CC" != xcc; then
4097: # Test first that cc exists at all.
4098: if { ac_try='cc -c conftest.$ac_ext >&5'
4099: { { case "(($ac_try" in
4100: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101: *) ac_try_echo=$ac_try;;
4102: esac
4103: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104: $as_echo "$ac_try_echo"; } >&5
4105: (eval "$ac_try") 2>&5
4106: ac_status=$?
4107: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108: test $ac_status = 0; }; }; then
4109: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4110: rm -f conftest2.*
4111: if { { case "(($ac_try" in
4112: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113: *) ac_try_echo=$ac_try;;
4114: esac
4115: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116: $as_echo "$ac_try_echo"; } >&5
4117: (eval "$ac_try") 2>&5
4118: ac_status=$?
4119: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120: test $ac_status = 0; } &&
4121: test -f conftest2.$ac_objext && { { case "(($ac_try" in
4122: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123: *) ac_try_echo=$ac_try;;
4124: esac
4125: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126: $as_echo "$ac_try_echo"; } >&5
4127: (eval "$ac_try") 2>&5
4128: ac_status=$?
4129: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130: test $ac_status = 0; };
4131: then
4132: # cc works too.
4133: :
4134: else
4135: # cc exists but doesn't like -o.
4136: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4137: fi
4138: fi
4139: fi
4140: else
4141: eval ac_cv_prog_cc_${ac_cc}_c_o=no
4142: fi
4143: rm -f core conftest*
4144:
4145: fi
4146: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4148: $as_echo "yes" >&6; }
4149: else
4150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151: $as_echo "no" >&6; }
4152:
4153: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4154:
4155: fi
4156:
4157: # FIXME: we rely on the cache variable name because
4158: # there is no other way.
4159: set dummy $CC
4160: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4161: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4162: if test "$am_t" != yes; then
4163: # Losing compiler, so override with the script.
4164: # FIXME: It is wrong to rewrite CC.
4165: # But if we don't then we get into trouble of one sort or another.
4166: # A longer-term fix would be to have automake use am__CC in this case,
4167: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4168: CC="$am_aux_dir/compile $CC"
4169: fi
4170:
4171:
4172:
4173: if test "$GCC" != yes; then
4174: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
4175: fi
4176:
4177: ac_ext=cpp
4178: ac_cpp='$CXXCPP $CPPFLAGS'
4179: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4180: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4181: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4182: if test -z "$CXX"; then
4183: if test -n "$CCC"; then
4184: CXX=$CCC
4185: else
4186: if test -n "$ac_tool_prefix"; then
4187: for ac_prog in g++
4188: do
4189: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4190: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192: $as_echo_n "checking for $ac_word... " >&6; }
4193: if test "${ac_cv_prog_CXX+set}" = set; then :
4194: $as_echo_n "(cached) " >&6
4195: else
4196: if test -n "$CXX"; then
4197: ac_cv_prog_CXX="$CXX" # Let the user override the test.
4198: else
4199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200: for as_dir in $PATH
4201: do
4202: IFS=$as_save_IFS
4203: test -z "$as_dir" && as_dir=.
4204: for ac_exec_ext in '' $ac_executable_extensions; do
4205: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4207: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208: break 2
4209: fi
4210: done
4211: done
4212: IFS=$as_save_IFS
4213:
4214: fi
4215: fi
4216: CXX=$ac_cv_prog_CXX
4217: if test -n "$CXX"; then
4218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4219: $as_echo "$CXX" >&6; }
4220: else
4221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222: $as_echo "no" >&6; }
4223: fi
4224:
4225:
4226: test -n "$CXX" && break
4227: done
4228: fi
4229: if test -z "$CXX"; then
4230: ac_ct_CXX=$CXX
4231: for ac_prog in g++
4232: do
4233: # Extract the first word of "$ac_prog", so it can be a program name with args.
4234: set dummy $ac_prog; ac_word=$2
4235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236: $as_echo_n "checking for $ac_word... " >&6; }
4237: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4238: $as_echo_n "(cached) " >&6
4239: else
4240: if test -n "$ac_ct_CXX"; then
4241: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4242: else
4243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244: for as_dir in $PATH
4245: do
4246: IFS=$as_save_IFS
4247: test -z "$as_dir" && as_dir=.
4248: for ac_exec_ext in '' $ac_executable_extensions; do
4249: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250: ac_cv_prog_ac_ct_CXX="$ac_prog"
4251: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252: break 2
4253: fi
4254: done
4255: done
4256: IFS=$as_save_IFS
4257:
4258: fi
4259: fi
4260: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4261: if test -n "$ac_ct_CXX"; then
4262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4263: $as_echo "$ac_ct_CXX" >&6; }
4264: else
4265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266: $as_echo "no" >&6; }
4267: fi
4268:
4269:
4270: test -n "$ac_ct_CXX" && break
4271: done
4272:
4273: if test "x$ac_ct_CXX" = x; then
4274: CXX="g++"
4275: else
4276: case $cross_compiling:$ac_tool_warned in
4277: yes:)
4278: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280: ac_tool_warned=yes ;;
4281: esac
4282: CXX=$ac_ct_CXX
4283: fi
4284: fi
4285:
4286: fi
4287: fi
4288: # Provide some information about the compiler.
4289: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4290: set X $ac_compile
4291: ac_compiler=$2
4292: for ac_option in --version -v -V -qversion; do
4293: { { ac_try="$ac_compiler $ac_option >&5"
4294: case "(($ac_try" in
4295: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296: *) ac_try_echo=$ac_try;;
4297: esac
4298: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299: $as_echo "$ac_try_echo"; } >&5
4300: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4301: ac_status=$?
4302: if test -s conftest.err; then
4303: sed '10a\
4304: ... rest of stderr output deleted ...
4305: 10q' conftest.err >conftest.er1
4306: cat conftest.er1 >&5
4307: fi
4308: rm -f conftest.er1 conftest.err
4309: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4310: test $ac_status = 0; }
4311: done
4312:
4313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4314: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4315: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4316: $as_echo_n "(cached) " >&6
4317: else
4318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319: /* end confdefs.h. */
4320:
4321: int
4322: main ()
4323: {
4324: #ifndef __GNUC__
4325: choke me
4326: #endif
4327:
4328: ;
4329: return 0;
4330: }
4331: _ACEOF
4332: if ac_fn_cxx_try_compile "$LINENO"; then :
4333: ac_compiler_gnu=yes
4334: else
4335: ac_compiler_gnu=no
4336: fi
4337: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4338: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4339:
4340: fi
4341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4342: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4343: if test $ac_compiler_gnu = yes; then
4344: GXX=yes
4345: else
4346: GXX=
4347: fi
4348: ac_test_CXXFLAGS=${CXXFLAGS+set}
4349: ac_save_CXXFLAGS=$CXXFLAGS
4350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4351: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4352: if test "${ac_cv_prog_cxx_g+set}" = set; then :
4353: $as_echo_n "(cached) " >&6
4354: else
4355: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4356: ac_cxx_werror_flag=yes
4357: ac_cv_prog_cxx_g=no
4358: CXXFLAGS="-g"
4359: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360: /* end confdefs.h. */
4361:
4362: int
4363: main ()
4364: {
4365:
4366: ;
4367: return 0;
4368: }
4369: _ACEOF
4370: if ac_fn_cxx_try_compile "$LINENO"; then :
4371: ac_cv_prog_cxx_g=yes
4372: else
4373: CXXFLAGS=""
4374: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375: /* end confdefs.h. */
4376:
4377: int
4378: main ()
4379: {
4380:
4381: ;
4382: return 0;
4383: }
4384: _ACEOF
4385: if ac_fn_cxx_try_compile "$LINENO"; then :
4386:
4387: else
4388: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4389: CXXFLAGS="-g"
4390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391: /* end confdefs.h. */
4392:
4393: int
4394: main ()
4395: {
4396:
4397: ;
4398: return 0;
4399: }
4400: _ACEOF
4401: if ac_fn_cxx_try_compile "$LINENO"; then :
4402: ac_cv_prog_cxx_g=yes
4403: fi
4404: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405: fi
4406: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407: fi
4408: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4410: fi
4411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4412: $as_echo "$ac_cv_prog_cxx_g" >&6; }
4413: if test "$ac_test_CXXFLAGS" = set; then
4414: CXXFLAGS=$ac_save_CXXFLAGS
4415: elif test $ac_cv_prog_cxx_g = yes; then
4416: if test "$GXX" = yes; then
4417: CXXFLAGS="-g -O2"
4418: else
4419: CXXFLAGS="-g"
4420: fi
4421: else
4422: if test "$GXX" = yes; then
4423: CXXFLAGS="-O2"
4424: else
4425: CXXFLAGS=
4426: fi
4427: fi
4428: ac_ext=c
4429: ac_cpp='$CPP $CPPFLAGS'
4430: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433:
4434: depcc="$CXX" am_compiler_list=
4435:
4436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4437: $as_echo_n "checking dependency style of $depcc... " >&6; }
4438: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4439: $as_echo_n "(cached) " >&6
4440: else
4441: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4442: # We make a subdir and do the tests there. Otherwise we can end up
4443: # making bogus files that we don't know about and never remove. For
4444: # instance it was reported that on HP-UX the gcc test will end up
4445: # making a dummy file named `D' -- because `-MD' means `put the output
4446: # in D'.
4447: mkdir conftest.dir
4448: # Copy depcomp to subdir because otherwise we won't find it if we're
4449: # using a relative directory.
4450: cp "$am_depcomp" conftest.dir
4451: cd conftest.dir
4452: # We will build objects and dependencies in a subdirectory because
4453: # it helps to detect inapplicable dependency modes. For instance
4454: # both Tru64's cc and ICC support -MD to output dependencies as a
4455: # side effect of compilation, but ICC will put the dependencies in
4456: # the current directory while Tru64 will put them in the object
4457: # directory.
4458: mkdir sub
4459:
4460: am_cv_CXX_dependencies_compiler_type=none
4461: if test "$am_compiler_list" = ""; then
4462: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4463: fi
4464: am__universal=false
4465: case " $depcc " in #(
4466: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4467: esac
4468:
4469: for depmode in $am_compiler_list; do
4470: # Setup a source with many dependencies, because some compilers
4471: # like to wrap large dependency lists on column 80 (with \), and
4472: # we should not choose a depcomp mode which is confused by this.
4473: #
4474: # We need to recreate these files for each test, as the compiler may
4475: # overwrite some of them when testing with obscure command lines.
4476: # This happens at least with the AIX C compiler.
4477: : > sub/conftest.c
4478: for i in 1 2 3 4 5 6; do
4479: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4480: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4481: # Solaris 8's {/usr,}/bin/sh.
4482: touch sub/conftst$i.h
4483: done
4484: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4485:
4486: # We check with `-c' and `-o' for the sake of the "dashmstdout"
4487: # mode. It turns out that the SunPro C++ compiler does not properly
4488: # handle `-M -o', and we need to detect this. Also, some Intel
4489: # versions had trouble with output in subdirs
4490: am__obj=sub/conftest.${OBJEXT-o}
4491: am__minus_obj="-o $am__obj"
4492: case $depmode in
4493: gcc)
4494: # This depmode causes a compiler race in universal mode.
4495: test "$am__universal" = false || continue
4496: ;;
4497: nosideeffect)
4498: # after this tag, mechanisms are not by side-effect, so they'll
4499: # only be used when explicitly requested
4500: if test "x$enable_dependency_tracking" = xyes; then
4501: continue
4502: else
4503: break
4504: fi
4505: ;;
4506: msvisualcpp | msvcmsys)
4507: # This compiler won't grok `-c -o', but also, the minuso test has
4508: # not run yet. These depmodes are late enough in the game, and
4509: # so weak that their functioning should not be impacted.
4510: am__obj=conftest.${OBJEXT-o}
4511: am__minus_obj=
4512: ;;
4513: none) break ;;
4514: esac
4515: if depmode=$depmode \
4516: source=sub/conftest.c object=$am__obj \
4517: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4518: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4519: >/dev/null 2>conftest.err &&
4520: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4521: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4522: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4523: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4524: # icc doesn't choke on unknown options, it will just issue warnings
4525: # or remarks (even with -Werror). So we grep stderr for any message
4526: # that says an option was ignored or not supported.
4527: # When given -MP, icc 7.0 and 7.1 complain thusly:
4528: # icc: Command line warning: ignoring option '-M'; no argument required
4529: # The diagnosis changed in icc 8.0:
4530: # icc: Command line remark: option '-MP' not supported
4531: if (grep 'ignoring option' conftest.err ||
4532: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4533: am_cv_CXX_dependencies_compiler_type=$depmode
4534: break
4535: fi
4536: fi
4537: done
4538:
4539: cd ..
4540: rm -rf conftest.dir
4541: else
4542: am_cv_CXX_dependencies_compiler_type=none
4543: fi
4544:
4545: fi
4546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4547: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4548: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4549:
4550: if
4551: test "x$enable_dependency_tracking" != xno \
4552: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4553: am__fastdepCXX_TRUE=
4554: am__fastdepCXX_FALSE='#'
4555: else
4556: am__fastdepCXX_TRUE='#'
4557: am__fastdepCXX_FALSE=
4558: fi
4559:
4560:
4561:
4562: if test "$GXX" != yes; then
4563: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
4564: fi
4565:
4566: ac_ext=f
4567: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4568: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4570: if test -n "$ac_tool_prefix"; then
4571: for ac_prog in gfortran
4572: do
4573: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4574: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576: $as_echo_n "checking for $ac_word... " >&6; }
4577: if test "${ac_cv_prog_F77+set}" = set; then :
4578: $as_echo_n "(cached) " >&6
4579: else
4580: if test -n "$F77"; then
4581: ac_cv_prog_F77="$F77" # Let the user override the test.
4582: else
4583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584: for as_dir in $PATH
4585: do
4586: IFS=$as_save_IFS
4587: test -z "$as_dir" && as_dir=.
4588: for ac_exec_ext in '' $ac_executable_extensions; do
4589: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4590: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4591: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592: break 2
4593: fi
4594: done
4595: done
4596: IFS=$as_save_IFS
4597:
4598: fi
4599: fi
4600: F77=$ac_cv_prog_F77
4601: if test -n "$F77"; then
4602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
4603: $as_echo "$F77" >&6; }
4604: else
4605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606: $as_echo "no" >&6; }
4607: fi
4608:
4609:
4610: test -n "$F77" && break
4611: done
4612: fi
4613: if test -z "$F77"; then
4614: ac_ct_F77=$F77
4615: for ac_prog in gfortran
4616: do
4617: # Extract the first word of "$ac_prog", so it can be a program name with args.
4618: set dummy $ac_prog; ac_word=$2
4619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620: $as_echo_n "checking for $ac_word... " >&6; }
4621: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
4622: $as_echo_n "(cached) " >&6
4623: else
4624: if test -n "$ac_ct_F77"; then
4625: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4626: else
4627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628: for as_dir in $PATH
4629: do
4630: IFS=$as_save_IFS
4631: test -z "$as_dir" && as_dir=.
4632: for ac_exec_ext in '' $ac_executable_extensions; do
4633: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634: ac_cv_prog_ac_ct_F77="$ac_prog"
4635: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636: break 2
4637: fi
4638: done
4639: done
4640: IFS=$as_save_IFS
4641:
4642: fi
4643: fi
4644: ac_ct_F77=$ac_cv_prog_ac_ct_F77
4645: if test -n "$ac_ct_F77"; then
4646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
4647: $as_echo "$ac_ct_F77" >&6; }
4648: else
4649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650: $as_echo "no" >&6; }
4651: fi
4652:
4653:
4654: test -n "$ac_ct_F77" && break
4655: done
4656:
4657: if test "x$ac_ct_F77" = x; then
4658: F77=""
4659: else
4660: case $cross_compiling:$ac_tool_warned in
4661: yes:)
4662: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4663: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4664: ac_tool_warned=yes ;;
4665: esac
4666: F77=$ac_ct_F77
4667: fi
4668: fi
4669:
4670:
4671: # Provide some information about the compiler.
4672: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
4673: set X $ac_compile
4674: ac_compiler=$2
4675: for ac_option in --version -v -V -qversion; do
4676: { { ac_try="$ac_compiler $ac_option >&5"
4677: case "(($ac_try" in
4678: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4679: *) ac_try_echo=$ac_try;;
4680: esac
4681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4682: $as_echo "$ac_try_echo"; } >&5
4683: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4684: ac_status=$?
4685: if test -s conftest.err; then
4686: sed '10a\
4687: ... rest of stderr output deleted ...
4688: 10q' conftest.err >conftest.er1
4689: cat conftest.er1 >&5
4690: fi
4691: rm -f conftest.er1 conftest.err
4692: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4693: test $ac_status = 0; }
4694: done
4695: rm -f a.out
4696:
4697: # If we don't use `.F' as extension, the preprocessor is not run on the
4698: # input file. (Note that this only needs to work for GNU compilers.)
4699: ac_save_ext=$ac_ext
4700: ac_ext=F
4701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
4702: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
4703: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
4704: $as_echo_n "(cached) " >&6
4705: else
4706: cat > conftest.$ac_ext <<_ACEOF
4707: program main
4708: #ifndef __GNUC__
4709: choke me
4710: #endif
4711:
4712: end
4713: _ACEOF
4714: if ac_fn_f77_try_compile "$LINENO"; then :
4715: ac_compiler_gnu=yes
4716: else
4717: ac_compiler_gnu=no
4718: fi
4719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4721:
4722: fi
4723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
4724: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
4725: ac_ext=$ac_save_ext
4726: ac_test_FFLAGS=${FFLAGS+set}
4727: ac_save_FFLAGS=$FFLAGS
4728: FFLAGS=
4729: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
4730: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
4731: if test "${ac_cv_prog_f77_g+set}" = set; then :
4732: $as_echo_n "(cached) " >&6
4733: else
4734: FFLAGS=-g
4735: cat > conftest.$ac_ext <<_ACEOF
4736: program main
4737:
4738: end
4739: _ACEOF
4740: if ac_fn_f77_try_compile "$LINENO"; then :
4741: ac_cv_prog_f77_g=yes
4742: else
4743: ac_cv_prog_f77_g=no
4744: fi
4745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746:
4747: fi
4748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
4749: $as_echo "$ac_cv_prog_f77_g" >&6; }
4750: if test "$ac_test_FFLAGS" = set; then
4751: FFLAGS=$ac_save_FFLAGS
4752: elif test $ac_cv_prog_f77_g = yes; then
4753: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4754: FFLAGS="-g -O2"
4755: else
4756: FFLAGS="-g"
4757: fi
4758: else
4759: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4760: FFLAGS="-O2"
4761: else
4762: FFLAGS=
4763: fi
4764: fi
4765:
4766: if test $ac_compiler_gnu = yes; then
4767: G77=yes
4768: else
4769: G77=
4770: fi
4771: ac_ext=c
4772: ac_cpp='$CPP $CPPFLAGS'
4773: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776:
4777:
4778: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
4779: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4780: fi
4781:
4782: ac_ext=${ac_fc_srcext-f}
4783: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4784: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4785: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4786: if test -n "$ac_tool_prefix"; then
4787: for ac_prog in gfortran
4788: do
4789: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4790: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792: $as_echo_n "checking for $ac_word... " >&6; }
4793: if test "${ac_cv_prog_FC+set}" = set; then :
4794: $as_echo_n "(cached) " >&6
4795: else
4796: if test -n "$FC"; then
4797: ac_cv_prog_FC="$FC" # Let the user override the test.
4798: else
4799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800: for as_dir in $PATH
4801: do
4802: IFS=$as_save_IFS
4803: test -z "$as_dir" && as_dir=.
4804: for ac_exec_ext in '' $ac_executable_extensions; do
4805: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806: ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4807: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808: break 2
4809: fi
4810: done
4811: done
4812: IFS=$as_save_IFS
4813:
4814: fi
4815: fi
4816: FC=$ac_cv_prog_FC
4817: if test -n "$FC"; then
4818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
4819: $as_echo "$FC" >&6; }
4820: else
4821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822: $as_echo "no" >&6; }
4823: fi
4824:
4825:
4826: test -n "$FC" && break
4827: done
4828: fi
4829: if test -z "$FC"; then
4830: ac_ct_FC=$FC
4831: for ac_prog in gfortran
4832: do
4833: # Extract the first word of "$ac_prog", so it can be a program name with args.
4834: set dummy $ac_prog; ac_word=$2
4835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836: $as_echo_n "checking for $ac_word... " >&6; }
4837: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
4838: $as_echo_n "(cached) " >&6
4839: else
4840: if test -n "$ac_ct_FC"; then
4841: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4842: else
4843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844: for as_dir in $PATH
4845: do
4846: IFS=$as_save_IFS
4847: test -z "$as_dir" && as_dir=.
4848: for ac_exec_ext in '' $ac_executable_extensions; do
4849: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4850: ac_cv_prog_ac_ct_FC="$ac_prog"
4851: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852: break 2
4853: fi
4854: done
4855: done
4856: IFS=$as_save_IFS
4857:
4858: fi
4859: fi
4860: ac_ct_FC=$ac_cv_prog_ac_ct_FC
4861: if test -n "$ac_ct_FC"; then
4862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
4863: $as_echo "$ac_ct_FC" >&6; }
4864: else
4865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866: $as_echo "no" >&6; }
4867: fi
4868:
4869:
4870: test -n "$ac_ct_FC" && break
4871: done
4872:
4873: if test "x$ac_ct_FC" = x; then
4874: FC=""
4875: else
4876: case $cross_compiling:$ac_tool_warned in
4877: yes:)
4878: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4879: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4880: ac_tool_warned=yes ;;
4881: esac
4882: FC=$ac_ct_FC
4883: fi
4884: fi
4885:
4886:
4887: # Provide some information about the compiler.
4888: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
4889: set X $ac_compile
4890: ac_compiler=$2
4891: for ac_option in --version -v -V -qversion; do
4892: { { ac_try="$ac_compiler $ac_option >&5"
4893: case "(($ac_try" in
4894: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895: *) ac_try_echo=$ac_try;;
4896: esac
4897: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4898: $as_echo "$ac_try_echo"; } >&5
4899: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4900: ac_status=$?
4901: if test -s conftest.err; then
4902: sed '10a\
4903: ... rest of stderr output deleted ...
4904: 10q' conftest.err >conftest.er1
4905: cat conftest.er1 >&5
4906: fi
4907: rm -f conftest.er1 conftest.err
4908: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4909: test $ac_status = 0; }
4910: done
4911: rm -f a.out
4912:
4913: # If we don't use `.F' as extension, the preprocessor is not run on the
4914: # input file. (Note that this only needs to work for GNU compilers.)
4915: ac_save_ext=$ac_ext
4916: ac_ext=F
4917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
4918: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4919: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
4920: $as_echo_n "(cached) " >&6
4921: else
4922: cat > conftest.$ac_ext <<_ACEOF
4923: program main
4924: #ifndef __GNUC__
4925: choke me
4926: #endif
4927:
4928: end
4929: _ACEOF
4930: if ac_fn_fc_try_compile "$LINENO"; then :
4931: ac_compiler_gnu=yes
4932: else
4933: ac_compiler_gnu=no
4934: fi
4935: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4937:
4938: fi
4939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
4940: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4941: ac_ext=$ac_save_ext
4942: ac_test_FCFLAGS=${FCFLAGS+set}
4943: ac_save_FCFLAGS=$FCFLAGS
4944: FCFLAGS=
4945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
4946: $as_echo_n "checking whether $FC accepts -g... " >&6; }
4947: if test "${ac_cv_prog_fc_g+set}" = set; then :
4948: $as_echo_n "(cached) " >&6
4949: else
4950: FCFLAGS=-g
4951: cat > conftest.$ac_ext <<_ACEOF
4952: program main
4953:
4954: end
4955: _ACEOF
4956: if ac_fn_fc_try_compile "$LINENO"; then :
4957: ac_cv_prog_fc_g=yes
4958: else
4959: ac_cv_prog_fc_g=no
4960: fi
4961: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962:
4963: fi
4964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
4965: $as_echo "$ac_cv_prog_fc_g" >&6; }
4966: if test "$ac_test_FCFLAGS" = set; then
4967: FCFLAGS=$ac_save_FCFLAGS
4968: elif test $ac_cv_prog_fc_g = yes; then
4969: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4970: FCFLAGS="-g -O2"
4971: else
4972: FCFLAGS="-g"
4973: fi
4974: else
4975: if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4976: FCFLAGS="-O2"
4977: else
4978: FCFLAGS=
4979: fi
4980: fi
4981:
4982: ac_ext=c
4983: ac_cpp='$CPP $CPPFLAGS'
4984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4987:
4988:
4989: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
4990: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
4991: fi
4992:
4993: if test x"$FC" != x""; then
4994: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4995: awk -F. '{ printf("%s", $1);}'`
4996: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
4997: awk -F. '{ printf("%s", $2);}'`
4998: if test $GCC_VERSION_MAJEURE -ge 5; then
4999: OPTIMISATION_F=-O3
5000: else
5001: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
5002: OPTIMISATION_F=-O3
5003: else
5004: if test $GCC_VERSION_MAJEURE -ge 3; then
5005: OPTIMISATION_F=-O2
5006: else
5007: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
5008: fi
5009: fi
5010: fi
5011: fi
5012:
5013:
5014: ac_ext=c
5015: ac_cpp='$CPP $CPPFLAGS'
5016: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5017: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5018: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5020: $as_echo_n "checking how to run the C preprocessor... " >&6; }
5021: # On Suns, sometimes $CPP names a directory.
5022: if test -n "$CPP" && test -d "$CPP"; then
5023: CPP=
5024: fi
5025: if test -z "$CPP"; then
5026: if test "${ac_cv_prog_CPP+set}" = set; then :
5027: $as_echo_n "(cached) " >&6
5028: else
5029: # Double quotes because CPP needs to be expanded
5030: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5031: do
5032: ac_preproc_ok=false
5033: for ac_c_preproc_warn_flag in '' yes
5034: do
5035: # Use a header file that comes with gcc, so configuring glibc
5036: # with a fresh cross-compiler works.
5037: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5038: # <limits.h> exists even on freestanding compilers.
5039: # On the NeXT, cc -E runs the code through the compiler's parser,
5040: # not just through cpp. "Syntax error" is here to catch this case.
5041: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042: /* end confdefs.h. */
5043: #ifdef __STDC__
5044: # include <limits.h>
5045: #else
5046: # include <assert.h>
5047: #endif
5048: Syntax error
5049: _ACEOF
5050: if ac_fn_c_try_cpp "$LINENO"; then :
5051:
5052: else
5053: # Broken: fails on valid input.
5054: continue
5055: fi
5056: rm -f conftest.err conftest.i conftest.$ac_ext
5057:
5058: # OK, works on sane cases. Now check whether nonexistent headers
5059: # can be detected and how.
5060: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061: /* end confdefs.h. */
5062: #include <ac_nonexistent.h>
5063: _ACEOF
5064: if ac_fn_c_try_cpp "$LINENO"; then :
5065: # Broken: success on invalid input.
5066: continue
5067: else
5068: # Passes both tests.
5069: ac_preproc_ok=:
5070: break
5071: fi
5072: rm -f conftest.err conftest.i conftest.$ac_ext
5073:
5074: done
5075: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5076: rm -f conftest.i conftest.err conftest.$ac_ext
5077: if $ac_preproc_ok; then :
5078: break
5079: fi
5080:
5081: done
5082: ac_cv_prog_CPP=$CPP
5083:
5084: fi
5085: CPP=$ac_cv_prog_CPP
5086: else
5087: ac_cv_prog_CPP=$CPP
5088: fi
5089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5090: $as_echo "$CPP" >&6; }
5091: ac_preproc_ok=false
5092: for ac_c_preproc_warn_flag in '' yes
5093: do
5094: # Use a header file that comes with gcc, so configuring glibc
5095: # with a fresh cross-compiler works.
5096: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5097: # <limits.h> exists even on freestanding compilers.
5098: # On the NeXT, cc -E runs the code through the compiler's parser,
5099: # not just through cpp. "Syntax error" is here to catch this case.
5100: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101: /* end confdefs.h. */
5102: #ifdef __STDC__
5103: # include <limits.h>
5104: #else
5105: # include <assert.h>
5106: #endif
5107: Syntax error
5108: _ACEOF
5109: if ac_fn_c_try_cpp "$LINENO"; then :
5110:
5111: else
5112: # Broken: fails on valid input.
5113: continue
5114: fi
5115: rm -f conftest.err conftest.i conftest.$ac_ext
5116:
5117: # OK, works on sane cases. Now check whether nonexistent headers
5118: # can be detected and how.
5119: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120: /* end confdefs.h. */
5121: #include <ac_nonexistent.h>
5122: _ACEOF
5123: if ac_fn_c_try_cpp "$LINENO"; then :
5124: # Broken: success on invalid input.
5125: continue
5126: else
5127: # Passes both tests.
5128: ac_preproc_ok=:
5129: break
5130: fi
5131: rm -f conftest.err conftest.i conftest.$ac_ext
5132:
5133: done
5134: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5135: rm -f conftest.i conftest.err conftest.$ac_ext
5136: if $ac_preproc_ok; then :
5137:
5138: else
5139: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5140: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5141: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5142: See \`config.log' for more details" "$LINENO" 5 ; }
5143: fi
5144:
5145: ac_ext=c
5146: ac_cpp='$CPP $CPPFLAGS'
5147: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5148: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149: ac_compiler_gnu=$ac_cv_c_compiler_gnu
5150:
5151:
5152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
5153: $as_echo_n "checking for X... " >&6; }
5154:
5155:
5156: # Check whether --with-x was given.
5157: if test "${with_x+set}" = set; then :
5158: withval=$with_x;
5159: fi
5160:
5161: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5162: if test "x$with_x" = xno; then
5163: # The user explicitly disabled X.
5164: have_x=disabled
5165: else
5166: case $x_includes,$x_libraries in #(
5167: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
5168: *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5169: $as_echo_n "(cached) " >&6
5170: else
5171: # One or both of the vars are not set, and there is no cached value.
5172: ac_x_includes=no ac_x_libraries=no
5173: rm -f -r conftest.dir
5174: if mkdir conftest.dir; then
5175: cd conftest.dir
5176: cat >Imakefile <<'_ACEOF'
5177: incroot:
5178: @echo incroot='${INCROOT}'
5179: usrlibdir:
5180: @echo usrlibdir='${USRLIBDIR}'
5181: libdir:
5182: @echo libdir='${LIBDIR}'
5183: _ACEOF
5184: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5185: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5186: for ac_var in incroot usrlibdir libdir; do
5187: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5188: done
5189: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5190: for ac_extension in a so sl dylib la dll; do
5191: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5192: test -f "$ac_im_libdir/libX11.$ac_extension"; then
5193: ac_im_usrlibdir=$ac_im_libdir; break
5194: fi
5195: done
5196: # Screen out bogus values from the imake configuration. They are
5197: # bogus both because they are the default anyway, and because
5198: # using them would break gcc on systems where it needs fixed includes.
5199: case $ac_im_incroot in
5200: /usr/include) ac_x_includes= ;;
5201: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5202: esac
5203: case $ac_im_usrlibdir in
5204: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5205: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5206: esac
5207: fi
5208: cd ..
5209: rm -f -r conftest.dir
5210: fi
5211:
5212: # Standard set of common directories for X headers.
5213: # Check X11 before X11Rn because it is often a symlink to the current release.
5214: ac_x_header_dirs='
5215: /usr/X11/include
5216: /usr/X11R7/include
5217: /usr/X11R6/include
5218: /usr/X11R5/include
5219: /usr/X11R4/include
5220:
5221: /usr/include/X11
5222: /usr/include/X11R7
5223: /usr/include/X11R6
5224: /usr/include/X11R5
5225: /usr/include/X11R4
5226:
5227: /usr/local/X11/include
5228: /usr/local/X11R7/include
5229: /usr/local/X11R6/include
5230: /usr/local/X11R5/include
5231: /usr/local/X11R4/include
5232:
5233: /usr/local/include/X11
5234: /usr/local/include/X11R7
5235: /usr/local/include/X11R6
5236: /usr/local/include/X11R5
5237: /usr/local/include/X11R4
5238:
5239: /usr/X386/include
5240: /usr/x386/include
5241: /usr/XFree86/include/X11
5242:
5243: /usr/include
5244: /usr/local/include
5245: /usr/unsupported/include
5246: /usr/athena/include
5247: /usr/local/x11r5/include
5248: /usr/lpp/Xamples/include
5249:
5250: /usr/openwin/include
5251: /usr/openwin/share/include'
5252:
5253: if test "$ac_x_includes" = no; then
5254: # Guess where to find include files, by looking for Xlib.h.
5255: # First, try using that file with no special directory specified.
5256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257: /* end confdefs.h. */
5258: #include <X11/Xlib.h>
5259: _ACEOF
5260: if ac_fn_c_try_cpp "$LINENO"; then :
5261: # We can compile using X headers with no special include directory.
5262: ac_x_includes=
5263: else
5264: for ac_dir in $ac_x_header_dirs; do
5265: if test -r "$ac_dir/X11/Xlib.h"; then
5266: ac_x_includes=$ac_dir
5267: break
5268: fi
5269: done
5270: fi
5271: rm -f conftest.err conftest.i conftest.$ac_ext
5272: fi # $ac_x_includes = no
5273:
5274: if test "$ac_x_libraries" = no; then
5275: # Check for the libraries.
5276: # See if we find them without any special options.
5277: # Don't add to $LIBS permanently.
5278: ac_save_LIBS=$LIBS
5279: LIBS="-lX11 $LIBS"
5280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281: /* end confdefs.h. */
5282: #include <X11/Xlib.h>
5283: int
5284: main ()
5285: {
5286: XrmInitialize ()
5287: ;
5288: return 0;
5289: }
5290: _ACEOF
5291: if ac_fn_c_try_link "$LINENO"; then :
5292: LIBS=$ac_save_LIBS
5293: # We can link X programs with no special library path.
5294: ac_x_libraries=
5295: else
5296: LIBS=$ac_save_LIBS
5297: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5298: do
5299: # Don't even attempt the hair of trying to link an X program!
5300: for ac_extension in a so sl dylib la dll; do
5301: if test -r "$ac_dir/libX11.$ac_extension"; then
5302: ac_x_libraries=$ac_dir
5303: break 2
5304: fi
5305: done
5306: done
5307: fi
5308: rm -f core conftest.err conftest.$ac_objext \
5309: conftest$ac_exeext conftest.$ac_ext
5310: fi # $ac_x_libraries = no
5311:
5312: case $ac_x_includes,$ac_x_libraries in #(
5313: no,* | *,no | *\'*)
5314: # Didn't find X, or a directory has "'" in its name.
5315: ac_cv_have_x="have_x=no";; #(
5316: *)
5317: # Record where we found X for the cache.
5318: ac_cv_have_x="have_x=yes\
5319: ac_x_includes='$ac_x_includes'\
5320: ac_x_libraries='$ac_x_libraries'"
5321: esac
5322: fi
5323: ;; #(
5324: *) have_x=yes;;
5325: esac
5326: eval "$ac_cv_have_x"
5327: fi # $with_x != no
5328:
5329: if test "$have_x" != yes; then
5330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5331: $as_echo "$have_x" >&6; }
5332: no_x=yes
5333: else
5334: # If each of the values was on the command line, it overrides each guess.
5335: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5336: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5337: # Update the cache value to reflect the command line values.
5338: ac_cv_have_x="have_x=yes\
5339: ac_x_includes='$x_includes'\
5340: ac_x_libraries='$x_libraries'"
5341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5342: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5343: fi
5344:
5345: if test "$no_x" = yes; then
5346: # Not all programs may use this symbol, but it does not hurt to define it.
5347:
5348: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5349:
5350: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5351: else
5352: if test -n "$x_includes"; then
5353: X_CFLAGS="$X_CFLAGS -I$x_includes"
5354: fi
5355:
5356: # It would also be nice to do this for all -L options, not just this one.
5357: if test -n "$x_libraries"; then
5358: X_LIBS="$X_LIBS -L$x_libraries"
5359: # For Solaris; some versions of Sun CC require a space after -R and
5360: # others require no space. Words are not sufficient . . . .
5361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5362: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5363: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5364: ac_xsave_c_werror_flag=$ac_c_werror_flag
5365: ac_c_werror_flag=yes
5366: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367: /* end confdefs.h. */
5368:
5369: int
5370: main ()
5371: {
5372:
5373: ;
5374: return 0;
5375: }
5376: _ACEOF
5377: if ac_fn_c_try_link "$LINENO"; then :
5378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379: $as_echo "no" >&6; }
5380: X_LIBS="$X_LIBS -R$x_libraries"
5381: else
5382: LIBS="$ac_xsave_LIBS -R $x_libraries"
5383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384: /* end confdefs.h. */
5385:
5386: int
5387: main ()
5388: {
5389:
5390: ;
5391: return 0;
5392: }
5393: _ACEOF
5394: if ac_fn_c_try_link "$LINENO"; then :
5395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5396: $as_echo "yes" >&6; }
5397: X_LIBS="$X_LIBS -R $x_libraries"
5398: else
5399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5400: $as_echo "neither works" >&6; }
5401: fi
5402: rm -f core conftest.err conftest.$ac_objext \
5403: conftest$ac_exeext conftest.$ac_ext
5404: fi
5405: rm -f core conftest.err conftest.$ac_objext \
5406: conftest$ac_exeext conftest.$ac_ext
5407: ac_c_werror_flag=$ac_xsave_c_werror_flag
5408: LIBS=$ac_xsave_LIBS
5409: fi
5410:
5411: # Check for system-dependent libraries X programs must link with.
5412: # Do this before checking for the system-independent R6 libraries
5413: # (-lICE), since we may need -lsocket or whatever for X linking.
5414:
5415: if test "$ISC" = yes; then
5416: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5417: else
5418: # Martyn Johnson says this is needed for Ultrix, if the X
5419: # libraries were built with DECnet support. And Karl Berry says
5420: # the Alpha needs dnet_stub (dnet does not exist).
5421: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5422: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423: /* end confdefs.h. */
5424:
5425: /* Override any GCC internal prototype to avoid an error.
5426: Use char because int might match the return type of a GCC
5427: builtin and then its argument prototype would still apply. */
5428: #ifdef __cplusplus
5429: extern "C"
5430: #endif
5431: char XOpenDisplay ();
5432: int
5433: main ()
5434: {
5435: return XOpenDisplay ();
5436: ;
5437: return 0;
5438: }
5439: _ACEOF
5440: if ac_fn_c_try_link "$LINENO"; then :
5441:
5442: else
5443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5444: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5445: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5446: $as_echo_n "(cached) " >&6
5447: else
5448: ac_check_lib_save_LIBS=$LIBS
5449: LIBS="-ldnet $LIBS"
5450: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451: /* end confdefs.h. */
5452:
5453: /* Override any GCC internal prototype to avoid an error.
5454: Use char because int might match the return type of a GCC
5455: builtin and then its argument prototype would still apply. */
5456: #ifdef __cplusplus
5457: extern "C"
5458: #endif
5459: char dnet_ntoa ();
5460: int
5461: main ()
5462: {
5463: return dnet_ntoa ();
5464: ;
5465: return 0;
5466: }
5467: _ACEOF
5468: if ac_fn_c_try_link "$LINENO"; then :
5469: ac_cv_lib_dnet_dnet_ntoa=yes
5470: else
5471: ac_cv_lib_dnet_dnet_ntoa=no
5472: fi
5473: rm -f core conftest.err conftest.$ac_objext \
5474: conftest$ac_exeext conftest.$ac_ext
5475: LIBS=$ac_check_lib_save_LIBS
5476: fi
5477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5478: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5479: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5480: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5481: fi
5482:
5483: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5485: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5486: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5487: $as_echo_n "(cached) " >&6
5488: else
5489: ac_check_lib_save_LIBS=$LIBS
5490: LIBS="-ldnet_stub $LIBS"
5491: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492: /* end confdefs.h. */
5493:
5494: /* Override any GCC internal prototype to avoid an error.
5495: Use char because int might match the return type of a GCC
5496: builtin and then its argument prototype would still apply. */
5497: #ifdef __cplusplus
5498: extern "C"
5499: #endif
5500: char dnet_ntoa ();
5501: int
5502: main ()
5503: {
5504: return dnet_ntoa ();
5505: ;
5506: return 0;
5507: }
5508: _ACEOF
5509: if ac_fn_c_try_link "$LINENO"; then :
5510: ac_cv_lib_dnet_stub_dnet_ntoa=yes
5511: else
5512: ac_cv_lib_dnet_stub_dnet_ntoa=no
5513: fi
5514: rm -f core conftest.err conftest.$ac_objext \
5515: conftest$ac_exeext conftest.$ac_ext
5516: LIBS=$ac_check_lib_save_LIBS
5517: fi
5518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5519: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5520: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5521: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5522: fi
5523:
5524: fi
5525: fi
5526: rm -f core conftest.err conftest.$ac_objext \
5527: conftest$ac_exeext conftest.$ac_ext
5528: LIBS="$ac_xsave_LIBS"
5529:
5530: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5531: # to get the SysV transport functions.
5532: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5533: # needs -lnsl.
5534: # The nsl library prevents programs from opening the X display
5535: # on Irix 5.2, according to T.E. Dickey.
5536: # The functions gethostbyname, getservbyname, and inet_addr are
5537: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5538: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5539: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5540:
5541: fi
5542:
5543: if test $ac_cv_func_gethostbyname = no; then
5544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5545: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5546: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5547: $as_echo_n "(cached) " >&6
5548: else
5549: ac_check_lib_save_LIBS=$LIBS
5550: LIBS="-lnsl $LIBS"
5551: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552: /* end confdefs.h. */
5553:
5554: /* Override any GCC internal prototype to avoid an error.
5555: Use char because int might match the return type of a GCC
5556: builtin and then its argument prototype would still apply. */
5557: #ifdef __cplusplus
5558: extern "C"
5559: #endif
5560: char gethostbyname ();
5561: int
5562: main ()
5563: {
5564: return gethostbyname ();
5565: ;
5566: return 0;
5567: }
5568: _ACEOF
5569: if ac_fn_c_try_link "$LINENO"; then :
5570: ac_cv_lib_nsl_gethostbyname=yes
5571: else
5572: ac_cv_lib_nsl_gethostbyname=no
5573: fi
5574: rm -f core conftest.err conftest.$ac_objext \
5575: conftest$ac_exeext conftest.$ac_ext
5576: LIBS=$ac_check_lib_save_LIBS
5577: fi
5578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5579: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5580: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
5581: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5582: fi
5583:
5584: if test $ac_cv_lib_nsl_gethostbyname = no; then
5585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5586: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5587: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
5588: $as_echo_n "(cached) " >&6
5589: else
5590: ac_check_lib_save_LIBS=$LIBS
5591: LIBS="-lbsd $LIBS"
5592: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593: /* end confdefs.h. */
5594:
5595: /* Override any GCC internal prototype to avoid an error.
5596: Use char because int might match the return type of a GCC
5597: builtin and then its argument prototype would still apply. */
5598: #ifdef __cplusplus
5599: extern "C"
5600: #endif
5601: char gethostbyname ();
5602: int
5603: main ()
5604: {
5605: return gethostbyname ();
5606: ;
5607: return 0;
5608: }
5609: _ACEOF
5610: if ac_fn_c_try_link "$LINENO"; then :
5611: ac_cv_lib_bsd_gethostbyname=yes
5612: else
5613: ac_cv_lib_bsd_gethostbyname=no
5614: fi
5615: rm -f core conftest.err conftest.$ac_objext \
5616: conftest$ac_exeext conftest.$ac_ext
5617: LIBS=$ac_check_lib_save_LIBS
5618: fi
5619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5620: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5621: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
5622: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5623: fi
5624:
5625: fi
5626: fi
5627:
5628: # lieder@skyler.mavd.honeywell.com says without -lsocket,
5629: # socket/setsockopt and other routines are undefined under SCO ODT
5630: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5631: # on later versions), says Simon Leinen: it contains gethostby*
5632: # variants that don't use the name server (or something). -lsocket
5633: # must be given before -lnsl if both are needed. We assume that
5634: # if connect needs -lnsl, so does gethostbyname.
5635: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5636: if test "x$ac_cv_func_connect" = x""yes; then :
5637:
5638: fi
5639:
5640: if test $ac_cv_func_connect = no; then
5641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5642: $as_echo_n "checking for connect in -lsocket... " >&6; }
5643: if test "${ac_cv_lib_socket_connect+set}" = set; then :
5644: $as_echo_n "(cached) " >&6
5645: else
5646: ac_check_lib_save_LIBS=$LIBS
5647: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649: /* end confdefs.h. */
5650:
5651: /* Override any GCC internal prototype to avoid an error.
5652: Use char because int might match the return type of a GCC
5653: builtin and then its argument prototype would still apply. */
5654: #ifdef __cplusplus
5655: extern "C"
5656: #endif
5657: char connect ();
5658: int
5659: main ()
5660: {
5661: return connect ();
5662: ;
5663: return 0;
5664: }
5665: _ACEOF
5666: if ac_fn_c_try_link "$LINENO"; then :
5667: ac_cv_lib_socket_connect=yes
5668: else
5669: ac_cv_lib_socket_connect=no
5670: fi
5671: rm -f core conftest.err conftest.$ac_objext \
5672: conftest$ac_exeext conftest.$ac_ext
5673: LIBS=$ac_check_lib_save_LIBS
5674: fi
5675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5676: $as_echo "$ac_cv_lib_socket_connect" >&6; }
5677: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
5678: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5679: fi
5680:
5681: fi
5682:
5683: # Guillermo Gomez says -lposix is necessary on A/UX.
5684: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5685: if test "x$ac_cv_func_remove" = x""yes; then :
5686:
5687: fi
5688:
5689: if test $ac_cv_func_remove = no; then
5690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5691: $as_echo_n "checking for remove in -lposix... " >&6; }
5692: if test "${ac_cv_lib_posix_remove+set}" = set; then :
5693: $as_echo_n "(cached) " >&6
5694: else
5695: ac_check_lib_save_LIBS=$LIBS
5696: LIBS="-lposix $LIBS"
5697: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698: /* end confdefs.h. */
5699:
5700: /* Override any GCC internal prototype to avoid an error.
5701: Use char because int might match the return type of a GCC
5702: builtin and then its argument prototype would still apply. */
5703: #ifdef __cplusplus
5704: extern "C"
5705: #endif
5706: char remove ();
5707: int
5708: main ()
5709: {
5710: return remove ();
5711: ;
5712: return 0;
5713: }
5714: _ACEOF
5715: if ac_fn_c_try_link "$LINENO"; then :
5716: ac_cv_lib_posix_remove=yes
5717: else
5718: ac_cv_lib_posix_remove=no
5719: fi
5720: rm -f core conftest.err conftest.$ac_objext \
5721: conftest$ac_exeext conftest.$ac_ext
5722: LIBS=$ac_check_lib_save_LIBS
5723: fi
5724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5725: $as_echo "$ac_cv_lib_posix_remove" >&6; }
5726: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
5727: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5728: fi
5729:
5730: fi
5731:
5732: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5733: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5734: if test "x$ac_cv_func_shmat" = x""yes; then :
5735:
5736: fi
5737:
5738: if test $ac_cv_func_shmat = no; then
5739: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5740: $as_echo_n "checking for shmat in -lipc... " >&6; }
5741: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
5742: $as_echo_n "(cached) " >&6
5743: else
5744: ac_check_lib_save_LIBS=$LIBS
5745: LIBS="-lipc $LIBS"
5746: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747: /* end confdefs.h. */
5748:
5749: /* Override any GCC internal prototype to avoid an error.
5750: Use char because int might match the return type of a GCC
5751: builtin and then its argument prototype would still apply. */
5752: #ifdef __cplusplus
5753: extern "C"
5754: #endif
5755: char shmat ();
5756: int
5757: main ()
5758: {
5759: return shmat ();
5760: ;
5761: return 0;
5762: }
5763: _ACEOF
5764: if ac_fn_c_try_link "$LINENO"; then :
5765: ac_cv_lib_ipc_shmat=yes
5766: else
5767: ac_cv_lib_ipc_shmat=no
5768: fi
5769: rm -f core conftest.err conftest.$ac_objext \
5770: conftest$ac_exeext conftest.$ac_ext
5771: LIBS=$ac_check_lib_save_LIBS
5772: fi
5773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5774: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5775: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
5776: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5777: fi
5778:
5779: fi
5780: fi
5781:
5782: # Check for libraries that X11R6 Xt/Xaw programs need.
5783: ac_save_LDFLAGS=$LDFLAGS
5784: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5785: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5786: # check for ICE first), but we must link in the order -lSM -lICE or
5787: # we get undefined symbols. So assume we have SM if we have ICE.
5788: # These have to be linked with before -lX11, unlike the other
5789: # libraries we check for below, so use a different variable.
5790: # John Interrante, Karl Berry
5791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5792: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5793: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
5794: $as_echo_n "(cached) " >&6
5795: else
5796: ac_check_lib_save_LIBS=$LIBS
5797: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5798: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799: /* end confdefs.h. */
5800:
5801: /* Override any GCC internal prototype to avoid an error.
5802: Use char because int might match the return type of a GCC
5803: builtin and then its argument prototype would still apply. */
5804: #ifdef __cplusplus
5805: extern "C"
5806: #endif
5807: char IceConnectionNumber ();
5808: int
5809: main ()
5810: {
5811: return IceConnectionNumber ();
5812: ;
5813: return 0;
5814: }
5815: _ACEOF
5816: if ac_fn_c_try_link "$LINENO"; then :
5817: ac_cv_lib_ICE_IceConnectionNumber=yes
5818: else
5819: ac_cv_lib_ICE_IceConnectionNumber=no
5820: fi
5821: rm -f core conftest.err conftest.$ac_objext \
5822: conftest$ac_exeext conftest.$ac_ext
5823: LIBS=$ac_check_lib_save_LIBS
5824: fi
5825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5826: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5827: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
5828: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5829: fi
5830:
5831: LDFLAGS=$ac_save_LDFLAGS
5832:
5833: fi
5834:
5835:
5836: if test "$ac_x_includes" != "no"; then
5837: if test x"$ac_x_includes" != x; then
5838: X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
5839: includeX="-I$ac_x_includes"
5840: fi
5841: fi
5842: if test "$ac_x_libraries" != "no"; then
5843: if test x"$ac_x_libraries" != x; then
5844: X_LIBS="$X_LIBS -L$ac_x_libraries"
5845: fi
5846: fi
5847:
5848: # Check whether --enable-optimization was given.
5849: if test "${enable_optimization+set}" = set; then :
5850: enableval=$enable_optimization;
5851: if test "$enableval" = "no"; then
5852: CFLAGS=
5853: FFLAGS=
5854: CXXFLAGS=
5855: FCFLAGS=
5856: else
5857: CFLAGS="$CFLAGS $enable_optimization"
5858: FFLAGS="$FFLAGS $enable_optimization"
5859: FCFLAGS="$FCFLAGS $enable_optimization"
5860: fi
5861: else
5862:
5863: CFLAGS="$CFLAGS $OPTIMISATION_C"
5864: FFLAGS="$FFLAGS $OPTIMISATION_F"
5865: FCFLAGS="$FCFLAGS $OPTIMISATION_F"
5866:
5867:
5868: fi
5869:
5870:
5871: # Check whether --enable-sysv-semaphores was given.
5872: if test "${enable_sysv_semaphores+set}" = set; then :
5873: enableval=$enable_sysv_semaphores;
5874: if test "$enableval" = "no"; then
5875: IPCS_SYSV=no
5876: else
5877: IPCS_SYSV=yes
5878: fi
5879: else
5880: IPCS_SYSV=no
5881: fi
5882:
5883:
5884: # Check whether --enable-full-static was given.
5885: if test "${enable_full_static+set}" = set; then :
5886: enableval=$enable_full_static;
5887: if test "$enableval" = "no"; then
5888: STATIC=no
5889: else
5890: STATIC=yes
5891: fi
5892: else
5893: STATIC=no
5894: fi
5895:
5896:
5897: # Check whether --enable-final-encoding was given.
5898: if test "${enable_final_encoding+set}" = set; then :
5899: enableval=$enable_final_encoding;
5900: if test "$enableval" = "no"; then
5901: FINAL_ENCODING="\$(shell locale charmap | \
5902: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5903: FORCED_FINAL_ENCODING=0
5904: else
5905: FINAL_ENCODING="$enable_final_encoding"
5906: FORCED_FINAL_ENCODING=1
5907: fi
5908: else
5909:
5910: FORCED_FINAL_ENCODING=0
5911: FINAL_ENCODING="\$(shell locale charmap | \
5912: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
5913: fi
5914:
5915:
5916: # Check whether --enable-tex was given.
5917: if test "${enable_tex+set}" = set; then :
5918: enableval=$enable_tex;
5919: if test "$enableval" = "no"; then
5920: TEX_SUPPORT=no
5921: else
5922: TEX_SUPPORT=yes
5923: fi
5924: else
5925: TEX_SUPPORT=guessed
5926: fi
5927:
5928:
5929: # Check whether --enable-vim was given.
5930: if test "${enable_vim+set}" = set; then :
5931: enableval=$enable_vim;
5932: if test "$enableval" = "no"; then
5933: VIM_SUPPORT=no
5934: else
5935: VIM_SUPPORT=yes
5936: fi
5937: else
5938: VIM_SUPPORT=guessed
5939: fi
5940:
5941:
5942: # Check whether --enable-embedded-gnuplot was given.
5943: if test "${enable_embedded_gnuplot+set}" = set; then :
5944: enableval=$enable_embedded_gnuplot;
5945: if test "$enableval" = "no"; then
5946: MYGNUPLOT=no
5947: else
5948: MYGNUPLOT=yes
5949: fi
5950: else
5951:
5952: MYGNUPLOT=yes
5953: fi
5954:
5955:
5956: # Check whether --enable-gnuplot was given.
5957: if test "${enable_gnuplot+set}" = set; then :
5958: enableval=$enable_gnuplot;
5959: if test "$enableval" = "no"; then
5960: GNUPLOT_SUPPORT=no
5961: MYGNUPLOT=no
5962: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5963: else
5964: GNUPLOT_SUPPORT=yes
5965: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5966: fi
5967: else
5968:
5969: if test "$MYGNUPLOT" = "yes"; then
5970: GNUPLOT_SUPPORT=yes
5971: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
5972: else
5973: GNUPLOT_SUPPORT=guessed
5974: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
5975: fi
5976: fi
5977:
5978:
5979: # Check whether --enable-motif was given.
5980: if test "${enable_motif+set}" = set; then :
5981: enableval=$enable_motif;
5982: if test "$enableval" = "no"; then
5983: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
5984: else
5985: CFLAGS_ORIG=$CFLAGS
5986: LIBS_ORIG=$LIBS
5987: CFLAGS="$CFLAGS $X_CFLAGS"
5988: LIBS="$LIB $X_LIBS"
5989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
5990: $as_echo_n "checking for main in -lXm... " >&6; }
5991: if test "${ac_cv_lib_Xm_main+set}" = set; then :
5992: $as_echo_n "(cached) " >&6
5993: else
5994: ac_check_lib_save_LIBS=$LIBS
5995: LIBS="-lXm $LIBS"
5996: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997: /* end confdefs.h. */
5998:
5999:
6000: int
6001: main ()
6002: {
6003: return main ();
6004: ;
6005: return 0;
6006: }
6007: _ACEOF
6008: if ac_fn_c_try_link "$LINENO"; then :
6009: ac_cv_lib_Xm_main=yes
6010: else
6011: ac_cv_lib_Xm_main=no
6012: fi
6013: rm -f core conftest.err conftest.$ac_objext \
6014: conftest$ac_exeext conftest.$ac_ext
6015: LIBS=$ac_check_lib_save_LIBS
6016: fi
6017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6018: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6019: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
6020: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6021: else
6022: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6023: fi
6024:
6025: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6026: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
6027: Motif flag is disabled.
6028: " >&5
6029: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
6030: Motif flag is disabled.
6031: " >&2;}
6032: fi
6033: LIBS=$LIBS_ORIG
6034: CFLAGS=$CFLAGS_ORIG
6035: fi
6036: else
6037: MOTIF_SUPPORT=guessed
6038: fi
6039:
6040:
6041: # Check whether --enable-experimental was given.
6042: if test "${enable_experimental+set}" = set; then :
6043: enableval=$enable_experimental;
6044: if test "$enableval" = "no"; then
6045: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6046: else
6047: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
6048: fi
6049: else
6050: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
6051: fi
6052:
6053:
6054: # Check whether --enable-debug was given.
6055: if test "${enable_debug+set}" = set; then :
6056: enableval=$enable_debug;
6057: if test "$enableval" = "no"; then
6058: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6059: else
6060: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
6061: fi
6062: else
6063: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
6064: fi
6065:
6066:
6067: # Check whether --enable-profile was given.
6068: if test "${enable_profile+set}" = set; then :
6069: enableval=$enable_profile;
6070: if test "$enableval" = "no"; then
6071: PROFILAGE=""
6072: else
6073: PROFILAGE="-pg"
6074: fi
6075: else
6076: PROFILAGE=""
6077: fi
6078:
6079:
6080:
6081:
6082: if test ! -d tools; then
6083: mkdir tools
6084: fi
6085: if test ! -d "$srcdir"/tools/$NCURSES; then
6086: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
6087: (cd "$srcdir/tools" && tar -xf -)
6088: (cd "$srcdir/tools/"$NCURSES && \
6089: for i in ../$NCURSES*.patch.gz;
6090: do gunzip -c $i | patch -p1;
6091: done);
6092: fi
6093: if test ! -d "$srcdir"/tools/$READLINE; then
6094: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
6095: (cd "$srcdir/tools" && tar -xf -)
6096: fi
6097: if test ! -d "$srcdir"/tools/$UNITS; then
6098: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
6099: (cd "$srcdir/tools" && tar -xf -)
6100: fi
6101: if test ! -d "$srcdir"/tools/$GSL; then
6102: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
6103: (cd "$srcdir/tools" && tar -xf -)
6104: if test $(uname) = "OS/2"; then
6105: (cd "$srcdir"/tools/$GSL; \
6106: TMP=$(mktemp tmp.XXXXXXXXXX); \
6107: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
6108: \mv -f $TMP ltmain.sh)
6109: fi
6110: fi
6111: if test ! -d "$srcdir"/tools/$GPP; then
6112: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
6113: (cd "$srcdir/tools" && tar -xf -)
6114: fi
6115: if test ! -d "$srcdir"/tools/$FILE; then
6116: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
6117: (cd "$srcdir/tools" && tar -xf - )
6118: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
6119: fi
6120: if test ! -d "$srcdir"/tools/$ICONV; then
6121: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
6122: (cd "$srcdir/tools" && tar -xf -)
6123: fi
6124: if test ! -d "$srcdir"/tools/$SQLITE; then
6125: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
6126: (cd "$srcdir/tools" && tar -xf -)
6127: fi
6128: if test ! -d tools/$OPENSSL; then
6129: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
6130: (cd tools && tar -xf -)
6131: fi
6132:
6133:
6134:
6135: # Check whether --enable-final-run-path was given.
6136: if test "${enable_final_run_path+set}" = set; then :
6137: enableval=$enable_final_run_path;
6138: if test "x$enable_final_run_path" = "x"; then
6139: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
6140: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
6141: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
6142: else
6143: RUNPATH="$enable_final_run_path"
6144: fi
6145:
6146: else
6147: RUNPATH="\${prefix}"
6148:
6149: fi
6150:
6151:
6152:
6153:
6154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6155: $as_echo_n "checking whether ln -s works... " >&6; }
6156: LN_S=$as_ln_s
6157: if test "$LN_S" = "ln -s"; then
6158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6159: $as_echo "yes" >&6; }
6160: else
6161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6162: $as_echo "no, using $LN_S" >&6; }
6163: fi
6164:
6165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6166: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6167: set x ${MAKE-make}
6168: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6169: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
6170: $as_echo_n "(cached) " >&6
6171: else
6172: cat >conftest.make <<\_ACEOF
6173: SHELL = /bin/sh
6174: all:
6175: @echo '@@@%%%=$(MAKE)=@@@%%%'
6176: _ACEOF
6177: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6178: case `${MAKE-make} -f conftest.make 2>/dev/null` in
6179: *@@@%%%=?*=@@@%%%*)
6180: eval ac_cv_prog_make_${ac_make}_set=yes;;
6181: *)
6182: eval ac_cv_prog_make_${ac_make}_set=no;;
6183: esac
6184: rm -f conftest.make
6185: fi
6186: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6188: $as_echo "yes" >&6; }
6189: SET_MAKE=
6190: else
6191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192: $as_echo "no" >&6; }
6193: SET_MAKE="MAKE=${MAKE-make}"
6194: fi
6195:
6196: if test -n "$ac_tool_prefix"; then
6197: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6198: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200: $as_echo_n "checking for $ac_word... " >&6; }
6201: if test "${ac_cv_prog_RANLIB+set}" = set; then :
6202: $as_echo_n "(cached) " >&6
6203: else
6204: if test -n "$RANLIB"; then
6205: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6206: else
6207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208: for as_dir in $PATH
6209: do
6210: IFS=$as_save_IFS
6211: test -z "$as_dir" && as_dir=.
6212: for ac_exec_ext in '' $ac_executable_extensions; do
6213: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6215: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216: break 2
6217: fi
6218: done
6219: done
6220: IFS=$as_save_IFS
6221:
6222: fi
6223: fi
6224: RANLIB=$ac_cv_prog_RANLIB
6225: if test -n "$RANLIB"; then
6226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6227: $as_echo "$RANLIB" >&6; }
6228: else
6229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230: $as_echo "no" >&6; }
6231: fi
6232:
6233:
6234: fi
6235: if test -z "$ac_cv_prog_RANLIB"; then
6236: ac_ct_RANLIB=$RANLIB
6237: # Extract the first word of "ranlib", so it can be a program name with args.
6238: set dummy ranlib; ac_word=$2
6239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240: $as_echo_n "checking for $ac_word... " >&6; }
6241: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6242: $as_echo_n "(cached) " >&6
6243: else
6244: if test -n "$ac_ct_RANLIB"; then
6245: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6246: else
6247: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248: for as_dir in $PATH
6249: do
6250: IFS=$as_save_IFS
6251: test -z "$as_dir" && as_dir=.
6252: for ac_exec_ext in '' $ac_executable_extensions; do
6253: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254: ac_cv_prog_ac_ct_RANLIB="ranlib"
6255: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256: break 2
6257: fi
6258: done
6259: done
6260: IFS=$as_save_IFS
6261:
6262: fi
6263: fi
6264: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6265: if test -n "$ac_ct_RANLIB"; then
6266: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6267: $as_echo "$ac_ct_RANLIB" >&6; }
6268: else
6269: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270: $as_echo "no" >&6; }
6271: fi
6272:
6273: if test "x$ac_ct_RANLIB" = x; then
6274: RANLIB=":"
6275: else
6276: case $cross_compiling:$ac_tool_warned in
6277: yes:)
6278: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6279: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6280: ac_tool_warned=yes ;;
6281: esac
6282: RANLIB=$ac_ct_RANLIB
6283: fi
6284: else
6285: RANLIB="$ac_cv_prog_RANLIB"
6286: fi
6287:
6288:
6289: # Extract the first word of "nawk", so it can be a program name with args.
6290: set dummy nawk; ac_word=$2
6291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292: $as_echo_n "checking for $ac_word... " >&6; }
6293: if test "${ac_cv_prog_AWK+set}" = set; then :
6294: $as_echo_n "(cached) " >&6
6295: else
6296: if test -n "$AWK"; then
6297: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6298: else
6299: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300: for as_dir in $PATH
6301: do
6302: IFS=$as_save_IFS
6303: test -z "$as_dir" && as_dir=.
6304: for ac_exec_ext in '' $ac_executable_extensions; do
6305: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306: ac_cv_prog_AWK="yes"
6307: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308: break 2
6309: fi
6310: done
6311: done
6312: IFS=$as_save_IFS
6313:
6314: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6315: fi
6316: fi
6317: AWK=$ac_cv_prog_AWK
6318: if test -n "$AWK"; then
6319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6320: $as_echo "$AWK" >&6; }
6321: else
6322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323: $as_echo "no" >&6; }
6324: fi
6325:
6326:
6327: if test "$AWK" = no; then
6328: # Extract the first word of "gawk", so it can be a program name with args.
6329: set dummy gawk; ac_word=$2
6330: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331: $as_echo_n "checking for $ac_word... " >&6; }
6332: if test "${ac_cv_prog_AWK+set}" = set; then :
6333: $as_echo_n "(cached) " >&6
6334: else
6335: if test -n "$AWK"; then
6336: ac_cv_prog_AWK="$AWK" # Let the user override the test.
6337: else
6338: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339: for as_dir in $PATH
6340: do
6341: IFS=$as_save_IFS
6342: test -z "$as_dir" && as_dir=.
6343: for ac_exec_ext in '' $ac_executable_extensions; do
6344: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345: ac_cv_prog_AWK="yes"
6346: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347: break 2
6348: fi
6349: done
6350: done
6351: IFS=$as_save_IFS
6352:
6353: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
6354: fi
6355: fi
6356: AWK=$ac_cv_prog_AWK
6357: if test -n "$AWK"; then
6358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6359: $as_echo "$AWK" >&6; }
6360: else
6361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362: $as_echo "no" >&6; }
6363: fi
6364:
6365:
6366: if test "$AWK" = no; then
6367: as_fn_error $? "Can not find nawk !" "$LINENO" 5
6368: fi
6369: fi
6370:
6371: # Extract the first word of "sed", so it can be a program name with args.
6372: set dummy sed; ac_word=$2
6373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374: $as_echo_n "checking for $ac_word... " >&6; }
6375: if test "${ac_cv_prog_SED+set}" = set; then :
6376: $as_echo_n "(cached) " >&6
6377: else
6378: if test -n "$SED"; then
6379: ac_cv_prog_SED="$SED" # Let the user override the test.
6380: else
6381: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382: for as_dir in $PATH
6383: do
6384: IFS=$as_save_IFS
6385: test -z "$as_dir" && as_dir=.
6386: for ac_exec_ext in '' $ac_executable_extensions; do
6387: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6388: ac_cv_prog_SED="yes"
6389: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390: break 2
6391: fi
6392: done
6393: done
6394: IFS=$as_save_IFS
6395:
6396: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
6397: fi
6398: fi
6399: SED=$ac_cv_prog_SED
6400: if test -n "$SED"; then
6401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
6402: $as_echo "$SED" >&6; }
6403: else
6404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405: $as_echo "no" >&6; }
6406: fi
6407:
6408:
6409: if test "$SED" = no; then
6410: as_fn_error $? "Can not find sed !" "$LINENO" 5
6411: fi
6412:
6413: if test "$TEX_SUPPORT" = guessed; then
6414: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6415:
6416: # Extract the first word of "tex", so it can be a program name with args.
6417: set dummy tex; ac_word=$2
6418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419: $as_echo_n "checking for $ac_word... " >&6; }
6420: if test "${ac_cv_prog_TEX+set}" = set; then :
6421: $as_echo_n "(cached) " >&6
6422: else
6423: if test -n "$TEX"; then
6424: ac_cv_prog_TEX="$TEX" # Let the user override the test.
6425: else
6426: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427: for as_dir in $PATH
6428: do
6429: IFS=$as_save_IFS
6430: test -z "$as_dir" && as_dir=.
6431: for ac_exec_ext in '' $ac_executable_extensions; do
6432: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433: ac_cv_prog_TEX="yes"
6434: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435: break 2
6436: fi
6437: done
6438: done
6439: IFS=$as_save_IFS
6440:
6441: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
6442: fi
6443: fi
6444: TEX=$ac_cv_prog_TEX
6445: if test -n "$TEX"; then
6446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
6447: $as_echo "$TEX" >&6; }
6448: else
6449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450: $as_echo "no" >&6; }
6451: fi
6452:
6453:
6454: if test "$TEX" = no; then
6455: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
6456: Download at http://tex.loria.fr/
6457: " >&5
6458: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
6459: Download at http://tex.loria.fr/
6460: " >&2;}
6461: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6462: fi
6463:
6464: # Extract the first word of "latex", so it can be a program name with args.
6465: set dummy latex; ac_word=$2
6466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467: $as_echo_n "checking for $ac_word... " >&6; }
6468: if test "${ac_cv_prog_LATEX+set}" = set; then :
6469: $as_echo_n "(cached) " >&6
6470: else
6471: if test -n "$LATEX"; then
6472: ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6473: else
6474: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475: for as_dir in $PATH
6476: do
6477: IFS=$as_save_IFS
6478: test -z "$as_dir" && as_dir=.
6479: for ac_exec_ext in '' $ac_executable_extensions; do
6480: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6481: ac_cv_prog_LATEX="yes"
6482: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483: break 2
6484: fi
6485: done
6486: done
6487: IFS=$as_save_IFS
6488:
6489: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6490: fi
6491: fi
6492: LATEX=$ac_cv_prog_LATEX
6493: if test -n "$LATEX"; then
6494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
6495: $as_echo "$LATEX" >&6; }
6496: else
6497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498: $as_echo "no" >&6; }
6499: fi
6500:
6501:
6502: if test "$LATEX" = no; then
6503: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
6504: Download at http://tex.loria.fr/
6505: " >&5
6506: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
6507: Download at http://tex.loria.fr/
6508: " >&2;}
6509: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6510: fi
6511:
6512: # Extract the first word of "dvips", so it can be a program name with args.
6513: set dummy dvips; ac_word=$2
6514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515: $as_echo_n "checking for $ac_word... " >&6; }
6516: if test "${ac_cv_prog_DVIPS+set}" = set; then :
6517: $as_echo_n "(cached) " >&6
6518: else
6519: if test -n "$DVIPS"; then
6520: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
6521: else
6522: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523: for as_dir in $PATH
6524: do
6525: IFS=$as_save_IFS
6526: test -z "$as_dir" && as_dir=.
6527: for ac_exec_ext in '' $ac_executable_extensions; do
6528: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529: ac_cv_prog_DVIPS="yes"
6530: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531: break 2
6532: fi
6533: done
6534: done
6535: IFS=$as_save_IFS
6536:
6537: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
6538: fi
6539: fi
6540: DVIPS=$ac_cv_prog_DVIPS
6541: if test -n "$DVIPS"; then
6542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
6543: $as_echo "$DVIPS" >&6; }
6544: else
6545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546: $as_echo "no" >&6; }
6547: fi
6548:
6549:
6550: if test "$DVIPS" = no; then
6551: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
6552: Download at http://tex.loria.fr/
6553: " >&5
6554: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
6555: Download at http://tex.loria.fr/
6556: " >&2;}
6557: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6558: fi
6559:
6560: # Extract the first word of "gs", so it can be a program name with args.
6561: set dummy gs; ac_word=$2
6562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563: $as_echo_n "checking for $ac_word... " >&6; }
6564: if test "${ac_cv_prog_GS+set}" = set; then :
6565: $as_echo_n "(cached) " >&6
6566: else
6567: if test -n "$GS"; then
6568: ac_cv_prog_GS="$GS" # Let the user override the test.
6569: else
6570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571: for as_dir in $PATH
6572: do
6573: IFS=$as_save_IFS
6574: test -z "$as_dir" && as_dir=.
6575: for ac_exec_ext in '' $ac_executable_extensions; do
6576: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577: ac_cv_prog_GS="yes"
6578: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579: break 2
6580: fi
6581: done
6582: done
6583: IFS=$as_save_IFS
6584:
6585: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
6586: fi
6587: fi
6588: GS=$ac_cv_prog_GS
6589: if test -n "$GS"; then
6590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
6591: $as_echo "$GS" >&6; }
6592: else
6593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594: $as_echo "no" >&6; }
6595: fi
6596:
6597:
6598: if test "$GS" = no; then
6599: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
6600: Download at http://ftp.lip6.fr/
6601: " >&5
6602: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
6603: Download at http://ftp.lip6.fr/
6604: " >&2;}
6605: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6606: fi
6607:
6608: # Extract the first word of "gv", so it can be a program name with args.
6609: set dummy gv; ac_word=$2
6610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611: $as_echo_n "checking for $ac_word... " >&6; }
6612: if test "${ac_cv_prog_GV+set}" = set; then :
6613: $as_echo_n "(cached) " >&6
6614: else
6615: if test -n "$GV"; then
6616: ac_cv_prog_GV="$GV" # Let the user override the test.
6617: else
6618: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619: for as_dir in $PATH
6620: do
6621: IFS=$as_save_IFS
6622: test -z "$as_dir" && as_dir=.
6623: for ac_exec_ext in '' $ac_executable_extensions; do
6624: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625: ac_cv_prog_GV="yes"
6626: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627: break 2
6628: fi
6629: done
6630: done
6631: IFS=$as_save_IFS
6632:
6633: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
6634: fi
6635: fi
6636: GV=$ac_cv_prog_GV
6637: if test -n "$GV"; then
6638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
6639: $as_echo "$GV" >&6; }
6640: else
6641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642: $as_echo "no" >&6; }
6643: fi
6644:
6645:
6646: if test "$GV" = no; then
6647: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
6648: Download at http://ftp.lip6.fr/
6649: " >&5
6650: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
6651: Download at http://ftp.lip6.fr/
6652: " >&2;}
6653: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6654: fi
6655: else
6656: if test "$TEX_SUPPORT" = no; then
6657: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
6658: else
6659: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
6660: fi
6661: fi
6662:
6663: if test "$GNUPLOT_SUPPORT" = guessed; then
6664: # Extract the first word of "gnuplot", so it can be a program name with args.
6665: set dummy gnuplot; ac_word=$2
6666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667: $as_echo_n "checking for $ac_word... " >&6; }
6668: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
6669: $as_echo_n "(cached) " >&6
6670: else
6671: if test -n "$GNUPLOT_P"; then
6672: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
6673: else
6674: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675: for as_dir in $PATH
6676: do
6677: IFS=$as_save_IFS
6678: test -z "$as_dir" && as_dir=.
6679: for ac_exec_ext in '' $ac_executable_extensions; do
6680: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681: ac_cv_prog_GNUPLOT_P="yes"
6682: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683: break 2
6684: fi
6685: done
6686: done
6687: IFS=$as_save_IFS
6688:
6689: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
6690: fi
6691: fi
6692: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
6693: if test -n "$GNUPLOT_P"; then
6694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
6695: $as_echo "$GNUPLOT_P" >&6; }
6696: else
6697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698: $as_echo "no" >&6; }
6699: fi
6700:
6701:
6702: if test "$GNUPLOT_P" = no; then
6703: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
6704: Download at http://www.gnuplot.vt.edu/
6705: " >&5
6706: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
6707: Download at http://www.gnuplot.vt.edu/
6708: " >&2;}
6709: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6710: else
6711: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6712: fi
6713: else
6714: if test "$GNUPLOT_SUPPORT" = no; then
6715: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
6716: else
6717: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
6718: fi
6719: fi
6720:
6721: if test "$VIM_SUPPORT" = guessed; then
6722: # Extract the first word of "vim", so it can be a program name with args.
6723: set dummy vim; ac_word=$2
6724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725: $as_echo_n "checking for $ac_word... " >&6; }
6726: if test "${ac_cv_prog_VIM+set}" = set; then :
6727: $as_echo_n "(cached) " >&6
6728: else
6729: if test -n "$VIM"; then
6730: ac_cv_prog_VIM="$VIM" # Let the user override the test.
6731: else
6732: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733: for as_dir in $PATH
6734: do
6735: IFS=$as_save_IFS
6736: test -z "$as_dir" && as_dir=.
6737: for ac_exec_ext in '' $ac_executable_extensions; do
6738: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739: ac_cv_prog_VIM="yes"
6740: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741: break 2
6742: fi
6743: done
6744: done
6745: IFS=$as_save_IFS
6746:
6747: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
6748: fi
6749: fi
6750: VIM=$ac_cv_prog_VIM
6751: if test -n "$VIM"; then
6752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
6753: $as_echo "$VIM" >&6; }
6754: else
6755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756: $as_echo "no" >&6; }
6757: fi
6758:
6759:
6760: if test "$VIM" = no; then
6761: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
6762: Download at http://www.vim.org/
6763: " >&5
6764: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
6765: Download at http://www.vim.org/
6766: " >&2;}
6767: VIM_SUPPORT="-UVIM_SUPPORT"
6768: else
6769: VIM_SUPPORT="-DVIM_SUPPORT"
6770: fi
6771: else
6772: if test "$VIM_SUPPORT" = no; then
6773: VIM_SUPPORT="-UVIM_SUPPORT"
6774: else
6775: VIM_SUPPORT="-DVIM_SUPPORT"
6776: fi
6777: fi
6778:
6779: if test "$MOTIF_SUPPORT" = guessed; then
6780: CFLAGS_ORIG=$CFLAGS
6781: LIBS_ORIG=$LIBS
6782: CFLAGS="$CFLAGS $X_CFLAGS"
6783: LIBS="$LIB $X_LIBS"
6784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
6785: $as_echo_n "checking for main in -lXm... " >&6; }
6786: if test "${ac_cv_lib_Xm_main+set}" = set; then :
6787: $as_echo_n "(cached) " >&6
6788: else
6789: ac_check_lib_save_LIBS=$LIBS
6790: LIBS="-lXm $LIBS"
6791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6792: /* end confdefs.h. */
6793:
6794:
6795: int
6796: main ()
6797: {
6798: return main ();
6799: ;
6800: return 0;
6801: }
6802: _ACEOF
6803: if ac_fn_c_try_link "$LINENO"; then :
6804: ac_cv_lib_Xm_main=yes
6805: else
6806: ac_cv_lib_Xm_main=no
6807: fi
6808: rm -f core conftest.err conftest.$ac_objext \
6809: conftest$ac_exeext conftest.$ac_ext
6810: LIBS=$ac_check_lib_save_LIBS
6811: fi
6812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
6813: $as_echo "$ac_cv_lib_Xm_main" >&6; }
6814: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
6815: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6816: else
6817: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6818: fi
6819:
6820: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
6821: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
6822: Motif flag is disabled.
6823: " >&5
6824: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
6825: Motif flag is disabled.
6826: " >&2;}
6827: fi
6828: LIBS=$LIBS_ORIG
6829: CFLAGS=$CFLAGS_ORIG
6830: fi
6831:
6832: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6833: CFLAGS_ORIG=$CFLAGS
6834: LIBS_ORIG=$LIBS
6835: CFLAGS="$CFLAGS $X_CFLAGS"
6836: LIBS="$LIB $X_LIBS"
6837: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
6838: $as_echo_n "checking for main in -lXpm... " >&6; }
6839: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
6840: $as_echo_n "(cached) " >&6
6841: else
6842: ac_check_lib_save_LIBS=$LIBS
6843: LIBS="-lXpm $LIBS"
6844: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845: /* end confdefs.h. */
6846:
6847:
6848: int
6849: main ()
6850: {
6851: return main ();
6852: ;
6853: return 0;
6854: }
6855: _ACEOF
6856: if ac_fn_c_try_link "$LINENO"; then :
6857: ac_cv_lib_Xpm_main=yes
6858: else
6859: ac_cv_lib_Xpm_main=no
6860: fi
6861: rm -f core conftest.err conftest.$ac_objext \
6862: conftest$ac_exeext conftest.$ac_ext
6863: LIBS=$ac_check_lib_save_LIBS
6864: fi
6865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
6866: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
6867: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
6868: MOTIF_SUPPORT="-DMOTIF_SUPPORT"
6869: else
6870: MOTIF_SUPPORT="-UMOTIF_SUPPORT"
6871: fi
6872:
6873: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
6874: libX="$X_LIBS -lXm -lXpm -lXt -lX11"
6875: else
6876: libX=""
6877: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
6878: Motif flag is disabled.
6879: " >&5
6880: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
6881: Motif flag is disabled.
6882: " >&2;}
6883: fi
6884: LIBS=$LIBS_ORIG
6885: CFLAGS=$CFLAGS_ORIG
6886: else
6887: libX=""
6888: fi
6889:
6890:
6891:
6892:
6893:
6894:
6895:
6896:
6897:
6898:
6899:
6900: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
6901:
6902:
6903: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
6904: $as_echo_n "checking for main in -lm... " >&6; }
6905: if test "${ac_cv_lib_m_main+set}" = set; then :
6906: $as_echo_n "(cached) " >&6
6907: else
6908: ac_check_lib_save_LIBS=$LIBS
6909: LIBS="-lm $LIBS"
6910: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911: /* end confdefs.h. */
6912:
6913:
6914: int
6915: main ()
6916: {
6917: return main ();
6918: ;
6919: return 0;
6920: }
6921: _ACEOF
6922: if ac_fn_c_try_link "$LINENO"; then :
6923: ac_cv_lib_m_main=yes
6924: else
6925: ac_cv_lib_m_main=no
6926: fi
6927: rm -f core conftest.err conftest.$ac_objext \
6928: conftest$ac_exeext conftest.$ac_ext
6929: LIBS=$ac_check_lib_save_LIBS
6930: fi
6931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
6932: $as_echo "$ac_cv_lib_m_main" >&6; }
6933: if test "x$ac_cv_lib_m_main" = x""yes; then :
6934: cat >>confdefs.h <<_ACEOF
6935: #define HAVE_LIBM 1
6936: _ACEOF
6937:
6938: LIBS="-lm $LIBS"
6939:
6940: else
6941: as_fn_error $? "Can not find libm !" "$LINENO" 5
6942: fi
6943:
6944: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
6945: $as_echo_n "checking for main in -lpthread... " >&6; }
6946: if test "${ac_cv_lib_pthread_main+set}" = set; then :
6947: $as_echo_n "(cached) " >&6
6948: else
6949: ac_check_lib_save_LIBS=$LIBS
6950: LIBS="-lpthread $LIBS"
6951: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952: /* end confdefs.h. */
6953:
6954:
6955: int
6956: main ()
6957: {
6958: return main ();
6959: ;
6960: return 0;
6961: }
6962: _ACEOF
6963: if ac_fn_c_try_link "$LINENO"; then :
6964: ac_cv_lib_pthread_main=yes
6965: else
6966: ac_cv_lib_pthread_main=no
6967: fi
6968: rm -f core conftest.err conftest.$ac_objext \
6969: conftest$ac_exeext conftest.$ac_ext
6970: LIBS=$ac_check_lib_save_LIBS
6971: fi
6972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
6973: $as_echo "$ac_cv_lib_pthread_main" >&6; }
6974: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
6975: cat >>confdefs.h <<_ACEOF
6976: #define HAVE_LIBPTHREAD 1
6977: _ACEOF
6978:
6979: LIBS="-lpthread $LIBS"
6980:
6981: else
6982: as_fn_error $? "Can not find libpthread !" "$LINENO" 5
6983: fi
6984:
6985:
6986: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
6987: #include <sys/sem.h>
6988:
6989: "
6990: if test "x$ac_cv_type_union_semun" = x""yes; then :
6991: SEMUN=-DUNION_SEMUN
6992: else
6993: SEMUN=-UUNION_SEMUN
6994: fi
6995:
6996:
6997: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
6998: #include <sys/types.h>
6999: #include <netinet/in.h>
7000:
7001: "
7002: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
7003: IPV6=-DIPV6
7004: else
7005: IPV6=-UIPV6
7006: fi
7007:
7008:
7009: if test "$CYGWIN" != yes; then
7010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7011: $as_echo_n "checking for dlopen in -ldl... " >&6; }
7012: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
7013: $as_echo_n "(cached) " >&6
7014: else
7015: ac_check_lib_save_LIBS=$LIBS
7016: LIBS="-ldl $LIBS"
7017: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018: /* end confdefs.h. */
7019:
7020: /* Override any GCC internal prototype to avoid an error.
7021: Use char because int might match the return type of a GCC
7022: builtin and then its argument prototype would still apply. */
7023: #ifdef __cplusplus
7024: extern "C"
7025: #endif
7026: char dlopen ();
7027: int
7028: main ()
7029: {
7030: return dlopen ();
7031: ;
7032: return 0;
7033: }
7034: _ACEOF
7035: if ac_fn_c_try_link "$LINENO"; then :
7036: ac_cv_lib_dl_dlopen=yes
7037: else
7038: ac_cv_lib_dl_dlopen=no
7039: fi
7040: rm -f core conftest.err conftest.$ac_objext \
7041: conftest$ac_exeext conftest.$ac_ext
7042: LIBS=$ac_check_lib_save_LIBS
7043: fi
7044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7045: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7046: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
7047: LIBS="$LIBS -ldl"
7048: else
7049: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
7050: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
7051: fi
7052:
7053: fi
7054:
7055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7056: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
7057: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
7058: $as_echo_n "(cached) " >&6
7059: else
7060: ac_check_lib_save_LIBS=$LIBS
7061: LIBS="-lrt $LIBS"
7062: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063: /* end confdefs.h. */
7064:
7065: /* Override any GCC internal prototype to avoid an error.
7066: Use char because int might match the return type of a GCC
7067: builtin and then its argument prototype would still apply. */
7068: #ifdef __cplusplus
7069: extern "C"
7070: #endif
7071: char nanosleep ();
7072: int
7073: main ()
7074: {
7075: return nanosleep ();
7076: ;
7077: return 0;
7078: }
7079: _ACEOF
7080: if ac_fn_c_try_link "$LINENO"; then :
7081: ac_cv_lib_rt_nanosleep=yes
7082: else
7083: ac_cv_lib_rt_nanosleep=no
7084: fi
7085: rm -f core conftest.err conftest.$ac_objext \
7086: conftest$ac_exeext conftest.$ac_ext
7087: LIBS=$ac_check_lib_save_LIBS
7088: fi
7089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7090: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7091: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
7092: LIBS="$LIBS -lrt"
7093: else
7094: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
7095: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
7096: fi
7097:
7098:
7099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7100: $as_echo_n "checking for bind in -lsocket... " >&6; }
7101: if test "${ac_cv_lib_socket_bind+set}" = set; then :
7102: $as_echo_n "(cached) " >&6
7103: else
7104: ac_check_lib_save_LIBS=$LIBS
7105: LIBS="-lsocket $LIBS"
7106: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7107: /* end confdefs.h. */
7108:
7109: /* Override any GCC internal prototype to avoid an error.
7110: Use char because int might match the return type of a GCC
7111: builtin and then its argument prototype would still apply. */
7112: #ifdef __cplusplus
7113: extern "C"
7114: #endif
7115: char bind ();
7116: int
7117: main ()
7118: {
7119: return bind ();
7120: ;
7121: return 0;
7122: }
7123: _ACEOF
7124: if ac_fn_c_try_link "$LINENO"; then :
7125: ac_cv_lib_socket_bind=yes
7126: else
7127: ac_cv_lib_socket_bind=no
7128: fi
7129: rm -f core conftest.err conftest.$ac_objext \
7130: conftest$ac_exeext conftest.$ac_ext
7131: LIBS=$ac_check_lib_save_LIBS
7132: fi
7133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7134: $as_echo "$ac_cv_lib_socket_bind" >&6; }
7135: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
7136: LIBS="$LIBS -lsocket"
7137: else
7138: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
7139: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
7140: fi
7141:
7142:
7143: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7144:
7145: # Check whether --with-mysql was given.
7146: if test "${with_mysql+set}" = set; then :
7147: withval=$with_mysql;
7148: else
7149: with_mysql=check
7150: fi
7151:
7152:
7153: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
7154: libMySQLinc="-I/usr/include"
7155: libMySQLlib="/usr/lib"
7156:
7157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
7158: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
7159: saved_CFLAGS="$CFLAGS"
7160: CFLAGS="$CFLAGS -L/$libMySQLinc"
7161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162: /* end confdefs.h. */
7163: #include "mysql.h"
7164: int
7165: main ()
7166: {
7167:
7168: ;
7169: return 0;
7170: }
7171: _ACEOF
7172: if ac_fn_c_try_compile "$LINENO"; then :
7173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7174: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7175: libMySQLinc=$libMySQLinc/mysql
7176: else
7177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7179: fi
7180: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7181: CFLAGS=$saved_CFLAGS
7182:
7183: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
7185: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
7186: saved_CFLAGS="$CFLAGS"
7187: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7188: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189: /* end confdefs.h. */
7190: #include "mysql.h"
7191: int
7192: main ()
7193: {
7194:
7195: ;
7196: return 0;
7197: }
7198: _ACEOF
7199: if ac_fn_c_try_compile "$LINENO"; then :
7200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7201: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7202: libMySQLinc=$libMySQLinc
7203: else
7204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7206: fi
7207: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7208: CFLAGS=$saved_CFLAGS
7209: libMySQLinc=$libMySQLinc/mysql
7210: fi
7211:
7212: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7213: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
7214: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
7215: saved_CFLAGS="$CFLAGS"
7216: CFLAGS="$CFLAGS $libMySQLinc/../local/include"
7217: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218: /* end confdefs.h. */
7219: #include "mysql.h"
7220: int
7221: main ()
7222: {
7223:
7224: ;
7225: return 0;
7226: }
7227: _ACEOF
7228: if ac_fn_c_try_compile "$LINENO"; then :
7229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7230: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7231: libMySQLinc=$libMySQLinc/mysql
7232: else
7233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7235: fi
7236: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7237: CFLAGS=$saved_CFLAGS
7238: libMySQLinc=$libMySQLinc/../local/include
7239: libMySQLlib=$libMySQLlib/../local/lib
7240: fi
7241:
7242: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
7244: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
7245: saved_CFLAGS="$CFLAGS"
7246: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
7247: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248: /* end confdefs.h. */
7249: #include "mysql.h"
7250: int
7251: main ()
7252: {
7253:
7254: ;
7255: return 0;
7256: }
7257: _ACEOF
7258: if ac_fn_c_try_compile "$LINENO"; then :
7259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7260: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7261: libMySQLinc=$libMySQLinc/mysql
7262: else
7263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7265: fi
7266: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267: CFLAGS=$saved_CFLAGS
7268: libMySQLinc=$libMySQLinc/../local/include/mysql
7269: libMySQLlib=$libMySQLlib/../local/lib
7270: fi
7271: else
7272: if test "x$with_mysql" != xno; then
7273: libMySQLinc="-I$with_mysql/include"
7274: libMySQLlib="$with_mysql/lib"
7275:
7276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
7277: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
7278: saved_CFLAGS="$CFLAGS"
7279: CFLAGS="$CFLAGS $libMySQLinc"
7280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281: /* end confdefs.h. */
7282: #include "mysql.h"
7283: int
7284: main ()
7285: {
7286:
7287: ;
7288: return 0;
7289: }
7290: _ACEOF
7291: if ac_fn_c_try_compile "$LINENO"; then :
7292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7293: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7294: libMySQLinc=$libMySQLinc/mysql
7295: else
7296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7298: fi
7299: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7300: CFLAGS=$saved_CFLAGS
7301:
7302: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
7303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
7304: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
7305: saved_CFLAGS="$CFLAGS"
7306: CFLAGS="$CFLAGS $libMySQLinc/mysql"
7307: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308: /* end confdefs.h. */
7309: #include "mysql.h"
7310: int
7311: main ()
7312: {
7313:
7314: ;
7315: return 0;
7316: }
7317: _ACEOF
7318: if ac_fn_c_try_compile "$LINENO"; then :
7319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7320: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
7321: libMySQLinc=$libMySQLinc
7322: else
7323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7325: fi
7326: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7327: CFLAGS=$saved_CFLAGS
7328: libMySQLinc=$libMySQLinc/mysql
7329: fi
7330: else
7331: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7332: fi
7333: fi
7334:
7335: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
7336: MYSQL_LIB=no
7337:
7338: if test $MYSQL_LIB = no; then
7339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
7340: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
7341: saved_LIBS="$LIBS"
7342: if test $STATIC = no; then
7343: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
7344: else
7345: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
7346: fi
7347: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348: /* end confdefs.h. */
7349: #include "mysql.h"
7350: int
7351: main ()
7352: {
7353: MYSQL mysql; mysql_init(&mysql);
7354: ;
7355: return 0;
7356: }
7357: _ACEOF
7358: if ac_fn_c_try_link "$LINENO"; then :
7359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7360: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
7361: else
7362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363: $as_echo "no" >&6; }; MYSQL_LIB="no"
7364: fi
7365: rm -f core conftest.err conftest.$ac_objext \
7366: conftest$ac_exeext conftest.$ac_ext
7367: LIBS=$saved_LIBS;
7368: if test $STATIC = no; then
7369: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
7370: else
7371: libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
7372: EXT_SQL="$EXT_SQL $libMySQLlib"
7373: fi
7374: fi
7375:
7376: if test $MYSQL_LIB = no; then
7377: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
7378: fi
7379: fi
7380:
7381: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
7382: libMySQLinc=
7383: libMySQLlib=
7384: fi
7385:
7386:
7387:
7388:
7389:
7390: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
7391:
7392: # Check whether --with-postgresql was given.
7393: if test "${with_postgresql+set}" = set; then :
7394: withval=$with_postgresql;
7395: else
7396: with_postgresql=check
7397: fi
7398:
7399:
7400: # with_postgresql : check [pas défini], yes [uniquement --with],
7401: # no [--without], valeur [--with=valeur].
7402:
7403: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
7404: libPgSQLinc="-I/usr/include"
7405: libPgSQLlib="/usr/lib"
7406:
7407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
7408: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
7409: saved_CFLAGS="$CFLAGS"
7410: CFLAGS="$CFLAGS $libPgSQLinc"
7411: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412: /* end confdefs.h. */
7413: #include "libpq-fe.h"
7414: int
7415: main ()
7416: {
7417:
7418: ;
7419: return 0;
7420: }
7421: _ACEOF
7422: if ac_fn_c_try_compile "$LINENO"; then :
7423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7424: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7425: else
7426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7428: fi
7429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430: CFLAGS=$saved_CFLAGS
7431:
7432: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
7434: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
7435: saved_CFLAGS="$CFLAGS"
7436: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7437: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7438: /* end confdefs.h. */
7439: #include "libpq-fe.h"
7440: int
7441: main ()
7442: {
7443:
7444: ;
7445: return 0;
7446: }
7447: _ACEOF
7448: if ac_fn_c_try_compile "$LINENO"; then :
7449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7450: $as_echo "yes" >&6; };
7451: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7452: else
7453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454: $as_echo "no" >&6; };
7455: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7456: fi
7457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458: CFLAGS=$saved_CFLAGS
7459: libPgSQLinc=$libPgSQLinc/postgresql
7460: fi
7461:
7462: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7463: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
7464: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
7465: saved_CFLAGS="$CFLAGS"
7466: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7467: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468: /* end confdefs.h. */
7469: #include "libpq-fe.h"
7470: int
7471: main ()
7472: {
7473:
7474: ;
7475: return 0;
7476: }
7477: _ACEOF
7478: if ac_fn_c_try_compile "$LINENO"; then :
7479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7480: $as_echo "yes" >&6; };
7481: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7482: else
7483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484: $as_echo "no" >&6; };
7485: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7486: fi
7487: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488: CFLAGS=$saved_CFLAGS
7489: libPgSQLinc=$libPgSQLinc/pgsql
7490: fi
7491:
7492: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
7494: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
7495: saved_CFLAGS="$CFLAGS"
7496: CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
7497: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498: /* end confdefs.h. */
7499: #include "libpq-fe.h"
7500: int
7501: main ()
7502: {
7503:
7504: ;
7505: return 0;
7506: }
7507: _ACEOF
7508: if ac_fn_c_try_compile "$LINENO"; then :
7509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7510: $as_echo "yes" >&6; };
7511: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7512: else
7513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514: $as_echo "no" >&6; };
7515: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7516: fi
7517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7518: CFLAGS=$saved_CFLAGS
7519: libPgSQLinc=$libPgSQLinc/../local/include
7520: libPgSQLlib=$libPgSQLlib/../local/lib
7521: fi
7522:
7523: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
7525: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
7526: saved_CFLAGS="$CFLAGS"
7527: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
7528: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529: /* end confdefs.h. */
7530: #include "libpq-fe.h"
7531: int
7532: main ()
7533: {
7534:
7535: ;
7536: return 0;
7537: }
7538: _ACEOF
7539: if ac_fn_c_try_compile "$LINENO"; then :
7540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7541: $as_echo "yes" >&6; };
7542: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7543: else
7544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545: $as_echo "no" >&6; };
7546: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7547: fi
7548: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549: CFLAGS=$saved_CFLAGS
7550: libPgSQLinc=$libPgSQLinc/../local/include/postgresql
7551: libPgSQLlib=$libPgSQLlib/../local/lib
7552: fi
7553:
7554: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
7556: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
7557: saved_CFLAGS="$CFLAGS"
7558: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
7559: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560: /* end confdefs.h. */
7561: #include "libpq-fe.h"
7562: int
7563: main ()
7564: {
7565:
7566: ;
7567: return 0;
7568: }
7569: _ACEOF
7570: if ac_fn_c_try_compile "$LINENO"; then :
7571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7572: $as_echo "yes" >&6; };
7573: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7574: else
7575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576: $as_echo "no" >&6; };
7577: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7578: fi
7579: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7580: CFLAGS=$saved_CFLAGS
7581: libPgSQLinc=$libPgSQLinc/local/include/pgsql
7582: libPgSQLlib=$libPgSQLlib/../local/lib
7583: fi
7584: else
7585: if test "x$with_postgresql" != xno; then
7586: libPgSQLinc="-I$with_postgresql/include"
7587: libPgSQLlib="$with_postgresql/lib"
7588:
7589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
7590: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
7591: saved_CFLAGS="$CFLAGS"
7592: CFLAGS="$CFLAGS $libPgSQLinc"
7593: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594: /* end confdefs.h. */
7595: #include "libpq-fe.h"
7596: int
7597: main ()
7598: {
7599:
7600: ;
7601: return 0;
7602: }
7603: _ACEOF
7604: if ac_fn_c_try_compile "$LINENO"; then :
7605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7606: $as_echo "yes" >&6; };
7607: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7608: else
7609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610: $as_echo "no" >&6; };
7611: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7612: fi
7613: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7614: CFLAGS=$saved_CFLAGS
7615:
7616: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
7618: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
7619: saved_CFLAGS="$CFLAGS"
7620: CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
7621: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7622: /* end confdefs.h. */
7623: #include "libpq-fe.h"
7624: int
7625: main ()
7626: {
7627:
7628: ;
7629: return 0;
7630: }
7631: _ACEOF
7632: if ac_fn_c_try_compile "$LINENO"; then :
7633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7634: $as_echo "yes" >&6; };
7635: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7636: else
7637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638: $as_echo "no" >&6; };
7639: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7640: fi
7641: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642: CFLAGS=$saved_CFLAGS
7643: libPgSQLinc=$libPgSQLinc/postgresql
7644: fi
7645:
7646: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
7647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
7648: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
7649: saved_CFLAGS="$CFLAGS"
7650: CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
7651: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652: /* end confdefs.h. */
7653: #include "libpq-fe.h"
7654: int
7655: main ()
7656: {
7657:
7658: ;
7659: return 0;
7660: }
7661: _ACEOF
7662: if ac_fn_c_try_compile "$LINENO"; then :
7663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7664: $as_echo "yes" >&6; };
7665: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
7666: else
7667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668: $as_echo "no" >&6; };
7669: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7670: fi
7671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672: CFLAGS=$saved_CFLAGS
7673: libPgSQLinc=$libPgSQLinc/pgsql
7674: fi
7675: else
7676: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
7677: fi
7678: fi
7679:
7680: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
7681: POSTGRESQL_LIB=no
7682:
7683: if test $POSTGRESQL_LIB = no; then
7684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
7685: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
7686: saved_LIBS="$LIBS"
7687: if test $STATIC = no; then
7688: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
7689: else
7690: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
7691: fi
7692: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693: /* end confdefs.h. */
7694: #include "libpq-fe.h"
7695: int
7696: main ()
7697: {
7698: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
7699: PQconnectdb(conninfo);
7700: ;
7701: return 0;
7702: }
7703: _ACEOF
7704: if ac_fn_c_try_link "$LINENO"; then :
7705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7706: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
7707: else
7708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
7710: fi
7711: rm -f core conftest.err conftest.$ac_objext \
7712: conftest$ac_exeext conftest.$ac_ext
7713: LIBS=$saved_LIBS;
7714: if test $STATIC = no; then
7715: libPgSQLlib="-L/$libPgSQLlib -lpq"
7716: else
7717: libPgSQLlib="$libPgSQLlib/libpq.a"
7718: EXT_SQL="$EXT_SQL $libPgSQLlib"
7719: fi
7720: fi
7721: fi
7722:
7723: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
7724: libPgSQLinc=
7725: libPgSQLlib=
7726: fi
7727:
7728:
7729:
7730:
7731:
7732: # with_postgresql : check [pas défini], yes [uniquement --with],
7733: # no [--without], valeur [--with=valeur].
7734:
7735: # Check whether --with-bourne_shell was given.
7736: if test "${with_bourne_shell+set}" = set; then :
7737: withval=$with_bourne_shell;
7738: else
7739: with_bourne_shell=no
7740: fi
7741:
7742:
7743: if test "x$with_bourne_shell" = xyes; then
7744: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
7745: fi
7746:
7747: if test "x$with_bourne_shell" = xno; then
7748: if test $(uname) = "OS/2"; then
7749: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
7750: fi
7751:
7752: BSH_PATH=
7753: else
7754: if test ! -x $with_bourne_shell; then
7755: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
7756: fi
7757:
7758: if test $(uname) = "OS/2"; then
7759: with_os2_bourne_shell=$(echo $with_bourne_shell | \
7760: sed -e '1,$s/\//\\\\\\\\/g')
7761: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
7762: else
7763: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
7764: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
7765: BSH_PATH=
7766: fi
7767: fi
7768:
7769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7770: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7771: if test "${ac_cv_path_GREP+set}" = set; then :
7772: $as_echo_n "(cached) " >&6
7773: else
7774: if test -z "$GREP"; then
7775: ac_path_GREP_found=false
7776: # Loop through the user's path and test for each of PROGNAME-LIST
7777: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7779: do
7780: IFS=$as_save_IFS
7781: test -z "$as_dir" && as_dir=.
7782: for ac_prog in grep ggrep; do
7783: for ac_exec_ext in '' $ac_executable_extensions; do
7784: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7785: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7786: # Check for GNU ac_path_GREP and select it if it is found.
7787: # Check for GNU $ac_path_GREP
7788: case `"$ac_path_GREP" --version 2>&1` in
7789: *GNU*)
7790: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7791: *)
7792: ac_count=0
7793: $as_echo_n 0123456789 >"conftest.in"
7794: while :
7795: do
7796: cat "conftest.in" "conftest.in" >"conftest.tmp"
7797: mv "conftest.tmp" "conftest.in"
7798: cp "conftest.in" "conftest.nl"
7799: $as_echo 'GREP' >> "conftest.nl"
7800: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7801: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7802: as_fn_arith $ac_count + 1 && ac_count=$as_val
7803: if test $ac_count -gt ${ac_path_GREP_max-0}; then
7804: # Best one so far, save it but keep looking for a better one
7805: ac_cv_path_GREP="$ac_path_GREP"
7806: ac_path_GREP_max=$ac_count
7807: fi
7808: # 10*(2^10) chars as input seems more than enough
7809: test $ac_count -gt 10 && break
7810: done
7811: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7812: esac
7813:
7814: $ac_path_GREP_found && break 3
7815: done
7816: done
7817: done
7818: IFS=$as_save_IFS
7819: if test -z "$ac_cv_path_GREP"; then
7820: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7821: fi
7822: else
7823: ac_cv_path_GREP=$GREP
7824: fi
7825:
7826: fi
7827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7828: $as_echo "$ac_cv_path_GREP" >&6; }
7829: GREP="$ac_cv_path_GREP"
7830:
7831:
7832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7833: $as_echo_n "checking for egrep... " >&6; }
7834: if test "${ac_cv_path_EGREP+set}" = set; then :
7835: $as_echo_n "(cached) " >&6
7836: else
7837: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7838: then ac_cv_path_EGREP="$GREP -E"
7839: else
7840: if test -z "$EGREP"; then
7841: ac_path_EGREP_found=false
7842: # Loop through the user's path and test for each of PROGNAME-LIST
7843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7845: do
7846: IFS=$as_save_IFS
7847: test -z "$as_dir" && as_dir=.
7848: for ac_prog in egrep; do
7849: for ac_exec_ext in '' $ac_executable_extensions; do
7850: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7851: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7852: # Check for GNU ac_path_EGREP and select it if it is found.
7853: # Check for GNU $ac_path_EGREP
7854: case `"$ac_path_EGREP" --version 2>&1` in
7855: *GNU*)
7856: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7857: *)
7858: ac_count=0
7859: $as_echo_n 0123456789 >"conftest.in"
7860: while :
7861: do
7862: cat "conftest.in" "conftest.in" >"conftest.tmp"
7863: mv "conftest.tmp" "conftest.in"
7864: cp "conftest.in" "conftest.nl"
7865: $as_echo 'EGREP' >> "conftest.nl"
7866: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7867: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7868: as_fn_arith $ac_count + 1 && ac_count=$as_val
7869: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7870: # Best one so far, save it but keep looking for a better one
7871: ac_cv_path_EGREP="$ac_path_EGREP"
7872: ac_path_EGREP_max=$ac_count
7873: fi
7874: # 10*(2^10) chars as input seems more than enough
7875: test $ac_count -gt 10 && break
7876: done
7877: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7878: esac
7879:
7880: $ac_path_EGREP_found && break 3
7881: done
7882: done
7883: done
7884: IFS=$as_save_IFS
7885: if test -z "$ac_cv_path_EGREP"; then
7886: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7887: fi
7888: else
7889: ac_cv_path_EGREP=$EGREP
7890: fi
7891:
7892: fi
7893: fi
7894: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7895: $as_echo "$ac_cv_path_EGREP" >&6; }
7896: EGREP="$ac_cv_path_EGREP"
7897:
7898:
7899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7900: $as_echo_n "checking for ANSI C header files... " >&6; }
7901: if test "${ac_cv_header_stdc+set}" = set; then :
7902: $as_echo_n "(cached) " >&6
7903: else
7904: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7905: /* end confdefs.h. */
7906: #include <stdlib.h>
7907: #include <stdarg.h>
7908: #include <string.h>
7909: #include <float.h>
7910:
7911: int
7912: main ()
7913: {
7914:
7915: ;
7916: return 0;
7917: }
7918: _ACEOF
7919: if ac_fn_c_try_compile "$LINENO"; then :
7920: ac_cv_header_stdc=yes
7921: else
7922: ac_cv_header_stdc=no
7923: fi
7924: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7925:
7926: if test $ac_cv_header_stdc = yes; then
7927: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7928: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929: /* end confdefs.h. */
7930: #include <string.h>
7931:
7932: _ACEOF
7933: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934: $EGREP "memchr" >/dev/null 2>&1; then :
7935:
7936: else
7937: ac_cv_header_stdc=no
7938: fi
7939: rm -f conftest*
7940:
7941: fi
7942:
7943: if test $ac_cv_header_stdc = yes; then
7944: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7946: /* end confdefs.h. */
7947: #include <stdlib.h>
7948:
7949: _ACEOF
7950: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7951: $EGREP "free" >/dev/null 2>&1; then :
7952:
7953: else
7954: ac_cv_header_stdc=no
7955: fi
7956: rm -f conftest*
7957:
7958: fi
7959:
7960: if test $ac_cv_header_stdc = yes; then
7961: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7962: if test "$cross_compiling" = yes; then :
7963: :
7964: else
7965: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7966: /* end confdefs.h. */
7967: #include <ctype.h>
7968: #include <stdlib.h>
7969: #if ((' ' & 0x0FF) == 0x020)
7970: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7971: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7972: #else
7973: # define ISLOWER(c) \
7974: (('a' <= (c) && (c) <= 'i') \
7975: || ('j' <= (c) && (c) <= 'r') \
7976: || ('s' <= (c) && (c) <= 'z'))
7977: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7978: #endif
7979:
7980: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7981: int
7982: main ()
7983: {
7984: int i;
7985: for (i = 0; i < 256; i++)
7986: if (XOR (islower (i), ISLOWER (i))
7987: || toupper (i) != TOUPPER (i))
7988: return 2;
7989: return 0;
7990: }
7991: _ACEOF
7992: if ac_fn_c_try_run "$LINENO"; then :
7993:
7994: else
7995: ac_cv_header_stdc=no
7996: fi
7997: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7998: conftest.$ac_objext conftest.beam conftest.$ac_ext
7999: fi
8000:
8001: fi
8002: fi
8003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8004: $as_echo "$ac_cv_header_stdc" >&6; }
8005: if test $ac_cv_header_stdc = yes; then
8006:
8007: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8008:
8009: fi
8010:
8011: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8012: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8013: inttypes.h stdint.h unistd.h
8014: do :
8015: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8016: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8017: "
8018: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8019: cat >>confdefs.h <<_ACEOF
8020: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8021: _ACEOF
8022:
8023: fi
8024:
8025: done
8026:
8027:
8028: # The cast to long int works around a bug in the HP C Compiler
8029: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8030: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8031: # This bug is HP SR number 8606223364.
8032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8033: $as_echo_n "checking size of void *... " >&6; }
8034: if test "${ac_cv_sizeof_void_p+set}" = set; then :
8035: $as_echo_n "(cached) " >&6
8036: else
8037: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
8038:
8039: else
8040: if test "$ac_cv_type_void_p" = yes; then
8041: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8042: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8043: as_fn_error 77 "cannot compute sizeof (void *)
8044: See \`config.log' for more details" "$LINENO" 5 ; }
8045: else
8046: ac_cv_sizeof_void_p=0
8047: fi
8048: fi
8049:
8050: fi
8051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8052: $as_echo "$ac_cv_sizeof_void_p" >&6; }
8053:
8054:
8055:
8056: cat >>confdefs.h <<_ACEOF
8057: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8058: _ACEOF
8059:
8060:
8061: # The cast to long int works around a bug in the HP C Compiler
8062: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8063: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8064: # This bug is HP SR number 8606223364.
8065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
8066: $as_echo_n "checking size of char... " >&6; }
8067: if test "${ac_cv_sizeof_char+set}" = set; then :
8068: $as_echo_n "(cached) " >&6
8069: else
8070: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
8071:
8072: else
8073: if test "$ac_cv_type_char" = yes; then
8074: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8075: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8076: as_fn_error 77 "cannot compute sizeof (char)
8077: See \`config.log' for more details" "$LINENO" 5 ; }
8078: else
8079: ac_cv_sizeof_char=0
8080: fi
8081: fi
8082:
8083: fi
8084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
8085: $as_echo "$ac_cv_sizeof_char" >&6; }
8086:
8087:
8088:
8089: cat >>confdefs.h <<_ACEOF
8090: #define SIZEOF_CHAR $ac_cv_sizeof_char
8091: _ACEOF
8092:
8093:
8094: # The cast to long int works around a bug in the HP C Compiler
8095: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8096: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8097: # This bug is HP SR number 8606223364.
8098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
8099: $as_echo_n "checking size of short int... " >&6; }
8100: if test "${ac_cv_sizeof_short_int+set}" = set; then :
8101: $as_echo_n "(cached) " >&6
8102: else
8103: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then :
8104:
8105: else
8106: if test "$ac_cv_type_short_int" = yes; then
8107: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8108: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8109: as_fn_error 77 "cannot compute sizeof (short int)
8110: See \`config.log' for more details" "$LINENO" 5 ; }
8111: else
8112: ac_cv_sizeof_short_int=0
8113: fi
8114: fi
8115:
8116: fi
8117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
8118: $as_echo "$ac_cv_sizeof_short_int" >&6; }
8119:
8120:
8121:
8122: cat >>confdefs.h <<_ACEOF
8123: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
8124: _ACEOF
8125:
8126:
8127: # The cast to long int works around a bug in the HP C Compiler
8128: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8129: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8130: # This bug is HP SR number 8606223364.
8131: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8132: $as_echo_n "checking size of int... " >&6; }
8133: if test "${ac_cv_sizeof_int+set}" = set; then :
8134: $as_echo_n "(cached) " >&6
8135: else
8136: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
8137:
8138: else
8139: if test "$ac_cv_type_int" = yes; then
8140: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8141: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8142: as_fn_error 77 "cannot compute sizeof (int)
8143: See \`config.log' for more details" "$LINENO" 5 ; }
8144: else
8145: ac_cv_sizeof_int=0
8146: fi
8147: fi
8148:
8149: fi
8150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8151: $as_echo "$ac_cv_sizeof_int" >&6; }
8152:
8153:
8154:
8155: cat >>confdefs.h <<_ACEOF
8156: #define SIZEOF_INT $ac_cv_sizeof_int
8157: _ACEOF
8158:
8159:
8160: # The cast to long int works around a bug in the HP C Compiler
8161: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8162: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8163: # This bug is HP SR number 8606223364.
8164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
8165: $as_echo_n "checking size of long int... " >&6; }
8166: if test "${ac_cv_sizeof_long_int+set}" = set; then :
8167: $as_echo_n "(cached) " >&6
8168: else
8169: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
8170:
8171: else
8172: if test "$ac_cv_type_long_int" = yes; then
8173: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8174: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8175: as_fn_error 77 "cannot compute sizeof (long int)
8176: See \`config.log' for more details" "$LINENO" 5 ; }
8177: else
8178: ac_cv_sizeof_long_int=0
8179: fi
8180: fi
8181:
8182: fi
8183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
8184: $as_echo "$ac_cv_sizeof_long_int" >&6; }
8185:
8186:
8187:
8188: cat >>confdefs.h <<_ACEOF
8189: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8190: _ACEOF
8191:
8192:
8193: # The cast to long int works around a bug in the HP C Compiler
8194: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8195: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8196: # This bug is HP SR number 8606223364.
8197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
8198: $as_echo_n "checking size of long long int... " >&6; }
8199: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
8200: $as_echo_n "(cached) " >&6
8201: else
8202: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
8203:
8204: else
8205: if test "$ac_cv_type_long_long_int" = yes; then
8206: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8207: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8208: as_fn_error 77 "cannot compute sizeof (long long int)
8209: See \`config.log' for more details" "$LINENO" 5 ; }
8210: else
8211: ac_cv_sizeof_long_long_int=0
8212: fi
8213: fi
8214:
8215: fi
8216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
8217: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
8218:
8219:
8220:
8221: cat >>confdefs.h <<_ACEOF
8222: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
8223: _ACEOF
8224:
8225:
8226: # The cast to long int works around a bug in the HP C Compiler
8227: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8228: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8229: # This bug is HP SR number 8606223364.
8230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8231: $as_echo_n "checking size of float... " >&6; }
8232: if test "${ac_cv_sizeof_float+set}" = set; then :
8233: $as_echo_n "(cached) " >&6
8234: else
8235: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
8236:
8237: else
8238: if test "$ac_cv_type_float" = yes; then
8239: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8240: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8241: as_fn_error 77 "cannot compute sizeof (float)
8242: See \`config.log' for more details" "$LINENO" 5 ; }
8243: else
8244: ac_cv_sizeof_float=0
8245: fi
8246: fi
8247:
8248: fi
8249: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8250: $as_echo "$ac_cv_sizeof_float" >&6; }
8251:
8252:
8253:
8254: cat >>confdefs.h <<_ACEOF
8255: #define SIZEOF_FLOAT $ac_cv_sizeof_float
8256: _ACEOF
8257:
8258:
8259: # The cast to long int works around a bug in the HP C Compiler
8260: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8261: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8262: # This bug is HP SR number 8606223364.
8263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8264: $as_echo_n "checking size of double... " >&6; }
8265: if test "${ac_cv_sizeof_double+set}" = set; then :
8266: $as_echo_n "(cached) " >&6
8267: else
8268: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
8269:
8270: else
8271: if test "$ac_cv_type_double" = yes; then
8272: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8273: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8274: as_fn_error 77 "cannot compute sizeof (double)
8275: See \`config.log' for more details" "$LINENO" 5 ; }
8276: else
8277: ac_cv_sizeof_double=0
8278: fi
8279: fi
8280:
8281: fi
8282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8283: $as_echo "$ac_cv_sizeof_double" >&6; }
8284:
8285:
8286:
8287: cat >>confdefs.h <<_ACEOF
8288: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8289: _ACEOF
8290:
8291:
8292: # The cast to long int works around a bug in the HP C Compiler
8293: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8294: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8295: # This bug is HP SR number 8606223364.
8296: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8297: $as_echo_n "checking size of long double... " >&6; }
8298: if test "${ac_cv_sizeof_long_double+set}" = set; then :
8299: $as_echo_n "(cached) " >&6
8300: else
8301: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
8302:
8303: else
8304: if test "$ac_cv_type_long_double" = yes; then
8305: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8306: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8307: as_fn_error 77 "cannot compute sizeof (long double)
8308: See \`config.log' for more details" "$LINENO" 5 ; }
8309: else
8310: ac_cv_sizeof_long_double=0
8311: fi
8312: fi
8313:
8314: fi
8315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8316: $as_echo "$ac_cv_sizeof_long_double" >&6; }
8317:
8318:
8319:
8320: cat >>confdefs.h <<_ACEOF
8321: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
8322: _ACEOF
8323:
8324:
8325:
8326: ac_header_dirent=no
8327: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8328: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8329: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8330: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8331: if eval "test \"\${$as_ac_Header+set}\"" = set; then :
8332: $as_echo_n "(cached) " >&6
8333: else
8334: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335: /* end confdefs.h. */
8336: #include <sys/types.h>
8337: #include <$ac_hdr>
8338:
8339: int
8340: main ()
8341: {
8342: if ((DIR *) 0)
8343: return 0;
8344: ;
8345: return 0;
8346: }
8347: _ACEOF
8348: if ac_fn_c_try_compile "$LINENO"; then :
8349: eval "$as_ac_Header=yes"
8350: else
8351: eval "$as_ac_Header=no"
8352: fi
8353: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8354: fi
8355: eval ac_res=\$$as_ac_Header
8356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8357: $as_echo "$ac_res" >&6; }
8358: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8359: cat >>confdefs.h <<_ACEOF
8360: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8361: _ACEOF
8362:
8363: ac_header_dirent=$ac_hdr; break
8364: fi
8365:
8366: done
8367: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8368: if test $ac_header_dirent = dirent.h; then
8369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8370: $as_echo_n "checking for library containing opendir... " >&6; }
8371: if test "${ac_cv_search_opendir+set}" = set; then :
8372: $as_echo_n "(cached) " >&6
8373: else
8374: ac_func_search_save_LIBS=$LIBS
8375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376: /* end confdefs.h. */
8377:
8378: /* Override any GCC internal prototype to avoid an error.
8379: Use char because int might match the return type of a GCC
8380: builtin and then its argument prototype would still apply. */
8381: #ifdef __cplusplus
8382: extern "C"
8383: #endif
8384: char opendir ();
8385: int
8386: main ()
8387: {
8388: return opendir ();
8389: ;
8390: return 0;
8391: }
8392: _ACEOF
8393: for ac_lib in '' dir; do
8394: if test -z "$ac_lib"; then
8395: ac_res="none required"
8396: else
8397: ac_res=-l$ac_lib
8398: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8399: fi
8400: if ac_fn_c_try_link "$LINENO"; then :
8401: ac_cv_search_opendir=$ac_res
8402: fi
8403: rm -f core conftest.err conftest.$ac_objext \
8404: conftest$ac_exeext
8405: if test "${ac_cv_search_opendir+set}" = set; then :
8406: break
8407: fi
8408: done
8409: if test "${ac_cv_search_opendir+set}" = set; then :
8410:
8411: else
8412: ac_cv_search_opendir=no
8413: fi
8414: rm conftest.$ac_ext
8415: LIBS=$ac_func_search_save_LIBS
8416: fi
8417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8418: $as_echo "$ac_cv_search_opendir" >&6; }
8419: ac_res=$ac_cv_search_opendir
8420: if test "$ac_res" != no; then :
8421: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8422:
8423: fi
8424:
8425: else
8426: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8427: $as_echo_n "checking for library containing opendir... " >&6; }
8428: if test "${ac_cv_search_opendir+set}" = set; then :
8429: $as_echo_n "(cached) " >&6
8430: else
8431: ac_func_search_save_LIBS=$LIBS
8432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433: /* end confdefs.h. */
8434:
8435: /* Override any GCC internal prototype to avoid an error.
8436: Use char because int might match the return type of a GCC
8437: builtin and then its argument prototype would still apply. */
8438: #ifdef __cplusplus
8439: extern "C"
8440: #endif
8441: char opendir ();
8442: int
8443: main ()
8444: {
8445: return opendir ();
8446: ;
8447: return 0;
8448: }
8449: _ACEOF
8450: for ac_lib in '' x; do
8451: if test -z "$ac_lib"; then
8452: ac_res="none required"
8453: else
8454: ac_res=-l$ac_lib
8455: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8456: fi
8457: if ac_fn_c_try_link "$LINENO"; then :
8458: ac_cv_search_opendir=$ac_res
8459: fi
8460: rm -f core conftest.err conftest.$ac_objext \
8461: conftest$ac_exeext
8462: if test "${ac_cv_search_opendir+set}" = set; then :
8463: break
8464: fi
8465: done
8466: if test "${ac_cv_search_opendir+set}" = set; then :
8467:
8468: else
8469: ac_cv_search_opendir=no
8470: fi
8471: rm conftest.$ac_ext
8472: LIBS=$ac_func_search_save_LIBS
8473: fi
8474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8475: $as_echo "$ac_cv_search_opendir" >&6; }
8476: ac_res=$ac_cv_search_opendir
8477: if test "$ac_res" != no; then :
8478: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8479:
8480: fi
8481:
8482: fi
8483:
8484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8485: $as_echo_n "checking for ANSI C header files... " >&6; }
8486: if test "${ac_cv_header_stdc+set}" = set; then :
8487: $as_echo_n "(cached) " >&6
8488: else
8489: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490: /* end confdefs.h. */
8491: #include <stdlib.h>
8492: #include <stdarg.h>
8493: #include <string.h>
8494: #include <float.h>
8495:
8496: int
8497: main ()
8498: {
8499:
8500: ;
8501: return 0;
8502: }
8503: _ACEOF
8504: if ac_fn_c_try_compile "$LINENO"; then :
8505: ac_cv_header_stdc=yes
8506: else
8507: ac_cv_header_stdc=no
8508: fi
8509: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8510:
8511: if test $ac_cv_header_stdc = yes; then
8512: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8513: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514: /* end confdefs.h. */
8515: #include <string.h>
8516:
8517: _ACEOF
8518: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8519: $EGREP "memchr" >/dev/null 2>&1; then :
8520:
8521: else
8522: ac_cv_header_stdc=no
8523: fi
8524: rm -f conftest*
8525:
8526: fi
8527:
8528: if test $ac_cv_header_stdc = yes; then
8529: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8530: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531: /* end confdefs.h. */
8532: #include <stdlib.h>
8533:
8534: _ACEOF
8535: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8536: $EGREP "free" >/dev/null 2>&1; then :
8537:
8538: else
8539: ac_cv_header_stdc=no
8540: fi
8541: rm -f conftest*
8542:
8543: fi
8544:
8545: if test $ac_cv_header_stdc = yes; then
8546: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8547: if test "$cross_compiling" = yes; then :
8548: :
8549: else
8550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551: /* end confdefs.h. */
8552: #include <ctype.h>
8553: #include <stdlib.h>
8554: #if ((' ' & 0x0FF) == 0x020)
8555: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8556: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8557: #else
8558: # define ISLOWER(c) \
8559: (('a' <= (c) && (c) <= 'i') \
8560: || ('j' <= (c) && (c) <= 'r') \
8561: || ('s' <= (c) && (c) <= 'z'))
8562: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8563: #endif
8564:
8565: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8566: int
8567: main ()
8568: {
8569: int i;
8570: for (i = 0; i < 256; i++)
8571: if (XOR (islower (i), ISLOWER (i))
8572: || toupper (i) != TOUPPER (i))
8573: return 2;
8574: return 0;
8575: }
8576: _ACEOF
8577: if ac_fn_c_try_run "$LINENO"; then :
8578:
8579: else
8580: ac_cv_header_stdc=no
8581: fi
8582: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8583: conftest.$ac_objext conftest.beam conftest.$ac_ext
8584: fi
8585:
8586: fi
8587: fi
8588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8589: $as_echo "$ac_cv_header_stdc" >&6; }
8590: if test $ac_cv_header_stdc = yes; then
8591:
8592: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8593:
8594: fi
8595:
8596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8597: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8598: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
8599: $as_echo_n "(cached) " >&6
8600: else
8601: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602: /* end confdefs.h. */
8603: #include <sys/types.h>
8604: #include <sys/wait.h>
8605: #ifndef WEXITSTATUS
8606: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
8607: #endif
8608: #ifndef WIFEXITED
8609: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8610: #endif
8611:
8612: int
8613: main ()
8614: {
8615: int s;
8616: wait (&s);
8617: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8618: ;
8619: return 0;
8620: }
8621: _ACEOF
8622: if ac_fn_c_try_compile "$LINENO"; then :
8623: ac_cv_header_sys_wait_h=yes
8624: else
8625: ac_cv_header_sys_wait_h=no
8626: fi
8627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8628: fi
8629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
8630: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
8631: if test $ac_cv_header_sys_wait_h = yes; then
8632:
8633: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8634:
8635: fi
8636:
8637: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
8638: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
8639: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
8640: do :
8641: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8642: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8643: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8644: cat >>confdefs.h <<_ACEOF
8645: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8646: _ACEOF
8647:
8648: fi
8649:
8650: done
8651:
8652:
8653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8654: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8655: if test "${ac_cv_c_const+set}" = set; then :
8656: $as_echo_n "(cached) " >&6
8657: else
8658: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659: /* end confdefs.h. */
8660:
8661: int
8662: main ()
8663: {
8664: /* FIXME: Include the comments suggested by Paul. */
8665: #ifndef __cplusplus
8666: /* Ultrix mips cc rejects this. */
8667: typedef int charset[2];
8668: const charset cs;
8669: /* SunOS 4.1.1 cc rejects this. */
8670: char const *const *pcpcc;
8671: char **ppc;
8672: /* NEC SVR4.0.2 mips cc rejects this. */
8673: struct point {int x, y;};
8674: static struct point const zero = {0,0};
8675: /* AIX XL C 1.02.0.0 rejects this.
8676: It does not let you subtract one const X* pointer from another in
8677: an arm of an if-expression whose if-part is not a constant
8678: expression */
8679: const char *g = "string";
8680: pcpcc = &g + (g ? g-g : 0);
8681: /* HPUX 7.0 cc rejects these. */
8682: ++pcpcc;
8683: ppc = (char**) pcpcc;
8684: pcpcc = (char const *const *) ppc;
8685: { /* SCO 3.2v4 cc rejects this. */
8686: char *t;
8687: char const *s = 0 ? (char *) 0 : (char const *) 0;
8688:
8689: *t++ = 0;
8690: if (s) return 0;
8691: }
8692: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8693: int x[] = {25, 17};
8694: const int *foo = &x[0];
8695: ++foo;
8696: }
8697: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8698: typedef const int *iptr;
8699: iptr p = 0;
8700: ++p;
8701: }
8702: { /* AIX XL C 1.02.0.0 rejects this saying
8703: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8704: struct s { int j; const int *ap[3]; };
8705: struct s *b; b->j = 5;
8706: }
8707: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8708: const int foo = 10;
8709: if (!foo) return 0;
8710: }
8711: return !cs[0] && !zero.x;
8712: #endif
8713:
8714: ;
8715: return 0;
8716: }
8717: _ACEOF
8718: if ac_fn_c_try_compile "$LINENO"; then :
8719: ac_cv_c_const=yes
8720: else
8721: ac_cv_c_const=no
8722: fi
8723: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8724: fi
8725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8726: $as_echo "$ac_cv_c_const" >&6; }
8727: if test $ac_cv_c_const = no; then
8728:
8729: $as_echo "#define const /**/" >>confdefs.h
8730:
8731: fi
8732:
8733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8734: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8735: if test "${ac_cv_type_uid_t+set}" = set; then :
8736: $as_echo_n "(cached) " >&6
8737: else
8738: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739: /* end confdefs.h. */
8740: #include <sys/types.h>
8741:
8742: _ACEOF
8743: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8744: $EGREP "uid_t" >/dev/null 2>&1; then :
8745: ac_cv_type_uid_t=yes
8746: else
8747: ac_cv_type_uid_t=no
8748: fi
8749: rm -f conftest*
8750:
8751: fi
8752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8753: $as_echo "$ac_cv_type_uid_t" >&6; }
8754: if test $ac_cv_type_uid_t = no; then
8755:
8756: $as_echo "#define uid_t int" >>confdefs.h
8757:
8758:
8759: $as_echo "#define gid_t int" >>confdefs.h
8760:
8761: fi
8762:
8763: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8764: if test "x$ac_cv_type_pid_t" = x""yes; then :
8765:
8766: else
8767:
8768: cat >>confdefs.h <<_ACEOF
8769: #define pid_t int
8770: _ACEOF
8771:
8772: fi
8773:
8774: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8775: if test "x$ac_cv_type_size_t" = x""yes; then :
8776:
8777: else
8778:
8779: cat >>confdefs.h <<_ACEOF
8780: #define size_t unsigned int
8781: _ACEOF
8782:
8783: fi
8784:
8785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8786: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8787: if test "${ac_cv_header_time+set}" = set; then :
8788: $as_echo_n "(cached) " >&6
8789: else
8790: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791: /* end confdefs.h. */
8792: #include <sys/types.h>
8793: #include <sys/time.h>
8794: #include <time.h>
8795:
8796: int
8797: main ()
8798: {
8799: if ((struct tm *) 0)
8800: return 0;
8801: ;
8802: return 0;
8803: }
8804: _ACEOF
8805: if ac_fn_c_try_compile "$LINENO"; then :
8806: ac_cv_header_time=yes
8807: else
8808: ac_cv_header_time=no
8809: fi
8810: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8811: fi
8812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8813: $as_echo "$ac_cv_header_time" >&6; }
8814: if test $ac_cv_header_time = yes; then
8815:
8816: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8817:
8818: fi
8819:
8820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8821: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8822: if test "${ac_cv_struct_tm+set}" = set; then :
8823: $as_echo_n "(cached) " >&6
8824: else
8825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826: /* end confdefs.h. */
8827: #include <sys/types.h>
8828: #include <time.h>
8829:
8830: int
8831: main ()
8832: {
8833: struct tm tm;
8834: int *p = &tm.tm_sec;
8835: return !p;
8836: ;
8837: return 0;
8838: }
8839: _ACEOF
8840: if ac_fn_c_try_compile "$LINENO"; then :
8841: ac_cv_struct_tm=time.h
8842: else
8843: ac_cv_struct_tm=sys/time.h
8844: fi
8845: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8846: fi
8847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8848: $as_echo "$ac_cv_struct_tm" >&6; }
8849: if test $ac_cv_struct_tm = sys/time.h; then
8850:
8851: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8852:
8853: fi
8854:
8855:
8856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8857: $as_echo_n "checking return type of signal handlers... " >&6; }
8858: if test "${ac_cv_type_signal+set}" = set; then :
8859: $as_echo_n "(cached) " >&6
8860: else
8861: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862: /* end confdefs.h. */
8863: #include <sys/types.h>
8864: #include <signal.h>
8865:
8866: int
8867: main ()
8868: {
8869: return *(signal (0, 0)) (0) == 1;
8870: ;
8871: return 0;
8872: }
8873: _ACEOF
8874: if ac_fn_c_try_compile "$LINENO"; then :
8875: ac_cv_type_signal=int
8876: else
8877: ac_cv_type_signal=void
8878: fi
8879: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8880: fi
8881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8882: $as_echo "$ac_cv_type_signal" >&6; }
8883:
8884: cat >>confdefs.h <<_ACEOF
8885: #define RETSIGTYPE $ac_cv_type_signal
8886: _ACEOF
8887:
8888:
8889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
8890: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
8891: if test "$cross_compiling" = yes; then :
8892: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8893: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8894: as_fn_error $? "cannot run test program while cross compiling
8895: See \`config.log' for more details" "$LINENO" 5 ; }
8896: else
8897: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898: /* end confdefs.h. */
8899: #include <unistd.h>
8900: #include <signal.h>
8901: int flag;
8902: void handler(int signal, siginfo_t *siginfo, void *context)
8903: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
8904: int
8905: main ()
8906: {
8907: struct sigaction action;
8908: action.sa_sigaction = handler;
8909: action.sa_flags = SA_SIGINFO;
8910: sigaction(SIGUSR1, &action, NULL);
8911: raise(SIGUSR1);
8912: return(flag);
8913: ;
8914: return 0;
8915: }
8916: _ACEOF
8917: if ac_fn_c_try_run "$LINENO"; then :
8918: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919: $as_echo "no" >&6; }
8920: else
8921: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8922: $as_echo "yes" >&6; }
8923: fi
8924: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8925: conftest.$ac_objext conftest.beam conftest.$ac_ext
8926: fi
8927:
8928:
8929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
8930: $as_echo_n "checking for working strcoll... " >&6; }
8931: if test "${ac_cv_func_strcoll_works+set}" = set; then :
8932: $as_echo_n "(cached) " >&6
8933: else
8934: if test "$cross_compiling" = yes; then :
8935: ac_cv_func_strcoll_works=no
8936: else
8937: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938: /* end confdefs.h. */
8939: $ac_includes_default
8940: int
8941: main ()
8942: {
8943: return (strcoll ("abc", "def") >= 0 ||
8944: strcoll ("ABC", "DEF") >= 0 ||
8945: strcoll ("123", "456") >= 0)
8946: ;
8947: return 0;
8948: }
8949: _ACEOF
8950: if ac_fn_c_try_run "$LINENO"; then :
8951: ac_cv_func_strcoll_works=yes
8952: else
8953: ac_cv_func_strcoll_works=no
8954: fi
8955: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8956: conftest.$ac_objext conftest.beam conftest.$ac_ext
8957: fi
8958:
8959: fi
8960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
8961: $as_echo "$ac_cv_func_strcoll_works" >&6; }
8962: if test $ac_cv_func_strcoll_works = yes; then
8963:
8964: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
8965:
8966: fi
8967:
8968: for ac_func in strftime
8969: do :
8970: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
8971: if test "x$ac_cv_func_strftime" = x""yes; then :
8972: cat >>confdefs.h <<_ACEOF
8973: #define HAVE_STRFTIME 1
8974: _ACEOF
8975:
8976: else
8977: # strftime is in -lintl on SCO UNIX.
8978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
8979: $as_echo_n "checking for strftime in -lintl... " >&6; }
8980: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
8981: $as_echo_n "(cached) " >&6
8982: else
8983: ac_check_lib_save_LIBS=$LIBS
8984: LIBS="-lintl $LIBS"
8985: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986: /* end confdefs.h. */
8987:
8988: /* Override any GCC internal prototype to avoid an error.
8989: Use char because int might match the return type of a GCC
8990: builtin and then its argument prototype would still apply. */
8991: #ifdef __cplusplus
8992: extern "C"
8993: #endif
8994: char strftime ();
8995: int
8996: main ()
8997: {
8998: return strftime ();
8999: ;
9000: return 0;
9001: }
9002: _ACEOF
9003: if ac_fn_c_try_link "$LINENO"; then :
9004: ac_cv_lib_intl_strftime=yes
9005: else
9006: ac_cv_lib_intl_strftime=no
9007: fi
9008: rm -f core conftest.err conftest.$ac_objext \
9009: conftest$ac_exeext conftest.$ac_ext
9010: LIBS=$ac_check_lib_save_LIBS
9011: fi
9012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
9013: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
9014: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
9015: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
9016:
9017: LIBS="-lintl $LIBS"
9018: fi
9019:
9020: fi
9021: done
9022:
9023: for ac_func in vprintf
9024: do :
9025: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
9026: if test "x$ac_cv_func_vprintf" = x""yes; then :
9027: cat >>confdefs.h <<_ACEOF
9028: #define HAVE_VPRINTF 1
9029: _ACEOF
9030:
9031: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
9032: if test "x$ac_cv_func__doprnt" = x""yes; then :
9033:
9034: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
9035:
9036: fi
9037:
9038: fi
9039: done
9040:
9041:
9042: for ac_func in ftime getcwd putenv select strcspn strdup \
9043: strerror strspn strstr strtod
9044: do :
9045: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9046: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9047: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9048: cat >>confdefs.h <<_ACEOF
9049: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9050: _ACEOF
9051:
9052: fi
9053: done
9054:
9055:
9056:
9057: # Check whether --with-openssl_arch was given.
9058: if test "${with_openssl_arch+set}" = set; then :
9059: withval=$with_openssl_arch;
9060: else
9061: with_openssl_arch=none
9062: fi
9063:
9064:
9065: if test $(uname) = "OS/2"; then
9066: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
9067: else
9068: if test "x$with_openssl_arch" = xnone; then
9069: (cd tools/$OPENSSL && ./config)
9070: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
9071: (cd tools/$OPENSSL && ./Configure)
9072: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
9073: elif test "x$with_openssl_arch" = xlist; then
9074: (cd tools/$OPENSSL && ./Configure)
9075: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
9076: else
9077: (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
9078: fi
9079: fi
9080:
9081:
9082:
9083: subdirs="$subdirs tools/$NCURSES"
9084:
9085: subdirs="$subdirs tools/$READLINE"
9086:
9087: subdirs="$subdirs tools/$GSL"
9088:
9089: subdirs="$subdirs tools/$GPP"
9090:
9091: subdirs="$subdirs tools/$FILE"
9092:
9093: subdirs="$subdirs tools/$ICONV"
9094:
9095: subdirs="$subdirs tools/$SQLITE"
9096:
9097: subdirs="$subdirs tools/$UNITS"
9098:
9099:
9100: if test "$MYGNUPLOT" = "yes"; then
9101: if test ! -d "$srcdir"/tools/$GNUPLOT; then
9102: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
9103: (cd "$srcdir/tools" && tar -xf -)
9104: fi
9105: subdirs="$subdirs tools/$GNUPLOT"
9106:
9107: GNUPLOT_COMPILATION=$GNUPLOT
9108: else
9109: GNUPLOT_COMPILATION=
9110: fi
9111:
9112:
9113:
9114: case $host_cpu in
9115:
9116: i?86)
9117: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9118: -Wno-pointer-sign"
9119: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9120: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9121: break ;;
9122:
9123: x86_64*)
9124: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
9125: -Wno-pointer-sign"
9126: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9127: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
9128: break ;;
9129:
9130: alpha*)
9131: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
9132: -Wno-pointer-sign"
9133: FFLAGS="$FFLAGS -mieee -Wall"
9134: FCFLAGS="$FCFLAGS -mieee -Wall"
9135: break ;;
9136:
9137: sparc*)
9138: CFLAGS="$CFLAGS -Wall -funsigned-char \
9139: -Wno-pointer-sign"
9140: FFLAGS="$FFLAGS -Wall"
9141: FCFLAGS="$FCFLAGS -Wall"
9142: break ;;
9143:
9144: esac
9145:
9146: case $host_os in
9147:
9148: cygwin*)
9149: OS=Cygwin
9150: break ;;
9151:
9152: interix*)
9153: OS=Interix
9154: break ;;
9155:
9156: *)
9157: OS=$(uname)
9158: break ;;
9159:
9160: esac
9161:
9162:
9163:
9164: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
9165: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
9166: MALLOC=
9167:
9168: case $OS in
9169:
9170: Darwin)
9171: EXPORT_DYNAMIC=-Wl,-flat_namespace
9172: NESTED_FUNCTIONS=-fnested-functions
9173: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9174: IPCS_SYSV=-UIPCS_SYSV
9175: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
9176: ac_configure_args="$ac_configure_args --with-readline=builtin \
9177: --disable-shared --enable-static --enable-threads"
9178: C_STANDARD=-std=gnu99
9179: break ;;
9180:
9181: Cygwin)
9182: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9183: NESTED_FUNCTIONS=
9184: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9185: IPCS_SYSV=-UIPCS_SYSV
9186: ac_configure_args="$ac_configure_args --with-readline=builtin \
9187: --disable-shared --enable-static --enable-threads"
9188: C_STANDARD=-std=gnu99
9189: break ;;
9190:
9191: Interix)
9192: EXPORT_DYNAMIC=-Wl,--export-all-symbols
9193: NESTED_FUNCTIONS=
9194: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9195: IPCS_SYSV=-UIPCS_SYSV
9196: ac_configure_args="$ac_configure_args --with-readline=builtin \
9197: --disable-shared --enable-static --enable-threads"
9198: C_STANDARD=-std=gnu99
9199: break;;
9200:
9201: AIX)
9202: EXPORT_DYNAMIC=-Wl,--export-dynamic
9203: NESTED_FUNCTIONS=
9204: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
9205: IPCS_SYSV=-UIPCS_SYSV
9206: ac_configure_args="$ac_configure_args --with-readline=builtin \
9207: --disable-shared --enable-static --enable-threads"
9208: C_STANDARD=-std=gnu99
9209: break ;;
9210:
9211: OS/2)
9212: if test $FORCED_FINAL_ENCODING -eq 0; then \
9213: FINAL_ENCODING=CP850; \
9214: fi;
9215: OS=OS2
9216: NESTED_FUNCTIONS=
9217: EXPORT_DYNAMIC=-Zmap
9218: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9219: IPCS_SYSV=-DIPCS_SYSV
9220: ac_configure_args="$ac_configure_args --without-readline \
9221: --without-cairo --disable-shared --enable-static \
9222: --enable-threads"
9223: C_STANDARD=
9224: break;;
9225:
9226: OpenBSD)
9227: if test $FORCED_FINAL_ENCODING -eq 0; then \
9228: FINAL_ENCODING=UTF-8; \
9229: fi;
9230: EXPORT_DYNAMIC=-Wl,--export-dynamic
9231: NESTED_FUNCTIONS=
9232: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9233: IPCS_SYSV=-DIPCS_SYSV
9234: ac_configure_args="$ac_configure_args --with-readline=builtin \
9235: --disable-shared --enable-static --enable-threads"
9236: C_STANDARD=-std=gnu99
9237: break;;
9238:
9239: SunOS)
9240: EXPORT_DYNAMIC=-Wl,--export-dynamic
9241: NESTED_FUNCTIONS=
9242: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9243:
9244: if test $IPCS_SYSV = no; then
9245: IPCS_SYSV=-UIPCS_SYSV
9246: else
9247: IPCS_SYSV=-DIPCS_SYSV
9248: fi
9249:
9250: ac_configure_args="$ac_configure_args --with-readline=builtin \
9251: --disable-shared --enable-static --enable-threads"
9252: C_STANDARD=-std=gnu99
9253: MALLOC=-lumem
9254: break ;;
9255:
9256: *)
9257: EXPORT_DYNAMIC=-Wl,--export-dynamic
9258: NESTED_FUNCTIONS=
9259: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
9260:
9261: if test $IPCS_SYSV = no; then
9262: IPCS_SYSV=-UIPCS_SYSV
9263: else
9264: IPCS_SYSV=-DIPCS_SYSV
9265: fi
9266:
9267: ac_configure_args="$ac_configure_args --with-readline=builtin \
9268: --disable-shared --enable-static --enable-threads"
9269: C_STANDARD=-std=gnu99
9270: break ;;
9271:
9272: esac
9273:
9274:
9275:
9276:
9277:
9278:
9279:
9280:
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: ac_config_files="$ac_config_files Makefile"
9306:
9307: ac_config_files="$ac_config_files COPYING"
9308:
9309: ac_config_files="$ac_config_files tools/Makefile"
9310:
9311: ac_config_files="$ac_config_files src/Makefile"
9312:
9313: ac_config_files="$ac_config_files man/Makefile"
9314:
9315: ac_config_files="$ac_config_files man/fr_FR/Makefile"
9316:
9317: ac_config_files="$ac_config_files doc/Makefile"
9318:
9319: ac_config_files="$ac_config_files scripts/Makefile"
9320:
9321: ac_config_files="$ac_config_files scripts/mkrplso"
9322:
9323: ac_config_files="$ac_config_files scripts/rplcc"
9324:
9325: ac_config_files="$ac_config_files scripts/rpllink"
9326:
9327: ac_config_files="$ac_config_files rpltags/Makefile"
9328:
9329: ac_config_files="$ac_config_files rpliconv/Makefile"
9330:
9331: ac_config_files="$ac_config_files rplsums/Makefile"
9332:
9333: ac_config_files="$ac_config_files rplawk/Makefile"
9334:
9335: ac_config_files="$ac_config_files lapack/lapack/Makefile"
9336:
9337: ac_config_files="$ac_config_files lapack/blas/Makefile"
9338:
9339:
9340: ac_config_files="$ac_config_files man/rpl.1"
9341:
9342: ac_config_files="$ac_config_files man/rplcc.1"
9343:
9344: ac_config_files="$ac_config_files man/rpllink.1"
9345:
9346: ac_config_files="$ac_config_files man/rpltags.1"
9347:
9348: ac_config_files="$ac_config_files man/mkrplso.1"
9349:
9350: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
9351:
9352: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
9353:
9354: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
9355:
9356: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
9357:
9358: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
9359:
9360:
9361: cat >confcache <<\_ACEOF
9362: # This file is a shell script that caches the results of configure
9363: # tests run on this system so they can be shared between configure
9364: # scripts and configure runs, see configure's option --config-cache.
9365: # It is not useful on other systems. If it contains results you don't
9366: # want to keep, you may remove or edit it.
9367: #
9368: # config.status only pays attention to the cache file if you give it
9369: # the --recheck option to rerun configure.
9370: #
9371: # `ac_cv_env_foo' variables (set or unset) will be overridden when
9372: # loading this file, other *unset* `ac_cv_foo' will be assigned the
9373: # following values.
9374:
9375: _ACEOF
9376:
9377: # The following way of writing the cache mishandles newlines in values,
9378: # but we know of no workaround that is simple, portable, and efficient.
9379: # So, we kill variables containing newlines.
9380: # Ultrix sh set writes to stderr and can't be redirected directly,
9381: # and sets the high bit in the cache file unless we assign to the vars.
9382: (
9383: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9384: eval ac_val=\$$ac_var
9385: case $ac_val in #(
9386: *${as_nl}*)
9387: case $ac_var in #(
9388: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9389: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9390: esac
9391: case $ac_var in #(
9392: _ | IFS | as_nl) ;; #(
9393: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9394: *) { eval $ac_var=; unset $ac_var;} ;;
9395: esac ;;
9396: esac
9397: done
9398:
9399: (set) 2>&1 |
9400: case $as_nl`(ac_space=' '; set) 2>&1` in #(
9401: *${as_nl}ac_space=\ *)
9402: # `set' does not quote correctly, so add quotes: double-quote
9403: # substitution turns \\\\ into \\, and sed turns \\ into \.
9404: sed -n \
9405: "s/'/'\\\\''/g;
9406: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9407: ;; #(
9408: *)
9409: # `set' quotes correctly as required by POSIX, so do not add quotes.
9410: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9411: ;;
9412: esac |
9413: sort
9414: ) |
9415: sed '
9416: /^ac_cv_env_/b end
9417: t clear
9418: :clear
9419: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9420: t end
9421: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9422: :end' >>confcache
9423: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9424: if test -w "$cache_file"; then
9425: test "x$cache_file" != "x/dev/null" &&
9426: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9427: $as_echo "$as_me: updating cache $cache_file" >&6;}
9428: cat confcache >$cache_file
9429: else
9430: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9431: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9432: fi
9433: fi
9434: rm -f confcache
9435:
9436: test "x$prefix" = xNONE && prefix=$ac_default_prefix
9437: # Let make expand exec_prefix.
9438: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9439:
9440: DEFS=-DHAVE_CONFIG_H
9441:
9442: ac_libobjs=
9443: ac_ltlibobjs=
9444: U=
9445: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9446: # 1. Remove the extension, and $U if already installed.
9447: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9448: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9449: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9450: # will be set to the directory where LIBOBJS objects are built.
9451: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9452: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9453: done
9454: LIBOBJS=$ac_libobjs
9455:
9456: LTLIBOBJS=$ac_ltlibobjs
9457:
9458:
9459: if test -n "$EXEEXT"; then
9460: am__EXEEXT_TRUE=
9461: am__EXEEXT_FALSE='#'
9462: else
9463: am__EXEEXT_TRUE='#'
9464: am__EXEEXT_FALSE=
9465: fi
9466:
9467: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9468: as_fn_error $? "conditional \"AMDEP\" was never defined.
9469: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9470: fi
9471: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9472: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9473: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9474: fi
9475: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9476: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9477: Usually this means the macro was only invoked conditionally." "$LINENO" 5
9478: fi
9479:
9480: : ${CONFIG_STATUS=./config.status}
9481: ac_write_fail=0
9482: ac_clean_files_save=$ac_clean_files
9483: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9484: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9485: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9486: as_write_fail=0
9487: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9488: #! $SHELL
9489: # Generated by $as_me.
9490: # Run this file to recreate the current configuration.
9491: # Compiler output produced by configure, useful for debugging
9492: # configure, is in config.log if it exists.
9493:
9494: debug=false
9495: ac_cs_recheck=false
9496: ac_cs_silent=false
9497:
9498: SHELL=\${CONFIG_SHELL-$SHELL}
9499: export SHELL
9500: _ASEOF
9501: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9502: ## -------------------- ##
9503: ## M4sh Initialization. ##
9504: ## -------------------- ##
9505:
9506: # Be more Bourne compatible
9507: DUALCASE=1; export DUALCASE # for MKS sh
9508: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9509: emulate sh
9510: NULLCMD=:
9511: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9512: # is contrary to our usage. Disable this feature.
9513: alias -g '${1+"$@"}'='"$@"'
9514: setopt NO_GLOB_SUBST
9515: else
9516: case `(set -o) 2>/dev/null` in #(
9517: *posix*) :
9518: set -o posix ;; #(
9519: *) :
9520: ;;
9521: esac
9522: fi
9523:
9524:
9525: as_nl='
9526: '
9527: export as_nl
9528: # Printing a long string crashes Solaris 7 /usr/bin/printf.
9529: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9530: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9531: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9532: # Prefer a ksh shell builtin over an external printf program on Solaris,
9533: # but without wasting forks for bash or zsh.
9534: if test -z "$BASH_VERSION$ZSH_VERSION" \
9535: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9536: as_echo='print -r --'
9537: as_echo_n='print -rn --'
9538: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9539: as_echo='printf %s\n'
9540: as_echo_n='printf %s'
9541: else
9542: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9543: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9544: as_echo_n='/usr/ucb/echo -n'
9545: else
9546: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9547: as_echo_n_body='eval
9548: arg=$1;
9549: case $arg in #(
9550: *"$as_nl"*)
9551: expr "X$arg" : "X\\(.*\\)$as_nl";
9552: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9553: esac;
9554: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9555: '
9556: export as_echo_n_body
9557: as_echo_n='sh -c $as_echo_n_body as_echo'
9558: fi
9559: export as_echo_body
9560: as_echo='sh -c $as_echo_body as_echo'
9561: fi
9562:
9563: # The user is always right.
9564: if test "${PATH_SEPARATOR+set}" != set; then
9565: PATH_SEPARATOR=:
9566: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9567: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9568: PATH_SEPARATOR=';'
9569: }
9570: fi
9571:
9572:
9573: # IFS
9574: # We need space, tab and new line, in precisely that order. Quoting is
9575: # there to prevent editors from complaining about space-tab.
9576: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9577: # splitting by setting IFS to empty value.)
9578: IFS=" "" $as_nl"
9579:
9580: # Find who we are. Look in the path if we contain no directory separator.
9581: case $0 in #((
9582: *[\\/]* ) as_myself=$0 ;;
9583: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584: for as_dir in $PATH
9585: do
9586: IFS=$as_save_IFS
9587: test -z "$as_dir" && as_dir=.
9588: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9589: done
9590: IFS=$as_save_IFS
9591:
9592: ;;
9593: esac
9594: # We did not find ourselves, most probably we were run as `sh COMMAND'
9595: # in which case we are not to be found in the path.
9596: if test "x$as_myself" = x; then
9597: as_myself=$0
9598: fi
9599: if test ! -f "$as_myself"; then
9600: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9601: exit 1
9602: fi
9603:
9604: # Unset variables that we do not need and which cause bugs (e.g. in
9605: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9606: # suppresses any "Segmentation fault" message there. '((' could
9607: # trigger a bug in pdksh 5.2.14.
9608: for as_var in BASH_ENV ENV MAIL MAILPATH
9609: do eval test x\${$as_var+set} = xset \
9610: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9611: done
9612: PS1='$ '
9613: PS2='> '
9614: PS4='+ '
9615:
9616: # NLS nuisances.
9617: LC_ALL=C
9618: export LC_ALL
9619: LANGUAGE=C
9620: export LANGUAGE
9621:
9622: # CDPATH.
9623: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9624:
9625:
9626: # as_fn_error STATUS ERROR [LINENO LOG_FD]
9627: # ----------------------------------------
9628: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9629: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9630: # script with STATUS, using 1 if that was 0.
9631: as_fn_error ()
9632: {
9633: as_status=$1; test $as_status -eq 0 && as_status=1
9634: if test "$4"; then
9635: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9636: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9637: fi
9638: $as_echo "$as_me: error: $2" >&2
9639: as_fn_exit $as_status
9640: } # as_fn_error
9641:
9642:
9643: # as_fn_set_status STATUS
9644: # -----------------------
9645: # Set $? to STATUS, without forking.
9646: as_fn_set_status ()
9647: {
9648: return $1
9649: } # as_fn_set_status
9650:
9651: # as_fn_exit STATUS
9652: # -----------------
9653: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9654: as_fn_exit ()
9655: {
9656: set +e
9657: as_fn_set_status $1
9658: exit $1
9659: } # as_fn_exit
9660:
9661: # as_fn_unset VAR
9662: # ---------------
9663: # Portably unset VAR.
9664: as_fn_unset ()
9665: {
9666: { eval $1=; unset $1;}
9667: }
9668: as_unset=as_fn_unset
9669: # as_fn_append VAR VALUE
9670: # ----------------------
9671: # Append the text in VALUE to the end of the definition contained in VAR. Take
9672: # advantage of any shell optimizations that allow amortized linear growth over
9673: # repeated appends, instead of the typical quadratic growth present in naive
9674: # implementations.
9675: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9676: eval 'as_fn_append ()
9677: {
9678: eval $1+=\$2
9679: }'
9680: else
9681: as_fn_append ()
9682: {
9683: eval $1=\$$1\$2
9684: }
9685: fi # as_fn_append
9686:
9687: # as_fn_arith ARG...
9688: # ------------------
9689: # Perform arithmetic evaluation on the ARGs, and store the result in the
9690: # global $as_val. Take advantage of shells that can avoid forks. The arguments
9691: # must be portable across $(()) and expr.
9692: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9693: eval 'as_fn_arith ()
9694: {
9695: as_val=$(( $* ))
9696: }'
9697: else
9698: as_fn_arith ()
9699: {
9700: as_val=`expr "$@" || test $? -eq 1`
9701: }
9702: fi # as_fn_arith
9703:
9704:
9705: if expr a : '\(a\)' >/dev/null 2>&1 &&
9706: test "X`expr 00001 : '.*\(...\)'`" = X001; then
9707: as_expr=expr
9708: else
9709: as_expr=false
9710: fi
9711:
9712: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9713: as_basename=basename
9714: else
9715: as_basename=false
9716: fi
9717:
9718: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9719: as_dirname=dirname
9720: else
9721: as_dirname=false
9722: fi
9723:
9724: as_me=`$as_basename -- "$0" ||
9725: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9726: X"$0" : 'X\(//\)$' \| \
9727: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9728: $as_echo X/"$0" |
9729: sed '/^.*\/\([^/][^/]*\)\/*$/{
9730: s//\1/
9731: q
9732: }
9733: /^X\/\(\/\/\)$/{
9734: s//\1/
9735: q
9736: }
9737: /^X\/\(\/\).*/{
9738: s//\1/
9739: q
9740: }
9741: s/.*/./; q'`
9742:
9743: # Avoid depending upon Character Ranges.
9744: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9745: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9746: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9747: as_cr_digits='0123456789'
9748: as_cr_alnum=$as_cr_Letters$as_cr_digits
9749:
9750: ECHO_C= ECHO_N= ECHO_T=
9751: case `echo -n x` in #(((((
9752: -n*)
9753: case `echo 'xy\c'` in
9754: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9755: xy) ECHO_C='\c';;
9756: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9757: ECHO_T=' ';;
9758: esac;;
9759: *)
9760: ECHO_N='-n';;
9761: esac
9762:
9763: rm -f conf$$ conf$$.exe conf$$.file
9764: if test -d conf$$.dir; then
9765: rm -f conf$$.dir/conf$$.file
9766: else
9767: rm -f conf$$.dir
9768: mkdir conf$$.dir 2>/dev/null
9769: fi
9770: if (echo >conf$$.file) 2>/dev/null; then
9771: if ln -s conf$$.file conf$$ 2>/dev/null; then
9772: as_ln_s='ln -s'
9773: # ... but there are two gotchas:
9774: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9775: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9776: # In both cases, we have to default to `cp -p'.
9777: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9778: as_ln_s='cp -p'
9779: elif ln conf$$.file conf$$ 2>/dev/null; then
9780: as_ln_s=ln
9781: else
9782: as_ln_s='cp -p'
9783: fi
9784: else
9785: as_ln_s='cp -p'
9786: fi
9787: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9788: rmdir conf$$.dir 2>/dev/null
9789:
9790:
9791: # as_fn_mkdir_p
9792: # -------------
9793: # Create "$as_dir" as a directory, including parents if necessary.
9794: as_fn_mkdir_p ()
9795: {
9796:
9797: case $as_dir in #(
9798: -*) as_dir=./$as_dir;;
9799: esac
9800: test -d "$as_dir" || eval $as_mkdir_p || {
9801: as_dirs=
9802: while :; do
9803: case $as_dir in #(
9804: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9805: *) as_qdir=$as_dir;;
9806: esac
9807: as_dirs="'$as_qdir' $as_dirs"
9808: as_dir=`$as_dirname -- "$as_dir" ||
9809: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9810: X"$as_dir" : 'X\(//\)[^/]' \| \
9811: X"$as_dir" : 'X\(//\)$' \| \
9812: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9813: $as_echo X"$as_dir" |
9814: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9815: s//\1/
9816: q
9817: }
9818: /^X\(\/\/\)[^/].*/{
9819: s//\1/
9820: q
9821: }
9822: /^X\(\/\/\)$/{
9823: s//\1/
9824: q
9825: }
9826: /^X\(\/\).*/{
9827: s//\1/
9828: q
9829: }
9830: s/.*/./; q'`
9831: test -d "$as_dir" && break
9832: done
9833: test -z "$as_dirs" || eval "mkdir $as_dirs"
9834: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9835:
9836:
9837: } # as_fn_mkdir_p
9838: if mkdir -p . 2>/dev/null; then
9839: as_mkdir_p='mkdir -p "$as_dir"'
9840: else
9841: test -d ./-p && rmdir ./-p
9842: as_mkdir_p=false
9843: fi
9844:
9845: if test -x / >/dev/null 2>&1; then
9846: as_test_x='test -x'
9847: else
9848: if ls -dL / >/dev/null 2>&1; then
9849: as_ls_L_option=L
9850: else
9851: as_ls_L_option=
9852: fi
9853: as_test_x='
9854: eval sh -c '\''
9855: if test -d "$1"; then
9856: test -d "$1/.";
9857: else
9858: case $1 in #(
9859: -*)set "./$1";;
9860: esac;
9861: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9862: ???[sx]*):;;*)false;;esac;fi
9863: '\'' sh
9864: '
9865: fi
9866: as_executable_p=$as_test_x
9867:
9868: # Sed expression to map a string onto a valid CPP name.
9869: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9870:
9871: # Sed expression to map a string onto a valid variable name.
9872: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9873:
9874:
9875: exec 6>&1
9876: ## ----------------------------------- ##
9877: ## Main body of $CONFIG_STATUS script. ##
9878: ## ----------------------------------- ##
9879: _ASEOF
9880: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9881:
9882: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9883: # Save the log message, to keep $0 and so on meaningful, and to
9884: # report actual input values of CONFIG_FILES etc. instead of their
9885: # values after options handling.
9886: ac_log="
9887: This file was extended by rpl $as_me 4.0.22, which was
9888: generated by GNU Autoconf 2.67. Invocation command line was
9889:
9890: CONFIG_FILES = $CONFIG_FILES
9891: CONFIG_HEADERS = $CONFIG_HEADERS
9892: CONFIG_LINKS = $CONFIG_LINKS
9893: CONFIG_COMMANDS = $CONFIG_COMMANDS
9894: $ $0 $@
9895:
9896: on `(hostname || uname -n) 2>/dev/null | sed 1q`
9897: "
9898:
9899: _ACEOF
9900:
9901: case $ac_config_files in *"
9902: "*) set x $ac_config_files; shift; ac_config_files=$*;;
9903: esac
9904:
9905: case $ac_config_headers in *"
9906: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9907: esac
9908:
9909:
9910: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9911: # Files that config.status was made for.
9912: config_files="$ac_config_files"
9913: config_headers="$ac_config_headers"
9914: config_commands="$ac_config_commands"
9915:
9916: _ACEOF
9917:
9918: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9919: ac_cs_usage="\
9920: \`$as_me' instantiates files and other configuration actions
9921: from templates according to the current configuration. Unless the files
9922: and actions are specified as TAGs, all are instantiated by default.
9923:
9924: Usage: $0 [OPTION]... [TAG]...
9925:
9926: -h, --help print this help, then exit
9927: -V, --version print version number and configuration settings, then exit
9928: --config print configuration, then exit
9929: -q, --quiet, --silent
9930: do not print progress messages
9931: -d, --debug don't remove temporary files
9932: --recheck update $as_me by reconfiguring in the same conditions
9933: --file=FILE[:TEMPLATE]
9934: instantiate the configuration file FILE
9935: --header=FILE[:TEMPLATE]
9936: instantiate the configuration header FILE
9937:
9938: Configuration files:
9939: $config_files
9940:
9941: Configuration headers:
9942: $config_headers
9943:
9944: Configuration commands:
9945: $config_commands
9946:
9947: Report bugs to the package provider."
9948:
9949: _ACEOF
9950: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9951: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9952: ac_cs_version="\\
9953: rpl config.status 4.0.22
9954: configured by $0, generated by GNU Autoconf 2.67,
9955: with options \\"\$ac_cs_config\\"
9956:
9957: Copyright (C) 2010 Free Software Foundation, Inc.
9958: This config.status script is free software; the Free Software Foundation
9959: gives unlimited permission to copy, distribute and modify it."
9960:
9961: ac_pwd='$ac_pwd'
9962: srcdir='$srcdir'
9963: INSTALL='$INSTALL'
9964: MKDIR_P='$MKDIR_P'
9965: AWK='$AWK'
9966: test -n "\$AWK" || AWK=awk
9967: _ACEOF
9968:
9969: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9970: # The default lists apply if the user does not specify any file.
9971: ac_need_defaults=:
9972: while test $# != 0
9973: do
9974: case $1 in
9975: --*=?*)
9976: ac_option=`expr "X$1" : 'X\([^=]*\)='`
9977: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9978: ac_shift=:
9979: ;;
9980: --*=)
9981: ac_option=`expr "X$1" : 'X\([^=]*\)='`
9982: ac_optarg=
9983: ac_shift=:
9984: ;;
9985: *)
9986: ac_option=$1
9987: ac_optarg=$2
9988: ac_shift=shift
9989: ;;
9990: esac
9991:
9992: case $ac_option in
9993: # Handling of the options.
9994: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9995: ac_cs_recheck=: ;;
9996: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9997: $as_echo "$ac_cs_version"; exit ;;
9998: --config | --confi | --conf | --con | --co | --c )
9999: $as_echo "$ac_cs_config"; exit ;;
10000: --debug | --debu | --deb | --de | --d | -d )
10001: debug=: ;;
10002: --file | --fil | --fi | --f )
10003: $ac_shift
10004: case $ac_optarg in
10005: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10006: '') as_fn_error $? "missing file argument" ;;
10007: esac
10008: as_fn_append CONFIG_FILES " '$ac_optarg'"
10009: ac_need_defaults=false;;
10010: --header | --heade | --head | --hea )
10011: $ac_shift
10012: case $ac_optarg in
10013: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10014: esac
10015: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10016: ac_need_defaults=false;;
10017: --he | --h)
10018: # Conflict between --help and --header
10019: as_fn_error $? "ambiguous option: \`$1'
10020: Try \`$0 --help' for more information.";;
10021: --help | --hel | -h )
10022: $as_echo "$ac_cs_usage"; exit ;;
10023: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10024: | -silent | --silent | --silen | --sile | --sil | --si | --s)
10025: ac_cs_silent=: ;;
10026:
10027: # This is an error.
10028: -*) as_fn_error $? "unrecognized option: \`$1'
10029: Try \`$0 --help' for more information." ;;
10030:
10031: *) as_fn_append ac_config_targets " $1"
10032: ac_need_defaults=false ;;
10033:
10034: esac
10035: shift
10036: done
10037:
10038: ac_configure_extra_args=
10039:
10040: if $ac_cs_silent; then
10041: exec 6>/dev/null
10042: ac_configure_extra_args="$ac_configure_extra_args --silent"
10043: fi
10044:
10045: _ACEOF
10046: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10047: if \$ac_cs_recheck; then
10048: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10049: shift
10050: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10051: CONFIG_SHELL='$SHELL'
10052: export CONFIG_SHELL
10053: exec "\$@"
10054: fi
10055:
10056: _ACEOF
10057: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10058: exec 5>>config.log
10059: {
10060: echo
10061: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10062: ## Running $as_me. ##
10063: _ASBOX
10064: $as_echo "$ac_log"
10065: } >&5
10066:
10067: _ACEOF
10068: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10069: #
10070: # INIT-COMMANDS
10071: #
10072: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10073:
10074: _ACEOF
10075:
10076: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10077:
10078: # Handling of arguments.
10079: for ac_config_target in $ac_config_targets
10080: do
10081: case $ac_config_target in
10082: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10083: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10084: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10085: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10086: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10087: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10088: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10089: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10090: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10091: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10092: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10093: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10094: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10095: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10096: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10097: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10098: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10099: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10100: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10101: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10102: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10103: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10104: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10105: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10106: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10107: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10108: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10109: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10110: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10111:
10112: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10113: esac
10114: done
10115:
10116:
10117: # If the user did not use the arguments to specify the items to instantiate,
10118: # then the envvar interface is used. Set only those that are not.
10119: # We use the long form for the default assignment because of an extremely
10120: # bizarre bug on SunOS 4.1.3.
10121: if $ac_need_defaults; then
10122: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10123: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10124: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10125: fi
10126:
10127: # Have a temporary directory for convenience. Make it in the build tree
10128: # simply because there is no reason against having it here, and in addition,
10129: # creating and moving files from /tmp can sometimes cause problems.
10130: # Hook for its removal unless debugging.
10131: # Note that there is a small window in which the directory will not be cleaned:
10132: # after its creation but before its name has been assigned to `$tmp'.
10133: $debug ||
10134: {
10135: tmp=
10136: trap 'exit_status=$?
10137: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10138: ' 0
10139: trap 'as_fn_exit 1' 1 2 13 15
10140: }
10141: # Create a (secure) tmp directory for tmp files.
10142:
10143: {
10144: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10145: test -n "$tmp" && test -d "$tmp"
10146: } ||
10147: {
10148: tmp=./conf$$-$RANDOM
10149: (umask 077 && mkdir "$tmp")
10150: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10151:
10152: # Set up the scripts for CONFIG_FILES section.
10153: # No need to generate them if there are no CONFIG_FILES.
10154: # This happens for instance with `./config.status config.h'.
10155: if test -n "$CONFIG_FILES"; then
10156:
10157:
10158: ac_cr=`echo X | tr X '\015'`
10159: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10160: # But we know of no other shell where ac_cr would be empty at this
10161: # point, so we can use a bashism as a fallback.
10162: if test "x$ac_cr" = x; then
10163: eval ac_cr=\$\'\\r\'
10164: fi
10165: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10166: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10167: ac_cs_awk_cr='\\r'
10168: else
10169: ac_cs_awk_cr=$ac_cr
10170: fi
10171:
10172: echo 'BEGIN {' >"$tmp/subs1.awk" &&
10173: _ACEOF
10174:
10175:
10176: {
10177: echo "cat >conf$$subs.awk <<_ACEOF" &&
10178: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10179: echo "_ACEOF"
10180: } >conf$$subs.sh ||
10181: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10182: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10183: ac_delim='%!_!# '
10184: for ac_last_try in false false false false false :; do
10185: . ./conf$$subs.sh ||
10186: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10187:
10188: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10189: if test $ac_delim_n = $ac_delim_num; then
10190: break
10191: elif $ac_last_try; then
10192: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10193: else
10194: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10195: fi
10196: done
10197: rm -f conf$$subs.sh
10198:
10199: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10200: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10201: _ACEOF
10202: sed -n '
10203: h
10204: s/^/S["/; s/!.*/"]=/
10205: p
10206: g
10207: s/^[^!]*!//
10208: :repl
10209: t repl
10210: s/'"$ac_delim"'$//
10211: t delim
10212: :nl
10213: h
10214: s/\(.\{148\}\)..*/\1/
10215: t more1
10216: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10217: p
10218: n
10219: b repl
10220: :more1
10221: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10222: p
10223: g
10224: s/.\{148\}//
10225: t nl
10226: :delim
10227: h
10228: s/\(.\{148\}\)..*/\1/
10229: t more2
10230: s/["\\]/\\&/g; s/^/"/; s/$/"/
10231: p
10232: b
10233: :more2
10234: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10235: p
10236: g
10237: s/.\{148\}//
10238: t delim
10239: ' <conf$$subs.awk | sed '
10240: /^[^""]/{
10241: N
10242: s/\n//
10243: }
10244: ' >>$CONFIG_STATUS || ac_write_fail=1
10245: rm -f conf$$subs.awk
10246: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10247: _ACAWK
10248: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10249: for (key in S) S_is_set[key] = 1
10250: FS = ""
10251:
10252: }
10253: {
10254: line = $ 0
10255: nfields = split(line, field, "@")
10256: substed = 0
10257: len = length(field[1])
10258: for (i = 2; i < nfields; i++) {
10259: key = field[i]
10260: keylen = length(key)
10261: if (S_is_set[key]) {
10262: value = S[key]
10263: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10264: len += length(value) + length(field[++i])
10265: substed = 1
10266: } else
10267: len += 1 + keylen
10268: }
10269:
10270: print line
10271: }
10272:
10273: _ACAWK
10274: _ACEOF
10275: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10276: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10277: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10278: else
10279: cat
10280: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10281: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10282: _ACEOF
10283:
10284: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10285: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10286: # trailing colons and then remove the whole line if VPATH becomes empty
10287: # (actually we leave an empty line to preserve line numbers).
10288: if test "x$srcdir" = x.; then
10289: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10290: h
10291: s///
10292: s/^/:/
10293: s/[ ]*$/:/
10294: s/:\$(srcdir):/:/g
10295: s/:\${srcdir}:/:/g
10296: s/:@srcdir@:/:/g
10297: s/^:*//
10298: s/:*$//
10299: x
10300: s/\(=[ ]*\).*/\1/
10301: G
10302: s/\n//
10303: s/^[^=]*=[ ]*$//
10304: }'
10305: fi
10306:
10307: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10308: fi # test -n "$CONFIG_FILES"
10309:
10310: # Set up the scripts for CONFIG_HEADERS section.
10311: # No need to generate them if there are no CONFIG_HEADERS.
10312: # This happens for instance with `./config.status Makefile'.
10313: if test -n "$CONFIG_HEADERS"; then
10314: cat >"$tmp/defines.awk" <<\_ACAWK ||
10315: BEGIN {
10316: _ACEOF
10317:
10318: # Transform confdefs.h into an awk script `defines.awk', embedded as
10319: # here-document in config.status, that substitutes the proper values into
10320: # config.h.in to produce config.h.
10321:
10322: # Create a delimiter string that does not exist in confdefs.h, to ease
10323: # handling of long lines.
10324: ac_delim='%!_!# '
10325: for ac_last_try in false false :; do
10326: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10327: if test -z "$ac_t"; then
10328: break
10329: elif $ac_last_try; then
10330: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10331: else
10332: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10333: fi
10334: done
10335:
10336: # For the awk script, D is an array of macro values keyed by name,
10337: # likewise P contains macro parameters if any. Preserve backslash
10338: # newline sequences.
10339:
10340: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10341: sed -n '
10342: s/.\{148\}/&'"$ac_delim"'/g
10343: t rset
10344: :rset
10345: s/^[ ]*#[ ]*define[ ][ ]*/ /
10346: t def
10347: d
10348: :def
10349: s/\\$//
10350: t bsnl
10351: s/["\\]/\\&/g
10352: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10353: D["\1"]=" \3"/p
10354: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10355: d
10356: :bsnl
10357: s/["\\]/\\&/g
10358: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10359: D["\1"]=" \3\\\\\\n"\\/p
10360: t cont
10361: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10362: t cont
10363: d
10364: :cont
10365: n
10366: s/.\{148\}/&'"$ac_delim"'/g
10367: t clear
10368: :clear
10369: s/\\$//
10370: t bsnlc
10371: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10372: d
10373: :bsnlc
10374: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10375: b cont
10376: ' <confdefs.h | sed '
10377: s/'"$ac_delim"'/"\\\
10378: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10379:
10380: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10381: for (key in D) D_is_set[key] = 1
10382: FS = ""
10383: }
10384: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10385: line = \$ 0
10386: split(line, arg, " ")
10387: if (arg[1] == "#") {
10388: defundef = arg[2]
10389: mac1 = arg[3]
10390: } else {
10391: defundef = substr(arg[1], 2)
10392: mac1 = arg[2]
10393: }
10394: split(mac1, mac2, "(") #)
10395: macro = mac2[1]
10396: prefix = substr(line, 1, index(line, defundef) - 1)
10397: if (D_is_set[macro]) {
10398: # Preserve the white space surrounding the "#".
10399: print prefix "define", macro P[macro] D[macro]
10400: next
10401: } else {
10402: # Replace #undef with comments. This is necessary, for example,
10403: # in the case of _POSIX_SOURCE, which is predefined and required
10404: # on some systems where configure will not decide to define it.
10405: if (defundef == "undef") {
10406: print "/*", prefix defundef, macro, "*/"
10407: next
10408: }
10409: }
10410: }
10411: { print }
10412: _ACAWK
10413: _ACEOF
10414: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10415: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10416: fi # test -n "$CONFIG_HEADERS"
10417:
10418:
10419: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10420: shift
10421: for ac_tag
10422: do
10423: case $ac_tag in
10424: :[FHLC]) ac_mode=$ac_tag; continue;;
10425: esac
10426: case $ac_mode$ac_tag in
10427: :[FHL]*:*);;
10428: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10429: :[FH]-) ac_tag=-:-;;
10430: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10431: esac
10432: ac_save_IFS=$IFS
10433: IFS=:
10434: set x $ac_tag
10435: IFS=$ac_save_IFS
10436: shift
10437: ac_file=$1
10438: shift
10439:
10440: case $ac_mode in
10441: :L) ac_source=$1;;
10442: :[FH])
10443: ac_file_inputs=
10444: for ac_f
10445: do
10446: case $ac_f in
10447: -) ac_f="$tmp/stdin";;
10448: *) # Look for the file first in the build tree, then in the source tree
10449: # (if the path is not absolute). The absolute path cannot be DOS-style,
10450: # because $ac_f cannot contain `:'.
10451: test -f "$ac_f" ||
10452: case $ac_f in
10453: [\\/$]*) false;;
10454: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10455: esac ||
10456: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10457: esac
10458: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10459: as_fn_append ac_file_inputs " '$ac_f'"
10460: done
10461:
10462: # Let's still pretend it is `configure' which instantiates (i.e., don't
10463: # use $as_me), people would be surprised to read:
10464: # /* config.h. Generated by config.status. */
10465: configure_input='Generated from '`
10466: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10467: `' by configure.'
10468: if test x"$ac_file" != x-; then
10469: configure_input="$ac_file. $configure_input"
10470: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10471: $as_echo "$as_me: creating $ac_file" >&6;}
10472: fi
10473: # Neutralize special characters interpreted by sed in replacement strings.
10474: case $configure_input in #(
10475: *\&* | *\|* | *\\* )
10476: ac_sed_conf_input=`$as_echo "$configure_input" |
10477: sed 's/[\\\\&|]/\\\\&/g'`;; #(
10478: *) ac_sed_conf_input=$configure_input;;
10479: esac
10480:
10481: case $ac_tag in
10482: *:-:* | *:-) cat >"$tmp/stdin" \
10483: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10484: esac
10485: ;;
10486: esac
10487:
10488: ac_dir=`$as_dirname -- "$ac_file" ||
10489: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10490: X"$ac_file" : 'X\(//\)[^/]' \| \
10491: X"$ac_file" : 'X\(//\)$' \| \
10492: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10493: $as_echo X"$ac_file" |
10494: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10495: s//\1/
10496: q
10497: }
10498: /^X\(\/\/\)[^/].*/{
10499: s//\1/
10500: q
10501: }
10502: /^X\(\/\/\)$/{
10503: s//\1/
10504: q
10505: }
10506: /^X\(\/\).*/{
10507: s//\1/
10508: q
10509: }
10510: s/.*/./; q'`
10511: as_dir="$ac_dir"; as_fn_mkdir_p
10512: ac_builddir=.
10513:
10514: case "$ac_dir" in
10515: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10516: *)
10517: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10518: # A ".." for each directory in $ac_dir_suffix.
10519: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10520: case $ac_top_builddir_sub in
10521: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10522: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10523: esac ;;
10524: esac
10525: ac_abs_top_builddir=$ac_pwd
10526: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10527: # for backward compatibility:
10528: ac_top_builddir=$ac_top_build_prefix
10529:
10530: case $srcdir in
10531: .) # We are building in place.
10532: ac_srcdir=.
10533: ac_top_srcdir=$ac_top_builddir_sub
10534: ac_abs_top_srcdir=$ac_pwd ;;
10535: [\\/]* | ?:[\\/]* ) # Absolute name.
10536: ac_srcdir=$srcdir$ac_dir_suffix;
10537: ac_top_srcdir=$srcdir
10538: ac_abs_top_srcdir=$srcdir ;;
10539: *) # Relative name.
10540: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10541: ac_top_srcdir=$ac_top_build_prefix$srcdir
10542: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10543: esac
10544: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10545:
10546:
10547: case $ac_mode in
10548: :F)
10549: #
10550: # CONFIG_FILE
10551: #
10552:
10553: case $INSTALL in
10554: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10555: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10556: esac
10557: ac_MKDIR_P=$MKDIR_P
10558: case $MKDIR_P in
10559: [\\/$]* | ?:[\\/]* ) ;;
10560: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10561: esac
10562: _ACEOF
10563:
10564: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10565: # If the template does not know about datarootdir, expand it.
10566: # FIXME: This hack should be removed a few years after 2.60.
10567: ac_datarootdir_hack=; ac_datarootdir_seen=
10568: ac_sed_dataroot='
10569: /datarootdir/ {
10570: p
10571: q
10572: }
10573: /@datadir@/p
10574: /@docdir@/p
10575: /@infodir@/p
10576: /@localedir@/p
10577: /@mandir@/p'
10578: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10579: *datarootdir*) ac_datarootdir_seen=yes;;
10580: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10581: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10582: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10583: _ACEOF
10584: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10585: ac_datarootdir_hack='
10586: s&@datadir@&$datadir&g
10587: s&@docdir@&$docdir&g
10588: s&@infodir@&$infodir&g
10589: s&@localedir@&$localedir&g
10590: s&@mandir@&$mandir&g
10591: s&\\\${datarootdir}&$datarootdir&g' ;;
10592: esac
10593: _ACEOF
10594:
10595: # Neutralize VPATH when `$srcdir' = `.'.
10596: # Shell code in configure.ac might set extrasub.
10597: # FIXME: do we really want to maintain this feature?
10598: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10599: ac_sed_extra="$ac_vpsub
10600: $extrasub
10601: _ACEOF
10602: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10603: :t
10604: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10605: s|@configure_input@|$ac_sed_conf_input|;t t
10606: s&@top_builddir@&$ac_top_builddir_sub&;t t
10607: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10608: s&@srcdir@&$ac_srcdir&;t t
10609: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10610: s&@top_srcdir@&$ac_top_srcdir&;t t
10611: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10612: s&@builddir@&$ac_builddir&;t t
10613: s&@abs_builddir@&$ac_abs_builddir&;t t
10614: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10615: s&@INSTALL@&$ac_INSTALL&;t t
10616: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10617: $ac_datarootdir_hack
10618: "
10619: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10620: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10621:
10622: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10623: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10624: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10625: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10626: which seems to be undefined. Please make sure it is defined" >&5
10627: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10628: which seems to be undefined. Please make sure it is defined" >&2;}
10629:
10630: rm -f "$tmp/stdin"
10631: case $ac_file in
10632: -) cat "$tmp/out" && rm -f "$tmp/out";;
10633: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10634: esac \
10635: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10636: ;;
10637: :H)
10638: #
10639: # CONFIG_HEADER
10640: #
10641: if test x"$ac_file" != x-; then
10642: {
10643: $as_echo "/* $configure_input */" \
10644: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10645: } >"$tmp/config.h" \
10646: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10647: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10648: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10649: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10650: else
10651: rm -f "$ac_file"
10652: mv "$tmp/config.h" "$ac_file" \
10653: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10654: fi
10655: else
10656: $as_echo "/* $configure_input */" \
10657: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10658: || as_fn_error $? "could not create -" "$LINENO" 5
10659: fi
10660: # Compute "$ac_file"'s index in $config_headers.
10661: _am_arg="$ac_file"
10662: _am_stamp_count=1
10663: for _am_header in $config_headers :; do
10664: case $_am_header in
10665: $_am_arg | $_am_arg:* )
10666: break ;;
10667: * )
10668: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10669: esac
10670: done
10671: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10672: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10673: X"$_am_arg" : 'X\(//\)[^/]' \| \
10674: X"$_am_arg" : 'X\(//\)$' \| \
10675: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10676: $as_echo X"$_am_arg" |
10677: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10678: s//\1/
10679: q
10680: }
10681: /^X\(\/\/\)[^/].*/{
10682: s//\1/
10683: q
10684: }
10685: /^X\(\/\/\)$/{
10686: s//\1/
10687: q
10688: }
10689: /^X\(\/\).*/{
10690: s//\1/
10691: q
10692: }
10693: s/.*/./; q'`/stamp-h$_am_stamp_count
10694: ;;
10695:
10696: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10697: $as_echo "$as_me: executing $ac_file commands" >&6;}
10698: ;;
10699: esac
10700:
10701:
10702: case $ac_file$ac_mode in
10703: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10704: # Autoconf 2.62 quotes --file arguments for eval, but not when files
10705: # are listed without --file. Let's play safe and only enable the eval
10706: # if we detect the quoting.
10707: case $CONFIG_FILES in
10708: *\'*) eval set x "$CONFIG_FILES" ;;
10709: *) set x $CONFIG_FILES ;;
10710: esac
10711: shift
10712: for mf
10713: do
10714: # Strip MF so we end up with the name of the file.
10715: mf=`echo "$mf" | sed -e 's/:.*$//'`
10716: # Check whether this is an Automake generated Makefile or not.
10717: # We used to match only the files named `Makefile.in', but
10718: # some people rename them; so instead we look at the file content.
10719: # Grep'ing the first line is not enough: some people post-process
10720: # each Makefile.in and add a new line on top of each file to say so.
10721: # Grep'ing the whole file is not good either: AIX grep has a line
10722: # limit of 2048, but all sed's we know have understand at least 4000.
10723: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10724: dirpart=`$as_dirname -- "$mf" ||
10725: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10726: X"$mf" : 'X\(//\)[^/]' \| \
10727: X"$mf" : 'X\(//\)$' \| \
10728: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10729: $as_echo X"$mf" |
10730: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10731: s//\1/
10732: q
10733: }
10734: /^X\(\/\/\)[^/].*/{
10735: s//\1/
10736: q
10737: }
10738: /^X\(\/\/\)$/{
10739: s//\1/
10740: q
10741: }
10742: /^X\(\/\).*/{
10743: s//\1/
10744: q
10745: }
10746: s/.*/./; q'`
10747: else
10748: continue
10749: fi
10750: # Extract the definition of DEPDIR, am__include, and am__quote
10751: # from the Makefile without running `make'.
10752: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10753: test -z "$DEPDIR" && continue
10754: am__include=`sed -n 's/^am__include = //p' < "$mf"`
10755: test -z "am__include" && continue
10756: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10757: # When using ansi2knr, U may be empty or an underscore; expand it
10758: U=`sed -n 's/^U = //p' < "$mf"`
10759: # Find all dependency output files, they are included files with
10760: # $(DEPDIR) in their names. We invoke sed twice because it is the
10761: # simplest approach to changing $(DEPDIR) to its actual value in the
10762: # expansion.
10763: for file in `sed -n "
10764: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10765: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10766: # Make sure the directory exists.
10767: test -f "$dirpart/$file" && continue
10768: fdir=`$as_dirname -- "$file" ||
10769: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10770: X"$file" : 'X\(//\)[^/]' \| \
10771: X"$file" : 'X\(//\)$' \| \
10772: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10773: $as_echo X"$file" |
10774: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10775: s//\1/
10776: q
10777: }
10778: /^X\(\/\/\)[^/].*/{
10779: s//\1/
10780: q
10781: }
10782: /^X\(\/\/\)$/{
10783: s//\1/
10784: q
10785: }
10786: /^X\(\/\).*/{
10787: s//\1/
10788: q
10789: }
10790: s/.*/./; q'`
10791: as_dir=$dirpart/$fdir; as_fn_mkdir_p
10792: # echo "creating $dirpart/$file"
10793: echo '# dummy' > "$dirpart/$file"
10794: done
10795: done
10796: }
10797: ;;
10798:
10799: esac
10800: done # for ac_tag
10801:
10802:
10803: as_fn_exit 0
10804: _ACEOF
10805: ac_clean_files=$ac_clean_files_save
10806:
10807: test $ac_write_fail = 0 ||
10808: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10809:
10810:
10811: # configure is writing to config.log, and then calls config.status.
10812: # config.status does its own redirection, appending to config.log.
10813: # Unfortunately, on DOS this fails, as config.log is still kept open
10814: # by configure, so config.status won't be able to write to it; its
10815: # output is simply discarded. So we exec the FD to /dev/null,
10816: # effectively closing config.log, so it can be properly (re)opened and
10817: # appended to by config.status. When coming back to configure, we
10818: # need to make the FD available again.
10819: if test "$no_create" != yes; then
10820: ac_cs_success=:
10821: ac_config_status_args=
10822: test "$silent" = yes &&
10823: ac_config_status_args="$ac_config_status_args --quiet"
10824: exec 5>/dev/null
10825: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10826: exec 5>>config.log
10827: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10828: # would make configure fail if this is the last instruction.
10829: $ac_cs_success || as_fn_exit 1
10830: fi
10831:
10832: #
10833: # CONFIG_SUBDIRS section.
10834: #
10835: if test "$no_recursion" != yes; then
10836:
10837: # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10838: # so they do not pile up.
10839: ac_sub_configure_args=
10840: ac_prev=
10841: eval "set x $ac_configure_args"
10842: shift
10843: for ac_arg
10844: do
10845: if test -n "$ac_prev"; then
10846: ac_prev=
10847: continue
10848: fi
10849: case $ac_arg in
10850: -cache-file | --cache-file | --cache-fil | --cache-fi \
10851: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10852: ac_prev=cache_file ;;
10853: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10854: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10855: | --c=*)
10856: ;;
10857: --config-cache | -C)
10858: ;;
10859: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10860: ac_prev=srcdir ;;
10861: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10862: ;;
10863: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10864: ac_prev=prefix ;;
10865: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10866: ;;
10867: --disable-option-checking)
10868: ;;
10869: *)
10870: case $ac_arg in
10871: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10872: esac
10873: as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10874: esac
10875: done
10876:
10877: # Always prepend --prefix to ensure using the same prefix
10878: # in subdir configurations.
10879: ac_arg="--prefix=$prefix"
10880: case $ac_arg in
10881: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10882: esac
10883: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10884:
10885: # Pass --silent
10886: if test "$silent" = yes; then
10887: ac_sub_configure_args="--silent $ac_sub_configure_args"
10888: fi
10889:
10890: # Always prepend --disable-option-checking to silence warnings, since
10891: # different subdirs can have different --enable and --with options.
10892: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10893:
10894: ac_popdir=`pwd`
10895: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10896:
10897: # Do not complain, so a configure script can configure whichever
10898: # parts of a large source tree are present.
10899: test -d "$srcdir/$ac_dir" || continue
10900:
10901: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10902: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10903: $as_echo "$ac_msg" >&6
10904: as_dir="$ac_dir"; as_fn_mkdir_p
10905: ac_builddir=.
10906:
10907: case "$ac_dir" in
10908: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10909: *)
10910: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10911: # A ".." for each directory in $ac_dir_suffix.
10912: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10913: case $ac_top_builddir_sub in
10914: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10915: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10916: esac ;;
10917: esac
10918: ac_abs_top_builddir=$ac_pwd
10919: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10920: # for backward compatibility:
10921: ac_top_builddir=$ac_top_build_prefix
10922:
10923: case $srcdir in
10924: .) # We are building in place.
10925: ac_srcdir=.
10926: ac_top_srcdir=$ac_top_builddir_sub
10927: ac_abs_top_srcdir=$ac_pwd ;;
10928: [\\/]* | ?:[\\/]* ) # Absolute name.
10929: ac_srcdir=$srcdir$ac_dir_suffix;
10930: ac_top_srcdir=$srcdir
10931: ac_abs_top_srcdir=$srcdir ;;
10932: *) # Relative name.
10933: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10934: ac_top_srcdir=$ac_top_build_prefix$srcdir
10935: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10936: esac
10937: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10938:
10939:
10940: cd "$ac_dir"
10941:
10942: # Check for guested configure; otherwise get Cygnus style configure.
10943: if test -f "$ac_srcdir/configure.gnu"; then
10944: ac_sub_configure=$ac_srcdir/configure.gnu
10945: elif test -f "$ac_srcdir/configure"; then
10946: ac_sub_configure=$ac_srcdir/configure
10947: elif test -f "$ac_srcdir/configure.in"; then
10948: # This should be Cygnus configure.
10949: ac_sub_configure=$ac_aux_dir/configure
10950: else
10951: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10952: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10953: ac_sub_configure=
10954: fi
10955:
10956: # The recursion is here.
10957: if test -n "$ac_sub_configure"; then
10958: # Make the cache file name correct relative to the subdirectory.
10959: case $cache_file in
10960: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10961: *) # Relative name.
10962: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10963: esac
10964:
10965: { $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
10966: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10967: # The eval makes quoting arguments work.
10968: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10969: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10970: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10971: fi
10972:
10973: cd "$ac_popdir"
10974: done
10975: fi
10976: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10977: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10978: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10979: fi
10980:
CVSweb interface <joel.bertrand@systella.fr>