1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 1.0. |
3 |
> |
# Generated by Autoconf 2.50 for OOPSE 1.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
7 |
> |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8 |
|
# Free Software Foundation, Inc. |
9 |
|
# This configure script is free software; the Free Software Foundation |
10 |
|
# gives unlimited permission to copy, distribute and modify it. |
11 |
– |
## --------------------- ## |
12 |
– |
## M4sh Initialization. ## |
13 |
– |
## --------------------- ## |
11 |
|
|
12 |
|
# Be Bourne compatible |
13 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14 |
|
emulate sh |
15 |
|
NULLCMD=: |
19 |
– |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
– |
# is contrary to our usage. Disable this feature. |
21 |
– |
alias -g '${1+"$@"}'='"$@"' |
16 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
17 |
|
set -o posix |
18 |
|
fi |
19 |
|
|
26 |
– |
# Support unset when possible. |
27 |
– |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
28 |
– |
as_unset=unset |
29 |
– |
else |
30 |
– |
as_unset=false |
31 |
– |
fi |
32 |
– |
|
33 |
– |
|
34 |
– |
# Work around bugs in pre-3.0 UWIN ksh. |
35 |
– |
$as_unset ENV MAIL MAILPATH |
36 |
– |
PS1='$ ' |
37 |
– |
PS2='> ' |
38 |
– |
PS4='+ ' |
39 |
– |
|
40 |
– |
# NLS nuisances. |
41 |
– |
for as_var in \ |
42 |
– |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
43 |
– |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
– |
LC_TELEPHONE LC_TIME |
45 |
– |
do |
46 |
– |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
– |
eval $as_var=C; export $as_var |
48 |
– |
else |
49 |
– |
$as_unset $as_var |
50 |
– |
fi |
51 |
– |
done |
52 |
– |
|
53 |
– |
# Required to use basename. |
54 |
– |
if expr a : '\(a\)' >/dev/null 2>&1; then |
55 |
– |
as_expr=expr |
56 |
– |
else |
57 |
– |
as_expr=false |
58 |
– |
fi |
59 |
– |
|
60 |
– |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
61 |
– |
as_basename=basename |
62 |
– |
else |
63 |
– |
as_basename=false |
64 |
– |
fi |
65 |
– |
|
66 |
– |
|
20 |
|
# Name of the executable. |
21 |
< |
as_me=`$as_basename "$0" || |
69 |
< |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 |
< |
X"$0" : 'X\(//\)$' \| \ |
71 |
< |
X"$0" : 'X\(/\)$' \| \ |
72 |
< |
. : '\(.\)' 2>/dev/null || |
73 |
< |
echo X/"$0" | |
74 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
75 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
76 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
77 |
< |
s/.*/./; q'` |
78 |
< |
|
79 |
< |
|
80 |
< |
# PATH needs CR, and LINENO needs CR and PATH. |
81 |
< |
# Avoid depending upon Character Ranges. |
82 |
< |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 |
< |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 |
< |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 |
< |
as_cr_digits='0123456789' |
86 |
< |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
87 |
< |
|
88 |
< |
# The user is always right. |
89 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
90 |
< |
echo "#! /bin/sh" >conf$$.sh |
91 |
< |
echo "exit 0" >>conf$$.sh |
92 |
< |
chmod +x conf$$.sh |
93 |
< |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
94 |
< |
PATH_SEPARATOR=';' |
95 |
< |
else |
96 |
< |
PATH_SEPARATOR=: |
97 |
< |
fi |
98 |
< |
rm -f conf$$.sh |
99 |
< |
fi |
100 |
< |
|
101 |
< |
|
102 |
< |
as_lineno_1=$LINENO |
103 |
< |
as_lineno_2=$LINENO |
104 |
< |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
105 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
106 |
< |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
107 |
< |
# Find who we are. Look in the path if we contain no path at all |
108 |
< |
# relative or not. |
109 |
< |
case $0 in |
110 |
< |
*[\\/]* ) as_myself=$0 ;; |
111 |
< |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 |
< |
for as_dir in $PATH |
113 |
< |
do |
114 |
< |
IFS=$as_save_IFS |
115 |
< |
test -z "$as_dir" && as_dir=. |
116 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 |
< |
done |
118 |
< |
|
119 |
< |
;; |
120 |
< |
esac |
121 |
< |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
122 |
< |
# in which case we are not to be found in the path. |
123 |
< |
if test "x$as_myself" = x; then |
124 |
< |
as_myself=$0 |
125 |
< |
fi |
126 |
< |
if test ! -f "$as_myself"; then |
127 |
< |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
128 |
< |
{ (exit 1); exit 1; }; } |
129 |
< |
fi |
130 |
< |
case $CONFIG_SHELL in |
131 |
< |
'') |
132 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 |
< |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 |
< |
do |
135 |
< |
IFS=$as_save_IFS |
136 |
< |
test -z "$as_dir" && as_dir=. |
137 |
< |
for as_base in sh bash ksh sh5; do |
138 |
< |
case $as_dir in |
139 |
< |
/*) |
140 |
< |
if ("$as_dir/$as_base" -c ' |
141 |
< |
as_lineno_1=$LINENO |
142 |
< |
as_lineno_2=$LINENO |
143 |
< |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
144 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
145 |
< |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
146 |
< |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
147 |
< |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
148 |
< |
CONFIG_SHELL=$as_dir/$as_base |
149 |
< |
export CONFIG_SHELL |
150 |
< |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
151 |
< |
fi;; |
152 |
< |
esac |
153 |
< |
done |
154 |
< |
done |
155 |
< |
;; |
156 |
< |
esac |
21 |
> |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
22 |
|
|
158 |
– |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 |
– |
# uniformly replaced by the line number. The first 'sed' inserts a |
160 |
– |
# line-number line before each line; the second 'sed' does the real |
161 |
– |
# work. The second script uses 'N' to pair each line-number line |
162 |
– |
# with the numbered line, and appends trailing '-' during |
163 |
– |
# substitution so that $LINENO is not a special case at line end. |
164 |
– |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 |
– |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
166 |
– |
sed '=' <$as_myself | |
167 |
– |
sed ' |
168 |
– |
N |
169 |
– |
s,$,-, |
170 |
– |
: loop |
171 |
– |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
172 |
– |
t loop |
173 |
– |
s,-$,, |
174 |
– |
s,^['$as_cr_digits']*\n,, |
175 |
– |
' >$as_me.lineno && |
176 |
– |
chmod +x $as_me.lineno || |
177 |
– |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 |
– |
{ (exit 1); exit 1; }; } |
179 |
– |
|
180 |
– |
# Don't try to exec as it changes $[0], causing all sort of problems |
181 |
– |
# (the dirname of $[0] is not the place where we might find the |
182 |
– |
# original and so on. Autoconf is especially sensible to this). |
183 |
– |
. ./$as_me.lineno |
184 |
– |
# Exit status is that of the last command. |
185 |
– |
exit |
186 |
– |
} |
187 |
– |
|
188 |
– |
|
189 |
– |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
190 |
– |
*c*,-n*) ECHO_N= ECHO_C=' |
191 |
– |
' ECHO_T=' ' ;; |
192 |
– |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
193 |
– |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
194 |
– |
esac |
195 |
– |
|
23 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
24 |
|
as_expr=expr |
25 |
|
else |
44 |
|
fi |
45 |
|
rm -f conf$$ conf$$.exe conf$$.file |
46 |
|
|
47 |
< |
if mkdir -p . 2>/dev/null; then |
48 |
< |
as_mkdir_p=: |
47 |
> |
as_executable_p="test -f" |
48 |
> |
|
49 |
> |
# Support unset when possible. |
50 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
51 |
> |
as_unset=unset |
52 |
|
else |
53 |
< |
as_mkdir_p=false |
53 |
> |
as_unset=false |
54 |
|
fi |
55 |
|
|
56 |
< |
as_executable_p="test -f" |
56 |
> |
# NLS nuisances. |
57 |
> |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
58 |
> |
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
59 |
> |
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
60 |
> |
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
61 |
> |
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
62 |
> |
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
63 |
> |
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
64 |
> |
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
65 |
|
|
228 |
– |
# Sed expression to map a string onto a valid CPP name. |
229 |
– |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
– |
|
231 |
– |
# Sed expression to map a string onto a valid variable name. |
232 |
– |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
– |
|
234 |
– |
|
66 |
|
# IFS |
67 |
|
# We need space, tab and new line, in precisely that order. |
68 |
|
as_nl=' |
70 |
|
IFS=" $as_nl" |
71 |
|
|
72 |
|
# CDPATH. |
73 |
< |
$as_unset CDPATH |
73 |
> |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
74 |
|
|
244 |
– |
|
75 |
|
# Name of the host. |
76 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
77 |
|
# so uname gets run too. |
83 |
|
# Initializations. |
84 |
|
# |
85 |
|
ac_default_prefix=/usr/local |
256 |
– |
ac_config_libobj_dir=. |
86 |
|
cross_compiling=no |
87 |
|
subdirs= |
88 |
< |
MFLAGS= |
260 |
< |
MAKEFLAGS= |
88 |
> |
MFLAGS= MAKEFLAGS= |
89 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
90 |
|
|
91 |
|
# Maximum number of lines to put in a shell here document. |
93 |
|
# only ac_max_sed_lines should be used. |
94 |
|
: ${ac_max_here_lines=38} |
95 |
|
|
96 |
< |
# Identity of this package. |
97 |
< |
PACKAGE_NAME='OOPSE' |
98 |
< |
PACKAGE_TARNAME='oopse' |
99 |
< |
PACKAGE_VERSION='1.0' |
100 |
< |
PACKAGE_STRING='OOPSE 1.0' |
273 |
< |
PACKAGE_BUGREPORT='gezelter@nd.edu' |
96 |
> |
# Avoid depending upon Character Ranges. |
97 |
> |
ac_cr_az='abcdefghijklmnopqrstuvwxyz' |
98 |
> |
ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
99 |
> |
ac_cr_09='0123456789' |
100 |
> |
ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 |
101 |
|
|
102 |
+ |
# Sed expression to map a string onto a valid sh and CPP variable names. |
103 |
+ |
ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" |
104 |
+ |
ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" |
105 |
+ |
|
106 |
|
ac_unique_file="src/oopse.cpp" |
107 |
|
ac_default_prefix="/usr/local" |
277 |
– |
# Factoring default headers for most tests. |
278 |
– |
ac_includes_default="\ |
279 |
– |
#include <stdio.h> |
280 |
– |
#if HAVE_SYS_TYPES_H |
281 |
– |
# include <sys/types.h> |
282 |
– |
#endif |
283 |
– |
#if HAVE_SYS_STAT_H |
284 |
– |
# include <sys/stat.h> |
285 |
– |
#endif |
286 |
– |
#if STDC_HEADERS |
287 |
– |
# include <stdlib.h> |
288 |
– |
# include <stddef.h> |
289 |
– |
#else |
290 |
– |
# if HAVE_STDLIB_H |
291 |
– |
# include <stdlib.h> |
292 |
– |
# endif |
293 |
– |
#endif |
294 |
– |
#if HAVE_STRING_H |
295 |
– |
# if !STDC_HEADERS && HAVE_MEMORY_H |
296 |
– |
# include <memory.h> |
297 |
– |
# endif |
298 |
– |
# include <string.h> |
299 |
– |
#endif |
300 |
– |
#if HAVE_STRINGS_H |
301 |
– |
# include <strings.h> |
302 |
– |
#endif |
303 |
– |
#if HAVE_INTTYPES_H |
304 |
– |
# include <inttypes.h> |
305 |
– |
#else |
306 |
– |
# if HAVE_STDINT_H |
307 |
– |
# include <stdint.h> |
308 |
– |
# endif |
309 |
– |
#endif |
310 |
– |
#if HAVE_UNISTD_H |
311 |
– |
# include <unistd.h> |
312 |
– |
#endif" |
108 |
|
|
314 |
– |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS' |
315 |
– |
ac_subst_files='' |
316 |
– |
|
109 |
|
# Initialize some variables set by options. |
110 |
|
ac_init_help= |
111 |
|
ac_init_version=false |
144 |
|
infodir='${prefix}/info' |
145 |
|
mandir='${prefix}/man' |
146 |
|
|
147 |
+ |
# Identity of this package. |
148 |
+ |
PACKAGE_NAME='OOPSE' |
149 |
+ |
PACKAGE_TARNAME='oopse' |
150 |
+ |
PACKAGE_VERSION='1.0' |
151 |
+ |
PACKAGE_STRING='OOPSE 1.0' |
152 |
+ |
PACKAGE_BUGREPORT='gezelter@nd.edu' |
153 |
+ |
|
154 |
|
ac_prev= |
155 |
|
for ac_option |
156 |
|
do |
196 |
|
-disable-* | --disable-*) |
197 |
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
198 |
|
# Reject names that are not valid shell variable names. |
199 |
< |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
199 |
> |
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
200 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
201 |
|
{ (exit 1); exit 1; }; } |
202 |
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
205 |
|
-enable-* | --enable-*) |
206 |
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
207 |
|
# Reject names that are not valid shell variable names. |
208 |
< |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
208 |
> |
expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
209 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
210 |
|
{ (exit 1); exit 1; }; } |
211 |
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
283 |
|
with_fp=no ;; |
284 |
|
|
285 |
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
286 |
< |
| --no-cr | --no-c | -n) |
286 |
> |
| --no-cr | --no-c) |
287 |
|
no_create=yes ;; |
288 |
|
|
289 |
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
387 |
|
-with-* | --with-*) |
388 |
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
389 |
|
# Reject names that are not valid shell variable names. |
390 |
< |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
390 |
> |
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
391 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
392 |
|
{ (exit 1); exit 1; }; } |
393 |
|
ac_package=`echo $ac_package| sed 's/-/_/g'` |
400 |
|
-without-* | --without-*) |
401 |
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
402 |
|
# Reject names that are not valid shell variable names. |
403 |
< |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
403 |
> |
expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && |
404 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
405 |
|
{ (exit 1); exit 1; }; } |
406 |
|
ac_package=`echo $ac_package | sed 's/-/_/g'` |
432 |
|
*=*) |
433 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
434 |
|
# Reject names that are not valid shell variable names. |
435 |
< |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
435 |
> |
expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && |
436 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
437 |
|
{ (exit 1); exit 1; }; } |
438 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
442 |
|
*) |
443 |
|
# FIXME: should be removed in autoconf 3.0. |
444 |
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
445 |
< |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
445 |
> |
expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && |
446 |
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
447 |
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
448 |
|
;; |
457 |
|
fi |
458 |
|
|
459 |
|
# Be sure to have absolute paths. |
661 |
– |
for ac_var in exec_prefix prefix |
662 |
– |
do |
663 |
– |
eval ac_val=$`echo $ac_var` |
664 |
– |
case $ac_val in |
665 |
– |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
666 |
– |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
667 |
– |
{ (exit 1); exit 1; }; };; |
668 |
– |
esac |
669 |
– |
done |
670 |
– |
|
671 |
– |
# Be sure to have absolute paths. |
460 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
461 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
461 |
> |
localstatedir libdir includedir oldincludedir infodir mandir \ |
462 |
> |
exec_prefix prefix |
463 |
|
do |
464 |
|
eval ac_val=$`echo $ac_var` |
465 |
|
case $ac_val in |
466 |
|
[\\/$]* | ?:[\\/]* ) ;; |
467 |
< |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
467 |
> |
NONE ) ;; |
468 |
> |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
469 |
|
{ (exit 1); exit 1; }; };; |
470 |
|
esac |
471 |
|
done |
472 |
|
|
473 |
|
# There might be people who depend on the old broken behavior: `$host' |
474 |
|
# used to hold the argument of --host etc. |
685 |
– |
# FIXME: To remove some day. |
475 |
|
build=$build_alias |
476 |
|
host=$host_alias |
477 |
|
target=$target_alias |
478 |
|
|
479 |
< |
# FIXME: To remove some day. |
479 |
> |
# FIXME: should be removed in autoconf 3.0. |
480 |
|
if test "x$host_alias" != x; then |
481 |
|
if test "x$build_alias" = x; then |
482 |
|
cross_compiling=maybe |
492 |
|
|
493 |
|
test "$silent" = yes && exec 6>/dev/null |
494 |
|
|
706 |
– |
|
495 |
|
# Find the source files, if location was not specified. |
496 |
|
if test -z "$srcdir"; then |
497 |
|
ac_srcdir_defaulted=yes |
498 |
|
# Try the directory containing this script, then its parent. |
499 |
< |
ac_confdir=`(dirname "$0") 2>/dev/null || |
500 |
< |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
501 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
714 |
< |
X"$0" : 'X\(//\)$' \| \ |
715 |
< |
X"$0" : 'X\(/\)' \| \ |
716 |
< |
. : '\(.\)' 2>/dev/null || |
717 |
< |
echo X"$0" | |
718 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
719 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
720 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
721 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
722 |
< |
s/.*/./; q'` |
499 |
> |
ac_prog=$0 |
500 |
> |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
501 |
> |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
502 |
|
srcdir=$ac_confdir |
503 |
|
if test ! -r $srcdir/$ac_unique_file; then |
504 |
|
srcdir=.. |
508 |
|
fi |
509 |
|
if test ! -r $srcdir/$ac_unique_file; then |
510 |
|
if test "$ac_srcdir_defaulted" = yes; then |
511 |
< |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
511 |
> |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
512 |
|
{ (exit 1); exit 1; }; } |
513 |
|
else |
514 |
< |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
514 |
> |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2 |
515 |
|
{ (exit 1); exit 1; }; } |
516 |
|
fi |
517 |
|
fi |
739 |
– |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
740 |
– |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
741 |
– |
{ (exit 1); exit 1; }; } |
518 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
519 |
|
ac_env_build_alias_set=${build_alias+set} |
520 |
|
ac_env_build_alias_value=$build_alias |
575 |
|
if test "$ac_init_help" = "long"; then |
576 |
|
# Omit some internal or obsolete options to make the list less imposing. |
577 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
578 |
< |
cat <<_ACEOF |
578 |
> |
cat <<EOF |
579 |
|
\`configure' configures OOPSE 1.0 to adapt to many kinds of systems. |
580 |
|
|
581 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
596 |
|
-n, --no-create do not create output files |
597 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
598 |
|
|
599 |
< |
_ACEOF |
599 |
> |
EOF |
600 |
|
|
601 |
< |
cat <<_ACEOF |
601 |
> |
cat <<EOF |
602 |
|
Installation directories: |
603 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
604 |
|
[$ac_default_prefix] |
625 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
626 |
|
--infodir=DIR info documentation [PREFIX/info] |
627 |
|
--mandir=DIR man documentation [PREFIX/man] |
628 |
< |
_ACEOF |
628 |
> |
EOF |
629 |
|
|
630 |
< |
cat <<\_ACEOF |
630 |
> |
cat <<\EOF |
631 |
|
|
632 |
|
System types: |
633 |
|
--build=BUILD configure for building on BUILD [guessed] |
634 |
< |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
635 |
< |
_ACEOF |
634 |
> |
--host=HOST build programs to run on HOST [BUILD] |
635 |
> |
EOF |
636 |
|
fi |
637 |
|
|
638 |
|
if test -n "$ac_init_help"; then |
639 |
|
case $ac_init_help in |
640 |
|
short | recursive ) echo "Configuration of OOPSE 1.0:";; |
641 |
|
esac |
642 |
< |
cat <<\_ACEOF |
642 |
> |
cat <<\EOF |
643 |
|
|
644 |
|
Optional Features: |
645 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
680 |
|
it to find libraries and programs with nonstandard names/locations. |
681 |
|
|
682 |
|
Report bugs to <gezelter@nd.edu>. |
683 |
< |
_ACEOF |
683 |
> |
EOF |
684 |
|
fi |
685 |
|
|
686 |
|
if test "$ac_init_help" = "recursive"; then |
687 |
|
# If there are subdirs, report their specific --help. |
688 |
|
ac_popdir=`pwd` |
689 |
< |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
690 |
< |
test -d $ac_dir || continue |
691 |
< |
ac_builddir=. |
689 |
> |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
690 |
> |
cd $ac_subdir |
691 |
> |
# A "../" for each directory in /$ac_subdir. |
692 |
> |
ac_dots=`echo $ac_subdir | |
693 |
> |
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
694 |
|
|
695 |
< |
if test "$ac_dir" != .; then |
696 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
697 |
< |
# A "../" for each directory in $ac_dir_suffix. |
698 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
699 |
< |
else |
700 |
< |
ac_dir_suffix= ac_top_builddir= |
701 |
< |
fi |
695 |
> |
case $srcdir in |
696 |
> |
.) # No --srcdir option. We are building in place. |
697 |
> |
ac_sub_srcdir=$srcdir ;; |
698 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
699 |
> |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
700 |
> |
*) # Relative path. |
701 |
> |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
702 |
> |
esac |
703 |
|
|
925 |
– |
case $srcdir in |
926 |
– |
.) # No --srcdir option. We are building in place. |
927 |
– |
ac_srcdir=. |
928 |
– |
if test -z "$ac_top_builddir"; then |
929 |
– |
ac_top_srcdir=. |
930 |
– |
else |
931 |
– |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
932 |
– |
fi ;; |
933 |
– |
[\\/]* | ?:[\\/]* ) # Absolute path. |
934 |
– |
ac_srcdir=$srcdir$ac_dir_suffix; |
935 |
– |
ac_top_srcdir=$srcdir ;; |
936 |
– |
*) # Relative path. |
937 |
– |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
938 |
– |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
939 |
– |
esac |
940 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
941 |
– |
# absolute. |
942 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
943 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
944 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
945 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
946 |
– |
|
947 |
– |
cd $ac_dir |
704 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
705 |
< |
if test -f $ac_srcdir/configure.gnu; then |
705 |
> |
if test -f $ac_sub_srcdir/configure.gnu; then |
706 |
|
echo |
707 |
< |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
708 |
< |
elif test -f $ac_srcdir/configure; then |
707 |
> |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
708 |
> |
elif test -f $ac_sub_srcdir/configure; then |
709 |
|
echo |
710 |
< |
$SHELL $ac_srcdir/configure --help=recursive |
711 |
< |
elif test -f $ac_srcdir/configure.ac || |
712 |
< |
test -f $ac_srcdir/configure.in; then |
710 |
> |
$SHELL $ac_sub_srcdir/configure --help=recursive |
711 |
> |
elif test -f $ac_sub_srcdir/configure.ac || |
712 |
> |
test -f $ac_sub_srcdir/configure.in; then |
713 |
|
echo |
714 |
|
$ac_configure --help |
715 |
|
else |
716 |
< |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
716 |
> |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
717 |
|
fi |
718 |
|
cd $ac_popdir |
719 |
|
done |
721 |
|
|
722 |
|
test -n "$ac_init_help" && exit 0 |
723 |
|
if $ac_init_version; then |
724 |
< |
cat <<\_ACEOF |
724 |
> |
cat <<\EOF |
725 |
|
OOPSE configure 1.0 |
726 |
< |
generated by GNU Autoconf 2.57 |
726 |
> |
generated by GNU Autoconf 2.50 |
727 |
|
|
728 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
728 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
729 |
|
Free Software Foundation, Inc. |
730 |
|
This configure script is free software; the Free Software Foundation |
731 |
|
gives unlimited permission to copy, distribute and modify it. |
732 |
< |
_ACEOF |
732 |
> |
EOF |
733 |
|
exit 0 |
734 |
|
fi |
735 |
|
exec 5>config.log |
736 |
< |
cat >&5 <<_ACEOF |
736 |
> |
cat >&5 <<EOF |
737 |
|
This file contains any messages produced by compilers while |
738 |
|
running configure, to aid debugging if configure makes a mistake. |
739 |
|
|
740 |
|
It was created by OOPSE $as_me 1.0, which was |
741 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
741 |
> |
generated by GNU Autoconf 2.50. Invocation command line was |
742 |
|
|
743 |
|
$ $0 $@ |
744 |
|
|
745 |
< |
_ACEOF |
745 |
> |
EOF |
746 |
|
{ |
747 |
|
cat <<_ASUNAME |
748 |
< |
## --------- ## |
749 |
< |
## Platform. ## |
750 |
< |
## --------- ## |
748 |
> |
## ---------- ## |
749 |
> |
## Platform. ## |
750 |
> |
## ---------- ## |
751 |
|
|
752 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
753 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
766 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
767 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
768 |
|
|
769 |
< |
_ASUNAME |
769 |
> |
PATH = $PATH |
770 |
|
|
771 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1016 |
< |
for as_dir in $PATH |
1017 |
< |
do |
1018 |
< |
IFS=$as_save_IFS |
1019 |
< |
test -z "$as_dir" && as_dir=. |
1020 |
< |
echo "PATH: $as_dir" |
1021 |
< |
done |
1022 |
< |
|
771 |
> |
_ASUNAME |
772 |
|
} >&5 |
773 |
|
|
774 |
< |
cat >&5 <<_ACEOF |
774 |
> |
cat >&5 <<EOF |
775 |
> |
## ------------ ## |
776 |
> |
## Core tests. ## |
777 |
> |
## ------------ ## |
778 |
|
|
779 |
+ |
EOF |
780 |
|
|
1028 |
– |
## ----------- ## |
1029 |
– |
## Core tests. ## |
1030 |
– |
## ----------- ## |
1031 |
– |
|
1032 |
– |
_ACEOF |
1033 |
– |
|
1034 |
– |
|
781 |
|
# Keep a trace of the command line. |
782 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1037 |
– |
# Strip out --silent because we don't want to record it for future runs. |
783 |
|
# Also quote any args containing shell meta-characters. |
1039 |
– |
# Make two passes to allow for proper duplicate-argument suppression. |
784 |
|
ac_configure_args= |
1041 |
– |
ac_configure_args0= |
1042 |
– |
ac_configure_args1= |
785 |
|
ac_sep= |
786 |
< |
ac_must_keep_next=false |
1045 |
< |
for ac_pass in 1 2 |
786 |
> |
for ac_arg |
787 |
|
do |
788 |
< |
for ac_arg |
789 |
< |
do |
790 |
< |
case $ac_arg in |
791 |
< |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
792 |
< |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
793 |
< |
| -silent | --silent | --silen | --sile | --sil) |
794 |
< |
continue ;; |
795 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
796 |
< |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
797 |
< |
esac |
798 |
< |
case $ac_pass in |
799 |
< |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
800 |
< |
2) |
1060 |
< |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1061 |
< |
if test $ac_must_keep_next = true; then |
1062 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1063 |
< |
else |
1064 |
< |
case $ac_arg in |
1065 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1066 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1067 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1068 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1069 |
< |
case "$ac_configure_args0 " in |
1070 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1071 |
< |
esac |
1072 |
< |
;; |
1073 |
< |
-* ) ac_must_keep_next=true ;; |
1074 |
< |
esac |
1075 |
< |
fi |
1076 |
< |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1077 |
< |
# Get rid of the leading space. |
1078 |
< |
ac_sep=" " |
1079 |
< |
;; |
1080 |
< |
esac |
1081 |
< |
done |
788 |
> |
case $ac_arg in |
789 |
> |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
790 |
> |
| --no-cr | --no-c) ;; |
791 |
> |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
792 |
> |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
793 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
794 |
> |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
795 |
> |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
796 |
> |
ac_sep=" " ;; |
797 |
> |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
798 |
> |
ac_sep=" " ;; |
799 |
> |
esac |
800 |
> |
# Get rid of the leading space. |
801 |
|
done |
1083 |
– |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1084 |
– |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
802 |
|
|
803 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
804 |
|
# config.log. We remove comments because anyway the quotes in there |
805 |
|
# would cause problems or look ugly. |
1089 |
– |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1090 |
– |
# such as our DU 5.0 friend, will then `close' the trap. |
806 |
|
trap 'exit_status=$? |
807 |
|
# Save into config.log some information that might help in debugging. |
808 |
< |
{ |
809 |
< |
echo |
810 |
< |
|
811 |
< |
cat <<\_ASBOX |
812 |
< |
## ---------------- ## |
813 |
< |
## Cache variables. ## |
1099 |
< |
## ---------------- ## |
1100 |
< |
_ASBOX |
1101 |
< |
echo |
1102 |
< |
# The following way of writing the cache mishandles newlines in values, |
808 |
> |
echo >&5 |
809 |
> |
echo "## ----------------- ##" >&5 |
810 |
> |
echo "## Cache variables. ##" >&5 |
811 |
> |
echo "## ----------------- ##" >&5 |
812 |
> |
echo >&5 |
813 |
> |
# The following way of writing the cache mishandles newlines in values, |
814 |
|
{ |
815 |
|
(set) 2>&1 | |
816 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
817 |
|
*ac_space=\ *) |
818 |
|
sed -n \ |
819 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
820 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
820 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
821 |
|
;; |
822 |
|
*) |
823 |
|
sed -n \ |
824 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
824 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
825 |
|
;; |
826 |
|
esac; |
827 |
< |
} |
828 |
< |
echo |
829 |
< |
|
830 |
< |
cat <<\_ASBOX |
831 |
< |
## ----------------- ## |
832 |
< |
## Output variables. ## |
833 |
< |
## ----------------- ## |
834 |
< |
_ASBOX |
835 |
< |
echo |
836 |
< |
for ac_var in $ac_subst_vars |
837 |
< |
do |
838 |
< |
eval ac_val=$`echo $ac_var` |
839 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
840 |
< |
done | sort |
841 |
< |
echo |
1131 |
< |
|
1132 |
< |
if test -n "$ac_subst_files"; then |
1133 |
< |
cat <<\_ASBOX |
1134 |
< |
## ------------- ## |
1135 |
< |
## Output files. ## |
1136 |
< |
## ------------- ## |
1137 |
< |
_ASBOX |
1138 |
< |
echo |
1139 |
< |
for ac_var in $ac_subst_files |
1140 |
< |
do |
1141 |
< |
eval ac_val=$`echo $ac_var` |
1142 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1143 |
< |
done | sort |
1144 |
< |
echo |
1145 |
< |
fi |
1146 |
< |
|
1147 |
< |
if test -s confdefs.h; then |
1148 |
< |
cat <<\_ASBOX |
1149 |
< |
## ----------- ## |
1150 |
< |
## confdefs.h. ## |
1151 |
< |
## ----------- ## |
1152 |
< |
_ASBOX |
1153 |
< |
echo |
1154 |
< |
sed "/^$/d" confdefs.h | sort |
1155 |
< |
echo |
1156 |
< |
fi |
1157 |
< |
test "$ac_signal" != 0 && |
1158 |
< |
echo "$as_me: caught signal $ac_signal" |
1159 |
< |
echo "$as_me: exit $exit_status" |
1160 |
< |
} >&5 |
1161 |
< |
rm -f core core.* *.core && |
1162 |
< |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
827 |
> |
} >&5 |
828 |
> |
sed "/^$/d" confdefs.h >conftest.log |
829 |
> |
if test -s conftest.log; then |
830 |
> |
echo >&5 |
831 |
> |
echo "## ------------ ##" >&5 |
832 |
> |
echo "## confdefs.h. ##" >&5 |
833 |
> |
echo "## ------------ ##" >&5 |
834 |
> |
echo >&5 |
835 |
> |
cat conftest.log >&5 |
836 |
> |
fi |
837 |
> |
(echo; echo) >&5 |
838 |
> |
test "$ac_signal" != 0 && |
839 |
> |
echo "$as_me: caught signal $ac_signal" >&5 |
840 |
> |
echo "$as_me: exit $exit_status" >&5 |
841 |
> |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
842 |
|
exit $exit_status |
843 |
|
' 0 |
844 |
|
for ac_signal in 1 2 13 15; do |
845 |
< |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
845 |
> |
trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal |
846 |
|
done |
847 |
|
ac_signal=0 |
848 |
|
|
851 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
852 |
|
echo >confdefs.h |
853 |
|
|
1175 |
– |
# Predefined preprocessor variables. |
1176 |
– |
|
1177 |
– |
cat >>confdefs.h <<_ACEOF |
1178 |
– |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1179 |
– |
_ACEOF |
1180 |
– |
|
1181 |
– |
|
1182 |
– |
cat >>confdefs.h <<_ACEOF |
1183 |
– |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1184 |
– |
_ACEOF |
1185 |
– |
|
1186 |
– |
|
1187 |
– |
cat >>confdefs.h <<_ACEOF |
1188 |
– |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1189 |
– |
_ACEOF |
1190 |
– |
|
1191 |
– |
|
1192 |
– |
cat >>confdefs.h <<_ACEOF |
1193 |
– |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1194 |
– |
_ACEOF |
1195 |
– |
|
1196 |
– |
|
1197 |
– |
cat >>confdefs.h <<_ACEOF |
1198 |
– |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1199 |
– |
_ACEOF |
1200 |
– |
|
1201 |
– |
|
854 |
|
# Let the site file select an alternate cache file if it wants to. |
855 |
|
# Prefer explicitly selected file to automatically selected ones. |
856 |
|
if test -z "$CONFIG_SITE"; then |
862 |
|
fi |
863 |
|
for ac_site_file in $CONFIG_SITE; do |
864 |
|
if test -r "$ac_site_file"; then |
865 |
< |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
865 |
> |
{ echo "$as_me:865: loading site script $ac_site_file" >&5 |
866 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
867 |
< |
sed 's/^/| /' "$ac_site_file" >&5 |
867 |
> |
cat "$ac_site_file" >&5 |
868 |
|
. "$ac_site_file" |
869 |
|
fi |
870 |
|
done |
873 |
|
# Some versions of bash will fail to source /dev/null (special |
874 |
|
# files actually), so we avoid doing that. |
875 |
|
if test -f "$cache_file"; then |
876 |
< |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
876 |
> |
{ echo "$as_me:876: loading cache $cache_file" >&5 |
877 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
878 |
|
case $cache_file in |
879 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
881 |
|
esac |
882 |
|
fi |
883 |
|
else |
884 |
< |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
884 |
> |
{ echo "$as_me:884: creating cache $cache_file" >&5 |
885 |
|
echo "$as_me: creating cache $cache_file" >&6;} |
886 |
|
>$cache_file |
887 |
|
fi |
888 |
|
|
889 |
|
# Check that the precious variables saved in the cache have kept the same |
890 |
|
# value. |
891 |
< |
ac_cache_corrupted=false |
891 |
> |
ac_suggest_removing_cache=false |
892 |
|
for ac_var in `(set) 2>&1 | |
893 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
894 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
897 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
898 |
|
case $ac_old_set,$ac_new_set in |
899 |
|
set,) |
900 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
901 |
< |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
902 |
< |
ac_cache_corrupted=: ;; |
900 |
> |
{ echo "$as_me:900: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
901 |
> |
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
902 |
> |
ac_suggest_removing_cache=: ;; |
903 |
|
,set) |
904 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
905 |
< |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
906 |
< |
ac_cache_corrupted=: ;; |
904 |
> |
{ echo "$as_me:904: WARNING: \`$ac_var' was not set in the previous run" >&5 |
905 |
> |
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} |
906 |
> |
ac_suggest_removing_cache=: ;; |
907 |
|
,);; |
908 |
|
*) |
909 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
910 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
911 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
912 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
913 |
< |
echo "$as_me: former value: $ac_old_val" >&2;} |
914 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
915 |
< |
echo "$as_me: current value: $ac_new_val" >&2;} |
916 |
< |
ac_cache_corrupted=: |
910 |
> |
{ echo "$as_me:910: WARNING: \`$ac_var' has changed since the previous run:" >&5 |
911 |
> |
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} |
912 |
> |
{ echo "$as_me:912: WARNING: former value: $ac_old_val" >&5 |
913 |
> |
echo "$as_me: WARNING: former value: $ac_old_val" >&2;} |
914 |
> |
{ echo "$as_me:914: WARNING: current value: $ac_new_val" >&5 |
915 |
> |
echo "$as_me: WARNING: current value: $ac_new_val" >&2;} |
916 |
> |
ac_suggest_removing_cache=: |
917 |
|
fi;; |
918 |
|
esac |
1267 |
– |
# Pass precious variables to config.status. |
1268 |
– |
if test "$ac_new_set" = set; then |
1269 |
– |
case $ac_new_val in |
1270 |
– |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1271 |
– |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1272 |
– |
*) ac_arg=$ac_var=$ac_new_val ;; |
1273 |
– |
esac |
1274 |
– |
case " $ac_configure_args " in |
1275 |
– |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1276 |
– |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1277 |
– |
esac |
1278 |
– |
fi |
919 |
|
done |
920 |
< |
if $ac_cache_corrupted; then |
921 |
< |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
922 |
< |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
923 |
< |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
924 |
< |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1285 |
< |
{ (exit 1); exit 1; }; } |
920 |
> |
if $ac_suggest_removing_cache; then |
921 |
> |
{ echo "$as_me:921: WARNING: changes in the environment can compromise the build" >&5 |
922 |
> |
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} |
923 |
> |
{ echo "$as_me:923: WARNING: consider removing $cache_file and starting over" >&5 |
924 |
> |
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} |
925 |
|
fi |
926 |
|
|
927 |
|
ac_ext=c |
930 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
931 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
932 |
|
|
933 |
< |
|
934 |
< |
|
935 |
< |
|
936 |
< |
|
937 |
< |
|
938 |
< |
|
939 |
< |
|
940 |
< |
|
941 |
< |
|
942 |
< |
|
943 |
< |
|
944 |
< |
|
945 |
< |
|
946 |
< |
|
947 |
< |
|
948 |
< |
|
949 |
< |
|
950 |
< |
|
951 |
< |
|
952 |
< |
|
1314 |
< |
|
1315 |
< |
|
1316 |
< |
|
1317 |
< |
|
1318 |
< |
|
933 |
> |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
934 |
> |
*c*,-n*) ECHO_N= ECHO_C=' |
935 |
> |
' ECHO_T=' ' ;; |
936 |
> |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
937 |
> |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
938 |
> |
esac |
939 |
> |
echo "#! $SHELL" >conftest.sh |
940 |
> |
echo "exit 0" >>conftest.sh |
941 |
> |
chmod +x conftest.sh |
942 |
> |
if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5 |
943 |
> |
(PATH=".;."; conftest.sh) 2>&5 |
944 |
> |
ac_status=$? |
945 |
> |
echo "$as_me:945: \$? = $ac_status" >&5 |
946 |
> |
(exit $ac_status); }; then |
947 |
> |
ac_path_separator=';' |
948 |
> |
else |
949 |
> |
ac_path_separator=: |
950 |
> |
fi |
951 |
> |
PATH_SEPARATOR="$ac_path_separator" |
952 |
> |
rm -f conftest.sh |
953 |
|
|
954 |
|
ac_aux_dir= |
955 |
|
for ac_dir in ac-tools $srcdir/ac-tools; do |
968 |
|
fi |
969 |
|
done |
970 |
|
if test -z "$ac_aux_dir"; then |
971 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
971 |
> |
{ { echo "$as_me:971: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
972 |
|
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} |
973 |
|
{ (exit 1); exit 1; }; } |
974 |
|
fi |
976 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
977 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
978 |
|
|
1345 |
– |
|
979 |
|
# This file is part of Autoconf. -*- Autoconf -*- |
980 |
|
# Programming languages support. |
981 |
|
# Copyright 2000, 2001 |
1026 |
|
# Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably |
1027 |
|
# many others). |
1028 |
|
|
1396 |
– |
|
1029 |
|
# Table of Contents: |
1030 |
|
# |
1031 |
|
# 1. Language selection |
1061 |
|
# ACTION-IF-NOT-FOUND. |
1062 |
|
# _AC_LIST_MEMBER_IF |
1063 |
|
|
1432 |
– |
|
1433 |
– |
|
1064 |
|
# _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) |
1065 |
|
# ------------------------------------------------- |
1066 |
|
# |
1091 |
|
# FIXME: Get rid of this macro. |
1092 |
|
# _AC_LINKER_OPTION |
1093 |
|
|
1464 |
– |
|
1465 |
– |
|
1094 |
|
## ----------------------- ## |
1095 |
|
## 1. Language selection. ## |
1096 |
|
## ----------------------- ## |
1102 |
|
# AC_LANG(Fortran 90) |
1103 |
|
# ------------------- |
1104 |
|
|
1477 |
– |
|
1478 |
– |
|
1105 |
|
# _AC_LANG_ABBREV(Fortran 90) |
1106 |
|
# --------------------------- |
1107 |
|
|
1482 |
– |
|
1483 |
– |
|
1108 |
|
# ----------------------------- # |
1109 |
|
# 1c. The Fortran 95 language. # |
1110 |
|
# ----------------------------- # |
1112 |
|
# AC_LANG(Fortran 95) |
1113 |
|
# ------------------- |
1114 |
|
|
1491 |
– |
|
1492 |
– |
|
1115 |
|
# _AC_LANG_ABBREV(Fortran 95) |
1116 |
|
# --------------------------- |
1117 |
|
|
1496 |
– |
|
1497 |
– |
|
1118 |
|
## ---------------------- ## |
1119 |
|
## 2.Producing programs. ## |
1120 |
|
## ---------------------- ## |
1126 |
|
# AC_LANG_SOURCE(Fortran 90)(BODY) |
1127 |
|
# -------------------------------- |
1128 |
|
|
1509 |
– |
|
1510 |
– |
|
1129 |
|
# AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) |
1130 |
|
# ----------------------------------------------- |
1131 |
|
|
1514 |
– |
|
1132 |
|
# AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) |
1133 |
|
# -------------------------------------------- |
1134 |
|
|
1518 |
– |
|
1519 |
– |
|
1135 |
|
# ------------------------ # |
1136 |
|
# 2c. Fortran 95 sources. # |
1137 |
|
# ------------------------ # |
1139 |
|
# AC_LANG_SOURCE(Fortran 95)(BODY) |
1140 |
|
# -------------------------------- |
1141 |
|
|
1527 |
– |
|
1142 |
|
# AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) |
1143 |
|
# ----------------------------------------------- |
1144 |
|
|
1531 |
– |
|
1145 |
|
# AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) |
1146 |
|
# -------------------------------------------- |
1147 |
|
|
1535 |
– |
|
1536 |
– |
|
1148 |
|
## -------------------------------------------- ## |
1149 |
|
## 3. Looking for Compilers and Preprocessors. ## |
1150 |
|
## -------------------------------------------- ## |
1153 |
|
# 3b. The Fortran 90 compiler. # |
1154 |
|
# ----------------------------- # |
1155 |
|
|
1545 |
– |
|
1156 |
|
# AC_LANG_PREPROC(Fortran 90) |
1157 |
|
# --------------------------- |
1158 |
|
# Find the Fortran 90 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1159 |
|
|
1550 |
– |
|
1551 |
– |
|
1160 |
|
# AC_LANG_COMPILER(Fortran 90) |
1161 |
|
# ---------------------------- |
1162 |
|
# Find the Fortran 90 compiler. Must be AC_DEFUN'd to be |
1163 |
|
# AC_REQUIRE'able. |
1164 |
|
|
1557 |
– |
|
1558 |
– |
|
1165 |
|
# AC_PROG_F90([COMPILERS...]) |
1166 |
|
# --------------------------- |
1167 |
|
# COMPILERS is a space separated list of Fortran 90 compilers to search |
1178 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1179 |
|
# AC_PROG_F90 |
1180 |
|
|
1575 |
– |
|
1181 |
|
# ----------------------------- # |
1182 |
|
# 3c. The Fortran 95 compiler. # |
1183 |
|
# ----------------------------- # |
1184 |
|
|
1580 |
– |
|
1185 |
|
# AC_LANG_PREPROC(Fortran 95) |
1186 |
|
# --------------------------- |
1187 |
|
# Find the Fortran 95 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1188 |
|
|
1585 |
– |
|
1586 |
– |
|
1189 |
|
# AC_LANG_COMPILER(Fortran 95) |
1190 |
|
# ---------------------------- |
1191 |
|
# Find the Fortran 95 compiler. Must be AC_DEFUN'd to be |
1192 |
|
# AC_REQUIRE'able. |
1193 |
|
|
1592 |
– |
|
1593 |
– |
|
1194 |
|
# AC_PROG_F95([COMPILERS...]) |
1195 |
|
# --------------------------- |
1196 |
|
# COMPILERS is a space separated list of Fortran 95 compilers to search |
1204 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1205 |
|
# AC_PROG_F95 |
1206 |
|
|
1607 |
– |
|
1207 |
|
## ------------------------------- ## |
1208 |
|
## 4. Compilers' characteristics. ## |
1209 |
|
## ------------------------------- ## |
1210 |
|
|
1612 |
– |
|
1211 |
|
# ---------------------------------------- # |
1212 |
|
# 4b. Fortan 90 compiler characteristics. # |
1213 |
|
# ---------------------------------------- # |
1214 |
|
|
1617 |
– |
|
1215 |
|
# _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) |
1216 |
|
# ------------------------------------------------- |
1217 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1222 |
|
# space-separated items. |
1223 |
|
# _AC_PROG_F90_V_OUTPUT |
1224 |
|
|
1628 |
– |
|
1225 |
|
# _AC_PROG_F90_V |
1226 |
|
# -------------- |
1227 |
|
# |
1231 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1232 |
|
# _AC_PROG_F90_V |
1233 |
|
|
1638 |
– |
|
1234 |
|
# AC_F90_LIBRARY_LDFLAGS |
1235 |
|
# ---------------------- |
1236 |
|
# |
1258 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1259 |
|
# AC_F90_LIBRARY_LDFLAGS |
1260 |
|
|
1666 |
– |
|
1261 |
|
# _AC_F90_NAME_MANGLING |
1262 |
|
# --------------------- |
1263 |
|
# Test for the name mangling scheme used by the Fortran 90 compiler. |
1277 |
|
|
1278 |
|
# The replacement is empty. |
1279 |
|
|
1686 |
– |
|
1687 |
– |
|
1280 |
|
# AC_F90_WRAPPERS |
1281 |
|
# --------------- |
1282 |
|
# Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to |
1285 |
|
# scheme used by the Fortran 90 compiler. |
1286 |
|
# AC_F90_WRAPPERS |
1287 |
|
|
1696 |
– |
|
1288 |
|
# AC_F90_FUNC(NAME, [SHELLVAR = NAME]) |
1289 |
|
# ------------------------------------ |
1290 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1292 |
|
# argument is not supplied, it defaults to NAME. |
1293 |
|
# AC_F90_FUNC |
1294 |
|
|
1704 |
– |
|
1295 |
|
# ---------------------------------------- # |
1296 |
|
# 4c. Fortan 95 compiler characteristics. # |
1297 |
|
# ---------------------------------------- # |
1298 |
|
|
1709 |
– |
|
1299 |
|
# _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) |
1300 |
|
# ------------------------------------------------- |
1301 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1306 |
|
# space-separated items. |
1307 |
|
# _AC_PROG_F95_V_OUTPUT |
1308 |
|
|
1720 |
– |
|
1309 |
|
# _AC_PROG_F95_V |
1310 |
|
# -------------- |
1311 |
|
# |
1315 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1316 |
|
# _AC_PROG_F95_V |
1317 |
|
|
1730 |
– |
|
1318 |
|
# AC_F95_LIBRARY_LDFLAGS |
1319 |
|
# ---------------------- |
1320 |
|
# |
1342 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1343 |
|
# AC_F95_LIBRARY_LDFLAGS |
1344 |
|
|
1758 |
– |
|
1345 |
|
# _AC_F95_NAME_MANGLING |
1346 |
|
# --------------------- |
1347 |
|
# Test for the name mangling scheme used by the Fortran 95 compiler. |
1361 |
|
|
1362 |
|
# The replacement is empty. |
1363 |
|
|
1778 |
– |
|
1779 |
– |
|
1364 |
|
# AC_F95_WRAPPERS |
1365 |
|
# --------------- |
1366 |
|
# Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to |
1369 |
|
# scheme used by the Fortran 95 compiler. |
1370 |
|
# AC_F95_WRAPPERS |
1371 |
|
|
1788 |
– |
|
1372 |
|
# AC_F95_FUNC(NAME, [SHELLVAR = NAME]) |
1373 |
|
# ------------------------------------ |
1374 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1376 |
|
# argument is not supplied, it defaults to NAME. |
1377 |
|
# AC_F95_FUNC |
1378 |
|
|
1796 |
– |
|
1797 |
– |
|
1798 |
– |
|
1799 |
– |
|
1800 |
– |
|
1801 |
– |
|
1802 |
– |
|
1803 |
– |
|
1804 |
– |
|
1805 |
– |
|
1806 |
– |
|
1807 |
– |
|
1808 |
– |
|
1809 |
– |
|
1810 |
– |
|
1811 |
– |
|
1812 |
– |
|
1813 |
– |
|
1814 |
– |
|
1815 |
– |
|
1816 |
– |
|
1817 |
– |
|
1818 |
– |
|
1819 |
– |
|
1820 |
– |
|
1821 |
– |
|
1822 |
– |
|
1823 |
– |
|
1824 |
– |
|
1825 |
– |
|
1826 |
– |
|
1827 |
– |
|
1828 |
– |
|
1829 |
– |
|
1830 |
– |
|
1379 |
|
# set program name |
1380 |
|
PROGNAME="oopse" |
1381 |
|
|
1834 |
– |
|
1382 |
|
# there are two ways to do debugging. One with the --enable-debug flag |
1383 |
|
# and one using the DEBUG environment variable |
1384 |
|
|
1390 |
|
fi; |
1391 |
|
if test "${DEBUG}"; then |
1392 |
|
|
1393 |
< |
cat >>confdefs.h <<\_ACEOF |
1393 |
> |
cat >>confdefs.h <<\EOF |
1394 |
|
#define debug 1 |
1395 |
< |
_ACEOF |
1395 |
> |
EOF |
1396 |
|
|
1397 |
|
msg="$msg, debug mode" |
1398 |
|
fi |
1399 |
|
|
1853 |
– |
|
1400 |
|
# who am i |
1401 |
|
# Make sure we can run config.sub. |
1402 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
1403 |
< |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1403 |
> |
{ { echo "$as_me:1403: error: cannot run $ac_config_sub" >&5 |
1404 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1405 |
|
{ (exit 1); exit 1; }; } |
1406 |
|
|
1407 |
< |
echo "$as_me:$LINENO: checking build system type" >&5 |
1407 |
> |
echo "$as_me:1407: checking build system type" >&5 |
1408 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1409 |
|
if test "${ac_cv_build+set}" = set; then |
1410 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1413 |
|
test -z "$ac_cv_build_alias" && |
1414 |
|
ac_cv_build_alias=`$ac_config_guess` |
1415 |
|
test -z "$ac_cv_build_alias" && |
1416 |
< |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1416 |
> |
{ { echo "$as_me:1416: error: cannot guess build type; you must specify one" >&5 |
1417 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1418 |
|
{ (exit 1); exit 1; }; } |
1419 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1420 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1421 |
< |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1420 |
> |
{ { echo "$as_me:1420: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1421 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1422 |
|
{ (exit 1); exit 1; }; } |
1423 |
|
|
1424 |
|
fi |
1425 |
< |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1425 |
> |
echo "$as_me:1425: result: $ac_cv_build" >&5 |
1426 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1427 |
|
build=$ac_cv_build |
1428 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1429 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1430 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1431 |
|
|
1432 |
< |
|
1887 |
< |
echo "$as_me:$LINENO: checking host system type" >&5 |
1432 |
> |
echo "$as_me:1432: checking host system type" >&5 |
1433 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1434 |
|
if test "${ac_cv_host+set}" = set; then |
1435 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1438 |
|
test -z "$ac_cv_host_alias" && |
1439 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1440 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1441 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1441 |
> |
{ { echo "$as_me:1441: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1442 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1443 |
|
{ (exit 1); exit 1; }; } |
1444 |
|
|
1445 |
|
fi |
1446 |
< |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1446 |
> |
echo "$as_me:1446: result: $ac_cv_host" >&5 |
1447 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1448 |
|
host=$ac_cv_host |
1449 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1450 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1451 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1452 |
|
|
1908 |
– |
|
1909 |
– |
|
1453 |
|
ac_ext=c |
1454 |
|
ac_cpp='$CPP $CPPFLAGS' |
1455 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1460 |
|
do |
1461 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1462 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1463 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1463 |
> |
echo "$as_me:1463: checking for $ac_word" >&5 |
1464 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1465 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1466 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1468 |
|
if test -n "$CC"; then |
1469 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1470 |
|
else |
1471 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1472 |
< |
for as_dir in $PATH |
1473 |
< |
do |
1474 |
< |
IFS=$as_save_IFS |
1475 |
< |
test -z "$as_dir" && as_dir=. |
1476 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1477 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1478 |
< |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1479 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1937 |
< |
break 2 |
1938 |
< |
fi |
1471 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1472 |
> |
ac_dummy="$PATH" |
1473 |
> |
for ac_dir in $ac_dummy; do |
1474 |
> |
IFS=$ac_save_IFS |
1475 |
> |
test -z "$ac_dir" && ac_dir=. |
1476 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1477 |
> |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1478 |
> |
echo "$as_me:1478: found $ac_dir/$ac_word" >&5 |
1479 |
> |
break |
1480 |
|
done |
1940 |
– |
done |
1481 |
|
|
1482 |
|
fi |
1483 |
|
fi |
1484 |
|
CC=$ac_cv_prog_CC |
1485 |
|
if test -n "$CC"; then |
1486 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
1486 |
> |
echo "$as_me:1486: result: $CC" >&5 |
1487 |
|
echo "${ECHO_T}$CC" >&6 |
1488 |
|
else |
1489 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1489 |
> |
echo "$as_me:1489: result: no" >&5 |
1490 |
|
echo "${ECHO_T}no" >&6 |
1491 |
|
fi |
1492 |
|
|
1499 |
|
do |
1500 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1501 |
|
set dummy $ac_prog; ac_word=$2 |
1502 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1502 |
> |
echo "$as_me:1502: checking for $ac_word" >&5 |
1503 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1504 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1505 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1507 |
|
if test -n "$ac_ct_CC"; then |
1508 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1509 |
|
else |
1510 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1511 |
< |
for as_dir in $PATH |
1512 |
< |
do |
1513 |
< |
IFS=$as_save_IFS |
1514 |
< |
test -z "$as_dir" && as_dir=. |
1515 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1516 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1517 |
< |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1518 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1979 |
< |
break 2 |
1980 |
< |
fi |
1510 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1511 |
> |
ac_dummy="$PATH" |
1512 |
> |
for ac_dir in $ac_dummy; do |
1513 |
> |
IFS=$ac_save_IFS |
1514 |
> |
test -z "$ac_dir" && ac_dir=. |
1515 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1516 |
> |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1517 |
> |
echo "$as_me:1517: found $ac_dir/$ac_word" >&5 |
1518 |
> |
break |
1519 |
|
done |
1982 |
– |
done |
1520 |
|
|
1521 |
|
fi |
1522 |
|
fi |
1523 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1524 |
|
if test -n "$ac_ct_CC"; then |
1525 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1525 |
> |
echo "$as_me:1525: result: $ac_ct_CC" >&5 |
1526 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1527 |
|
else |
1528 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1528 |
> |
echo "$as_me:1528: result: no" >&5 |
1529 |
|
echo "${ECHO_T}no" >&6 |
1530 |
|
fi |
1531 |
|
|
1535 |
|
CC=$ac_ct_CC |
1536 |
|
fi |
1537 |
|
|
1538 |
< |
|
1539 |
< |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2003 |
< |
See \`config.log' for more details." >&5 |
2004 |
< |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2005 |
< |
See \`config.log' for more details." >&2;} |
1538 |
> |
test -z "$CC" && { { echo "$as_me:1538: error: no acceptable cc found in \$PATH" >&5 |
1539 |
> |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
1540 |
|
{ (exit 1); exit 1; }; } |
2007 |
– |
|
2008 |
– |
# Provide some information about the compiler. |
2009 |
– |
echo "$as_me:$LINENO:" \ |
2010 |
– |
"checking for C compiler version" >&5 |
2011 |
– |
ac_compiler=`set X $ac_compile; echo $2` |
2012 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2013 |
– |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2014 |
– |
ac_status=$? |
2015 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2016 |
– |
(exit $ac_status); } |
2017 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2018 |
– |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2019 |
– |
ac_status=$? |
2020 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2021 |
– |
(exit $ac_status); } |
2022 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2023 |
– |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2024 |
– |
ac_status=$? |
2025 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2026 |
– |
(exit $ac_status); } |
1541 |
|
|
1542 |
|
cat >conftest.$ac_ext <<_ACEOF |
1543 |
< |
#line $LINENO "configure" |
1544 |
< |
/* confdefs.h. */ |
2031 |
< |
_ACEOF |
2032 |
< |
cat confdefs.h >>conftest.$ac_ext |
2033 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2034 |
< |
/* end confdefs.h. */ |
1543 |
> |
#line 1543 "configure" |
1544 |
> |
#include "confdefs.h" |
1545 |
|
|
1546 |
|
int |
1547 |
|
main () |
1552 |
|
} |
1553 |
|
_ACEOF |
1554 |
|
ac_clean_files_save=$ac_clean_files |
1555 |
< |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1555 |
> |
ac_clean_files="$ac_clean_files a.out a.exe" |
1556 |
|
# Try to create an executable without -o first, disregard a.out. |
1557 |
< |
# It will help us diagnose broken compilers, and finding out an intuition |
1557 |
> |
# It will help us diagnose broken compiler, and finding out an intuition |
1558 |
|
# of exeext. |
1559 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
1559 |
> |
echo "$as_me:1559: checking for C compiler default output" >&5 |
1560 |
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1561 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1562 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1562 |
> |
if { (eval echo "$as_me:1562: \"$ac_link_default\"") >&5 |
1563 |
|
(eval $ac_link_default) 2>&5 |
1564 |
|
ac_status=$? |
1565 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1565 |
> |
echo "$as_me:1565: \$? = $ac_status" >&5 |
1566 |
|
(exit $ac_status); }; then |
1567 |
< |
# Find the output, starting from the most likely. This scheme is |
2058 |
< |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2059 |
< |
# resort. |
2060 |
< |
|
2061 |
< |
# Be careful to initialize this variable, since it used to be cached. |
2062 |
< |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2063 |
< |
ac_cv_exeext= |
2064 |
< |
# b.out is created by i960 compilers. |
2065 |
< |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2066 |
< |
do |
2067 |
< |
test -f "$ac_file" || continue |
1567 |
> |
for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do |
1568 |
|
case $ac_file in |
1569 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1570 |
< |
;; |
1571 |
< |
conftest.$ac_ext ) |
1572 |
< |
# This is the source file. |
1573 |
< |
;; |
1574 |
< |
[ab].out ) |
1575 |
< |
# We found the default executable, but exeext='' is most |
1576 |
< |
# certainly right. |
2077 |
< |
break;; |
2078 |
< |
*.* ) |
2079 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2080 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2081 |
< |
# but it would be cool to find out if it's true. Does anybody |
2082 |
< |
# maintain Libtool? --akim. |
2083 |
< |
export ac_cv_exeext |
2084 |
< |
break;; |
2085 |
< |
* ) |
2086 |
< |
break;; |
1569 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1570 |
> |
a.out ) # We found the default executable, but exeext='' is most |
1571 |
> |
# certainly right. |
1572 |
> |
break;; |
1573 |
> |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1574 |
> |
export ac_cv_exeext |
1575 |
> |
break;; |
1576 |
> |
* ) break;; |
1577 |
|
esac |
1578 |
|
done |
1579 |
|
else |
1580 |
|
echo "$as_me: failed program was:" >&5 |
1581 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1582 |
< |
|
1583 |
< |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2094 |
< |
See \`config.log' for more details." >&5 |
2095 |
< |
echo "$as_me: error: C compiler cannot create executables |
2096 |
< |
See \`config.log' for more details." >&2;} |
1581 |
> |
cat conftest.$ac_ext >&5 |
1582 |
> |
{ { echo "$as_me:1582: error: C compiler cannot create executables" >&5 |
1583 |
> |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
1584 |
|
{ (exit 77); exit 77; }; } |
1585 |
|
fi |
1586 |
|
|
1587 |
|
ac_exeext=$ac_cv_exeext |
1588 |
< |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1588 |
> |
echo "$as_me:1588: result: $ac_file" >&5 |
1589 |
|
echo "${ECHO_T}$ac_file" >&6 |
1590 |
|
|
1591 |
|
# Check the compiler produces executables we can run. If not, either |
1592 |
|
# the compiler is broken, or we cross compile. |
1593 |
< |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1593 |
> |
echo "$as_me:1593: checking whether the C compiler works" >&5 |
1594 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1595 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1596 |
|
# If not cross compiling, check that we can run a simple program. |
1597 |
|
if test "$cross_compiling" != yes; then |
1598 |
|
if { ac_try='./$ac_file' |
1599 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1599 |
> |
{ (eval echo "$as_me:1599: \"$ac_try\"") >&5 |
1600 |
|
(eval $ac_try) 2>&5 |
1601 |
|
ac_status=$? |
1602 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1602 |
> |
echo "$as_me:1602: \$? = $ac_status" >&5 |
1603 |
|
(exit $ac_status); }; }; then |
1604 |
|
cross_compiling=no |
1605 |
|
else |
1606 |
|
if test "$cross_compiling" = maybe; then |
1607 |
|
cross_compiling=yes |
1608 |
|
else |
1609 |
< |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1610 |
< |
If you meant to cross compile, use \`--host'. |
2124 |
< |
See \`config.log' for more details." >&5 |
1609 |
> |
{ { echo "$as_me:1609: error: cannot run C compiled programs. |
1610 |
> |
If you meant to cross compile, use \`--host'." >&5 |
1611 |
|
echo "$as_me: error: cannot run C compiled programs. |
1612 |
< |
If you meant to cross compile, use \`--host'. |
2127 |
< |
See \`config.log' for more details." >&2;} |
1612 |
> |
If you meant to cross compile, use \`--host'." >&2;} |
1613 |
|
{ (exit 1); exit 1; }; } |
1614 |
|
fi |
1615 |
|
fi |
1616 |
|
fi |
1617 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
1617 |
> |
echo "$as_me:1617: result: yes" >&5 |
1618 |
|
echo "${ECHO_T}yes" >&6 |
1619 |
|
|
1620 |
< |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1620 |
> |
rm -f a.out a.exe conftest$ac_cv_exeext |
1621 |
|
ac_clean_files=$ac_clean_files_save |
1622 |
|
# Check the compiler produces executables we can run. If not, either |
1623 |
|
# the compiler is broken, or we cross compile. |
1624 |
< |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1624 |
> |
echo "$as_me:1624: checking whether we are cross compiling" >&5 |
1625 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1626 |
< |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1626 |
> |
echo "$as_me:1626: result: $cross_compiling" >&5 |
1627 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
1628 |
|
|
1629 |
< |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1630 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1631 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1629 |
> |
echo "$as_me:1629: checking for executable suffix" >&5 |
1630 |
> |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
1631 |
> |
if { (eval echo "$as_me:1631: \"$ac_link\"") >&5 |
1632 |
|
(eval $ac_link) 2>&5 |
1633 |
|
ac_status=$? |
1634 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1634 |
> |
echo "$as_me:1634: \$? = $ac_status" >&5 |
1635 |
|
(exit $ac_status); }; then |
1636 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1637 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1638 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1639 |
|
# `rm'. |
1640 |
< |
for ac_file in conftest.exe conftest conftest.*; do |
2156 |
< |
test -f "$ac_file" || continue |
1640 |
> |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
1641 |
|
case $ac_file in |
1642 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1642 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1643 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1644 |
|
export ac_cv_exeext |
1645 |
|
break;; |
1647 |
|
esac |
1648 |
|
done |
1649 |
|
else |
1650 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1651 |
< |
See \`config.log' for more details." >&5 |
2168 |
< |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2169 |
< |
See \`config.log' for more details." >&2;} |
1650 |
> |
{ { echo "$as_me:1650: error: cannot compute EXEEXT: cannot compile and link" >&5 |
1651 |
> |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
1652 |
|
{ (exit 1); exit 1; }; } |
1653 |
|
fi |
1654 |
|
|
1655 |
|
rm -f conftest$ac_cv_exeext |
1656 |
< |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1656 |
> |
echo "$as_me:1656: result: $ac_cv_exeext" >&5 |
1657 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1658 |
|
|
1659 |
|
rm -f conftest.$ac_ext |
1660 |
|
EXEEXT=$ac_cv_exeext |
1661 |
|
ac_exeext=$EXEEXT |
1662 |
< |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1663 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1662 |
> |
echo "$as_me:1662: checking for object suffix" >&5 |
1663 |
> |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1664 |
|
if test "${ac_cv_objext+set}" = set; then |
1665 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1666 |
|
else |
1667 |
|
cat >conftest.$ac_ext <<_ACEOF |
1668 |
< |
#line $LINENO "configure" |
1669 |
< |
/* confdefs.h. */ |
2188 |
< |
_ACEOF |
2189 |
< |
cat confdefs.h >>conftest.$ac_ext |
2190 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2191 |
< |
/* end confdefs.h. */ |
1668 |
> |
#line 1668 "configure" |
1669 |
> |
#include "confdefs.h" |
1670 |
|
|
1671 |
|
int |
1672 |
|
main () |
1677 |
|
} |
1678 |
|
_ACEOF |
1679 |
|
rm -f conftest.o conftest.obj |
1680 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1680 |
> |
if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5 |
1681 |
|
(eval $ac_compile) 2>&5 |
1682 |
|
ac_status=$? |
1683 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1683 |
> |
echo "$as_me:1683: \$? = $ac_status" >&5 |
1684 |
|
(exit $ac_status); }; then |
1685 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1686 |
|
case $ac_file in |
1687 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1687 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1688 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1689 |
|
break;; |
1690 |
|
esac |
1691 |
|
done |
1692 |
|
else |
1693 |
|
echo "$as_me: failed program was:" >&5 |
1694 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1695 |
< |
|
1696 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2219 |
< |
See \`config.log' for more details." >&5 |
2220 |
< |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2221 |
< |
See \`config.log' for more details." >&2;} |
1694 |
> |
cat conftest.$ac_ext >&5 |
1695 |
> |
{ { echo "$as_me:1695: error: cannot compute OBJEXT: cannot compile" >&5 |
1696 |
> |
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
1697 |
|
{ (exit 1); exit 1; }; } |
1698 |
|
fi |
1699 |
|
|
1700 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1701 |
|
fi |
1702 |
< |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1702 |
> |
echo "$as_me:1702: result: $ac_cv_objext" >&5 |
1703 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1704 |
|
OBJEXT=$ac_cv_objext |
1705 |
|
ac_objext=$OBJEXT |
1706 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1706 |
> |
echo "$as_me:1706: checking whether we are using the GNU C compiler" >&5 |
1707 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1708 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1709 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1710 |
|
else |
1711 |
|
cat >conftest.$ac_ext <<_ACEOF |
1712 |
< |
#line $LINENO "configure" |
1713 |
< |
/* confdefs.h. */ |
2239 |
< |
_ACEOF |
2240 |
< |
cat confdefs.h >>conftest.$ac_ext |
2241 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2242 |
< |
/* end confdefs.h. */ |
1712 |
> |
#line 1712 "configure" |
1713 |
> |
#include "confdefs.h" |
1714 |
|
|
1715 |
|
int |
1716 |
|
main () |
1724 |
|
} |
1725 |
|
_ACEOF |
1726 |
|
rm -f conftest.$ac_objext |
1727 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1727 |
> |
if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5 |
1728 |
|
(eval $ac_compile) 2>&5 |
1729 |
|
ac_status=$? |
1730 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1730 |
> |
echo "$as_me:1730: \$? = $ac_status" >&5 |
1731 |
|
(exit $ac_status); } && |
1732 |
|
{ ac_try='test -s conftest.$ac_objext' |
1733 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1733 |
> |
{ (eval echo "$as_me:1733: \"$ac_try\"") >&5 |
1734 |
|
(eval $ac_try) 2>&5 |
1735 |
|
ac_status=$? |
1736 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1736 |
> |
echo "$as_me:1736: \$? = $ac_status" >&5 |
1737 |
|
(exit $ac_status); }; }; then |
1738 |
|
ac_compiler_gnu=yes |
1739 |
|
else |
1740 |
|
echo "$as_me: failed program was:" >&5 |
1741 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2271 |
< |
|
1741 |
> |
cat conftest.$ac_ext >&5 |
1742 |
|
ac_compiler_gnu=no |
1743 |
|
fi |
1744 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1745 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1746 |
|
|
1747 |
|
fi |
1748 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1748 |
> |
echo "$as_me:1748: result: $ac_cv_c_compiler_gnu" >&5 |
1749 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1750 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
1751 |
|
ac_test_CFLAGS=${CFLAGS+set} |
1752 |
|
ac_save_CFLAGS=$CFLAGS |
1753 |
|
CFLAGS="-g" |
1754 |
< |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1754 |
> |
echo "$as_me:1754: checking whether $CC accepts -g" >&5 |
1755 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1756 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
1757 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1758 |
|
else |
1759 |
|
cat >conftest.$ac_ext <<_ACEOF |
1760 |
< |
#line $LINENO "configure" |
1761 |
< |
/* confdefs.h. */ |
2292 |
< |
_ACEOF |
2293 |
< |
cat confdefs.h >>conftest.$ac_ext |
2294 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2295 |
< |
/* end confdefs.h. */ |
1760 |
> |
#line 1760 "configure" |
1761 |
> |
#include "confdefs.h" |
1762 |
|
|
1763 |
|
int |
1764 |
|
main () |
1769 |
|
} |
1770 |
|
_ACEOF |
1771 |
|
rm -f conftest.$ac_objext |
1772 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1772 |
> |
if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5 |
1773 |
|
(eval $ac_compile) 2>&5 |
1774 |
|
ac_status=$? |
1775 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1775 |
> |
echo "$as_me:1775: \$? = $ac_status" >&5 |
1776 |
|
(exit $ac_status); } && |
1777 |
|
{ ac_try='test -s conftest.$ac_objext' |
1778 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1778 |
> |
{ (eval echo "$as_me:1778: \"$ac_try\"") >&5 |
1779 |
|
(eval $ac_try) 2>&5 |
1780 |
|
ac_status=$? |
1781 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1781 |
> |
echo "$as_me:1781: \$? = $ac_status" >&5 |
1782 |
|
(exit $ac_status); }; }; then |
1783 |
|
ac_cv_prog_cc_g=yes |
1784 |
|
else |
1785 |
|
echo "$as_me: failed program was:" >&5 |
1786 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2321 |
< |
|
1786 |
> |
cat conftest.$ac_ext >&5 |
1787 |
|
ac_cv_prog_cc_g=no |
1788 |
|
fi |
1789 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1790 |
|
fi |
1791 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1791 |
> |
echo "$as_me:1791: result: $ac_cv_prog_cc_g" >&5 |
1792 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1793 |
|
if test "$ac_test_CFLAGS" = set; then |
1794 |
|
CFLAGS=$ac_save_CFLAGS |
1805 |
|
CFLAGS= |
1806 |
|
fi |
1807 |
|
fi |
2343 |
– |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2344 |
– |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2345 |
– |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2346 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2347 |
– |
else |
2348 |
– |
ac_cv_prog_cc_stdc=no |
2349 |
– |
ac_save_CC=$CC |
2350 |
– |
cat >conftest.$ac_ext <<_ACEOF |
2351 |
– |
#line $LINENO "configure" |
2352 |
– |
/* confdefs.h. */ |
2353 |
– |
_ACEOF |
2354 |
– |
cat confdefs.h >>conftest.$ac_ext |
2355 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
2356 |
– |
/* end confdefs.h. */ |
2357 |
– |
#include <stdarg.h> |
2358 |
– |
#include <stdio.h> |
2359 |
– |
#include <sys/types.h> |
2360 |
– |
#include <sys/stat.h> |
2361 |
– |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2362 |
– |
struct buf { int x; }; |
2363 |
– |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2364 |
– |
static char *e (p, i) |
2365 |
– |
char **p; |
2366 |
– |
int i; |
2367 |
– |
{ |
2368 |
– |
return p[i]; |
2369 |
– |
} |
2370 |
– |
static char *f (char * (*g) (char **, int), char **p, ...) |
2371 |
– |
{ |
2372 |
– |
char *s; |
2373 |
– |
va_list v; |
2374 |
– |
va_start (v,p); |
2375 |
– |
s = g (p, va_arg (v,int)); |
2376 |
– |
va_end (v); |
2377 |
– |
return s; |
2378 |
– |
} |
2379 |
– |
int test (int i, double x); |
2380 |
– |
struct s1 {int (*f) (int a);}; |
2381 |
– |
struct s2 {int (*f) (double a);}; |
2382 |
– |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2383 |
– |
int argc; |
2384 |
– |
char **argv; |
2385 |
– |
int |
2386 |
– |
main () |
2387 |
– |
{ |
2388 |
– |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2389 |
– |
; |
2390 |
– |
return 0; |
2391 |
– |
} |
2392 |
– |
_ACEOF |
2393 |
– |
# Don't try gcc -ansi; that turns off useful extensions and |
2394 |
– |
# breaks some systems' header files. |
2395 |
– |
# AIX -qlanglvl=ansi |
2396 |
– |
# Ultrix and OSF/1 -std1 |
2397 |
– |
# HP-UX 10.20 and later -Ae |
2398 |
– |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2399 |
– |
# SVR4 -Xc -D__EXTENSIONS__ |
2400 |
– |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2401 |
– |
do |
2402 |
– |
CC="$ac_save_CC $ac_arg" |
2403 |
– |
rm -f conftest.$ac_objext |
2404 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2405 |
– |
(eval $ac_compile) 2>&5 |
2406 |
– |
ac_status=$? |
2407 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2408 |
– |
(exit $ac_status); } && |
2409 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2410 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2411 |
– |
(eval $ac_try) 2>&5 |
2412 |
– |
ac_status=$? |
2413 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2414 |
– |
(exit $ac_status); }; }; then |
2415 |
– |
ac_cv_prog_cc_stdc=$ac_arg |
2416 |
– |
break |
2417 |
– |
else |
2418 |
– |
echo "$as_me: failed program was:" >&5 |
2419 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
2420 |
– |
|
2421 |
– |
fi |
2422 |
– |
rm -f conftest.$ac_objext |
2423 |
– |
done |
2424 |
– |
rm -f conftest.$ac_ext conftest.$ac_objext |
2425 |
– |
CC=$ac_save_CC |
2426 |
– |
|
2427 |
– |
fi |
2428 |
– |
|
2429 |
– |
case "x$ac_cv_prog_cc_stdc" in |
2430 |
– |
x|xno) |
2431 |
– |
echo "$as_me:$LINENO: result: none needed" >&5 |
2432 |
– |
echo "${ECHO_T}none needed" >&6 ;; |
2433 |
– |
*) |
2434 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2435 |
– |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2436 |
– |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2437 |
– |
esac |
2438 |
– |
|
1808 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
1809 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
1810 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
1815 |
|
#endif |
1816 |
|
_ACEOF |
1817 |
|
rm -f conftest.$ac_objext |
1818 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1818 |
> |
if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5 |
1819 |
|
(eval $ac_compile) 2>&5 |
1820 |
|
ac_status=$? |
1821 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1821 |
> |
echo "$as_me:1821: \$? = $ac_status" >&5 |
1822 |
|
(exit $ac_status); } && |
1823 |
|
{ ac_try='test -s conftest.$ac_objext' |
1824 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1824 |
> |
{ (eval echo "$as_me:1824: \"$ac_try\"") >&5 |
1825 |
|
(eval $ac_try) 2>&5 |
1826 |
|
ac_status=$? |
1827 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1827 |
> |
echo "$as_me:1827: \$? = $ac_status" >&5 |
1828 |
|
(exit $ac_status); }; }; then |
1829 |
|
for ac_declaration in \ |
1830 |
|
''\ |
1836 |
|
'void exit (int);' |
1837 |
|
do |
1838 |
|
cat >conftest.$ac_ext <<_ACEOF |
1839 |
< |
#line $LINENO "configure" |
1840 |
< |
/* confdefs.h. */ |
2472 |
< |
_ACEOF |
2473 |
< |
cat confdefs.h >>conftest.$ac_ext |
2474 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2475 |
< |
/* end confdefs.h. */ |
1839 |
> |
#line 1839 "configure" |
1840 |
> |
#include "confdefs.h" |
1841 |
|
#include <stdlib.h> |
1842 |
|
$ac_declaration |
1843 |
|
int |
1849 |
|
} |
1850 |
|
_ACEOF |
1851 |
|
rm -f conftest.$ac_objext |
1852 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1852 |
> |
if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5 |
1853 |
|
(eval $ac_compile) 2>&5 |
1854 |
|
ac_status=$? |
1855 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1855 |
> |
echo "$as_me:1855: \$? = $ac_status" >&5 |
1856 |
|
(exit $ac_status); } && |
1857 |
|
{ ac_try='test -s conftest.$ac_objext' |
1858 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1858 |
> |
{ (eval echo "$as_me:1858: \"$ac_try\"") >&5 |
1859 |
|
(eval $ac_try) 2>&5 |
1860 |
|
ac_status=$? |
1861 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1861 |
> |
echo "$as_me:1861: \$? = $ac_status" >&5 |
1862 |
|
(exit $ac_status); }; }; then |
1863 |
|
: |
1864 |
|
else |
1865 |
|
echo "$as_me: failed program was:" >&5 |
1866 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2502 |
< |
|
1866 |
> |
cat conftest.$ac_ext >&5 |
1867 |
|
continue |
1868 |
|
fi |
1869 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1870 |
|
cat >conftest.$ac_ext <<_ACEOF |
1871 |
< |
#line $LINENO "configure" |
1872 |
< |
/* confdefs.h. */ |
2509 |
< |
_ACEOF |
2510 |
< |
cat confdefs.h >>conftest.$ac_ext |
2511 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2512 |
< |
/* end confdefs.h. */ |
1871 |
> |
#line 1871 "configure" |
1872 |
> |
#include "confdefs.h" |
1873 |
|
$ac_declaration |
1874 |
|
int |
1875 |
|
main () |
1880 |
|
} |
1881 |
|
_ACEOF |
1882 |
|
rm -f conftest.$ac_objext |
1883 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1883 |
> |
if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5 |
1884 |
|
(eval $ac_compile) 2>&5 |
1885 |
|
ac_status=$? |
1886 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1886 |
> |
echo "$as_me:1886: \$? = $ac_status" >&5 |
1887 |
|
(exit $ac_status); } && |
1888 |
|
{ ac_try='test -s conftest.$ac_objext' |
1889 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1889 |
> |
{ (eval echo "$as_me:1889: \"$ac_try\"") >&5 |
1890 |
|
(eval $ac_try) 2>&5 |
1891 |
|
ac_status=$? |
1892 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1892 |
> |
echo "$as_me:1892: \$? = $ac_status" >&5 |
1893 |
|
(exit $ac_status); }; }; then |
1894 |
|
break |
1895 |
|
else |
1896 |
|
echo "$as_me: failed program was:" >&5 |
1897 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2538 |
< |
|
1897 |
> |
cat conftest.$ac_ext >&5 |
1898 |
|
fi |
1899 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1900 |
|
done |
1901 |
< |
rm -f conftest* |
1902 |
< |
if test -n "$ac_declaration"; then |
1903 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
2545 |
< |
echo $ac_declaration >>confdefs.h |
2546 |
< |
echo '#endif' >>confdefs.h |
2547 |
< |
fi |
1901 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
1902 |
> |
echo $ac_declaration >>confdefs.h |
1903 |
> |
echo '#endif' >>confdefs.h |
1904 |
|
|
1905 |
|
else |
1906 |
|
echo "$as_me: failed program was:" >&5 |
1907 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2552 |
< |
|
1907 |
> |
cat conftest.$ac_ext >&5 |
1908 |
|
fi |
1909 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1910 |
|
ac_ext=c |
1923 |
|
do |
1924 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1925 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1926 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1926 |
> |
echo "$as_me:1926: checking for $ac_word" >&5 |
1927 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1928 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
1929 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1931 |
|
if test -n "$CXX"; then |
1932 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
1933 |
|
else |
1934 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1935 |
< |
for as_dir in $PATH |
1936 |
< |
do |
1937 |
< |
IFS=$as_save_IFS |
1938 |
< |
test -z "$as_dir" && as_dir=. |
1939 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1940 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1941 |
< |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1942 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2588 |
< |
break 2 |
2589 |
< |
fi |
1934 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1935 |
> |
ac_dummy="$PATH" |
1936 |
> |
for ac_dir in $ac_dummy; do |
1937 |
> |
IFS=$ac_save_IFS |
1938 |
> |
test -z "$ac_dir" && ac_dir=. |
1939 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1940 |
> |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1941 |
> |
echo "$as_me:1941: found $ac_dir/$ac_word" >&5 |
1942 |
> |
break |
1943 |
|
done |
2591 |
– |
done |
1944 |
|
|
1945 |
|
fi |
1946 |
|
fi |
1947 |
|
CXX=$ac_cv_prog_CXX |
1948 |
|
if test -n "$CXX"; then |
1949 |
< |
echo "$as_me:$LINENO: result: $CXX" >&5 |
1949 |
> |
echo "$as_me:1949: result: $CXX" >&5 |
1950 |
|
echo "${ECHO_T}$CXX" >&6 |
1951 |
|
else |
1952 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1952 |
> |
echo "$as_me:1952: result: no" >&5 |
1953 |
|
echo "${ECHO_T}no" >&6 |
1954 |
|
fi |
1955 |
|
|
1962 |
|
do |
1963 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1964 |
|
set dummy $ac_prog; ac_word=$2 |
1965 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1965 |
> |
echo "$as_me:1965: checking for $ac_word" >&5 |
1966 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1967 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
1968 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1970 |
|
if test -n "$ac_ct_CXX"; then |
1971 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
1972 |
|
else |
1973 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1974 |
< |
for as_dir in $PATH |
1975 |
< |
do |
1976 |
< |
IFS=$as_save_IFS |
1977 |
< |
test -z "$as_dir" && as_dir=. |
1978 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1979 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1980 |
< |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1981 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2630 |
< |
break 2 |
2631 |
< |
fi |
1973 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1974 |
> |
ac_dummy="$PATH" |
1975 |
> |
for ac_dir in $ac_dummy; do |
1976 |
> |
IFS=$ac_save_IFS |
1977 |
> |
test -z "$ac_dir" && ac_dir=. |
1978 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1979 |
> |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1980 |
> |
echo "$as_me:1980: found $ac_dir/$ac_word" >&5 |
1981 |
> |
break |
1982 |
|
done |
2633 |
– |
done |
1983 |
|
|
1984 |
|
fi |
1985 |
|
fi |
1986 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
1987 |
|
if test -n "$ac_ct_CXX"; then |
1988 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
1988 |
> |
echo "$as_me:1988: result: $ac_ct_CXX" >&5 |
1989 |
|
echo "${ECHO_T}$ac_ct_CXX" >&6 |
1990 |
|
else |
1991 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1991 |
> |
echo "$as_me:1991: result: no" >&5 |
1992 |
|
echo "${ECHO_T}no" >&6 |
1993 |
|
fi |
1994 |
|
|
1999 |
|
CXX=$ac_ct_CXX |
2000 |
|
fi |
2001 |
|
|
2002 |
< |
|
2654 |
< |
# Provide some information about the compiler. |
2655 |
< |
echo "$as_me:$LINENO:" \ |
2656 |
< |
"checking for C++ compiler version" >&5 |
2657 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
2658 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2659 |
< |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2660 |
< |
ac_status=$? |
2661 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2662 |
< |
(exit $ac_status); } |
2663 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2664 |
< |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2665 |
< |
ac_status=$? |
2666 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2667 |
< |
(exit $ac_status); } |
2668 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2669 |
< |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2670 |
< |
ac_status=$? |
2671 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2672 |
< |
(exit $ac_status); } |
2673 |
< |
|
2674 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2002 |
> |
echo "$as_me:2002: checking whether we are using the GNU C++ compiler" >&5 |
2003 |
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
2004 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2005 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2006 |
|
else |
2007 |
|
cat >conftest.$ac_ext <<_ACEOF |
2008 |
< |
#line $LINENO "configure" |
2009 |
< |
/* confdefs.h. */ |
2682 |
< |
_ACEOF |
2683 |
< |
cat confdefs.h >>conftest.$ac_ext |
2684 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2685 |
< |
/* end confdefs.h. */ |
2008 |
> |
#line 2008 "configure" |
2009 |
> |
#include "confdefs.h" |
2010 |
|
|
2011 |
|
int |
2012 |
|
main () |
2020 |
|
} |
2021 |
|
_ACEOF |
2022 |
|
rm -f conftest.$ac_objext |
2023 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2023 |
> |
if { (eval echo "$as_me:2023: \"$ac_compile\"") >&5 |
2024 |
|
(eval $ac_compile) 2>&5 |
2025 |
|
ac_status=$? |
2026 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2026 |
> |
echo "$as_me:2026: \$? = $ac_status" >&5 |
2027 |
|
(exit $ac_status); } && |
2028 |
|
{ ac_try='test -s conftest.$ac_objext' |
2029 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2029 |
> |
{ (eval echo "$as_me:2029: \"$ac_try\"") >&5 |
2030 |
|
(eval $ac_try) 2>&5 |
2031 |
|
ac_status=$? |
2032 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2032 |
> |
echo "$as_me:2032: \$? = $ac_status" >&5 |
2033 |
|
(exit $ac_status); }; }; then |
2034 |
|
ac_compiler_gnu=yes |
2035 |
|
else |
2036 |
|
echo "$as_me: failed program was:" >&5 |
2037 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2714 |
< |
|
2037 |
> |
cat conftest.$ac_ext >&5 |
2038 |
|
ac_compiler_gnu=no |
2039 |
|
fi |
2040 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2041 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2042 |
|
|
2043 |
|
fi |
2044 |
< |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2044 |
> |
echo "$as_me:2044: result: $ac_cv_cxx_compiler_gnu" >&5 |
2045 |
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
2046 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2047 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2048 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
2049 |
|
CXXFLAGS="-g" |
2050 |
< |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2050 |
> |
echo "$as_me:2050: checking whether $CXX accepts -g" >&5 |
2051 |
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
2052 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2053 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2054 |
|
else |
2055 |
|
cat >conftest.$ac_ext <<_ACEOF |
2056 |
< |
#line $LINENO "configure" |
2057 |
< |
/* confdefs.h. */ |
2735 |
< |
_ACEOF |
2736 |
< |
cat confdefs.h >>conftest.$ac_ext |
2737 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2738 |
< |
/* end confdefs.h. */ |
2056 |
> |
#line 2056 "configure" |
2057 |
> |
#include "confdefs.h" |
2058 |
|
|
2059 |
|
int |
2060 |
|
main () |
2065 |
|
} |
2066 |
|
_ACEOF |
2067 |
|
rm -f conftest.$ac_objext |
2068 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2068 |
> |
if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5 |
2069 |
|
(eval $ac_compile) 2>&5 |
2070 |
|
ac_status=$? |
2071 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2071 |
> |
echo "$as_me:2071: \$? = $ac_status" >&5 |
2072 |
|
(exit $ac_status); } && |
2073 |
|
{ ac_try='test -s conftest.$ac_objext' |
2074 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2074 |
> |
{ (eval echo "$as_me:2074: \"$ac_try\"") >&5 |
2075 |
|
(eval $ac_try) 2>&5 |
2076 |
|
ac_status=$? |
2077 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2077 |
> |
echo "$as_me:2077: \$? = $ac_status" >&5 |
2078 |
|
(exit $ac_status); }; }; then |
2079 |
|
ac_cv_prog_cxx_g=yes |
2080 |
|
else |
2081 |
|
echo "$as_me: failed program was:" >&5 |
2082 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2764 |
< |
|
2082 |
> |
cat conftest.$ac_ext >&5 |
2083 |
|
ac_cv_prog_cxx_g=no |
2084 |
|
fi |
2085 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2086 |
|
fi |
2087 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2087 |
> |
echo "$as_me:2087: result: $ac_cv_prog_cxx_g" >&5 |
2088 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2089 |
|
if test "$ac_test_CXXFLAGS" = set; then |
2090 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
2111 |
|
'void exit (int);' |
2112 |
|
do |
2113 |
|
cat >conftest.$ac_ext <<_ACEOF |
2114 |
< |
#line $LINENO "configure" |
2115 |
< |
/* confdefs.h. */ |
2798 |
< |
_ACEOF |
2799 |
< |
cat confdefs.h >>conftest.$ac_ext |
2800 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2801 |
< |
/* end confdefs.h. */ |
2114 |
> |
#line 2114 "configure" |
2115 |
> |
#include "confdefs.h" |
2116 |
|
#include <stdlib.h> |
2117 |
|
$ac_declaration |
2118 |
|
int |
2124 |
|
} |
2125 |
|
_ACEOF |
2126 |
|
rm -f conftest.$ac_objext |
2127 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2127 |
> |
if { (eval echo "$as_me:2127: \"$ac_compile\"") >&5 |
2128 |
|
(eval $ac_compile) 2>&5 |
2129 |
|
ac_status=$? |
2130 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2130 |
> |
echo "$as_me:2130: \$? = $ac_status" >&5 |
2131 |
|
(exit $ac_status); } && |
2132 |
|
{ ac_try='test -s conftest.$ac_objext' |
2133 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2133 |
> |
{ (eval echo "$as_me:2133: \"$ac_try\"") >&5 |
2134 |
|
(eval $ac_try) 2>&5 |
2135 |
|
ac_status=$? |
2136 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2136 |
> |
echo "$as_me:2136: \$? = $ac_status" >&5 |
2137 |
|
(exit $ac_status); }; }; then |
2138 |
|
: |
2139 |
|
else |
2140 |
|
echo "$as_me: failed program was:" >&5 |
2141 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2828 |
< |
|
2141 |
> |
cat conftest.$ac_ext >&5 |
2142 |
|
continue |
2143 |
|
fi |
2144 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2145 |
|
cat >conftest.$ac_ext <<_ACEOF |
2146 |
< |
#line $LINENO "configure" |
2147 |
< |
/* confdefs.h. */ |
2835 |
< |
_ACEOF |
2836 |
< |
cat confdefs.h >>conftest.$ac_ext |
2837 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2838 |
< |
/* end confdefs.h. */ |
2146 |
> |
#line 2146 "configure" |
2147 |
> |
#include "confdefs.h" |
2148 |
|
$ac_declaration |
2149 |
|
int |
2150 |
|
main () |
2155 |
|
} |
2156 |
|
_ACEOF |
2157 |
|
rm -f conftest.$ac_objext |
2158 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2158 |
> |
if { (eval echo "$as_me:2158: \"$ac_compile\"") >&5 |
2159 |
|
(eval $ac_compile) 2>&5 |
2160 |
|
ac_status=$? |
2161 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2161 |
> |
echo "$as_me:2161: \$? = $ac_status" >&5 |
2162 |
|
(exit $ac_status); } && |
2163 |
|
{ ac_try='test -s conftest.$ac_objext' |
2164 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2164 |
> |
{ (eval echo "$as_me:2164: \"$ac_try\"") >&5 |
2165 |
|
(eval $ac_try) 2>&5 |
2166 |
|
ac_status=$? |
2167 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2167 |
> |
echo "$as_me:2167: \$? = $ac_status" >&5 |
2168 |
|
(exit $ac_status); }; }; then |
2169 |
|
break |
2170 |
|
else |
2171 |
|
echo "$as_me: failed program was:" >&5 |
2172 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2864 |
< |
|
2172 |
> |
cat conftest.$ac_ext >&5 |
2173 |
|
fi |
2174 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2175 |
|
done |
2176 |
< |
rm -f conftest* |
2177 |
< |
if test -n "$ac_declaration"; then |
2178 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
2871 |
< |
echo $ac_declaration >>confdefs.h |
2872 |
< |
echo '#endif' >>confdefs.h |
2873 |
< |
fi |
2176 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
2177 |
> |
echo $ac_declaration >>confdefs.h |
2178 |
> |
echo '#endif' >>confdefs.h |
2179 |
|
|
2180 |
|
ac_ext=c |
2181 |
|
ac_cpp='$CPP $CPPFLAGS' |
2192 |
|
do |
2193 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2194 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2195 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2195 |
> |
echo "$as_me:2195: checking for $ac_word" >&5 |
2196 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2197 |
|
if test "${ac_cv_prog_F90+set}" = set; then |
2198 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2200 |
|
if test -n "$F90"; then |
2201 |
|
ac_cv_prog_F90="$F90" # Let the user override the test. |
2202 |
|
else |
2203 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2204 |
< |
for as_dir in $PATH |
2205 |
< |
do |
2206 |
< |
IFS=$as_save_IFS |
2207 |
< |
test -z "$as_dir" && as_dir=. |
2208 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2209 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2210 |
< |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
2211 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2907 |
< |
break 2 |
2908 |
< |
fi |
2203 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2204 |
> |
ac_dummy="$PATH" |
2205 |
> |
for ac_dir in $ac_dummy; do |
2206 |
> |
IFS=$ac_save_IFS |
2207 |
> |
test -z "$ac_dir" && ac_dir=. |
2208 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2209 |
> |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
2210 |
> |
echo "$as_me:2210: found $ac_dir/$ac_word" >&5 |
2211 |
> |
break |
2212 |
|
done |
2910 |
– |
done |
2213 |
|
|
2214 |
|
fi |
2215 |
|
fi |
2216 |
|
F90=$ac_cv_prog_F90 |
2217 |
|
if test -n "$F90"; then |
2218 |
< |
echo "$as_me:$LINENO: result: $F90" >&5 |
2218 |
> |
echo "$as_me:2218: result: $F90" >&5 |
2219 |
|
echo "${ECHO_T}$F90" >&6 |
2220 |
|
else |
2221 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2221 |
> |
echo "$as_me:2221: result: no" >&5 |
2222 |
|
echo "${ECHO_T}no" >&6 |
2223 |
|
fi |
2224 |
|
|
2231 |
|
do |
2232 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2233 |
|
set dummy $ac_prog; ac_word=$2 |
2234 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2234 |
> |
echo "$as_me:2234: checking for $ac_word" >&5 |
2235 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2236 |
|
if test "${ac_cv_prog_ac_ct_F90+set}" = set; then |
2237 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2239 |
|
if test -n "$ac_ct_F90"; then |
2240 |
|
ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. |
2241 |
|
else |
2242 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2243 |
< |
for as_dir in $PATH |
2244 |
< |
do |
2245 |
< |
IFS=$as_save_IFS |
2246 |
< |
test -z "$as_dir" && as_dir=. |
2247 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2248 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2249 |
< |
ac_cv_prog_ac_ct_F90="$ac_prog" |
2250 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2949 |
< |
break 2 |
2950 |
< |
fi |
2242 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2243 |
> |
ac_dummy="$PATH" |
2244 |
> |
for ac_dir in $ac_dummy; do |
2245 |
> |
IFS=$ac_save_IFS |
2246 |
> |
test -z "$ac_dir" && ac_dir=. |
2247 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2248 |
> |
ac_cv_prog_ac_ct_F90="$ac_prog" |
2249 |
> |
echo "$as_me:2249: found $ac_dir/$ac_word" >&5 |
2250 |
> |
break |
2251 |
|
done |
2952 |
– |
done |
2252 |
|
|
2253 |
|
fi |
2254 |
|
fi |
2255 |
|
ac_ct_F90=$ac_cv_prog_ac_ct_F90 |
2256 |
|
if test -n "$ac_ct_F90"; then |
2257 |
< |
echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 |
2257 |
> |
echo "$as_me:2257: result: $ac_ct_F90" >&5 |
2258 |
|
echo "${ECHO_T}$ac_ct_F90" >&6 |
2259 |
|
else |
2260 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2260 |
> |
echo "$as_me:2260: result: no" >&5 |
2261 |
|
echo "${ECHO_T}no" >&6 |
2262 |
|
fi |
2263 |
|
|
2267 |
|
F90=$ac_ct_F90 |
2268 |
|
fi |
2269 |
|
|
2971 |
– |
|
2270 |
|
# If we don't use `.F90' as extension, the preprocessor is not run on the |
2271 |
|
# input file. |
2272 |
|
ac_save_ext=$ac_ext |
2273 |
|
ac_ext=F90 |
2274 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 |
2274 |
> |
echo "$as_me:2274: checking whether we are using the GNU Fortran 90 compiler" >&5 |
2275 |
|
echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 |
2276 |
|
if test "${ac_cv_f90_compiler_gnu+set}" = set; then |
2277 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2288 |
|
|
2289 |
|
_ACEOF |
2290 |
|
rm -f conftest.$ac_objext |
2291 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2291 |
> |
if { (eval echo "$as_me:2291: \"$ac_compile\"") >&5 |
2292 |
|
(eval $ac_compile) 2>&5 |
2293 |
|
ac_status=$? |
2294 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2294 |
> |
echo "$as_me:2294: \$? = $ac_status" >&5 |
2295 |
|
(exit $ac_status); } && |
2296 |
|
{ ac_try='test -s conftest.$ac_objext' |
2297 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2297 |
> |
{ (eval echo "$as_me:2297: \"$ac_try\"") >&5 |
2298 |
|
(eval $ac_try) 2>&5 |
2299 |
|
ac_status=$? |
2300 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2300 |
> |
echo "$as_me:2300: \$? = $ac_status" >&5 |
2301 |
|
(exit $ac_status); }; }; then |
2302 |
|
ac_compiler_gnu=yes |
2303 |
|
else |
2304 |
|
echo "$as_me: failed program was:" >&5 |
2305 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3008 |
< |
|
2305 |
> |
cat conftest.$ac_ext >&5 |
2306 |
|
ac_compiler_gnu=no |
2307 |
|
fi |
2308 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2309 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
2310 |
|
|
2311 |
|
fi |
2312 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 |
2312 |
> |
echo "$as_me:2312: result: $ac_cv_f90_compiler_gnu" >&5 |
2313 |
|
echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 |
2314 |
|
ac_ext=$ac_save_ext |
2315 |
|
G95=`test $ac_compiler_gnu = yes && echo yes` |
2319 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2320 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2321 |
|
|
3025 |
– |
|
3026 |
– |
|
3027 |
– |
|
3028 |
– |
|
2322 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
2323 |
|
# for preprocessed f90 source. |
2324 |
|
|
2349 |
|
PREPFLAG="" |
2350 |
|
fi |
2351 |
|
|
2352 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
2352 |
> |
echo "$as_me:2352: checking to make sure F90 preprocessor flag works" >&5 |
2353 |
|
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 |
2354 |
|
|
3062 |
– |
|
2355 |
|
ac_ext=f90 |
2356 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2357 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2367 |
|
|
2368 |
|
cat >conftest.$ac_ext <<_ACEOF |
2369 |
|
|
3078 |
– |
|
2370 |
|
program main |
2371 |
|
|
2372 |
|
integer :: i |
2373 |
|
i = 1 |
2374 |
|
|
3084 |
– |
|
2375 |
|
end program main |
2376 |
|
|
2377 |
|
_ACEOF |
2378 |
|
rm -f conftest.$ac_objext |
2379 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2379 |
> |
if { (eval echo "$as_me:2379: \"$ac_compile\"") >&5 |
2380 |
|
(eval $ac_compile) 2>&5 |
2381 |
|
ac_status=$? |
2382 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2382 |
> |
echo "$as_me:2382: \$? = $ac_status" >&5 |
2383 |
|
(exit $ac_status); } && |
2384 |
|
{ ac_try='test -s conftest.$ac_objext' |
2385 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2385 |
> |
{ (eval echo "$as_me:2385: \"$ac_try\"") >&5 |
2386 |
|
(eval $ac_try) 2>&5 |
2387 |
|
ac_status=$? |
2388 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2388 |
> |
echo "$as_me:2388: \$? = $ac_status" >&5 |
2389 |
|
(exit $ac_status); }; }; then |
2390 |
|
prepflagworks=1 |
2391 |
|
else |
2392 |
|
echo "$as_me: failed program was:" >&5 |
2393 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3104 |
< |
|
2393 |
> |
cat conftest.$ac_ext >&5 |
2394 |
|
prepflagworks=0 |
2395 |
|
fi |
2396 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2403 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2404 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2405 |
|
|
3117 |
– |
|
3118 |
– |
|
2406 |
|
if test "$prepflagworks" = 1; then |
2407 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2407 |
> |
echo "$as_me:2407: result: yes" >&5 |
2408 |
|
echo "${ECHO_T}yes" >&6 |
2409 |
|
|
2410 |
|
else |
2411 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2411 |
> |
echo "$as_me:2411: result: no" >&5 |
2412 |
|
echo "${ECHO_T}no" >&6 |
2413 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
2413 |
> |
{ { echo "$as_me:2413: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
2414 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
2415 |
|
{ (exit 1); exit 1; }; } |
2416 |
|
fi |
2417 |
|
fi |
2418 |
|
|
3132 |
– |
|
3133 |
– |
|
3134 |
– |
|
3135 |
– |
|
2419 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
2420 |
|
# for preprocessed f90 source with -D type defines |
2421 |
|
|
2446 |
|
PREPDEFFLAG=" " |
2447 |
|
fi |
2448 |
|
|
2449 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
2449 |
> |
echo "$as_me:2449: checking to make sure F90 preprocessor define flag works" >&5 |
2450 |
|
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 |
2451 |
|
|
3169 |
– |
|
2452 |
|
ac_ext=f90 |
2453 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2454 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2464 |
|
|
2465 |
|
cat >conftest.$ac_ext <<_ACEOF |
2466 |
|
|
3185 |
– |
|
2467 |
|
program main |
2468 |
|
|
2469 |
|
integer :: i |
2473 |
|
choke me |
2474 |
|
#endif |
2475 |
|
|
3195 |
– |
|
2476 |
|
end program main |
2477 |
|
|
2478 |
|
_ACEOF |
2479 |
|
rm -f conftest.$ac_objext |
2480 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2480 |
> |
if { (eval echo "$as_me:2480: \"$ac_compile\"") >&5 |
2481 |
|
(eval $ac_compile) 2>&5 |
2482 |
|
ac_status=$? |
2483 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2483 |
> |
echo "$as_me:2483: \$? = $ac_status" >&5 |
2484 |
|
(exit $ac_status); } && |
2485 |
|
{ ac_try='test -s conftest.$ac_objext' |
2486 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2486 |
> |
{ (eval echo "$as_me:2486: \"$ac_try\"") >&5 |
2487 |
|
(eval $ac_try) 2>&5 |
2488 |
|
ac_status=$? |
2489 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2489 |
> |
echo "$as_me:2489: \$? = $ac_status" >&5 |
2490 |
|
(exit $ac_status); }; }; then |
2491 |
|
prepdefflagworks=1 |
2492 |
|
else |
2493 |
|
echo "$as_me: failed program was:" >&5 |
2494 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3215 |
< |
|
2494 |
> |
cat conftest.$ac_ext >&5 |
2495 |
|
prepdefflagworks=0 |
2496 |
|
fi |
2497 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2504 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2505 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2506 |
|
|
3228 |
– |
|
3229 |
– |
|
2507 |
|
if test "$prepdefflagworks" = 1; then |
2508 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2508 |
> |
echo "$as_me:2508: result: yes" >&5 |
2509 |
|
echo "${ECHO_T}yes" >&6 |
2510 |
|
|
2511 |
|
else |
2512 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2512 |
> |
echo "$as_me:2512: result: no" >&5 |
2513 |
|
echo "${ECHO_T}no" >&6 |
2514 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
2514 |
> |
{ { echo "$as_me:2514: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
2515 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
2516 |
|
{ (exit 1); exit 1; }; } |
2517 |
|
fi |
2518 |
|
fi |
2519 |
|
|
3243 |
– |
|
2520 |
|
case $debug in |
2521 |
|
1) |
2522 |
|
;; |
2523 |
|
*) |
2524 |
|
|
3249 |
– |
|
3250 |
– |
|
3251 |
– |
|
2525 |
|
# Try to determine "good" native compiler flags if none specified on command |
2526 |
|
# line |
2527 |
|
if test "$ac_test_CFLAGS" != "set"; then |
2583 |
|
if test $ac_cv_c_compiler_gnu = yes; then |
2584 |
|
# -malign-double for x86 systems |
2585 |
|
|
2586 |
< |
|
3314 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
2586 |
> |
echo "$as_me:2586: checking whether ${CC-cc} accepts -malign-double" >&5 |
2587 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
2588 |
|
if test "${ac_align_double+set}" = set; then |
2589 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2597 |
|
rm -f conftest* |
2598 |
|
|
2599 |
|
fi |
2600 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
2600 |
> |
echo "$as_me:2600: result: $ac_align_double" >&5 |
2601 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
2602 |
|
if test "$ac_align_double" = yes; then |
2603 |
|
: |
2609 |
|
|
2610 |
|
# -fstrict-aliasing for gcc-2.95+ |
2611 |
|
|
2612 |
< |
|
3341 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
2612 |
> |
echo "$as_me:2612: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
2613 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
2614 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
2615 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2623 |
|
rm -f conftest* |
2624 |
|
|
2625 |
|
fi |
2626 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
2626 |
> |
echo "$as_me:2626: result: $ac_fstrict_aliasing" >&5 |
2627 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
2628 |
|
if test "$ac_fstrict_aliasing" = yes; then |
2629 |
|
: |
2640 |
|
case "${host_cpu}" in |
2641 |
|
i586*) |
2642 |
|
|
2643 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2643 |
> |
echo "$as_me:2643: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2644 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
2645 |
|
if test "${ac_cpu_pentium+set}" = set; then |
2646 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2654 |
|
rm -f conftest* |
2655 |
|
|
2656 |
|
fi |
2657 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
2657 |
> |
echo "$as_me:2657: result: $ac_cpu_pentium" >&5 |
2658 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
2659 |
|
if test "$ac_cpu_pentium" = yes; then |
2660 |
|
: |
2662 |
|
else |
2663 |
|
: |
2664 |
|
|
2665 |
< |
|
3395 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
2665 |
> |
echo "$as_me:2665: checking whether ${CC-cc} accepts -mpentium" >&5 |
2666 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
2667 |
|
if test "${ac_pentium+set}" = set; then |
2668 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2676 |
|
rm -f conftest* |
2677 |
|
|
2678 |
|
fi |
2679 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
2679 |
> |
echo "$as_me:2679: result: $ac_pentium" >&5 |
2680 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
2681 |
|
if test "$ac_pentium" = yes; then |
2682 |
|
: |
2691 |
|
;; |
2692 |
|
i686*) |
2693 |
|
|
2694 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
2694 |
> |
echo "$as_me:2694: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
2695 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
2696 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
2697 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2705 |
|
rm -f conftest* |
2706 |
|
|
2707 |
|
fi |
2708 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
2708 |
> |
echo "$as_me:2708: result: $ac_cpu_pentiumpro" >&5 |
2709 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
2710 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
2711 |
|
: |
2713 |
|
else |
2714 |
|
: |
2715 |
|
|
2716 |
< |
|
3447 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
2716 |
> |
echo "$as_me:2716: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
2717 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
2718 |
|
if test "${ac_pentiumpro+set}" = set; then |
2719 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2727 |
|
rm -f conftest* |
2728 |
|
|
2729 |
|
fi |
2730 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
2730 |
> |
echo "$as_me:2730: result: $ac_pentiumpro" >&5 |
2731 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
2732 |
|
if test "$ac_pentiumpro" = yes; then |
2733 |
|
: |
2745 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
2746 |
|
if test -n "$is60x"; then |
2747 |
|
|
2748 |
< |
|
3480 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
2748 |
> |
echo "$as_me:2748: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
2749 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
2750 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
2751 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2759 |
|
rm -f conftest* |
2760 |
|
|
2761 |
|
fi |
2762 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
2762 |
> |
echo "$as_me:2762: result: $ac_m_cpu_60x" >&5 |
2763 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
2764 |
|
if test "$ac_m_cpu_60x" = yes; then |
2765 |
|
: |
2771 |
|
|
2772 |
|
elif test "$cputype" = 750; then |
2773 |
|
|
2774 |
< |
|
3507 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
2774 |
> |
echo "$as_me:2774: checking whether we are using gcc 2.95 or later" >&5 |
2775 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
2776 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
2777 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2785 |
|
#endif |
2786 |
|
EOF |
2787 |
|
if { ac_try='${CC-cc} -E conftest.c' |
2788 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2788 |
> |
{ (eval echo "$as_me:2788: \"$ac_try\"") >&5 |
2789 |
|
(eval $ac_try) 2>&5 |
2790 |
|
ac_status=$? |
2791 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2791 |
> |
echo "$as_me:2791: \$? = $ac_status" >&5 |
2792 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
2793 |
|
ac_cv_prog_gcc_2_95=yes |
2794 |
|
else |
2796 |
|
fi |
2797 |
|
|
2798 |
|
fi |
2799 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
2799 |
> |
echo "$as_me:2799: result: $ac_cv_prog_gcc_2_95" >&5 |
2800 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
2801 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
2802 |
|
: |
2803 |
|
|
2804 |
< |
|
3538 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
2804 |
> |
echo "$as_me:2804: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
2805 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6 |
2806 |
|
if test "${ac_m_cpu_750+set}" = set; then |
2807 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2815 |
|
rm -f conftest* |
2816 |
|
|
2817 |
|
fi |
2818 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
2818 |
> |
echo "$as_me:2818: result: $ac_m_cpu_750" >&5 |
2819 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
2820 |
|
if test "$ac_m_cpu_750" = yes; then |
2821 |
|
: |
2832 |
|
|
2833 |
|
fi |
2834 |
|
if test -z "$CPU_FLAGS"; then |
3569 |
– |
|
2835 |
|
|
2836 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
2836 |
> |
echo "$as_me:2836: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
2837 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6 |
2838 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
2839 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2847 |
|
rm -f conftest* |
2848 |
|
|
2849 |
|
fi |
2850 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
2850 |
> |
echo "$as_me:2850: result: $ac_m_cpu_powerpc" >&5 |
2851 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
2852 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
2853 |
|
: |
2860 |
|
fi |
2861 |
|
if test -z "$CPU_FLAGS"; then |
2862 |
|
|
2863 |
< |
|
3599 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
2863 |
> |
echo "$as_me:2863: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
2864 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6 |
2865 |
|
if test "${ac_m_powerpc+set}" = set; then |
2866 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2874 |
|
rm -f conftest* |
2875 |
|
|
2876 |
|
fi |
2877 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
2877 |
> |
echo "$as_me:2877: result: $ac_m_powerpc" >&5 |
2878 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
2879 |
|
if test "$ac_m_powerpc" = yes; then |
2880 |
|
: |
2903 |
|
CFLAGS="-O3" |
2904 |
|
fi |
2905 |
|
|
2906 |
< |
|
3643 |
< |
|
3644 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
2906 |
> |
echo "$as_me:2906: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
2907 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6 |
2908 |
|
if test "${ac_guessed_cflags+set}" = set; then |
2909 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2917 |
|
rm -f conftest* |
2918 |
|
|
2919 |
|
fi |
2920 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
2920 |
> |
echo "$as_me:2920: result: $ac_guessed_cflags" >&5 |
2921 |
|
echo "${ECHO_T}$ac_guessed_cflags" >&6 |
2922 |
|
if test "$ac_guessed_cflags" = yes; then |
2923 |
|
: |
2936 |
|
|
2937 |
|
fi |
2938 |
|
|
3677 |
– |
|
2939 |
|
fi |
2940 |
|
|
3680 |
– |
|
3681 |
– |
|
3682 |
– |
|
3683 |
– |
|
2941 |
|
# Try to determine "good" native compiler flags if none specified on command |
2942 |
|
# line |
2943 |
|
if test "$ac_test_CXXFLAGS" != "set"; then |
2990 |
|
if test $ac_cv_c_compiler_gnu = yes; then |
2991 |
|
# -malign-double for x86 systems |
2992 |
|
|
2993 |
< |
|
3737 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5 |
2993 |
> |
echo "$as_me:2993: checking whether ${CXX-c++} accepts -malign-double" >&5 |
2994 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6 |
2995 |
|
if test "${ac_align_double+set}" = set; then |
2996 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3004 |
|
rm -f conftest* |
3005 |
|
|
3006 |
|
fi |
3007 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
3007 |
> |
echo "$as_me:3007: result: $ac_align_double" >&5 |
3008 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
3009 |
|
if test "$ac_align_double" = yes; then |
3010 |
|
: |
3016 |
|
|
3017 |
|
# -fstrict-aliasing for gcc-2.95+ |
3018 |
|
|
3019 |
< |
|
3764 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
3019 |
> |
echo "$as_me:3019: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
3020 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6 |
3021 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
3022 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3030 |
|
rm -f conftest* |
3031 |
|
|
3032 |
|
fi |
3033 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
3033 |
> |
echo "$as_me:3033: result: $ac_fstrict_aliasing" >&5 |
3034 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
3035 |
|
if test "$ac_fstrict_aliasing" = yes; then |
3036 |
|
: |
3047 |
|
case "${host_cpu}" in |
3048 |
|
i586*) |
3049 |
|
|
3050 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
3050 |
> |
echo "$as_me:3050: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
3051 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
3052 |
|
if test "${ac_cpu_pentium+set}" = set; then |
3053 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3061 |
|
rm -f conftest* |
3062 |
|
|
3063 |
|
fi |
3064 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
3064 |
> |
echo "$as_me:3064: result: $ac_cpu_pentium" >&5 |
3065 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
3066 |
|
if test "$ac_cpu_pentium" = yes; then |
3067 |
|
: |
3069 |
|
else |
3070 |
|
: |
3071 |
|
|
3072 |
< |
|
3818 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5 |
3072 |
> |
echo "$as_me:3072: checking whether ${CXX-c++} accepts -mpentium" >&5 |
3073 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6 |
3074 |
|
if test "${ac_pentium+set}" = set; then |
3075 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3083 |
|
rm -f conftest* |
3084 |
|
|
3085 |
|
fi |
3086 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
3086 |
> |
echo "$as_me:3086: result: $ac_pentium" >&5 |
3087 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
3088 |
|
if test "$ac_pentium" = yes; then |
3089 |
|
: |
3098 |
|
;; |
3099 |
|
i686*) |
3100 |
|
|
3101 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
3101 |
> |
echo "$as_me:3101: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
3102 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
3103 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
3104 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3112 |
|
rm -f conftest* |
3113 |
|
|
3114 |
|
fi |
3115 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
3115 |
> |
echo "$as_me:3115: result: $ac_cpu_pentiumpro" >&5 |
3116 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
3117 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
3118 |
|
: |
3120 |
|
else |
3121 |
|
: |
3122 |
|
|
3123 |
< |
|
3870 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
3123 |
> |
echo "$as_me:3123: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
3124 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6 |
3125 |
|
if test "${ac_pentiumpro+set}" = set; then |
3126 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3134 |
|
rm -f conftest* |
3135 |
|
|
3136 |
|
fi |
3137 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
3137 |
> |
echo "$as_me:3137: result: $ac_pentiumpro" >&5 |
3138 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
3139 |
|
if test "$ac_pentiumpro" = yes; then |
3140 |
|
: |
3152 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
3153 |
|
if test -n "$is60x"; then |
3154 |
|
|
3155 |
< |
|
3903 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
3155 |
> |
echo "$as_me:3155: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
3156 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6 |
3157 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
3158 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3166 |
|
rm -f conftest* |
3167 |
|
|
3168 |
|
fi |
3169 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
3169 |
> |
echo "$as_me:3169: result: $ac_m_cpu_60x" >&5 |
3170 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
3171 |
|
if test "$ac_m_cpu_60x" = yes; then |
3172 |
|
: |
3178 |
|
|
3179 |
|
elif test "$cputype" = 750; then |
3180 |
|
|
3181 |
< |
|
3930 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
3181 |
> |
echo "$as_me:3181: checking whether we are using gcc 2.95 or later" >&5 |
3182 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
3183 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
3184 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3192 |
|
#endif |
3193 |
|
EOF |
3194 |
|
if { ac_try='${CC-cc} -E conftest.c' |
3195 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3195 |
> |
{ (eval echo "$as_me:3195: \"$ac_try\"") >&5 |
3196 |
|
(eval $ac_try) 2>&5 |
3197 |
|
ac_status=$? |
3198 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3198 |
> |
echo "$as_me:3198: \$? = $ac_status" >&5 |
3199 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
3200 |
|
ac_cv_prog_gcc_2_95=yes |
3201 |
|
else |
3203 |
|
fi |
3204 |
|
|
3205 |
|
fi |
3206 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
3206 |
> |
echo "$as_me:3206: result: $ac_cv_prog_gcc_2_95" >&5 |
3207 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
3208 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
3209 |
|
: |
3210 |
|
|
3211 |
< |
|
3961 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
3211 |
> |
echo "$as_me:3211: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
3212 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6 |
3213 |
|
if test "${ac_m_cpu_750+set}" = set; then |
3214 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3222 |
|
rm -f conftest* |
3223 |
|
|
3224 |
|
fi |
3225 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
3225 |
> |
echo "$as_me:3225: result: $ac_m_cpu_750" >&5 |
3226 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
3227 |
|
if test "$ac_m_cpu_750" = yes; then |
3228 |
|
: |
3240 |
|
fi |
3241 |
|
if test -z "$CPU_FLAGS"; then |
3242 |
|
|
3243 |
< |
|
3994 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
3243 |
> |
echo "$as_me:3243: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
3244 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6 |
3245 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
3246 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3254 |
|
rm -f conftest* |
3255 |
|
|
3256 |
|
fi |
3257 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
3257 |
> |
echo "$as_me:3257: result: $ac_m_cpu_powerpc" >&5 |
3258 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
3259 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
3260 |
|
: |
3267 |
|
fi |
3268 |
|
if test -z "$CPU_FLAGS"; then |
3269 |
|
|
3270 |
< |
|
4022 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
3270 |
> |
echo "$as_me:3270: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
3271 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6 |
3272 |
|
if test "${ac_m_powerpc+set}" = set; then |
3273 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3281 |
|
rm -f conftest* |
3282 |
|
|
3283 |
|
fi |
3284 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
3284 |
> |
echo "$as_me:3284: result: $ac_m_powerpc" >&5 |
3285 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
3286 |
|
if test "$ac_m_powerpc" = yes; then |
3287 |
|
: |
3310 |
|
CXXFLAGS="-O3" |
3311 |
|
fi |
3312 |
|
|
3313 |
< |
|
4066 |
< |
|
4067 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
3313 |
> |
echo "$as_me:3313: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
3314 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6 |
3315 |
|
if test "${ac_guessed_cxxflags+set}" = set; then |
3316 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3324 |
|
rm -f conftest* |
3325 |
|
|
3326 |
|
fi |
3327 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
3327 |
> |
echo "$as_me:3327: result: $ac_guessed_cxxflags" >&5 |
3328 |
|
echo "${ECHO_T}$ac_guessed_cxxflags" >&6 |
3329 |
|
if test "$ac_guessed_cxxflags" = yes; then |
3330 |
|
: |
3343 |
|
|
3344 |
|
fi |
3345 |
|
|
4100 |
– |
|
3346 |
|
fi |
3347 |
|
|
4103 |
– |
|
4104 |
– |
|
4105 |
– |
|
4106 |
– |
|
3348 |
|
# Try to determine "good" native compiler flags if none specified on command |
3349 |
|
# line |
3350 |
|
|
3351 |
< |
if test x"$F90FLAGS" == x ; then |
3351 |
> |
if test x"$F90FLAGS" = x ; then |
3352 |
|
F90FLAGS="" |
3353 |
|
case "${host_cpu}-${host_os}" in |
3354 |
|
|
3401 |
|
F90FLAGS="-O3" |
3402 |
|
fi |
3403 |
|
|
3404 |
< |
|
4164 |
< |
echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
3404 |
> |
echo "$as_me:3404: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
3405 |
|
echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6 |
3406 |
|
if test "${ac_guessed_f90flags+set}" = set; then |
3407 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3408 |
|
else |
3409 |
|
|
4170 |
– |
|
4171 |
– |
|
3410 |
|
ac_ext=f90 |
3411 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3412 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3415 |
|
echo 'program main' > conftest.$ac_ext |
3416 |
|
echo 'end program main' >> conftest.$ac_ext |
3417 |
|
ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5' |
3418 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3418 |
> |
if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5 |
3419 |
|
(eval $ac_compile) 2>&5 |
3420 |
|
ac_status=$? |
3421 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3421 |
> |
echo "$as_me:3421: \$? = $ac_status" >&5 |
3422 |
|
(exit $ac_status); }; then |
3423 |
|
ac_guessed_f90flags=yes |
3424 |
|
else |
3431 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3432 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3433 |
|
|
4196 |
– |
|
3434 |
|
fi |
3435 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
3435 |
> |
echo "$as_me:3435: result: $ac_guessed_f90flags" >&5 |
3436 |
|
echo "${ECHO_T}$ac_guessed_f90flags" >&6 |
3437 |
|
if test "$ac_guessed_f90flags" = yes; then |
3438 |
|
: |
3451 |
|
|
3452 |
|
fi |
3453 |
|
|
4217 |
– |
|
3454 |
|
fi |
3455 |
|
|
3456 |
|
;; |
3468 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3469 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3470 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
3471 |
< |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3472 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3471 |
> |
echo "$as_me:3471: checking for a BSD compatible install" >&5 |
3472 |
> |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
3473 |
|
if test -z "$INSTALL"; then |
3474 |
|
if test "${ac_cv_path_install+set}" = set; then |
3475 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3476 |
|
else |
3477 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3478 |
< |
for as_dir in $PATH |
3479 |
< |
do |
3480 |
< |
IFS=$as_save_IFS |
3481 |
< |
test -z "$as_dir" && as_dir=. |
3482 |
< |
# Account for people who put trailing slashes in PATH elements. |
3483 |
< |
case $as_dir/ in |
3484 |
< |
./ | .// | /cC/* | \ |
3485 |
< |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3486 |
< |
/usr/ucb/* ) ;; |
3487 |
< |
*) |
3488 |
< |
# OSF1 and SCO ODT 3.0 have their own names for install. |
3489 |
< |
# Don't use installbsd from OSF since it installs stuff as root |
3490 |
< |
# by default. |
3491 |
< |
for ac_prog in ginstall scoinst install; do |
3492 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3493 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3494 |
< |
if test $ac_prog = install && |
3495 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3496 |
< |
# AIX install. It has an incompatible calling convention. |
3497 |
< |
: |
3498 |
< |
elif test $ac_prog = install && |
3499 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3500 |
< |
# program-specific install script used by HP pwplus--don't use. |
3501 |
< |
: |
3502 |
< |
else |
3503 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4268 |
< |
break 3 |
4269 |
< |
fi |
4270 |
< |
fi |
3477 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3478 |
> |
for ac_dir in $PATH; do |
3479 |
> |
IFS=$ac_save_IFS |
3480 |
> |
# Account for people who put trailing slashes in PATH elements. |
3481 |
> |
case $ac_dir/ in |
3482 |
> |
/ | ./ | .// | /cC/* \ |
3483 |
> |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
3484 |
> |
| /usr/ucb/* ) ;; |
3485 |
> |
*) |
3486 |
> |
# OSF1 and SCO ODT 3.0 have their own names for install. |
3487 |
> |
# Don't use installbsd from OSF since it installs stuff as root |
3488 |
> |
# by default. |
3489 |
> |
for ac_prog in ginstall scoinst install; do |
3490 |
> |
if $as_executable_p "$ac_dir/$ac_prog"; then |
3491 |
> |
if test $ac_prog = install && |
3492 |
> |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3493 |
> |
# AIX install. It has an incompatible calling convention. |
3494 |
> |
: |
3495 |
> |
elif test $ac_prog = install && |
3496 |
> |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3497 |
> |
# program-specific install script used by HP pwplus--don't use. |
3498 |
> |
: |
3499 |
> |
else |
3500 |
> |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
3501 |
> |
break 2 |
3502 |
> |
fi |
3503 |
> |
fi |
3504 |
|
done |
3505 |
< |
done |
3506 |
< |
;; |
3507 |
< |
esac |
4275 |
< |
done |
3505 |
> |
;; |
3506 |
> |
esac |
3507 |
> |
done |
3508 |
|
|
4277 |
– |
|
3509 |
|
fi |
3510 |
|
if test "${ac_cv_path_install+set}" = set; then |
3511 |
|
INSTALL=$ac_cv_path_install |
3517 |
|
INSTALL=$ac_install_sh |
3518 |
|
fi |
3519 |
|
fi |
3520 |
< |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3520 |
> |
echo "$as_me:3520: result: $INSTALL" >&5 |
3521 |
|
echo "${ECHO_T}$INSTALL" >&6 |
3522 |
|
|
3523 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3528 |
|
|
3529 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3530 |
|
|
3531 |
< |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
3531 |
> |
echo "$as_me:3531: checking whether ln -s works" >&5 |
3532 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3533 |
|
LN_S=$as_ln_s |
3534 |
|
if test "$LN_S" = "ln -s"; then |
3535 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3535 |
> |
echo "$as_me:3535: result: yes" >&5 |
3536 |
|
echo "${ECHO_T}yes" >&6 |
3537 |
|
else |
3538 |
< |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3538 |
> |
echo "$as_me:3538: result: no, using $LN_S" >&5 |
3539 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
3540 |
|
fi |
3541 |
|
|
3542 |
< |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3543 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3542 |
> |
echo "$as_me:3542: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3543 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
3544 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
3545 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3546 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3547 |
|
else |
3548 |
< |
cat >conftest.make <<\_ACEOF |
3548 |
> |
cat >conftest.make <<\EOF |
3549 |
|
all: |
3550 |
< |
@echo 'ac_maketemp="$(MAKE)"' |
3551 |
< |
_ACEOF |
3550 |
> |
@echo 'ac_maketemp="${MAKE}"' |
3551 |
> |
EOF |
3552 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3553 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3554 |
|
if test -n "$ac_maketemp"; then |
3559 |
|
rm -f conftest.make |
3560 |
|
fi |
3561 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3562 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3562 |
> |
echo "$as_me:3562: result: yes" >&5 |
3563 |
|
echo "${ECHO_T}yes" >&6 |
3564 |
|
SET_MAKE= |
3565 |
|
else |
3566 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3566 |
> |
echo "$as_me:3566: result: no" >&5 |
3567 |
|
echo "${ECHO_T}no" >&6 |
3568 |
|
SET_MAKE="MAKE=${MAKE-make}" |
3569 |
|
fi |
3571 |
|
if test -n "$ac_tool_prefix"; then |
3572 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3573 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3574 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3574 |
> |
echo "$as_me:3574: checking for $ac_word" >&5 |
3575 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3576 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
3577 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3579 |
|
if test -n "$RANLIB"; then |
3580 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3581 |
|
else |
3582 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3583 |
< |
for as_dir in $PATH |
3584 |
< |
do |
3585 |
< |
IFS=$as_save_IFS |
3586 |
< |
test -z "$as_dir" && as_dir=. |
3587 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3588 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3589 |
< |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3590 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4360 |
< |
break 2 |
4361 |
< |
fi |
3582 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3583 |
> |
ac_dummy="$PATH" |
3584 |
> |
for ac_dir in $ac_dummy; do |
3585 |
> |
IFS=$ac_save_IFS |
3586 |
> |
test -z "$ac_dir" && ac_dir=. |
3587 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3588 |
> |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3589 |
> |
echo "$as_me:3589: found $ac_dir/$ac_word" >&5 |
3590 |
> |
break |
3591 |
|
done |
4363 |
– |
done |
3592 |
|
|
3593 |
|
fi |
3594 |
|
fi |
3595 |
|
RANLIB=$ac_cv_prog_RANLIB |
3596 |
|
if test -n "$RANLIB"; then |
3597 |
< |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3597 |
> |
echo "$as_me:3597: result: $RANLIB" >&5 |
3598 |
|
echo "${ECHO_T}$RANLIB" >&6 |
3599 |
|
else |
3600 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3600 |
> |
echo "$as_me:3600: result: no" >&5 |
3601 |
|
echo "${ECHO_T}no" >&6 |
3602 |
|
fi |
3603 |
|
|
3606 |
|
ac_ct_RANLIB=$RANLIB |
3607 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
3608 |
|
set dummy ranlib; ac_word=$2 |
3609 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3609 |
> |
echo "$as_me:3609: checking for $ac_word" >&5 |
3610 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3611 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3612 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3614 |
|
if test -n "$ac_ct_RANLIB"; then |
3615 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3616 |
|
else |
3617 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3618 |
< |
for as_dir in $PATH |
3619 |
< |
do |
3620 |
< |
IFS=$as_save_IFS |
3621 |
< |
test -z "$as_dir" && as_dir=. |
3622 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3623 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3624 |
< |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3625 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4398 |
< |
break 2 |
4399 |
< |
fi |
3617 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3618 |
> |
ac_dummy="$PATH" |
3619 |
> |
for ac_dir in $ac_dummy; do |
3620 |
> |
IFS=$ac_save_IFS |
3621 |
> |
test -z "$ac_dir" && ac_dir=. |
3622 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3623 |
> |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3624 |
> |
echo "$as_me:3624: found $ac_dir/$ac_word" >&5 |
3625 |
> |
break |
3626 |
|
done |
4401 |
– |
done |
3627 |
|
|
3628 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3629 |
|
fi |
3630 |
|
fi |
3631 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3632 |
|
if test -n "$ac_ct_RANLIB"; then |
3633 |
< |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3633 |
> |
echo "$as_me:3633: result: $ac_ct_RANLIB" >&5 |
3634 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3635 |
|
else |
3636 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3636 |
> |
echo "$as_me:3636: result: no" >&5 |
3637 |
|
echo "${ECHO_T}no" >&6 |
3638 |
|
fi |
3639 |
|
|
3646 |
|
do |
3647 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3648 |
|
set dummy $ac_prog; ac_word=$2 |
3649 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3649 |
> |
echo "$as_me:3649: checking for $ac_word" >&5 |
3650 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3651 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
3652 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3654 |
|
if test -n "$YACC"; then |
3655 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3656 |
|
else |
3657 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3658 |
< |
for as_dir in $PATH |
3659 |
< |
do |
3660 |
< |
IFS=$as_save_IFS |
3661 |
< |
test -z "$as_dir" && as_dir=. |
3662 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3663 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3664 |
< |
ac_cv_prog_YACC="$ac_prog" |
3665 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4441 |
< |
break 2 |
4442 |
< |
fi |
3657 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3658 |
> |
ac_dummy="$PATH" |
3659 |
> |
for ac_dir in $ac_dummy; do |
3660 |
> |
IFS=$ac_save_IFS |
3661 |
> |
test -z "$ac_dir" && ac_dir=. |
3662 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3663 |
> |
ac_cv_prog_YACC="$ac_prog" |
3664 |
> |
echo "$as_me:3664: found $ac_dir/$ac_word" >&5 |
3665 |
> |
break |
3666 |
|
done |
4444 |
– |
done |
3667 |
|
|
3668 |
|
fi |
3669 |
|
fi |
3670 |
|
YACC=$ac_cv_prog_YACC |
3671 |
|
if test -n "$YACC"; then |
3672 |
< |
echo "$as_me:$LINENO: result: $YACC" >&5 |
3672 |
> |
echo "$as_me:3672: result: $YACC" >&5 |
3673 |
|
echo "${ECHO_T}$YACC" >&6 |
3674 |
|
else |
3675 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3675 |
> |
echo "$as_me:3675: result: no" >&5 |
3676 |
|
echo "${ECHO_T}no" >&6 |
3677 |
|
fi |
3678 |
|
|
3680 |
|
done |
3681 |
|
test -n "$YACC" || YACC="yacc" |
3682 |
|
|
4461 |
– |
|
3683 |
|
for ac_prog in flex lex |
3684 |
|
do |
3685 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3686 |
|
set dummy $ac_prog; ac_word=$2 |
3687 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3687 |
> |
echo "$as_me:3687: checking for $ac_word" >&5 |
3688 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3689 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
3690 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3692 |
|
if test -n "$LEX"; then |
3693 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3694 |
|
else |
3695 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3696 |
< |
for as_dir in $PATH |
3697 |
< |
do |
3698 |
< |
IFS=$as_save_IFS |
3699 |
< |
test -z "$as_dir" && as_dir=. |
3700 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3701 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3702 |
< |
ac_cv_prog_LEX="$ac_prog" |
3703 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4483 |
< |
break 2 |
4484 |
< |
fi |
3695 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3696 |
> |
ac_dummy="$PATH" |
3697 |
> |
for ac_dir in $ac_dummy; do |
3698 |
> |
IFS=$ac_save_IFS |
3699 |
> |
test -z "$ac_dir" && ac_dir=. |
3700 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3701 |
> |
ac_cv_prog_LEX="$ac_prog" |
3702 |
> |
echo "$as_me:3702: found $ac_dir/$ac_word" >&5 |
3703 |
> |
break |
3704 |
|
done |
4486 |
– |
done |
3705 |
|
|
3706 |
|
fi |
3707 |
|
fi |
3708 |
|
LEX=$ac_cv_prog_LEX |
3709 |
|
if test -n "$LEX"; then |
3710 |
< |
echo "$as_me:$LINENO: result: $LEX" >&5 |
3710 |
> |
echo "$as_me:3710: result: $LEX" >&5 |
3711 |
|
echo "${ECHO_T}$LEX" >&6 |
3712 |
|
else |
3713 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3713 |
> |
echo "$as_me:3713: result: no" >&5 |
3714 |
|
echo "${ECHO_T}no" >&6 |
3715 |
|
fi |
3716 |
|
|
3720 |
|
|
3721 |
|
if test -z "$LEXLIB" |
3722 |
|
then |
3723 |
< |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
3723 |
> |
echo "$as_me:3723: checking for yywrap in -lfl" >&5 |
3724 |
|
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
3725 |
|
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
3726 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3728 |
|
ac_check_lib_save_LIBS=$LIBS |
3729 |
|
LIBS="-lfl $LIBS" |
3730 |
|
cat >conftest.$ac_ext <<_ACEOF |
3731 |
< |
#line $LINENO "configure" |
3732 |
< |
/* confdefs.h. */ |
4515 |
< |
_ACEOF |
4516 |
< |
cat confdefs.h >>conftest.$ac_ext |
4517 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4518 |
< |
/* end confdefs.h. */ |
3731 |
> |
#line 3731 "configure" |
3732 |
> |
#include "confdefs.h" |
3733 |
|
|
3734 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3735 |
|
#ifdef __cplusplus |
3747 |
|
} |
3748 |
|
_ACEOF |
3749 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3750 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3750 |
> |
if { (eval echo "$as_me:3750: \"$ac_link\"") >&5 |
3751 |
|
(eval $ac_link) 2>&5 |
3752 |
|
ac_status=$? |
3753 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3753 |
> |
echo "$as_me:3753: \$? = $ac_status" >&5 |
3754 |
|
(exit $ac_status); } && |
3755 |
|
{ ac_try='test -s conftest$ac_exeext' |
3756 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3756 |
> |
{ (eval echo "$as_me:3756: \"$ac_try\"") >&5 |
3757 |
|
(eval $ac_try) 2>&5 |
3758 |
|
ac_status=$? |
3759 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3759 |
> |
echo "$as_me:3759: \$? = $ac_status" >&5 |
3760 |
|
(exit $ac_status); }; }; then |
3761 |
|
ac_cv_lib_fl_yywrap=yes |
3762 |
|
else |
3763 |
|
echo "$as_me: failed program was:" >&5 |
3764 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4551 |
< |
|
3764 |
> |
cat conftest.$ac_ext >&5 |
3765 |
|
ac_cv_lib_fl_yywrap=no |
3766 |
|
fi |
3767 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3768 |
|
LIBS=$ac_check_lib_save_LIBS |
3769 |
|
fi |
3770 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
3770 |
> |
echo "$as_me:3770: result: $ac_cv_lib_fl_yywrap" >&5 |
3771 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
3772 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
3773 |
|
LEXLIB="-lfl" |
3774 |
|
else |
3775 |
< |
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
3775 |
> |
echo "$as_me:3775: checking for yywrap in -ll" >&5 |
3776 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
3777 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
3778 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3780 |
|
ac_check_lib_save_LIBS=$LIBS |
3781 |
|
LIBS="-ll $LIBS" |
3782 |
|
cat >conftest.$ac_ext <<_ACEOF |
3783 |
< |
#line $LINENO "configure" |
3784 |
< |
/* confdefs.h. */ |
4572 |
< |
_ACEOF |
4573 |
< |
cat confdefs.h >>conftest.$ac_ext |
4574 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4575 |
< |
/* end confdefs.h. */ |
3783 |
> |
#line 3783 "configure" |
3784 |
> |
#include "confdefs.h" |
3785 |
|
|
3786 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3787 |
|
#ifdef __cplusplus |
3799 |
|
} |
3800 |
|
_ACEOF |
3801 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3802 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3802 |
> |
if { (eval echo "$as_me:3802: \"$ac_link\"") >&5 |
3803 |
|
(eval $ac_link) 2>&5 |
3804 |
|
ac_status=$? |
3805 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3805 |
> |
echo "$as_me:3805: \$? = $ac_status" >&5 |
3806 |
|
(exit $ac_status); } && |
3807 |
|
{ ac_try='test -s conftest$ac_exeext' |
3808 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3808 |
> |
{ (eval echo "$as_me:3808: \"$ac_try\"") >&5 |
3809 |
|
(eval $ac_try) 2>&5 |
3810 |
|
ac_status=$? |
3811 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3811 |
> |
echo "$as_me:3811: \$? = $ac_status" >&5 |
3812 |
|
(exit $ac_status); }; }; then |
3813 |
|
ac_cv_lib_l_yywrap=yes |
3814 |
|
else |
3815 |
|
echo "$as_me: failed program was:" >&5 |
3816 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4608 |
< |
|
3816 |
> |
cat conftest.$ac_ext >&5 |
3817 |
|
ac_cv_lib_l_yywrap=no |
3818 |
|
fi |
3819 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3820 |
|
LIBS=$ac_check_lib_save_LIBS |
3821 |
|
fi |
3822 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
3822 |
> |
echo "$as_me:3822: result: $ac_cv_lib_l_yywrap" >&5 |
3823 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
3824 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
3825 |
|
LEXLIB="-ll" |
3830 |
|
fi |
3831 |
|
|
3832 |
|
if test "x$LEX" != "x:"; then |
3833 |
< |
echo "$as_me:$LINENO: checking lex output file root" >&5 |
3833 |
> |
echo "$as_me:3833: checking lex output file root" >&5 |
3834 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
3835 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
3836 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3837 |
|
else |
3838 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
3839 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
3840 |
< |
cat >conftest.l <<_ACEOF |
3841 |
< |
%% |
4634 |
< |
%% |
4635 |
< |
_ACEOF |
4636 |
< |
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
4637 |
< |
(eval $LEX conftest.l) 2>&5 |
4638 |
< |
ac_status=$? |
4639 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4640 |
< |
(exit $ac_status); } |
3840 |
> |
echo '%% |
3841 |
> |
%%' | $LEX |
3842 |
|
if test -f lex.yy.c; then |
3843 |
|
ac_cv_prog_lex_root=lex.yy |
3844 |
|
elif test -f lexyy.c; then |
3845 |
|
ac_cv_prog_lex_root=lexyy |
3846 |
|
else |
3847 |
< |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
3847 |
> |
{ { echo "$as_me:3847: error: cannot find output from $LEX; giving up" >&5 |
3848 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
3849 |
|
{ (exit 1); exit 1; }; } |
3850 |
|
fi |
3851 |
|
fi |
3852 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
3852 |
> |
echo "$as_me:3852: result: $ac_cv_prog_lex_root" >&5 |
3853 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
4653 |
– |
rm -f conftest.l |
3854 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
3855 |
|
|
3856 |
< |
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
3856 |
> |
echo "$as_me:3856: checking whether yytext is a pointer" >&5 |
3857 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
3858 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
3859 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3869 |
|
`cat $LEX_OUTPUT_ROOT.c` |
3870 |
|
_ACEOF |
3871 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3872 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3872 |
> |
if { (eval echo "$as_me:3872: \"$ac_link\"") >&5 |
3873 |
|
(eval $ac_link) 2>&5 |
3874 |
|
ac_status=$? |
3875 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3875 |
> |
echo "$as_me:3875: \$? = $ac_status" >&5 |
3876 |
|
(exit $ac_status); } && |
3877 |
|
{ ac_try='test -s conftest$ac_exeext' |
3878 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3878 |
> |
{ (eval echo "$as_me:3878: \"$ac_try\"") >&5 |
3879 |
|
(eval $ac_try) 2>&5 |
3880 |
|
ac_status=$? |
3881 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3881 |
> |
echo "$as_me:3881: \$? = $ac_status" >&5 |
3882 |
|
(exit $ac_status); }; }; then |
3883 |
|
ac_cv_prog_lex_yytext_pointer=yes |
3884 |
|
else |
3885 |
|
echo "$as_me: failed program was:" >&5 |
3886 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4687 |
< |
|
3886 |
> |
cat conftest.$ac_ext >&5 |
3887 |
|
fi |
3888 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3889 |
|
LIBS=$ac_save_LIBS |
3890 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
3891 |
|
|
3892 |
|
fi |
3893 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
3893 |
> |
echo "$as_me:3893: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
3894 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
3895 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
3896 |
|
|
3897 |
< |
cat >>confdefs.h <<\_ACEOF |
3897 |
> |
cat >>confdefs.h <<\EOF |
3898 |
|
#define YYTEXT_POINTER 1 |
3899 |
< |
_ACEOF |
3899 |
> |
EOF |
3900 |
|
|
3901 |
|
fi |
3902 |
|
|
3903 |
|
fi |
3904 |
|
# Extract the first word of "ar", so it can be a program name with args. |
3905 |
|
set dummy ar; ac_word=$2 |
3906 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3906 |
> |
echo "$as_me:3906: checking for $ac_word" >&5 |
3907 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3908 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
3909 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3911 |
|
if test -n "$AR"; then |
3912 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
3913 |
|
else |
3914 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3915 |
< |
for as_dir in $PATH |
3916 |
< |
do |
3917 |
< |
IFS=$as_save_IFS |
3918 |
< |
test -z "$as_dir" && as_dir=. |
3919 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3920 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3921 |
< |
ac_cv_prog_AR="ar" |
3922 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4724 |
< |
break 2 |
4725 |
< |
fi |
3914 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3915 |
> |
ac_dummy="$PATH" |
3916 |
> |
for ac_dir in $ac_dummy; do |
3917 |
> |
IFS=$ac_save_IFS |
3918 |
> |
test -z "$ac_dir" && ac_dir=. |
3919 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3920 |
> |
ac_cv_prog_AR="ar" |
3921 |
> |
echo "$as_me:3921: found $ac_dir/$ac_word" >&5 |
3922 |
> |
break |
3923 |
|
done |
4727 |
– |
done |
3924 |
|
|
3925 |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" |
3926 |
|
fi |
3927 |
|
fi |
3928 |
|
AR=$ac_cv_prog_AR |
3929 |
|
if test -n "$AR"; then |
3930 |
< |
echo "$as_me:$LINENO: result: $AR" >&5 |
3930 |
> |
echo "$as_me:3930: result: $AR" >&5 |
3931 |
|
echo "${ECHO_T}$AR" >&6 |
3932 |
|
else |
3933 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3933 |
> |
echo "$as_me:3933: result: no" >&5 |
3934 |
|
echo "${ECHO_T}no" >&6 |
3935 |
|
fi |
3936 |
|
|
3937 |
|
if test "$AR" = "NONE"; then |
3938 |
< |
{ { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 |
3938 |
> |
{ { echo "$as_me:3938: error: --> Can't find \`ar'!" >&5 |
3939 |
|
echo "$as_me: error: --> Can't find \`ar'!" >&2;} |
3940 |
|
{ (exit 1); exit 1; }; } |
3941 |
|
cat >confcache <<\_ACEOF |
3948 |
|
# config.status only pays attention to the cache file if you give it |
3949 |
|
# the --recheck option to rerun configure. |
3950 |
|
# |
3951 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
3951 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
3952 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
3953 |
|
# following values. |
3954 |
|
|
3967 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
3968 |
|
sed -n \ |
3969 |
|
"s/'/'\\\\''/g; |
3970 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3970 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3971 |
|
;; |
3972 |
|
*) |
3973 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
3974 |
|
sed -n \ |
3975 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3975 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3976 |
|
;; |
3977 |
|
esac; |
3978 |
|
} | |
3983 |
|
t end |
3984 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3985 |
|
: end' >>confcache |
3986 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
3986 |
> |
if cmp -s $cache_file confcache; then :; else |
3987 |
|
if test -w $cache_file; then |
3988 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
3989 |
|
cat confcache >$cache_file |
4000 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4001 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4002 |
|
|
4807 |
– |
|
4808 |
– |
|
4003 |
|
ac_ext=f90 |
4004 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4005 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4006 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4007 |
< |
echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 |
4007 |
> |
echo "$as_me:4007: checking how to get verbose linking output from $F90" >&5 |
4008 |
|
echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 |
4009 |
|
if test "${ac_cv_prog_f90_v+set}" = set; then |
4010 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4014 |
|
|
4015 |
|
program main |
4016 |
|
|
4823 |
– |
|
4017 |
|
end program main |
4018 |
|
|
4019 |
|
_ACEOF |
4020 |
|
rm -f conftest.$ac_objext |
4021 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4021 |
> |
if { (eval echo "$as_me:4021: \"$ac_compile\"") >&5 |
4022 |
|
(eval $ac_compile) 2>&5 |
4023 |
|
ac_status=$? |
4024 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4024 |
> |
echo "$as_me:4024: \$? = $ac_status" >&5 |
4025 |
|
(exit $ac_status); } && |
4026 |
|
{ ac_try='test -s conftest.$ac_objext' |
4027 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4027 |
> |
{ (eval echo "$as_me:4027: \"$ac_try\"") >&5 |
4028 |
|
(eval $ac_try) 2>&5 |
4029 |
|
ac_status=$? |
4030 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4030 |
> |
echo "$as_me:4030: \$? = $ac_status" >&5 |
4031 |
|
(exit $ac_status); }; }; then |
4032 |
|
ac_cv_prog_f90_v= |
4033 |
|
# Try some options frequently used verbose output |
4041 |
|
|
4042 |
|
program main |
4043 |
|
|
4851 |
– |
|
4044 |
|
end program main |
4045 |
|
|
4046 |
|
_ACEOF |
4052 |
|
ac_save_F90FLAGS=$F90FLAGS |
4053 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
4054 |
|
|
4055 |
< |
(eval echo $as_me:4863: \"$ac_link\") >&5 |
4055 |
> |
(eval echo $as_me:4055: \"$ac_link\") >&5 |
4056 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4057 |
|
echo "$ac_f90_v_output" >&5 |
4058 |
|
F90FLAGS=$ac_save_F90FLAGS |
4084 |
|
done |
4085 |
|
done |
4086 |
|
if test -z "$ac_cv_prog_f90_v"; then |
4087 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
4087 |
> |
{ echo "$as_me:4087: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
4088 |
|
echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} |
4089 |
|
fi |
4090 |
|
else |
4091 |
|
echo "$as_me: failed program was:" >&5 |
4092 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4093 |
< |
|
4902 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
4092 |
> |
cat conftest.$ac_ext >&5 |
4093 |
> |
{ echo "$as_me:4093: WARNING: compilation failed" >&5 |
4094 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
4095 |
|
fi |
4096 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
4097 |
|
|
4098 |
|
fi |
4099 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
4099 |
> |
echo "$as_me:4099: result: $ac_cv_prog_f90_v" >&5 |
4100 |
|
echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 |
4101 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 |
4101 |
> |
echo "$as_me:4101: checking for Fortran 90 libraries" >&5 |
4102 |
|
echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 |
4103 |
|
if test "${ac_cv_flibs+set}" = set; then |
4104 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4116 |
|
|
4117 |
|
program main |
4118 |
|
|
4928 |
– |
|
4119 |
|
end program main |
4120 |
|
|
4121 |
|
_ACEOF |
4127 |
|
ac_save_F90FLAGS=$F90FLAGS |
4128 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
4129 |
|
|
4130 |
< |
(eval echo $as_me:4940: \"$ac_link\") >&5 |
4130 |
> |
(eval echo $as_me:4130: \"$ac_link\") >&5 |
4131 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4132 |
|
echo "$ac_f90_v_output" >&5 |
4133 |
|
F90FLAGS=$ac_save_F90FLAGS |
4280 |
|
fi # test "x$F90LIBS" = "x" |
4281 |
|
|
4282 |
|
fi |
4283 |
< |
echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 |
4283 |
> |
echo "$as_me:4283: result: $ac_cv_flibs" >&5 |
4284 |
|
echo "${ECHO_T}$ac_cv_flibs" >&6 |
4285 |
|
F90LIBS="$ac_cv_f90libs" |
4286 |
|
|
4289 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4290 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4291 |
|
|
4292 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 |
4292 |
> |
echo "$as_me:4292: checking for Fortran 90 name-mangling scheme" >&5 |
4293 |
|
echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 |
4294 |
|
if test "${ac_cv_f90_mangling+set}" = set; then |
4295 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4307 |
|
end |
4308 |
|
_ACEOF |
4309 |
|
rm -f conftest.$ac_objext |
4310 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4310 |
> |
if { (eval echo "$as_me:4310: \"$ac_compile\"") >&5 |
4311 |
|
(eval $ac_compile) 2>&5 |
4312 |
|
ac_status=$? |
4313 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4313 |
> |
echo "$as_me:4313: \$? = $ac_status" >&5 |
4314 |
|
(exit $ac_status); } && |
4315 |
|
{ ac_try='test -s conftest.$ac_objext' |
4316 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4316 |
> |
{ (eval echo "$as_me:4316: \"$ac_try\"") >&5 |
4317 |
|
(eval $ac_try) 2>&5 |
4318 |
|
ac_status=$? |
4319 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4319 |
> |
echo "$as_me:4319: \$? = $ac_status" >&5 |
4320 |
|
(exit $ac_status); }; }; then |
4321 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
4322 |
|
|
4334 |
|
for ac_underscore in "" "_"; do |
4335 |
|
ac_func="$ac_foobar$ac_underscore" |
4336 |
|
cat >conftest.$ac_ext <<_ACEOF |
4337 |
< |
#line $LINENO "configure" |
4338 |
< |
/* confdefs.h. */ |
5149 |
< |
_ACEOF |
5150 |
< |
cat confdefs.h >>conftest.$ac_ext |
5151 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5152 |
< |
/* end confdefs.h. */ |
4337 |
> |
#line 4337 "configure" |
4338 |
> |
#include "confdefs.h" |
4339 |
|
|
4340 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4341 |
|
#ifdef __cplusplus |
4353 |
|
} |
4354 |
|
_ACEOF |
4355 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4356 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4356 |
> |
if { (eval echo "$as_me:4356: \"$ac_link\"") >&5 |
4357 |
|
(eval $ac_link) 2>&5 |
4358 |
|
ac_status=$? |
4359 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4359 |
> |
echo "$as_me:4359: \$? = $ac_status" >&5 |
4360 |
|
(exit $ac_status); } && |
4361 |
|
{ ac_try='test -s conftest$ac_exeext' |
4362 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4362 |
> |
{ (eval echo "$as_me:4362: \"$ac_try\"") >&5 |
4363 |
|
(eval $ac_try) 2>&5 |
4364 |
|
ac_status=$? |
4365 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4365 |
> |
echo "$as_me:4365: \$? = $ac_status" >&5 |
4366 |
|
(exit $ac_status); }; }; then |
4367 |
|
ac_success=yes; break 2 |
4368 |
|
else |
4369 |
|
echo "$as_me: failed program was:" >&5 |
4370 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5185 |
< |
|
4370 |
> |
cat conftest.$ac_ext >&5 |
4371 |
|
fi |
4372 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4373 |
|
done |
4390 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
4391 |
|
|
4392 |
|
cat >conftest.$ac_ext <<_ACEOF |
4393 |
< |
#line $LINENO "configure" |
4394 |
< |
/* confdefs.h. */ |
5210 |
< |
_ACEOF |
5211 |
< |
cat confdefs.h >>conftest.$ac_ext |
5212 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5213 |
< |
/* end confdefs.h. */ |
4393 |
> |
#line 4393 "configure" |
4394 |
> |
#include "confdefs.h" |
4395 |
|
|
4396 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4397 |
|
#ifdef __cplusplus |
4409 |
|
} |
4410 |
|
_ACEOF |
4411 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4412 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4412 |
> |
if { (eval echo "$as_me:4412: \"$ac_link\"") >&5 |
4413 |
|
(eval $ac_link) 2>&5 |
4414 |
|
ac_status=$? |
4415 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4415 |
> |
echo "$as_me:4415: \$? = $ac_status" >&5 |
4416 |
|
(exit $ac_status); } && |
4417 |
|
{ ac_try='test -s conftest$ac_exeext' |
4418 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4418 |
> |
{ (eval echo "$as_me:4418: \"$ac_try\"") >&5 |
4419 |
|
(eval $ac_try) 2>&5 |
4420 |
|
ac_status=$? |
4421 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4421 |
> |
echo "$as_me:4421: \$? = $ac_status" >&5 |
4422 |
|
(exit $ac_status); }; }; then |
4423 |
|
ac_success_extra=yes; break |
4424 |
|
else |
4425 |
|
echo "$as_me: failed program was:" >&5 |
4426 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5246 |
< |
|
4426 |
> |
cat conftest.$ac_ext >&5 |
4427 |
|
fi |
4428 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4429 |
|
done |
4457 |
|
rm -f cf90_test* conftest* |
4458 |
|
else |
4459 |
|
echo "$as_me: failed program was:" >&5 |
4460 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5281 |
< |
|
4460 |
> |
cat conftest.$ac_ext >&5 |
4461 |
|
fi |
4462 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
4463 |
|
ac_ext=f90 |
4466 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4467 |
|
|
4468 |
|
fi |
4469 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 |
4469 |
> |
echo "$as_me:4469: result: $ac_cv_f90_mangling" >&5 |
4470 |
|
echo "${ECHO_T}$ac_cv_f90_mangling" >&6 |
4471 |
|
|
5293 |
– |
|
5294 |
– |
|
4472 |
|
case $ac_cv_f90_mangling in |
4473 |
|
"lower case, no underscore, no extra underscore") |
4474 |
< |
cat >>confdefs.h <<\_ACEOF |
4474 |
> |
cat >>confdefs.h <<\EOF |
4475 |
|
#define F90_FUNC(name,NAME) name |
4476 |
< |
_ACEOF |
4476 |
> |
EOF |
4477 |
|
|
4478 |
< |
cat >>confdefs.h <<\_ACEOF |
4478 |
> |
cat >>confdefs.h <<\EOF |
4479 |
|
#define F90_FUNC_(name,NAME) name |
4480 |
< |
_ACEOF |
4480 |
> |
EOF |
4481 |
|
;; |
4482 |
|
"lower case, no underscore, extra underscore") |
4483 |
< |
cat >>confdefs.h <<\_ACEOF |
4483 |
> |
cat >>confdefs.h <<\EOF |
4484 |
|
#define F90_FUNC(name,NAME) name |
4485 |
< |
_ACEOF |
4485 |
> |
EOF |
4486 |
|
|
4487 |
< |
cat >>confdefs.h <<\_ACEOF |
4487 |
> |
cat >>confdefs.h <<\EOF |
4488 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4489 |
< |
_ACEOF |
4489 |
> |
EOF |
4490 |
|
;; |
4491 |
|
"lower case, underscore, no extra underscore") |
4492 |
< |
cat >>confdefs.h <<\_ACEOF |
4492 |
> |
cat >>confdefs.h <<\EOF |
4493 |
|
#define F90_FUNC(name,NAME) name ## _ |
4494 |
< |
_ACEOF |
4494 |
> |
EOF |
4495 |
|
|
4496 |
< |
cat >>confdefs.h <<\_ACEOF |
4496 |
> |
cat >>confdefs.h <<\EOF |
4497 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4498 |
< |
_ACEOF |
4498 |
> |
EOF |
4499 |
|
;; |
4500 |
|
"lower case, underscore, extra underscore") |
4501 |
< |
cat >>confdefs.h <<\_ACEOF |
4501 |
> |
cat >>confdefs.h <<\EOF |
4502 |
|
#define F90_FUNC(name,NAME) name ## _ |
4503 |
< |
_ACEOF |
4503 |
> |
EOF |
4504 |
|
|
4505 |
< |
cat >>confdefs.h <<\_ACEOF |
4505 |
> |
cat >>confdefs.h <<\EOF |
4506 |
|
#define F90_FUNC_(name,NAME) name ## __ |
4507 |
< |
_ACEOF |
4507 |
> |
EOF |
4508 |
|
;; |
4509 |
|
"upper case, no underscore, no extra underscore") |
4510 |
< |
cat >>confdefs.h <<\_ACEOF |
4510 |
> |
cat >>confdefs.h <<\EOF |
4511 |
|
#define F90_FUNC(name,NAME) NAME |
4512 |
< |
_ACEOF |
4512 |
> |
EOF |
4513 |
|
|
4514 |
< |
cat >>confdefs.h <<\_ACEOF |
4514 |
> |
cat >>confdefs.h <<\EOF |
4515 |
|
#define F90_FUNC_(name,NAME) NAME |
4516 |
< |
_ACEOF |
4516 |
> |
EOF |
4517 |
|
;; |
4518 |
|
"upper case, no underscore, extra underscore") |
4519 |
< |
cat >>confdefs.h <<\_ACEOF |
4519 |
> |
cat >>confdefs.h <<\EOF |
4520 |
|
#define F90_FUNC(name,NAME) NAME |
4521 |
< |
_ACEOF |
4521 |
> |
EOF |
4522 |
|
|
4523 |
< |
cat >>confdefs.h <<\_ACEOF |
4523 |
> |
cat >>confdefs.h <<\EOF |
4524 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4525 |
< |
_ACEOF |
4525 |
> |
EOF |
4526 |
|
;; |
4527 |
|
"upper case, underscore, no extra underscore") |
4528 |
< |
cat >>confdefs.h <<\_ACEOF |
4528 |
> |
cat >>confdefs.h <<\EOF |
4529 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4530 |
< |
_ACEOF |
4530 |
> |
EOF |
4531 |
|
|
4532 |
< |
cat >>confdefs.h <<\_ACEOF |
4532 |
> |
cat >>confdefs.h <<\EOF |
4533 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4534 |
< |
_ACEOF |
4534 |
> |
EOF |
4535 |
|
;; |
4536 |
|
"upper case, underscore, extra underscore") |
4537 |
< |
cat >>confdefs.h <<\_ACEOF |
4537 |
> |
cat >>confdefs.h <<\EOF |
4538 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4539 |
< |
_ACEOF |
4539 |
> |
EOF |
4540 |
|
|
4541 |
< |
cat >>confdefs.h <<\_ACEOF |
4541 |
> |
cat >>confdefs.h <<\EOF |
4542 |
|
#define F90_FUNC_(name,NAME) NAME ## __ |
4543 |
< |
_ACEOF |
4543 |
> |
EOF |
4544 |
|
;; |
4545 |
|
*) |
4546 |
< |
{ echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4546 |
> |
{ echo "$as_me:4546: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4547 |
|
echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} |
4548 |
|
;; |
4549 |
|
esac |
4550 |
|
|
4551 |
+ |
echo "$as_me:4551: checking for module suffix" >&5 |
4552 |
+ |
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 |
4553 |
+ |
rm -f conftest* |
4554 |
+ |
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
4555 |
+ |
rm -f work* |
4556 |
+ |
cat >conftest.f <<EOF |
4557 |
+ |
module conftest |
4558 |
+ |
integer n |
4559 |
+ |
parameter (n=1) |
4560 |
+ |
end module conftest |
4561 |
+ |
EOF |
4562 |
+ |
# SGI and absoft compilers generates module name in upper case! |
4563 |
+ |
testname="conftest" |
4564 |
+ |
modcase="lower" |
4565 |
+ |
if $F90 -c conftest.f > conftest.out 2>&1 ; then |
4566 |
+ |
MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o` |
4567 |
+ |
MOD=`echo "$MOD" | sed -e 's/conftest\.//g'` |
4568 |
+ |
if test -z "$MOD" ; then |
4569 |
+ |
MOD=`ls CONFTEST* 2>/dev/null \ |
4570 |
+ |
| grep -v CONFTEST.f | grep -v CONFTEST.o` |
4571 |
+ |
MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'` |
4572 |
+ |
if test -n "$MOD" ; then |
4573 |
+ |
testname="CONFTEST" |
4574 |
+ |
modcase="upper" |
4575 |
+ |
fi |
4576 |
+ |
fi |
4577 |
+ |
if test -z "$MOD" ; then |
4578 |
+ |
echo "$as_me:4578: result: unknown" >&5 |
4579 |
+ |
echo "${ECHO_T}unknown" >&6 |
4580 |
+ |
# Use mod if we can't figure it out |
4581 |
+ |
MOD="mod" |
4582 |
+ |
else |
4583 |
+ |
echo "$as_me:4583: result: $MOD" >&5 |
4584 |
+ |
echo "${ECHO_T}$MOD" >&6 |
4585 |
+ |
fi |
4586 |
+ |
if test -s work.pcl ; then |
4587 |
+ |
{ echo "$as_me:4587: WARNING: Compiler generates auxillery files!" >&5 |
4588 |
+ |
echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
4589 |
+ |
fi |
4590 |
+ |
else |
4591 |
+ |
echo "$as_me:4591: result: unknown" >&5 |
4592 |
+ |
echo "${ECHO_T}unknown" >&6 |
4593 |
+ |
fi |
4594 |
|
|
4595 |
+ |
# Check for module include path (some use -I, some (Solaris) use -M, some |
4596 |
+ |
# (absoft) use -p). |
4597 |
+ |
# Intel compilers use a wierd system: -cl,filename.pcl . If no file is |
4598 |
+ |
# specified, work.pcl and work.pc are created. However, if you specify |
4599 |
+ |
# a file, it must contain a the name of a file ending in .pc . Ugh! |
4600 |
+ |
# Use the module made above |
4601 |
+ |
echo "$as_me:4601: checking for module directory path flag" >&5 |
4602 |
+ |
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 |
4603 |
+ |
madedir=0 |
4604 |
+ |
if test ! -d conf ; then mkdir conf ; madedir=1; fi |
4605 |
+ |
cp $testname.$MOD conf |
4606 |
+ |
rm -f conftest* CONFTEST* |
4607 |
+ |
cat >conftest1.f <<EOF |
4608 |
+ |
program main |
4609 |
+ |
use conftest |
4610 |
+ |
print *, n |
4611 |
+ |
end |
4612 |
+ |
EOF |
4613 |
+ |
F90_WORK_FILES_ARG="" |
4614 |
+ |
F90MODINCSPEC="" |
4615 |
+ |
if $F90 -c -Iconf conftest1.f > conftest.out 2>&1 ; then |
4616 |
+ |
MODDIRFLAG="-I" |
4617 |
+ |
F90MODINCSPEC="-I<dir>" |
4618 |
+ |
echo "$as_me:4618: result: -I" >&5 |
4619 |
+ |
echo "${ECHO_T}-I" >&6 |
4620 |
+ |
elif $F90 -c -Mconf conftest1.f >> conftest.out 2>&1 ; then |
4621 |
+ |
MODDIRFLAG="-M" |
4622 |
+ |
F90MODINCSPEC="-M<dir>" |
4623 |
+ |
echo "$as_me:4623: result: -M" >&5 |
4624 |
+ |
echo "${ECHO_T}-M" >&6 |
4625 |
+ |
elif $F90 -c -pconf conftest1.f >> conftest.out 2>&1 ; then |
4626 |
+ |
MODDIRFLAG="-p" |
4627 |
+ |
F90MODINCSPEC="-p<dir>" |
4628 |
+ |
echo "$as_me:4628: result: -p" >&5 |
4629 |
+ |
echo "${ECHO_T}-p" >&6 |
4630 |
+ |
elif test -s work.pc ; then |
4631 |
+ |
cp work.pc conf/mpimod.pc |
4632 |
+ |
echo "mpimod.pc" > conf/mpimod.pcl |
4633 |
+ |
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl |
4634 |
+ |
if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then |
4635 |
+ |
MODDIRFLAG='-cl,mpimod.pcl' |
4636 |
+ |
echo "$as_me:4636: result: -cl,filename where filename contains a list of files and |
4637 |
+ |
directories" >&5 |
4638 |
+ |
echo "${ECHO_T}-cl,filename where filename contains a list of files and |
4639 |
+ |
directories" >&6 |
4640 |
+ |
F90_WORK_FILES_ARG="-cl,mpimod.pcl" |
4641 |
+ |
F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" |
4642 |
|
|
4643 |
+ |
else |
4644 |
+ |
# The version of the Intel compiler that I have refuses to let |
4645 |
+ |
# you put the "work catalog" list anywhere but the current directory. |
4646 |
+ |
# For example, you cannot in |
4647 |
+ |
: |
4648 |
+ |
fi |
4649 |
+ |
fi |
4650 |
+ |
if test -z "MODDIRFLAG" ; then |
4651 |
+ |
echo "$as_me:4651: result: unknown" >&5 |
4652 |
+ |
echo "${ECHO_T}unknown" >&6 |
4653 |
+ |
fi |
4654 |
|
|
4655 |
< |
echo "$as_me:$LINENO: checking for mpi-directory" >&5 |
4655 |
> |
rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* |
4656 |
> |
if test $madedir = 1 ; then rmdir conf ; fi |
4657 |
> |
|
4658 |
> |
echo "$as_me:4658: checking for mpi-directory" >&5 |
4659 |
|
echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6 |
4660 |
|
|
4661 |
|
# Check whether --with-mpi_dir or --without-mpi_dir was given. |
4665 |
|
else |
4666 |
|
MPI_DIR="/usr/local" |
4667 |
|
fi; |
4668 |
< |
echo "$as_me:$LINENO: result: $MPI_DIR" >&5 |
4668 |
> |
echo "$as_me:4668: result: $MPI_DIR" >&5 |
4669 |
|
echo "${ECHO_T}$MPI_DIR" >&6 |
4670 |
|
|
4671 |
< |
|
5391 |
< |
echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5 |
4671 |
> |
echo "$as_me:4671: checking for mpi-lib-directory" >&5 |
4672 |
|
echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6 |
4673 |
|
|
4674 |
|
# Check whether --with-mpi_libdir or --without-mpi_libdir was given. |
4678 |
|
else |
4679 |
|
MPI_LIBDIR="$MPI_DIR/lib" |
4680 |
|
fi; |
4681 |
< |
echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5 |
4681 |
> |
echo "$as_me:4681: result: $MPI_LIBDIR" >&5 |
4682 |
|
echo "${ECHO_T}$MPI_LIBDIR" >&6 |
4683 |
|
|
4684 |
< |
|
5405 |
< |
echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5 |
4684 |
> |
echo "$as_me:4684: checking for mpi-inc-directory" >&5 |
4685 |
|
echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6 |
4686 |
|
|
4687 |
|
# Check whether --with-mpi_inc or --without-mpi_inc was given. |
4691 |
|
else |
4692 |
|
MPI_INC="$MPI_DIR/include" |
4693 |
|
fi; |
4694 |
< |
echo "$as_me:$LINENO: result: $MPI_INC" >&5 |
4694 |
> |
echo "$as_me:4694: result: $MPI_INC" >&5 |
4695 |
|
echo "${ECHO_T}$MPI_INC" >&6 |
4696 |
|
|
4697 |
< |
|
5419 |
< |
|
5420 |
< |
echo "$as_me:$LINENO: checking for MPI library" >&5 |
4697 |
> |
echo "$as_me:4697: checking for MPI library" >&5 |
4698 |
|
echo $ECHO_N "checking for MPI library... $ECHO_C" >&6 |
4699 |
|
MPI_LIB="" |
4700 |
|
case "$host" in |
4701 |
|
*-ibm-aix*) |
4702 |
< |
echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5 |
4702 |
> |
echo "$as_me:4702: checking whether to use signal-based MPI library" >&5 |
4703 |
|
echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6 |
4704 |
< |
echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5 |
4704 |
> |
echo "$as_me:4704: result: $PACX_SIGNAL" >&5 |
4705 |
|
echo "${ECHO_T}$PACX_SIGNAL" >&6 |
4706 |
|
if test "x$PACX_SIGNAL" = "xyes" ; then |
4707 |
|
if test -f "$MPI_LIBDIR/libmpi.a" ; then |
4711 |
|
elif test -f "$MPI_LIBDIR/libmpich.a" ; then |
4712 |
|
MPI_LIB="-lmpich" |
4713 |
|
else |
4714 |
< |
{ { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4714 |
> |
{ { echo "$as_me:4714: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4715 |
|
echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;} |
4716 |
|
{ (exit 1); exit 1; }; } |
4717 |
|
fi |
4719 |
|
if test -f "$MPI_LIBDIR/libmpi_r.a" ; then |
4720 |
|
MPI_LIB="-lmpi_r" |
4721 |
|
else |
4722 |
< |
{ { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5 |
4722 |
> |
{ { echo "$as_me:4722: error: libmpi_r not found; check path for MPI package..." >&5 |
4723 |
|
echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;} |
4724 |
|
{ (exit 1); exit 1; }; } |
4725 |
|
fi |
4726 |
|
fi |
4727 |
< |
echo "$as_me:$LINENO: result: found $MPI_LIB" >&5 |
4727 |
> |
echo "$as_me:4727: result: found $MPI_LIB" >&5 |
4728 |
|
echo "${ECHO_T}found $MPI_LIB" >&6 |
4729 |
|
;; |
4730 |
|
*) if test -f "$MPI_LIBDIR/libmpi.a" ; then |
4734 |
|
elif test -f "$MPI_LIBDIR/libmpich.a" ; then |
4735 |
|
MPI_LIB="-lmpich" |
4736 |
|
else |
4737 |
< |
{ { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4737 |
> |
{ { echo "$as_me:4737: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4738 |
|
echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;} |
4739 |
|
{ (exit 1); exit 1; }; } |
4740 |
|
fi |
4741 |
< |
echo "$as_me:$LINENO: result: found $MPI_LIB" >&5 |
4741 |
> |
echo "$as_me:4741: result: found $MPI_LIB" >&5 |
4742 |
|
echo "${ECHO_T}found $MPI_LIB" >&6 |
4743 |
|
;; |
4744 |
|
esac |
4745 |
|
|
5469 |
– |
|
5470 |
– |
|
5471 |
– |
|
5472 |
– |
|
5473 |
– |
|
5474 |
– |
|
4746 |
|
for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r |
4747 |
|
do |
4748 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4749 |
|
set dummy $ac_prog; ac_word=$2 |
4750 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4750 |
> |
echo "$as_me:4750: checking for $ac_word" >&5 |
4751 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4752 |
|
if test "${ac_cv_prog_MPIF90+set}" = set; then |
4753 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4755 |
|
if test -n "$MPIF90"; then |
4756 |
|
ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test. |
4757 |
|
else |
4758 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4759 |
< |
for as_dir in $PATH |
4760 |
< |
do |
4761 |
< |
IFS=$as_save_IFS |
4762 |
< |
test -z "$as_dir" && as_dir=. |
4763 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
4764 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4765 |
< |
ac_cv_prog_MPIF90="$ac_prog" |
4766 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5496 |
< |
break 2 |
5497 |
< |
fi |
4758 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
4759 |
> |
ac_dummy="$PATH" |
4760 |
> |
for ac_dir in $ac_dummy; do |
4761 |
> |
IFS=$ac_save_IFS |
4762 |
> |
test -z "$ac_dir" && ac_dir=. |
4763 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
4764 |
> |
ac_cv_prog_MPIF90="$ac_prog" |
4765 |
> |
echo "$as_me:4765: found $ac_dir/$ac_word" >&5 |
4766 |
> |
break |
4767 |
|
done |
5499 |
– |
done |
4768 |
|
|
4769 |
|
fi |
4770 |
|
fi |
4771 |
|
MPIF90=$ac_cv_prog_MPIF90 |
4772 |
|
if test -n "$MPIF90"; then |
4773 |
< |
echo "$as_me:$LINENO: result: $MPIF90" >&5 |
4773 |
> |
echo "$as_me:4773: result: $MPIF90" >&5 |
4774 |
|
echo "${ECHO_T}$MPIF90" >&6 |
4775 |
|
else |
4776 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
4776 |
> |
echo "$as_me:4776: result: no" >&5 |
4777 |
|
echo "${ECHO_T}no" >&6 |
4778 |
|
fi |
4779 |
|
|
4784 |
|
acx_mpi_save_F90="$F90" |
4785 |
|
F90="$MPIF90" |
4786 |
|
|
5519 |
– |
|
5520 |
– |
|
4787 |
|
if test x = x"$MPILIBS"; then |
4788 |
< |
echo "$as_me:$LINENO: checking for MPI_Init" >&5 |
4788 |
> |
echo "$as_me:4788: checking for MPI_Init" >&5 |
4789 |
|
echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6 |
4790 |
|
cat >conftest.$ac_ext <<_ACEOF |
4791 |
|
|
4796 |
|
|
4797 |
|
_ACEOF |
4798 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4799 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4799 |
> |
if { (eval echo "$as_me:4799: \"$ac_link\"") >&5 |
4800 |
|
(eval $ac_link) 2>&5 |
4801 |
|
ac_status=$? |
4802 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4802 |
> |
echo "$as_me:4802: \$? = $ac_status" >&5 |
4803 |
|
(exit $ac_status); } && |
4804 |
|
{ ac_try='test -s conftest$ac_exeext' |
4805 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4805 |
> |
{ (eval echo "$as_me:4805: \"$ac_try\"") >&5 |
4806 |
|
(eval $ac_try) 2>&5 |
4807 |
|
ac_status=$? |
4808 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4808 |
> |
echo "$as_me:4808: \$? = $ac_status" >&5 |
4809 |
|
(exit $ac_status); }; }; then |
4810 |
|
MPILIBS=" " |
4811 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
4811 |
> |
echo "$as_me:4811: result: yes" >&5 |
4812 |
|
echo "${ECHO_T}yes" >&6 |
4813 |
|
else |
4814 |
|
echo "$as_me: failed program was:" >&5 |
4815 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4816 |
< |
|
5551 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
4815 |
> |
cat conftest.$ac_ext >&5 |
4816 |
> |
echo "$as_me:4816: result: no" >&5 |
4817 |
|
echo "${ECHO_T}no" >&6 |
4818 |
|
fi |
4819 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4820 |
|
fi |
4821 |
|
if test x = x"$MPILIBS"; then |
4822 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
4822 |
> |
echo "$as_me:4822: checking for MPI_Init in -lmpi" >&5 |
4823 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
4824 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
4825 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4835 |
|
|
4836 |
|
_ACEOF |
4837 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4838 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4838 |
> |
if { (eval echo "$as_me:4838: \"$ac_link\"") >&5 |
4839 |
|
(eval $ac_link) 2>&5 |
4840 |
|
ac_status=$? |
4841 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4841 |
> |
echo "$as_me:4841: \$? = $ac_status" >&5 |
4842 |
|
(exit $ac_status); } && |
4843 |
|
{ ac_try='test -s conftest$ac_exeext' |
4844 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4844 |
> |
{ (eval echo "$as_me:4844: \"$ac_try\"") >&5 |
4845 |
|
(eval $ac_try) 2>&5 |
4846 |
|
ac_status=$? |
4847 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4847 |
> |
echo "$as_me:4847: \$? = $ac_status" >&5 |
4848 |
|
(exit $ac_status); }; }; then |
4849 |
|
ac_cv_lib_mpi_MPI_Init=yes |
4850 |
|
else |
4851 |
|
echo "$as_me: failed program was:" >&5 |
4852 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5588 |
< |
|
4852 |
> |
cat conftest.$ac_ext >&5 |
4853 |
|
ac_cv_lib_mpi_MPI_Init=no |
4854 |
|
fi |
4855 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4856 |
|
LIBS=$ac_check_lib_save_LIBS |
4857 |
|
fi |
4858 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
4858 |
> |
echo "$as_me:4858: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
4859 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
4860 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
4861 |
|
MPILIBS="-lmpi" |
4863 |
|
|
4864 |
|
fi |
4865 |
|
if test x = x"$MPILIBS"; then |
4866 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
4866 |
> |
echo "$as_me:4866: checking for MPI_Init in -lmpich" >&5 |
4867 |
|
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
4868 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
4869 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4879 |
|
|
4880 |
|
_ACEOF |
4881 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4882 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4882 |
> |
if { (eval echo "$as_me:4882: \"$ac_link\"") >&5 |
4883 |
|
(eval $ac_link) 2>&5 |
4884 |
|
ac_status=$? |
4885 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4885 |
> |
echo "$as_me:4885: \$? = $ac_status" >&5 |
4886 |
|
(exit $ac_status); } && |
4887 |
|
{ ac_try='test -s conftest$ac_exeext' |
4888 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4888 |
> |
{ (eval echo "$as_me:4888: \"$ac_try\"") >&5 |
4889 |
|
(eval $ac_try) 2>&5 |
4890 |
|
ac_status=$? |
4891 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4891 |
> |
echo "$as_me:4891: \$? = $ac_status" >&5 |
4892 |
|
(exit $ac_status); }; }; then |
4893 |
|
ac_cv_lib_mpich_MPI_Init=yes |
4894 |
|
else |
4895 |
|
echo "$as_me: failed program was:" >&5 |
4896 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5633 |
< |
|
4896 |
> |
cat conftest.$ac_ext >&5 |
4897 |
|
ac_cv_lib_mpich_MPI_Init=no |
4898 |
|
fi |
4899 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4900 |
|
LIBS=$ac_check_lib_save_LIBS |
4901 |
|
fi |
4902 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
4902 |
> |
echo "$as_me:4902: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
4903 |
|
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
4904 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
4905 |
|
MPILIBS="-lmpich" |
4907 |
|
|
4908 |
|
fi |
4909 |
|
|
5647 |
– |
|
5648 |
– |
|
4910 |
|
F90="$acx_mpi_save_F90" |
4911 |
|
|
5651 |
– |
|
5652 |
– |
|
4912 |
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
4913 |
|
if test x = x"$MPILIBS"; then |
4914 |
|
|
4915 |
|
: |
4916 |
|
else |
4917 |
|
|
4918 |
< |
cat >>confdefs.h <<\_ACEOF |
4918 |
> |
cat >>confdefs.h <<\EOF |
4919 |
|
#define HAVE_MPI 1 |
4920 |
< |
_ACEOF |
4920 |
> |
EOF |
4921 |
|
|
4922 |
|
: |
4923 |
|
fi |
4924 |
|
|
5666 |
– |
|
4925 |
|
ac_ext=c |
4926 |
|
ac_cpp='$CPP $CPPFLAGS' |
4927 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4928 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4929 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4930 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4930 |
> |
echo "$as_me:4930: checking how to run the C preprocessor" >&5 |
4931 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4932 |
|
# On Suns, sometimes $CPP names a directory. |
4933 |
|
if test -n "$CPP" && test -d "$CPP"; then |
4940 |
|
# Double quotes because CPP needs to be expanded |
4941 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4942 |
|
do |
4943 |
+ |
# break 2 since there is a loop in there. |
4944 |
|
ac_preproc_ok=false |
4945 |
|
for ac_c_preproc_warn_flag in '' yes |
4946 |
|
do |
4947 |
|
# Use a header file that comes with gcc, so configuring glibc |
4948 |
|
# with a fresh cross-compiler works. |
5690 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5691 |
– |
# <limits.h> exists even on freestanding compilers. |
4949 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4950 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4951 |
|
cat >conftest.$ac_ext <<_ACEOF |
4952 |
< |
#line $LINENO "configure" |
4953 |
< |
/* confdefs.h. */ |
4954 |
< |
_ACEOF |
5698 |
< |
cat confdefs.h >>conftest.$ac_ext |
5699 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5700 |
< |
/* end confdefs.h. */ |
5701 |
< |
#ifdef __STDC__ |
5702 |
< |
# include <limits.h> |
5703 |
< |
#else |
5704 |
< |
# include <assert.h> |
5705 |
< |
#endif |
4952 |
> |
#line 4952 "configure" |
4953 |
> |
#include "confdefs.h" |
4954 |
> |
#include <assert.h> |
4955 |
|
Syntax error |
4956 |
|
_ACEOF |
4957 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4957 |
> |
if { (eval echo "$as_me:4957: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4958 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4959 |
|
ac_status=$? |
4960 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4960 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4961 |
|
rm -f conftest.er1 |
4962 |
|
cat conftest.err >&5 |
4963 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4963 |
> |
echo "$as_me:4963: \$? = $ac_status" >&5 |
4964 |
|
(exit $ac_status); } >/dev/null; then |
4965 |
|
if test -s conftest.err; then |
4966 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4974 |
|
: |
4975 |
|
else |
4976 |
|
echo "$as_me: failed program was:" >&5 |
4977 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5729 |
< |
|
4977 |
> |
cat conftest.$ac_ext >&5 |
4978 |
|
# Broken: fails on valid input. |
4979 |
|
continue |
4980 |
|
fi |
4983 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4984 |
|
# can be detected and how. |
4985 |
|
cat >conftest.$ac_ext <<_ACEOF |
4986 |
< |
#line $LINENO "configure" |
4987 |
< |
/* confdefs.h. */ |
5740 |
< |
_ACEOF |
5741 |
< |
cat confdefs.h >>conftest.$ac_ext |
5742 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5743 |
< |
/* end confdefs.h. */ |
4986 |
> |
#line 4986 "configure" |
4987 |
> |
#include "confdefs.h" |
4988 |
|
#include <ac_nonexistent.h> |
4989 |
|
_ACEOF |
4990 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4990 |
> |
if { (eval echo "$as_me:4990: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4991 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4992 |
|
ac_status=$? |
4993 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4993 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4994 |
|
rm -f conftest.er1 |
4995 |
|
cat conftest.err >&5 |
4996 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4996 |
> |
echo "$as_me:4996: \$? = $ac_status" >&5 |
4997 |
|
(exit $ac_status); } >/dev/null; then |
4998 |
|
if test -s conftest.err; then |
4999 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5008 |
|
continue |
5009 |
|
else |
5010 |
|
echo "$as_me: failed program was:" >&5 |
5011 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5768 |
< |
|
5011 |
> |
cat conftest.$ac_ext >&5 |
5012 |
|
# Passes both tests. |
5013 |
|
ac_preproc_ok=: |
5014 |
|
break |
5019 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5020 |
|
rm -f conftest.err conftest.$ac_ext |
5021 |
|
if $ac_preproc_ok; then |
5022 |
< |
break |
5022 |
> |
break 2 |
5023 |
|
fi |
5024 |
|
|
5025 |
|
done |
5030 |
|
else |
5031 |
|
ac_cv_prog_CPP=$CPP |
5032 |
|
fi |
5033 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
5033 |
> |
echo "$as_me:5033: result: $CPP" >&5 |
5034 |
|
echo "${ECHO_T}$CPP" >&6 |
5035 |
|
ac_preproc_ok=false |
5036 |
|
for ac_c_preproc_warn_flag in '' yes |
5037 |
|
do |
5038 |
|
# Use a header file that comes with gcc, so configuring glibc |
5039 |
|
# with a fresh cross-compiler works. |
5797 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5798 |
– |
# <limits.h> exists even on freestanding compilers. |
5040 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
5041 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
5042 |
|
cat >conftest.$ac_ext <<_ACEOF |
5043 |
< |
#line $LINENO "configure" |
5044 |
< |
/* confdefs.h. */ |
5045 |
< |
_ACEOF |
5805 |
< |
cat confdefs.h >>conftest.$ac_ext |
5806 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5807 |
< |
/* end confdefs.h. */ |
5808 |
< |
#ifdef __STDC__ |
5809 |
< |
# include <limits.h> |
5810 |
< |
#else |
5811 |
< |
# include <assert.h> |
5812 |
< |
#endif |
5043 |
> |
#line 5043 "configure" |
5044 |
> |
#include "confdefs.h" |
5045 |
> |
#include <assert.h> |
5046 |
|
Syntax error |
5047 |
|
_ACEOF |
5048 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5048 |
> |
if { (eval echo "$as_me:5048: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5049 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5050 |
|
ac_status=$? |
5051 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5051 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5052 |
|
rm -f conftest.er1 |
5053 |
|
cat conftest.err >&5 |
5054 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5054 |
> |
echo "$as_me:5054: \$? = $ac_status" >&5 |
5055 |
|
(exit $ac_status); } >/dev/null; then |
5056 |
|
if test -s conftest.err; then |
5057 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5065 |
|
: |
5066 |
|
else |
5067 |
|
echo "$as_me: failed program was:" >&5 |
5068 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5836 |
< |
|
5068 |
> |
cat conftest.$ac_ext >&5 |
5069 |
|
# Broken: fails on valid input. |
5070 |
|
continue |
5071 |
|
fi |
5074 |
|
# OK, works on sane cases. Now check whether non-existent headers |
5075 |
|
# can be detected and how. |
5076 |
|
cat >conftest.$ac_ext <<_ACEOF |
5077 |
< |
#line $LINENO "configure" |
5078 |
< |
/* confdefs.h. */ |
5847 |
< |
_ACEOF |
5848 |
< |
cat confdefs.h >>conftest.$ac_ext |
5849 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5850 |
< |
/* end confdefs.h. */ |
5077 |
> |
#line 5077 "configure" |
5078 |
> |
#include "confdefs.h" |
5079 |
|
#include <ac_nonexistent.h> |
5080 |
|
_ACEOF |
5081 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5081 |
> |
if { (eval echo "$as_me:5081: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5082 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5083 |
|
ac_status=$? |
5084 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5084 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5085 |
|
rm -f conftest.er1 |
5086 |
|
cat conftest.err >&5 |
5087 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5087 |
> |
echo "$as_me:5087: \$? = $ac_status" >&5 |
5088 |
|
(exit $ac_status); } >/dev/null; then |
5089 |
|
if test -s conftest.err; then |
5090 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5099 |
|
continue |
5100 |
|
else |
5101 |
|
echo "$as_me: failed program was:" >&5 |
5102 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5875 |
< |
|
5102 |
> |
cat conftest.$ac_ext >&5 |
5103 |
|
# Passes both tests. |
5104 |
|
ac_preproc_ok=: |
5105 |
|
break |
5112 |
|
if $ac_preproc_ok; then |
5113 |
|
: |
5114 |
|
else |
5115 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
5116 |
< |
See \`config.log' for more details." >&5 |
5890 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
5891 |
< |
See \`config.log' for more details." >&2;} |
5115 |
> |
{ { echo "$as_me:5115: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
5116 |
> |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
5117 |
|
{ (exit 1); exit 1; }; } |
5118 |
|
fi |
5119 |
|
|
5122 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5123 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5124 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5900 |
– |
|
5901 |
– |
|
5902 |
– |
echo "$as_me:$LINENO: checking for egrep" >&5 |
5903 |
– |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
5904 |
– |
if test "${ac_cv_prog_egrep+set}" = set; then |
5905 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5906 |
– |
else |
5907 |
– |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
5908 |
– |
then ac_cv_prog_egrep='grep -E' |
5909 |
– |
else ac_cv_prog_egrep='egrep' |
5910 |
– |
fi |
5911 |
– |
fi |
5912 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
5913 |
– |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
5914 |
– |
EGREP=$ac_cv_prog_egrep |
5915 |
– |
|
5916 |
– |
|
5917 |
– |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5918 |
– |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
5919 |
– |
if test "${ac_cv_header_stdc+set}" = set; then |
5920 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5921 |
– |
else |
5922 |
– |
cat >conftest.$ac_ext <<_ACEOF |
5923 |
– |
#line $LINENO "configure" |
5924 |
– |
/* confdefs.h. */ |
5925 |
– |
_ACEOF |
5926 |
– |
cat confdefs.h >>conftest.$ac_ext |
5927 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
5928 |
– |
/* end confdefs.h. */ |
5929 |
– |
#include <stdlib.h> |
5930 |
– |
#include <stdarg.h> |
5931 |
– |
#include <string.h> |
5932 |
– |
#include <float.h> |
5933 |
– |
|
5934 |
– |
int |
5935 |
– |
main () |
5936 |
– |
{ |
5937 |
– |
|
5938 |
– |
; |
5939 |
– |
return 0; |
5940 |
– |
} |
5941 |
– |
_ACEOF |
5942 |
– |
rm -f conftest.$ac_objext |
5943 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5944 |
– |
(eval $ac_compile) 2>&5 |
5945 |
– |
ac_status=$? |
5946 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5947 |
– |
(exit $ac_status); } && |
5948 |
– |
{ ac_try='test -s conftest.$ac_objext' |
5949 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5950 |
– |
(eval $ac_try) 2>&5 |
5951 |
– |
ac_status=$? |
5952 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5953 |
– |
(exit $ac_status); }; }; then |
5954 |
– |
ac_cv_header_stdc=yes |
5955 |
– |
else |
5956 |
– |
echo "$as_me: failed program was:" >&5 |
5957 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
5958 |
– |
|
5959 |
– |
ac_cv_header_stdc=no |
5960 |
– |
fi |
5961 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
5962 |
– |
|
5963 |
– |
if test $ac_cv_header_stdc = yes; then |
5964 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5965 |
– |
cat >conftest.$ac_ext <<_ACEOF |
5966 |
– |
#line $LINENO "configure" |
5967 |
– |
/* confdefs.h. */ |
5968 |
– |
_ACEOF |
5969 |
– |
cat confdefs.h >>conftest.$ac_ext |
5970 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
5971 |
– |
/* end confdefs.h. */ |
5972 |
– |
#include <string.h> |
5973 |
– |
|
5974 |
– |
_ACEOF |
5975 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5976 |
– |
$EGREP "memchr" >/dev/null 2>&1; then |
5977 |
– |
: |
5978 |
– |
else |
5979 |
– |
ac_cv_header_stdc=no |
5980 |
– |
fi |
5981 |
– |
rm -f conftest* |
5982 |
– |
|
5983 |
– |
fi |
5984 |
– |
|
5985 |
– |
if test $ac_cv_header_stdc = yes; then |
5986 |
– |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5987 |
– |
cat >conftest.$ac_ext <<_ACEOF |
5988 |
– |
#line $LINENO "configure" |
5989 |
– |
/* confdefs.h. */ |
5990 |
– |
_ACEOF |
5991 |
– |
cat confdefs.h >>conftest.$ac_ext |
5992 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
5993 |
– |
/* end confdefs.h. */ |
5994 |
– |
#include <stdlib.h> |
5995 |
– |
|
5996 |
– |
_ACEOF |
5997 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5998 |
– |
$EGREP "free" >/dev/null 2>&1; then |
5999 |
– |
: |
6000 |
– |
else |
6001 |
– |
ac_cv_header_stdc=no |
6002 |
– |
fi |
6003 |
– |
rm -f conftest* |
6004 |
– |
|
6005 |
– |
fi |
6006 |
– |
|
6007 |
– |
if test $ac_cv_header_stdc = yes; then |
6008 |
– |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6009 |
– |
if test "$cross_compiling" = yes; then |
6010 |
– |
: |
6011 |
– |
else |
6012 |
– |
cat >conftest.$ac_ext <<_ACEOF |
6013 |
– |
#line $LINENO "configure" |
6014 |
– |
/* confdefs.h. */ |
6015 |
– |
_ACEOF |
6016 |
– |
cat confdefs.h >>conftest.$ac_ext |
6017 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
6018 |
– |
/* end confdefs.h. */ |
6019 |
– |
#include <ctype.h> |
6020 |
– |
#if ((' ' & 0x0FF) == 0x020) |
6021 |
– |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6022 |
– |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6023 |
– |
#else |
6024 |
– |
# define ISLOWER(c) \ |
6025 |
– |
(('a' <= (c) && (c) <= 'i') \ |
6026 |
– |
|| ('j' <= (c) && (c) <= 'r') \ |
6027 |
– |
|| ('s' <= (c) && (c) <= 'z')) |
6028 |
– |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6029 |
– |
#endif |
6030 |
– |
|
6031 |
– |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6032 |
– |
int |
6033 |
– |
main () |
6034 |
– |
{ |
6035 |
– |
int i; |
6036 |
– |
for (i = 0; i < 256; i++) |
6037 |
– |
if (XOR (islower (i), ISLOWER (i)) |
6038 |
– |
|| toupper (i) != TOUPPER (i)) |
6039 |
– |
exit(2); |
6040 |
– |
exit (0); |
6041 |
– |
} |
6042 |
– |
_ACEOF |
6043 |
– |
rm -f conftest$ac_exeext |
6044 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6045 |
– |
(eval $ac_link) 2>&5 |
6046 |
– |
ac_status=$? |
6047 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6048 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6049 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6050 |
– |
(eval $ac_try) 2>&5 |
6051 |
– |
ac_status=$? |
6052 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6053 |
– |
(exit $ac_status); }; }; then |
6054 |
– |
: |
6055 |
– |
else |
6056 |
– |
echo "$as_me: program exited with status $ac_status" >&5 |
6057 |
– |
echo "$as_me: failed program was:" >&5 |
6058 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
6059 |
– |
|
6060 |
– |
( exit $ac_status ) |
6061 |
– |
ac_cv_header_stdc=no |
6062 |
– |
fi |
6063 |
– |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6064 |
– |
fi |
6065 |
– |
fi |
6066 |
– |
fi |
6067 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
6068 |
– |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
6069 |
– |
if test $ac_cv_header_stdc = yes; then |
6070 |
– |
|
6071 |
– |
cat >>confdefs.h <<\_ACEOF |
6072 |
– |
#define STDC_HEADERS 1 |
6073 |
– |
_ACEOF |
6074 |
– |
|
6075 |
– |
fi |
6076 |
– |
|
6077 |
– |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
6078 |
– |
|
6079 |
– |
|
6080 |
– |
|
6081 |
– |
|
6082 |
– |
|
6083 |
– |
|
6084 |
– |
|
6085 |
– |
|
6086 |
– |
|
6087 |
– |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6088 |
– |
inttypes.h stdint.h unistd.h |
6089 |
– |
do |
6090 |
– |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6091 |
– |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6092 |
– |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6093 |
– |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6094 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6095 |
– |
else |
6096 |
– |
cat >conftest.$ac_ext <<_ACEOF |
6097 |
– |
#line $LINENO "configure" |
6098 |
– |
/* confdefs.h. */ |
6099 |
– |
_ACEOF |
6100 |
– |
cat confdefs.h >>conftest.$ac_ext |
6101 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
6102 |
– |
/* end confdefs.h. */ |
6103 |
– |
$ac_includes_default |
6104 |
– |
|
6105 |
– |
#include <$ac_header> |
6106 |
– |
_ACEOF |
6107 |
– |
rm -f conftest.$ac_objext |
6108 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6109 |
– |
(eval $ac_compile) 2>&5 |
6110 |
– |
ac_status=$? |
6111 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6112 |
– |
(exit $ac_status); } && |
6113 |
– |
{ ac_try='test -s conftest.$ac_objext' |
6114 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6115 |
– |
(eval $ac_try) 2>&5 |
6116 |
– |
ac_status=$? |
6117 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6118 |
– |
(exit $ac_status); }; }; then |
6119 |
– |
eval "$as_ac_Header=yes" |
6120 |
– |
else |
6121 |
– |
echo "$as_me: failed program was:" >&5 |
6122 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
6123 |
– |
|
6124 |
– |
eval "$as_ac_Header=no" |
6125 |
– |
fi |
6126 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
6127 |
– |
fi |
6128 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6129 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6130 |
– |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6131 |
– |
cat >>confdefs.h <<_ACEOF |
6132 |
– |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6133 |
– |
_ACEOF |
5125 |
|
|
6135 |
– |
fi |
6136 |
– |
|
6137 |
– |
done |
6138 |
– |
|
6139 |
– |
|
6140 |
– |
|
6141 |
– |
|
6142 |
– |
|
5126 |
|
# Check whether --with-sprng_prefix or --without-sprng_prefix was given. |
5127 |
|
if test "${with_sprng_prefix+set}" = set; then |
5128 |
|
withval="$with_sprng_prefix" |
5155 |
|
sprng_include=${sprng_prefix}/include |
5156 |
|
fi |
5157 |
|
|
5158 |
< |
echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include" >&5 |
5158 |
> |
echo "$as_me:5158: checking for SPRNG include files in $sprng_include" >&5 |
5159 |
|
echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6 |
5160 |
|
if test -f ${sprng_include}/sprng.h; then |
5161 |
|
have_sprngincl=yes |
5162 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5162 |
> |
echo "$as_me:5162: result: yes" >&5 |
5163 |
|
echo "${ECHO_T}yes" >&6 |
5164 |
|
else |
5165 |
|
have_sprngincl=no |
5166 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5166 |
> |
echo "$as_me:5166: result: no" >&5 |
5167 |
|
echo "${ECHO_T}no" >&6 |
5168 |
< |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5 |
5168 |
> |
{ { echo "$as_me:5168: error: Could not locate the SPRNG include files" >&5 |
5169 |
|
echo "$as_me: error: Could not locate the SPRNG include files" >&2;} |
5170 |
|
{ (exit 1); exit 1; }; } |
5171 |
|
fi |
5172 |
|
|
5173 |
< |
echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_libdir" >&5 |
5173 |
> |
echo "$as_me:5173: checking for SPRNG libraries in $sprng_libdir" >&5 |
5174 |
|
echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6 |
5175 |
|
if test -f ${sprng_libdir}/libsprng.a; then |
5176 |
|
have_sprnglib=yes |
5177 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5177 |
> |
echo "$as_me:5177: result: yes" >&5 |
5178 |
|
echo "${ECHO_T}yes" >&6 |
5179 |
|
else |
5180 |
|
have_sprnglib=no |
5181 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5181 |
> |
echo "$as_me:5181: result: no" >&5 |
5182 |
|
echo "${ECHO_T}no" >&6 |
5183 |
< |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5 |
5183 |
> |
{ { echo "$as_me:5183: error: Could not locate the SPRNG libraries" >&5 |
5184 |
|
echo "$as_me: error: Could not locate the SPRNG libraries" >&2;} |
5185 |
|
{ (exit 1); exit 1; }; } |
5186 |
|
fi |
5187 |
|
|
6205 |
– |
|
6206 |
– |
|
5188 |
|
ac_ext=c |
5189 |
|
ac_cpp='$CPP $CPPFLAGS' |
5190 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5195 |
|
CPPFLAGS="${CPPFLAGS} -I${sprng_include}" |
5196 |
|
ac_save_LDFLAGS=$LDFLAGS |
5197 |
|
LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng" |
5198 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
6218 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
5198 |
> |
echo "$as_me:5198: checking for sprng.h" >&5 |
5199 |
|
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
5200 |
|
if test "${ac_cv_header_sprng_h+set}" = set; then |
5201 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6222 |
– |
fi |
6223 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
6224 |
– |
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
5202 |
|
else |
5203 |
< |
# Is the header compilable? |
5204 |
< |
echo "$as_me:$LINENO: checking sprng.h usability" >&5 |
5205 |
< |
echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6 |
6229 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6230 |
< |
#line $LINENO "configure" |
6231 |
< |
/* confdefs.h. */ |
6232 |
< |
_ACEOF |
6233 |
< |
cat confdefs.h >>conftest.$ac_ext |
6234 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6235 |
< |
/* end confdefs.h. */ |
6236 |
< |
$ac_includes_default |
5203 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5204 |
> |
#line 5204 "configure" |
5205 |
> |
#include "confdefs.h" |
5206 |
|
#include <sprng.h> |
5207 |
|
_ACEOF |
5208 |
< |
rm -f conftest.$ac_objext |
6240 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6241 |
< |
(eval $ac_compile) 2>&5 |
6242 |
< |
ac_status=$? |
6243 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6244 |
< |
(exit $ac_status); } && |
6245 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6246 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6247 |
< |
(eval $ac_try) 2>&5 |
6248 |
< |
ac_status=$? |
6249 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6250 |
< |
(exit $ac_status); }; }; then |
6251 |
< |
ac_header_compiler=yes |
6252 |
< |
else |
6253 |
< |
echo "$as_me: failed program was:" >&5 |
6254 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6255 |
< |
|
6256 |
< |
ac_header_compiler=no |
6257 |
< |
fi |
6258 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6259 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6260 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6261 |
< |
|
6262 |
< |
# Is the header present? |
6263 |
< |
echo "$as_me:$LINENO: checking sprng.h presence" >&5 |
6264 |
< |
echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6 |
6265 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6266 |
< |
#line $LINENO "configure" |
6267 |
< |
/* confdefs.h. */ |
6268 |
< |
_ACEOF |
6269 |
< |
cat confdefs.h >>conftest.$ac_ext |
6270 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6271 |
< |
/* end confdefs.h. */ |
6272 |
< |
#include <sprng.h> |
6273 |
< |
_ACEOF |
6274 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5208 |
> |
if { (eval echo "$as_me:5208: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5209 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5210 |
|
ac_status=$? |
5211 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5211 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5212 |
|
rm -f conftest.er1 |
5213 |
|
cat conftest.err >&5 |
5214 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5214 |
> |
echo "$as_me:5214: \$? = $ac_status" >&5 |
5215 |
|
(exit $ac_status); } >/dev/null; then |
5216 |
|
if test -s conftest.err; then |
5217 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5222 |
|
ac_cpp_err=yes |
5223 |
|
fi |
5224 |
|
if test -z "$ac_cpp_err"; then |
5225 |
< |
ac_header_preproc=yes |
5225 |
> |
ac_cv_header_sprng_h=yes |
5226 |
|
else |
5227 |
|
echo "$as_me: failed program was:" >&5 |
5228 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5229 |
< |
|
6296 |
< |
ac_header_preproc=no |
5228 |
> |
cat conftest.$ac_ext >&5 |
5229 |
> |
ac_cv_header_sprng_h=no |
5230 |
|
fi |
5231 |
|
rm -f conftest.err conftest.$ac_ext |
5232 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5233 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6301 |
< |
|
6302 |
< |
# So? What about this header? |
6303 |
< |
case $ac_header_compiler:$ac_header_preproc in |
6304 |
< |
yes:no ) |
6305 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6306 |
< |
echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6307 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
6308 |
< |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
6309 |
< |
( |
6310 |
< |
cat <<\_ASBOX |
6311 |
< |
## ------------------------------------ ## |
6312 |
< |
## Report this to bug-autoconf@gnu.org. ## |
6313 |
< |
## ------------------------------------ ## |
6314 |
< |
_ASBOX |
6315 |
< |
) | |
6316 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
6317 |
< |
;; |
6318 |
< |
no:yes ) |
6319 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5 |
6320 |
< |
echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;} |
6321 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5 |
6322 |
< |
echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;} |
6323 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
6324 |
< |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
6325 |
< |
( |
6326 |
< |
cat <<\_ASBOX |
6327 |
< |
## ------------------------------------ ## |
6328 |
< |
## Report this to bug-autoconf@gnu.org. ## |
6329 |
< |
## ------------------------------------ ## |
6330 |
< |
_ASBOX |
6331 |
< |
) | |
6332 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
6333 |
< |
;; |
6334 |
< |
esac |
6335 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
6336 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
6337 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
6338 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6339 |
< |
else |
6340 |
< |
ac_cv_header_sprng_h=$ac_header_preproc |
6341 |
< |
fi |
6342 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
5232 |
> |
fi |
5233 |
> |
echo "$as_me:5233: result: $ac_cv_header_sprng_h" >&5 |
5234 |
|
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
6344 |
– |
|
6345 |
– |
fi |
5235 |
|
if test $ac_cv_header_sprng_h = yes; then |
5236 |
|
|
5237 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
5237 |
> |
echo "$as_me:5237: checking for init_rng in -lsprng" >&5 |
5238 |
|
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
5239 |
|
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
5240 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5242 |
|
ac_check_lib_save_LIBS=$LIBS |
5243 |
|
LIBS="-lsprng $LIBS" |
5244 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
< |
#line $LINENO "configure" |
5246 |
< |
/* confdefs.h. */ |
6358 |
< |
_ACEOF |
6359 |
< |
cat confdefs.h >>conftest.$ac_ext |
6360 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6361 |
< |
/* end confdefs.h. */ |
5245 |
> |
#line 5245 "configure" |
5246 |
> |
#include "confdefs.h" |
5247 |
|
|
5248 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5249 |
|
#ifdef __cplusplus |
5261 |
|
} |
5262 |
|
_ACEOF |
5263 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5264 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5264 |
> |
if { (eval echo "$as_me:5264: \"$ac_link\"") >&5 |
5265 |
|
(eval $ac_link) 2>&5 |
5266 |
|
ac_status=$? |
5267 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5267 |
> |
echo "$as_me:5267: \$? = $ac_status" >&5 |
5268 |
|
(exit $ac_status); } && |
5269 |
|
{ ac_try='test -s conftest$ac_exeext' |
5270 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5270 |
> |
{ (eval echo "$as_me:5270: \"$ac_try\"") >&5 |
5271 |
|
(eval $ac_try) 2>&5 |
5272 |
|
ac_status=$? |
5273 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5273 |
> |
echo "$as_me:5273: \$? = $ac_status" >&5 |
5274 |
|
(exit $ac_status); }; }; then |
5275 |
|
ac_cv_lib_sprng_init_rng=yes |
5276 |
|
else |
5277 |
|
echo "$as_me: failed program was:" >&5 |
5278 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6394 |
< |
|
5278 |
> |
cat conftest.$ac_ext >&5 |
5279 |
|
ac_cv_lib_sprng_init_rng=no |
5280 |
|
fi |
5281 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5282 |
|
LIBS=$ac_check_lib_save_LIBS |
5283 |
|
fi |
5284 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
5284 |
> |
echo "$as_me:5284: result: $ac_cv_lib_sprng_init_rng" >&5 |
5285 |
|
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
5286 |
|
if test $ac_cv_lib_sprng_init_rng = yes; then |
5287 |
|
SPRNG_LIBDIR="${sprng_libdir}" |
5291 |
|
|
5292 |
|
fi |
5293 |
|
|
6410 |
– |
|
5294 |
|
CPPFLAGS=$ac_save_CPPFLAGS |
5295 |
|
LDFLAGS=$ac_save_LDFLAGS |
5296 |
|
ac_ext=f90 |
5298 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5299 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5300 |
|
|
6418 |
– |
|
5301 |
|
if test x_$HAVE_SPRNG != x_yes; then |
5302 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5 |
5302 |
> |
{ { echo "$as_me:5302: error: Can't build with SPRNG" >&5 |
5303 |
|
echo "$as_me: error: Can't build with SPRNG" >&2;} |
5304 |
|
{ (exit 1); exit 1; }; } |
5305 |
|
fi |
5306 |
|
|
5307 |
< |
|
6426 |
< |
|
6427 |
< |
|
6428 |
< |
|
6429 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
5307 |
> |
echo "$as_me:5307: checking if MKL is wanted" >&5 |
5308 |
|
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
5309 |
|
|
5310 |
|
# Check whether --with-mkl or --without-mkl was given. |
5311 |
|
if test "${with_mkl+set}" = set; then |
5312 |
|
withval="$with_mkl" |
5313 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5313 |
> |
echo "$as_me:5313: result: yes" >&5 |
5314 |
|
echo "${ECHO_T}yes" >&6 |
5315 |
|
for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do |
5316 |
|
mkldir="$dir" |
5320 |
|
fi |
5321 |
|
done |
5322 |
|
if test x_$found_mkl != x_yes; then |
5323 |
< |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
5323 |
> |
{ { echo "$as_me:5323: error: Cannot find MKL includes" >&5 |
5324 |
|
echo "$as_me: error: Cannot find MKL includes" >&2;} |
5325 |
|
{ (exit 1); exit 1; }; } |
5326 |
|
else |
5327 |
|
printf "MKL includes found in $mkldir/include\n"; |
5328 |
|
fi |
5329 |
|
|
6452 |
– |
|
6453 |
– |
|
5330 |
|
ac_ext=c |
5331 |
|
ac_cpp='$CPP $CPPFLAGS' |
5332 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5337 |
|
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
5338 |
|
ac_save_LDFLAGS=$LDFLAGS |
5339 |
|
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
5340 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
6465 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
5340 |
> |
echo "$as_me:5340: checking for mkl.h" >&5 |
5341 |
|
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
5342 |
|
if test "${ac_cv_header_mkl_h+set}" = set; then |
5343 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6469 |
– |
fi |
6470 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
6471 |
– |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
5344 |
|
else |
5345 |
< |
# Is the header compilable? |
5346 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
5347 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
6476 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6477 |
< |
#line $LINENO "configure" |
6478 |
< |
/* confdefs.h. */ |
6479 |
< |
_ACEOF |
6480 |
< |
cat confdefs.h >>conftest.$ac_ext |
6481 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6482 |
< |
/* end confdefs.h. */ |
6483 |
< |
$ac_includes_default |
6484 |
< |
#include <mkl.h> |
6485 |
< |
_ACEOF |
6486 |
< |
rm -f conftest.$ac_objext |
6487 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6488 |
< |
(eval $ac_compile) 2>&5 |
6489 |
< |
ac_status=$? |
6490 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6491 |
< |
(exit $ac_status); } && |
6492 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6493 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6494 |
< |
(eval $ac_try) 2>&5 |
6495 |
< |
ac_status=$? |
6496 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6497 |
< |
(exit $ac_status); }; }; then |
6498 |
< |
ac_header_compiler=yes |
6499 |
< |
else |
6500 |
< |
echo "$as_me: failed program was:" >&5 |
6501 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6502 |
< |
|
6503 |
< |
ac_header_compiler=no |
6504 |
< |
fi |
6505 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6506 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6507 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6508 |
< |
|
6509 |
< |
# Is the header present? |
6510 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
6511 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
6512 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6513 |
< |
#line $LINENO "configure" |
6514 |
< |
/* confdefs.h. */ |
6515 |
< |
_ACEOF |
6516 |
< |
cat confdefs.h >>conftest.$ac_ext |
6517 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6518 |
< |
/* end confdefs.h. */ |
5345 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5346 |
> |
#line 5346 "configure" |
5347 |
> |
#include "confdefs.h" |
5348 |
|
#include <mkl.h> |
5349 |
|
_ACEOF |
5350 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5350 |
> |
if { (eval echo "$as_me:5350: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5351 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5352 |
|
ac_status=$? |
5353 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5353 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5354 |
|
rm -f conftest.er1 |
5355 |
|
cat conftest.err >&5 |
5356 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5356 |
> |
echo "$as_me:5356: \$? = $ac_status" >&5 |
5357 |
|
(exit $ac_status); } >/dev/null; then |
5358 |
|
if test -s conftest.err; then |
5359 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5364 |
|
ac_cpp_err=yes |
5365 |
|
fi |
5366 |
|
if test -z "$ac_cpp_err"; then |
5367 |
< |
ac_header_preproc=yes |
5367 |
> |
ac_cv_header_mkl_h=yes |
5368 |
|
else |
5369 |
|
echo "$as_me: failed program was:" >&5 |
5370 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5371 |
< |
|
6543 |
< |
ac_header_preproc=no |
5370 |
> |
cat conftest.$ac_ext >&5 |
5371 |
> |
ac_cv_header_mkl_h=no |
5372 |
|
fi |
5373 |
|
rm -f conftest.err conftest.$ac_ext |
6546 |
– |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6547 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6548 |
– |
|
6549 |
– |
# So? What about this header? |
6550 |
– |
case $ac_header_compiler:$ac_header_preproc in |
6551 |
– |
yes:no ) |
6552 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6553 |
– |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6554 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
6555 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
6556 |
– |
( |
6557 |
– |
cat <<\_ASBOX |
6558 |
– |
## ------------------------------------ ## |
6559 |
– |
## Report this to bug-autoconf@gnu.org. ## |
6560 |
– |
## ------------------------------------ ## |
6561 |
– |
_ASBOX |
6562 |
– |
) | |
6563 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
6564 |
– |
;; |
6565 |
– |
no:yes ) |
6566 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
6567 |
– |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
6568 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
6569 |
– |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
6570 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
6571 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
6572 |
– |
( |
6573 |
– |
cat <<\_ASBOX |
6574 |
– |
## ------------------------------------ ## |
6575 |
– |
## Report this to bug-autoconf@gnu.org. ## |
6576 |
– |
## ------------------------------------ ## |
6577 |
– |
_ASBOX |
6578 |
– |
) | |
6579 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
6580 |
– |
;; |
6581 |
– |
esac |
6582 |
– |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
6583 |
– |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
6584 |
– |
if test "${ac_cv_header_mkl_h+set}" = set; then |
6585 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6586 |
– |
else |
6587 |
– |
ac_cv_header_mkl_h=$ac_header_preproc |
5374 |
|
fi |
5375 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
5375 |
> |
echo "$as_me:5375: result: $ac_cv_header_mkl_h" >&5 |
5376 |
|
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
6591 |
– |
|
6592 |
– |
fi |
5377 |
|
if test $ac_cv_header_mkl_h = yes; then |
5378 |
|
|
5379 |
< |
echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5 |
5379 |
> |
echo "$as_me:5379: checking for vslNewStream in -lmkl" >&5 |
5380 |
|
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
5381 |
|
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
5382 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5384 |
|
ac_check_lib_save_LIBS=$LIBS |
5385 |
|
LIBS="-lmkl $LIBS" |
5386 |
|
cat >conftest.$ac_ext <<_ACEOF |
5387 |
< |
#line $LINENO "configure" |
5388 |
< |
/* confdefs.h. */ |
6605 |
< |
_ACEOF |
6606 |
< |
cat confdefs.h >>conftest.$ac_ext |
6607 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6608 |
< |
/* end confdefs.h. */ |
5387 |
> |
#line 5387 "configure" |
5388 |
> |
#include "confdefs.h" |
5389 |
|
|
5390 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5391 |
|
#ifdef __cplusplus |
5403 |
|
} |
5404 |
|
_ACEOF |
5405 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5406 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5406 |
> |
if { (eval echo "$as_me:5406: \"$ac_link\"") >&5 |
5407 |
|
(eval $ac_link) 2>&5 |
5408 |
|
ac_status=$? |
5409 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5409 |
> |
echo "$as_me:5409: \$? = $ac_status" >&5 |
5410 |
|
(exit $ac_status); } && |
5411 |
|
{ ac_try='test -s conftest$ac_exeext' |
5412 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5412 |
> |
{ (eval echo "$as_me:5412: \"$ac_try\"") >&5 |
5413 |
|
(eval $ac_try) 2>&5 |
5414 |
|
ac_status=$? |
5415 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5415 |
> |
echo "$as_me:5415: \$? = $ac_status" >&5 |
5416 |
|
(exit $ac_status); }; }; then |
5417 |
|
ac_cv_lib_mkl_vslNewStream=yes |
5418 |
|
else |
5419 |
|
echo "$as_me: failed program was:" >&5 |
5420 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6641 |
< |
|
5420 |
> |
cat conftest.$ac_ext >&5 |
5421 |
|
ac_cv_lib_mkl_vslNewStream=no |
5422 |
|
fi |
5423 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5424 |
|
LIBS=$ac_check_lib_save_LIBS |
5425 |
|
fi |
5426 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
5426 |
> |
echo "$as_me:5426: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
5427 |
|
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
5428 |
|
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
5429 |
|
MKL_LIBDIR="${mkldir}/lib/32", |
5431 |
|
HAVE_MKL="yes" |
5432 |
|
fi |
5433 |
|
|
6655 |
– |
|
5434 |
|
else |
5435 |
|
MKL_INC="-I${mkldir}/include" |
5436 |
|
fi |
5437 |
|
|
6660 |
– |
|
5438 |
|
CPPFLAGS=$ac_save_CPPFLAGS |
5439 |
|
LDFLAGS=$ac_save_LDFLAGS |
5440 |
|
ac_ext=f90 |
5442 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5443 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5444 |
|
|
6668 |
– |
|
5445 |
|
if test x_$HAVE_MKL != x_yes; then |
5446 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with MKL" >&5 |
5446 |
> |
{ { echo "$as_me:5446: error: Can't build with MKL" >&5 |
5447 |
|
echo "$as_me: error: Can't build with MKL" >&2;} |
5448 |
|
{ (exit 1); exit 1; }; } |
5449 |
|
fi |
5450 |
|
|
6675 |
– |
|
6676 |
– |
|
6677 |
– |
|
6678 |
– |
|
5451 |
|
else |
5452 |
|
|
5453 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5453 |
> |
echo "$as_me:5453: result: no" >&5 |
5454 |
|
echo "${ECHO_T}no" >&6 |
5455 |
|
|
5456 |
|
fi; |
5457 |
|
|
6686 |
– |
|
6687 |
– |
|
6688 |
– |
|
5458 |
|
# Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given. |
5459 |
|
if test "${with_mpi_f90_mods+set}" = set; then |
5460 |
|
withval="$with_mpi_f90_mods" |
5463 |
|
mpi_f90_mods="/usr/local/include/f90choice" |
5464 |
|
fi; |
5465 |
|
|
5466 |
< |
echo "$as_me:$LINENO: checking for MPI F90 modules" >&5 |
5466 |
> |
echo "$as_me:5466: checking for MPI F90 modules" >&5 |
5467 |
|
echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6 |
5468 |
|
|
6700 |
– |
|
5469 |
|
ac_ext=f90 |
5470 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
5471 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5472 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5473 |
|
|
5474 |
|
ac_save_F90FLAGS=$F90FLAGS |
5475 |
+ |
|
5476 |
|
if test "$mpi_f90_mods"; then |
5477 |
< |
F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}" |
5477 |
> |
F90FLAGS="${F90FLAGS} ${MODDIRFLAG}${mpi_f90_mods}" |
5478 |
|
fi |
5479 |
|
|
5480 |
|
cat >conftest.$ac_ext <<_ACEOF |
5481 |
|
|
6713 |
– |
|
5482 |
|
program main |
5483 |
|
|
5484 |
|
use mpi |
5485 |
|
integer :: ierr |
5486 |
|
call MPI_Init(ierr) |
5487 |
|
|
6720 |
– |
|
5488 |
|
end program main |
5489 |
|
|
5490 |
|
_ACEOF |
5491 |
|
rm -f conftest.$ac_objext |
5492 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5492 |
> |
if { (eval echo "$as_me:5492: \"$ac_compile\"") >&5 |
5493 |
|
(eval $ac_compile) 2>&5 |
5494 |
|
ac_status=$? |
5495 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5495 |
> |
echo "$as_me:5495: \$? = $ac_status" >&5 |
5496 |
|
(exit $ac_status); } && |
5497 |
|
{ ac_try='test -s conftest.$ac_objext' |
5498 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5498 |
> |
{ (eval echo "$as_me:5498: \"$ac_try\"") >&5 |
5499 |
|
(eval $ac_try) 2>&5 |
5500 |
|
ac_status=$? |
5501 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5501 |
> |
echo "$as_me:5501: \$? = $ac_status" >&5 |
5502 |
|
(exit $ac_status); }; }; then |
5503 |
|
HAVE_MPI_MOD=1 |
5504 |
|
else |
5505 |
|
echo "$as_me: failed program was:" >&5 |
5506 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6740 |
< |
|
5506 |
> |
cat conftest.$ac_ext >&5 |
5507 |
|
HAVE_MPI_MOD=0 |
5508 |
|
fi |
5509 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5514 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5515 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5516 |
|
|
6751 |
– |
|
5517 |
|
if test "$HAVE_MPI_MOD" = 1; then |
5518 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5518 |
> |
echo "$as_me:5518: result: yes" >&5 |
5519 |
|
echo "${ECHO_T}yes" >&6 |
5520 |
|
|
5521 |
< |
cat >>confdefs.h <<\_ACEOF |
5521 |
> |
cat >>confdefs.h <<\EOF |
5522 |
|
#define MPI_MOD 1 |
5523 |
< |
_ACEOF |
5523 |
> |
EOF |
5524 |
|
|
5525 |
< |
MPI_F90_MODS="-I${mpi_f90_mods}" |
5525 |
> |
MPI_F90_MODS="${mpi_f90_mods}" |
5526 |
|
|
5527 |
|
# The library name: |
5528 |
|
if test -z "$MPI_LIB" ; then |
5535 |
|
fi |
5536 |
|
|
5537 |
|
else |
5538 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5538 |
> |
echo "$as_me:5538: result: no" >&5 |
5539 |
|
echo "${ECHO_T}no" >&6 |
5540 |
< |
{ { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5 |
5540 |
> |
{ { echo "$as_me:5540: error: Couldn't locate MPI F90 Modules" >&5 |
5541 |
|
echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;} |
5542 |
|
{ (exit 1); exit 1; }; } |
5543 |
|
fi |
5544 |
|
|
6780 |
– |
|
6781 |
– |
|
6782 |
– |
|
6783 |
– |
|
5545 |
|
OBJEXT=".$OBJEXT" |
5546 |
|
|
5547 |
|
OOPSE=oopse |
5577 |
|
|
5578 |
|
case $debug in |
5579 |
|
1) |
6819 |
– |
CFLAGS="$DEBUG $CFLAGS" |
6820 |
– |
CXXFLAGS="$DEBUG $CXXFLAGS" |
5580 |
|
FFLAGS="$DEBUG $FFLAGS" |
5581 |
|
F90FLAGS="$DEBUG $F90FLAGS" |
5582 |
|
;; |
5583 |
|
*) |
5584 |
|
;; |
5585 |
|
esac |
6827 |
– |
|
6828 |
– |
|
6829 |
– |
|
6830 |
– |
|
6831 |
– |
|
6832 |
– |
|
6833 |
– |
|
6834 |
– |
|
6835 |
– |
|
5586 |
|
|
5587 |
+ |
ac_config_headers="$ac_config_headers libmdtools/config.h" |
5588 |
|
|
5589 |
+ |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile" |
5590 |
|
|
6839 |
– |
|
6840 |
– |
|
6841 |
– |
|
6842 |
– |
|
6843 |
– |
|
6844 |
– |
ac_config_headers="$ac_config_headers libmdtools/config.h" |
6845 |
– |
|
6846 |
– |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile" |
6847 |
– |
|
6848 |
– |
|
5591 |
|
cat >confcache <<\_ACEOF |
5592 |
|
# This file is a shell script that caches the results of configure |
5593 |
|
# tests run on this system so they can be shared between configure |
5598 |
|
# config.status only pays attention to the cache file if you give it |
5599 |
|
# the --recheck option to rerun configure. |
5600 |
|
# |
5601 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
5601 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
5602 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
5603 |
|
# following values. |
5604 |
|
|
5617 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
5618 |
|
sed -n \ |
5619 |
|
"s/'/'\\\\''/g; |
5620 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5620 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5621 |
|
;; |
5622 |
|
*) |
5623 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
5624 |
|
sed -n \ |
5625 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5625 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5626 |
|
;; |
5627 |
|
esac; |
5628 |
|
} | |
5633 |
|
t end |
5634 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5635 |
|
: end' >>confcache |
5636 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
5636 |
> |
if cmp -s $cache_file confcache; then :; else |
5637 |
|
if test -w $cache_file; then |
5638 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
5639 |
|
cat confcache >$cache_file |
5664 |
|
|
5665 |
|
DEFS=-DHAVE_CONFIG_H |
5666 |
|
|
6925 |
– |
ac_libobjs= |
6926 |
– |
ac_ltlibobjs= |
6927 |
– |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6928 |
– |
# 1. Remove the extension, and $U if already installed. |
6929 |
– |
ac_i=`echo "$ac_i" | |
6930 |
– |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
6931 |
– |
# 2. Add them. |
6932 |
– |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
6933 |
– |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
6934 |
– |
done |
6935 |
– |
LIBOBJS=$ac_libobjs |
6936 |
– |
|
6937 |
– |
LTLIBOBJS=$ac_ltlibobjs |
6938 |
– |
|
6939 |
– |
|
6940 |
– |
|
5667 |
|
: ${CONFIG_STATUS=./config.status} |
5668 |
|
ac_clean_files_save=$ac_clean_files |
5669 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5670 |
< |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5670 |
> |
{ echo "$as_me:5670: creating $CONFIG_STATUS" >&5 |
5671 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5672 |
|
cat >$CONFIG_STATUS <<_ACEOF |
5673 |
|
#! $SHELL |
5674 |
< |
# Generated by $as_me. |
5674 |
> |
# Generated automatically by configure. |
5675 |
|
# Run this file to recreate the current configuration. |
5676 |
|
# Compiler output produced by configure, useful for debugging |
5677 |
|
# configure, is in config.log if it exists. |
5678 |
|
|
5679 |
|
debug=false |
6954 |
– |
ac_cs_recheck=false |
6955 |
– |
ac_cs_silent=false |
5680 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
5681 |
+ |
ac_cs_invocation="\$0 \$@" |
5682 |
+ |
|
5683 |
|
_ACEOF |
5684 |
|
|
5685 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
6960 |
– |
## --------------------- ## |
6961 |
– |
## M4sh Initialization. ## |
6962 |
– |
## --------------------- ## |
6963 |
– |
|
5686 |
|
# Be Bourne compatible |
5687 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5688 |
|
emulate sh |
5689 |
|
NULLCMD=: |
6968 |
– |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6969 |
– |
# is contrary to our usage. Disable this feature. |
6970 |
– |
alias -g '${1+"$@"}'='"$@"' |
5690 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
5691 |
|
set -o posix |
6973 |
– |
fi |
6974 |
– |
|
6975 |
– |
# Support unset when possible. |
6976 |
– |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
6977 |
– |
as_unset=unset |
6978 |
– |
else |
6979 |
– |
as_unset=false |
5692 |
|
fi |
5693 |
|
|
6982 |
– |
|
6983 |
– |
# Work around bugs in pre-3.0 UWIN ksh. |
6984 |
– |
$as_unset ENV MAIL MAILPATH |
6985 |
– |
PS1='$ ' |
6986 |
– |
PS2='> ' |
6987 |
– |
PS4='+ ' |
6988 |
– |
|
6989 |
– |
# NLS nuisances. |
6990 |
– |
for as_var in \ |
6991 |
– |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6992 |
– |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6993 |
– |
LC_TELEPHONE LC_TIME |
6994 |
– |
do |
6995 |
– |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6996 |
– |
eval $as_var=C; export $as_var |
6997 |
– |
else |
6998 |
– |
$as_unset $as_var |
6999 |
– |
fi |
7000 |
– |
done |
7001 |
– |
|
7002 |
– |
# Required to use basename. |
7003 |
– |
if expr a : '\(a\)' >/dev/null 2>&1; then |
7004 |
– |
as_expr=expr |
7005 |
– |
else |
7006 |
– |
as_expr=false |
7007 |
– |
fi |
7008 |
– |
|
7009 |
– |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
7010 |
– |
as_basename=basename |
7011 |
– |
else |
7012 |
– |
as_basename=false |
7013 |
– |
fi |
7014 |
– |
|
7015 |
– |
|
5694 |
|
# Name of the executable. |
5695 |
< |
as_me=`$as_basename "$0" || |
7018 |
< |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7019 |
< |
X"$0" : 'X\(//\)$' \| \ |
7020 |
< |
X"$0" : 'X\(/\)$' \| \ |
7021 |
< |
. : '\(.\)' 2>/dev/null || |
7022 |
< |
echo X/"$0" | |
7023 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
7024 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
7025 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
7026 |
< |
s/.*/./; q'` |
5695 |
> |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
5696 |
|
|
7028 |
– |
|
7029 |
– |
# PATH needs CR, and LINENO needs CR and PATH. |
7030 |
– |
# Avoid depending upon Character Ranges. |
7031 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7032 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7033 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7034 |
– |
as_cr_digits='0123456789' |
7035 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
7036 |
– |
|
7037 |
– |
# The user is always right. |
7038 |
– |
if test "${PATH_SEPARATOR+set}" != set; then |
7039 |
– |
echo "#! /bin/sh" >conf$$.sh |
7040 |
– |
echo "exit 0" >>conf$$.sh |
7041 |
– |
chmod +x conf$$.sh |
7042 |
– |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
7043 |
– |
PATH_SEPARATOR=';' |
7044 |
– |
else |
7045 |
– |
PATH_SEPARATOR=: |
7046 |
– |
fi |
7047 |
– |
rm -f conf$$.sh |
7048 |
– |
fi |
7049 |
– |
|
7050 |
– |
|
7051 |
– |
as_lineno_1=$LINENO |
7052 |
– |
as_lineno_2=$LINENO |
7053 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7054 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7055 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
7056 |
– |
# Find who we are. Look in the path if we contain no path at all |
7057 |
– |
# relative or not. |
7058 |
– |
case $0 in |
7059 |
– |
*[\\/]* ) as_myself=$0 ;; |
7060 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7061 |
– |
for as_dir in $PATH |
7062 |
– |
do |
7063 |
– |
IFS=$as_save_IFS |
7064 |
– |
test -z "$as_dir" && as_dir=. |
7065 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7066 |
– |
done |
7067 |
– |
|
7068 |
– |
;; |
7069 |
– |
esac |
7070 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
7071 |
– |
# in which case we are not to be found in the path. |
7072 |
– |
if test "x$as_myself" = x; then |
7073 |
– |
as_myself=$0 |
7074 |
– |
fi |
7075 |
– |
if test ! -f "$as_myself"; then |
7076 |
– |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
7077 |
– |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
7078 |
– |
{ (exit 1); exit 1; }; } |
7079 |
– |
fi |
7080 |
– |
case $CONFIG_SHELL in |
7081 |
– |
'') |
7082 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7083 |
– |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
7084 |
– |
do |
7085 |
– |
IFS=$as_save_IFS |
7086 |
– |
test -z "$as_dir" && as_dir=. |
7087 |
– |
for as_base in sh bash ksh sh5; do |
7088 |
– |
case $as_dir in |
7089 |
– |
/*) |
7090 |
– |
if ("$as_dir/$as_base" -c ' |
7091 |
– |
as_lineno_1=$LINENO |
7092 |
– |
as_lineno_2=$LINENO |
7093 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7094 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7095 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
7096 |
– |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
7097 |
– |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
7098 |
– |
CONFIG_SHELL=$as_dir/$as_base |
7099 |
– |
export CONFIG_SHELL |
7100 |
– |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
7101 |
– |
fi;; |
7102 |
– |
esac |
7103 |
– |
done |
7104 |
– |
done |
7105 |
– |
;; |
7106 |
– |
esac |
7107 |
– |
|
7108 |
– |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
7109 |
– |
# uniformly replaced by the line number. The first 'sed' inserts a |
7110 |
– |
# line-number line before each line; the second 'sed' does the real |
7111 |
– |
# work. The second script uses 'N' to pair each line-number line |
7112 |
– |
# with the numbered line, and appends trailing '-' during |
7113 |
– |
# substitution so that $LINENO is not a special case at line end. |
7114 |
– |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
7115 |
– |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
7116 |
– |
sed '=' <$as_myself | |
7117 |
– |
sed ' |
7118 |
– |
N |
7119 |
– |
s,$,-, |
7120 |
– |
: loop |
7121 |
– |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
7122 |
– |
t loop |
7123 |
– |
s,-$,, |
7124 |
– |
s,^['$as_cr_digits']*\n,, |
7125 |
– |
' >$as_me.lineno && |
7126 |
– |
chmod +x $as_me.lineno || |
7127 |
– |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
7128 |
– |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
7129 |
– |
{ (exit 1); exit 1; }; } |
7130 |
– |
|
7131 |
– |
# Don't try to exec as it changes $[0], causing all sort of problems |
7132 |
– |
# (the dirname of $[0] is not the place where we might find the |
7133 |
– |
# original and so on. Autoconf is especially sensible to this). |
7134 |
– |
. ./$as_me.lineno |
7135 |
– |
# Exit status is that of the last command. |
7136 |
– |
exit |
7137 |
– |
} |
7138 |
– |
|
7139 |
– |
|
7140 |
– |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
7141 |
– |
*c*,-n*) ECHO_N= ECHO_C=' |
7142 |
– |
' ECHO_T=' ' ;; |
7143 |
– |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
7144 |
– |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
7145 |
– |
esac |
7146 |
– |
|
5697 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
5698 |
|
as_expr=expr |
5699 |
|
else |
5718 |
|
fi |
5719 |
|
rm -f conf$$ conf$$.exe conf$$.file |
5720 |
|
|
5721 |
< |
if mkdir -p . 2>/dev/null; then |
5722 |
< |
as_mkdir_p=: |
5721 |
> |
as_executable_p="test -f" |
5722 |
> |
|
5723 |
> |
# Support unset when possible. |
5724 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
5725 |
> |
as_unset=unset |
5726 |
|
else |
5727 |
< |
as_mkdir_p=false |
5727 |
> |
as_unset=false |
5728 |
|
fi |
5729 |
|
|
5730 |
< |
as_executable_p="test -f" |
5730 |
> |
# NLS nuisances. |
5731 |
> |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
5732 |
> |
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
5733 |
> |
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
5734 |
> |
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
5735 |
> |
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
5736 |
> |
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
5737 |
> |
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
5738 |
> |
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
5739 |
|
|
7179 |
– |
# Sed expression to map a string onto a valid CPP name. |
7180 |
– |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
7181 |
– |
|
7182 |
– |
# Sed expression to map a string onto a valid variable name. |
7183 |
– |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
7184 |
– |
|
7185 |
– |
|
5740 |
|
# IFS |
5741 |
|
# We need space, tab and new line, in precisely that order. |
5742 |
|
as_nl=' |
5744 |
|
IFS=" $as_nl" |
5745 |
|
|
5746 |
|
# CDPATH. |
5747 |
< |
$as_unset CDPATH |
5747 |
> |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
5748 |
|
|
5749 |
|
exec 6>&1 |
5750 |
|
|
7197 |
– |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
7198 |
– |
# report actual input values of CONFIG_FILES etc. instead of their |
7199 |
– |
# values after options handling. Logging --version etc. is OK. |
7200 |
– |
exec 5>>config.log |
7201 |
– |
{ |
7202 |
– |
echo |
7203 |
– |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
7204 |
– |
## Running $as_me. ## |
7205 |
– |
_ASBOX |
7206 |
– |
} >&5 |
7207 |
– |
cat >&5 <<_CSEOF |
7208 |
– |
|
7209 |
– |
This file was extended by OOPSE $as_me 1.0, which was |
7210 |
– |
generated by GNU Autoconf 2.57. Invocation command line was |
7211 |
– |
|
7212 |
– |
CONFIG_FILES = $CONFIG_FILES |
7213 |
– |
CONFIG_HEADERS = $CONFIG_HEADERS |
7214 |
– |
CONFIG_LINKS = $CONFIG_LINKS |
7215 |
– |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
7216 |
– |
$ $0 $@ |
7217 |
– |
|
7218 |
– |
_CSEOF |
7219 |
– |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
7220 |
– |
echo >&5 |
5751 |
|
_ACEOF |
5752 |
|
|
5753 |
|
# Files that config.status was made for. |
5767 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
5768 |
|
fi |
5769 |
|
|
5770 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5770 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5771 |
|
|
5772 |
|
ac_cs_usage="\ |
5773 |
|
\`$as_me' instantiates files from templates according to the |
5777 |
|
|
5778 |
|
-h, --help print this help, then exit |
5779 |
|
-V, --version print version number, then exit |
7250 |
– |
-q, --quiet do not print progress messages |
5780 |
|
-d, --debug don't remove temporary files |
5781 |
|
--recheck update $as_me by reconfiguring in the same conditions |
5782 |
|
--file=FILE[:TEMPLATE] |
5791 |
|
$config_headers |
5792 |
|
|
5793 |
|
Report bugs to <bug-autoconf@gnu.org>." |
5794 |
< |
_ACEOF |
5794 |
> |
EOF |
5795 |
|
|
5796 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5796 |
> |
cat >>$CONFIG_STATUS <<EOF |
5797 |
|
ac_cs_version="\\ |
5798 |
|
OOPSE config.status 1.0 |
5799 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
5799 |
> |
configured by $0, generated by GNU Autoconf 2.50, |
5800 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
5801 |
|
|
5802 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
5805 |
|
gives unlimited permission to copy, distribute and modify it." |
5806 |
|
srcdir=$srcdir |
5807 |
|
INSTALL="$INSTALL" |
5808 |
< |
_ACEOF |
5808 |
> |
EOF |
5809 |
|
|
5810 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5810 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5811 |
|
# If no file are specified by the user, then we need to provide default |
5812 |
|
# value. By we need to know if files were specified by the user. |
5813 |
|
ac_need_defaults=: |
5817 |
|
--*=*) |
5818 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
5819 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
5820 |
< |
ac_shift=: |
5820 |
> |
shift |
5821 |
> |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
5822 |
> |
shift |
5823 |
|
;; |
5824 |
< |
-*) |
7294 |
< |
ac_option=$1 |
7295 |
< |
ac_optarg=$2 |
7296 |
< |
ac_shift=shift |
7297 |
< |
;; |
5824 |
> |
-*);; |
5825 |
|
*) # This is not an option, so the user has probably given explicit |
5826 |
|
# arguments. |
7300 |
– |
ac_option=$1 |
5827 |
|
ac_need_defaults=false;; |
5828 |
|
esac |
5829 |
|
|
5830 |
< |
case $ac_option in |
5830 |
> |
case $1 in |
5831 |
|
# Handling of the options. |
5832 |
< |
_ACEOF |
5833 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5832 |
> |
EOF |
5833 |
> |
cat >>$CONFIG_STATUS <<EOF |
5834 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5835 |
< |
ac_cs_recheck=: ;; |
5835 |
> |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
5836 |
> |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
5837 |
> |
EOF |
5838 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5839 |
|
--version | --vers* | -V ) |
5840 |
|
echo "$ac_cs_version"; exit 0 ;; |
5841 |
|
--he | --h) |
5842 |
|
# Conflict between --help and --header |
5843 |
< |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
5843 |
> |
{ { echo "$as_me:5843: error: ambiguous option: $1 |
5844 |
|
Try \`$0 --help' for more information." >&5 |
5845 |
|
echo "$as_me: error: ambiguous option: $1 |
5846 |
|
Try \`$0 --help' for more information." >&2;} |
5850 |
|
--debug | --d* | -d ) |
5851 |
|
debug=: ;; |
5852 |
|
--file | --fil | --fi | --f ) |
5853 |
< |
$ac_shift |
5854 |
< |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
5853 |
> |
shift |
5854 |
> |
CONFIG_FILES="$CONFIG_FILES $1" |
5855 |
|
ac_need_defaults=false;; |
5856 |
|
--header | --heade | --head | --hea ) |
5857 |
< |
$ac_shift |
5858 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
5857 |
> |
shift |
5858 |
> |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
5859 |
|
ac_need_defaults=false;; |
7331 |
– |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7332 |
– |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
7333 |
– |
ac_cs_silent=: ;; |
5860 |
|
|
5861 |
+ |
# Handling of arguments. |
5862 |
+ |
'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5863 |
+ |
'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;; |
5864 |
+ |
'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;; |
5865 |
+ |
'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
5866 |
+ |
'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; |
5867 |
+ |
'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;; |
5868 |
+ |
'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;; |
5869 |
+ |
'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; |
5870 |
+ |
'staticProps/Makefile' ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;; |
5871 |
+ |
'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;; |
5872 |
+ |
'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;; |
5873 |
+ |
'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;; |
5874 |
+ |
'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; |
5875 |
+ |
'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; |
5876 |
+ |
'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; |
5877 |
+ |
'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
5878 |
+ |
|
5879 |
|
# This is an error. |
5880 |
< |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
5880 |
> |
-*) { { echo "$as_me:5880: error: unrecognized option: $1 |
5881 |
|
Try \`$0 --help' for more information." >&5 |
5882 |
|
echo "$as_me: error: unrecognized option: $1 |
5883 |
|
Try \`$0 --help' for more information." >&2;} |
5884 |
|
{ (exit 1); exit 1; }; } ;; |
5885 |
< |
|
5886 |
< |
*) ac_config_targets="$ac_config_targets $1" ;; |
5887 |
< |
|
5885 |
> |
*) { { echo "$as_me:5885: error: invalid argument: $1" >&5 |
5886 |
> |
echo "$as_me: error: invalid argument: $1" >&2;} |
5887 |
> |
{ (exit 1); exit 1; }; };; |
5888 |
|
esac |
5889 |
|
shift |
5890 |
|
done |
5891 |
|
|
5892 |
< |
ac_configure_extra_args= |
5892 |
> |
exec 5>>config.log |
5893 |
> |
cat >&5 << _ACEOF |
5894 |
|
|
5895 |
< |
if $ac_cs_silent; then |
5896 |
< |
exec 6>/dev/null |
5897 |
< |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
7353 |
< |
fi |
5895 |
> |
## ----------------------- ## |
5896 |
> |
## Running config.status. ## |
5897 |
> |
## ----------------------- ## |
5898 |
|
|
5899 |
< |
_ACEOF |
5900 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5901 |
< |
if \$ac_cs_recheck; then |
7358 |
< |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
7359 |
< |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
7360 |
< |
fi |
5899 |
> |
This file was extended by $as_me (OOPSE 1.0) 2.50, executed with |
5900 |
> |
> $ac_cs_invocation |
5901 |
> |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
5902 |
|
|
5903 |
|
_ACEOF |
5904 |
+ |
EOF |
5905 |
|
|
5906 |
< |
|
7365 |
< |
|
7366 |
< |
|
7367 |
< |
|
7368 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7369 |
< |
for ac_config_target in $ac_config_targets |
7370 |
< |
do |
7371 |
< |
case "$ac_config_target" in |
7372 |
< |
# Handling of arguments. |
7373 |
< |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
7374 |
< |
"libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;; |
7375 |
< |
"libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;; |
7376 |
< |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
7377 |
< |
"utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; |
7378 |
< |
"utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;; |
7379 |
< |
"forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;; |
7380 |
< |
"samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; |
7381 |
< |
"staticProps/Makefile" ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;; |
7382 |
< |
"samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;; |
7383 |
< |
"samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;; |
7384 |
< |
"samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;; |
7385 |
< |
"samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; |
7386 |
< |
"samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; |
7387 |
< |
"samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; |
7388 |
< |
"libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
7389 |
< |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
7390 |
< |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
7391 |
< |
{ (exit 1); exit 1; }; };; |
7392 |
< |
esac |
7393 |
< |
done |
7394 |
< |
|
5906 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5907 |
|
# If the user did not use the arguments to specify the items to instantiate, |
5908 |
|
# then the envvar interface is used. Set only those that are not. |
5909 |
|
# We use the long form for the default assignment because of an extremely |
5913 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
5914 |
|
fi |
5915 |
|
|
7404 |
– |
# Have a temporary directory for convenience. Make it in the build tree |
7405 |
– |
# simply because there is no reason to put it here, and in addition, |
7406 |
– |
# creating and moving files from /tmp can sometimes cause problems. |
5916 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
5917 |
|
$debug || |
5918 |
|
{ |
5919 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
5920 |
< |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
5920 |
> |
trap '{ (exit $?); exit $?; }' 1 2 13 15 |
5921 |
|
} |
5922 |
|
|
5923 |
|
# Create a (secure) tmp directory for tmp files. |
5924 |
< |
|
5924 |
> |
: ${TMPDIR=/tmp} |
5925 |
|
{ |
5926 |
< |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
5926 |
> |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
5927 |
|
test -n "$tmp" && test -d "$tmp" |
5928 |
|
} || |
5929 |
|
{ |
5930 |
< |
tmp=./confstat$$-$RANDOM |
5930 |
> |
tmp=$TMPDIR/cs$$-$RANDOM |
5931 |
|
(umask 077 && mkdir $tmp) |
5932 |
|
} || |
5933 |
|
{ |
5934 |
< |
echo "$me: cannot create a temporary directory in ." >&2 |
5934 |
> |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
5935 |
|
{ (exit 1); exit 1; } |
5936 |
|
} |
5937 |
|
|
5938 |
< |
_ACEOF |
5938 |
> |
EOF |
5939 |
|
|
5940 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5940 |
> |
cat >>$CONFIG_STATUS <<EOF |
5941 |
|
|
5942 |
|
# |
5943 |
|
# CONFIG_FILES section. |
5950 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
5951 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
5952 |
|
s,@SHELL@,$SHELL,;t t |
7444 |
– |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
7445 |
– |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
7446 |
– |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
7447 |
– |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
7448 |
– |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
7449 |
– |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
5953 |
|
s,@exec_prefix@,$exec_prefix,;t t |
5954 |
|
s,@prefix@,$prefix,;t t |
5955 |
|
s,@program_transform_name@,$program_transform_name,;t t |
5965 |
|
s,@oldincludedir@,$oldincludedir,;t t |
5966 |
|
s,@infodir@,$infodir,;t t |
5967 |
|
s,@mandir@,$mandir,;t t |
5968 |
< |
s,@build_alias@,$build_alias,;t t |
5969 |
< |
s,@host_alias@,$host_alias,;t t |
5970 |
< |
s,@target_alias@,$target_alias,;t t |
5971 |
< |
s,@DEFS@,$DEFS,;t t |
5968 |
> |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
5969 |
> |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
5970 |
> |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
5971 |
> |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
5972 |
> |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
5973 |
|
s,@ECHO_C@,$ECHO_C,;t t |
5974 |
|
s,@ECHO_N@,$ECHO_N,;t t |
5975 |
|
s,@ECHO_T@,$ECHO_T,;t t |
5976 |
+ |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
5977 |
+ |
s,@DEFS@,$DEFS,;t t |
5978 |
|
s,@LIBS@,$LIBS,;t t |
5979 |
|
s,@PROGNAME@,$PROGNAME,;t t |
5980 |
|
s,@debug@,$debug,;t t |
6016 |
|
s,@F90LIBS@,$F90LIBS,;t t |
6017 |
|
s,@F90_FUNC@,$F90_FUNC,;t t |
6018 |
|
s,@F90_FUNC_@,$F90_FUNC_,;t t |
6019 |
+ |
s,@MOD@,$MOD,;t t |
6020 |
+ |
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
6021 |
+ |
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
6022 |
+ |
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
6023 |
|
s,@mpi_dir@,$mpi_dir,;t t |
6024 |
|
s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t |
6025 |
|
s,@MPI_INC@,$MPI_INC,;t t |
6028 |
|
s,@MPIF90@,$MPIF90,;t t |
6029 |
|
s,@MPILIBS@,$MPILIBS,;t t |
6030 |
|
s,@CPP@,$CPP,;t t |
7521 |
– |
s,@EGREP@,$EGREP,;t t |
6031 |
|
s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t |
6032 |
|
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
6033 |
|
s,@SPRNG_INC@,$SPRNG_INC,;t t |
6044 |
|
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
6045 |
|
s,@SUBDIRS@,$SUBDIRS,;t t |
6046 |
|
s,@FFLAGS@,$FFLAGS,;t t |
7538 |
– |
s,@LIBOBJS@,$LIBOBJS,;t t |
7539 |
– |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
6047 |
|
CEOF |
6048 |
|
|
6049 |
< |
_ACEOF |
6049 |
> |
EOF |
6050 |
|
|
6051 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6051 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6052 |
|
# Split the substitutions into bite-sized pieces for seds with |
6053 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
6054 |
|
ac_max_sed_lines=48 |
6087 |
|
fi |
6088 |
|
fi # test -n "$CONFIG_FILES" |
6089 |
|
|
6090 |
< |
_ACEOF |
6091 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6090 |
> |
EOF |
6091 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6092 |
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
6093 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
6094 |
|
case $ac_file in |
6102 |
|
esac |
6103 |
|
|
6104 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
6105 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7599 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6105 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6106 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6107 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
6108 |
|
X"$ac_file" : 'X\(/\)' \| \ |
6113 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
6114 |
|
/^X\(\/\).*/{ s//\1/; q; } |
6115 |
|
s/.*/./; q'` |
6116 |
< |
{ if $as_mkdir_p; then |
6117 |
< |
mkdir -p "$ac_dir" |
6118 |
< |
else |
6119 |
< |
as_dir="$ac_dir" |
6120 |
< |
as_dirs= |
6121 |
< |
while test ! -d "$as_dir"; do |
6122 |
< |
as_dirs="$as_dir $as_dirs" |
6123 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6124 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6125 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6126 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
6127 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
6128 |
< |
. : '\(.\)' 2>/dev/null || |
6129 |
< |
echo X"$as_dir" | |
6130 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6131 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7626 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
7627 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
7628 |
< |
s/.*/./; q'` |
7629 |
< |
done |
7630 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
7631 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7632 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7633 |
< |
{ (exit 1); exit 1; }; }; } |
7634 |
< |
|
7635 |
< |
ac_builddir=. |
6116 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
6117 |
> |
{ case "$ac_dir" in |
6118 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
6119 |
> |
*) as_incr_dir=.;; |
6120 |
> |
esac |
6121 |
> |
as_dummy="$ac_dir" |
6122 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
6123 |
> |
case $as_mkdir_dir in |
6124 |
> |
# Skip DOS drivespec |
6125 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
6126 |
> |
*) |
6127 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
6128 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
6129 |
> |
;; |
6130 |
> |
esac |
6131 |
> |
done; } |
6132 |
|
|
6133 |
< |
if test "$ac_dir" != .; then |
6134 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6135 |
< |
# A "../" for each directory in $ac_dir_suffix. |
6136 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
6137 |
< |
else |
6138 |
< |
ac_dir_suffix= ac_top_builddir= |
7643 |
< |
fi |
6133 |
> |
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
6134 |
> |
# A "../" for each directory in $ac_dir_suffix. |
6135 |
> |
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
6136 |
> |
else |
6137 |
> |
ac_dir_suffix= ac_dots= |
6138 |
> |
fi |
6139 |
|
|
6140 |
< |
case $srcdir in |
6141 |
< |
.) # No --srcdir option. We are building in place. |
6142 |
< |
ac_srcdir=. |
6143 |
< |
if test -z "$ac_top_builddir"; then |
6144 |
< |
ac_top_srcdir=. |
6145 |
< |
else |
6146 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
6147 |
< |
fi ;; |
6148 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
6149 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
7655 |
< |
ac_top_srcdir=$srcdir ;; |
6140 |
> |
case $srcdir in |
6141 |
> |
.) ac_srcdir=. |
6142 |
> |
if test -z "$ac_dots"; then |
6143 |
> |
ac_top_srcdir=. |
6144 |
> |
else |
6145 |
> |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
6146 |
> |
fi ;; |
6147 |
> |
[\\/]* | ?:[\\/]* ) |
6148 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
6149 |
> |
ac_top_srcdir=$srcdir ;; |
6150 |
|
*) # Relative path. |
6151 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
6152 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
6153 |
< |
esac |
7660 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
7661 |
< |
# absolute. |
7662 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
7663 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
7664 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
7665 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
6151 |
> |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
6152 |
> |
ac_top_srcdir=$ac_dots$srcdir ;; |
6153 |
> |
esac |
6154 |
|
|
7667 |
– |
|
6155 |
|
case $INSTALL in |
6156 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
6157 |
< |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
6157 |
> |
*) ac_INSTALL=$ac_dots$INSTALL ;; |
6158 |
|
esac |
6159 |
|
|
6160 |
|
if test x"$ac_file" != x-; then |
6161 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
6161 |
> |
{ echo "$as_me:6161: creating $ac_file" >&5 |
6162 |
|
echo "$as_me: creating $ac_file" >&6;} |
6163 |
|
rm -f "$ac_file" |
6164 |
|
fi |
6165 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
6166 |
|
# use $as_me), people would be surprised to read: |
6167 |
< |
# /* config.h. Generated by config.status. */ |
6168 |
< |
if test x"$ac_file" = x-; then |
6169 |
< |
configure_input= |
7683 |
< |
else |
7684 |
< |
configure_input="$ac_file. " |
7685 |
< |
fi |
7686 |
< |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
7687 |
< |
sed 's,.*/,,'` by configure." |
6167 |
> |
# /* config.h. Generated automatically by config.status. */ |
6168 |
> |
configure_input="Generated automatically from `echo $ac_file_in | |
6169 |
> |
sed 's,.*/,,'` by configure." |
6170 |
|
|
6171 |
|
# First look for the input files in the build tree, otherwise in the |
6172 |
|
# src tree. |
6176 |
|
-) echo $tmp/stdin ;; |
6177 |
|
[\\/$]*) |
6178 |
|
# Absolute (can't be DOS-style, as IFS=:) |
6179 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6179 |
> |
test -f "$f" || { { echo "$as_me:6179: error: cannot find input file: $f" >&5 |
6180 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6181 |
|
{ (exit 1); exit 1; }; } |
6182 |
|
echo $f;; |
6189 |
|
echo $srcdir/$f |
6190 |
|
else |
6191 |
|
# /dev/null tree |
6192 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6192 |
> |
{ { echo "$as_me:6192: error: cannot find input file: $f" >&5 |
6193 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6194 |
|
{ (exit 1); exit 1; }; } |
6195 |
|
fi;; |
6196 |
|
esac |
6197 |
|
done` || { (exit 1); exit 1; } |
6198 |
< |
_ACEOF |
6199 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
6198 |
> |
EOF |
6199 |
> |
cat >>$CONFIG_STATUS <<EOF |
6200 |
|
sed "$ac_vpsub |
6201 |
|
$extrasub |
6202 |
< |
_ACEOF |
6203 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6202 |
> |
EOF |
6203 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6204 |
|
:t |
6205 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6206 |
|
s,@configure_input@,$configure_input,;t t |
6207 |
|
s,@srcdir@,$ac_srcdir,;t t |
7726 |
– |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
6208 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
7728 |
– |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
7729 |
– |
s,@builddir@,$ac_builddir,;t t |
7730 |
– |
s,@abs_builddir@,$ac_abs_builddir,;t t |
7731 |
– |
s,@top_builddir@,$ac_top_builddir,;t t |
7732 |
– |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
6209 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
6210 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
6211 |
|
rm -f $tmp/stdin |
6217 |
|
fi |
6218 |
|
|
6219 |
|
done |
6220 |
< |
_ACEOF |
6221 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6220 |
> |
EOF |
6221 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6222 |
|
|
6223 |
|
# |
6224 |
|
# CONFIG_HEADER section. |
6250 |
|
* ) ac_file_in=$ac_file.in ;; |
6251 |
|
esac |
6252 |
|
|
6253 |
< |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
6253 |
> |
test x"$ac_file" != x- && { echo "$as_me:6253: creating $ac_file" >&5 |
6254 |
|
echo "$as_me: creating $ac_file" >&6;} |
6255 |
|
|
6256 |
|
# First look for the input files in the build tree, otherwise in the |
6261 |
|
-) echo $tmp/stdin ;; |
6262 |
|
[\\/$]*) |
6263 |
|
# Absolute (can't be DOS-style, as IFS=:) |
6264 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6264 |
> |
test -f "$f" || { { echo "$as_me:6264: error: cannot find input file: $f" >&5 |
6265 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6266 |
|
{ (exit 1); exit 1; }; } |
6267 |
|
echo $f;; |
6274 |
|
echo $srcdir/$f |
6275 |
|
else |
6276 |
|
# /dev/null tree |
6277 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6277 |
> |
{ { echo "$as_me:6277: error: cannot find input file: $f" >&5 |
6278 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6279 |
|
{ (exit 1); exit 1; }; } |
6280 |
|
fi;; |
6283 |
|
# Remove the trailing spaces. |
6284 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
6285 |
|
|
6286 |
< |
_ACEOF |
6286 |
> |
EOF |
6287 |
|
|
6288 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
6289 |
|
# `conftest.undefs', that substitutes the proper values into |
6299 |
|
# `end' is used to avoid that the second main sed command (meant for |
6300 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
6301 |
|
# See the Autoconf documentation for `clear'. |
6302 |
< |
cat >confdef2sed.sed <<\_ACEOF |
6302 |
> |
cat >confdef2sed.sed <<\EOF |
6303 |
|
s/[\\&,]/\\&/g |
6304 |
|
s,[\\$`],\\&,g |
6305 |
|
t clear |
6306 |
|
: clear |
6307 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
6307 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
6308 |
|
t end |
6309 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
6310 |
|
: end |
6311 |
< |
_ACEOF |
6311 |
> |
EOF |
6312 |
|
# If some macros were called several times there might be several times |
6313 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
6314 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
6319 |
|
# This sed command replaces #undef with comments. This is necessary, for |
6320 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
6321 |
|
# on some systems where configure will not decide to define it. |
6322 |
< |
cat >>conftest.undefs <<\_ACEOF |
6322 |
> |
cat >>conftest.undefs <<\EOF |
6323 |
|
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
6324 |
< |
_ACEOF |
6324 |
> |
EOF |
6325 |
|
|
6326 |
|
# Break up conftest.defines because some shells have a limit on the size |
6327 |
|
# of here documents, and old seds have small limits too (100 cmds). |
6328 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
6329 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
6329 |
> |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
6330 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
6331 |
|
echo ' :' >>$CONFIG_STATUS |
6332 |
|
rm -f conftest.tail |
6350 |
|
mv conftest.tail conftest.defines |
6351 |
|
done |
6352 |
|
rm -f conftest.defines |
6353 |
< |
echo ' fi # grep' >>$CONFIG_STATUS |
6353 |
> |
echo ' fi # egrep' >>$CONFIG_STATUS |
6354 |
|
echo >>$CONFIG_STATUS |
6355 |
|
|
6356 |
|
# Break up conftest.undefs because some shells have a limit on the size |
6378 |
|
done |
6379 |
|
rm -f conftest.undefs |
6380 |
|
|
6381 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6381 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6382 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
6383 |
|
# use $as_me), people would be surprised to read: |
6384 |
< |
# /* config.h. Generated by config.status. */ |
6384 |
> |
# /* config.h. Generated automatically by config.status. */ |
6385 |
|
if test x"$ac_file" = x-; then |
6386 |
< |
echo "/* Generated by configure. */" >$tmp/config.h |
6386 |
> |
echo "/* Generated automatically by configure. */" >$tmp/config.h |
6387 |
|
else |
6388 |
< |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
6388 |
> |
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
6389 |
|
fi |
6390 |
|
cat $tmp/in >>$tmp/config.h |
6391 |
|
rm -f $tmp/in |
6392 |
|
if test x"$ac_file" != x-; then |
6393 |
< |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
6394 |
< |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6393 |
> |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
6394 |
> |
{ echo "$as_me:6394: $ac_file is unchanged" >&5 |
6395 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
6396 |
|
else |
6397 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7922 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6397 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6398 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6399 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
6400 |
|
X"$ac_file" : 'X\(/\)' \| \ |
6405 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
6406 |
|
/^X\(\/\).*/{ s//\1/; q; } |
6407 |
|
s/.*/./; q'` |
6408 |
< |
{ if $as_mkdir_p; then |
6409 |
< |
mkdir -p "$ac_dir" |
6410 |
< |
else |
6411 |
< |
as_dir="$ac_dir" |
6412 |
< |
as_dirs= |
6413 |
< |
while test ! -d "$as_dir"; do |
6414 |
< |
as_dirs="$as_dir $as_dirs" |
6415 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6416 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6417 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6418 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
6419 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
6420 |
< |
. : '\(.\)' 2>/dev/null || |
6421 |
< |
echo X"$as_dir" | |
6422 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6423 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7949 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
7950 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
7951 |
< |
s/.*/./; q'` |
7952 |
< |
done |
7953 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
7954 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7955 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7956 |
< |
{ (exit 1); exit 1; }; }; } |
6408 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
6409 |
> |
{ case "$ac_dir" in |
6410 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
6411 |
> |
*) as_incr_dir=.;; |
6412 |
> |
esac |
6413 |
> |
as_dummy="$ac_dir" |
6414 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
6415 |
> |
case $as_mkdir_dir in |
6416 |
> |
# Skip DOS drivespec |
6417 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
6418 |
> |
*) |
6419 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
6420 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
6421 |
> |
;; |
6422 |
> |
esac |
6423 |
> |
done; } |
6424 |
|
|
6425 |
+ |
fi |
6426 |
|
rm -f $ac_file |
6427 |
|
mv $tmp/config.h $ac_file |
6428 |
|
fi |
6431 |
|
rm -f $tmp/config.h |
6432 |
|
fi |
6433 |
|
done |
6434 |
< |
_ACEOF |
6434 |
> |
EOF |
6435 |
|
|
6436 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6436 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6437 |
|
|
6438 |
|
{ (exit 0); exit 0; } |
6439 |
< |
_ACEOF |
6439 |
> |
EOF |
6440 |
|
chmod +x $CONFIG_STATUS |
6441 |
|
ac_clean_files=$ac_clean_files_save |
6442 |
|
|
7975 |
– |
|
6443 |
|
# configure is writing to config.log, and then calls config.status. |
6444 |
|
# config.status does its own redirection, appending to config.log. |
6445 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
6450 |
|
# need to make the FD available again. |
6451 |
|
if test "$no_create" != yes; then |
6452 |
|
ac_cs_success=: |
7986 |
– |
ac_config_status_args= |
7987 |
– |
test "$silent" = yes && |
7988 |
– |
ac_config_status_args="$ac_config_status_args --quiet" |
6453 |
|
exec 5>/dev/null |
6454 |
< |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6454 |
> |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
6455 |
|
exec 5>>config.log |
6456 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6457 |
|
# would make configure fail if this is the last instruction. |