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) |
653 |
|
--with-mpi_dir=MPIDIR give the path for MPI /usr/local |
654 |
|
--with-mpi-libdir=dir give the path for MPI-libraries MPI_DIR/lib |
655 |
|
--with-mpi_inc=dir give the path for MPI-include-files MPI_DIR/include |
656 |
< |
--with-sprng-prefix=PREFIX |
656 |
> |
--with-sprng_prefix=PREFIX |
657 |
|
Prefix where SPRNG is installed |
658 |
< |
--with-sprng-lib=PREFIX SPRNG library directory |
659 |
< |
--with-sprng-include=PREFIX |
658 |
> |
--with-sprng_lib_prefix=PREFIX SPRNG library directory |
659 |
> |
--with-sprng_include_prefix=PREFIX |
660 |
|
SPRNG include directory |
661 |
|
--with-mkl Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60 |
886 |
– |
--with-mpi_f90_mods=<dir> |
887 |
– |
Location where MPI f90 modules are installed |
662 |
|
|
663 |
|
Some influential environment variables: |
664 |
|
CC C compiler command |
678 |
|
it to find libraries and programs with nonstandard names/locations. |
679 |
|
|
680 |
|
Report bugs to <gezelter@nd.edu>. |
681 |
< |
_ACEOF |
681 |
> |
EOF |
682 |
|
fi |
683 |
|
|
684 |
|
if test "$ac_init_help" = "recursive"; then |
685 |
|
# If there are subdirs, report their specific --help. |
686 |
|
ac_popdir=`pwd` |
687 |
< |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
688 |
< |
test -d $ac_dir || continue |
689 |
< |
ac_builddir=. |
687 |
> |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
688 |
> |
cd $ac_subdir |
689 |
> |
# A "../" for each directory in /$ac_subdir. |
690 |
> |
ac_dots=`echo $ac_subdir | |
691 |
> |
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
692 |
|
|
693 |
< |
if test "$ac_dir" != .; then |
694 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
695 |
< |
# A "../" for each directory in $ac_dir_suffix. |
696 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
697 |
< |
else |
698 |
< |
ac_dir_suffix= ac_top_builddir= |
699 |
< |
fi |
693 |
> |
case $srcdir in |
694 |
> |
.) # No --srcdir option. We are building in place. |
695 |
> |
ac_sub_srcdir=$srcdir ;; |
696 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
697 |
> |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
698 |
> |
*) # Relative path. |
699 |
> |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
700 |
> |
esac |
701 |
|
|
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 |
702 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
703 |
< |
if test -f $ac_srcdir/configure.gnu; then |
703 |
> |
if test -f $ac_sub_srcdir/configure.gnu; then |
704 |
|
echo |
705 |
< |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
706 |
< |
elif test -f $ac_srcdir/configure; then |
705 |
> |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
706 |
> |
elif test -f $ac_sub_srcdir/configure; then |
707 |
|
echo |
708 |
< |
$SHELL $ac_srcdir/configure --help=recursive |
709 |
< |
elif test -f $ac_srcdir/configure.ac || |
710 |
< |
test -f $ac_srcdir/configure.in; then |
708 |
> |
$SHELL $ac_sub_srcdir/configure --help=recursive |
709 |
> |
elif test -f $ac_sub_srcdir/configure.ac || |
710 |
> |
test -f $ac_sub_srcdir/configure.in; then |
711 |
|
echo |
712 |
|
$ac_configure --help |
713 |
|
else |
714 |
< |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
714 |
> |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
715 |
|
fi |
716 |
|
cd $ac_popdir |
717 |
|
done |
719 |
|
|
720 |
|
test -n "$ac_init_help" && exit 0 |
721 |
|
if $ac_init_version; then |
722 |
< |
cat <<\_ACEOF |
722 |
> |
cat <<\EOF |
723 |
|
OOPSE configure 1.0 |
724 |
< |
generated by GNU Autoconf 2.57 |
724 |
> |
generated by GNU Autoconf 2.50 |
725 |
|
|
726 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
726 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
727 |
|
Free Software Foundation, Inc. |
728 |
|
This configure script is free software; the Free Software Foundation |
729 |
|
gives unlimited permission to copy, distribute and modify it. |
730 |
< |
_ACEOF |
730 |
> |
EOF |
731 |
|
exit 0 |
732 |
|
fi |
733 |
|
exec 5>config.log |
734 |
< |
cat >&5 <<_ACEOF |
734 |
> |
cat >&5 <<EOF |
735 |
|
This file contains any messages produced by compilers while |
736 |
|
running configure, to aid debugging if configure makes a mistake. |
737 |
|
|
738 |
|
It was created by OOPSE $as_me 1.0, which was |
739 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
739 |
> |
generated by GNU Autoconf 2.50. Invocation command line was |
740 |
|
|
741 |
|
$ $0 $@ |
742 |
|
|
743 |
< |
_ACEOF |
743 |
> |
EOF |
744 |
|
{ |
745 |
|
cat <<_ASUNAME |
746 |
< |
## --------- ## |
747 |
< |
## Platform. ## |
748 |
< |
## --------- ## |
746 |
> |
## ---------- ## |
747 |
> |
## Platform. ## |
748 |
> |
## ---------- ## |
749 |
|
|
750 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
751 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
764 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
765 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
766 |
|
|
767 |
< |
_ASUNAME |
767 |
> |
PATH = $PATH |
768 |
|
|
769 |
< |
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 |
< |
|
769 |
> |
_ASUNAME |
770 |
|
} >&5 |
771 |
|
|
772 |
< |
cat >&5 <<_ACEOF |
772 |
> |
cat >&5 <<EOF |
773 |
> |
## ------------ ## |
774 |
> |
## Core tests. ## |
775 |
> |
## ------------ ## |
776 |
|
|
777 |
+ |
EOF |
778 |
|
|
1028 |
– |
## ----------- ## |
1029 |
– |
## Core tests. ## |
1030 |
– |
## ----------- ## |
1031 |
– |
|
1032 |
– |
_ACEOF |
1033 |
– |
|
1034 |
– |
|
779 |
|
# Keep a trace of the command line. |
780 |
|
# 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. |
781 |
|
# Also quote any args containing shell meta-characters. |
1039 |
– |
# Make two passes to allow for proper duplicate-argument suppression. |
782 |
|
ac_configure_args= |
1041 |
– |
ac_configure_args0= |
1042 |
– |
ac_configure_args1= |
783 |
|
ac_sep= |
784 |
< |
ac_must_keep_next=false |
1045 |
< |
for ac_pass in 1 2 |
784 |
> |
for ac_arg |
785 |
|
do |
786 |
< |
for ac_arg |
787 |
< |
do |
788 |
< |
case $ac_arg in |
789 |
< |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
790 |
< |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
791 |
< |
| -silent | --silent | --silen | --sile | --sil) |
792 |
< |
continue ;; |
793 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
794 |
< |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
795 |
< |
esac |
796 |
< |
case $ac_pass in |
797 |
< |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
798 |
< |
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 |
786 |
> |
case $ac_arg in |
787 |
> |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
788 |
> |
| --no-cr | --no-c) ;; |
789 |
> |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
790 |
> |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
791 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
792 |
> |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
793 |
> |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
794 |
> |
ac_sep=" " ;; |
795 |
> |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
796 |
> |
ac_sep=" " ;; |
797 |
> |
esac |
798 |
> |
# Get rid of the leading space. |
799 |
|
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; } |
800 |
|
|
801 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
802 |
|
# config.log. We remove comments because anyway the quotes in there |
803 |
|
# 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. |
804 |
|
trap 'exit_status=$? |
805 |
|
# Save into config.log some information that might help in debugging. |
806 |
< |
{ |
807 |
< |
echo |
808 |
< |
|
809 |
< |
cat <<\_ASBOX |
810 |
< |
## ---------------- ## |
811 |
< |
## Cache variables. ## |
1099 |
< |
## ---------------- ## |
1100 |
< |
_ASBOX |
1101 |
< |
echo |
1102 |
< |
# The following way of writing the cache mishandles newlines in values, |
806 |
> |
echo >&5 |
807 |
> |
echo "## ----------------- ##" >&5 |
808 |
> |
echo "## Cache variables. ##" >&5 |
809 |
> |
echo "## ----------------- ##" >&5 |
810 |
> |
echo >&5 |
811 |
> |
# The following way of writing the cache mishandles newlines in values, |
812 |
|
{ |
813 |
|
(set) 2>&1 | |
814 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
815 |
|
*ac_space=\ *) |
816 |
|
sed -n \ |
817 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
818 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
818 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
819 |
|
;; |
820 |
|
*) |
821 |
|
sed -n \ |
822 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
822 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
823 |
|
;; |
824 |
|
esac; |
825 |
< |
} |
826 |
< |
echo |
827 |
< |
|
828 |
< |
cat <<\_ASBOX |
829 |
< |
## ----------------- ## |
830 |
< |
## Output variables. ## |
831 |
< |
## ----------------- ## |
832 |
< |
_ASBOX |
833 |
< |
echo |
834 |
< |
for ac_var in $ac_subst_vars |
835 |
< |
do |
836 |
< |
eval ac_val=$`echo $ac_var` |
837 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
838 |
< |
done | sort |
839 |
< |
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 && |
825 |
> |
} >&5 |
826 |
> |
sed "/^$/d" confdefs.h >conftest.log |
827 |
> |
if test -s conftest.log; then |
828 |
> |
echo >&5 |
829 |
> |
echo "## ------------ ##" >&5 |
830 |
> |
echo "## confdefs.h. ##" >&5 |
831 |
> |
echo "## ------------ ##" >&5 |
832 |
> |
echo >&5 |
833 |
> |
cat conftest.log >&5 |
834 |
> |
fi |
835 |
> |
(echo; echo) >&5 |
836 |
> |
test "$ac_signal" != 0 && |
837 |
> |
echo "$as_me: caught signal $ac_signal" >&5 |
838 |
> |
echo "$as_me: exit $exit_status" >&5 |
839 |
> |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
840 |
|
exit $exit_status |
841 |
|
' 0 |
842 |
|
for ac_signal in 1 2 13 15; do |
843 |
< |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
843 |
> |
trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal |
844 |
|
done |
845 |
|
ac_signal=0 |
846 |
|
|
849 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
850 |
|
echo >confdefs.h |
851 |
|
|
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 |
– |
|
852 |
|
# Let the site file select an alternate cache file if it wants to. |
853 |
|
# Prefer explicitly selected file to automatically selected ones. |
854 |
|
if test -z "$CONFIG_SITE"; then |
860 |
|
fi |
861 |
|
for ac_site_file in $CONFIG_SITE; do |
862 |
|
if test -r "$ac_site_file"; then |
863 |
< |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
863 |
> |
{ echo "$as_me:863: loading site script $ac_site_file" >&5 |
864 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
865 |
< |
sed 's/^/| /' "$ac_site_file" >&5 |
865 |
> |
cat "$ac_site_file" >&5 |
866 |
|
. "$ac_site_file" |
867 |
|
fi |
868 |
|
done |
871 |
|
# Some versions of bash will fail to source /dev/null (special |
872 |
|
# files actually), so we avoid doing that. |
873 |
|
if test -f "$cache_file"; then |
874 |
< |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
874 |
> |
{ echo "$as_me:874: loading cache $cache_file" >&5 |
875 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
876 |
|
case $cache_file in |
877 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
879 |
|
esac |
880 |
|
fi |
881 |
|
else |
882 |
< |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
882 |
> |
{ echo "$as_me:882: creating cache $cache_file" >&5 |
883 |
|
echo "$as_me: creating cache $cache_file" >&6;} |
884 |
|
>$cache_file |
885 |
|
fi |
886 |
|
|
887 |
|
# Check that the precious variables saved in the cache have kept the same |
888 |
|
# value. |
889 |
< |
ac_cache_corrupted=false |
889 |
> |
ac_suggest_removing_cache=false |
890 |
|
for ac_var in `(set) 2>&1 | |
891 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
892 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
895 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
896 |
|
case $ac_old_set,$ac_new_set in |
897 |
|
set,) |
898 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
899 |
< |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
900 |
< |
ac_cache_corrupted=: ;; |
898 |
> |
{ echo "$as_me:898: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
899 |
> |
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
900 |
> |
ac_suggest_removing_cache=: ;; |
901 |
|
,set) |
902 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
903 |
< |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
904 |
< |
ac_cache_corrupted=: ;; |
902 |
> |
{ echo "$as_me:902: WARNING: \`$ac_var' was not set in the previous run" >&5 |
903 |
> |
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} |
904 |
> |
ac_suggest_removing_cache=: ;; |
905 |
|
,);; |
906 |
|
*) |
907 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
908 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
909 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
910 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
911 |
< |
echo "$as_me: former value: $ac_old_val" >&2;} |
912 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
913 |
< |
echo "$as_me: current value: $ac_new_val" >&2;} |
914 |
< |
ac_cache_corrupted=: |
908 |
> |
{ echo "$as_me:908: WARNING: \`$ac_var' has changed since the previous run:" >&5 |
909 |
> |
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} |
910 |
> |
{ echo "$as_me:910: WARNING: former value: $ac_old_val" >&5 |
911 |
> |
echo "$as_me: WARNING: former value: $ac_old_val" >&2;} |
912 |
> |
{ echo "$as_me:912: WARNING: current value: $ac_new_val" >&5 |
913 |
> |
echo "$as_me: WARNING: current value: $ac_new_val" >&2;} |
914 |
> |
ac_suggest_removing_cache=: |
915 |
|
fi;; |
916 |
|
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 |
917 |
|
done |
918 |
< |
if $ac_cache_corrupted; then |
919 |
< |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
920 |
< |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
921 |
< |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
922 |
< |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1285 |
< |
{ (exit 1); exit 1; }; } |
918 |
> |
if $ac_suggest_removing_cache; then |
919 |
> |
{ echo "$as_me:919: WARNING: changes in the environment can compromise the build" >&5 |
920 |
> |
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} |
921 |
> |
{ echo "$as_me:921: WARNING: consider removing $cache_file and starting over" >&5 |
922 |
> |
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} |
923 |
|
fi |
924 |
|
|
925 |
|
ac_ext=c |
928 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
929 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
930 |
|
|
931 |
< |
|
932 |
< |
|
933 |
< |
|
934 |
< |
|
935 |
< |
|
936 |
< |
|
937 |
< |
|
938 |
< |
|
939 |
< |
|
940 |
< |
|
941 |
< |
|
942 |
< |
|
943 |
< |
|
944 |
< |
|
945 |
< |
|
946 |
< |
|
947 |
< |
|
948 |
< |
|
949 |
< |
|
950 |
< |
|
1314 |
< |
|
1315 |
< |
|
1316 |
< |
|
1317 |
< |
|
1318 |
< |
|
931 |
> |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
932 |
> |
*c*,-n*) ECHO_N= ECHO_C=' |
933 |
> |
' ECHO_T=' ' ;; |
934 |
> |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
935 |
> |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
936 |
> |
esac |
937 |
> |
echo "#! $SHELL" >conftest.sh |
938 |
> |
echo "exit 0" >>conftest.sh |
939 |
> |
chmod +x conftest.sh |
940 |
> |
if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5 |
941 |
> |
(PATH=".;."; conftest.sh) 2>&5 |
942 |
> |
ac_status=$? |
943 |
> |
echo "$as_me:943: \$? = $ac_status" >&5 |
944 |
> |
(exit $ac_status); }; then |
945 |
> |
ac_path_separator=';' |
946 |
> |
else |
947 |
> |
ac_path_separator=: |
948 |
> |
fi |
949 |
> |
PATH_SEPARATOR="$ac_path_separator" |
950 |
> |
rm -f conftest.sh |
951 |
|
|
952 |
|
ac_aux_dir= |
953 |
|
for ac_dir in ac-tools $srcdir/ac-tools; do |
966 |
|
fi |
967 |
|
done |
968 |
|
if test -z "$ac_aux_dir"; then |
969 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
969 |
> |
{ { echo "$as_me:969: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
970 |
|
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} |
971 |
|
{ (exit 1); exit 1; }; } |
972 |
|
fi |
974 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
975 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
976 |
|
|
1345 |
– |
|
977 |
|
# This file is part of Autoconf. -*- Autoconf -*- |
978 |
|
# Programming languages support. |
979 |
|
# Copyright 2000, 2001 |
1024 |
|
# Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably |
1025 |
|
# many others). |
1026 |
|
|
1396 |
– |
|
1027 |
|
# Table of Contents: |
1028 |
|
# |
1029 |
|
# 1. Language selection |
1059 |
|
# ACTION-IF-NOT-FOUND. |
1060 |
|
# _AC_LIST_MEMBER_IF |
1061 |
|
|
1432 |
– |
|
1433 |
– |
|
1062 |
|
# _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) |
1063 |
|
# ------------------------------------------------- |
1064 |
|
# |
1089 |
|
# FIXME: Get rid of this macro. |
1090 |
|
# _AC_LINKER_OPTION |
1091 |
|
|
1464 |
– |
|
1465 |
– |
|
1092 |
|
## ----------------------- ## |
1093 |
|
## 1. Language selection. ## |
1094 |
|
## ----------------------- ## |
1100 |
|
# AC_LANG(Fortran 90) |
1101 |
|
# ------------------- |
1102 |
|
|
1477 |
– |
|
1478 |
– |
|
1103 |
|
# _AC_LANG_ABBREV(Fortran 90) |
1104 |
|
# --------------------------- |
1105 |
|
|
1482 |
– |
|
1483 |
– |
|
1106 |
|
# ----------------------------- # |
1107 |
|
# 1c. The Fortran 95 language. # |
1108 |
|
# ----------------------------- # |
1110 |
|
# AC_LANG(Fortran 95) |
1111 |
|
# ------------------- |
1112 |
|
|
1491 |
– |
|
1492 |
– |
|
1113 |
|
# _AC_LANG_ABBREV(Fortran 95) |
1114 |
|
# --------------------------- |
1115 |
|
|
1496 |
– |
|
1497 |
– |
|
1116 |
|
## ---------------------- ## |
1117 |
|
## 2.Producing programs. ## |
1118 |
|
## ---------------------- ## |
1124 |
|
# AC_LANG_SOURCE(Fortran 90)(BODY) |
1125 |
|
# -------------------------------- |
1126 |
|
|
1509 |
– |
|
1510 |
– |
|
1127 |
|
# AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) |
1128 |
|
# ----------------------------------------------- |
1129 |
|
|
1514 |
– |
|
1130 |
|
# AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) |
1131 |
|
# -------------------------------------------- |
1132 |
|
|
1518 |
– |
|
1519 |
– |
|
1133 |
|
# ------------------------ # |
1134 |
|
# 2c. Fortran 95 sources. # |
1135 |
|
# ------------------------ # |
1137 |
|
# AC_LANG_SOURCE(Fortran 95)(BODY) |
1138 |
|
# -------------------------------- |
1139 |
|
|
1527 |
– |
|
1140 |
|
# AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) |
1141 |
|
# ----------------------------------------------- |
1142 |
|
|
1531 |
– |
|
1143 |
|
# AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) |
1144 |
|
# -------------------------------------------- |
1145 |
|
|
1535 |
– |
|
1536 |
– |
|
1146 |
|
## -------------------------------------------- ## |
1147 |
|
## 3. Looking for Compilers and Preprocessors. ## |
1148 |
|
## -------------------------------------------- ## |
1151 |
|
# 3b. The Fortran 90 compiler. # |
1152 |
|
# ----------------------------- # |
1153 |
|
|
1545 |
– |
|
1154 |
|
# AC_LANG_PREPROC(Fortran 90) |
1155 |
|
# --------------------------- |
1156 |
|
# Find the Fortran 90 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1157 |
|
|
1550 |
– |
|
1551 |
– |
|
1158 |
|
# AC_LANG_COMPILER(Fortran 90) |
1159 |
|
# ---------------------------- |
1160 |
|
# Find the Fortran 90 compiler. Must be AC_DEFUN'd to be |
1161 |
|
# AC_REQUIRE'able. |
1162 |
|
|
1557 |
– |
|
1558 |
– |
|
1163 |
|
# AC_PROG_F90([COMPILERS...]) |
1164 |
|
# --------------------------- |
1165 |
|
# COMPILERS is a space separated list of Fortran 90 compilers to search |
1176 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1177 |
|
# AC_PROG_F90 |
1178 |
|
|
1575 |
– |
|
1179 |
|
# ----------------------------- # |
1180 |
|
# 3c. The Fortran 95 compiler. # |
1181 |
|
# ----------------------------- # |
1182 |
|
|
1580 |
– |
|
1183 |
|
# AC_LANG_PREPROC(Fortran 95) |
1184 |
|
# --------------------------- |
1185 |
|
# Find the Fortran 95 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1186 |
|
|
1585 |
– |
|
1586 |
– |
|
1187 |
|
# AC_LANG_COMPILER(Fortran 95) |
1188 |
|
# ---------------------------- |
1189 |
|
# Find the Fortran 95 compiler. Must be AC_DEFUN'd to be |
1190 |
|
# AC_REQUIRE'able. |
1191 |
|
|
1592 |
– |
|
1593 |
– |
|
1192 |
|
# AC_PROG_F95([COMPILERS...]) |
1193 |
|
# --------------------------- |
1194 |
|
# COMPILERS is a space separated list of Fortran 95 compilers to search |
1202 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1203 |
|
# AC_PROG_F95 |
1204 |
|
|
1607 |
– |
|
1205 |
|
## ------------------------------- ## |
1206 |
|
## 4. Compilers' characteristics. ## |
1207 |
|
## ------------------------------- ## |
1208 |
|
|
1612 |
– |
|
1209 |
|
# ---------------------------------------- # |
1210 |
|
# 4b. Fortan 90 compiler characteristics. # |
1211 |
|
# ---------------------------------------- # |
1212 |
|
|
1617 |
– |
|
1213 |
|
# _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) |
1214 |
|
# ------------------------------------------------- |
1215 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1220 |
|
# space-separated items. |
1221 |
|
# _AC_PROG_F90_V_OUTPUT |
1222 |
|
|
1628 |
– |
|
1223 |
|
# _AC_PROG_F90_V |
1224 |
|
# -------------- |
1225 |
|
# |
1229 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1230 |
|
# _AC_PROG_F90_V |
1231 |
|
|
1638 |
– |
|
1232 |
|
# AC_F90_LIBRARY_LDFLAGS |
1233 |
|
# ---------------------- |
1234 |
|
# |
1256 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1257 |
|
# AC_F90_LIBRARY_LDFLAGS |
1258 |
|
|
1666 |
– |
|
1259 |
|
# _AC_F90_NAME_MANGLING |
1260 |
|
# --------------------- |
1261 |
|
# Test for the name mangling scheme used by the Fortran 90 compiler. |
1275 |
|
|
1276 |
|
# The replacement is empty. |
1277 |
|
|
1686 |
– |
|
1687 |
– |
|
1278 |
|
# AC_F90_WRAPPERS |
1279 |
|
# --------------- |
1280 |
|
# Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to |
1283 |
|
# scheme used by the Fortran 90 compiler. |
1284 |
|
# AC_F90_WRAPPERS |
1285 |
|
|
1696 |
– |
|
1286 |
|
# AC_F90_FUNC(NAME, [SHELLVAR = NAME]) |
1287 |
|
# ------------------------------------ |
1288 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1290 |
|
# argument is not supplied, it defaults to NAME. |
1291 |
|
# AC_F90_FUNC |
1292 |
|
|
1704 |
– |
|
1293 |
|
# ---------------------------------------- # |
1294 |
|
# 4c. Fortan 95 compiler characteristics. # |
1295 |
|
# ---------------------------------------- # |
1708 |
– |
|
1296 |
|
|
1297 |
|
# _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) |
1298 |
|
# ------------------------------------------------- |
1304 |
|
# space-separated items. |
1305 |
|
# _AC_PROG_F95_V_OUTPUT |
1306 |
|
|
1720 |
– |
|
1307 |
|
# _AC_PROG_F95_V |
1308 |
|
# -------------- |
1309 |
|
# |
1313 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1314 |
|
# _AC_PROG_F95_V |
1315 |
|
|
1730 |
– |
|
1316 |
|
# AC_F95_LIBRARY_LDFLAGS |
1317 |
|
# ---------------------- |
1318 |
|
# |
1340 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1341 |
|
# AC_F95_LIBRARY_LDFLAGS |
1342 |
|
|
1758 |
– |
|
1343 |
|
# _AC_F95_NAME_MANGLING |
1344 |
|
# --------------------- |
1345 |
|
# Test for the name mangling scheme used by the Fortran 95 compiler. |
1359 |
|
|
1360 |
|
# The replacement is empty. |
1361 |
|
|
1778 |
– |
|
1779 |
– |
|
1362 |
|
# AC_F95_WRAPPERS |
1363 |
|
# --------------- |
1364 |
|
# Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to |
1367 |
|
# scheme used by the Fortran 95 compiler. |
1368 |
|
# AC_F95_WRAPPERS |
1369 |
|
|
1788 |
– |
|
1370 |
|
# AC_F95_FUNC(NAME, [SHELLVAR = NAME]) |
1371 |
|
# ------------------------------------ |
1372 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1374 |
|
# argument is not supplied, it defaults to NAME. |
1375 |
|
# AC_F95_FUNC |
1376 |
|
|
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 |
– |
|
1377 |
|
# what should I build? |
1378 |
|
|
1379 |
|
# Check whether --enable-debug or --disable-debug was given. |
1385 |
|
# set program name |
1386 |
|
PROGNAME="oopse" |
1387 |
|
|
1842 |
– |
|
1388 |
|
if test "${DEBUG}"; then |
1389 |
|
|
1390 |
< |
cat >>confdefs.h <<\_ACEOF |
1390 |
> |
cat >>confdefs.h <<\EOF |
1391 |
|
#define DEBUG 1 |
1392 |
< |
_ACEOF |
1392 |
> |
EOF |
1393 |
|
|
1394 |
|
msg="$msg, debug mode" |
1395 |
|
fi |
1396 |
|
|
1852 |
– |
|
1397 |
|
# who am i |
1398 |
|
# Make sure we can run config.sub. |
1399 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
1400 |
< |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1400 |
> |
{ { echo "$as_me:1400: error: cannot run $ac_config_sub" >&5 |
1401 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1402 |
|
{ (exit 1); exit 1; }; } |
1403 |
|
|
1404 |
< |
echo "$as_me:$LINENO: checking build system type" >&5 |
1404 |
> |
echo "$as_me:1404: checking build system type" >&5 |
1405 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1406 |
|
if test "${ac_cv_build+set}" = set; then |
1407 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1410 |
|
test -z "$ac_cv_build_alias" && |
1411 |
|
ac_cv_build_alias=`$ac_config_guess` |
1412 |
|
test -z "$ac_cv_build_alias" && |
1413 |
< |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1413 |
> |
{ { echo "$as_me:1413: error: cannot guess build type; you must specify one" >&5 |
1414 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1415 |
|
{ (exit 1); exit 1; }; } |
1416 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1417 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1418 |
< |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1417 |
> |
{ { echo "$as_me:1417: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1418 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1419 |
|
{ (exit 1); exit 1; }; } |
1420 |
|
|
1421 |
|
fi |
1422 |
< |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1422 |
> |
echo "$as_me:1422: result: $ac_cv_build" >&5 |
1423 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1424 |
|
build=$ac_cv_build |
1425 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1426 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1427 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1428 |
|
|
1429 |
< |
|
1886 |
< |
echo "$as_me:$LINENO: checking host system type" >&5 |
1429 |
> |
echo "$as_me:1429: checking host system type" >&5 |
1430 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1431 |
|
if test "${ac_cv_host+set}" = set; then |
1432 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1435 |
|
test -z "$ac_cv_host_alias" && |
1436 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1437 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1438 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1438 |
> |
{ { echo "$as_me:1438: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1439 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1440 |
|
{ (exit 1); exit 1; }; } |
1441 |
|
|
1442 |
|
fi |
1443 |
< |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1443 |
> |
echo "$as_me:1443: result: $ac_cv_host" >&5 |
1444 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1445 |
|
host=$ac_cv_host |
1446 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1447 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1448 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1449 |
|
|
1907 |
– |
|
1908 |
– |
|
1450 |
|
ac_ext=c |
1451 |
|
ac_cpp='$CPP $CPPFLAGS' |
1452 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1457 |
|
do |
1458 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1459 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1460 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1460 |
> |
echo "$as_me:1460: checking for $ac_word" >&5 |
1461 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1462 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1463 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1465 |
|
if test -n "$CC"; then |
1466 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1467 |
|
else |
1468 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1469 |
< |
for as_dir in $PATH |
1470 |
< |
do |
1471 |
< |
IFS=$as_save_IFS |
1472 |
< |
test -z "$as_dir" && as_dir=. |
1473 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1474 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1475 |
< |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1476 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1936 |
< |
break 2 |
1937 |
< |
fi |
1468 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1469 |
> |
ac_dummy="$PATH" |
1470 |
> |
for ac_dir in $ac_dummy; do |
1471 |
> |
IFS=$ac_save_IFS |
1472 |
> |
test -z "$ac_dir" && ac_dir=. |
1473 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1474 |
> |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1475 |
> |
echo "$as_me:1475: found $ac_dir/$ac_word" >&5 |
1476 |
> |
break |
1477 |
|
done |
1939 |
– |
done |
1478 |
|
|
1479 |
|
fi |
1480 |
|
fi |
1481 |
|
CC=$ac_cv_prog_CC |
1482 |
|
if test -n "$CC"; then |
1483 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
1483 |
> |
echo "$as_me:1483: result: $CC" >&5 |
1484 |
|
echo "${ECHO_T}$CC" >&6 |
1485 |
|
else |
1486 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1486 |
> |
echo "$as_me:1486: result: no" >&5 |
1487 |
|
echo "${ECHO_T}no" >&6 |
1488 |
|
fi |
1489 |
|
|
1496 |
|
do |
1497 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1498 |
|
set dummy $ac_prog; ac_word=$2 |
1499 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1499 |
> |
echo "$as_me:1499: checking for $ac_word" >&5 |
1500 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1501 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1502 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1504 |
|
if test -n "$ac_ct_CC"; then |
1505 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1506 |
|
else |
1507 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1508 |
< |
for as_dir in $PATH |
1509 |
< |
do |
1510 |
< |
IFS=$as_save_IFS |
1511 |
< |
test -z "$as_dir" && as_dir=. |
1512 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1513 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1514 |
< |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1515 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1978 |
< |
break 2 |
1979 |
< |
fi |
1507 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1508 |
> |
ac_dummy="$PATH" |
1509 |
> |
for ac_dir in $ac_dummy; do |
1510 |
> |
IFS=$ac_save_IFS |
1511 |
> |
test -z "$ac_dir" && ac_dir=. |
1512 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1513 |
> |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1514 |
> |
echo "$as_me:1514: found $ac_dir/$ac_word" >&5 |
1515 |
> |
break |
1516 |
|
done |
1981 |
– |
done |
1517 |
|
|
1518 |
|
fi |
1519 |
|
fi |
1520 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1521 |
|
if test -n "$ac_ct_CC"; then |
1522 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1522 |
> |
echo "$as_me:1522: result: $ac_ct_CC" >&5 |
1523 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1524 |
|
else |
1525 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1525 |
> |
echo "$as_me:1525: result: no" >&5 |
1526 |
|
echo "${ECHO_T}no" >&6 |
1527 |
|
fi |
1528 |
|
|
1532 |
|
CC=$ac_ct_CC |
1533 |
|
fi |
1534 |
|
|
1535 |
< |
|
1536 |
< |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2002 |
< |
See \`config.log' for more details." >&5 |
2003 |
< |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2004 |
< |
See \`config.log' for more details." >&2;} |
1535 |
> |
test -z "$CC" && { { echo "$as_me:1535: error: no acceptable cc found in \$PATH" >&5 |
1536 |
> |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
1537 |
|
{ (exit 1); exit 1; }; } |
1538 |
|
|
2007 |
– |
# Provide some information about the compiler. |
2008 |
– |
echo "$as_me:$LINENO:" \ |
2009 |
– |
"checking for C compiler version" >&5 |
2010 |
– |
ac_compiler=`set X $ac_compile; echo $2` |
2011 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2012 |
– |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2013 |
– |
ac_status=$? |
2014 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2015 |
– |
(exit $ac_status); } |
2016 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2017 |
– |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2018 |
– |
ac_status=$? |
2019 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2020 |
– |
(exit $ac_status); } |
2021 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2022 |
– |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2023 |
– |
ac_status=$? |
2024 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2025 |
– |
(exit $ac_status); } |
2026 |
– |
|
1539 |
|
cat >conftest.$ac_ext <<_ACEOF |
1540 |
< |
#line $LINENO "configure" |
1541 |
< |
/* confdefs.h. */ |
2030 |
< |
_ACEOF |
2031 |
< |
cat confdefs.h >>conftest.$ac_ext |
2032 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2033 |
< |
/* end confdefs.h. */ |
1540 |
> |
#line 1540 "configure" |
1541 |
> |
#include "confdefs.h" |
1542 |
|
|
1543 |
|
int |
1544 |
|
main () |
1549 |
|
} |
1550 |
|
_ACEOF |
1551 |
|
ac_clean_files_save=$ac_clean_files |
1552 |
< |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1552 |
> |
ac_clean_files="$ac_clean_files a.out a.exe" |
1553 |
|
# Try to create an executable without -o first, disregard a.out. |
1554 |
< |
# It will help us diagnose broken compilers, and finding out an intuition |
1554 |
> |
# It will help us diagnose broken compiler, and finding out an intuition |
1555 |
|
# of exeext. |
1556 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
1556 |
> |
echo "$as_me:1556: checking for C compiler default output" >&5 |
1557 |
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1558 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1559 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1559 |
> |
if { (eval echo "$as_me:1559: \"$ac_link_default\"") >&5 |
1560 |
|
(eval $ac_link_default) 2>&5 |
1561 |
|
ac_status=$? |
1562 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1562 |
> |
echo "$as_me:1562: \$? = $ac_status" >&5 |
1563 |
|
(exit $ac_status); }; then |
1564 |
< |
# Find the output, starting from the most likely. This scheme is |
2057 |
< |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2058 |
< |
# resort. |
2059 |
< |
|
2060 |
< |
# Be careful to initialize this variable, since it used to be cached. |
2061 |
< |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2062 |
< |
ac_cv_exeext= |
2063 |
< |
# b.out is created by i960 compilers. |
2064 |
< |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2065 |
< |
do |
2066 |
< |
test -f "$ac_file" || continue |
1564 |
> |
for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do |
1565 |
|
case $ac_file in |
1566 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1567 |
< |
;; |
1568 |
< |
conftest.$ac_ext ) |
1569 |
< |
# This is the source file. |
1570 |
< |
;; |
1571 |
< |
[ab].out ) |
1572 |
< |
# We found the default executable, but exeext='' is most |
1573 |
< |
# certainly right. |
2076 |
< |
break;; |
2077 |
< |
*.* ) |
2078 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2079 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2080 |
< |
# but it would be cool to find out if it's true. Does anybody |
2081 |
< |
# maintain Libtool? --akim. |
2082 |
< |
export ac_cv_exeext |
2083 |
< |
break;; |
2084 |
< |
* ) |
2085 |
< |
break;; |
1566 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1567 |
> |
a.out ) # We found the default executable, but exeext='' is most |
1568 |
> |
# certainly right. |
1569 |
> |
break;; |
1570 |
> |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1571 |
> |
export ac_cv_exeext |
1572 |
> |
break;; |
1573 |
> |
* ) break;; |
1574 |
|
esac |
1575 |
|
done |
1576 |
|
else |
1577 |
|
echo "$as_me: failed program was:" >&5 |
1578 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1579 |
< |
|
1580 |
< |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2093 |
< |
See \`config.log' for more details." >&5 |
2094 |
< |
echo "$as_me: error: C compiler cannot create executables |
2095 |
< |
See \`config.log' for more details." >&2;} |
1578 |
> |
cat conftest.$ac_ext >&5 |
1579 |
> |
{ { echo "$as_me:1579: error: C compiler cannot create executables" >&5 |
1580 |
> |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
1581 |
|
{ (exit 77); exit 77; }; } |
1582 |
|
fi |
1583 |
|
|
1584 |
|
ac_exeext=$ac_cv_exeext |
1585 |
< |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1585 |
> |
echo "$as_me:1585: result: $ac_file" >&5 |
1586 |
|
echo "${ECHO_T}$ac_file" >&6 |
1587 |
|
|
1588 |
|
# Check the compiler produces executables we can run. If not, either |
1589 |
|
# the compiler is broken, or we cross compile. |
1590 |
< |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1590 |
> |
echo "$as_me:1590: checking whether the C compiler works" >&5 |
1591 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1592 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1593 |
|
# If not cross compiling, check that we can run a simple program. |
1594 |
|
if test "$cross_compiling" != yes; then |
1595 |
|
if { ac_try='./$ac_file' |
1596 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1596 |
> |
{ (eval echo "$as_me:1596: \"$ac_try\"") >&5 |
1597 |
|
(eval $ac_try) 2>&5 |
1598 |
|
ac_status=$? |
1599 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1599 |
> |
echo "$as_me:1599: \$? = $ac_status" >&5 |
1600 |
|
(exit $ac_status); }; }; then |
1601 |
|
cross_compiling=no |
1602 |
|
else |
1603 |
|
if test "$cross_compiling" = maybe; then |
1604 |
|
cross_compiling=yes |
1605 |
|
else |
1606 |
< |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1607 |
< |
If you meant to cross compile, use \`--host'. |
2123 |
< |
See \`config.log' for more details." >&5 |
1606 |
> |
{ { echo "$as_me:1606: error: cannot run C compiled programs. |
1607 |
> |
If you meant to cross compile, use \`--host'." >&5 |
1608 |
|
echo "$as_me: error: cannot run C compiled programs. |
1609 |
< |
If you meant to cross compile, use \`--host'. |
2126 |
< |
See \`config.log' for more details." >&2;} |
1609 |
> |
If you meant to cross compile, use \`--host'." >&2;} |
1610 |
|
{ (exit 1); exit 1; }; } |
1611 |
|
fi |
1612 |
|
fi |
1613 |
|
fi |
1614 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
1614 |
> |
echo "$as_me:1614: result: yes" >&5 |
1615 |
|
echo "${ECHO_T}yes" >&6 |
1616 |
|
|
1617 |
< |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1617 |
> |
rm -f a.out a.exe conftest$ac_cv_exeext |
1618 |
|
ac_clean_files=$ac_clean_files_save |
1619 |
|
# Check the compiler produces executables we can run. If not, either |
1620 |
|
# the compiler is broken, or we cross compile. |
1621 |
< |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1621 |
> |
echo "$as_me:1621: checking whether we are cross compiling" >&5 |
1622 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1623 |
< |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1623 |
> |
echo "$as_me:1623: result: $cross_compiling" >&5 |
1624 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
1625 |
|
|
1626 |
< |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1627 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1628 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1626 |
> |
echo "$as_me:1626: checking for executable suffix" >&5 |
1627 |
> |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
1628 |
> |
if { (eval echo "$as_me:1628: \"$ac_link\"") >&5 |
1629 |
|
(eval $ac_link) 2>&5 |
1630 |
|
ac_status=$? |
1631 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1631 |
> |
echo "$as_me:1631: \$? = $ac_status" >&5 |
1632 |
|
(exit $ac_status); }; then |
1633 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1634 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1635 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1636 |
|
# `rm'. |
1637 |
< |
for ac_file in conftest.exe conftest conftest.*; do |
2155 |
< |
test -f "$ac_file" || continue |
1637 |
> |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
1638 |
|
case $ac_file in |
1639 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1639 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1640 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1641 |
|
export ac_cv_exeext |
1642 |
|
break;; |
1644 |
|
esac |
1645 |
|
done |
1646 |
|
else |
1647 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1648 |
< |
See \`config.log' for more details." >&5 |
2167 |
< |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2168 |
< |
See \`config.log' for more details." >&2;} |
1647 |
> |
{ { echo "$as_me:1647: error: cannot compute EXEEXT: cannot compile and link" >&5 |
1648 |
> |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
1649 |
|
{ (exit 1); exit 1; }; } |
1650 |
|
fi |
1651 |
|
|
1652 |
|
rm -f conftest$ac_cv_exeext |
1653 |
< |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1653 |
> |
echo "$as_me:1653: result: $ac_cv_exeext" >&5 |
1654 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1655 |
|
|
1656 |
|
rm -f conftest.$ac_ext |
1657 |
|
EXEEXT=$ac_cv_exeext |
1658 |
|
ac_exeext=$EXEEXT |
1659 |
< |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1660 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1659 |
> |
echo "$as_me:1659: checking for object suffix" >&5 |
1660 |
> |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1661 |
|
if test "${ac_cv_objext+set}" = set; then |
1662 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1663 |
|
else |
1664 |
|
cat >conftest.$ac_ext <<_ACEOF |
1665 |
< |
#line $LINENO "configure" |
1666 |
< |
/* confdefs.h. */ |
2187 |
< |
_ACEOF |
2188 |
< |
cat confdefs.h >>conftest.$ac_ext |
2189 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2190 |
< |
/* end confdefs.h. */ |
1665 |
> |
#line 1665 "configure" |
1666 |
> |
#include "confdefs.h" |
1667 |
|
|
1668 |
|
int |
1669 |
|
main () |
1674 |
|
} |
1675 |
|
_ACEOF |
1676 |
|
rm -f conftest.o conftest.obj |
1677 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1677 |
> |
if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5 |
1678 |
|
(eval $ac_compile) 2>&5 |
1679 |
|
ac_status=$? |
1680 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1680 |
> |
echo "$as_me:1680: \$? = $ac_status" >&5 |
1681 |
|
(exit $ac_status); }; then |
1682 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1683 |
|
case $ac_file in |
1684 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1684 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1685 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1686 |
|
break;; |
1687 |
|
esac |
1688 |
|
done |
1689 |
|
else |
1690 |
|
echo "$as_me: failed program was:" >&5 |
1691 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1692 |
< |
|
1693 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2218 |
< |
See \`config.log' for more details." >&5 |
2219 |
< |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2220 |
< |
See \`config.log' for more details." >&2;} |
1691 |
> |
cat conftest.$ac_ext >&5 |
1692 |
> |
{ { echo "$as_me:1692: error: cannot compute OBJEXT: cannot compile" >&5 |
1693 |
> |
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
1694 |
|
{ (exit 1); exit 1; }; } |
1695 |
|
fi |
1696 |
|
|
1697 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1698 |
|
fi |
1699 |
< |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1699 |
> |
echo "$as_me:1699: result: $ac_cv_objext" >&5 |
1700 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1701 |
|
OBJEXT=$ac_cv_objext |
1702 |
|
ac_objext=$OBJEXT |
1703 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1703 |
> |
echo "$as_me:1703: checking whether we are using the GNU C compiler" >&5 |
1704 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1705 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1706 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1707 |
|
else |
1708 |
|
cat >conftest.$ac_ext <<_ACEOF |
1709 |
< |
#line $LINENO "configure" |
1710 |
< |
/* confdefs.h. */ |
2238 |
< |
_ACEOF |
2239 |
< |
cat confdefs.h >>conftest.$ac_ext |
2240 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2241 |
< |
/* end confdefs.h. */ |
1709 |
> |
#line 1709 "configure" |
1710 |
> |
#include "confdefs.h" |
1711 |
|
|
1712 |
|
int |
1713 |
|
main () |
1721 |
|
} |
1722 |
|
_ACEOF |
1723 |
|
rm -f conftest.$ac_objext |
1724 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1724 |
> |
if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5 |
1725 |
|
(eval $ac_compile) 2>&5 |
1726 |
|
ac_status=$? |
1727 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1727 |
> |
echo "$as_me:1727: \$? = $ac_status" >&5 |
1728 |
|
(exit $ac_status); } && |
1729 |
|
{ ac_try='test -s conftest.$ac_objext' |
1730 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1730 |
> |
{ (eval echo "$as_me:1730: \"$ac_try\"") >&5 |
1731 |
|
(eval $ac_try) 2>&5 |
1732 |
|
ac_status=$? |
1733 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1733 |
> |
echo "$as_me:1733: \$? = $ac_status" >&5 |
1734 |
|
(exit $ac_status); }; }; then |
1735 |
|
ac_compiler_gnu=yes |
1736 |
|
else |
1737 |
|
echo "$as_me: failed program was:" >&5 |
1738 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2270 |
< |
|
1738 |
> |
cat conftest.$ac_ext >&5 |
1739 |
|
ac_compiler_gnu=no |
1740 |
|
fi |
1741 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1742 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1743 |
|
|
1744 |
|
fi |
1745 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1745 |
> |
echo "$as_me:1745: result: $ac_cv_c_compiler_gnu" >&5 |
1746 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1747 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
1748 |
|
ac_test_CFLAGS=${CFLAGS+set} |
1749 |
|
ac_save_CFLAGS=$CFLAGS |
1750 |
|
CFLAGS="-g" |
1751 |
< |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1751 |
> |
echo "$as_me:1751: checking whether $CC accepts -g" >&5 |
1752 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1753 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
1754 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1755 |
|
else |
1756 |
|
cat >conftest.$ac_ext <<_ACEOF |
1757 |
< |
#line $LINENO "configure" |
1758 |
< |
/* confdefs.h. */ |
2291 |
< |
_ACEOF |
2292 |
< |
cat confdefs.h >>conftest.$ac_ext |
2293 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2294 |
< |
/* end confdefs.h. */ |
1757 |
> |
#line 1757 "configure" |
1758 |
> |
#include "confdefs.h" |
1759 |
|
|
1760 |
|
int |
1761 |
|
main () |
1766 |
|
} |
1767 |
|
_ACEOF |
1768 |
|
rm -f conftest.$ac_objext |
1769 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1769 |
> |
if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5 |
1770 |
|
(eval $ac_compile) 2>&5 |
1771 |
|
ac_status=$? |
1772 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1772 |
> |
echo "$as_me:1772: \$? = $ac_status" >&5 |
1773 |
|
(exit $ac_status); } && |
1774 |
|
{ ac_try='test -s conftest.$ac_objext' |
1775 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1775 |
> |
{ (eval echo "$as_me:1775: \"$ac_try\"") >&5 |
1776 |
|
(eval $ac_try) 2>&5 |
1777 |
|
ac_status=$? |
1778 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1778 |
> |
echo "$as_me:1778: \$? = $ac_status" >&5 |
1779 |
|
(exit $ac_status); }; }; then |
1780 |
|
ac_cv_prog_cc_g=yes |
1781 |
|
else |
1782 |
|
echo "$as_me: failed program was:" >&5 |
1783 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2320 |
< |
|
1783 |
> |
cat conftest.$ac_ext >&5 |
1784 |
|
ac_cv_prog_cc_g=no |
1785 |
|
fi |
1786 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1787 |
|
fi |
1788 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1788 |
> |
echo "$as_me:1788: result: $ac_cv_prog_cc_g" >&5 |
1789 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1790 |
|
if test "$ac_test_CFLAGS" = set; then |
1791 |
|
CFLAGS=$ac_save_CFLAGS |
1801 |
|
else |
1802 |
|
CFLAGS= |
1803 |
|
fi |
2341 |
– |
fi |
2342 |
– |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2343 |
– |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2344 |
– |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2345 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2346 |
– |
else |
2347 |
– |
ac_cv_prog_cc_stdc=no |
2348 |
– |
ac_save_CC=$CC |
2349 |
– |
cat >conftest.$ac_ext <<_ACEOF |
2350 |
– |
#line $LINENO "configure" |
2351 |
– |
/* confdefs.h. */ |
2352 |
– |
_ACEOF |
2353 |
– |
cat confdefs.h >>conftest.$ac_ext |
2354 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
2355 |
– |
/* end confdefs.h. */ |
2356 |
– |
#include <stdarg.h> |
2357 |
– |
#include <stdio.h> |
2358 |
– |
#include <sys/types.h> |
2359 |
– |
#include <sys/stat.h> |
2360 |
– |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2361 |
– |
struct buf { int x; }; |
2362 |
– |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2363 |
– |
static char *e (p, i) |
2364 |
– |
char **p; |
2365 |
– |
int i; |
2366 |
– |
{ |
2367 |
– |
return p[i]; |
2368 |
– |
} |
2369 |
– |
static char *f (char * (*g) (char **, int), char **p, ...) |
2370 |
– |
{ |
2371 |
– |
char *s; |
2372 |
– |
va_list v; |
2373 |
– |
va_start (v,p); |
2374 |
– |
s = g (p, va_arg (v,int)); |
2375 |
– |
va_end (v); |
2376 |
– |
return s; |
2377 |
– |
} |
2378 |
– |
int test (int i, double x); |
2379 |
– |
struct s1 {int (*f) (int a);}; |
2380 |
– |
struct s2 {int (*f) (double a);}; |
2381 |
– |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2382 |
– |
int argc; |
2383 |
– |
char **argv; |
2384 |
– |
int |
2385 |
– |
main () |
2386 |
– |
{ |
2387 |
– |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2388 |
– |
; |
2389 |
– |
return 0; |
2390 |
– |
} |
2391 |
– |
_ACEOF |
2392 |
– |
# Don't try gcc -ansi; that turns off useful extensions and |
2393 |
– |
# breaks some systems' header files. |
2394 |
– |
# AIX -qlanglvl=ansi |
2395 |
– |
# Ultrix and OSF/1 -std1 |
2396 |
– |
# HP-UX 10.20 and later -Ae |
2397 |
– |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2398 |
– |
# SVR4 -Xc -D__EXTENSIONS__ |
2399 |
– |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2400 |
– |
do |
2401 |
– |
CC="$ac_save_CC $ac_arg" |
2402 |
– |
rm -f conftest.$ac_objext |
2403 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2404 |
– |
(eval $ac_compile) 2>&5 |
2405 |
– |
ac_status=$? |
2406 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2407 |
– |
(exit $ac_status); } && |
2408 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2409 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2410 |
– |
(eval $ac_try) 2>&5 |
2411 |
– |
ac_status=$? |
2412 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2413 |
– |
(exit $ac_status); }; }; then |
2414 |
– |
ac_cv_prog_cc_stdc=$ac_arg |
2415 |
– |
break |
2416 |
– |
else |
2417 |
– |
echo "$as_me: failed program was:" >&5 |
2418 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
2419 |
– |
|
1804 |
|
fi |
2421 |
– |
rm -f conftest.$ac_objext |
2422 |
– |
done |
2423 |
– |
rm -f conftest.$ac_ext conftest.$ac_objext |
2424 |
– |
CC=$ac_save_CC |
2425 |
– |
|
2426 |
– |
fi |
2427 |
– |
|
2428 |
– |
case "x$ac_cv_prog_cc_stdc" in |
2429 |
– |
x|xno) |
2430 |
– |
echo "$as_me:$LINENO: result: none needed" >&5 |
2431 |
– |
echo "${ECHO_T}none needed" >&6 ;; |
2432 |
– |
*) |
2433 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2434 |
– |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2435 |
– |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2436 |
– |
esac |
2437 |
– |
|
1805 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
1806 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
1807 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
1812 |
|
#endif |
1813 |
|
_ACEOF |
1814 |
|
rm -f conftest.$ac_objext |
1815 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1815 |
> |
if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5 |
1816 |
|
(eval $ac_compile) 2>&5 |
1817 |
|
ac_status=$? |
1818 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1818 |
> |
echo "$as_me:1818: \$? = $ac_status" >&5 |
1819 |
|
(exit $ac_status); } && |
1820 |
|
{ ac_try='test -s conftest.$ac_objext' |
1821 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1821 |
> |
{ (eval echo "$as_me:1821: \"$ac_try\"") >&5 |
1822 |
|
(eval $ac_try) 2>&5 |
1823 |
|
ac_status=$? |
1824 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1824 |
> |
echo "$as_me:1824: \$? = $ac_status" >&5 |
1825 |
|
(exit $ac_status); }; }; then |
1826 |
|
for ac_declaration in \ |
1827 |
|
''\ |
1833 |
|
'void exit (int);' |
1834 |
|
do |
1835 |
|
cat >conftest.$ac_ext <<_ACEOF |
1836 |
< |
#line $LINENO "configure" |
1837 |
< |
/* confdefs.h. */ |
2471 |
< |
_ACEOF |
2472 |
< |
cat confdefs.h >>conftest.$ac_ext |
2473 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2474 |
< |
/* end confdefs.h. */ |
1836 |
> |
#line 1836 "configure" |
1837 |
> |
#include "confdefs.h" |
1838 |
|
#include <stdlib.h> |
1839 |
|
$ac_declaration |
1840 |
|
int |
1846 |
|
} |
1847 |
|
_ACEOF |
1848 |
|
rm -f conftest.$ac_objext |
1849 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1849 |
> |
if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5 |
1850 |
|
(eval $ac_compile) 2>&5 |
1851 |
|
ac_status=$? |
1852 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1852 |
> |
echo "$as_me:1852: \$? = $ac_status" >&5 |
1853 |
|
(exit $ac_status); } && |
1854 |
|
{ ac_try='test -s conftest.$ac_objext' |
1855 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1855 |
> |
{ (eval echo "$as_me:1855: \"$ac_try\"") >&5 |
1856 |
|
(eval $ac_try) 2>&5 |
1857 |
|
ac_status=$? |
1858 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1858 |
> |
echo "$as_me:1858: \$? = $ac_status" >&5 |
1859 |
|
(exit $ac_status); }; }; then |
1860 |
|
: |
1861 |
|
else |
1862 |
|
echo "$as_me: failed program was:" >&5 |
1863 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2501 |
< |
|
1863 |
> |
cat conftest.$ac_ext >&5 |
1864 |
|
continue |
1865 |
|
fi |
1866 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1867 |
|
cat >conftest.$ac_ext <<_ACEOF |
1868 |
< |
#line $LINENO "configure" |
1869 |
< |
/* confdefs.h. */ |
2508 |
< |
_ACEOF |
2509 |
< |
cat confdefs.h >>conftest.$ac_ext |
2510 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2511 |
< |
/* end confdefs.h. */ |
1868 |
> |
#line 1868 "configure" |
1869 |
> |
#include "confdefs.h" |
1870 |
|
$ac_declaration |
1871 |
|
int |
1872 |
|
main () |
1877 |
|
} |
1878 |
|
_ACEOF |
1879 |
|
rm -f conftest.$ac_objext |
1880 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1880 |
> |
if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5 |
1881 |
|
(eval $ac_compile) 2>&5 |
1882 |
|
ac_status=$? |
1883 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1883 |
> |
echo "$as_me:1883: \$? = $ac_status" >&5 |
1884 |
|
(exit $ac_status); } && |
1885 |
|
{ ac_try='test -s conftest.$ac_objext' |
1886 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1886 |
> |
{ (eval echo "$as_me:1886: \"$ac_try\"") >&5 |
1887 |
|
(eval $ac_try) 2>&5 |
1888 |
|
ac_status=$? |
1889 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1889 |
> |
echo "$as_me:1889: \$? = $ac_status" >&5 |
1890 |
|
(exit $ac_status); }; }; then |
1891 |
|
break |
1892 |
|
else |
1893 |
|
echo "$as_me: failed program was:" >&5 |
1894 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2537 |
< |
|
1894 |
> |
cat conftest.$ac_ext >&5 |
1895 |
|
fi |
1896 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1897 |
|
done |
1898 |
< |
rm -f conftest* |
1899 |
< |
if test -n "$ac_declaration"; then |
1900 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
2544 |
< |
echo $ac_declaration >>confdefs.h |
2545 |
< |
echo '#endif' >>confdefs.h |
2546 |
< |
fi |
1898 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
1899 |
> |
echo $ac_declaration >>confdefs.h |
1900 |
> |
echo '#endif' >>confdefs.h |
1901 |
|
|
1902 |
|
else |
1903 |
|
echo "$as_me: failed program was:" >&5 |
1904 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2551 |
< |
|
1904 |
> |
cat conftest.$ac_ext >&5 |
1905 |
|
fi |
1906 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
1907 |
|
ac_ext=c |
1910 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1911 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1912 |
|
|
2560 |
– |
|
2561 |
– |
|
2562 |
– |
|
2563 |
– |
|
1913 |
|
# Try to determine "good" native compiler flags if none specified on command |
1914 |
|
# line |
1915 |
|
if test "$ac_test_CFLAGS" != "set"; then |
1971 |
|
if test $ac_cv_c_compiler_gnu = yes; then |
1972 |
|
# -malign-double for x86 systems |
1973 |
|
|
1974 |
< |
|
2626 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
1974 |
> |
echo "$as_me:1974: checking whether ${CC-cc} accepts -malign-double" >&5 |
1975 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
1976 |
|
if test "${ac_align_double+set}" = set; then |
1977 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1985 |
|
rm -f conftest* |
1986 |
|
|
1987 |
|
fi |
1988 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
1988 |
> |
echo "$as_me:1988: result: $ac_align_double" >&5 |
1989 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
1990 |
|
if test "$ac_align_double" = yes; then |
1991 |
|
: |
1997 |
|
|
1998 |
|
# -fstrict-aliasing for gcc-2.95+ |
1999 |
|
|
2000 |
< |
|
2653 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
2000 |
> |
echo "$as_me:2000: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
2001 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
2002 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
2003 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2011 |
|
rm -f conftest* |
2012 |
|
|
2013 |
|
fi |
2014 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
2014 |
> |
echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5 |
2015 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
2016 |
|
if test "$ac_fstrict_aliasing" = yes; then |
2017 |
|
: |
2028 |
|
case "${host_cpu}" in |
2029 |
|
i586*) |
2030 |
|
|
2031 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2031 |
> |
echo "$as_me:2031: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2032 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
2033 |
|
if test "${ac_cpu_pentium+set}" = set; then |
2034 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2042 |
|
rm -f conftest* |
2043 |
|
|
2044 |
|
fi |
2045 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
2045 |
> |
echo "$as_me:2045: result: $ac_cpu_pentium" >&5 |
2046 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
2047 |
|
if test "$ac_cpu_pentium" = yes; then |
2048 |
|
: |
2050 |
|
else |
2051 |
|
: |
2052 |
|
|
2053 |
< |
|
2707 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
2053 |
> |
echo "$as_me:2053: checking whether ${CC-cc} accepts -mpentium" >&5 |
2054 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
2055 |
|
if test "${ac_pentium+set}" = set; then |
2056 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2064 |
|
rm -f conftest* |
2065 |
|
|
2066 |
|
fi |
2067 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
2067 |
> |
echo "$as_me:2067: result: $ac_pentium" >&5 |
2068 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
2069 |
|
if test "$ac_pentium" = yes; then |
2070 |
|
: |
2079 |
|
;; |
2080 |
|
i686*) |
2081 |
|
|
2082 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
2082 |
> |
echo "$as_me:2082: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
2083 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
2084 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
2085 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2093 |
|
rm -f conftest* |
2094 |
|
|
2095 |
|
fi |
2096 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
2096 |
> |
echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5 |
2097 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
2098 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
2099 |
|
: |
2101 |
|
else |
2102 |
|
: |
2103 |
|
|
2104 |
< |
|
2759 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
2104 |
> |
echo "$as_me:2104: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
2105 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
2106 |
|
if test "${ac_pentiumpro+set}" = set; then |
2107 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2115 |
|
rm -f conftest* |
2116 |
|
|
2117 |
|
fi |
2118 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
2118 |
> |
echo "$as_me:2118: result: $ac_pentiumpro" >&5 |
2119 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
2120 |
|
if test "$ac_pentiumpro" = yes; then |
2121 |
|
: |
2133 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
2134 |
|
if test -n "$is60x"; then |
2135 |
|
|
2136 |
< |
|
2792 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
2136 |
> |
echo "$as_me:2136: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
2137 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
2138 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
2139 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2147 |
|
rm -f conftest* |
2148 |
|
|
2149 |
|
fi |
2150 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
2150 |
> |
echo "$as_me:2150: result: $ac_m_cpu_60x" >&5 |
2151 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
2152 |
|
if test "$ac_m_cpu_60x" = yes; then |
2153 |
|
: |
2159 |
|
|
2160 |
|
elif test "$cputype" = 750; then |
2161 |
|
|
2162 |
< |
|
2819 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
2162 |
> |
echo "$as_me:2162: checking whether we are using gcc 2.95 or later" >&5 |
2163 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
2164 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
2165 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2173 |
|
#endif |
2174 |
|
EOF |
2175 |
|
if { ac_try='${CC-cc} -E conftest.c' |
2176 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2176 |
> |
{ (eval echo "$as_me:2176: \"$ac_try\"") >&5 |
2177 |
|
(eval $ac_try) 2>&5 |
2178 |
|
ac_status=$? |
2179 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2179 |
> |
echo "$as_me:2179: \$? = $ac_status" >&5 |
2180 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
2181 |
|
ac_cv_prog_gcc_2_95=yes |
2182 |
|
else |
2184 |
|
fi |
2185 |
|
|
2186 |
|
fi |
2187 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
2187 |
> |
echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5 |
2188 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
2189 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
2190 |
|
: |
2848 |
– |
|
2191 |
|
|
2192 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
2192 |
> |
echo "$as_me:2192: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
2193 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6 |
2194 |
|
if test "${ac_m_cpu_750+set}" = set; then |
2195 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2203 |
|
rm -f conftest* |
2204 |
|
|
2205 |
|
fi |
2206 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
2206 |
> |
echo "$as_me:2206: result: $ac_m_cpu_750" >&5 |
2207 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
2208 |
|
if test "$ac_m_cpu_750" = yes; then |
2209 |
|
: |
2221 |
|
fi |
2222 |
|
if test -z "$CPU_FLAGS"; then |
2223 |
|
|
2224 |
< |
|
2883 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
2224 |
> |
echo "$as_me:2224: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
2225 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6 |
2226 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
2227 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2235 |
|
rm -f conftest* |
2236 |
|
|
2237 |
|
fi |
2238 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
2238 |
> |
echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5 |
2239 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
2240 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
2241 |
|
: |
2248 |
|
fi |
2249 |
|
if test -z "$CPU_FLAGS"; then |
2250 |
|
|
2251 |
< |
|
2911 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
2251 |
> |
echo "$as_me:2251: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
2252 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6 |
2253 |
|
if test "${ac_m_powerpc+set}" = set; then |
2254 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2262 |
|
rm -f conftest* |
2263 |
|
|
2264 |
|
fi |
2265 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
2265 |
> |
echo "$as_me:2265: result: $ac_m_powerpc" >&5 |
2266 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
2267 |
|
if test "$ac_m_powerpc" = yes; then |
2268 |
|
: |
2291 |
|
CFLAGS="-O3" |
2292 |
|
fi |
2293 |
|
|
2294 |
< |
|
2955 |
< |
|
2956 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
2294 |
> |
echo "$as_me:2294: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
2295 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6 |
2296 |
|
if test "${ac_guessed_cflags+set}" = set; then |
2297 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2305 |
|
rm -f conftest* |
2306 |
|
|
2307 |
|
fi |
2308 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
2308 |
> |
echo "$as_me:2308: result: $ac_guessed_cflags" >&5 |
2309 |
|
echo "${ECHO_T}$ac_guessed_cflags" >&6 |
2310 |
|
if test "$ac_guessed_cflags" = yes; then |
2311 |
|
: |
2324 |
|
|
2325 |
|
fi |
2326 |
|
|
2989 |
– |
|
2327 |
|
fi |
2328 |
|
|
2329 |
|
ac_ext=cc |
2336 |
|
do |
2337 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2338 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2339 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2339 |
> |
echo "$as_me:2339: checking for $ac_word" >&5 |
2340 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2341 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
2342 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2344 |
|
if test -n "$CXX"; then |
2345 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2346 |
|
else |
2347 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2348 |
< |
for as_dir in $PATH |
2349 |
< |
do |
2350 |
< |
IFS=$as_save_IFS |
2351 |
< |
test -z "$as_dir" && as_dir=. |
2352 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2353 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2354 |
< |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2355 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3019 |
< |
break 2 |
3020 |
< |
fi |
2347 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2348 |
> |
ac_dummy="$PATH" |
2349 |
> |
for ac_dir in $ac_dummy; do |
2350 |
> |
IFS=$ac_save_IFS |
2351 |
> |
test -z "$ac_dir" && ac_dir=. |
2352 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2353 |
> |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2354 |
> |
echo "$as_me:2354: found $ac_dir/$ac_word" >&5 |
2355 |
> |
break |
2356 |
|
done |
3022 |
– |
done |
2357 |
|
|
2358 |
|
fi |
2359 |
|
fi |
2360 |
|
CXX=$ac_cv_prog_CXX |
2361 |
|
if test -n "$CXX"; then |
2362 |
< |
echo "$as_me:$LINENO: result: $CXX" >&5 |
2362 |
> |
echo "$as_me:2362: result: $CXX" >&5 |
2363 |
|
echo "${ECHO_T}$CXX" >&6 |
2364 |
|
else |
2365 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2365 |
> |
echo "$as_me:2365: result: no" >&5 |
2366 |
|
echo "${ECHO_T}no" >&6 |
2367 |
|
fi |
2368 |
|
|
2375 |
|
do |
2376 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2377 |
|
set dummy $ac_prog; ac_word=$2 |
2378 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2378 |
> |
echo "$as_me:2378: checking for $ac_word" >&5 |
2379 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2380 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
2381 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2383 |
|
if test -n "$ac_ct_CXX"; then |
2384 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2385 |
|
else |
2386 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2387 |
< |
for as_dir in $PATH |
2388 |
< |
do |
2389 |
< |
IFS=$as_save_IFS |
2390 |
< |
test -z "$as_dir" && as_dir=. |
2391 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2392 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2393 |
< |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2394 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3061 |
< |
break 2 |
3062 |
< |
fi |
2386 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2387 |
> |
ac_dummy="$PATH" |
2388 |
> |
for ac_dir in $ac_dummy; do |
2389 |
> |
IFS=$ac_save_IFS |
2390 |
> |
test -z "$ac_dir" && ac_dir=. |
2391 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2392 |
> |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2393 |
> |
echo "$as_me:2393: found $ac_dir/$ac_word" >&5 |
2394 |
> |
break |
2395 |
|
done |
3064 |
– |
done |
2396 |
|
|
2397 |
|
fi |
2398 |
|
fi |
2399 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2400 |
|
if test -n "$ac_ct_CXX"; then |
2401 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
2401 |
> |
echo "$as_me:2401: result: $ac_ct_CXX" >&5 |
2402 |
|
echo "${ECHO_T}$ac_ct_CXX" >&6 |
2403 |
|
else |
2404 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2404 |
> |
echo "$as_me:2404: result: no" >&5 |
2405 |
|
echo "${ECHO_T}no" >&6 |
2406 |
|
fi |
2407 |
|
|
2412 |
|
CXX=$ac_ct_CXX |
2413 |
|
fi |
2414 |
|
|
2415 |
< |
|
3085 |
< |
# Provide some information about the compiler. |
3086 |
< |
echo "$as_me:$LINENO:" \ |
3087 |
< |
"checking for C++ compiler version" >&5 |
3088 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
3089 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3090 |
< |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
3091 |
< |
ac_status=$? |
3092 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3093 |
< |
(exit $ac_status); } |
3094 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
3095 |
< |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
3096 |
< |
ac_status=$? |
3097 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3098 |
< |
(exit $ac_status); } |
3099 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
3100 |
< |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
3101 |
< |
ac_status=$? |
3102 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3103 |
< |
(exit $ac_status); } |
3104 |
< |
|
3105 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2415 |
> |
echo "$as_me:2415: checking whether we are using the GNU C++ compiler" >&5 |
2416 |
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
2417 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2418 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2419 |
|
else |
2420 |
|
cat >conftest.$ac_ext <<_ACEOF |
2421 |
< |
#line $LINENO "configure" |
2422 |
< |
/* confdefs.h. */ |
3113 |
< |
_ACEOF |
3114 |
< |
cat confdefs.h >>conftest.$ac_ext |
3115 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3116 |
< |
/* end confdefs.h. */ |
2421 |
> |
#line 2421 "configure" |
2422 |
> |
#include "confdefs.h" |
2423 |
|
|
2424 |
|
int |
2425 |
|
main () |
2433 |
|
} |
2434 |
|
_ACEOF |
2435 |
|
rm -f conftest.$ac_objext |
2436 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2436 |
> |
if { (eval echo "$as_me:2436: \"$ac_compile\"") >&5 |
2437 |
|
(eval $ac_compile) 2>&5 |
2438 |
|
ac_status=$? |
2439 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2439 |
> |
echo "$as_me:2439: \$? = $ac_status" >&5 |
2440 |
|
(exit $ac_status); } && |
2441 |
|
{ ac_try='test -s conftest.$ac_objext' |
2442 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2442 |
> |
{ (eval echo "$as_me:2442: \"$ac_try\"") >&5 |
2443 |
|
(eval $ac_try) 2>&5 |
2444 |
|
ac_status=$? |
2445 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2445 |
> |
echo "$as_me:2445: \$? = $ac_status" >&5 |
2446 |
|
(exit $ac_status); }; }; then |
2447 |
|
ac_compiler_gnu=yes |
2448 |
|
else |
2449 |
|
echo "$as_me: failed program was:" >&5 |
2450 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3145 |
< |
|
2450 |
> |
cat conftest.$ac_ext >&5 |
2451 |
|
ac_compiler_gnu=no |
2452 |
|
fi |
2453 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2454 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2455 |
|
|
2456 |
|
fi |
2457 |
< |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2457 |
> |
echo "$as_me:2457: result: $ac_cv_cxx_compiler_gnu" >&5 |
2458 |
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
2459 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2460 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2461 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
2462 |
|
CXXFLAGS="-g" |
2463 |
< |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2463 |
> |
echo "$as_me:2463: checking whether $CXX accepts -g" >&5 |
2464 |
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
2465 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2466 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2467 |
|
else |
2468 |
|
cat >conftest.$ac_ext <<_ACEOF |
2469 |
< |
#line $LINENO "configure" |
2470 |
< |
/* confdefs.h. */ |
3166 |
< |
_ACEOF |
3167 |
< |
cat confdefs.h >>conftest.$ac_ext |
3168 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3169 |
< |
/* end confdefs.h. */ |
2469 |
> |
#line 2469 "configure" |
2470 |
> |
#include "confdefs.h" |
2471 |
|
|
2472 |
|
int |
2473 |
|
main () |
2478 |
|
} |
2479 |
|
_ACEOF |
2480 |
|
rm -f conftest.$ac_objext |
2481 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2481 |
> |
if { (eval echo "$as_me:2481: \"$ac_compile\"") >&5 |
2482 |
|
(eval $ac_compile) 2>&5 |
2483 |
|
ac_status=$? |
2484 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2484 |
> |
echo "$as_me:2484: \$? = $ac_status" >&5 |
2485 |
|
(exit $ac_status); } && |
2486 |
|
{ ac_try='test -s conftest.$ac_objext' |
2487 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2487 |
> |
{ (eval echo "$as_me:2487: \"$ac_try\"") >&5 |
2488 |
|
(eval $ac_try) 2>&5 |
2489 |
|
ac_status=$? |
2490 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2490 |
> |
echo "$as_me:2490: \$? = $ac_status" >&5 |
2491 |
|
(exit $ac_status); }; }; then |
2492 |
|
ac_cv_prog_cxx_g=yes |
2493 |
|
else |
2494 |
|
echo "$as_me: failed program was:" >&5 |
2495 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3195 |
< |
|
2495 |
> |
cat conftest.$ac_ext >&5 |
2496 |
|
ac_cv_prog_cxx_g=no |
2497 |
|
fi |
2498 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2499 |
|
fi |
2500 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2500 |
> |
echo "$as_me:2500: result: $ac_cv_prog_cxx_g" >&5 |
2501 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2502 |
|
if test "$ac_test_CXXFLAGS" = set; then |
2503 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
2524 |
|
'void exit (int);' |
2525 |
|
do |
2526 |
|
cat >conftest.$ac_ext <<_ACEOF |
2527 |
< |
#line $LINENO "configure" |
2528 |
< |
/* confdefs.h. */ |
3229 |
< |
_ACEOF |
3230 |
< |
cat confdefs.h >>conftest.$ac_ext |
3231 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3232 |
< |
/* end confdefs.h. */ |
2527 |
> |
#line 2527 "configure" |
2528 |
> |
#include "confdefs.h" |
2529 |
|
#include <stdlib.h> |
2530 |
|
$ac_declaration |
2531 |
|
int |
2537 |
|
} |
2538 |
|
_ACEOF |
2539 |
|
rm -f conftest.$ac_objext |
2540 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2540 |
> |
if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5 |
2541 |
|
(eval $ac_compile) 2>&5 |
2542 |
|
ac_status=$? |
2543 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2543 |
> |
echo "$as_me:2543: \$? = $ac_status" >&5 |
2544 |
|
(exit $ac_status); } && |
2545 |
|
{ ac_try='test -s conftest.$ac_objext' |
2546 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2546 |
> |
{ (eval echo "$as_me:2546: \"$ac_try\"") >&5 |
2547 |
|
(eval $ac_try) 2>&5 |
2548 |
|
ac_status=$? |
2549 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2549 |
> |
echo "$as_me:2549: \$? = $ac_status" >&5 |
2550 |
|
(exit $ac_status); }; }; then |
2551 |
|
: |
2552 |
|
else |
2553 |
|
echo "$as_me: failed program was:" >&5 |
2554 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3259 |
< |
|
2554 |
> |
cat conftest.$ac_ext >&5 |
2555 |
|
continue |
2556 |
|
fi |
2557 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2558 |
|
cat >conftest.$ac_ext <<_ACEOF |
2559 |
< |
#line $LINENO "configure" |
2560 |
< |
/* confdefs.h. */ |
3266 |
< |
_ACEOF |
3267 |
< |
cat confdefs.h >>conftest.$ac_ext |
3268 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3269 |
< |
/* end confdefs.h. */ |
2559 |
> |
#line 2559 "configure" |
2560 |
> |
#include "confdefs.h" |
2561 |
|
$ac_declaration |
2562 |
|
int |
2563 |
|
main () |
2568 |
|
} |
2569 |
|
_ACEOF |
2570 |
|
rm -f conftest.$ac_objext |
2571 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2571 |
> |
if { (eval echo "$as_me:2571: \"$ac_compile\"") >&5 |
2572 |
|
(eval $ac_compile) 2>&5 |
2573 |
|
ac_status=$? |
2574 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2574 |
> |
echo "$as_me:2574: \$? = $ac_status" >&5 |
2575 |
|
(exit $ac_status); } && |
2576 |
|
{ ac_try='test -s conftest.$ac_objext' |
2577 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2577 |
> |
{ (eval echo "$as_me:2577: \"$ac_try\"") >&5 |
2578 |
|
(eval $ac_try) 2>&5 |
2579 |
|
ac_status=$? |
2580 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2580 |
> |
echo "$as_me:2580: \$? = $ac_status" >&5 |
2581 |
|
(exit $ac_status); }; }; then |
2582 |
|
break |
2583 |
|
else |
2584 |
|
echo "$as_me: failed program was:" >&5 |
2585 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3295 |
< |
|
2585 |
> |
cat conftest.$ac_ext >&5 |
2586 |
|
fi |
2587 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2588 |
|
done |
2589 |
< |
rm -f conftest* |
2590 |
< |
if test -n "$ac_declaration"; then |
2591 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
3302 |
< |
echo $ac_declaration >>confdefs.h |
3303 |
< |
echo '#endif' >>confdefs.h |
3304 |
< |
fi |
2589 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
2590 |
> |
echo $ac_declaration >>confdefs.h |
2591 |
> |
echo '#endif' >>confdefs.h |
2592 |
|
|
2593 |
|
ac_ext=c |
2594 |
|
ac_cpp='$CPP $CPPFLAGS' |
2596 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2597 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2598 |
|
|
3312 |
– |
|
3313 |
– |
|
3314 |
– |
|
3315 |
– |
|
2599 |
|
# Try to determine "good" native compiler flags if none specified on command |
2600 |
|
# line |
2601 |
|
if test "$ac_test_CXXFLAGS" != "set"; then |
2648 |
|
if test $ac_cv_c_compiler_gnu = yes; then |
2649 |
|
# -malign-double for x86 systems |
2650 |
|
|
2651 |
< |
|
3369 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5 |
2651 |
> |
echo "$as_me:2651: checking whether ${CXX-c++} accepts -malign-double" >&5 |
2652 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6 |
2653 |
|
if test "${ac_align_double+set}" = set; then |
2654 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2662 |
|
rm -f conftest* |
2663 |
|
|
2664 |
|
fi |
2665 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
2665 |
> |
echo "$as_me:2665: result: $ac_align_double" >&5 |
2666 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
2667 |
|
if test "$ac_align_double" = yes; then |
2668 |
|
: |
2674 |
|
|
2675 |
|
# -fstrict-aliasing for gcc-2.95+ |
2676 |
|
|
2677 |
< |
|
3396 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
2677 |
> |
echo "$as_me:2677: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
2678 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6 |
2679 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
2680 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2688 |
|
rm -f conftest* |
2689 |
|
|
2690 |
|
fi |
2691 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
2691 |
> |
echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5 |
2692 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
2693 |
|
if test "$ac_fstrict_aliasing" = yes; then |
2694 |
|
: |
2705 |
|
case "${host_cpu}" in |
2706 |
|
i586*) |
2707 |
|
|
2708 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2708 |
> |
echo "$as_me:2708: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
2709 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
2710 |
|
if test "${ac_cpu_pentium+set}" = set; then |
2711 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 |
|
rm -f conftest* |
2720 |
|
|
2721 |
|
fi |
2722 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
2722 |
> |
echo "$as_me:2722: result: $ac_cpu_pentium" >&5 |
2723 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
2724 |
|
if test "$ac_cpu_pentium" = yes; then |
2725 |
|
: |
2727 |
|
else |
2728 |
|
: |
2729 |
|
|
2730 |
< |
|
3450 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5 |
2730 |
> |
echo "$as_me:2730: checking whether ${CXX-c++} accepts -mpentium" >&5 |
2731 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6 |
2732 |
|
if test "${ac_pentium+set}" = set; then |
2733 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2741 |
|
rm -f conftest* |
2742 |
|
|
2743 |
|
fi |
2744 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
2744 |
> |
echo "$as_me:2744: result: $ac_pentium" >&5 |
2745 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
2746 |
|
if test "$ac_pentium" = yes; then |
2747 |
|
: |
2756 |
|
;; |
2757 |
|
i686*) |
2758 |
|
|
2759 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
2759 |
> |
echo "$as_me:2759: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
2760 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
2761 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
2762 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2770 |
|
rm -f conftest* |
2771 |
|
|
2772 |
|
fi |
2773 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
2773 |
> |
echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5 |
2774 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
2775 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
2776 |
|
: |
2778 |
|
else |
2779 |
|
: |
2780 |
|
|
2781 |
< |
|
3502 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
2781 |
> |
echo "$as_me:2781: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
2782 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6 |
2783 |
|
if test "${ac_pentiumpro+set}" = set; then |
2784 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2792 |
|
rm -f conftest* |
2793 |
|
|
2794 |
|
fi |
2795 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
2795 |
> |
echo "$as_me:2795: result: $ac_pentiumpro" >&5 |
2796 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
2797 |
|
if test "$ac_pentiumpro" = yes; then |
2798 |
|
: |
2810 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
2811 |
|
if test -n "$is60x"; then |
2812 |
|
|
2813 |
< |
|
3535 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
2813 |
> |
echo "$as_me:2813: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
2814 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6 |
2815 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
2816 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2824 |
|
rm -f conftest* |
2825 |
|
|
2826 |
|
fi |
2827 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
2827 |
> |
echo "$as_me:2827: result: $ac_m_cpu_60x" >&5 |
2828 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
2829 |
|
if test "$ac_m_cpu_60x" = yes; then |
2830 |
|
: |
2836 |
|
|
2837 |
|
elif test "$cputype" = 750; then |
2838 |
|
|
2839 |
< |
|
3562 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
2839 |
> |
echo "$as_me:2839: checking whether we are using gcc 2.95 or later" >&5 |
2840 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
2841 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
2842 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2850 |
|
#endif |
2851 |
|
EOF |
2852 |
|
if { ac_try='${CC-cc} -E conftest.c' |
2853 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2853 |
> |
{ (eval echo "$as_me:2853: \"$ac_try\"") >&5 |
2854 |
|
(eval $ac_try) 2>&5 |
2855 |
|
ac_status=$? |
2856 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2856 |
> |
echo "$as_me:2856: \$? = $ac_status" >&5 |
2857 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
2858 |
|
ac_cv_prog_gcc_2_95=yes |
2859 |
|
else |
2861 |
|
fi |
2862 |
|
|
2863 |
|
fi |
2864 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
2864 |
> |
echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5 |
2865 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
2866 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
2867 |
|
: |
2868 |
|
|
2869 |
< |
|
3593 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
2869 |
> |
echo "$as_me:2869: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
2870 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6 |
2871 |
|
if test "${ac_m_cpu_750+set}" = set; then |
2872 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2880 |
|
rm -f conftest* |
2881 |
|
|
2882 |
|
fi |
2883 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
2883 |
> |
echo "$as_me:2883: result: $ac_m_cpu_750" >&5 |
2884 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
2885 |
|
if test "$ac_m_cpu_750" = yes; then |
2886 |
|
: |
2898 |
|
fi |
2899 |
|
if test -z "$CPU_FLAGS"; then |
2900 |
|
|
2901 |
< |
|
3626 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
2901 |
> |
echo "$as_me:2901: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
2902 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6 |
2903 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
2904 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2912 |
|
rm -f conftest* |
2913 |
|
|
2914 |
|
fi |
2915 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
2915 |
> |
echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5 |
2916 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
2917 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
2918 |
|
: |
2925 |
|
fi |
2926 |
|
if test -z "$CPU_FLAGS"; then |
2927 |
|
|
2928 |
< |
|
3654 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
2928 |
> |
echo "$as_me:2928: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
2929 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6 |
2930 |
|
if test "${ac_m_powerpc+set}" = set; then |
2931 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2939 |
|
rm -f conftest* |
2940 |
|
|
2941 |
|
fi |
2942 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
2942 |
> |
echo "$as_me:2942: result: $ac_m_powerpc" >&5 |
2943 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
2944 |
|
if test "$ac_m_powerpc" = yes; then |
2945 |
|
: |
2968 |
|
CXXFLAGS="-O3" |
2969 |
|
fi |
2970 |
|
|
2971 |
< |
|
3698 |
< |
|
3699 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
2971 |
> |
echo "$as_me:2971: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
2972 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6 |
2973 |
|
if test "${ac_guessed_cxxflags+set}" = set; then |
2974 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2982 |
|
rm -f conftest* |
2983 |
|
|
2984 |
|
fi |
2985 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
2985 |
> |
echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5 |
2986 |
|
echo "${ECHO_T}$ac_guessed_cxxflags" >&6 |
2987 |
|
if test "$ac_guessed_cxxflags" = yes; then |
2988 |
|
: |
3001 |
|
|
3002 |
|
fi |
3003 |
|
|
3732 |
– |
|
3004 |
|
fi |
3005 |
|
|
3006 |
|
ac_ext=f90 |
3012 |
|
do |
3013 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3014 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3015 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3015 |
> |
echo "$as_me:3015: checking for $ac_word" >&5 |
3016 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3017 |
|
if test "${ac_cv_prog_F90+set}" = set; then |
3018 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3020 |
|
if test -n "$F90"; then |
3021 |
|
ac_cv_prog_F90="$F90" # Let the user override the test. |
3022 |
|
else |
3023 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3024 |
< |
for as_dir in $PATH |
3025 |
< |
do |
3026 |
< |
IFS=$as_save_IFS |
3027 |
< |
test -z "$as_dir" && as_dir=. |
3028 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3029 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3030 |
< |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
3031 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3761 |
< |
break 2 |
3762 |
< |
fi |
3023 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3024 |
> |
ac_dummy="$PATH" |
3025 |
> |
for ac_dir in $ac_dummy; do |
3026 |
> |
IFS=$ac_save_IFS |
3027 |
> |
test -z "$ac_dir" && ac_dir=. |
3028 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3029 |
> |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
3030 |
> |
echo "$as_me:3030: found $ac_dir/$ac_word" >&5 |
3031 |
> |
break |
3032 |
|
done |
3764 |
– |
done |
3033 |
|
|
3034 |
|
fi |
3035 |
|
fi |
3036 |
|
F90=$ac_cv_prog_F90 |
3037 |
|
if test -n "$F90"; then |
3038 |
< |
echo "$as_me:$LINENO: result: $F90" >&5 |
3038 |
> |
echo "$as_me:3038: result: $F90" >&5 |
3039 |
|
echo "${ECHO_T}$F90" >&6 |
3040 |
|
else |
3041 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3041 |
> |
echo "$as_me:3041: result: no" >&5 |
3042 |
|
echo "${ECHO_T}no" >&6 |
3043 |
|
fi |
3044 |
|
|
3051 |
|
do |
3052 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3053 |
|
set dummy $ac_prog; ac_word=$2 |
3054 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3054 |
> |
echo "$as_me:3054: checking for $ac_word" >&5 |
3055 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3056 |
|
if test "${ac_cv_prog_ac_ct_F90+set}" = set; then |
3057 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3059 |
|
if test -n "$ac_ct_F90"; then |
3060 |
|
ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. |
3061 |
|
else |
3062 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3063 |
< |
for as_dir in $PATH |
3064 |
< |
do |
3065 |
< |
IFS=$as_save_IFS |
3066 |
< |
test -z "$as_dir" && as_dir=. |
3067 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3068 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3069 |
< |
ac_cv_prog_ac_ct_F90="$ac_prog" |
3070 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3803 |
< |
break 2 |
3804 |
< |
fi |
3062 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3063 |
> |
ac_dummy="$PATH" |
3064 |
> |
for ac_dir in $ac_dummy; do |
3065 |
> |
IFS=$ac_save_IFS |
3066 |
> |
test -z "$ac_dir" && ac_dir=. |
3067 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3068 |
> |
ac_cv_prog_ac_ct_F90="$ac_prog" |
3069 |
> |
echo "$as_me:3069: found $ac_dir/$ac_word" >&5 |
3070 |
> |
break |
3071 |
|
done |
3806 |
– |
done |
3072 |
|
|
3073 |
|
fi |
3074 |
|
fi |
3075 |
|
ac_ct_F90=$ac_cv_prog_ac_ct_F90 |
3076 |
|
if test -n "$ac_ct_F90"; then |
3077 |
< |
echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 |
3077 |
> |
echo "$as_me:3077: result: $ac_ct_F90" >&5 |
3078 |
|
echo "${ECHO_T}$ac_ct_F90" >&6 |
3079 |
|
else |
3080 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3080 |
> |
echo "$as_me:3080: result: no" >&5 |
3081 |
|
echo "${ECHO_T}no" >&6 |
3082 |
|
fi |
3083 |
|
|
3087 |
|
F90=$ac_ct_F90 |
3088 |
|
fi |
3089 |
|
|
3825 |
– |
|
3090 |
|
# If we don't use `.F90' as extension, the preprocessor is not run on the |
3091 |
|
# input file. |
3092 |
|
ac_save_ext=$ac_ext |
3093 |
|
ac_ext=F90 |
3094 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 |
3094 |
> |
echo "$as_me:3094: checking whether we are using the GNU Fortran 90 compiler" >&5 |
3095 |
|
echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 |
3096 |
|
if test "${ac_cv_f90_compiler_gnu+set}" = set; then |
3097 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3108 |
|
|
3109 |
|
_ACEOF |
3110 |
|
rm -f conftest.$ac_objext |
3111 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3111 |
> |
if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5 |
3112 |
|
(eval $ac_compile) 2>&5 |
3113 |
|
ac_status=$? |
3114 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3114 |
> |
echo "$as_me:3114: \$? = $ac_status" >&5 |
3115 |
|
(exit $ac_status); } && |
3116 |
|
{ ac_try='test -s conftest.$ac_objext' |
3117 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3117 |
> |
{ (eval echo "$as_me:3117: \"$ac_try\"") >&5 |
3118 |
|
(eval $ac_try) 2>&5 |
3119 |
|
ac_status=$? |
3120 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3120 |
> |
echo "$as_me:3120: \$? = $ac_status" >&5 |
3121 |
|
(exit $ac_status); }; }; then |
3122 |
|
ac_compiler_gnu=yes |
3123 |
|
else |
3124 |
|
echo "$as_me: failed program was:" >&5 |
3125 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3862 |
< |
|
3125 |
> |
cat conftest.$ac_ext >&5 |
3126 |
|
ac_compiler_gnu=no |
3127 |
|
fi |
3128 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3129 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3130 |
|
|
3131 |
|
fi |
3132 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 |
3132 |
> |
echo "$as_me:3132: result: $ac_cv_f90_compiler_gnu" >&5 |
3133 |
|
echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 |
3134 |
|
ac_ext=$ac_save_ext |
3135 |
|
G95=`test $ac_compiler_gnu = yes && echo yes` |
3139 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3140 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3141 |
|
|
3879 |
– |
|
3880 |
– |
|
3881 |
– |
|
3882 |
– |
|
3142 |
|
# Try to determine "good" native compiler flags if none specified on command |
3143 |
|
# line |
3144 |
|
|
3195 |
|
F90FLAGS="-O3" |
3196 |
|
fi |
3197 |
|
|
3198 |
< |
|
3940 |
< |
echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
3198 |
> |
echo "$as_me:3198: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
3199 |
|
echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6 |
3200 |
|
if test "${ac_guessed_f90flags+set}" = set; then |
3201 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3202 |
|
else |
3203 |
|
|
3946 |
– |
|
3947 |
– |
|
3204 |
|
ac_ext=f90 |
3205 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3206 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3209 |
|
echo 'program main' > conftest.$ac_ext |
3210 |
|
echo 'end program main' >> conftest.$ac_ext |
3211 |
|
ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5' |
3212 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3212 |
> |
if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5 |
3213 |
|
(eval $ac_compile) 2>&5 |
3214 |
|
ac_status=$? |
3215 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3215 |
> |
echo "$as_me:3215: \$? = $ac_status" >&5 |
3216 |
|
(exit $ac_status); }; then |
3217 |
|
ac_guessed_f90flags=yes |
3218 |
|
else |
3225 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3226 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3227 |
|
|
3972 |
– |
|
3228 |
|
fi |
3229 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
3229 |
> |
echo "$as_me:3229: result: $ac_guessed_f90flags" >&5 |
3230 |
|
echo "${ECHO_T}$ac_guessed_f90flags" >&6 |
3231 |
|
if test "$ac_guessed_f90flags" = yes; then |
3232 |
|
: |
3245 |
|
|
3246 |
|
fi |
3247 |
|
|
3993 |
– |
|
3248 |
|
fi |
3249 |
|
|
3996 |
– |
|
3997 |
– |
|
3998 |
– |
|
3999 |
– |
|
3250 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
3251 |
|
# for preprocessed f90 source. |
3252 |
|
|
3277 |
|
PREPFLAG="" |
3278 |
|
fi |
3279 |
|
|
3280 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
3280 |
> |
echo "$as_me:3280: checking to make sure F90 preprocessor flag works" >&5 |
3281 |
|
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 |
3282 |
|
|
4033 |
– |
|
3283 |
|
ac_ext=f90 |
3284 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3285 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3295 |
|
|
3296 |
|
cat >conftest.$ac_ext <<_ACEOF |
3297 |
|
|
4049 |
– |
|
3298 |
|
program main |
3299 |
|
|
3300 |
|
integer :: i |
3301 |
|
i = 1 |
3302 |
|
|
4055 |
– |
|
3303 |
|
end program main |
3304 |
|
|
3305 |
|
_ACEOF |
3306 |
|
rm -f conftest.$ac_objext |
3307 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3307 |
> |
if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5 |
3308 |
|
(eval $ac_compile) 2>&5 |
3309 |
|
ac_status=$? |
3310 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3310 |
> |
echo "$as_me:3310: \$? = $ac_status" >&5 |
3311 |
|
(exit $ac_status); } && |
3312 |
|
{ ac_try='test -s conftest.$ac_objext' |
3313 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3313 |
> |
{ (eval echo "$as_me:3313: \"$ac_try\"") >&5 |
3314 |
|
(eval $ac_try) 2>&5 |
3315 |
|
ac_status=$? |
3316 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3316 |
> |
echo "$as_me:3316: \$? = $ac_status" >&5 |
3317 |
|
(exit $ac_status); }; }; then |
3318 |
|
prepflagworks=1 |
3319 |
|
else |
3320 |
|
echo "$as_me: failed program was:" >&5 |
3321 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4075 |
< |
|
3321 |
> |
cat conftest.$ac_ext >&5 |
3322 |
|
prepflagworks=0 |
3323 |
|
fi |
3324 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3331 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3332 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3333 |
|
|
4088 |
– |
|
4089 |
– |
|
3334 |
|
if test "$prepflagworks" = 1; then |
3335 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3335 |
> |
echo "$as_me:3335: result: yes" >&5 |
3336 |
|
echo "${ECHO_T}yes" >&6 |
3337 |
|
|
3338 |
|
else |
3339 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3339 |
> |
echo "$as_me:3339: result: no" >&5 |
3340 |
|
echo "${ECHO_T}no" >&6 |
3341 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
3341 |
> |
{ { echo "$as_me:3341: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
3342 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
3343 |
|
{ (exit 1); exit 1; }; } |
3344 |
|
fi |
3345 |
|
fi |
3346 |
|
|
4103 |
– |
|
4104 |
– |
|
4105 |
– |
|
4106 |
– |
|
3347 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
3348 |
|
# for preprocessed f90 source with -D type defines |
3349 |
|
|
3374 |
|
PREPDEFFLAG=" " |
3375 |
|
fi |
3376 |
|
|
3377 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
3377 |
> |
echo "$as_me:3377: checking to make sure F90 preprocessor define flag works" >&5 |
3378 |
|
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 |
3379 |
|
|
4140 |
– |
|
3380 |
|
ac_ext=f90 |
3381 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3382 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3392 |
|
|
3393 |
|
cat >conftest.$ac_ext <<_ACEOF |
3394 |
|
|
4156 |
– |
|
3395 |
|
program main |
3396 |
|
|
3397 |
|
integer :: i |
3401 |
|
choke me |
3402 |
|
#endif |
3403 |
|
|
4166 |
– |
|
3404 |
|
end program main |
3405 |
|
|
3406 |
|
_ACEOF |
3407 |
|
rm -f conftest.$ac_objext |
3408 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3408 |
> |
if { (eval echo "$as_me:3408: \"$ac_compile\"") >&5 |
3409 |
|
(eval $ac_compile) 2>&5 |
3410 |
|
ac_status=$? |
3411 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3411 |
> |
echo "$as_me:3411: \$? = $ac_status" >&5 |
3412 |
|
(exit $ac_status); } && |
3413 |
|
{ ac_try='test -s conftest.$ac_objext' |
3414 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3414 |
> |
{ (eval echo "$as_me:3414: \"$ac_try\"") >&5 |
3415 |
|
(eval $ac_try) 2>&5 |
3416 |
|
ac_status=$? |
3417 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3417 |
> |
echo "$as_me:3417: \$? = $ac_status" >&5 |
3418 |
|
(exit $ac_status); }; }; then |
3419 |
|
prepdefflagworks=1 |
3420 |
|
else |
3421 |
|
echo "$as_me: failed program was:" >&5 |
3422 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4186 |
< |
|
3422 |
> |
cat conftest.$ac_ext >&5 |
3423 |
|
prepdefflagworks=0 |
3424 |
|
fi |
3425 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3432 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3433 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3434 |
|
|
4199 |
– |
|
4200 |
– |
|
3435 |
|
if test "$prepdefflagworks" = 1; then |
3436 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3436 |
> |
echo "$as_me:3436: result: yes" >&5 |
3437 |
|
echo "${ECHO_T}yes" >&6 |
3438 |
|
|
3439 |
|
else |
3440 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3440 |
> |
echo "$as_me:3440: result: no" >&5 |
3441 |
|
echo "${ECHO_T}no" >&6 |
3442 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
3442 |
> |
{ { echo "$as_me:3442: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
3443 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
3444 |
|
{ (exit 1); exit 1; }; } |
3445 |
|
fi |
3457 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3458 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3459 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
3460 |
< |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3461 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3460 |
> |
echo "$as_me:3460: checking for a BSD compatible install" >&5 |
3461 |
> |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
3462 |
|
if test -z "$INSTALL"; then |
3463 |
|
if test "${ac_cv_path_install+set}" = set; then |
3464 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3465 |
|
else |
3466 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3467 |
< |
for as_dir in $PATH |
3468 |
< |
do |
3469 |
< |
IFS=$as_save_IFS |
3470 |
< |
test -z "$as_dir" && as_dir=. |
3471 |
< |
# Account for people who put trailing slashes in PATH elements. |
3472 |
< |
case $as_dir/ in |
3473 |
< |
./ | .// | /cC/* | \ |
3474 |
< |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3475 |
< |
/usr/ucb/* ) ;; |
3476 |
< |
*) |
3477 |
< |
# OSF1 and SCO ODT 3.0 have their own names for install. |
3478 |
< |
# Don't use installbsd from OSF since it installs stuff as root |
3479 |
< |
# by default. |
3480 |
< |
for ac_prog in ginstall scoinst install; do |
3481 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3482 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3483 |
< |
if test $ac_prog = install && |
3484 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3485 |
< |
# AIX install. It has an incompatible calling convention. |
3486 |
< |
: |
3487 |
< |
elif test $ac_prog = install && |
3488 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3489 |
< |
# program-specific install script used by HP pwplus--don't use. |
3490 |
< |
: |
3491 |
< |
else |
3492 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4259 |
< |
break 3 |
4260 |
< |
fi |
4261 |
< |
fi |
3466 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3467 |
> |
for ac_dir in $PATH; do |
3468 |
> |
IFS=$ac_save_IFS |
3469 |
> |
# Account for people who put trailing slashes in PATH elements. |
3470 |
> |
case $ac_dir/ in |
3471 |
> |
/ | ./ | .// | /cC/* \ |
3472 |
> |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
3473 |
> |
| /usr/ucb/* ) ;; |
3474 |
> |
*) |
3475 |
> |
# OSF1 and SCO ODT 3.0 have their own names for install. |
3476 |
> |
# Don't use installbsd from OSF since it installs stuff as root |
3477 |
> |
# by default. |
3478 |
> |
for ac_prog in ginstall scoinst install; do |
3479 |
> |
if $as_executable_p "$ac_dir/$ac_prog"; then |
3480 |
> |
if test $ac_prog = install && |
3481 |
> |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3482 |
> |
# AIX install. It has an incompatible calling convention. |
3483 |
> |
: |
3484 |
> |
elif test $ac_prog = install && |
3485 |
> |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3486 |
> |
# program-specific install script used by HP pwplus--don't use. |
3487 |
> |
: |
3488 |
> |
else |
3489 |
> |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
3490 |
> |
break 2 |
3491 |
> |
fi |
3492 |
> |
fi |
3493 |
|
done |
3494 |
< |
done |
3495 |
< |
;; |
3496 |
< |
esac |
4266 |
< |
done |
3494 |
> |
;; |
3495 |
> |
esac |
3496 |
> |
done |
3497 |
|
|
4268 |
– |
|
3498 |
|
fi |
3499 |
|
if test "${ac_cv_path_install+set}" = set; then |
3500 |
|
INSTALL=$ac_cv_path_install |
3506 |
|
INSTALL=$ac_install_sh |
3507 |
|
fi |
3508 |
|
fi |
3509 |
< |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3509 |
> |
echo "$as_me:3509: result: $INSTALL" >&5 |
3510 |
|
echo "${ECHO_T}$INSTALL" >&6 |
3511 |
|
|
3512 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3517 |
|
|
3518 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3519 |
|
|
3520 |
< |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
3520 |
> |
echo "$as_me:3520: checking whether ln -s works" >&5 |
3521 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3522 |
|
LN_S=$as_ln_s |
3523 |
|
if test "$LN_S" = "ln -s"; then |
3524 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3524 |
> |
echo "$as_me:3524: result: yes" >&5 |
3525 |
|
echo "${ECHO_T}yes" >&6 |
3526 |
|
else |
3527 |
< |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3527 |
> |
echo "$as_me:3527: result: no, using $LN_S" >&5 |
3528 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
3529 |
|
fi |
3530 |
|
|
3531 |
< |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3532 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3531 |
> |
echo "$as_me:3531: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3532 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
3533 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
3534 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3535 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3536 |
|
else |
3537 |
< |
cat >conftest.make <<\_ACEOF |
3537 |
> |
cat >conftest.make <<\EOF |
3538 |
|
all: |
3539 |
< |
@echo 'ac_maketemp="$(MAKE)"' |
3540 |
< |
_ACEOF |
3539 |
> |
@echo 'ac_maketemp="${MAKE}"' |
3540 |
> |
EOF |
3541 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3542 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3543 |
|
if test -n "$ac_maketemp"; then |
3548 |
|
rm -f conftest.make |
3549 |
|
fi |
3550 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3551 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
3551 |
> |
echo "$as_me:3551: result: yes" >&5 |
3552 |
|
echo "${ECHO_T}yes" >&6 |
3553 |
|
SET_MAKE= |
3554 |
|
else |
3555 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3555 |
> |
echo "$as_me:3555: result: no" >&5 |
3556 |
|
echo "${ECHO_T}no" >&6 |
3557 |
|
SET_MAKE="MAKE=${MAKE-make}" |
3558 |
|
fi |
3560 |
|
if test -n "$ac_tool_prefix"; then |
3561 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3562 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3563 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3563 |
> |
echo "$as_me:3563: checking for $ac_word" >&5 |
3564 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3565 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
3566 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3568 |
|
if test -n "$RANLIB"; then |
3569 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3570 |
|
else |
3571 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3572 |
< |
for as_dir in $PATH |
3573 |
< |
do |
3574 |
< |
IFS=$as_save_IFS |
3575 |
< |
test -z "$as_dir" && as_dir=. |
3576 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3577 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3578 |
< |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3579 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4351 |
< |
break 2 |
4352 |
< |
fi |
3571 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3572 |
> |
ac_dummy="$PATH" |
3573 |
> |
for ac_dir in $ac_dummy; do |
3574 |
> |
IFS=$ac_save_IFS |
3575 |
> |
test -z "$ac_dir" && ac_dir=. |
3576 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3577 |
> |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3578 |
> |
echo "$as_me:3578: found $ac_dir/$ac_word" >&5 |
3579 |
> |
break |
3580 |
|
done |
4354 |
– |
done |
3581 |
|
|
3582 |
|
fi |
3583 |
|
fi |
3584 |
|
RANLIB=$ac_cv_prog_RANLIB |
3585 |
|
if test -n "$RANLIB"; then |
3586 |
< |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3586 |
> |
echo "$as_me:3586: result: $RANLIB" >&5 |
3587 |
|
echo "${ECHO_T}$RANLIB" >&6 |
3588 |
|
else |
3589 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3589 |
> |
echo "$as_me:3589: result: no" >&5 |
3590 |
|
echo "${ECHO_T}no" >&6 |
3591 |
|
fi |
3592 |
|
|
3595 |
|
ac_ct_RANLIB=$RANLIB |
3596 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
3597 |
|
set dummy ranlib; ac_word=$2 |
3598 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3598 |
> |
echo "$as_me:3598: checking for $ac_word" >&5 |
3599 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3600 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3601 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3603 |
|
if test -n "$ac_ct_RANLIB"; then |
3604 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3605 |
|
else |
3606 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3607 |
< |
for as_dir in $PATH |
3608 |
< |
do |
3609 |
< |
IFS=$as_save_IFS |
3610 |
< |
test -z "$as_dir" && as_dir=. |
3611 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3612 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3613 |
< |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3614 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4389 |
< |
break 2 |
4390 |
< |
fi |
3606 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3607 |
> |
ac_dummy="$PATH" |
3608 |
> |
for ac_dir in $ac_dummy; do |
3609 |
> |
IFS=$ac_save_IFS |
3610 |
> |
test -z "$ac_dir" && ac_dir=. |
3611 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3612 |
> |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3613 |
> |
echo "$as_me:3613: found $ac_dir/$ac_word" >&5 |
3614 |
> |
break |
3615 |
|
done |
4392 |
– |
done |
3616 |
|
|
3617 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3618 |
|
fi |
3619 |
|
fi |
3620 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3621 |
|
if test -n "$ac_ct_RANLIB"; then |
3622 |
< |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3622 |
> |
echo "$as_me:3622: result: $ac_ct_RANLIB" >&5 |
3623 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3624 |
|
else |
3625 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3625 |
> |
echo "$as_me:3625: result: no" >&5 |
3626 |
|
echo "${ECHO_T}no" >&6 |
3627 |
|
fi |
3628 |
|
|
3635 |
|
do |
3636 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3637 |
|
set dummy $ac_prog; ac_word=$2 |
3638 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3638 |
> |
echo "$as_me:3638: checking for $ac_word" >&5 |
3639 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3640 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
3641 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3643 |
|
if test -n "$YACC"; then |
3644 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3645 |
|
else |
3646 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3647 |
< |
for as_dir in $PATH |
3648 |
< |
do |
3649 |
< |
IFS=$as_save_IFS |
3650 |
< |
test -z "$as_dir" && as_dir=. |
3651 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3652 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3653 |
< |
ac_cv_prog_YACC="$ac_prog" |
3654 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4432 |
< |
break 2 |
4433 |
< |
fi |
3646 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3647 |
> |
ac_dummy="$PATH" |
3648 |
> |
for ac_dir in $ac_dummy; do |
3649 |
> |
IFS=$ac_save_IFS |
3650 |
> |
test -z "$ac_dir" && ac_dir=. |
3651 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3652 |
> |
ac_cv_prog_YACC="$ac_prog" |
3653 |
> |
echo "$as_me:3653: found $ac_dir/$ac_word" >&5 |
3654 |
> |
break |
3655 |
|
done |
4435 |
– |
done |
3656 |
|
|
3657 |
|
fi |
3658 |
|
fi |
3659 |
|
YACC=$ac_cv_prog_YACC |
3660 |
|
if test -n "$YACC"; then |
3661 |
< |
echo "$as_me:$LINENO: result: $YACC" >&5 |
3661 |
> |
echo "$as_me:3661: result: $YACC" >&5 |
3662 |
|
echo "${ECHO_T}$YACC" >&6 |
3663 |
|
else |
3664 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3664 |
> |
echo "$as_me:3664: result: no" >&5 |
3665 |
|
echo "${ECHO_T}no" >&6 |
3666 |
|
fi |
3667 |
|
|
3669 |
|
done |
3670 |
|
test -n "$YACC" || YACC="yacc" |
3671 |
|
|
4452 |
– |
|
3672 |
|
for ac_prog in flex lex |
3673 |
|
do |
3674 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3675 |
|
set dummy $ac_prog; ac_word=$2 |
3676 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3676 |
> |
echo "$as_me:3676: checking for $ac_word" >&5 |
3677 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3678 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
3679 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3681 |
|
if test -n "$LEX"; then |
3682 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3683 |
|
else |
3684 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3685 |
< |
for as_dir in $PATH |
3686 |
< |
do |
3687 |
< |
IFS=$as_save_IFS |
3688 |
< |
test -z "$as_dir" && as_dir=. |
3689 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3690 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3691 |
< |
ac_cv_prog_LEX="$ac_prog" |
3692 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4474 |
< |
break 2 |
4475 |
< |
fi |
3684 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3685 |
> |
ac_dummy="$PATH" |
3686 |
> |
for ac_dir in $ac_dummy; do |
3687 |
> |
IFS=$ac_save_IFS |
3688 |
> |
test -z "$ac_dir" && ac_dir=. |
3689 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3690 |
> |
ac_cv_prog_LEX="$ac_prog" |
3691 |
> |
echo "$as_me:3691: found $ac_dir/$ac_word" >&5 |
3692 |
> |
break |
3693 |
|
done |
4477 |
– |
done |
3694 |
|
|
3695 |
|
fi |
3696 |
|
fi |
3697 |
|
LEX=$ac_cv_prog_LEX |
3698 |
|
if test -n "$LEX"; then |
3699 |
< |
echo "$as_me:$LINENO: result: $LEX" >&5 |
3699 |
> |
echo "$as_me:3699: result: $LEX" >&5 |
3700 |
|
echo "${ECHO_T}$LEX" >&6 |
3701 |
|
else |
3702 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3702 |
> |
echo "$as_me:3702: result: no" >&5 |
3703 |
|
echo "${ECHO_T}no" >&6 |
3704 |
|
fi |
3705 |
|
|
3709 |
|
|
3710 |
|
if test -z "$LEXLIB" |
3711 |
|
then |
3712 |
< |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
3712 |
> |
echo "$as_me:3712: checking for yywrap in -lfl" >&5 |
3713 |
|
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
3714 |
|
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
3715 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3717 |
|
ac_check_lib_save_LIBS=$LIBS |
3718 |
|
LIBS="-lfl $LIBS" |
3719 |
|
cat >conftest.$ac_ext <<_ACEOF |
3720 |
< |
#line $LINENO "configure" |
3721 |
< |
/* confdefs.h. */ |
4506 |
< |
_ACEOF |
4507 |
< |
cat confdefs.h >>conftest.$ac_ext |
4508 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4509 |
< |
/* end confdefs.h. */ |
3720 |
> |
#line 3720 "configure" |
3721 |
> |
#include "confdefs.h" |
3722 |
|
|
3723 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3724 |
|
#ifdef __cplusplus |
3736 |
|
} |
3737 |
|
_ACEOF |
3738 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3739 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3739 |
> |
if { (eval echo "$as_me:3739: \"$ac_link\"") >&5 |
3740 |
|
(eval $ac_link) 2>&5 |
3741 |
|
ac_status=$? |
3742 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3742 |
> |
echo "$as_me:3742: \$? = $ac_status" >&5 |
3743 |
|
(exit $ac_status); } && |
3744 |
|
{ ac_try='test -s conftest$ac_exeext' |
3745 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3745 |
> |
{ (eval echo "$as_me:3745: \"$ac_try\"") >&5 |
3746 |
|
(eval $ac_try) 2>&5 |
3747 |
|
ac_status=$? |
3748 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3748 |
> |
echo "$as_me:3748: \$? = $ac_status" >&5 |
3749 |
|
(exit $ac_status); }; }; then |
3750 |
|
ac_cv_lib_fl_yywrap=yes |
3751 |
|
else |
3752 |
|
echo "$as_me: failed program was:" >&5 |
3753 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4542 |
< |
|
3753 |
> |
cat conftest.$ac_ext >&5 |
3754 |
|
ac_cv_lib_fl_yywrap=no |
3755 |
|
fi |
3756 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3757 |
|
LIBS=$ac_check_lib_save_LIBS |
3758 |
|
fi |
3759 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
3759 |
> |
echo "$as_me:3759: result: $ac_cv_lib_fl_yywrap" >&5 |
3760 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
3761 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
3762 |
|
LEXLIB="-lfl" |
3763 |
|
else |
3764 |
< |
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
3764 |
> |
echo "$as_me:3764: checking for yywrap in -ll" >&5 |
3765 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
3766 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
3767 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3769 |
|
ac_check_lib_save_LIBS=$LIBS |
3770 |
|
LIBS="-ll $LIBS" |
3771 |
|
cat >conftest.$ac_ext <<_ACEOF |
3772 |
< |
#line $LINENO "configure" |
3773 |
< |
/* confdefs.h. */ |
4563 |
< |
_ACEOF |
4564 |
< |
cat confdefs.h >>conftest.$ac_ext |
4565 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4566 |
< |
/* end confdefs.h. */ |
3772 |
> |
#line 3772 "configure" |
3773 |
> |
#include "confdefs.h" |
3774 |
|
|
3775 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3776 |
|
#ifdef __cplusplus |
3788 |
|
} |
3789 |
|
_ACEOF |
3790 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3791 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3791 |
> |
if { (eval echo "$as_me:3791: \"$ac_link\"") >&5 |
3792 |
|
(eval $ac_link) 2>&5 |
3793 |
|
ac_status=$? |
3794 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3794 |
> |
echo "$as_me:3794: \$? = $ac_status" >&5 |
3795 |
|
(exit $ac_status); } && |
3796 |
|
{ ac_try='test -s conftest$ac_exeext' |
3797 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3797 |
> |
{ (eval echo "$as_me:3797: \"$ac_try\"") >&5 |
3798 |
|
(eval $ac_try) 2>&5 |
3799 |
|
ac_status=$? |
3800 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3800 |
> |
echo "$as_me:3800: \$? = $ac_status" >&5 |
3801 |
|
(exit $ac_status); }; }; then |
3802 |
|
ac_cv_lib_l_yywrap=yes |
3803 |
|
else |
3804 |
|
echo "$as_me: failed program was:" >&5 |
3805 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4599 |
< |
|
3805 |
> |
cat conftest.$ac_ext >&5 |
3806 |
|
ac_cv_lib_l_yywrap=no |
3807 |
|
fi |
3808 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3809 |
|
LIBS=$ac_check_lib_save_LIBS |
3810 |
|
fi |
3811 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
3811 |
> |
echo "$as_me:3811: result: $ac_cv_lib_l_yywrap" >&5 |
3812 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
3813 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
3814 |
|
LEXLIB="-ll" |
3819 |
|
fi |
3820 |
|
|
3821 |
|
if test "x$LEX" != "x:"; then |
3822 |
< |
echo "$as_me:$LINENO: checking lex output file root" >&5 |
3822 |
> |
echo "$as_me:3822: checking lex output file root" >&5 |
3823 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
3824 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
3825 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3826 |
|
else |
3827 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
3828 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
3829 |
< |
cat >conftest.l <<_ACEOF |
3830 |
< |
%% |
4625 |
< |
%% |
4626 |
< |
_ACEOF |
4627 |
< |
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
4628 |
< |
(eval $LEX conftest.l) 2>&5 |
4629 |
< |
ac_status=$? |
4630 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4631 |
< |
(exit $ac_status); } |
3829 |
> |
echo '%% |
3830 |
> |
%%' | $LEX |
3831 |
|
if test -f lex.yy.c; then |
3832 |
|
ac_cv_prog_lex_root=lex.yy |
3833 |
|
elif test -f lexyy.c; then |
3834 |
|
ac_cv_prog_lex_root=lexyy |
3835 |
|
else |
3836 |
< |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
3836 |
> |
{ { echo "$as_me:3836: error: cannot find output from $LEX; giving up" >&5 |
3837 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
3838 |
|
{ (exit 1); exit 1; }; } |
3839 |
|
fi |
3840 |
|
fi |
3841 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
3841 |
> |
echo "$as_me:3841: result: $ac_cv_prog_lex_root" >&5 |
3842 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
4644 |
– |
rm -f conftest.l |
3843 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
3844 |
|
|
3845 |
< |
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
3845 |
> |
echo "$as_me:3845: checking whether yytext is a pointer" >&5 |
3846 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
3847 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
3848 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3858 |
|
`cat $LEX_OUTPUT_ROOT.c` |
3859 |
|
_ACEOF |
3860 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3861 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3861 |
> |
if { (eval echo "$as_me:3861: \"$ac_link\"") >&5 |
3862 |
|
(eval $ac_link) 2>&5 |
3863 |
|
ac_status=$? |
3864 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3864 |
> |
echo "$as_me:3864: \$? = $ac_status" >&5 |
3865 |
|
(exit $ac_status); } && |
3866 |
|
{ ac_try='test -s conftest$ac_exeext' |
3867 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3867 |
> |
{ (eval echo "$as_me:3867: \"$ac_try\"") >&5 |
3868 |
|
(eval $ac_try) 2>&5 |
3869 |
|
ac_status=$? |
3870 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3870 |
> |
echo "$as_me:3870: \$? = $ac_status" >&5 |
3871 |
|
(exit $ac_status); }; }; then |
3872 |
|
ac_cv_prog_lex_yytext_pointer=yes |
3873 |
|
else |
3874 |
|
echo "$as_me: failed program was:" >&5 |
3875 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4678 |
< |
|
3875 |
> |
cat conftest.$ac_ext >&5 |
3876 |
|
fi |
3877 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3878 |
|
LIBS=$ac_save_LIBS |
3879 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
3880 |
|
|
3881 |
|
fi |
3882 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
3882 |
> |
echo "$as_me:3882: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
3883 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
3884 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
3885 |
|
|
3886 |
< |
cat >>confdefs.h <<\_ACEOF |
3886 |
> |
cat >>confdefs.h <<\EOF |
3887 |
|
#define YYTEXT_POINTER 1 |
3888 |
< |
_ACEOF |
3888 |
> |
EOF |
3889 |
|
|
3890 |
|
fi |
3891 |
|
|
3892 |
|
fi |
3893 |
|
# Extract the first word of "ar", so it can be a program name with args. |
3894 |
|
set dummy ar; ac_word=$2 |
3895 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3895 |
> |
echo "$as_me:3895: checking for $ac_word" >&5 |
3896 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3897 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
3898 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3900 |
|
if test -n "$AR"; then |
3901 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
3902 |
|
else |
3903 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3904 |
< |
for as_dir in $PATH |
3905 |
< |
do |
3906 |
< |
IFS=$as_save_IFS |
3907 |
< |
test -z "$as_dir" && as_dir=. |
3908 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3909 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3910 |
< |
ac_cv_prog_AR="ar" |
3911 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4715 |
< |
break 2 |
4716 |
< |
fi |
3903 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
3904 |
> |
ac_dummy="$PATH" |
3905 |
> |
for ac_dir in $ac_dummy; do |
3906 |
> |
IFS=$ac_save_IFS |
3907 |
> |
test -z "$ac_dir" && ac_dir=. |
3908 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
3909 |
> |
ac_cv_prog_AR="ar" |
3910 |
> |
echo "$as_me:3910: found $ac_dir/$ac_word" >&5 |
3911 |
> |
break |
3912 |
|
done |
4718 |
– |
done |
3913 |
|
|
3914 |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" |
3915 |
|
fi |
3916 |
|
fi |
3917 |
|
AR=$ac_cv_prog_AR |
3918 |
|
if test -n "$AR"; then |
3919 |
< |
echo "$as_me:$LINENO: result: $AR" >&5 |
3919 |
> |
echo "$as_me:3919: result: $AR" >&5 |
3920 |
|
echo "${ECHO_T}$AR" >&6 |
3921 |
|
else |
3922 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
3922 |
> |
echo "$as_me:3922: result: no" >&5 |
3923 |
|
echo "${ECHO_T}no" >&6 |
3924 |
|
fi |
3925 |
|
|
3926 |
|
if test "$AR" = "NONE"; then |
3927 |
< |
{ { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 |
3927 |
> |
{ { echo "$as_me:3927: error: --> Can't find \`ar'!" >&5 |
3928 |
|
echo "$as_me: error: --> Can't find \`ar'!" >&2;} |
3929 |
|
{ (exit 1); exit 1; }; } |
3930 |
|
cat >confcache <<\_ACEOF |
3937 |
|
# config.status only pays attention to the cache file if you give it |
3938 |
|
# the --recheck option to rerun configure. |
3939 |
|
# |
3940 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
3940 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
3941 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
3942 |
|
# following values. |
3943 |
|
|
3956 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
3957 |
|
sed -n \ |
3958 |
|
"s/'/'\\\\''/g; |
3959 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3959 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3960 |
|
;; |
3961 |
|
*) |
3962 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
3963 |
|
sed -n \ |
3964 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3964 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3965 |
|
;; |
3966 |
|
esac; |
3967 |
|
} | |
3972 |
|
t end |
3973 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3974 |
|
: end' >>confcache |
3975 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
3975 |
> |
if cmp -s $cache_file confcache; then :; else |
3976 |
|
if test -w $cache_file; then |
3977 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
3978 |
|
cat confcache >$cache_file |
3989 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3990 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3991 |
|
|
4798 |
– |
|
4799 |
– |
|
3992 |
|
ac_ext=f90 |
3993 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3994 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3995 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3996 |
< |
echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 |
3996 |
> |
echo "$as_me:3996: checking how to get verbose linking output from $F90" >&5 |
3997 |
|
echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 |
3998 |
|
if test "${ac_cv_prog_f90_v+set}" = set; then |
3999 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4003 |
|
|
4004 |
|
program main |
4005 |
|
|
4814 |
– |
|
4006 |
|
end program main |
4007 |
|
|
4008 |
|
_ACEOF |
4009 |
|
rm -f conftest.$ac_objext |
4010 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4010 |
> |
if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5 |
4011 |
|
(eval $ac_compile) 2>&5 |
4012 |
|
ac_status=$? |
4013 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4013 |
> |
echo "$as_me:4013: \$? = $ac_status" >&5 |
4014 |
|
(exit $ac_status); } && |
4015 |
|
{ ac_try='test -s conftest.$ac_objext' |
4016 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4016 |
> |
{ (eval echo "$as_me:4016: \"$ac_try\"") >&5 |
4017 |
|
(eval $ac_try) 2>&5 |
4018 |
|
ac_status=$? |
4019 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4019 |
> |
echo "$as_me:4019: \$? = $ac_status" >&5 |
4020 |
|
(exit $ac_status); }; }; then |
4021 |
|
ac_cv_prog_f90_v= |
4022 |
|
# Try some options frequently used verbose output |
4030 |
|
|
4031 |
|
program main |
4032 |
|
|
4842 |
– |
|
4033 |
|
end program main |
4034 |
|
|
4035 |
|
_ACEOF |
4041 |
|
ac_save_F90FLAGS=$F90FLAGS |
4042 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
4043 |
|
|
4044 |
< |
(eval echo $as_me:4854: \"$ac_link\") >&5 |
4044 |
> |
(eval echo $as_me:4044: \"$ac_link\") >&5 |
4045 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4046 |
|
echo "$ac_f90_v_output" >&5 |
4047 |
|
F90FLAGS=$ac_save_F90FLAGS |
4073 |
|
done |
4074 |
|
done |
4075 |
|
if test -z "$ac_cv_prog_f90_v"; then |
4076 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
4076 |
> |
{ echo "$as_me:4076: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
4077 |
|
echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} |
4078 |
|
fi |
4079 |
|
else |
4080 |
|
echo "$as_me: failed program was:" >&5 |
4081 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4082 |
< |
|
4893 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
4081 |
> |
cat conftest.$ac_ext >&5 |
4082 |
> |
{ echo "$as_me:4082: WARNING: compilation failed" >&5 |
4083 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
4084 |
|
fi |
4085 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
4086 |
|
|
4087 |
|
fi |
4088 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
4088 |
> |
echo "$as_me:4088: result: $ac_cv_prog_f90_v" >&5 |
4089 |
|
echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 |
4090 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 |
4090 |
> |
echo "$as_me:4090: checking for Fortran 90 libraries" >&5 |
4091 |
|
echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 |
4092 |
|
if test "${ac_cv_flibs+set}" = set; then |
4093 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4105 |
|
|
4106 |
|
program main |
4107 |
|
|
4919 |
– |
|
4108 |
|
end program main |
4109 |
|
|
4110 |
|
_ACEOF |
4116 |
|
ac_save_F90FLAGS=$F90FLAGS |
4117 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
4118 |
|
|
4119 |
< |
(eval echo $as_me:4931: \"$ac_link\") >&5 |
4119 |
> |
(eval echo $as_me:4119: \"$ac_link\") >&5 |
4120 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4121 |
|
echo "$ac_f90_v_output" >&5 |
4122 |
|
F90FLAGS=$ac_save_F90FLAGS |
4269 |
|
fi # test "x$F90LIBS" = "x" |
4270 |
|
|
4271 |
|
fi |
4272 |
< |
echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 |
4272 |
> |
echo "$as_me:4272: result: $ac_cv_flibs" >&5 |
4273 |
|
echo "${ECHO_T}$ac_cv_flibs" >&6 |
4274 |
|
F90LIBS="$ac_cv_f90libs" |
4275 |
|
|
4278 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4279 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4280 |
|
|
4281 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 |
4281 |
> |
echo "$as_me:4281: checking for Fortran 90 name-mangling scheme" >&5 |
4282 |
|
echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 |
4283 |
|
if test "${ac_cv_f90_mangling+set}" = set; then |
4284 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4296 |
|
end |
4297 |
|
_ACEOF |
4298 |
|
rm -f conftest.$ac_objext |
4299 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4299 |
> |
if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5 |
4300 |
|
(eval $ac_compile) 2>&5 |
4301 |
|
ac_status=$? |
4302 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4302 |
> |
echo "$as_me:4302: \$? = $ac_status" >&5 |
4303 |
|
(exit $ac_status); } && |
4304 |
|
{ ac_try='test -s conftest.$ac_objext' |
4305 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4305 |
> |
{ (eval echo "$as_me:4305: \"$ac_try\"") >&5 |
4306 |
|
(eval $ac_try) 2>&5 |
4307 |
|
ac_status=$? |
4308 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4308 |
> |
echo "$as_me:4308: \$? = $ac_status" >&5 |
4309 |
|
(exit $ac_status); }; }; then |
4310 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
4311 |
|
|
4323 |
|
for ac_underscore in "" "_"; do |
4324 |
|
ac_func="$ac_foobar$ac_underscore" |
4325 |
|
cat >conftest.$ac_ext <<_ACEOF |
4326 |
< |
#line $LINENO "configure" |
4327 |
< |
/* confdefs.h. */ |
5140 |
< |
_ACEOF |
5141 |
< |
cat confdefs.h >>conftest.$ac_ext |
5142 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5143 |
< |
/* end confdefs.h. */ |
4326 |
> |
#line 4326 "configure" |
4327 |
> |
#include "confdefs.h" |
4328 |
|
|
4329 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4330 |
|
#ifdef __cplusplus |
4342 |
|
} |
4343 |
|
_ACEOF |
4344 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4345 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4345 |
> |
if { (eval echo "$as_me:4345: \"$ac_link\"") >&5 |
4346 |
|
(eval $ac_link) 2>&5 |
4347 |
|
ac_status=$? |
4348 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4348 |
> |
echo "$as_me:4348: \$? = $ac_status" >&5 |
4349 |
|
(exit $ac_status); } && |
4350 |
|
{ ac_try='test -s conftest$ac_exeext' |
4351 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4351 |
> |
{ (eval echo "$as_me:4351: \"$ac_try\"") >&5 |
4352 |
|
(eval $ac_try) 2>&5 |
4353 |
|
ac_status=$? |
4354 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4354 |
> |
echo "$as_me:4354: \$? = $ac_status" >&5 |
4355 |
|
(exit $ac_status); }; }; then |
4356 |
|
ac_success=yes; break 2 |
4357 |
|
else |
4358 |
|
echo "$as_me: failed program was:" >&5 |
4359 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5176 |
< |
|
4359 |
> |
cat conftest.$ac_ext >&5 |
4360 |
|
fi |
4361 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4362 |
|
done |
4379 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
4380 |
|
|
4381 |
|
cat >conftest.$ac_ext <<_ACEOF |
4382 |
< |
#line $LINENO "configure" |
4383 |
< |
/* confdefs.h. */ |
5201 |
< |
_ACEOF |
5202 |
< |
cat confdefs.h >>conftest.$ac_ext |
5203 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5204 |
< |
/* end confdefs.h. */ |
4382 |
> |
#line 4382 "configure" |
4383 |
> |
#include "confdefs.h" |
4384 |
|
|
4385 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4386 |
|
#ifdef __cplusplus |
4398 |
|
} |
4399 |
|
_ACEOF |
4400 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4401 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4401 |
> |
if { (eval echo "$as_me:4401: \"$ac_link\"") >&5 |
4402 |
|
(eval $ac_link) 2>&5 |
4403 |
|
ac_status=$? |
4404 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4404 |
> |
echo "$as_me:4404: \$? = $ac_status" >&5 |
4405 |
|
(exit $ac_status); } && |
4406 |
|
{ ac_try='test -s conftest$ac_exeext' |
4407 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4407 |
> |
{ (eval echo "$as_me:4407: \"$ac_try\"") >&5 |
4408 |
|
(eval $ac_try) 2>&5 |
4409 |
|
ac_status=$? |
4410 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4410 |
> |
echo "$as_me:4410: \$? = $ac_status" >&5 |
4411 |
|
(exit $ac_status); }; }; then |
4412 |
|
ac_success_extra=yes; break |
4413 |
|
else |
4414 |
|
echo "$as_me: failed program was:" >&5 |
4415 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5237 |
< |
|
4415 |
> |
cat conftest.$ac_ext >&5 |
4416 |
|
fi |
4417 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4418 |
|
done |
4446 |
|
rm -f cf90_test* conftest* |
4447 |
|
else |
4448 |
|
echo "$as_me: failed program was:" >&5 |
4449 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5272 |
< |
|
4449 |
> |
cat conftest.$ac_ext >&5 |
4450 |
|
fi |
4451 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
4452 |
|
ac_ext=f90 |
4455 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4456 |
|
|
4457 |
|
fi |
4458 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 |
4458 |
> |
echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5 |
4459 |
|
echo "${ECHO_T}$ac_cv_f90_mangling" >&6 |
4460 |
|
|
5284 |
– |
|
5285 |
– |
|
4461 |
|
case $ac_cv_f90_mangling in |
4462 |
|
"lower case, no underscore, no extra underscore") |
4463 |
< |
cat >>confdefs.h <<\_ACEOF |
4463 |
> |
cat >>confdefs.h <<\EOF |
4464 |
|
#define F90_FUNC(name,NAME) name |
4465 |
< |
_ACEOF |
4465 |
> |
EOF |
4466 |
|
|
4467 |
< |
cat >>confdefs.h <<\_ACEOF |
4467 |
> |
cat >>confdefs.h <<\EOF |
4468 |
|
#define F90_FUNC_(name,NAME) name |
4469 |
< |
_ACEOF |
4469 |
> |
EOF |
4470 |
|
;; |
4471 |
|
"lower case, no underscore, extra underscore") |
4472 |
< |
cat >>confdefs.h <<\_ACEOF |
4472 |
> |
cat >>confdefs.h <<\EOF |
4473 |
|
#define F90_FUNC(name,NAME) name |
4474 |
< |
_ACEOF |
4474 |
> |
EOF |
4475 |
|
|
4476 |
< |
cat >>confdefs.h <<\_ACEOF |
4476 |
> |
cat >>confdefs.h <<\EOF |
4477 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4478 |
< |
_ACEOF |
4478 |
> |
EOF |
4479 |
|
;; |
4480 |
|
"lower case, underscore, no extra underscore") |
4481 |
< |
cat >>confdefs.h <<\_ACEOF |
4481 |
> |
cat >>confdefs.h <<\EOF |
4482 |
|
#define F90_FUNC(name,NAME) name ## _ |
4483 |
< |
_ACEOF |
4483 |
> |
EOF |
4484 |
|
|
4485 |
< |
cat >>confdefs.h <<\_ACEOF |
4485 |
> |
cat >>confdefs.h <<\EOF |
4486 |
|
#define F90_FUNC_(name,NAME) name ## _ |
4487 |
< |
_ACEOF |
4487 |
> |
EOF |
4488 |
|
;; |
4489 |
|
"lower case, underscore, extra underscore") |
4490 |
< |
cat >>confdefs.h <<\_ACEOF |
4490 |
> |
cat >>confdefs.h <<\EOF |
4491 |
|
#define F90_FUNC(name,NAME) name ## _ |
4492 |
< |
_ACEOF |
4492 |
> |
EOF |
4493 |
|
|
4494 |
< |
cat >>confdefs.h <<\_ACEOF |
4494 |
> |
cat >>confdefs.h <<\EOF |
4495 |
|
#define F90_FUNC_(name,NAME) name ## __ |
4496 |
< |
_ACEOF |
4496 |
> |
EOF |
4497 |
|
;; |
4498 |
|
"upper case, no underscore, no extra underscore") |
4499 |
< |
cat >>confdefs.h <<\_ACEOF |
4499 |
> |
cat >>confdefs.h <<\EOF |
4500 |
|
#define F90_FUNC(name,NAME) NAME |
4501 |
< |
_ACEOF |
4501 |
> |
EOF |
4502 |
|
|
4503 |
< |
cat >>confdefs.h <<\_ACEOF |
4503 |
> |
cat >>confdefs.h <<\EOF |
4504 |
|
#define F90_FUNC_(name,NAME) NAME |
4505 |
< |
_ACEOF |
4505 |
> |
EOF |
4506 |
|
;; |
4507 |
|
"upper case, no underscore, extra underscore") |
4508 |
< |
cat >>confdefs.h <<\_ACEOF |
4508 |
> |
cat >>confdefs.h <<\EOF |
4509 |
|
#define F90_FUNC(name,NAME) NAME |
4510 |
< |
_ACEOF |
4510 |
> |
EOF |
4511 |
|
|
4512 |
< |
cat >>confdefs.h <<\_ACEOF |
4512 |
> |
cat >>confdefs.h <<\EOF |
4513 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4514 |
< |
_ACEOF |
4514 |
> |
EOF |
4515 |
|
;; |
4516 |
|
"upper case, underscore, no extra underscore") |
4517 |
< |
cat >>confdefs.h <<\_ACEOF |
4517 |
> |
cat >>confdefs.h <<\EOF |
4518 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4519 |
< |
_ACEOF |
4519 |
> |
EOF |
4520 |
|
|
4521 |
< |
cat >>confdefs.h <<\_ACEOF |
4521 |
> |
cat >>confdefs.h <<\EOF |
4522 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
4523 |
< |
_ACEOF |
4523 |
> |
EOF |
4524 |
|
;; |
4525 |
|
"upper case, underscore, extra underscore") |
4526 |
< |
cat >>confdefs.h <<\_ACEOF |
4526 |
> |
cat >>confdefs.h <<\EOF |
4527 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
4528 |
< |
_ACEOF |
4528 |
> |
EOF |
4529 |
|
|
4530 |
< |
cat >>confdefs.h <<\_ACEOF |
4530 |
> |
cat >>confdefs.h <<\EOF |
4531 |
|
#define F90_FUNC_(name,NAME) NAME ## __ |
4532 |
< |
_ACEOF |
4532 |
> |
EOF |
4533 |
|
;; |
4534 |
|
*) |
4535 |
< |
{ echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4535 |
> |
{ echo "$as_me:4535: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
4536 |
|
echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} |
4537 |
|
;; |
4538 |
|
esac |
4539 |
|
|
4540 |
< |
|
5366 |
< |
|
5367 |
< |
|
5368 |
< |
echo "$as_me:$LINENO: checking for mpi-directory" >&5 |
4540 |
> |
echo "$as_me:4540: checking for mpi-directory" >&5 |
4541 |
|
echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6 |
4542 |
|
|
4543 |
|
# Check whether --with-mpi_dir or --without-mpi_dir was given. |
4547 |
|
else |
4548 |
|
MPI_DIR="/usr/local" |
4549 |
|
fi; |
4550 |
< |
echo "$as_me:$LINENO: result: $MPI_DIR" >&5 |
4550 |
> |
echo "$as_me:4550: result: $MPI_DIR" >&5 |
4551 |
|
echo "${ECHO_T}$MPI_DIR" >&6 |
4552 |
|
|
4553 |
< |
|
5382 |
< |
echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5 |
4553 |
> |
echo "$as_me:4553: checking for mpi-lib-directory" >&5 |
4554 |
|
echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6 |
4555 |
|
|
4556 |
|
# Check whether --with-mpi_libdir or --without-mpi_libdir was given. |
4560 |
|
else |
4561 |
|
MPI_LIBDIR="$MPI_DIR/lib" |
4562 |
|
fi; |
4563 |
< |
echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5 |
4563 |
> |
echo "$as_me:4563: result: $MPI_LIBDIR" >&5 |
4564 |
|
echo "${ECHO_T}$MPI_LIBDIR" >&6 |
4565 |
|
|
4566 |
< |
|
5396 |
< |
echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5 |
4566 |
> |
echo "$as_me:4566: checking for mpi-inc-directory" >&5 |
4567 |
|
echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6 |
4568 |
|
|
4569 |
|
# Check whether --with-mpi_inc or --without-mpi_inc was given. |
4573 |
|
else |
4574 |
|
MPI_INC="$MPI_DIR/include" |
4575 |
|
fi; |
4576 |
< |
echo "$as_me:$LINENO: result: $MPI_INC" >&5 |
4576 |
> |
echo "$as_me:4576: result: $MPI_INC" >&5 |
4577 |
|
echo "${ECHO_T}$MPI_INC" >&6 |
4578 |
|
|
4579 |
< |
|
5410 |
< |
|
5411 |
< |
echo "$as_me:$LINENO: checking for MPI library" >&5 |
4579 |
> |
echo "$as_me:4579: checking for MPI library" >&5 |
4580 |
|
echo $ECHO_N "checking for MPI library... $ECHO_C" >&6 |
4581 |
|
MPI_LIB="" |
4582 |
|
case "$host" in |
4583 |
|
*-ibm-aix*) |
4584 |
< |
echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5 |
4584 |
> |
echo "$as_me:4584: checking whether to use signal-based MPI library" >&5 |
4585 |
|
echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6 |
4586 |
< |
echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5 |
4586 |
> |
echo "$as_me:4586: result: $PACX_SIGNAL" >&5 |
4587 |
|
echo "${ECHO_T}$PACX_SIGNAL" >&6 |
4588 |
|
if test "x$PACX_SIGNAL" = "xyes" ; then |
4589 |
|
if test -f "$MPI_LIBDIR/libmpi.a" ; then |
4593 |
|
elif test -f "$MPI_LIBDIR/libmpich.a" ; then |
4594 |
|
MPI_LIB="-lmpich" |
4595 |
|
else |
4596 |
< |
{ { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4596 |
> |
{ { echo "$as_me:4596: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4597 |
|
echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;} |
4598 |
|
{ (exit 1); exit 1; }; } |
4599 |
|
fi |
4601 |
|
if test -f "$MPI_LIBDIR/libmpi_r.a" ; then |
4602 |
|
MPI_LIB="-lmpi_r" |
4603 |
|
else |
4604 |
< |
{ { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5 |
4604 |
> |
{ { echo "$as_me:4604: error: libmpi_r not found; check path for MPI package..." >&5 |
4605 |
|
echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;} |
4606 |
|
{ (exit 1); exit 1; }; } |
4607 |
|
fi |
4608 |
|
fi |
4609 |
< |
echo "$as_me:$LINENO: result: found $MPI_LIB" >&5 |
4609 |
> |
echo "$as_me:4609: result: found $MPI_LIB" >&5 |
4610 |
|
echo "${ECHO_T}found $MPI_LIB" >&6 |
4611 |
|
;; |
4612 |
|
*) if test -f "$MPI_LIBDIR/libmpi.a" ; then |
4616 |
|
elif test -f "$MPI_LIBDIR/libmpich.a" ; then |
4617 |
|
MPI_LIB="-lmpich" |
4618 |
|
else |
4619 |
< |
{ { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4619 |
> |
{ { echo "$as_me:4619: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5 |
4620 |
|
echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;} |
4621 |
|
{ (exit 1); exit 1; }; } |
4622 |
|
fi |
4623 |
< |
echo "$as_me:$LINENO: result: found $MPI_LIB" >&5 |
4623 |
> |
echo "$as_me:4623: result: found $MPI_LIB" >&5 |
4624 |
|
echo "${ECHO_T}found $MPI_LIB" >&6 |
4625 |
|
;; |
4626 |
|
esac |
4627 |
|
|
5460 |
– |
|
5461 |
– |
|
5462 |
– |
|
5463 |
– |
|
5464 |
– |
|
5465 |
– |
|
4628 |
|
for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r |
4629 |
|
do |
4630 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4631 |
|
set dummy $ac_prog; ac_word=$2 |
4632 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4632 |
> |
echo "$as_me:4632: checking for $ac_word" >&5 |
4633 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4634 |
|
if test "${ac_cv_prog_MPIF90+set}" = set; then |
4635 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4637 |
|
if test -n "$MPIF90"; then |
4638 |
|
ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test. |
4639 |
|
else |
4640 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4641 |
< |
for as_dir in $PATH |
4642 |
< |
do |
4643 |
< |
IFS=$as_save_IFS |
4644 |
< |
test -z "$as_dir" && as_dir=. |
4645 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
4646 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4647 |
< |
ac_cv_prog_MPIF90="$ac_prog" |
4648 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5487 |
< |
break 2 |
5488 |
< |
fi |
4640 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
4641 |
> |
ac_dummy="$PATH" |
4642 |
> |
for ac_dir in $ac_dummy; do |
4643 |
> |
IFS=$ac_save_IFS |
4644 |
> |
test -z "$ac_dir" && ac_dir=. |
4645 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
4646 |
> |
ac_cv_prog_MPIF90="$ac_prog" |
4647 |
> |
echo "$as_me:4647: found $ac_dir/$ac_word" >&5 |
4648 |
> |
break |
4649 |
|
done |
5490 |
– |
done |
4650 |
|
|
4651 |
|
fi |
4652 |
|
fi |
4653 |
|
MPIF90=$ac_cv_prog_MPIF90 |
4654 |
|
if test -n "$MPIF90"; then |
4655 |
< |
echo "$as_me:$LINENO: result: $MPIF90" >&5 |
4655 |
> |
echo "$as_me:4655: result: $MPIF90" >&5 |
4656 |
|
echo "${ECHO_T}$MPIF90" >&6 |
4657 |
|
else |
4658 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
4658 |
> |
echo "$as_me:4658: result: no" >&5 |
4659 |
|
echo "${ECHO_T}no" >&6 |
4660 |
|
fi |
4661 |
|
|
4666 |
|
acx_mpi_save_F90="$F90" |
4667 |
|
F90="$MPIF90" |
4668 |
|
|
5510 |
– |
|
5511 |
– |
|
4669 |
|
if test x = x"$MPILIBS"; then |
4670 |
< |
echo "$as_me:$LINENO: checking for MPI_Init" >&5 |
4670 |
> |
echo "$as_me:4670: checking for MPI_Init" >&5 |
4671 |
|
echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6 |
4672 |
|
cat >conftest.$ac_ext <<_ACEOF |
4673 |
|
|
4678 |
|
|
4679 |
|
_ACEOF |
4680 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4681 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4681 |
> |
if { (eval echo "$as_me:4681: \"$ac_link\"") >&5 |
4682 |
|
(eval $ac_link) 2>&5 |
4683 |
|
ac_status=$? |
4684 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4684 |
> |
echo "$as_me:4684: \$? = $ac_status" >&5 |
4685 |
|
(exit $ac_status); } && |
4686 |
|
{ ac_try='test -s conftest$ac_exeext' |
4687 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4687 |
> |
{ (eval echo "$as_me:4687: \"$ac_try\"") >&5 |
4688 |
|
(eval $ac_try) 2>&5 |
4689 |
|
ac_status=$? |
4690 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4690 |
> |
echo "$as_me:4690: \$? = $ac_status" >&5 |
4691 |
|
(exit $ac_status); }; }; then |
4692 |
|
MPILIBS=" " |
4693 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
4693 |
> |
echo "$as_me:4693: result: yes" >&5 |
4694 |
|
echo "${ECHO_T}yes" >&6 |
4695 |
|
else |
4696 |
|
echo "$as_me: failed program was:" >&5 |
4697 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4698 |
< |
|
5542 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
4697 |
> |
cat conftest.$ac_ext >&5 |
4698 |
> |
echo "$as_me:4698: result: no" >&5 |
4699 |
|
echo "${ECHO_T}no" >&6 |
4700 |
|
fi |
4701 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4702 |
|
fi |
4703 |
|
if test x = x"$MPILIBS"; then |
4704 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
4704 |
> |
echo "$as_me:4704: checking for MPI_Init in -lmpi" >&5 |
4705 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
4706 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
4707 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4717 |
|
|
4718 |
|
_ACEOF |
4719 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4720 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4720 |
> |
if { (eval echo "$as_me:4720: \"$ac_link\"") >&5 |
4721 |
|
(eval $ac_link) 2>&5 |
4722 |
|
ac_status=$? |
4723 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4723 |
> |
echo "$as_me:4723: \$? = $ac_status" >&5 |
4724 |
|
(exit $ac_status); } && |
4725 |
|
{ ac_try='test -s conftest$ac_exeext' |
4726 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4726 |
> |
{ (eval echo "$as_me:4726: \"$ac_try\"") >&5 |
4727 |
|
(eval $ac_try) 2>&5 |
4728 |
|
ac_status=$? |
4729 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4729 |
> |
echo "$as_me:4729: \$? = $ac_status" >&5 |
4730 |
|
(exit $ac_status); }; }; then |
4731 |
|
ac_cv_lib_mpi_MPI_Init=yes |
4732 |
|
else |
4733 |
|
echo "$as_me: failed program was:" >&5 |
4734 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5579 |
< |
|
4734 |
> |
cat conftest.$ac_ext >&5 |
4735 |
|
ac_cv_lib_mpi_MPI_Init=no |
4736 |
|
fi |
4737 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4738 |
|
LIBS=$ac_check_lib_save_LIBS |
4739 |
|
fi |
4740 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
4740 |
> |
echo "$as_me:4740: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
4741 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
4742 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
4743 |
|
MPILIBS="-lmpi" |
4745 |
|
|
4746 |
|
fi |
4747 |
|
if test x = x"$MPILIBS"; then |
4748 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
4748 |
> |
echo "$as_me:4748: checking for MPI_Init in -lmpich" >&5 |
4749 |
|
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
4750 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
4751 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4761 |
|
|
4762 |
|
_ACEOF |
4763 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4764 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4764 |
> |
if { (eval echo "$as_me:4764: \"$ac_link\"") >&5 |
4765 |
|
(eval $ac_link) 2>&5 |
4766 |
|
ac_status=$? |
4767 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4767 |
> |
echo "$as_me:4767: \$? = $ac_status" >&5 |
4768 |
|
(exit $ac_status); } && |
4769 |
|
{ ac_try='test -s conftest$ac_exeext' |
4770 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4770 |
> |
{ (eval echo "$as_me:4770: \"$ac_try\"") >&5 |
4771 |
|
(eval $ac_try) 2>&5 |
4772 |
|
ac_status=$? |
4773 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4773 |
> |
echo "$as_me:4773: \$? = $ac_status" >&5 |
4774 |
|
(exit $ac_status); }; }; then |
4775 |
|
ac_cv_lib_mpich_MPI_Init=yes |
4776 |
|
else |
4777 |
|
echo "$as_me: failed program was:" >&5 |
4778 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5624 |
< |
|
4778 |
> |
cat conftest.$ac_ext >&5 |
4779 |
|
ac_cv_lib_mpich_MPI_Init=no |
4780 |
|
fi |
4781 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4782 |
|
LIBS=$ac_check_lib_save_LIBS |
4783 |
|
fi |
4784 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
4784 |
> |
echo "$as_me:4784: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
4785 |
|
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
4786 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
4787 |
|
MPILIBS="-lmpich" |
4789 |
|
|
4790 |
|
fi |
4791 |
|
|
5638 |
– |
|
5639 |
– |
|
4792 |
|
F90="$acx_mpi_save_F90" |
4793 |
|
|
5642 |
– |
|
5643 |
– |
|
4794 |
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
4795 |
|
if test x = x"$MPILIBS"; then |
4796 |
|
|
4797 |
|
: |
4798 |
|
else |
4799 |
|
|
4800 |
< |
cat >>confdefs.h <<\_ACEOF |
4800 |
> |
cat >>confdefs.h <<\EOF |
4801 |
|
#define HAVE_MPI 1 |
4802 |
< |
_ACEOF |
4802 |
> |
EOF |
4803 |
|
|
4804 |
|
: |
4805 |
|
fi |
4806 |
|
|
5657 |
– |
|
4807 |
|
ac_ext=c |
4808 |
|
ac_cpp='$CPP $CPPFLAGS' |
4809 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4810 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4811 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4812 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4812 |
> |
echo "$as_me:4812: checking how to run the C preprocessor" >&5 |
4813 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4814 |
|
# On Suns, sometimes $CPP names a directory. |
4815 |
|
if test -n "$CPP" && test -d "$CPP"; then |
4822 |
|
# Double quotes because CPP needs to be expanded |
4823 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4824 |
|
do |
4825 |
+ |
# break 2 since there is a loop in there. |
4826 |
|
ac_preproc_ok=false |
4827 |
|
for ac_c_preproc_warn_flag in '' yes |
4828 |
|
do |
4829 |
|
# Use a header file that comes with gcc, so configuring glibc |
4830 |
|
# with a fresh cross-compiler works. |
5681 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5682 |
– |
# <limits.h> exists even on freestanding compilers. |
4831 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4832 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4833 |
|
cat >conftest.$ac_ext <<_ACEOF |
4834 |
< |
#line $LINENO "configure" |
4835 |
< |
/* confdefs.h. */ |
4836 |
< |
_ACEOF |
5689 |
< |
cat confdefs.h >>conftest.$ac_ext |
5690 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5691 |
< |
/* end confdefs.h. */ |
5692 |
< |
#ifdef __STDC__ |
5693 |
< |
# include <limits.h> |
5694 |
< |
#else |
5695 |
< |
# include <assert.h> |
5696 |
< |
#endif |
4834 |
> |
#line 4834 "configure" |
4835 |
> |
#include "confdefs.h" |
4836 |
> |
#include <assert.h> |
4837 |
|
Syntax error |
4838 |
|
_ACEOF |
4839 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4839 |
> |
if { (eval echo "$as_me:4839: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4840 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4841 |
|
ac_status=$? |
4842 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4842 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4843 |
|
rm -f conftest.er1 |
4844 |
|
cat conftest.err >&5 |
4845 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4845 |
> |
echo "$as_me:4845: \$? = $ac_status" >&5 |
4846 |
|
(exit $ac_status); } >/dev/null; then |
4847 |
|
if test -s conftest.err; then |
4848 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4856 |
|
: |
4857 |
|
else |
4858 |
|
echo "$as_me: failed program was:" >&5 |
4859 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5720 |
< |
|
4859 |
> |
cat conftest.$ac_ext >&5 |
4860 |
|
# Broken: fails on valid input. |
4861 |
|
continue |
4862 |
|
fi |
4865 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4866 |
|
# can be detected and how. |
4867 |
|
cat >conftest.$ac_ext <<_ACEOF |
4868 |
< |
#line $LINENO "configure" |
4869 |
< |
/* confdefs.h. */ |
5731 |
< |
_ACEOF |
5732 |
< |
cat confdefs.h >>conftest.$ac_ext |
5733 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5734 |
< |
/* end confdefs.h. */ |
4868 |
> |
#line 4868 "configure" |
4869 |
> |
#include "confdefs.h" |
4870 |
|
#include <ac_nonexistent.h> |
4871 |
|
_ACEOF |
4872 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4872 |
> |
if { (eval echo "$as_me:4872: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4873 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4874 |
|
ac_status=$? |
4875 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4875 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4876 |
|
rm -f conftest.er1 |
4877 |
|
cat conftest.err >&5 |
4878 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4878 |
> |
echo "$as_me:4878: \$? = $ac_status" >&5 |
4879 |
|
(exit $ac_status); } >/dev/null; then |
4880 |
|
if test -s conftest.err; then |
4881 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4890 |
|
continue |
4891 |
|
else |
4892 |
|
echo "$as_me: failed program was:" >&5 |
4893 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5759 |
< |
|
4893 |
> |
cat conftest.$ac_ext >&5 |
4894 |
|
# Passes both tests. |
4895 |
|
ac_preproc_ok=: |
4896 |
|
break |
4901 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4902 |
|
rm -f conftest.err conftest.$ac_ext |
4903 |
|
if $ac_preproc_ok; then |
4904 |
< |
break |
4904 |
> |
break 2 |
4905 |
|
fi |
4906 |
|
|
4907 |
|
done |
4912 |
|
else |
4913 |
|
ac_cv_prog_CPP=$CPP |
4914 |
|
fi |
4915 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
4915 |
> |
echo "$as_me:4915: result: $CPP" >&5 |
4916 |
|
echo "${ECHO_T}$CPP" >&6 |
4917 |
|
ac_preproc_ok=false |
4918 |
|
for ac_c_preproc_warn_flag in '' yes |
4919 |
|
do |
4920 |
|
# Use a header file that comes with gcc, so configuring glibc |
4921 |
|
# with a fresh cross-compiler works. |
5788 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5789 |
– |
# <limits.h> exists even on freestanding compilers. |
4922 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4923 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4924 |
|
cat >conftest.$ac_ext <<_ACEOF |
4925 |
< |
#line $LINENO "configure" |
4926 |
< |
/* confdefs.h. */ |
4927 |
< |
_ACEOF |
5796 |
< |
cat confdefs.h >>conftest.$ac_ext |
5797 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5798 |
< |
/* end confdefs.h. */ |
5799 |
< |
#ifdef __STDC__ |
5800 |
< |
# include <limits.h> |
5801 |
< |
#else |
5802 |
< |
# include <assert.h> |
5803 |
< |
#endif |
4925 |
> |
#line 4925 "configure" |
4926 |
> |
#include "confdefs.h" |
4927 |
> |
#include <assert.h> |
4928 |
|
Syntax error |
4929 |
|
_ACEOF |
4930 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4930 |
> |
if { (eval echo "$as_me:4930: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4931 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4932 |
|
ac_status=$? |
4933 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4933 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4934 |
|
rm -f conftest.er1 |
4935 |
|
cat conftest.err >&5 |
4936 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4936 |
> |
echo "$as_me:4936: \$? = $ac_status" >&5 |
4937 |
|
(exit $ac_status); } >/dev/null; then |
4938 |
|
if test -s conftest.err; then |
4939 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4947 |
|
: |
4948 |
|
else |
4949 |
|
echo "$as_me: failed program was:" >&5 |
4950 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5827 |
< |
|
4950 |
> |
cat conftest.$ac_ext >&5 |
4951 |
|
# Broken: fails on valid input. |
4952 |
|
continue |
4953 |
|
fi |
4956 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4957 |
|
# can be detected and how. |
4958 |
|
cat >conftest.$ac_ext <<_ACEOF |
4959 |
< |
#line $LINENO "configure" |
4960 |
< |
/* confdefs.h. */ |
5838 |
< |
_ACEOF |
5839 |
< |
cat confdefs.h >>conftest.$ac_ext |
5840 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5841 |
< |
/* end confdefs.h. */ |
4959 |
> |
#line 4959 "configure" |
4960 |
> |
#include "confdefs.h" |
4961 |
|
#include <ac_nonexistent.h> |
4962 |
|
_ACEOF |
4963 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4963 |
> |
if { (eval echo "$as_me:4963: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4964 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4965 |
|
ac_status=$? |
4966 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4966 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4967 |
|
rm -f conftest.er1 |
4968 |
|
cat conftest.err >&5 |
4969 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4969 |
> |
echo "$as_me:4969: \$? = $ac_status" >&5 |
4970 |
|
(exit $ac_status); } >/dev/null; then |
4971 |
|
if test -s conftest.err; then |
4972 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4981 |
|
continue |
4982 |
|
else |
4983 |
|
echo "$as_me: failed program was:" >&5 |
4984 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5866 |
< |
|
4984 |
> |
cat conftest.$ac_ext >&5 |
4985 |
|
# Passes both tests. |
4986 |
|
ac_preproc_ok=: |
4987 |
|
break |
4994 |
|
if $ac_preproc_ok; then |
4995 |
|
: |
4996 |
|
else |
4997 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4998 |
< |
See \`config.log' for more details." >&5 |
5881 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
5882 |
< |
See \`config.log' for more details." >&2;} |
4997 |
> |
{ { echo "$as_me:4997: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
4998 |
> |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
4999 |
|
{ (exit 1); exit 1; }; } |
5000 |
|
fi |
5001 |
|
|
5005 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5006 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5007 |
|
|
5008 |
< |
|
5893 |
< |
echo "$as_me:$LINENO: checking for egrep" >&5 |
5894 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
5895 |
< |
if test "${ac_cv_prog_egrep+set}" = set; then |
5896 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5897 |
< |
else |
5898 |
< |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
5899 |
< |
then ac_cv_prog_egrep='grep -E' |
5900 |
< |
else ac_cv_prog_egrep='egrep' |
5901 |
< |
fi |
5902 |
< |
fi |
5903 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
5904 |
< |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
5905 |
< |
EGREP=$ac_cv_prog_egrep |
5906 |
< |
|
5907 |
< |
|
5908 |
< |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5909 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
5910 |
< |
if test "${ac_cv_header_stdc+set}" = set; then |
5911 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5912 |
< |
else |
5913 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5914 |
< |
#line $LINENO "configure" |
5915 |
< |
/* confdefs.h. */ |
5916 |
< |
_ACEOF |
5917 |
< |
cat confdefs.h >>conftest.$ac_ext |
5918 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5919 |
< |
/* end confdefs.h. */ |
5920 |
< |
#include <stdlib.h> |
5921 |
< |
#include <stdarg.h> |
5922 |
< |
#include <string.h> |
5923 |
< |
#include <float.h> |
5924 |
< |
|
5925 |
< |
int |
5926 |
< |
main () |
5927 |
< |
{ |
5928 |
< |
|
5929 |
< |
; |
5930 |
< |
return 0; |
5931 |
< |
} |
5932 |
< |
_ACEOF |
5933 |
< |
rm -f conftest.$ac_objext |
5934 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5935 |
< |
(eval $ac_compile) 2>&5 |
5936 |
< |
ac_status=$? |
5937 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5938 |
< |
(exit $ac_status); } && |
5939 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5940 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5941 |
< |
(eval $ac_try) 2>&5 |
5942 |
< |
ac_status=$? |
5943 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5944 |
< |
(exit $ac_status); }; }; then |
5945 |
< |
ac_cv_header_stdc=yes |
5946 |
< |
else |
5947 |
< |
echo "$as_me: failed program was:" >&5 |
5948 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5949 |
< |
|
5950 |
< |
ac_cv_header_stdc=no |
5951 |
< |
fi |
5952 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5953 |
< |
|
5954 |
< |
if test $ac_cv_header_stdc = yes; then |
5955 |
< |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5956 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5957 |
< |
#line $LINENO "configure" |
5958 |
< |
/* confdefs.h. */ |
5959 |
< |
_ACEOF |
5960 |
< |
cat confdefs.h >>conftest.$ac_ext |
5961 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5962 |
< |
/* end confdefs.h. */ |
5963 |
< |
#include <string.h> |
5964 |
< |
|
5965 |
< |
_ACEOF |
5966 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5967 |
< |
$EGREP "memchr" >/dev/null 2>&1; then |
5968 |
< |
: |
5969 |
< |
else |
5970 |
< |
ac_cv_header_stdc=no |
5971 |
< |
fi |
5972 |
< |
rm -f conftest* |
5973 |
< |
|
5974 |
< |
fi |
5975 |
< |
|
5976 |
< |
if test $ac_cv_header_stdc = yes; then |
5977 |
< |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5978 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5979 |
< |
#line $LINENO "configure" |
5980 |
< |
/* confdefs.h. */ |
5981 |
< |
_ACEOF |
5982 |
< |
cat confdefs.h >>conftest.$ac_ext |
5983 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
5984 |
< |
/* end confdefs.h. */ |
5985 |
< |
#include <stdlib.h> |
5986 |
< |
|
5987 |
< |
_ACEOF |
5988 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5989 |
< |
$EGREP "free" >/dev/null 2>&1; then |
5990 |
< |
: |
5991 |
< |
else |
5992 |
< |
ac_cv_header_stdc=no |
5993 |
< |
fi |
5994 |
< |
rm -f conftest* |
5995 |
< |
|
5996 |
< |
fi |
5997 |
< |
|
5998 |
< |
if test $ac_cv_header_stdc = yes; then |
5999 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6000 |
< |
if test "$cross_compiling" = yes; then |
6001 |
< |
: |
6002 |
< |
else |
6003 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6004 |
< |
#line $LINENO "configure" |
6005 |
< |
/* confdefs.h. */ |
6006 |
< |
_ACEOF |
6007 |
< |
cat confdefs.h >>conftest.$ac_ext |
6008 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6009 |
< |
/* end confdefs.h. */ |
6010 |
< |
#include <ctype.h> |
6011 |
< |
#if ((' ' & 0x0FF) == 0x020) |
6012 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6013 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6014 |
< |
#else |
6015 |
< |
# define ISLOWER(c) \ |
6016 |
< |
(('a' <= (c) && (c) <= 'i') \ |
6017 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
6018 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
6019 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6020 |
< |
#endif |
6021 |
< |
|
6022 |
< |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6023 |
< |
int |
6024 |
< |
main () |
6025 |
< |
{ |
6026 |
< |
int i; |
6027 |
< |
for (i = 0; i < 256; i++) |
6028 |
< |
if (XOR (islower (i), ISLOWER (i)) |
6029 |
< |
|| toupper (i) != TOUPPER (i)) |
6030 |
< |
exit(2); |
6031 |
< |
exit (0); |
6032 |
< |
} |
6033 |
< |
_ACEOF |
6034 |
< |
rm -f conftest$ac_exeext |
6035 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6036 |
< |
(eval $ac_link) 2>&5 |
6037 |
< |
ac_status=$? |
6038 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6039 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6040 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6041 |
< |
(eval $ac_try) 2>&5 |
6042 |
< |
ac_status=$? |
6043 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6044 |
< |
(exit $ac_status); }; }; then |
6045 |
< |
: |
6046 |
< |
else |
6047 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
6048 |
< |
echo "$as_me: failed program was:" >&5 |
6049 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6050 |
< |
|
6051 |
< |
( exit $ac_status ) |
6052 |
< |
ac_cv_header_stdc=no |
6053 |
< |
fi |
6054 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6055 |
< |
fi |
6056 |
< |
fi |
6057 |
< |
fi |
6058 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
6059 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
6060 |
< |
if test $ac_cv_header_stdc = yes; then |
6061 |
< |
|
6062 |
< |
cat >>confdefs.h <<\_ACEOF |
6063 |
< |
#define STDC_HEADERS 1 |
6064 |
< |
_ACEOF |
6065 |
< |
|
6066 |
< |
fi |
6067 |
< |
|
6068 |
< |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
6069 |
< |
|
6070 |
< |
|
6071 |
< |
|
6072 |
< |
|
6073 |
< |
|
6074 |
< |
|
6075 |
< |
|
6076 |
< |
|
6077 |
< |
|
6078 |
< |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6079 |
< |
inttypes.h stdint.h unistd.h |
6080 |
< |
do |
6081 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6082 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6083 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6084 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6085 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6086 |
< |
else |
6087 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6088 |
< |
#line $LINENO "configure" |
6089 |
< |
/* confdefs.h. */ |
6090 |
< |
_ACEOF |
6091 |
< |
cat confdefs.h >>conftest.$ac_ext |
6092 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6093 |
< |
/* end confdefs.h. */ |
6094 |
< |
$ac_includes_default |
6095 |
< |
|
6096 |
< |
#include <$ac_header> |
6097 |
< |
_ACEOF |
6098 |
< |
rm -f conftest.$ac_objext |
6099 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6100 |
< |
(eval $ac_compile) 2>&5 |
6101 |
< |
ac_status=$? |
6102 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6103 |
< |
(exit $ac_status); } && |
6104 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6105 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6106 |
< |
(eval $ac_try) 2>&5 |
6107 |
< |
ac_status=$? |
6108 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6109 |
< |
(exit $ac_status); }; }; then |
6110 |
< |
eval "$as_ac_Header=yes" |
6111 |
< |
else |
6112 |
< |
echo "$as_me: failed program was:" >&5 |
6113 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6114 |
< |
|
6115 |
< |
eval "$as_ac_Header=no" |
6116 |
< |
fi |
6117 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6118 |
< |
fi |
6119 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6120 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6121 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6122 |
< |
cat >>confdefs.h <<_ACEOF |
6123 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6124 |
< |
_ACEOF |
6125 |
< |
|
6126 |
< |
fi |
6127 |
< |
|
6128 |
< |
done |
6129 |
< |
|
6130 |
< |
|
6131 |
< |
|
6132 |
< |
|
6133 |
< |
|
6134 |
< |
# Check whether --with-sprng-prefix or --without-sprng-prefix was given. |
5008 |
> |
# Check whether --with-sprng_prefix or --without-sprng_prefix was given. |
5009 |
|
if test "${with_sprng_prefix+set}" = set; then |
5010 |
|
withval="$with_sprng_prefix" |
5011 |
|
sprng_prefix="$withval" |
5013 |
|
sprng_prefix="/usr/local" |
5014 |
|
fi; |
5015 |
|
|
5016 |
< |
# Check whether --with-sprng-lib-prefix or --without-sprng-lib-prefix was given. |
5016 |
> |
# Check whether --with-sprng_lib_prefix or --without-sprng_lib_prefix was given. |
5017 |
|
if test "${with_sprng_lib_prefix+set}" = set; then |
5018 |
|
withval="$with_sprng_lib_prefix" |
5019 |
|
sprng_lib_prefix="$withval" |
5021 |
|
sprng_lib_prefix="/usr/local/lib" |
5022 |
|
fi; |
5023 |
|
|
5024 |
< |
# Check whether --with-sprng-include-prefix or --without-sprng-include-prefix was given. |
5024 |
> |
# Check whether --with-sprng_include_prefix or --without-sprng_include_prefix was given. |
5025 |
|
if test "${with_sprng_include_prefix+set}" = set; then |
5026 |
|
withval="$with_sprng_include_prefix" |
5027 |
|
sprng_include_prefix="$withval" |
5037 |
|
sprng_include_prefix=${sprng_prefix}/include |
5038 |
|
fi |
5039 |
|
|
5040 |
< |
echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include_prefix" >&5 |
5040 |
> |
echo "$as_me:5040: checking for SPRNG include files in $sprng_include_prefix" >&5 |
5041 |
|
echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6 |
5042 |
|
if test -f ${sprng_include_prefix}/sprng.h; then |
5043 |
|
have_sprngincl=yes |
5044 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5044 |
> |
echo "$as_me:5044: result: yes" >&5 |
5045 |
|
echo "${ECHO_T}yes" >&6 |
5046 |
|
else |
5047 |
|
have_sprngincl=no |
5048 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5048 |
> |
echo "$as_me:5048: result: no" >&5 |
5049 |
|
echo "${ECHO_T}no" >&6 |
5050 |
< |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5 |
5050 |
> |
{ { echo "$as_me:5050: error: Could not locate the SPRNG include files" >&5 |
5051 |
|
echo "$as_me: error: Could not locate the SPRNG include files" >&2;} |
5052 |
|
{ (exit 1); exit 1; }; } |
5053 |
|
fi |
5054 |
|
|
5055 |
< |
echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_lib_prefix" >&5 |
5055 |
> |
echo "$as_me:5055: checking for SPRNG libraries in $sprng_lib_prefix" >&5 |
5056 |
|
echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6 |
5057 |
|
if test -f ${sprng_lib_prefix}/libsprng.a; then |
5058 |
|
have_sprnglib=yes |
5059 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5059 |
> |
echo "$as_me:5059: result: yes" >&5 |
5060 |
|
echo "${ECHO_T}yes" >&6 |
5061 |
|
else |
5062 |
|
have_sprnglib=no |
5063 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5063 |
> |
echo "$as_me:5063: result: no" >&5 |
5064 |
|
echo "${ECHO_T}no" >&6 |
5065 |
< |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5 |
5065 |
> |
{ { echo "$as_me:5065: error: Could not locate the SPRNG libraries" >&5 |
5066 |
|
echo "$as_me: error: Could not locate the SPRNG libraries" >&2;} |
5067 |
|
{ (exit 1); exit 1; }; } |
5068 |
|
fi |
5069 |
|
|
6196 |
– |
|
6197 |
– |
|
5070 |
|
ac_ext=c |
5071 |
|
ac_cpp='$CPP $CPPFLAGS' |
5072 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5077 |
|
CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}" |
5078 |
|
ac_save_LDFLAGS=$LDFLAGS |
5079 |
|
LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng" |
5080 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
6209 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
5080 |
> |
echo "$as_me:5080: checking for sprng.h" >&5 |
5081 |
|
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
5082 |
|
if test "${ac_cv_header_sprng_h+set}" = set; then |
5083 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6213 |
– |
fi |
6214 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
6215 |
– |
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
5084 |
|
else |
5085 |
< |
# Is the header compilable? |
5086 |
< |
echo "$as_me:$LINENO: checking sprng.h usability" >&5 |
5087 |
< |
echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6 |
6220 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6221 |
< |
#line $LINENO "configure" |
6222 |
< |
/* confdefs.h. */ |
6223 |
< |
_ACEOF |
6224 |
< |
cat confdefs.h >>conftest.$ac_ext |
6225 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6226 |
< |
/* end confdefs.h. */ |
6227 |
< |
$ac_includes_default |
6228 |
< |
#include <sprng.h> |
6229 |
< |
_ACEOF |
6230 |
< |
rm -f conftest.$ac_objext |
6231 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6232 |
< |
(eval $ac_compile) 2>&5 |
6233 |
< |
ac_status=$? |
6234 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6235 |
< |
(exit $ac_status); } && |
6236 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6237 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6238 |
< |
(eval $ac_try) 2>&5 |
6239 |
< |
ac_status=$? |
6240 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6241 |
< |
(exit $ac_status); }; }; then |
6242 |
< |
ac_header_compiler=yes |
6243 |
< |
else |
6244 |
< |
echo "$as_me: failed program was:" >&5 |
6245 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6246 |
< |
|
6247 |
< |
ac_header_compiler=no |
6248 |
< |
fi |
6249 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6250 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6251 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6252 |
< |
|
6253 |
< |
# Is the header present? |
6254 |
< |
echo "$as_me:$LINENO: checking sprng.h presence" >&5 |
6255 |
< |
echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6 |
6256 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6257 |
< |
#line $LINENO "configure" |
6258 |
< |
/* confdefs.h. */ |
6259 |
< |
_ACEOF |
6260 |
< |
cat confdefs.h >>conftest.$ac_ext |
6261 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6262 |
< |
/* end confdefs.h. */ |
5085 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5086 |
> |
#line 5086 "configure" |
5087 |
> |
#include "confdefs.h" |
5088 |
|
#include <sprng.h> |
5089 |
|
_ACEOF |
5090 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5090 |
> |
if { (eval echo "$as_me:5090: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5091 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5092 |
|
ac_status=$? |
5093 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5093 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5094 |
|
rm -f conftest.er1 |
5095 |
|
cat conftest.err >&5 |
5096 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5096 |
> |
echo "$as_me:5096: \$? = $ac_status" >&5 |
5097 |
|
(exit $ac_status); } >/dev/null; then |
5098 |
|
if test -s conftest.err; then |
5099 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5104 |
|
ac_cpp_err=yes |
5105 |
|
fi |
5106 |
|
if test -z "$ac_cpp_err"; then |
5107 |
< |
ac_header_preproc=yes |
5107 |
> |
ac_cv_header_sprng_h=yes |
5108 |
|
else |
5109 |
|
echo "$as_me: failed program was:" >&5 |
5110 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5111 |
< |
|
6287 |
< |
ac_header_preproc=no |
5110 |
> |
cat conftest.$ac_ext >&5 |
5111 |
> |
ac_cv_header_sprng_h=no |
5112 |
|
fi |
5113 |
|
rm -f conftest.err conftest.$ac_ext |
6290 |
– |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6291 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6292 |
– |
|
6293 |
– |
# So? What about this header? |
6294 |
– |
case $ac_header_compiler:$ac_header_preproc in |
6295 |
– |
yes:no ) |
6296 |
– |
{ echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6297 |
– |
echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6298 |
– |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
6299 |
– |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
6300 |
– |
( |
6301 |
– |
cat <<\_ASBOX |
6302 |
– |
## ------------------------------------ ## |
6303 |
– |
## Report this to bug-autoconf@gnu.org. ## |
6304 |
– |
## ------------------------------------ ## |
6305 |
– |
_ASBOX |
6306 |
– |
) | |
6307 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
6308 |
– |
;; |
6309 |
– |
no:yes ) |
6310 |
– |
{ echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5 |
6311 |
– |
echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;} |
6312 |
– |
{ echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5 |
6313 |
– |
echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;} |
6314 |
– |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
6315 |
– |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
6316 |
– |
( |
6317 |
– |
cat <<\_ASBOX |
6318 |
– |
## ------------------------------------ ## |
6319 |
– |
## Report this to bug-autoconf@gnu.org. ## |
6320 |
– |
## ------------------------------------ ## |
6321 |
– |
_ASBOX |
6322 |
– |
) | |
6323 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
6324 |
– |
;; |
6325 |
– |
esac |
6326 |
– |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
6327 |
– |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
6328 |
– |
if test "${ac_cv_header_sprng_h+set}" = set; then |
6329 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6330 |
– |
else |
6331 |
– |
ac_cv_header_sprng_h=$ac_header_preproc |
5114 |
|
fi |
5115 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
5115 |
> |
echo "$as_me:5115: result: $ac_cv_header_sprng_h" >&5 |
5116 |
|
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
6335 |
– |
|
6336 |
– |
fi |
5117 |
|
if test $ac_cv_header_sprng_h = yes; then |
5118 |
|
|
5119 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
5119 |
> |
echo "$as_me:5119: checking for init_rng in -lsprng" >&5 |
5120 |
|
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
5121 |
|
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
5122 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5124 |
|
ac_check_lib_save_LIBS=$LIBS |
5125 |
|
LIBS="-lsprng $LIBS" |
5126 |
|
cat >conftest.$ac_ext <<_ACEOF |
5127 |
< |
#line $LINENO "configure" |
5128 |
< |
/* confdefs.h. */ |
6349 |
< |
_ACEOF |
6350 |
< |
cat confdefs.h >>conftest.$ac_ext |
6351 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6352 |
< |
/* end confdefs.h. */ |
5127 |
> |
#line 5127 "configure" |
5128 |
> |
#include "confdefs.h" |
5129 |
|
|
5130 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5131 |
|
#ifdef __cplusplus |
5143 |
|
} |
5144 |
|
_ACEOF |
5145 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5146 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5146 |
> |
if { (eval echo "$as_me:5146: \"$ac_link\"") >&5 |
5147 |
|
(eval $ac_link) 2>&5 |
5148 |
|
ac_status=$? |
5149 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5149 |
> |
echo "$as_me:5149: \$? = $ac_status" >&5 |
5150 |
|
(exit $ac_status); } && |
5151 |
|
{ ac_try='test -s conftest$ac_exeext' |
5152 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5152 |
> |
{ (eval echo "$as_me:5152: \"$ac_try\"") >&5 |
5153 |
|
(eval $ac_try) 2>&5 |
5154 |
|
ac_status=$? |
5155 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5155 |
> |
echo "$as_me:5155: \$? = $ac_status" >&5 |
5156 |
|
(exit $ac_status); }; }; then |
5157 |
|
ac_cv_lib_sprng_init_rng=yes |
5158 |
|
else |
5159 |
|
echo "$as_me: failed program was:" >&5 |
5160 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6385 |
< |
|
5160 |
> |
cat conftest.$ac_ext >&5 |
5161 |
|
ac_cv_lib_sprng_init_rng=no |
5162 |
|
fi |
5163 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5164 |
|
LIBS=$ac_check_lib_save_LIBS |
5165 |
|
fi |
5166 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
5166 |
> |
echo "$as_me:5166: result: $ac_cv_lib_sprng_init_rng" >&5 |
5167 |
|
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
5168 |
|
if test $ac_cv_lib_sprng_init_rng = yes; then |
5169 |
|
SPRNG_LIBDIR="${sprng_lib_prefix}" |
5173 |
|
|
5174 |
|
fi |
5175 |
|
|
6401 |
– |
|
5176 |
|
CPPFLAGS=$ac_save_CPPFLAGS |
5177 |
|
LDFLAGS=$ac_save_LDFLAGS |
5178 |
|
ac_ext=f90 |
5180 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5181 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5182 |
|
|
6409 |
– |
|
5183 |
|
if test x_$HAVE_SPRNG != x_yes; then |
5184 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5 |
5184 |
> |
{ { echo "$as_me:5184: error: Can't build with SPRNG" >&5 |
5185 |
|
echo "$as_me: error: Can't build with SPRNG" >&2;} |
5186 |
|
{ (exit 1); exit 1; }; } |
5187 |
|
fi |
5188 |
|
|
5189 |
< |
|
6417 |
< |
|
6418 |
< |
|
6419 |
< |
|
6420 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
5189 |
> |
echo "$as_me:5189: checking if MKL is wanted" >&5 |
5190 |
|
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
5191 |
|
|
5192 |
|
# Check whether --with-mkl or --without-mkl was given. |
5193 |
|
if test "${with_mkl+set}" = set; then |
5194 |
|
withval="$with_mkl" |
5195 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5195 |
> |
echo "$as_me:5195: result: yes" >&5 |
5196 |
|
echo "${ECHO_T}yes" >&6 |
5197 |
|
for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do |
5198 |
|
mkldir="$dir" |
5202 |
|
fi |
5203 |
|
done |
5204 |
|
if test x_$found_mkl != x_yes; then |
5205 |
< |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
5205 |
> |
{ { echo "$as_me:5205: error: Cannot find MKL includes" >&5 |
5206 |
|
echo "$as_me: error: Cannot find MKL includes" >&2;} |
5207 |
|
{ (exit 1); exit 1; }; } |
5208 |
|
else |
5209 |
|
printf "MKL includes found in $mkldir/include\n"; |
5210 |
|
fi |
5211 |
|
|
6443 |
– |
|
6444 |
– |
|
5212 |
|
ac_ext=c |
5213 |
|
ac_cpp='$CPP $CPPFLAGS' |
5214 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5219 |
|
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
5220 |
|
ac_save_LDFLAGS=$LDFLAGS |
5221 |
|
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
5222 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
6456 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
5222 |
> |
echo "$as_me:5222: checking for mkl.h" >&5 |
5223 |
|
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
5224 |
|
if test "${ac_cv_header_mkl_h+set}" = set; then |
5225 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6460 |
– |
fi |
6461 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
6462 |
– |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
5226 |
|
else |
5227 |
< |
# Is the header compilable? |
5228 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
5229 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
6467 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6468 |
< |
#line $LINENO "configure" |
6469 |
< |
/* confdefs.h. */ |
6470 |
< |
_ACEOF |
6471 |
< |
cat confdefs.h >>conftest.$ac_ext |
6472 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6473 |
< |
/* end confdefs.h. */ |
6474 |
< |
$ac_includes_default |
5227 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5228 |
> |
#line 5228 "configure" |
5229 |
> |
#include "confdefs.h" |
5230 |
|
#include <mkl.h> |
5231 |
|
_ACEOF |
5232 |
< |
rm -f conftest.$ac_objext |
6478 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6479 |
< |
(eval $ac_compile) 2>&5 |
6480 |
< |
ac_status=$? |
6481 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6482 |
< |
(exit $ac_status); } && |
6483 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6484 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6485 |
< |
(eval $ac_try) 2>&5 |
6486 |
< |
ac_status=$? |
6487 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6488 |
< |
(exit $ac_status); }; }; then |
6489 |
< |
ac_header_compiler=yes |
6490 |
< |
else |
6491 |
< |
echo "$as_me: failed program was:" >&5 |
6492 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6493 |
< |
|
6494 |
< |
ac_header_compiler=no |
6495 |
< |
fi |
6496 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6497 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6498 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6499 |
< |
|
6500 |
< |
# Is the header present? |
6501 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
6502 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
6503 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6504 |
< |
#line $LINENO "configure" |
6505 |
< |
/* confdefs.h. */ |
6506 |
< |
_ACEOF |
6507 |
< |
cat confdefs.h >>conftest.$ac_ext |
6508 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6509 |
< |
/* end confdefs.h. */ |
6510 |
< |
#include <mkl.h> |
6511 |
< |
_ACEOF |
6512 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5232 |
> |
if { (eval echo "$as_me:5232: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5233 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5234 |
|
ac_status=$? |
5235 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
5235 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5236 |
|
rm -f conftest.er1 |
5237 |
|
cat conftest.err >&5 |
5238 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5238 |
> |
echo "$as_me:5238: \$? = $ac_status" >&5 |
5239 |
|
(exit $ac_status); } >/dev/null; then |
5240 |
|
if test -s conftest.err; then |
5241 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5246 |
|
ac_cpp_err=yes |
5247 |
|
fi |
5248 |
|
if test -z "$ac_cpp_err"; then |
5249 |
< |
ac_header_preproc=yes |
5249 |
> |
ac_cv_header_mkl_h=yes |
5250 |
|
else |
5251 |
|
echo "$as_me: failed program was:" >&5 |
5252 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5253 |
< |
|
6534 |
< |
ac_header_preproc=no |
5252 |
> |
cat conftest.$ac_ext >&5 |
5253 |
> |
ac_cv_header_mkl_h=no |
5254 |
|
fi |
5255 |
|
rm -f conftest.err conftest.$ac_ext |
5256 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5257 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6539 |
< |
|
6540 |
< |
# So? What about this header? |
6541 |
< |
case $ac_header_compiler:$ac_header_preproc in |
6542 |
< |
yes:no ) |
6543 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6544 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6545 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
6546 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
6547 |
< |
( |
6548 |
< |
cat <<\_ASBOX |
6549 |
< |
## ------------------------------------ ## |
6550 |
< |
## Report this to bug-autoconf@gnu.org. ## |
6551 |
< |
## ------------------------------------ ## |
6552 |
< |
_ASBOX |
6553 |
< |
) | |
6554 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
6555 |
< |
;; |
6556 |
< |
no:yes ) |
6557 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
6558 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
6559 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
6560 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
6561 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
6562 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
6563 |
< |
( |
6564 |
< |
cat <<\_ASBOX |
6565 |
< |
## ------------------------------------ ## |
6566 |
< |
## Report this to bug-autoconf@gnu.org. ## |
6567 |
< |
## ------------------------------------ ## |
6568 |
< |
_ASBOX |
6569 |
< |
) | |
6570 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
6571 |
< |
;; |
6572 |
< |
esac |
6573 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
6574 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
6575 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
6576 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6577 |
< |
else |
6578 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
6579 |
< |
fi |
6580 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
5256 |
> |
fi |
5257 |
> |
echo "$as_me:5257: result: $ac_cv_header_mkl_h" >&5 |
5258 |
|
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
6582 |
– |
|
6583 |
– |
fi |
5259 |
|
if test $ac_cv_header_mkl_h = yes; then |
5260 |
|
|
5261 |
< |
echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5 |
5261 |
> |
echo "$as_me:5261: checking for vslNewStream in -lmkl" >&5 |
5262 |
|
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
5263 |
|
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
5264 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5266 |
|
ac_check_lib_save_LIBS=$LIBS |
5267 |
|
LIBS="-lmkl $LIBS" |
5268 |
|
cat >conftest.$ac_ext <<_ACEOF |
5269 |
< |
#line $LINENO "configure" |
5270 |
< |
/* confdefs.h. */ |
6596 |
< |
_ACEOF |
6597 |
< |
cat confdefs.h >>conftest.$ac_ext |
6598 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6599 |
< |
/* end confdefs.h. */ |
5269 |
> |
#line 5269 "configure" |
5270 |
> |
#include "confdefs.h" |
5271 |
|
|
5272 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5273 |
|
#ifdef __cplusplus |
5285 |
|
} |
5286 |
|
_ACEOF |
5287 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5288 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5288 |
> |
if { (eval echo "$as_me:5288: \"$ac_link\"") >&5 |
5289 |
|
(eval $ac_link) 2>&5 |
5290 |
|
ac_status=$? |
5291 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5291 |
> |
echo "$as_me:5291: \$? = $ac_status" >&5 |
5292 |
|
(exit $ac_status); } && |
5293 |
|
{ ac_try='test -s conftest$ac_exeext' |
5294 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5294 |
> |
{ (eval echo "$as_me:5294: \"$ac_try\"") >&5 |
5295 |
|
(eval $ac_try) 2>&5 |
5296 |
|
ac_status=$? |
5297 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5297 |
> |
echo "$as_me:5297: \$? = $ac_status" >&5 |
5298 |
|
(exit $ac_status); }; }; then |
5299 |
|
ac_cv_lib_mkl_vslNewStream=yes |
5300 |
|
else |
5301 |
|
echo "$as_me: failed program was:" >&5 |
5302 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6632 |
< |
|
5302 |
> |
cat conftest.$ac_ext >&5 |
5303 |
|
ac_cv_lib_mkl_vslNewStream=no |
5304 |
|
fi |
5305 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5306 |
|
LIBS=$ac_check_lib_save_LIBS |
5307 |
|
fi |
5308 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
5308 |
> |
echo "$as_me:5308: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
5309 |
|
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
5310 |
|
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
5311 |
|
MKL_LIBDIR="${mkldir}/lib/32", |
5313 |
|
HAVE_MKL="yes" |
5314 |
|
fi |
5315 |
|
|
6646 |
– |
|
5316 |
|
else |
5317 |
|
MKL_INC="-I${mkldir}/include" |
5318 |
|
fi |
5319 |
|
|
6651 |
– |
|
5320 |
|
CPPFLAGS=$ac_save_CPPFLAGS |
5321 |
|
LDFLAGS=$ac_save_LDFLAGS |
5322 |
|
ac_ext=f90 |
5324 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5325 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
5326 |
|
|
6659 |
– |
|
5327 |
|
if test x_$HAVE_MKL != x_yes; then |
5328 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with MKL" >&5 |
5328 |
> |
{ { echo "$as_me:5328: error: Can't build with MKL" >&5 |
5329 |
|
echo "$as_me: error: Can't build with MKL" >&2;} |
5330 |
|
{ (exit 1); exit 1; }; } |
5331 |
|
fi |
5332 |
|
|
6666 |
– |
|
6667 |
– |
|
6668 |
– |
|
6669 |
– |
|
5333 |
|
else |
5334 |
|
|
5335 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5335 |
> |
echo "$as_me:5335: result: no" >&5 |
5336 |
|
echo "${ECHO_T}no" >&6 |
5337 |
|
|
5338 |
|
fi; |
6676 |
– |
|
6677 |
– |
|
6678 |
– |
|
6679 |
– |
|
6680 |
– |
# Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given. |
6681 |
– |
if test "${with_mpi_f90_mods+set}" = set; then |
6682 |
– |
withval="$with_mpi_f90_mods" |
6683 |
– |
mpi_f90_mods="$withval" |
6684 |
– |
else |
6685 |
– |
mpi_f90_mods="/usr/local/include/f90choice" |
6686 |
– |
fi; |
6687 |
– |
|
6688 |
– |
echo "$as_me:$LINENO: checking for MPI F90 modules" >&5 |
6689 |
– |
echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6 |
6690 |
– |
|
6691 |
– |
|
6692 |
– |
ac_ext=f90 |
6693 |
– |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
6694 |
– |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6695 |
– |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
6696 |
– |
|
6697 |
– |
ac_save_F90FLAGS=$F90FLAGS |
6698 |
– |
if test "$mpi_f90_mods"; then |
6699 |
– |
F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}" |
6700 |
– |
fi |
6701 |
– |
|
6702 |
– |
cat >conftest.$ac_ext <<_ACEOF |
6703 |
– |
|
6704 |
– |
|
6705 |
– |
program main |
6706 |
– |
|
6707 |
– |
use mpi |
6708 |
– |
integer :: ierr |
6709 |
– |
call MPI_Init(ierr) |
6710 |
– |
|
6711 |
– |
|
6712 |
– |
end program main |
6713 |
– |
|
6714 |
– |
_ACEOF |
6715 |
– |
rm -f conftest.$ac_objext |
6716 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6717 |
– |
(eval $ac_compile) 2>&5 |
6718 |
– |
ac_status=$? |
6719 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6720 |
– |
(exit $ac_status); } && |
6721 |
– |
{ ac_try='test -s conftest.$ac_objext' |
6722 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6723 |
– |
(eval $ac_try) 2>&5 |
6724 |
– |
ac_status=$? |
6725 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6726 |
– |
(exit $ac_status); }; }; then |
6727 |
– |
HAVE_MPI_MOD=1 |
6728 |
– |
else |
6729 |
– |
echo "$as_me: failed program was:" >&5 |
6730 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
5339 |
|
|
5340 |
< |
HAVE_MPI_MOD=0 |
6733 |
< |
fi |
6734 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5340 |
> |
#AC_CHECK_MPI_F90MOD |
5341 |
|
|
6736 |
– |
F90FLAGS=$ac_save_F90FLAGS |
6737 |
– |
ac_ext=f90 |
6738 |
– |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
6739 |
– |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6740 |
– |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
6741 |
– |
|
6742 |
– |
|
6743 |
– |
if test "$HAVE_MPI_MOD" = 1; then |
6744 |
– |
echo "$as_me:$LINENO: result: yes" >&5 |
6745 |
– |
echo "${ECHO_T}yes" >&6 |
6746 |
– |
|
6747 |
– |
cat >>confdefs.h <<\_ACEOF |
6748 |
– |
#define MPI_MOD 1 |
6749 |
– |
_ACEOF |
6750 |
– |
|
6751 |
– |
MPI_F90_MODS="-I${mpi_f90_mods}" |
6752 |
– |
|
6753 |
– |
# The library name: |
6754 |
– |
if test -z "$MPI_LIB" ; then |
6755 |
– |
MPI_LIBNAME=-lmpich |
6756 |
– |
else |
6757 |
– |
MPI_LIBNAME="$MPI_LIB" |
6758 |
– |
fi |
6759 |
– |
if test -z "$MPIMODLIBNAME" ; then |
6760 |
– |
MPIMODLIBNAME="${MPI_LIBNAME}f90" |
6761 |
– |
fi |
6762 |
– |
|
6763 |
– |
else |
6764 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
6765 |
– |
echo "${ECHO_T}no" >&6 |
6766 |
– |
{ { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5 |
6767 |
– |
echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;} |
6768 |
– |
{ (exit 1); exit 1; }; } |
6769 |
– |
fi |
6770 |
– |
|
6771 |
– |
|
6772 |
– |
|
6773 |
– |
|
6774 |
– |
|
5342 |
|
OBJEXT=".$OBJEXT" |
5343 |
|
|
5344 |
|
OOPSE=oopse |
5387 |
|
;; |
5388 |
|
esac |
5389 |
|
|
5390 |
+ |
ac_config_headers="$ac_config_headers libmdtools/config.h" |
5391 |
|
|
5392 |
+ |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile" |
5393 |
|
|
6825 |
– |
|
6826 |
– |
|
6827 |
– |
|
6828 |
– |
|
6829 |
– |
|
6830 |
– |
|
6831 |
– |
|
6832 |
– |
|
6833 |
– |
|
6834 |
– |
|
6835 |
– |
|
6836 |
– |
|
6837 |
– |
|
6838 |
– |
|
6839 |
– |
ac_config_headers="$ac_config_headers libmdtools/config.h" |
6840 |
– |
|
6841 |
– |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile" |
6842 |
– |
|
6843 |
– |
|
5394 |
|
cat >confcache <<\_ACEOF |
5395 |
|
# This file is a shell script that caches the results of configure |
5396 |
|
# tests run on this system so they can be shared between configure |
5401 |
|
# config.status only pays attention to the cache file if you give it |
5402 |
|
# the --recheck option to rerun configure. |
5403 |
|
# |
5404 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
5404 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
5405 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
5406 |
|
# following values. |
5407 |
|
|
5420 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
5421 |
|
sed -n \ |
5422 |
|
"s/'/'\\\\''/g; |
5423 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5423 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5424 |
|
;; |
5425 |
|
*) |
5426 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
5427 |
|
sed -n \ |
5428 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5428 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5429 |
|
;; |
5430 |
|
esac; |
5431 |
|
} | |
5436 |
|
t end |
5437 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5438 |
|
: end' >>confcache |
5439 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
5439 |
> |
if cmp -s $cache_file confcache; then :; else |
5440 |
|
if test -w $cache_file; then |
5441 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
5442 |
|
cat confcache >$cache_file |
5467 |
|
|
5468 |
|
DEFS=-DHAVE_CONFIG_H |
5469 |
|
|
6920 |
– |
ac_libobjs= |
6921 |
– |
ac_ltlibobjs= |
6922 |
– |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6923 |
– |
# 1. Remove the extension, and $U if already installed. |
6924 |
– |
ac_i=`echo "$ac_i" | |
6925 |
– |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
6926 |
– |
# 2. Add them. |
6927 |
– |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
6928 |
– |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
6929 |
– |
done |
6930 |
– |
LIBOBJS=$ac_libobjs |
6931 |
– |
|
6932 |
– |
LTLIBOBJS=$ac_ltlibobjs |
6933 |
– |
|
6934 |
– |
|
6935 |
– |
|
5470 |
|
: ${CONFIG_STATUS=./config.status} |
5471 |
|
ac_clean_files_save=$ac_clean_files |
5472 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5473 |
< |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5473 |
> |
{ echo "$as_me:5473: creating $CONFIG_STATUS" >&5 |
5474 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5475 |
|
cat >$CONFIG_STATUS <<_ACEOF |
5476 |
|
#! $SHELL |
5477 |
< |
# Generated by $as_me. |
5477 |
> |
# Generated automatically by configure. |
5478 |
|
# Run this file to recreate the current configuration. |
5479 |
|
# Compiler output produced by configure, useful for debugging |
5480 |
|
# configure, is in config.log if it exists. |
5481 |
|
|
5482 |
|
debug=false |
6949 |
– |
ac_cs_recheck=false |
6950 |
– |
ac_cs_silent=false |
5483 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
5484 |
+ |
ac_cs_invocation="\$0 \$@" |
5485 |
+ |
|
5486 |
|
_ACEOF |
5487 |
|
|
5488 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
6955 |
– |
## --------------------- ## |
6956 |
– |
## M4sh Initialization. ## |
6957 |
– |
## --------------------- ## |
6958 |
– |
|
5489 |
|
# Be Bourne compatible |
5490 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5491 |
|
emulate sh |
5492 |
|
NULLCMD=: |
6963 |
– |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6964 |
– |
# is contrary to our usage. Disable this feature. |
6965 |
– |
alias -g '${1+"$@"}'='"$@"' |
5493 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
5494 |
|
set -o posix |
5495 |
|
fi |
5496 |
|
|
6970 |
– |
# Support unset when possible. |
6971 |
– |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
6972 |
– |
as_unset=unset |
6973 |
– |
else |
6974 |
– |
as_unset=false |
6975 |
– |
fi |
6976 |
– |
|
6977 |
– |
|
6978 |
– |
# Work around bugs in pre-3.0 UWIN ksh. |
6979 |
– |
$as_unset ENV MAIL MAILPATH |
6980 |
– |
PS1='$ ' |
6981 |
– |
PS2='> ' |
6982 |
– |
PS4='+ ' |
6983 |
– |
|
6984 |
– |
# NLS nuisances. |
6985 |
– |
for as_var in \ |
6986 |
– |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6987 |
– |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6988 |
– |
LC_TELEPHONE LC_TIME |
6989 |
– |
do |
6990 |
– |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6991 |
– |
eval $as_var=C; export $as_var |
6992 |
– |
else |
6993 |
– |
$as_unset $as_var |
6994 |
– |
fi |
6995 |
– |
done |
6996 |
– |
|
6997 |
– |
# Required to use basename. |
6998 |
– |
if expr a : '\(a\)' >/dev/null 2>&1; then |
6999 |
– |
as_expr=expr |
7000 |
– |
else |
7001 |
– |
as_expr=false |
7002 |
– |
fi |
7003 |
– |
|
7004 |
– |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
7005 |
– |
as_basename=basename |
7006 |
– |
else |
7007 |
– |
as_basename=false |
7008 |
– |
fi |
7009 |
– |
|
7010 |
– |
|
5497 |
|
# Name of the executable. |
5498 |
< |
as_me=`$as_basename "$0" || |
7013 |
< |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7014 |
< |
X"$0" : 'X\(//\)$' \| \ |
7015 |
< |
X"$0" : 'X\(/\)$' \| \ |
7016 |
< |
. : '\(.\)' 2>/dev/null || |
7017 |
< |
echo X/"$0" | |
7018 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
7019 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
7020 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
7021 |
< |
s/.*/./; q'` |
5498 |
> |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
5499 |
|
|
7023 |
– |
|
7024 |
– |
# PATH needs CR, and LINENO needs CR and PATH. |
7025 |
– |
# Avoid depending upon Character Ranges. |
7026 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7027 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7028 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7029 |
– |
as_cr_digits='0123456789' |
7030 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
7031 |
– |
|
7032 |
– |
# The user is always right. |
7033 |
– |
if test "${PATH_SEPARATOR+set}" != set; then |
7034 |
– |
echo "#! /bin/sh" >conf$$.sh |
7035 |
– |
echo "exit 0" >>conf$$.sh |
7036 |
– |
chmod +x conf$$.sh |
7037 |
– |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
7038 |
– |
PATH_SEPARATOR=';' |
7039 |
– |
else |
7040 |
– |
PATH_SEPARATOR=: |
7041 |
– |
fi |
7042 |
– |
rm -f conf$$.sh |
7043 |
– |
fi |
7044 |
– |
|
7045 |
– |
|
7046 |
– |
as_lineno_1=$LINENO |
7047 |
– |
as_lineno_2=$LINENO |
7048 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7049 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7050 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
7051 |
– |
# Find who we are. Look in the path if we contain no path at all |
7052 |
– |
# relative or not. |
7053 |
– |
case $0 in |
7054 |
– |
*[\\/]* ) as_myself=$0 ;; |
7055 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7056 |
– |
for as_dir in $PATH |
7057 |
– |
do |
7058 |
– |
IFS=$as_save_IFS |
7059 |
– |
test -z "$as_dir" && as_dir=. |
7060 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7061 |
– |
done |
7062 |
– |
|
7063 |
– |
;; |
7064 |
– |
esac |
7065 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
7066 |
– |
# in which case we are not to be found in the path. |
7067 |
– |
if test "x$as_myself" = x; then |
7068 |
– |
as_myself=$0 |
7069 |
– |
fi |
7070 |
– |
if test ! -f "$as_myself"; then |
7071 |
– |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
7072 |
– |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
7073 |
– |
{ (exit 1); exit 1; }; } |
7074 |
– |
fi |
7075 |
– |
case $CONFIG_SHELL in |
7076 |
– |
'') |
7077 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7078 |
– |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
7079 |
– |
do |
7080 |
– |
IFS=$as_save_IFS |
7081 |
– |
test -z "$as_dir" && as_dir=. |
7082 |
– |
for as_base in sh bash ksh sh5; do |
7083 |
– |
case $as_dir in |
7084 |
– |
/*) |
7085 |
– |
if ("$as_dir/$as_base" -c ' |
7086 |
– |
as_lineno_1=$LINENO |
7087 |
– |
as_lineno_2=$LINENO |
7088 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7089 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7090 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
7091 |
– |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
7092 |
– |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
7093 |
– |
CONFIG_SHELL=$as_dir/$as_base |
7094 |
– |
export CONFIG_SHELL |
7095 |
– |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
7096 |
– |
fi;; |
7097 |
– |
esac |
7098 |
– |
done |
7099 |
– |
done |
7100 |
– |
;; |
7101 |
– |
esac |
7102 |
– |
|
7103 |
– |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
7104 |
– |
# uniformly replaced by the line number. The first 'sed' inserts a |
7105 |
– |
# line-number line before each line; the second 'sed' does the real |
7106 |
– |
# work. The second script uses 'N' to pair each line-number line |
7107 |
– |
# with the numbered line, and appends trailing '-' during |
7108 |
– |
# substitution so that $LINENO is not a special case at line end. |
7109 |
– |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
7110 |
– |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
7111 |
– |
sed '=' <$as_myself | |
7112 |
– |
sed ' |
7113 |
– |
N |
7114 |
– |
s,$,-, |
7115 |
– |
: loop |
7116 |
– |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
7117 |
– |
t loop |
7118 |
– |
s,-$,, |
7119 |
– |
s,^['$as_cr_digits']*\n,, |
7120 |
– |
' >$as_me.lineno && |
7121 |
– |
chmod +x $as_me.lineno || |
7122 |
– |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
7123 |
– |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
7124 |
– |
{ (exit 1); exit 1; }; } |
7125 |
– |
|
7126 |
– |
# Don't try to exec as it changes $[0], causing all sort of problems |
7127 |
– |
# (the dirname of $[0] is not the place where we might find the |
7128 |
– |
# original and so on. Autoconf is especially sensible to this). |
7129 |
– |
. ./$as_me.lineno |
7130 |
– |
# Exit status is that of the last command. |
7131 |
– |
exit |
7132 |
– |
} |
7133 |
– |
|
7134 |
– |
|
7135 |
– |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
7136 |
– |
*c*,-n*) ECHO_N= ECHO_C=' |
7137 |
– |
' ECHO_T=' ' ;; |
7138 |
– |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
7139 |
– |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
7140 |
– |
esac |
7141 |
– |
|
5500 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
5501 |
|
as_expr=expr |
5502 |
|
else |
5521 |
|
fi |
5522 |
|
rm -f conf$$ conf$$.exe conf$$.file |
5523 |
|
|
5524 |
< |
if mkdir -p . 2>/dev/null; then |
5525 |
< |
as_mkdir_p=: |
5524 |
> |
as_executable_p="test -f" |
5525 |
> |
|
5526 |
> |
# Support unset when possible. |
5527 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
5528 |
> |
as_unset=unset |
5529 |
|
else |
5530 |
< |
as_mkdir_p=false |
5530 |
> |
as_unset=false |
5531 |
|
fi |
5532 |
|
|
5533 |
< |
as_executable_p="test -f" |
5533 |
> |
# NLS nuisances. |
5534 |
> |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
5535 |
> |
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
5536 |
> |
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
5537 |
> |
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
5538 |
> |
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
5539 |
> |
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
5540 |
> |
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
5541 |
> |
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
5542 |
|
|
7174 |
– |
# Sed expression to map a string onto a valid CPP name. |
7175 |
– |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
7176 |
– |
|
7177 |
– |
# Sed expression to map a string onto a valid variable name. |
7178 |
– |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
7179 |
– |
|
7180 |
– |
|
5543 |
|
# IFS |
5544 |
|
# We need space, tab and new line, in precisely that order. |
5545 |
|
as_nl=' |
5547 |
|
IFS=" $as_nl" |
5548 |
|
|
5549 |
|
# CDPATH. |
5550 |
< |
$as_unset CDPATH |
5550 |
> |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
5551 |
|
|
5552 |
|
exec 6>&1 |
5553 |
|
|
7192 |
– |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
7193 |
– |
# report actual input values of CONFIG_FILES etc. instead of their |
7194 |
– |
# values after options handling. Logging --version etc. is OK. |
7195 |
– |
exec 5>>config.log |
7196 |
– |
{ |
7197 |
– |
echo |
7198 |
– |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
7199 |
– |
## Running $as_me. ## |
7200 |
– |
_ASBOX |
7201 |
– |
} >&5 |
7202 |
– |
cat >&5 <<_CSEOF |
7203 |
– |
|
7204 |
– |
This file was extended by OOPSE $as_me 1.0, which was |
7205 |
– |
generated by GNU Autoconf 2.57. Invocation command line was |
7206 |
– |
|
7207 |
– |
CONFIG_FILES = $CONFIG_FILES |
7208 |
– |
CONFIG_HEADERS = $CONFIG_HEADERS |
7209 |
– |
CONFIG_LINKS = $CONFIG_LINKS |
7210 |
– |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
7211 |
– |
$ $0 $@ |
7212 |
– |
|
7213 |
– |
_CSEOF |
7214 |
– |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
7215 |
– |
echo >&5 |
5554 |
|
_ACEOF |
5555 |
|
|
5556 |
|
# Files that config.status was made for. |
5570 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
5571 |
|
fi |
5572 |
|
|
5573 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5573 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5574 |
|
|
5575 |
|
ac_cs_usage="\ |
5576 |
|
\`$as_me' instantiates files from templates according to the |
5580 |
|
|
5581 |
|
-h, --help print this help, then exit |
5582 |
|
-V, --version print version number, then exit |
7245 |
– |
-q, --quiet do not print progress messages |
5583 |
|
-d, --debug don't remove temporary files |
5584 |
|
--recheck update $as_me by reconfiguring in the same conditions |
5585 |
|
--file=FILE[:TEMPLATE] |
5594 |
|
$config_headers |
5595 |
|
|
5596 |
|
Report bugs to <bug-autoconf@gnu.org>." |
5597 |
< |
_ACEOF |
5597 |
> |
EOF |
5598 |
|
|
5599 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5599 |
> |
cat >>$CONFIG_STATUS <<EOF |
5600 |
|
ac_cs_version="\\ |
5601 |
|
OOPSE config.status 1.0 |
5602 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
5602 |
> |
configured by $0, generated by GNU Autoconf 2.50, |
5603 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
5604 |
|
|
5605 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
5608 |
|
gives unlimited permission to copy, distribute and modify it." |
5609 |
|
srcdir=$srcdir |
5610 |
|
INSTALL="$INSTALL" |
5611 |
< |
_ACEOF |
5611 |
> |
EOF |
5612 |
|
|
5613 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5613 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5614 |
|
# If no file are specified by the user, then we need to provide default |
5615 |
|
# value. By we need to know if files were specified by the user. |
5616 |
|
ac_need_defaults=: |
5620 |
|
--*=*) |
5621 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
5622 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
5623 |
< |
ac_shift=: |
5623 |
> |
shift |
5624 |
> |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
5625 |
> |
shift |
5626 |
|
;; |
5627 |
< |
-*) |
7289 |
< |
ac_option=$1 |
7290 |
< |
ac_optarg=$2 |
7291 |
< |
ac_shift=shift |
7292 |
< |
;; |
5627 |
> |
-*);; |
5628 |
|
*) # This is not an option, so the user has probably given explicit |
5629 |
|
# arguments. |
7295 |
– |
ac_option=$1 |
5630 |
|
ac_need_defaults=false;; |
5631 |
|
esac |
5632 |
|
|
5633 |
< |
case $ac_option in |
5633 |
> |
case $1 in |
5634 |
|
# Handling of the options. |
5635 |
< |
_ACEOF |
5636 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5635 |
> |
EOF |
5636 |
> |
cat >>$CONFIG_STATUS <<EOF |
5637 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5638 |
< |
ac_cs_recheck=: ;; |
5638 |
> |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
5639 |
> |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
5640 |
> |
EOF |
5641 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5642 |
|
--version | --vers* | -V ) |
5643 |
|
echo "$ac_cs_version"; exit 0 ;; |
5644 |
|
--he | --h) |
5645 |
|
# Conflict between --help and --header |
5646 |
< |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
5646 |
> |
{ { echo "$as_me:5646: error: ambiguous option: $1 |
5647 |
|
Try \`$0 --help' for more information." >&5 |
5648 |
|
echo "$as_me: error: ambiguous option: $1 |
5649 |
|
Try \`$0 --help' for more information." >&2;} |
5653 |
|
--debug | --d* | -d ) |
5654 |
|
debug=: ;; |
5655 |
|
--file | --fil | --fi | --f ) |
5656 |
< |
$ac_shift |
5657 |
< |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
5656 |
> |
shift |
5657 |
> |
CONFIG_FILES="$CONFIG_FILES $1" |
5658 |
|
ac_need_defaults=false;; |
5659 |
|
--header | --heade | --head | --hea ) |
5660 |
< |
$ac_shift |
5661 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
5660 |
> |
shift |
5661 |
> |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
5662 |
|
ac_need_defaults=false;; |
7326 |
– |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7327 |
– |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
7328 |
– |
ac_cs_silent=: ;; |
5663 |
|
|
5664 |
+ |
# Handling of arguments. |
5665 |
+ |
'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5666 |
+ |
'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;; |
5667 |
+ |
'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;; |
5668 |
+ |
'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
5669 |
+ |
'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; |
5670 |
+ |
'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;; |
5671 |
+ |
'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;; |
5672 |
+ |
'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; |
5673 |
+ |
'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;; |
5674 |
+ |
'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;; |
5675 |
+ |
'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;; |
5676 |
+ |
'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; |
5677 |
+ |
'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; |
5678 |
+ |
'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; |
5679 |
+ |
'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
5680 |
+ |
|
5681 |
|
# This is an error. |
5682 |
< |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
5682 |
> |
-*) { { echo "$as_me:5682: error: unrecognized option: $1 |
5683 |
|
Try \`$0 --help' for more information." >&5 |
5684 |
|
echo "$as_me: error: unrecognized option: $1 |
5685 |
|
Try \`$0 --help' for more information." >&2;} |
5686 |
|
{ (exit 1); exit 1; }; } ;; |
5687 |
< |
|
5688 |
< |
*) ac_config_targets="$ac_config_targets $1" ;; |
5689 |
< |
|
5687 |
> |
*) { { echo "$as_me:5687: error: invalid argument: $1" >&5 |
5688 |
> |
echo "$as_me: error: invalid argument: $1" >&2;} |
5689 |
> |
{ (exit 1); exit 1; }; };; |
5690 |
|
esac |
5691 |
|
shift |
5692 |
|
done |
5693 |
|
|
5694 |
< |
ac_configure_extra_args= |
5694 |
> |
exec 5>>config.log |
5695 |
> |
cat >&5 << _ACEOF |
5696 |
|
|
5697 |
< |
if $ac_cs_silent; then |
5698 |
< |
exec 6>/dev/null |
5699 |
< |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
7348 |
< |
fi |
5697 |
> |
## ----------------------- ## |
5698 |
> |
## Running config.status. ## |
5699 |
> |
## ----------------------- ## |
5700 |
|
|
5701 |
< |
_ACEOF |
5702 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5703 |
< |
if \$ac_cs_recheck; then |
7353 |
< |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
7354 |
< |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
7355 |
< |
fi |
5701 |
> |
This file was extended by $as_me (OOPSE 1.0) 2.50, executed with |
5702 |
> |
> $ac_cs_invocation |
5703 |
> |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
5704 |
|
|
5705 |
|
_ACEOF |
5706 |
+ |
EOF |
5707 |
|
|
5708 |
< |
|
7360 |
< |
|
7361 |
< |
|
7362 |
< |
|
7363 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7364 |
< |
for ac_config_target in $ac_config_targets |
7365 |
< |
do |
7366 |
< |
case "$ac_config_target" in |
7367 |
< |
# Handling of arguments. |
7368 |
< |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
7369 |
< |
"libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;; |
7370 |
< |
"libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;; |
7371 |
< |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
7372 |
< |
"utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; |
7373 |
< |
"utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;; |
7374 |
< |
"forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;; |
7375 |
< |
"samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; |
7376 |
< |
"samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;; |
7377 |
< |
"samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;; |
7378 |
< |
"samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;; |
7379 |
< |
"samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; |
7380 |
< |
"samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; |
7381 |
< |
"samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; |
7382 |
< |
"libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
7383 |
< |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
7384 |
< |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
7385 |
< |
{ (exit 1); exit 1; }; };; |
7386 |
< |
esac |
7387 |
< |
done |
7388 |
< |
|
5708 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5709 |
|
# If the user did not use the arguments to specify the items to instantiate, |
5710 |
|
# then the envvar interface is used. Set only those that are not. |
5711 |
|
# We use the long form for the default assignment because of an extremely |
5715 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
5716 |
|
fi |
5717 |
|
|
7398 |
– |
# Have a temporary directory for convenience. Make it in the build tree |
7399 |
– |
# simply because there is no reason to put it here, and in addition, |
7400 |
– |
# creating and moving files from /tmp can sometimes cause problems. |
5718 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
5719 |
|
$debug || |
5720 |
|
{ |
5721 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
5722 |
< |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
5722 |
> |
trap '{ (exit $?); exit $?; }' 1 2 13 15 |
5723 |
|
} |
5724 |
|
|
5725 |
|
# Create a (secure) tmp directory for tmp files. |
5726 |
< |
|
5726 |
> |
: ${TMPDIR=/tmp} |
5727 |
|
{ |
5728 |
< |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
5728 |
> |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
5729 |
|
test -n "$tmp" && test -d "$tmp" |
5730 |
|
} || |
5731 |
|
{ |
5732 |
< |
tmp=./confstat$$-$RANDOM |
5732 |
> |
tmp=$TMPDIR/cs$$-$RANDOM |
5733 |
|
(umask 077 && mkdir $tmp) |
5734 |
|
} || |
5735 |
|
{ |
5736 |
< |
echo "$me: cannot create a temporary directory in ." >&2 |
5736 |
> |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
5737 |
|
{ (exit 1); exit 1; } |
5738 |
|
} |
5739 |
|
|
5740 |
< |
_ACEOF |
5740 |
> |
EOF |
5741 |
|
|
5742 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5742 |
> |
cat >>$CONFIG_STATUS <<EOF |
5743 |
|
|
5744 |
|
# |
5745 |
|
# CONFIG_FILES section. |
5752 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
5753 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
5754 |
|
s,@SHELL@,$SHELL,;t t |
7438 |
– |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
7439 |
– |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
7440 |
– |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
7441 |
– |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
7442 |
– |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
7443 |
– |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
5755 |
|
s,@exec_prefix@,$exec_prefix,;t t |
5756 |
|
s,@prefix@,$prefix,;t t |
5757 |
|
s,@program_transform_name@,$program_transform_name,;t t |
5767 |
|
s,@oldincludedir@,$oldincludedir,;t t |
5768 |
|
s,@infodir@,$infodir,;t t |
5769 |
|
s,@mandir@,$mandir,;t t |
5770 |
< |
s,@build_alias@,$build_alias,;t t |
5771 |
< |
s,@host_alias@,$host_alias,;t t |
5772 |
< |
s,@target_alias@,$target_alias,;t t |
5773 |
< |
s,@DEFS@,$DEFS,;t t |
5770 |
> |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
5771 |
> |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
5772 |
> |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
5773 |
> |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
5774 |
> |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
5775 |
|
s,@ECHO_C@,$ECHO_C,;t t |
5776 |
|
s,@ECHO_N@,$ECHO_N,;t t |
5777 |
|
s,@ECHO_T@,$ECHO_T,;t t |
5778 |
+ |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
5779 |
+ |
s,@DEFS@,$DEFS,;t t |
5780 |
|
s,@LIBS@,$LIBS,;t t |
5781 |
|
s,@PROGNAME@,$PROGNAME,;t t |
5782 |
|
s,@DEBUG@,$DEBUG,;t t |
5826 |
|
s,@MPIF90@,$MPIF90,;t t |
5827 |
|
s,@MPILIBS@,$MPILIBS,;t t |
5828 |
|
s,@CPP@,$CPP,;t t |
7515 |
– |
s,@EGREP@,$EGREP,;t t |
5829 |
|
s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t |
5830 |
|
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
5831 |
|
s,@SPRNG_INC@,$SPRNG_INC,;t t |
5834 |
|
s,@MKL_LIB@,$MKL_LIB,;t t |
5835 |
|
s,@MKL_INC@,$MKL_INC,;t t |
5836 |
|
s,@HAVE_MKL@,$HAVE_MKL,;t t |
7524 |
– |
s,@MPI_F90_MODS@,$MPI_F90_MODS,;t t |
7525 |
– |
s,@MPIMODLIBNAME@,$MPIMODLIBNAME,;t t |
5837 |
|
s,@BATEXT@,$BATEXT,;t t |
5838 |
|
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
5839 |
|
s,@OOPSE@,$OOPSE,;t t |
5840 |
|
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
5841 |
|
s,@SUBDIRS@,$SUBDIRS,;t t |
5842 |
|
s,@FFLAGS@,$FFLAGS,;t t |
7532 |
– |
s,@LIBOBJS@,$LIBOBJS,;t t |
7533 |
– |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
5843 |
|
CEOF |
5844 |
|
|
5845 |
< |
_ACEOF |
5845 |
> |
EOF |
5846 |
|
|
5847 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5847 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5848 |
|
# Split the substitutions into bite-sized pieces for seds with |
5849 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
5850 |
|
ac_max_sed_lines=48 |
5883 |
|
fi |
5884 |
|
fi # test -n "$CONFIG_FILES" |
5885 |
|
|
5886 |
< |
_ACEOF |
5887 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5886 |
> |
EOF |
5887 |
> |
cat >>$CONFIG_STATUS <<\EOF |
5888 |
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
5889 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
5890 |
|
case $ac_file in |
5898 |
|
esac |
5899 |
|
|
5900 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
5901 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7593 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5901 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5902 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
5903 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
5904 |
|
X"$ac_file" : 'X\(/\)' \| \ |
5909 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
5910 |
|
/^X\(\/\).*/{ s//\1/; q; } |
5911 |
|
s/.*/./; q'` |
5912 |
< |
{ if $as_mkdir_p; then |
5913 |
< |
mkdir -p "$ac_dir" |
5914 |
< |
else |
5915 |
< |
as_dir="$ac_dir" |
5916 |
< |
as_dirs= |
5917 |
< |
while test ! -d "$as_dir"; do |
5918 |
< |
as_dirs="$as_dir $as_dirs" |
5919 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
5920 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5921 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
5922 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
5923 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
5924 |
< |
. : '\(.\)' 2>/dev/null || |
5925 |
< |
echo X"$as_dir" | |
5926 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
5927 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7620 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
7621 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
7622 |
< |
s/.*/./; q'` |
7623 |
< |
done |
7624 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
7625 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7626 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7627 |
< |
{ (exit 1); exit 1; }; }; } |
7628 |
< |
|
7629 |
< |
ac_builddir=. |
5912 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
5913 |
> |
{ case "$ac_dir" in |
5914 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
5915 |
> |
*) as_incr_dir=.;; |
5916 |
> |
esac |
5917 |
> |
as_dummy="$ac_dir" |
5918 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
5919 |
> |
case $as_mkdir_dir in |
5920 |
> |
# Skip DOS drivespec |
5921 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
5922 |
> |
*) |
5923 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
5924 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
5925 |
> |
;; |
5926 |
> |
esac |
5927 |
> |
done; } |
5928 |
|
|
5929 |
< |
if test "$ac_dir" != .; then |
5930 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
5931 |
< |
# A "../" for each directory in $ac_dir_suffix. |
5932 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
5933 |
< |
else |
5934 |
< |
ac_dir_suffix= ac_top_builddir= |
7637 |
< |
fi |
5929 |
> |
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
5930 |
> |
# A "../" for each directory in $ac_dir_suffix. |
5931 |
> |
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
5932 |
> |
else |
5933 |
> |
ac_dir_suffix= ac_dots= |
5934 |
> |
fi |
5935 |
|
|
5936 |
< |
case $srcdir in |
5937 |
< |
.) # No --srcdir option. We are building in place. |
5938 |
< |
ac_srcdir=. |
5939 |
< |
if test -z "$ac_top_builddir"; then |
5940 |
< |
ac_top_srcdir=. |
5941 |
< |
else |
5942 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
5943 |
< |
fi ;; |
5944 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
5945 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
7649 |
< |
ac_top_srcdir=$srcdir ;; |
5936 |
> |
case $srcdir in |
5937 |
> |
.) ac_srcdir=. |
5938 |
> |
if test -z "$ac_dots"; then |
5939 |
> |
ac_top_srcdir=. |
5940 |
> |
else |
5941 |
> |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
5942 |
> |
fi ;; |
5943 |
> |
[\\/]* | ?:[\\/]* ) |
5944 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
5945 |
> |
ac_top_srcdir=$srcdir ;; |
5946 |
|
*) # Relative path. |
5947 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
5948 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
5949 |
< |
esac |
7654 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
7655 |
< |
# absolute. |
7656 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
7657 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
7658 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
7659 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
5947 |
> |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
5948 |
> |
ac_top_srcdir=$ac_dots$srcdir ;; |
5949 |
> |
esac |
5950 |
|
|
7661 |
– |
|
5951 |
|
case $INSTALL in |
5952 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
5953 |
< |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
5953 |
> |
*) ac_INSTALL=$ac_dots$INSTALL ;; |
5954 |
|
esac |
5955 |
|
|
5956 |
|
if test x"$ac_file" != x-; then |
5957 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
5957 |
> |
{ echo "$as_me:5957: creating $ac_file" >&5 |
5958 |
|
echo "$as_me: creating $ac_file" >&6;} |
5959 |
|
rm -f "$ac_file" |
5960 |
|
fi |
5961 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
5962 |
|
# use $as_me), people would be surprised to read: |
5963 |
< |
# /* config.h. Generated by config.status. */ |
5964 |
< |
if test x"$ac_file" = x-; then |
5965 |
< |
configure_input= |
7677 |
< |
else |
7678 |
< |
configure_input="$ac_file. " |
7679 |
< |
fi |
7680 |
< |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
7681 |
< |
sed 's,.*/,,'` by configure." |
5963 |
> |
# /* config.h. Generated automatically by config.status. */ |
5964 |
> |
configure_input="Generated automatically from `echo $ac_file_in | |
5965 |
> |
sed 's,.*/,,'` by configure." |
5966 |
|
|
5967 |
|
# First look for the input files in the build tree, otherwise in the |
5968 |
|
# src tree. |
5972 |
|
-) echo $tmp/stdin ;; |
5973 |
|
[\\/$]*) |
5974 |
|
# Absolute (can't be DOS-style, as IFS=:) |
5975 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
5975 |
> |
test -f "$f" || { { echo "$as_me:5975: error: cannot find input file: $f" >&5 |
5976 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
5977 |
|
{ (exit 1); exit 1; }; } |
5978 |
|
echo $f;; |
5985 |
|
echo $srcdir/$f |
5986 |
|
else |
5987 |
|
# /dev/null tree |
5988 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
5988 |
> |
{ { echo "$as_me:5988: error: cannot find input file: $f" >&5 |
5989 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
5990 |
|
{ (exit 1); exit 1; }; } |
5991 |
|
fi;; |
5992 |
|
esac |
5993 |
|
done` || { (exit 1); exit 1; } |
5994 |
< |
_ACEOF |
5995 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
5994 |
> |
EOF |
5995 |
> |
cat >>$CONFIG_STATUS <<EOF |
5996 |
|
sed "$ac_vpsub |
5997 |
|
$extrasub |
5998 |
< |
_ACEOF |
5999 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
5998 |
> |
EOF |
5999 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6000 |
|
:t |
6001 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6002 |
|
s,@configure_input@,$configure_input,;t t |
6003 |
|
s,@srcdir@,$ac_srcdir,;t t |
7720 |
– |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
6004 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
7722 |
– |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
7723 |
– |
s,@builddir@,$ac_builddir,;t t |
7724 |
– |
s,@abs_builddir@,$ac_abs_builddir,;t t |
7725 |
– |
s,@top_builddir@,$ac_top_builddir,;t t |
7726 |
– |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
6005 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
6006 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
6007 |
|
rm -f $tmp/stdin |
6013 |
|
fi |
6014 |
|
|
6015 |
|
done |
6016 |
< |
_ACEOF |
6017 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6016 |
> |
EOF |
6017 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6018 |
|
|
6019 |
|
# |
6020 |
|
# CONFIG_HEADER section. |
6046 |
|
* ) ac_file_in=$ac_file.in ;; |
6047 |
|
esac |
6048 |
|
|
6049 |
< |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
6049 |
> |
test x"$ac_file" != x- && { echo "$as_me:6049: creating $ac_file" >&5 |
6050 |
|
echo "$as_me: creating $ac_file" >&6;} |
6051 |
|
|
6052 |
|
# First look for the input files in the build tree, otherwise in the |
6057 |
|
-) echo $tmp/stdin ;; |
6058 |
|
[\\/$]*) |
6059 |
|
# Absolute (can't be DOS-style, as IFS=:) |
6060 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6060 |
> |
test -f "$f" || { { echo "$as_me:6060: error: cannot find input file: $f" >&5 |
6061 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6062 |
|
{ (exit 1); exit 1; }; } |
6063 |
|
echo $f;; |
6070 |
|
echo $srcdir/$f |
6071 |
|
else |
6072 |
|
# /dev/null tree |
6073 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6073 |
> |
{ { echo "$as_me:6073: error: cannot find input file: $f" >&5 |
6074 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
6075 |
|
{ (exit 1); exit 1; }; } |
6076 |
|
fi;; |
6079 |
|
# Remove the trailing spaces. |
6080 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
6081 |
|
|
6082 |
< |
_ACEOF |
6082 |
> |
EOF |
6083 |
|
|
6084 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
6085 |
|
# `conftest.undefs', that substitutes the proper values into |
6095 |
|
# `end' is used to avoid that the second main sed command (meant for |
6096 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
6097 |
|
# See the Autoconf documentation for `clear'. |
6098 |
< |
cat >confdef2sed.sed <<\_ACEOF |
6098 |
> |
cat >confdef2sed.sed <<\EOF |
6099 |
|
s/[\\&,]/\\&/g |
6100 |
|
s,[\\$`],\\&,g |
6101 |
|
t clear |
6102 |
|
: clear |
6103 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
6103 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
6104 |
|
t end |
6105 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
6106 |
|
: end |
6107 |
< |
_ACEOF |
6107 |
> |
EOF |
6108 |
|
# If some macros were called several times there might be several times |
6109 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
6110 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
6115 |
|
# This sed command replaces #undef with comments. This is necessary, for |
6116 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
6117 |
|
# on some systems where configure will not decide to define it. |
6118 |
< |
cat >>conftest.undefs <<\_ACEOF |
6118 |
> |
cat >>conftest.undefs <<\EOF |
6119 |
|
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
6120 |
< |
_ACEOF |
6120 |
> |
EOF |
6121 |
|
|
6122 |
|
# Break up conftest.defines because some shells have a limit on the size |
6123 |
|
# of here documents, and old seds have small limits too (100 cmds). |
6124 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
6125 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
6125 |
> |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
6126 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
6127 |
|
echo ' :' >>$CONFIG_STATUS |
6128 |
|
rm -f conftest.tail |
6146 |
|
mv conftest.tail conftest.defines |
6147 |
|
done |
6148 |
|
rm -f conftest.defines |
6149 |
< |
echo ' fi # grep' >>$CONFIG_STATUS |
6149 |
> |
echo ' fi # egrep' >>$CONFIG_STATUS |
6150 |
|
echo >>$CONFIG_STATUS |
6151 |
|
|
6152 |
|
# Break up conftest.undefs because some shells have a limit on the size |
6174 |
|
done |
6175 |
|
rm -f conftest.undefs |
6176 |
|
|
6177 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6177 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6178 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
6179 |
|
# use $as_me), people would be surprised to read: |
6180 |
< |
# /* config.h. Generated by config.status. */ |
6180 |
> |
# /* config.h. Generated automatically by config.status. */ |
6181 |
|
if test x"$ac_file" = x-; then |
6182 |
< |
echo "/* Generated by configure. */" >$tmp/config.h |
6182 |
> |
echo "/* Generated automatically by configure. */" >$tmp/config.h |
6183 |
|
else |
6184 |
< |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
6184 |
> |
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
6185 |
|
fi |
6186 |
|
cat $tmp/in >>$tmp/config.h |
6187 |
|
rm -f $tmp/in |
6188 |
|
if test x"$ac_file" != x-; then |
6189 |
< |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
6190 |
< |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6189 |
> |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
6190 |
> |
{ echo "$as_me:6190: $ac_file is unchanged" >&5 |
6191 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
6192 |
|
else |
6193 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7916 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6193 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6194 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6195 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
6196 |
|
X"$ac_file" : 'X\(/\)' \| \ |
6201 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
6202 |
|
/^X\(\/\).*/{ s//\1/; q; } |
6203 |
|
s/.*/./; q'` |
6204 |
< |
{ if $as_mkdir_p; then |
6205 |
< |
mkdir -p "$ac_dir" |
6206 |
< |
else |
6207 |
< |
as_dir="$ac_dir" |
6208 |
< |
as_dirs= |
6209 |
< |
while test ! -d "$as_dir"; do |
6210 |
< |
as_dirs="$as_dir $as_dirs" |
6211 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6212 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6213 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6214 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
6215 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
6216 |
< |
. : '\(.\)' 2>/dev/null || |
6217 |
< |
echo X"$as_dir" | |
6218 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6219 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7943 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
7944 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
7945 |
< |
s/.*/./; q'` |
7946 |
< |
done |
7947 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
7948 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7949 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7950 |
< |
{ (exit 1); exit 1; }; }; } |
6204 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
6205 |
> |
{ case "$ac_dir" in |
6206 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
6207 |
> |
*) as_incr_dir=.;; |
6208 |
> |
esac |
6209 |
> |
as_dummy="$ac_dir" |
6210 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
6211 |
> |
case $as_mkdir_dir in |
6212 |
> |
# Skip DOS drivespec |
6213 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
6214 |
> |
*) |
6215 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
6216 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
6217 |
> |
;; |
6218 |
> |
esac |
6219 |
> |
done; } |
6220 |
|
|
6221 |
+ |
fi |
6222 |
|
rm -f $ac_file |
6223 |
|
mv $tmp/config.h $ac_file |
6224 |
|
fi |
6227 |
|
rm -f $tmp/config.h |
6228 |
|
fi |
6229 |
|
done |
6230 |
< |
_ACEOF |
6230 |
> |
EOF |
6231 |
|
|
6232 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6232 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6233 |
|
|
6234 |
|
{ (exit 0); exit 0; } |
6235 |
< |
_ACEOF |
6235 |
> |
EOF |
6236 |
|
chmod +x $CONFIG_STATUS |
6237 |
|
ac_clean_files=$ac_clean_files_save |
6238 |
|
|
7969 |
– |
|
6239 |
|
# configure is writing to config.log, and then calls config.status. |
6240 |
|
# config.status does its own redirection, appending to config.log. |
6241 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
6246 |
|
# need to make the FD available again. |
6247 |
|
if test "$no_create" != yes; then |
6248 |
|
ac_cs_success=: |
7980 |
– |
ac_config_status_args= |
7981 |
– |
test "$silent" = yes && |
7982 |
– |
ac_config_status_args="$ac_config_status_args --quiet" |
6249 |
|
exec 5>/dev/null |
6250 |
< |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6250 |
> |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
6251 |
|
exec 5>>config.log |
6252 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6253 |
|
# would make configure fail if this is the last instruction. |