1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
3 |
> |
# Generated by Autoconf 2.50 for OOPSE 2.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright (C) 2003 Free Software Foundation, Inc. |
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. |
10 |
– |
## --------------------- ## |
11 |
– |
## M4sh Initialization. ## |
12 |
– |
## --------------------- ## |
11 |
|
|
12 |
|
# Be Bourne compatible |
13 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14 |
|
emulate sh |
15 |
|
NULLCMD=: |
18 |
– |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
19 |
– |
# is contrary to our usage. Disable this feature. |
20 |
– |
alias -g '${1+"$@"}'='"$@"' |
16 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
17 |
|
set -o posix |
18 |
|
fi |
24 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
19 |
|
|
26 |
– |
# Support unset when possible. |
27 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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'` |
21 |
> |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
22 |
|
|
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 |
157 |
– |
|
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 |
< |
test -d ./-p && rmdir ./-p |
224 |
< |
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 |
|
|
229 |
– |
# Sed expression to map a string onto a valid CPP name. |
230 |
– |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 |
– |
|
232 |
– |
# Sed expression to map a string onto a valid variable name. |
233 |
– |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 |
– |
|
235 |
– |
|
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 |
|
|
245 |
– |
|
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 |
257 |
– |
ac_config_libobj_dir=. |
86 |
|
cross_compiling=no |
87 |
|
subdirs= |
88 |
< |
MFLAGS= |
261 |
< |
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='2.0' |
100 |
< |
PACKAGE_STRING='OOPSE 2.0' |
274 |
< |
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 |
< |
ac_unique_file="src/applications/oopse.cpp" |
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/applications/oopse/oopse.cpp" |
107 |
|
ac_default_prefix="/usr/local" |
278 |
– |
# Factoring default headers for most tests. |
279 |
– |
ac_includes_default="\ |
280 |
– |
#include <stdio.h> |
281 |
– |
#if HAVE_SYS_TYPES_H |
282 |
– |
# include <sys/types.h> |
283 |
– |
#endif |
284 |
– |
#if HAVE_SYS_STAT_H |
285 |
– |
# include <sys/stat.h> |
286 |
– |
#endif |
287 |
– |
#if STDC_HEADERS |
288 |
– |
# include <stdlib.h> |
289 |
– |
# include <stddef.h> |
290 |
– |
#else |
291 |
– |
# if HAVE_STDLIB_H |
292 |
– |
# include <stdlib.h> |
293 |
– |
# endif |
294 |
– |
#endif |
295 |
– |
#if HAVE_STRING_H |
296 |
– |
# if !STDC_HEADERS && HAVE_MEMORY_H |
297 |
– |
# include <memory.h> |
298 |
– |
# endif |
299 |
– |
# include <string.h> |
300 |
– |
#endif |
301 |
– |
#if HAVE_STRINGS_H |
302 |
– |
# include <strings.h> |
303 |
– |
#endif |
304 |
– |
#if HAVE_INTTYPES_H |
305 |
– |
# include <inttypes.h> |
306 |
– |
#else |
307 |
– |
# if HAVE_STDINT_H |
308 |
– |
# include <stdint.h> |
309 |
– |
# endif |
310 |
– |
#endif |
311 |
– |
#if HAVE_UNISTD_H |
312 |
– |
# include <unistd.h> |
313 |
– |
#endif" |
108 |
|
|
315 |
– |
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 OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
316 |
– |
ac_subst_files='' |
317 |
– |
|
109 |
|
# Initialize some variables set by options. |
110 |
|
ac_init_help= |
111 |
|
ac_init_version=false |
143 |
|
oldincludedir='/usr/include' |
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='2.0' |
151 |
+ |
PACKAGE_STRING='OOPSE 2.0' |
152 |
+ |
PACKAGE_BUGREPORT='gezelter@nd.edu' |
153 |
|
|
154 |
|
ac_prev= |
155 |
|
for ac_option |
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. |
662 |
– |
for ac_var in exec_prefix prefix |
663 |
– |
do |
664 |
– |
eval ac_val=$`echo $ac_var` |
665 |
– |
case $ac_val in |
666 |
– |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
667 |
– |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
668 |
– |
{ (exit 1); exit 1; }; };; |
669 |
– |
esac |
670 |
– |
done |
671 |
– |
|
672 |
– |
# 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. |
686 |
– |
# 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 |
|
|
707 |
– |
|
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\(//\)[^/]' \| \ |
715 |
< |
X"$0" : 'X\(//\)$' \| \ |
716 |
< |
X"$0" : 'X\(/\)' \| \ |
717 |
< |
. : '\(.\)' 2>/dev/null || |
718 |
< |
echo X"$0" | |
719 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
720 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
721 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
722 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
723 |
< |
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 |
740 |
– |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
741 |
– |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
742 |
– |
{ (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 |
571 |
|
if test "$ac_init_help" = "long"; then |
572 |
|
# Omit some internal or obsolete options to make the list less imposing. |
573 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
574 |
< |
cat <<_ACEOF |
574 |
> |
cat <<EOF |
575 |
|
\`configure' configures OOPSE 2.0 to adapt to many kinds of systems. |
576 |
|
|
577 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
592 |
|
-n, --no-create do not create output files |
593 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
594 |
|
|
595 |
< |
_ACEOF |
595 |
> |
EOF |
596 |
|
|
597 |
< |
cat <<_ACEOF |
597 |
> |
cat <<EOF |
598 |
|
Installation directories: |
599 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
600 |
< |
[$ac_default_prefix] |
600 |
> |
[$ac_default_prefix] |
601 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
602 |
< |
[PREFIX] |
602 |
> |
[PREFIX] |
603 |
|
|
604 |
|
By default, \`make install' will install all the files in |
605 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
621 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
622 |
|
--infodir=DIR info documentation [PREFIX/info] |
623 |
|
--mandir=DIR man documentation [PREFIX/man] |
624 |
< |
_ACEOF |
624 |
> |
EOF |
625 |
|
|
626 |
< |
cat <<\_ACEOF |
626 |
> |
cat <<\EOF |
627 |
|
|
628 |
|
System types: |
629 |
|
--build=BUILD configure for building on BUILD [guessed] |
630 |
< |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
631 |
< |
_ACEOF |
630 |
> |
--host=HOST build programs to run on HOST [BUILD] |
631 |
> |
EOF |
632 |
|
fi |
633 |
|
|
634 |
|
if test -n "$ac_init_help"; then |
635 |
|
case $ac_init_help in |
636 |
|
short | recursive ) echo "Configuration of OOPSE 2.0:";; |
637 |
|
esac |
638 |
< |
cat <<\_ACEOF |
638 |
> |
cat <<\EOF |
639 |
|
|
640 |
|
Optional Features: |
641 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
642 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
643 |
|
--enable-debug Compile OOPSE in debug mode |
644 |
+ |
--enable-doxygen enable documentation generation with doxygen (auto) |
645 |
+ |
--enable-dot use 'dot' to generate graphs in doxygen (auto) |
646 |
+ |
--enable-html-docs enable HTML generation with doxygen (yes) |
647 |
+ |
--enable-latex-docs enable LaTeX documentation generation with doxygen (no) |
648 |
|
--enable-oopse-home=DIR define oopse home dir PREFIX/oopse |
649 |
|
|
650 |
|
Optional Packages: |
672 |
|
it to find libraries and programs with nonstandard names/locations. |
673 |
|
|
674 |
|
Report bugs to <gezelter@nd.edu>. |
675 |
< |
_ACEOF |
675 |
> |
EOF |
676 |
|
fi |
677 |
|
|
678 |
|
if test "$ac_init_help" = "recursive"; then |
679 |
|
# If there are subdirs, report their specific --help. |
680 |
|
ac_popdir=`pwd` |
681 |
< |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
682 |
< |
test -d $ac_dir || continue |
683 |
< |
ac_builddir=. |
681 |
> |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
682 |
> |
cd $ac_subdir |
683 |
> |
# A "../" for each directory in /$ac_subdir. |
684 |
> |
ac_dots=`echo $ac_subdir | |
685 |
> |
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
686 |
|
|
687 |
< |
if test "$ac_dir" != .; then |
688 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
689 |
< |
# A "../" for each directory in $ac_dir_suffix. |
690 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
691 |
< |
else |
692 |
< |
ac_dir_suffix= ac_top_builddir= |
693 |
< |
fi |
687 |
> |
case $srcdir in |
688 |
> |
.) # No --srcdir option. We are building in place. |
689 |
> |
ac_sub_srcdir=$srcdir ;; |
690 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
691 |
> |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
692 |
> |
*) # Relative path. |
693 |
> |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
694 |
> |
esac |
695 |
|
|
696 |
< |
case $srcdir in |
697 |
< |
.) # No --srcdir option. We are building in place. |
916 |
< |
ac_srcdir=. |
917 |
< |
if test -z "$ac_top_builddir"; then |
918 |
< |
ac_top_srcdir=. |
919 |
< |
else |
920 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
921 |
< |
fi ;; |
922 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
923 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
924 |
< |
ac_top_srcdir=$srcdir ;; |
925 |
< |
*) # Relative path. |
926 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
927 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
928 |
< |
esac |
929 |
< |
|
930 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
931 |
< |
# the directories may not exist. |
932 |
< |
case `pwd` in |
933 |
< |
.) ac_abs_builddir="$ac_dir";; |
934 |
< |
*) |
935 |
< |
case "$ac_dir" in |
936 |
< |
.) ac_abs_builddir=`pwd`;; |
937 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
938 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
939 |
< |
esac;; |
940 |
< |
esac |
941 |
< |
case $ac_abs_builddir in |
942 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
943 |
< |
*) |
944 |
< |
case ${ac_top_builddir}. in |
945 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
946 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
947 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
948 |
< |
esac;; |
949 |
< |
esac |
950 |
< |
case $ac_abs_builddir in |
951 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
952 |
< |
*) |
953 |
< |
case $ac_srcdir in |
954 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
955 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
956 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
957 |
< |
esac;; |
958 |
< |
esac |
959 |
< |
case $ac_abs_builddir in |
960 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
961 |
< |
*) |
962 |
< |
case $ac_top_srcdir in |
963 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
964 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
965 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
966 |
< |
esac;; |
967 |
< |
esac |
968 |
< |
|
969 |
< |
cd $ac_dir |
970 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
971 |
< |
if test -f $ac_srcdir/configure.gnu; then |
696 |
> |
# Check for guested configure; otherwise get Cygnus style configure. |
697 |
> |
if test -f $ac_sub_srcdir/configure.gnu; then |
698 |
|
echo |
699 |
< |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
700 |
< |
elif test -f $ac_srcdir/configure; then |
699 |
> |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
700 |
> |
elif test -f $ac_sub_srcdir/configure; then |
701 |
|
echo |
702 |
< |
$SHELL $ac_srcdir/configure --help=recursive |
703 |
< |
elif test -f $ac_srcdir/configure.ac || |
704 |
< |
test -f $ac_srcdir/configure.in; then |
702 |
> |
$SHELL $ac_sub_srcdir/configure --help=recursive |
703 |
> |
elif test -f $ac_sub_srcdir/configure.ac || |
704 |
> |
test -f $ac_sub_srcdir/configure.in; then |
705 |
|
echo |
706 |
|
$ac_configure --help |
707 |
|
else |
708 |
< |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
708 |
> |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
709 |
|
fi |
710 |
|
cd $ac_popdir |
711 |
|
done |
713 |
|
|
714 |
|
test -n "$ac_init_help" && exit 0 |
715 |
|
if $ac_init_version; then |
716 |
< |
cat <<\_ACEOF |
716 |
> |
cat <<\EOF |
717 |
|
OOPSE configure 2.0 |
718 |
< |
generated by GNU Autoconf 2.59 |
718 |
> |
generated by GNU Autoconf 2.50 |
719 |
|
|
720 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
720 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
721 |
> |
Free Software Foundation, Inc. |
722 |
|
This configure script is free software; the Free Software Foundation |
723 |
|
gives unlimited permission to copy, distribute and modify it. |
724 |
< |
_ACEOF |
724 |
> |
EOF |
725 |
|
exit 0 |
726 |
|
fi |
727 |
|
exec 5>config.log |
728 |
< |
cat >&5 <<_ACEOF |
728 |
> |
cat >&5 <<EOF |
729 |
|
This file contains any messages produced by compilers while |
730 |
|
running configure, to aid debugging if configure makes a mistake. |
731 |
|
|
732 |
|
It was created by OOPSE $as_me 2.0, which was |
733 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
733 |
> |
generated by GNU Autoconf 2.50. Invocation command line was |
734 |
|
|
735 |
|
$ $0 $@ |
736 |
|
|
737 |
< |
_ACEOF |
737 |
> |
EOF |
738 |
|
{ |
739 |
|
cat <<_ASUNAME |
740 |
< |
## --------- ## |
741 |
< |
## Platform. ## |
742 |
< |
## --------- ## |
740 |
> |
## ---------- ## |
741 |
> |
## Platform. ## |
742 |
> |
## ---------- ## |
743 |
|
|
744 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
745 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
758 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
759 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
760 |
|
|
761 |
< |
_ASUNAME |
761 |
> |
PATH = $PATH |
762 |
|
|
763 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1037 |
< |
for as_dir in $PATH |
1038 |
< |
do |
1039 |
< |
IFS=$as_save_IFS |
1040 |
< |
test -z "$as_dir" && as_dir=. |
1041 |
< |
echo "PATH: $as_dir" |
1042 |
< |
done |
1043 |
< |
|
763 |
> |
_ASUNAME |
764 |
|
} >&5 |
765 |
|
|
766 |
< |
cat >&5 <<_ACEOF |
766 |
> |
cat >&5 <<EOF |
767 |
> |
## ------------ ## |
768 |
> |
## Core tests. ## |
769 |
> |
## ------------ ## |
770 |
|
|
771 |
+ |
EOF |
772 |
|
|
1049 |
– |
## ----------- ## |
1050 |
– |
## Core tests. ## |
1051 |
– |
## ----------- ## |
1052 |
– |
|
1053 |
– |
_ACEOF |
1054 |
– |
|
1055 |
– |
|
773 |
|
# Keep a trace of the command line. |
774 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1058 |
– |
# Strip out --silent because we don't want to record it for future runs. |
775 |
|
# Also quote any args containing shell meta-characters. |
1060 |
– |
# Make two passes to allow for proper duplicate-argument suppression. |
776 |
|
ac_configure_args= |
1062 |
– |
ac_configure_args0= |
1063 |
– |
ac_configure_args1= |
777 |
|
ac_sep= |
778 |
< |
ac_must_keep_next=false |
1066 |
< |
for ac_pass in 1 2 |
778 |
> |
for ac_arg |
779 |
|
do |
780 |
< |
for ac_arg |
781 |
< |
do |
782 |
< |
case $ac_arg in |
783 |
< |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
784 |
< |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
785 |
< |
| -silent | --silent | --silen | --sile | --sil) |
786 |
< |
continue ;; |
787 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
788 |
< |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
789 |
< |
esac |
790 |
< |
case $ac_pass in |
791 |
< |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
792 |
< |
2) |
1081 |
< |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1082 |
< |
if test $ac_must_keep_next = true; then |
1083 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1084 |
< |
else |
1085 |
< |
case $ac_arg in |
1086 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1087 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1088 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1089 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1090 |
< |
case "$ac_configure_args0 " in |
1091 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1092 |
< |
esac |
1093 |
< |
;; |
1094 |
< |
-* ) ac_must_keep_next=true ;; |
1095 |
< |
esac |
1096 |
< |
fi |
1097 |
< |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1098 |
< |
# Get rid of the leading space. |
1099 |
< |
ac_sep=" " |
1100 |
< |
;; |
1101 |
< |
esac |
1102 |
< |
done |
780 |
> |
case $ac_arg in |
781 |
> |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
782 |
> |
| --no-cr | --no-c) ;; |
783 |
> |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
784 |
> |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
785 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
786 |
> |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
787 |
> |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
788 |
> |
ac_sep=" " ;; |
789 |
> |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
790 |
> |
ac_sep=" " ;; |
791 |
> |
esac |
792 |
> |
# Get rid of the leading space. |
793 |
|
done |
1104 |
– |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1105 |
– |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
794 |
|
|
795 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
796 |
|
# config.log. We remove comments because anyway the quotes in there |
797 |
|
# would cause problems or look ugly. |
1110 |
– |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1111 |
– |
# such as our DU 5.0 friend, will then `close' the trap. |
798 |
|
trap 'exit_status=$? |
799 |
|
# Save into config.log some information that might help in debugging. |
800 |
< |
{ |
801 |
< |
echo |
802 |
< |
|
803 |
< |
cat <<\_ASBOX |
804 |
< |
## ---------------- ## |
805 |
< |
## Cache variables. ## |
1120 |
< |
## ---------------- ## |
1121 |
< |
_ASBOX |
1122 |
< |
echo |
1123 |
< |
# The following way of writing the cache mishandles newlines in values, |
800 |
> |
echo >&5 |
801 |
> |
echo "## ----------------- ##" >&5 |
802 |
> |
echo "## Cache variables. ##" >&5 |
803 |
> |
echo "## ----------------- ##" >&5 |
804 |
> |
echo >&5 |
805 |
> |
# The following way of writing the cache mishandles newlines in values, |
806 |
|
{ |
807 |
|
(set) 2>&1 | |
808 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
809 |
|
*ac_space=\ *) |
810 |
|
sed -n \ |
811 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
812 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
811 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
812 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
813 |
|
;; |
814 |
|
*) |
815 |
|
sed -n \ |
816 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
816 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
817 |
|
;; |
818 |
|
esac; |
819 |
< |
} |
820 |
< |
echo |
821 |
< |
|
822 |
< |
cat <<\_ASBOX |
823 |
< |
## ----------------- ## |
824 |
< |
## Output variables. ## |
825 |
< |
## ----------------- ## |
826 |
< |
_ASBOX |
827 |
< |
echo |
828 |
< |
for ac_var in $ac_subst_vars |
829 |
< |
do |
830 |
< |
eval ac_val=$`echo $ac_var` |
831 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
832 |
< |
done | sort |
833 |
< |
echo |
1152 |
< |
|
1153 |
< |
if test -n "$ac_subst_files"; then |
1154 |
< |
cat <<\_ASBOX |
1155 |
< |
## ------------- ## |
1156 |
< |
## Output files. ## |
1157 |
< |
## ------------- ## |
1158 |
< |
_ASBOX |
1159 |
< |
echo |
1160 |
< |
for ac_var in $ac_subst_files |
1161 |
< |
do |
1162 |
< |
eval ac_val=$`echo $ac_var` |
1163 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1164 |
< |
done | sort |
1165 |
< |
echo |
1166 |
< |
fi |
1167 |
< |
|
1168 |
< |
if test -s confdefs.h; then |
1169 |
< |
cat <<\_ASBOX |
1170 |
< |
## ----------- ## |
1171 |
< |
## confdefs.h. ## |
1172 |
< |
## ----------- ## |
1173 |
< |
_ASBOX |
1174 |
< |
echo |
1175 |
< |
sed "/^$/d" confdefs.h | sort |
1176 |
< |
echo |
1177 |
< |
fi |
1178 |
< |
test "$ac_signal" != 0 && |
1179 |
< |
echo "$as_me: caught signal $ac_signal" |
1180 |
< |
echo "$as_me: exit $exit_status" |
1181 |
< |
} >&5 |
1182 |
< |
rm -f core *.core && |
1183 |
< |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
819 |
> |
} >&5 |
820 |
> |
sed "/^$/d" confdefs.h >conftest.log |
821 |
> |
if test -s conftest.log; then |
822 |
> |
echo >&5 |
823 |
> |
echo "## ------------ ##" >&5 |
824 |
> |
echo "## confdefs.h. ##" >&5 |
825 |
> |
echo "## ------------ ##" >&5 |
826 |
> |
echo >&5 |
827 |
> |
cat conftest.log >&5 |
828 |
> |
fi |
829 |
> |
(echo; echo) >&5 |
830 |
> |
test "$ac_signal" != 0 && |
831 |
> |
echo "$as_me: caught signal $ac_signal" >&5 |
832 |
> |
echo "$as_me: exit $exit_status" >&5 |
833 |
> |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
834 |
|
exit $exit_status |
835 |
|
' 0 |
836 |
|
for ac_signal in 1 2 13 15; do |
837 |
< |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
837 |
> |
trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal |
838 |
|
done |
839 |
|
ac_signal=0 |
840 |
|
|
843 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
844 |
|
echo >confdefs.h |
845 |
|
|
1196 |
– |
# Predefined preprocessor variables. |
1197 |
– |
|
1198 |
– |
cat >>confdefs.h <<_ACEOF |
1199 |
– |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1200 |
– |
_ACEOF |
1201 |
– |
|
1202 |
– |
|
1203 |
– |
cat >>confdefs.h <<_ACEOF |
1204 |
– |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1205 |
– |
_ACEOF |
1206 |
– |
|
1207 |
– |
|
1208 |
– |
cat >>confdefs.h <<_ACEOF |
1209 |
– |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1210 |
– |
_ACEOF |
1211 |
– |
|
1212 |
– |
|
1213 |
– |
cat >>confdefs.h <<_ACEOF |
1214 |
– |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1215 |
– |
_ACEOF |
1216 |
– |
|
1217 |
– |
|
1218 |
– |
cat >>confdefs.h <<_ACEOF |
1219 |
– |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1220 |
– |
_ACEOF |
1221 |
– |
|
1222 |
– |
|
846 |
|
# Let the site file select an alternate cache file if it wants to. |
847 |
|
# Prefer explicitly selected file to automatically selected ones. |
848 |
|
if test -z "$CONFIG_SITE"; then |
854 |
|
fi |
855 |
|
for ac_site_file in $CONFIG_SITE; do |
856 |
|
if test -r "$ac_site_file"; then |
857 |
< |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
857 |
> |
{ echo "$as_me:857: loading site script $ac_site_file" >&5 |
858 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
859 |
< |
sed 's/^/| /' "$ac_site_file" >&5 |
859 |
> |
cat "$ac_site_file" >&5 |
860 |
|
. "$ac_site_file" |
861 |
|
fi |
862 |
|
done |
865 |
|
# Some versions of bash will fail to source /dev/null (special |
866 |
|
# files actually), so we avoid doing that. |
867 |
|
if test -f "$cache_file"; then |
868 |
< |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
868 |
> |
{ echo "$as_me:868: loading cache $cache_file" >&5 |
869 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
870 |
|
case $cache_file in |
871 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
873 |
|
esac |
874 |
|
fi |
875 |
|
else |
876 |
< |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
876 |
> |
{ echo "$as_me:876: creating cache $cache_file" >&5 |
877 |
|
echo "$as_me: creating cache $cache_file" >&6;} |
878 |
|
>$cache_file |
879 |
|
fi |
880 |
|
|
881 |
|
# Check that the precious variables saved in the cache have kept the same |
882 |
|
# value. |
883 |
< |
ac_cache_corrupted=false |
883 |
> |
ac_suggest_removing_cache=false |
884 |
|
for ac_var in `(set) 2>&1 | |
885 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
885 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
886 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
887 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
888 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
889 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
890 |
|
case $ac_old_set,$ac_new_set in |
891 |
|
set,) |
892 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
893 |
< |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
894 |
< |
ac_cache_corrupted=: ;; |
892 |
> |
{ echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
893 |
> |
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
894 |
> |
ac_suggest_removing_cache=: ;; |
895 |
|
,set) |
896 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
897 |
< |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
898 |
< |
ac_cache_corrupted=: ;; |
896 |
> |
{ echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5 |
897 |
> |
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} |
898 |
> |
ac_suggest_removing_cache=: ;; |
899 |
|
,);; |
900 |
|
*) |
901 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
902 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
903 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
904 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
905 |
< |
echo "$as_me: former value: $ac_old_val" >&2;} |
906 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
907 |
< |
echo "$as_me: current value: $ac_new_val" >&2;} |
908 |
< |
ac_cache_corrupted=: |
902 |
> |
{ echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5 |
903 |
> |
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} |
904 |
> |
{ echo "$as_me:904: WARNING: former value: $ac_old_val" >&5 |
905 |
> |
echo "$as_me: WARNING: former value: $ac_old_val" >&2;} |
906 |
> |
{ echo "$as_me:906: WARNING: current value: $ac_new_val" >&5 |
907 |
> |
echo "$as_me: WARNING: current value: $ac_new_val" >&2;} |
908 |
> |
ac_suggest_removing_cache=: |
909 |
|
fi;; |
910 |
|
esac |
1288 |
– |
# Pass precious variables to config.status. |
1289 |
– |
if test "$ac_new_set" = set; then |
1290 |
– |
case $ac_new_val in |
1291 |
– |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1292 |
– |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1293 |
– |
*) ac_arg=$ac_var=$ac_new_val ;; |
1294 |
– |
esac |
1295 |
– |
case " $ac_configure_args " in |
1296 |
– |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1297 |
– |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1298 |
– |
esac |
1299 |
– |
fi |
911 |
|
done |
912 |
< |
if $ac_cache_corrupted; then |
913 |
< |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
914 |
< |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
915 |
< |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
916 |
< |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1306 |
< |
{ (exit 1); exit 1; }; } |
912 |
> |
if $ac_suggest_removing_cache; then |
913 |
> |
{ echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5 |
914 |
> |
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} |
915 |
> |
{ echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5 |
916 |
> |
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} |
917 |
|
fi |
918 |
|
|
919 |
|
ac_ext=c |
922 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
923 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
924 |
|
|
925 |
< |
|
926 |
< |
|
927 |
< |
|
928 |
< |
|
929 |
< |
|
930 |
< |
|
931 |
< |
|
932 |
< |
|
933 |
< |
|
934 |
< |
|
935 |
< |
|
936 |
< |
|
937 |
< |
|
938 |
< |
|
939 |
< |
|
940 |
< |
|
941 |
< |
|
942 |
< |
|
943 |
< |
|
944 |
< |
|
1335 |
< |
|
1336 |
< |
|
1337 |
< |
|
1338 |
< |
|
1339 |
< |
|
925 |
> |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
926 |
> |
*c*,-n*) ECHO_N= ECHO_C=' |
927 |
> |
' ECHO_T=' ' ;; |
928 |
> |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
929 |
> |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
930 |
> |
esac |
931 |
> |
echo "#! $SHELL" >conftest.sh |
932 |
> |
echo "exit 0" >>conftest.sh |
933 |
> |
chmod +x conftest.sh |
934 |
> |
if { (echo "$as_me:934: PATH=\".;.\"; conftest.sh") >&5 |
935 |
> |
(PATH=".;."; conftest.sh) 2>&5 |
936 |
> |
ac_status=$? |
937 |
> |
echo "$as_me:937: \$? = $ac_status" >&5 |
938 |
> |
(exit $ac_status); }; then |
939 |
> |
ac_path_separator=';' |
940 |
> |
else |
941 |
> |
ac_path_separator=: |
942 |
> |
fi |
943 |
> |
PATH_SEPARATOR="$ac_path_separator" |
944 |
> |
rm -f conftest.sh |
945 |
|
|
946 |
|
ac_aux_dir= |
947 |
|
for ac_dir in ac-tools $srcdir/ac-tools; do |
960 |
|
fi |
961 |
|
done |
962 |
|
if test -z "$ac_aux_dir"; then |
963 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
963 |
> |
{ { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
964 |
|
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} |
965 |
|
{ (exit 1); exit 1; }; } |
966 |
|
fi |
968 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
969 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
970 |
|
|
1366 |
– |
|
971 |
|
# This file is part of Autoconf. -*- Autoconf -*- |
972 |
|
# Programming languages support. |
973 |
|
# Copyright 2000, 2001 |
1018 |
|
# Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably |
1019 |
|
# many others). |
1020 |
|
|
1417 |
– |
|
1021 |
|
# Table of Contents: |
1022 |
|
# |
1023 |
|
# 1. Language selection |
1053 |
|
# ACTION-IF-NOT-FOUND. |
1054 |
|
# _AC_LIST_MEMBER_IF |
1055 |
|
|
1453 |
– |
|
1454 |
– |
|
1056 |
|
# _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) |
1057 |
|
# ------------------------------------------------- |
1058 |
|
# |
1083 |
|
# FIXME: Get rid of this macro. |
1084 |
|
# _AC_LINKER_OPTION |
1085 |
|
|
1485 |
– |
|
1486 |
– |
|
1086 |
|
## ----------------------- ## |
1087 |
|
## 1. Language selection. ## |
1088 |
|
## ----------------------- ## |
1094 |
|
# AC_LANG(Fortran 90) |
1095 |
|
# ------------------- |
1096 |
|
|
1498 |
– |
|
1499 |
– |
|
1097 |
|
# _AC_LANG_ABBREV(Fortran 90) |
1098 |
|
# --------------------------- |
1099 |
|
|
1503 |
– |
|
1504 |
– |
|
1100 |
|
# ----------------------------- # |
1101 |
|
# 1c. The Fortran 95 language. # |
1102 |
|
# ----------------------------- # |
1104 |
|
# AC_LANG(Fortran 95) |
1105 |
|
# ------------------- |
1106 |
|
|
1512 |
– |
|
1513 |
– |
|
1107 |
|
# _AC_LANG_ABBREV(Fortran 95) |
1108 |
|
# --------------------------- |
1109 |
|
|
1517 |
– |
|
1518 |
– |
|
1110 |
|
## ---------------------- ## |
1111 |
|
## 2.Producing programs. ## |
1112 |
|
## ---------------------- ## |
1118 |
|
# AC_LANG_SOURCE(Fortran 90)(BODY) |
1119 |
|
# -------------------------------- |
1120 |
|
|
1530 |
– |
|
1531 |
– |
|
1121 |
|
# AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) |
1122 |
|
# ----------------------------------------------- |
1123 |
|
|
1535 |
– |
|
1124 |
|
# AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) |
1125 |
|
# -------------------------------------------- |
1126 |
|
|
1539 |
– |
|
1540 |
– |
|
1127 |
|
# ------------------------ # |
1128 |
|
# 2c. Fortran 95 sources. # |
1129 |
|
# ------------------------ # |
1131 |
|
# AC_LANG_SOURCE(Fortran 95)(BODY) |
1132 |
|
# -------------------------------- |
1133 |
|
|
1548 |
– |
|
1134 |
|
# AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) |
1135 |
|
# ----------------------------------------------- |
1136 |
|
|
1552 |
– |
|
1137 |
|
# AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) |
1138 |
|
# -------------------------------------------- |
1139 |
|
|
1556 |
– |
|
1557 |
– |
|
1140 |
|
## -------------------------------------------- ## |
1141 |
|
## 3. Looking for Compilers and Preprocessors. ## |
1142 |
|
## -------------------------------------------- ## |
1145 |
|
# 3b. The Fortran 90 compiler. # |
1146 |
|
# ----------------------------- # |
1147 |
|
|
1566 |
– |
|
1148 |
|
# AC_LANG_PREPROC(Fortran 90) |
1149 |
|
# --------------------------- |
1150 |
|
# Find the Fortran 90 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1151 |
|
|
1571 |
– |
|
1572 |
– |
|
1152 |
|
# AC_LANG_COMPILER(Fortran 90) |
1153 |
|
# ---------------------------- |
1154 |
|
# Find the Fortran 90 compiler. Must be AC_DEFUN'd to be |
1155 |
|
# AC_REQUIRE'able. |
1156 |
|
|
1578 |
– |
|
1579 |
– |
|
1157 |
|
# AC_PROG_F90([COMPILERS...]) |
1158 |
|
# --------------------------- |
1159 |
|
# COMPILERS is a space separated list of Fortran 90 compilers to search |
1170 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1171 |
|
# AC_PROG_F90 |
1172 |
|
|
1596 |
– |
|
1173 |
|
# ----------------------------- # |
1174 |
|
# 3c. The Fortran 95 compiler. # |
1175 |
|
# ----------------------------- # |
1600 |
– |
|
1176 |
|
|
1177 |
|
# AC_LANG_PREPROC(Fortran 95) |
1178 |
|
# --------------------------- |
1179 |
|
# Find the Fortran 95 preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. |
1180 |
|
|
1606 |
– |
|
1607 |
– |
|
1181 |
|
# AC_LANG_COMPILER(Fortran 95) |
1182 |
|
# ---------------------------- |
1183 |
|
# Find the Fortran 95 compiler. Must be AC_DEFUN'd to be |
1184 |
|
# AC_REQUIRE'able. |
1185 |
|
|
1613 |
– |
|
1614 |
– |
|
1186 |
|
# AC_PROG_F95([COMPILERS...]) |
1187 |
|
# --------------------------- |
1188 |
|
# COMPILERS is a space separated list of Fortran 95 compilers to search |
1196 |
|
# fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. |
1197 |
|
# AC_PROG_F95 |
1198 |
|
|
1628 |
– |
|
1199 |
|
## ------------------------------- ## |
1200 |
|
## 4. Compilers' characteristics. ## |
1201 |
|
## ------------------------------- ## |
1202 |
|
|
1633 |
– |
|
1203 |
|
# ---------------------------------------- # |
1204 |
|
# 4b. Fortan 90 compiler characteristics. # |
1205 |
|
# ---------------------------------------- # |
1206 |
|
|
1638 |
– |
|
1207 |
|
# _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) |
1208 |
|
# ------------------------------------------------- |
1209 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1214 |
|
# space-separated items. |
1215 |
|
# _AC_PROG_F90_V_OUTPUT |
1216 |
|
|
1649 |
– |
|
1217 |
|
# _AC_PROG_F90_V |
1218 |
|
# -------------- |
1219 |
|
# |
1223 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1224 |
|
# _AC_PROG_F90_V |
1225 |
|
|
1659 |
– |
|
1226 |
|
# AC_F90_LIBRARY_LDFLAGS |
1227 |
|
# ---------------------- |
1228 |
|
# |
1250 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1251 |
|
# AC_F90_LIBRARY_LDFLAGS |
1252 |
|
|
1687 |
– |
|
1253 |
|
# _AC_F90_NAME_MANGLING |
1254 |
|
# --------------------- |
1255 |
|
# Test for the name mangling scheme used by the Fortran 90 compiler. |
1269 |
|
|
1270 |
|
# The replacement is empty. |
1271 |
|
|
1707 |
– |
|
1708 |
– |
|
1272 |
|
# AC_F90_WRAPPERS |
1273 |
|
# --------------- |
1274 |
|
# Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to |
1277 |
|
# scheme used by the Fortran 90 compiler. |
1278 |
|
# AC_F90_WRAPPERS |
1279 |
|
|
1717 |
– |
|
1280 |
|
# AC_F90_FUNC(NAME, [SHELLVAR = NAME]) |
1281 |
|
# ------------------------------------ |
1282 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1284 |
|
# argument is not supplied, it defaults to NAME. |
1285 |
|
# AC_F90_FUNC |
1286 |
|
|
1725 |
– |
|
1287 |
|
# ---------------------------------------- # |
1288 |
|
# 4c. Fortan 95 compiler characteristics. # |
1289 |
|
# ---------------------------------------- # |
1290 |
|
|
1730 |
– |
|
1291 |
|
# _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) |
1292 |
|
# ------------------------------------------------- |
1293 |
|
# Link a trivial Fortran program, compiling with a verbose output FLAG |
1298 |
|
# space-separated items. |
1299 |
|
# _AC_PROG_F95_V_OUTPUT |
1300 |
|
|
1741 |
– |
|
1301 |
|
# _AC_PROG_F95_V |
1302 |
|
# -------------- |
1303 |
|
# |
1307 |
|
# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) |
1308 |
|
# _AC_PROG_F95_V |
1309 |
|
|
1751 |
– |
|
1310 |
|
# AC_F95_LIBRARY_LDFLAGS |
1311 |
|
# ---------------------- |
1312 |
|
# |
1334 |
|
# This macro was copied from the Fortran 77 version by Matthew D. Langston. |
1335 |
|
# AC_F95_LIBRARY_LDFLAGS |
1336 |
|
|
1779 |
– |
|
1337 |
|
# _AC_F95_NAME_MANGLING |
1338 |
|
# --------------------- |
1339 |
|
# Test for the name mangling scheme used by the Fortran 95 compiler. |
1353 |
|
|
1354 |
|
# The replacement is empty. |
1355 |
|
|
1799 |
– |
|
1800 |
– |
|
1356 |
|
# AC_F95_WRAPPERS |
1357 |
|
# --------------- |
1358 |
|
# Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to |
1361 |
|
# scheme used by the Fortran 95 compiler. |
1362 |
|
# AC_F95_WRAPPERS |
1363 |
|
|
1809 |
– |
|
1364 |
|
# AC_F95_FUNC(NAME, [SHELLVAR = NAME]) |
1365 |
|
# ------------------------------------ |
1366 |
|
# For a Fortran subroutine of given NAME, define a shell variable |
1368 |
|
# argument is not supplied, it defaults to NAME. |
1369 |
|
# AC_F95_FUNC |
1370 |
|
|
1371 |
< |
|
1372 |
< |
|
1373 |
< |
|
1374 |
< |
|
1375 |
< |
|
1376 |
< |
|
1823 |
< |
|
1824 |
< |
|
1825 |
< |
|
1826 |
< |
|
1827 |
< |
|
1828 |
< |
|
1371 |
> |
# AC_F90_MODULE_NAMES |
1372 |
> |
# ------------------- |
1373 |
> |
# |
1374 |
> |
# Figure out how the Fortran 90 compiler constructs module file names |
1375 |
> |
# |
1376 |
> |
# AC_F90_MODULE_NAMES |
1377 |
|
|
1830 |
– |
|
1831 |
– |
|
1832 |
– |
|
1833 |
– |
|
1834 |
– |
|
1835 |
– |
|
1836 |
– |
|
1837 |
– |
|
1838 |
– |
|
1839 |
– |
|
1840 |
– |
|
1841 |
– |
|
1842 |
– |
|
1843 |
– |
|
1844 |
– |
|
1845 |
– |
|
1846 |
– |
|
1847 |
– |
|
1848 |
– |
|
1849 |
– |
|
1850 |
– |
|
1851 |
– |
|
1852 |
– |
|
1853 |
– |
|
1854 |
– |
|
1855 |
– |
|
1856 |
– |
|
1857 |
– |
|
1858 |
– |
|
1859 |
– |
|
1860 |
– |
|
1861 |
– |
|
1862 |
– |
|
1863 |
– |
|
1864 |
– |
|
1865 |
– |
|
1866 |
– |
|
1867 |
– |
|
1868 |
– |
|
1869 |
– |
|
1870 |
– |
|
1378 |
|
# set program name |
1379 |
|
PROGNAME="oopse" |
1380 |
|
|
1874 |
– |
|
1381 |
|
# there are two ways to do debugging. One with the --enable-debug flag |
1382 |
|
# and one using the DEBUG environment variable |
1383 |
|
|
1389 |
|
fi; |
1390 |
|
if test "${DEBUG}"; then |
1391 |
|
|
1392 |
< |
cat >>confdefs.h <<\_ACEOF |
1392 |
> |
cat >>confdefs.h <<\EOF |
1393 |
|
#define debug 1 |
1394 |
< |
_ACEOF |
1394 |
> |
EOF |
1395 |
|
|
1396 |
|
msg="$msg, debug mode" |
1397 |
|
fi |
1398 |
|
|
1893 |
– |
|
1399 |
|
# who am i |
1400 |
|
# Make sure we can run config.sub. |
1401 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
1402 |
< |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1402 |
> |
{ { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5 |
1403 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1404 |
|
{ (exit 1); exit 1; }; } |
1405 |
|
|
1406 |
< |
echo "$as_me:$LINENO: checking build system type" >&5 |
1406 |
> |
echo "$as_me:1406: checking build system type" >&5 |
1407 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1408 |
|
if test "${ac_cv_build+set}" = set; then |
1409 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1412 |
|
test -z "$ac_cv_build_alias" && |
1413 |
|
ac_cv_build_alias=`$ac_config_guess` |
1414 |
|
test -z "$ac_cv_build_alias" && |
1415 |
< |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1415 |
> |
{ { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5 |
1416 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1417 |
|
{ (exit 1); exit 1; }; } |
1418 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1419 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1420 |
< |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1419 |
> |
{ { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1420 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1421 |
|
{ (exit 1); exit 1; }; } |
1422 |
|
|
1423 |
|
fi |
1424 |
< |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1424 |
> |
echo "$as_me:1424: result: $ac_cv_build" >&5 |
1425 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1426 |
|
build=$ac_cv_build |
1427 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1428 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1429 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1430 |
|
|
1431 |
< |
|
1927 |
< |
echo "$as_me:$LINENO: checking host system type" >&5 |
1431 |
> |
echo "$as_me:1431: checking host system type" >&5 |
1432 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1433 |
|
if test "${ac_cv_host+set}" = set; then |
1434 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1437 |
|
test -z "$ac_cv_host_alias" && |
1438 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1439 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1440 |
< |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1440 |
> |
{ { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1441 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1442 |
|
{ (exit 1); exit 1; }; } |
1443 |
|
|
1444 |
|
fi |
1445 |
< |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1445 |
> |
echo "$as_me:1445: result: $ac_cv_host" >&5 |
1446 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1447 |
|
host=$ac_cv_host |
1448 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1449 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1450 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1451 |
|
|
1948 |
– |
|
1949 |
– |
|
1452 |
|
ac_ext=c |
1453 |
|
ac_cpp='$CPP $CPPFLAGS' |
1454 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1459 |
|
do |
1460 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1461 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1462 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1462 |
> |
echo "$as_me:1462: checking for $ac_word" >&5 |
1463 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1464 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1465 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1467 |
|
if test -n "$CC"; then |
1468 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1469 |
|
else |
1470 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1471 |
< |
for as_dir in $PATH |
1472 |
< |
do |
1473 |
< |
IFS=$as_save_IFS |
1474 |
< |
test -z "$as_dir" && as_dir=. |
1475 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1476 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1477 |
< |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1478 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1977 |
< |
break 2 |
1978 |
< |
fi |
1470 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1471 |
> |
ac_dummy="$PATH" |
1472 |
> |
for ac_dir in $ac_dummy; do |
1473 |
> |
IFS=$ac_save_IFS |
1474 |
> |
test -z "$ac_dir" && ac_dir=. |
1475 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1476 |
> |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1477 |
> |
echo "$as_me:1477: found $ac_dir/$ac_word" >&5 |
1478 |
> |
break |
1479 |
|
done |
1980 |
– |
done |
1480 |
|
|
1481 |
|
fi |
1482 |
|
fi |
1483 |
|
CC=$ac_cv_prog_CC |
1484 |
|
if test -n "$CC"; then |
1485 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
1485 |
> |
echo "$as_me:1485: result: $CC" >&5 |
1486 |
|
echo "${ECHO_T}$CC" >&6 |
1487 |
|
else |
1488 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1488 |
> |
echo "$as_me:1488: result: no" >&5 |
1489 |
|
echo "${ECHO_T}no" >&6 |
1490 |
|
fi |
1491 |
|
|
1498 |
|
do |
1499 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1500 |
|
set dummy $ac_prog; ac_word=$2 |
1501 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1501 |
> |
echo "$as_me:1501: checking for $ac_word" >&5 |
1502 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1503 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1504 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1506 |
|
if test -n "$ac_ct_CC"; then |
1507 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1508 |
|
else |
1509 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1510 |
< |
for as_dir in $PATH |
1511 |
< |
do |
1512 |
< |
IFS=$as_save_IFS |
1513 |
< |
test -z "$as_dir" && as_dir=. |
1514 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1515 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1516 |
< |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1517 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2019 |
< |
break 2 |
2020 |
< |
fi |
1509 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1510 |
> |
ac_dummy="$PATH" |
1511 |
> |
for ac_dir in $ac_dummy; do |
1512 |
> |
IFS=$ac_save_IFS |
1513 |
> |
test -z "$ac_dir" && ac_dir=. |
1514 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1515 |
> |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1516 |
> |
echo "$as_me:1516: found $ac_dir/$ac_word" >&5 |
1517 |
> |
break |
1518 |
|
done |
2022 |
– |
done |
1519 |
|
|
1520 |
|
fi |
1521 |
|
fi |
1522 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1523 |
|
if test -n "$ac_ct_CC"; then |
1524 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1524 |
> |
echo "$as_me:1524: result: $ac_ct_CC" >&5 |
1525 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1526 |
|
else |
1527 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1527 |
> |
echo "$as_me:1527: result: no" >&5 |
1528 |
|
echo "${ECHO_T}no" >&6 |
1529 |
|
fi |
1530 |
|
|
1534 |
|
CC=$ac_ct_CC |
1535 |
|
fi |
1536 |
|
|
1537 |
< |
|
1538 |
< |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2043 |
< |
See \`config.log' for more details." >&5 |
2044 |
< |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2045 |
< |
See \`config.log' for more details." >&2;} |
1537 |
> |
test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5 |
1538 |
> |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
1539 |
|
{ (exit 1); exit 1; }; } |
1540 |
|
|
2048 |
– |
# Provide some information about the compiler. |
2049 |
– |
echo "$as_me:$LINENO:" \ |
2050 |
– |
"checking for C compiler version" >&5 |
2051 |
– |
ac_compiler=`set X $ac_compile; echo $2` |
2052 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2053 |
– |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2054 |
– |
ac_status=$? |
2055 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2056 |
– |
(exit $ac_status); } |
2057 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2058 |
– |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2059 |
– |
ac_status=$? |
2060 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2061 |
– |
(exit $ac_status); } |
2062 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2063 |
– |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2064 |
– |
ac_status=$? |
2065 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2066 |
– |
(exit $ac_status); } |
2067 |
– |
|
1541 |
|
cat >conftest.$ac_ext <<_ACEOF |
1542 |
< |
/* confdefs.h. */ |
1543 |
< |
_ACEOF |
2071 |
< |
cat confdefs.h >>conftest.$ac_ext |
2072 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2073 |
< |
/* end confdefs.h. */ |
1542 |
> |
#line 1542 "configure" |
1543 |
> |
#include "confdefs.h" |
1544 |
|
|
1545 |
|
int |
1546 |
|
main () |
1551 |
|
} |
1552 |
|
_ACEOF |
1553 |
|
ac_clean_files_save=$ac_clean_files |
1554 |
< |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1554 |
> |
ac_clean_files="$ac_clean_files a.out a.exe" |
1555 |
|
# Try to create an executable without -o first, disregard a.out. |
1556 |
< |
# It will help us diagnose broken compilers, and finding out an intuition |
1556 |
> |
# It will help us diagnose broken compiler, and finding out an intuition |
1557 |
|
# of exeext. |
1558 |
< |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1559 |
< |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1558 |
> |
echo "$as_me:1558: checking for C compiler default output" >&5 |
1559 |
> |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1560 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1561 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1561 |
> |
if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5 |
1562 |
|
(eval $ac_link_default) 2>&5 |
1563 |
|
ac_status=$? |
1564 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1564 |
> |
echo "$as_me:1564: \$? = $ac_status" >&5 |
1565 |
|
(exit $ac_status); }; then |
1566 |
< |
# Find the output, starting from the most likely. This scheme is |
2097 |
< |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2098 |
< |
# resort. |
2099 |
< |
|
2100 |
< |
# Be careful to initialize this variable, since it used to be cached. |
2101 |
< |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2102 |
< |
ac_cv_exeext= |
2103 |
< |
# b.out is created by i960 compilers. |
2104 |
< |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2105 |
< |
do |
2106 |
< |
test -f "$ac_file" || continue |
1566 |
> |
for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do |
1567 |
|
case $ac_file in |
1568 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1569 |
< |
;; |
1570 |
< |
conftest.$ac_ext ) |
1571 |
< |
# This is the source file. |
1572 |
< |
;; |
1573 |
< |
[ab].out ) |
1574 |
< |
# We found the default executable, but exeext='' is most |
1575 |
< |
# certainly right. |
2116 |
< |
break;; |
2117 |
< |
*.* ) |
2118 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2119 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2120 |
< |
# but it would be cool to find out if it's true. Does anybody |
2121 |
< |
# maintain Libtool? --akim. |
2122 |
< |
export ac_cv_exeext |
2123 |
< |
break;; |
2124 |
< |
* ) |
2125 |
< |
break;; |
1568 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1569 |
> |
a.out ) # We found the default executable, but exeext='' is most |
1570 |
> |
# certainly right. |
1571 |
> |
break;; |
1572 |
> |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1573 |
> |
export ac_cv_exeext |
1574 |
> |
break;; |
1575 |
> |
* ) break;; |
1576 |
|
esac |
1577 |
|
done |
1578 |
|
else |
1579 |
|
echo "$as_me: failed program was:" >&5 |
1580 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1581 |
< |
|
1582 |
< |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2133 |
< |
See \`config.log' for more details." >&5 |
2134 |
< |
echo "$as_me: error: C compiler cannot create executables |
2135 |
< |
See \`config.log' for more details." >&2;} |
1580 |
> |
cat conftest.$ac_ext >&5 |
1581 |
> |
{ { echo "$as_me:1581: error: C compiler cannot create executables" >&5 |
1582 |
> |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
1583 |
|
{ (exit 77); exit 77; }; } |
1584 |
|
fi |
1585 |
|
|
1586 |
|
ac_exeext=$ac_cv_exeext |
1587 |
< |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1587 |
> |
echo "$as_me:1587: result: $ac_file" >&5 |
1588 |
|
echo "${ECHO_T}$ac_file" >&6 |
1589 |
|
|
1590 |
|
# Check the compiler produces executables we can run. If not, either |
1591 |
|
# the compiler is broken, or we cross compile. |
1592 |
< |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1592 |
> |
echo "$as_me:1592: checking whether the C compiler works" >&5 |
1593 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1594 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1595 |
|
# If not cross compiling, check that we can run a simple program. |
1596 |
|
if test "$cross_compiling" != yes; then |
1597 |
|
if { ac_try='./$ac_file' |
1598 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1598 |
> |
{ (eval echo "$as_me:1598: \"$ac_try\"") >&5 |
1599 |
|
(eval $ac_try) 2>&5 |
1600 |
|
ac_status=$? |
1601 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1601 |
> |
echo "$as_me:1601: \$? = $ac_status" >&5 |
1602 |
|
(exit $ac_status); }; }; then |
1603 |
|
cross_compiling=no |
1604 |
|
else |
1605 |
|
if test "$cross_compiling" = maybe; then |
1606 |
|
cross_compiling=yes |
1607 |
|
else |
1608 |
< |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1609 |
< |
If you meant to cross compile, use \`--host'. |
2163 |
< |
See \`config.log' for more details." >&5 |
1608 |
> |
{ { echo "$as_me:1608: error: cannot run C compiled programs. |
1609 |
> |
If you meant to cross compile, use \`--host'." >&5 |
1610 |
|
echo "$as_me: error: cannot run C compiled programs. |
1611 |
< |
If you meant to cross compile, use \`--host'. |
2166 |
< |
See \`config.log' for more details." >&2;} |
1611 |
> |
If you meant to cross compile, use \`--host'." >&2;} |
1612 |
|
{ (exit 1); exit 1; }; } |
1613 |
|
fi |
1614 |
|
fi |
1615 |
|
fi |
1616 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
1616 |
> |
echo "$as_me:1616: result: yes" >&5 |
1617 |
|
echo "${ECHO_T}yes" >&6 |
1618 |
|
|
1619 |
< |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1619 |
> |
rm -f a.out a.exe conftest$ac_cv_exeext |
1620 |
|
ac_clean_files=$ac_clean_files_save |
1621 |
|
# Check the compiler produces executables we can run. If not, either |
1622 |
|
# the compiler is broken, or we cross compile. |
1623 |
< |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1623 |
> |
echo "$as_me:1623: checking whether we are cross compiling" >&5 |
1624 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1625 |
< |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1625 |
> |
echo "$as_me:1625: result: $cross_compiling" >&5 |
1626 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
1627 |
|
|
1628 |
< |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1629 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1630 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1628 |
> |
echo "$as_me:1628: checking for executable suffix" >&5 |
1629 |
> |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
1630 |
> |
if { (eval echo "$as_me:1630: \"$ac_link\"") >&5 |
1631 |
|
(eval $ac_link) 2>&5 |
1632 |
|
ac_status=$? |
1633 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1633 |
> |
echo "$as_me:1633: \$? = $ac_status" >&5 |
1634 |
|
(exit $ac_status); }; then |
1635 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1636 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1637 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1638 |
|
# `rm'. |
1639 |
< |
for ac_file in conftest.exe conftest conftest.*; do |
2195 |
< |
test -f "$ac_file" || continue |
1639 |
> |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
1640 |
|
case $ac_file in |
1641 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1641 |
> |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1642 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1643 |
< |
export ac_cv_exeext |
1644 |
< |
break;; |
1643 |
> |
export ac_cv_exeext |
1644 |
> |
break;; |
1645 |
|
* ) break;; |
1646 |
|
esac |
1647 |
|
done |
1648 |
|
else |
1649 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1650 |
< |
See \`config.log' for more details." >&5 |
2207 |
< |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2208 |
< |
See \`config.log' for more details." >&2;} |
1649 |
> |
{ { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5 |
1650 |
> |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
1651 |
|
{ (exit 1); exit 1; }; } |
1652 |
|
fi |
1653 |
|
|
1654 |
|
rm -f conftest$ac_cv_exeext |
1655 |
< |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1655 |
> |
echo "$as_me:1655: result: $ac_cv_exeext" >&5 |
1656 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1657 |
|
|
1658 |
|
rm -f conftest.$ac_ext |
1659 |
|
EXEEXT=$ac_cv_exeext |
1660 |
|
ac_exeext=$EXEEXT |
1661 |
< |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1662 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1661 |
> |
echo "$as_me:1661: checking for object suffix" >&5 |
1662 |
> |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1663 |
|
if test "${ac_cv_objext+set}" = set; then |
1664 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1665 |
|
else |
1666 |
|
cat >conftest.$ac_ext <<_ACEOF |
1667 |
< |
/* confdefs.h. */ |
1668 |
< |
_ACEOF |
2227 |
< |
cat confdefs.h >>conftest.$ac_ext |
2228 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2229 |
< |
/* end confdefs.h. */ |
1667 |
> |
#line 1667 "configure" |
1668 |
> |
#include "confdefs.h" |
1669 |
|
|
1670 |
|
int |
1671 |
|
main () |
1676 |
|
} |
1677 |
|
_ACEOF |
1678 |
|
rm -f conftest.o conftest.obj |
1679 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1679 |
> |
if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5 |
1680 |
|
(eval $ac_compile) 2>&5 |
1681 |
|
ac_status=$? |
1682 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1682 |
> |
echo "$as_me:1682: \$? = $ac_status" >&5 |
1683 |
|
(exit $ac_status); }; then |
1684 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1685 |
|
case $ac_file in |
1686 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1686 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1687 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1688 |
|
break;; |
1689 |
|
esac |
1690 |
|
done |
1691 |
|
else |
1692 |
|
echo "$as_me: failed program was:" >&5 |
1693 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
1694 |
< |
|
1695 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2257 |
< |
See \`config.log' for more details." >&5 |
2258 |
< |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2259 |
< |
See \`config.log' for more details." >&2;} |
1693 |
> |
cat conftest.$ac_ext >&5 |
1694 |
> |
{ { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5 |
1695 |
> |
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
1696 |
|
{ (exit 1); exit 1; }; } |
1697 |
|
fi |
1698 |
|
|
1699 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1700 |
|
fi |
1701 |
< |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1701 |
> |
echo "$as_me:1701: result: $ac_cv_objext" >&5 |
1702 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1703 |
|
OBJEXT=$ac_cv_objext |
1704 |
|
ac_objext=$OBJEXT |
1705 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1705 |
> |
echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5 |
1706 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1707 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1708 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1709 |
|
else |
1710 |
|
cat >conftest.$ac_ext <<_ACEOF |
1711 |
< |
/* confdefs.h. */ |
1712 |
< |
_ACEOF |
2277 |
< |
cat confdefs.h >>conftest.$ac_ext |
2278 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2279 |
< |
/* end confdefs.h. */ |
1711 |
> |
#line 1711 "configure" |
1712 |
> |
#include "confdefs.h" |
1713 |
|
|
1714 |
|
int |
1715 |
|
main () |
1723 |
|
} |
1724 |
|
_ACEOF |
1725 |
|
rm -f conftest.$ac_objext |
1726 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1727 |
< |
(eval $ac_compile) 2>conftest.er1 |
1726 |
> |
if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5 |
1727 |
> |
(eval $ac_compile) 2>&5 |
1728 |
|
ac_status=$? |
1729 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2297 |
< |
rm -f conftest.er1 |
2298 |
< |
cat conftest.err >&5 |
2299 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1729 |
> |
echo "$as_me:1729: \$? = $ac_status" >&5 |
1730 |
|
(exit $ac_status); } && |
1731 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
1732 |
< |
|| test ! -s conftest.err' |
2303 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1731 |
> |
{ ac_try='test -s conftest.$ac_objext' |
1732 |
> |
{ (eval echo "$as_me:1732: \"$ac_try\"") >&5 |
1733 |
|
(eval $ac_try) 2>&5 |
1734 |
|
ac_status=$? |
1735 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2307 |
< |
(exit $ac_status); }; } && |
2308 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2309 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2310 |
< |
(eval $ac_try) 2>&5 |
2311 |
< |
ac_status=$? |
2312 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1735 |
> |
echo "$as_me:1735: \$? = $ac_status" >&5 |
1736 |
|
(exit $ac_status); }; }; then |
1737 |
|
ac_compiler_gnu=yes |
1738 |
|
else |
1739 |
|
echo "$as_me: failed program was:" >&5 |
1740 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2318 |
< |
|
1740 |
> |
cat conftest.$ac_ext >&5 |
1741 |
|
ac_compiler_gnu=no |
1742 |
|
fi |
1743 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1743 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
1744 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1745 |
|
|
1746 |
|
fi |
1747 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1747 |
> |
echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5 |
1748 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1749 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
1750 |
|
ac_test_CFLAGS=${CFLAGS+set} |
1751 |
|
ac_save_CFLAGS=$CFLAGS |
1752 |
|
CFLAGS="-g" |
1753 |
< |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1753 |
> |
echo "$as_me:1753: checking whether $CC accepts -g" >&5 |
1754 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1755 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
1756 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1757 |
|
else |
1758 |
|
cat >conftest.$ac_ext <<_ACEOF |
1759 |
< |
/* confdefs.h. */ |
1760 |
< |
_ACEOF |
2339 |
< |
cat confdefs.h >>conftest.$ac_ext |
2340 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2341 |
< |
/* end confdefs.h. */ |
1759 |
> |
#line 1759 "configure" |
1760 |
> |
#include "confdefs.h" |
1761 |
|
|
1762 |
|
int |
1763 |
|
main () |
1768 |
|
} |
1769 |
|
_ACEOF |
1770 |
|
rm -f conftest.$ac_objext |
1771 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1772 |
< |
(eval $ac_compile) 2>conftest.er1 |
1771 |
> |
if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5 |
1772 |
> |
(eval $ac_compile) 2>&5 |
1773 |
|
ac_status=$? |
1774 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2356 |
< |
rm -f conftest.er1 |
2357 |
< |
cat conftest.err >&5 |
2358 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1774 |
> |
echo "$as_me:1774: \$? = $ac_status" >&5 |
1775 |
|
(exit $ac_status); } && |
1776 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
1777 |
< |
|| test ! -s conftest.err' |
2362 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1776 |
> |
{ ac_try='test -s conftest.$ac_objext' |
1777 |
> |
{ (eval echo "$as_me:1777: \"$ac_try\"") >&5 |
1778 |
|
(eval $ac_try) 2>&5 |
1779 |
|
ac_status=$? |
1780 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2366 |
< |
(exit $ac_status); }; } && |
2367 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2368 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2369 |
< |
(eval $ac_try) 2>&5 |
2370 |
< |
ac_status=$? |
2371 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1780 |
> |
echo "$as_me:1780: \$? = $ac_status" >&5 |
1781 |
|
(exit $ac_status); }; }; then |
1782 |
|
ac_cv_prog_cc_g=yes |
1783 |
|
else |
1784 |
|
echo "$as_me: failed program was:" >&5 |
1785 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2377 |
< |
|
1785 |
> |
cat conftest.$ac_ext >&5 |
1786 |
|
ac_cv_prog_cc_g=no |
1787 |
|
fi |
1788 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1788 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
1789 |
|
fi |
1790 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1790 |
> |
echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5 |
1791 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1792 |
|
if test "$ac_test_CFLAGS" = set; then |
1793 |
|
CFLAGS=$ac_save_CFLAGS |
1803 |
|
else |
1804 |
|
CFLAGS= |
1805 |
|
fi |
2398 |
– |
fi |
2399 |
– |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2400 |
– |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2401 |
– |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2402 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2403 |
– |
else |
2404 |
– |
ac_cv_prog_cc_stdc=no |
2405 |
– |
ac_save_CC=$CC |
2406 |
– |
cat >conftest.$ac_ext <<_ACEOF |
2407 |
– |
/* confdefs.h. */ |
2408 |
– |
_ACEOF |
2409 |
– |
cat confdefs.h >>conftest.$ac_ext |
2410 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
2411 |
– |
/* end confdefs.h. */ |
2412 |
– |
#include <stdarg.h> |
2413 |
– |
#include <stdio.h> |
2414 |
– |
#include <sys/types.h> |
2415 |
– |
#include <sys/stat.h> |
2416 |
– |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2417 |
– |
struct buf { int x; }; |
2418 |
– |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2419 |
– |
static char *e (p, i) |
2420 |
– |
char **p; |
2421 |
– |
int i; |
2422 |
– |
{ |
2423 |
– |
return p[i]; |
2424 |
– |
} |
2425 |
– |
static char *f (char * (*g) (char **, int), char **p, ...) |
2426 |
– |
{ |
2427 |
– |
char *s; |
2428 |
– |
va_list v; |
2429 |
– |
va_start (v,p); |
2430 |
– |
s = g (p, va_arg (v,int)); |
2431 |
– |
va_end (v); |
2432 |
– |
return s; |
2433 |
– |
} |
2434 |
– |
|
2435 |
– |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2436 |
– |
function prototypes and stuff, but not '\xHH' hex character constants. |
2437 |
– |
These don't provoke an error unfortunately, instead are silently treated |
2438 |
– |
as 'x'. The following induces an error, until -std1 is added to get |
2439 |
– |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2440 |
– |
array size at least. It's necessary to write '\x00'==0 to get something |
2441 |
– |
that's true only with -std1. */ |
2442 |
– |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2443 |
– |
|
2444 |
– |
int test (int i, double x); |
2445 |
– |
struct s1 {int (*f) (int a);}; |
2446 |
– |
struct s2 {int (*f) (double a);}; |
2447 |
– |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2448 |
– |
int argc; |
2449 |
– |
char **argv; |
2450 |
– |
int |
2451 |
– |
main () |
2452 |
– |
{ |
2453 |
– |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2454 |
– |
; |
2455 |
– |
return 0; |
2456 |
– |
} |
2457 |
– |
_ACEOF |
2458 |
– |
# Don't try gcc -ansi; that turns off useful extensions and |
2459 |
– |
# breaks some systems' header files. |
2460 |
– |
# AIX -qlanglvl=ansi |
2461 |
– |
# Ultrix and OSF/1 -std1 |
2462 |
– |
# HP-UX 10.20 and later -Ae |
2463 |
– |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2464 |
– |
# SVR4 -Xc -D__EXTENSIONS__ |
2465 |
– |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2466 |
– |
do |
2467 |
– |
CC="$ac_save_CC $ac_arg" |
2468 |
– |
rm -f conftest.$ac_objext |
2469 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2470 |
– |
(eval $ac_compile) 2>conftest.er1 |
2471 |
– |
ac_status=$? |
2472 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2473 |
– |
rm -f conftest.er1 |
2474 |
– |
cat conftest.err >&5 |
2475 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2476 |
– |
(exit $ac_status); } && |
2477 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
2478 |
– |
|| test ! -s conftest.err' |
2479 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2480 |
– |
(eval $ac_try) 2>&5 |
2481 |
– |
ac_status=$? |
2482 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2483 |
– |
(exit $ac_status); }; } && |
2484 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2485 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2486 |
– |
(eval $ac_try) 2>&5 |
2487 |
– |
ac_status=$? |
2488 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2489 |
– |
(exit $ac_status); }; }; then |
2490 |
– |
ac_cv_prog_cc_stdc=$ac_arg |
2491 |
– |
break |
2492 |
– |
else |
2493 |
– |
echo "$as_me: failed program was:" >&5 |
2494 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
2495 |
– |
|
1806 |
|
fi |
2497 |
– |
rm -f conftest.err conftest.$ac_objext |
2498 |
– |
done |
2499 |
– |
rm -f conftest.$ac_ext conftest.$ac_objext |
2500 |
– |
CC=$ac_save_CC |
2501 |
– |
|
2502 |
– |
fi |
2503 |
– |
|
2504 |
– |
case "x$ac_cv_prog_cc_stdc" in |
2505 |
– |
x|xno) |
2506 |
– |
echo "$as_me:$LINENO: result: none needed" >&5 |
2507 |
– |
echo "${ECHO_T}none needed" >&6 ;; |
2508 |
– |
*) |
2509 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2510 |
– |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2511 |
– |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2512 |
– |
esac |
2513 |
– |
|
1807 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
1808 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
1809 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
1814 |
|
#endif |
1815 |
|
_ACEOF |
1816 |
|
rm -f conftest.$ac_objext |
1817 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1818 |
< |
(eval $ac_compile) 2>conftest.er1 |
1817 |
> |
if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5 |
1818 |
> |
(eval $ac_compile) 2>&5 |
1819 |
|
ac_status=$? |
1820 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2528 |
< |
rm -f conftest.er1 |
2529 |
< |
cat conftest.err >&5 |
2530 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1820 |
> |
echo "$as_me:1820: \$? = $ac_status" >&5 |
1821 |
|
(exit $ac_status); } && |
1822 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
1823 |
< |
|| test ! -s conftest.err' |
2534 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1822 |
> |
{ ac_try='test -s conftest.$ac_objext' |
1823 |
> |
{ (eval echo "$as_me:1823: \"$ac_try\"") >&5 |
1824 |
|
(eval $ac_try) 2>&5 |
1825 |
|
ac_status=$? |
1826 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2538 |
< |
(exit $ac_status); }; } && |
2539 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2540 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2541 |
< |
(eval $ac_try) 2>&5 |
2542 |
< |
ac_status=$? |
2543 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1826 |
> |
echo "$as_me:1826: \$? = $ac_status" >&5 |
1827 |
|
(exit $ac_status); }; }; then |
1828 |
|
for ac_declaration in \ |
1829 |
< |
'' \ |
1829 |
> |
''\ |
1830 |
> |
'#include <stdlib.h>' \ |
1831 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
1832 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
1833 |
|
'extern "C" void exit (int) throw ();' \ |
1835 |
|
'void exit (int);' |
1836 |
|
do |
1837 |
|
cat >conftest.$ac_ext <<_ACEOF |
1838 |
< |
/* confdefs.h. */ |
1839 |
< |
_ACEOF |
2556 |
< |
cat confdefs.h >>conftest.$ac_ext |
2557 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2558 |
< |
/* end confdefs.h. */ |
2559 |
< |
$ac_declaration |
1838 |
> |
#line 1838 "configure" |
1839 |
> |
#include "confdefs.h" |
1840 |
|
#include <stdlib.h> |
1841 |
+ |
$ac_declaration |
1842 |
|
int |
1843 |
|
main () |
1844 |
|
{ |
1848 |
|
} |
1849 |
|
_ACEOF |
1850 |
|
rm -f conftest.$ac_objext |
1851 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1852 |
< |
(eval $ac_compile) 2>conftest.er1 |
1851 |
> |
if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5 |
1852 |
> |
(eval $ac_compile) 2>&5 |
1853 |
|
ac_status=$? |
1854 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2574 |
< |
rm -f conftest.er1 |
2575 |
< |
cat conftest.err >&5 |
2576 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1854 |
> |
echo "$as_me:1854: \$? = $ac_status" >&5 |
1855 |
|
(exit $ac_status); } && |
1856 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
1857 |
< |
|| test ! -s conftest.err' |
2580 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1856 |
> |
{ ac_try='test -s conftest.$ac_objext' |
1857 |
> |
{ (eval echo "$as_me:1857: \"$ac_try\"") >&5 |
1858 |
|
(eval $ac_try) 2>&5 |
1859 |
|
ac_status=$? |
1860 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2584 |
< |
(exit $ac_status); }; } && |
2585 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2586 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2587 |
< |
(eval $ac_try) 2>&5 |
2588 |
< |
ac_status=$? |
2589 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1860 |
> |
echo "$as_me:1860: \$? = $ac_status" >&5 |
1861 |
|
(exit $ac_status); }; }; then |
1862 |
|
: |
1863 |
|
else |
1864 |
|
echo "$as_me: failed program was:" >&5 |
1865 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2595 |
< |
|
1865 |
> |
cat conftest.$ac_ext >&5 |
1866 |
|
continue |
1867 |
|
fi |
1868 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1868 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
1869 |
|
cat >conftest.$ac_ext <<_ACEOF |
1870 |
< |
/* confdefs.h. */ |
1871 |
< |
_ACEOF |
2602 |
< |
cat confdefs.h >>conftest.$ac_ext |
2603 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2604 |
< |
/* end confdefs.h. */ |
1870 |
> |
#line 1870 "configure" |
1871 |
> |
#include "confdefs.h" |
1872 |
|
$ac_declaration |
1873 |
|
int |
1874 |
|
main () |
1879 |
|
} |
1880 |
|
_ACEOF |
1881 |
|
rm -f conftest.$ac_objext |
1882 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1883 |
< |
(eval $ac_compile) 2>conftest.er1 |
1882 |
> |
if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5 |
1883 |
> |
(eval $ac_compile) 2>&5 |
1884 |
|
ac_status=$? |
1885 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2619 |
< |
rm -f conftest.er1 |
2620 |
< |
cat conftest.err >&5 |
2621 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1885 |
> |
echo "$as_me:1885: \$? = $ac_status" >&5 |
1886 |
|
(exit $ac_status); } && |
1887 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
1888 |
< |
|| test ! -s conftest.err' |
2625 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1887 |
> |
{ ac_try='test -s conftest.$ac_objext' |
1888 |
> |
{ (eval echo "$as_me:1888: \"$ac_try\"") >&5 |
1889 |
|
(eval $ac_try) 2>&5 |
1890 |
|
ac_status=$? |
1891 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2629 |
< |
(exit $ac_status); }; } && |
2630 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2631 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2632 |
< |
(eval $ac_try) 2>&5 |
2633 |
< |
ac_status=$? |
2634 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1891 |
> |
echo "$as_me:1891: \$? = $ac_status" >&5 |
1892 |
|
(exit $ac_status); }; }; then |
1893 |
|
break |
1894 |
|
else |
1895 |
|
echo "$as_me: failed program was:" >&5 |
1896 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2640 |
< |
|
1896 |
> |
cat conftest.$ac_ext >&5 |
1897 |
|
fi |
1898 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1898 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
1899 |
|
done |
1900 |
< |
rm -f conftest* |
1901 |
< |
if test -n "$ac_declaration"; then |
1902 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
2647 |
< |
echo $ac_declaration >>confdefs.h |
2648 |
< |
echo '#endif' >>confdefs.h |
2649 |
< |
fi |
1900 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
1901 |
> |
echo $ac_declaration >>confdefs.h |
1902 |
> |
echo '#endif' >>confdefs.h |
1903 |
|
|
1904 |
|
else |
1905 |
|
echo "$as_me: failed program was:" >&5 |
1906 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2654 |
< |
|
1906 |
> |
cat conftest.$ac_ext >&5 |
1907 |
|
fi |
1908 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1908 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
1909 |
|
ac_ext=c |
1910 |
|
ac_cpp='$CPP $CPPFLAGS' |
1911 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1912 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1913 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1914 |
|
|
2663 |
– |
|
1915 |
|
ac_ext=cc |
1916 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
1917 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1922 |
|
do |
1923 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1924 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1925 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1925 |
> |
echo "$as_me:1925: checking for $ac_word" >&5 |
1926 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1927 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
1928 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1930 |
|
if test -n "$CXX"; then |
1931 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
1932 |
|
else |
1933 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1934 |
< |
for as_dir in $PATH |
1935 |
< |
do |
1936 |
< |
IFS=$as_save_IFS |
1937 |
< |
test -z "$as_dir" && as_dir=. |
1938 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1939 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1940 |
< |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1941 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2691 |
< |
break 2 |
2692 |
< |
fi |
1933 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1934 |
> |
ac_dummy="$PATH" |
1935 |
> |
for ac_dir in $ac_dummy; do |
1936 |
> |
IFS=$ac_save_IFS |
1937 |
> |
test -z "$ac_dir" && ac_dir=. |
1938 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1939 |
> |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1940 |
> |
echo "$as_me:1940: found $ac_dir/$ac_word" >&5 |
1941 |
> |
break |
1942 |
|
done |
2694 |
– |
done |
1943 |
|
|
1944 |
|
fi |
1945 |
|
fi |
1946 |
|
CXX=$ac_cv_prog_CXX |
1947 |
|
if test -n "$CXX"; then |
1948 |
< |
echo "$as_me:$LINENO: result: $CXX" >&5 |
1948 |
> |
echo "$as_me:1948: result: $CXX" >&5 |
1949 |
|
echo "${ECHO_T}$CXX" >&6 |
1950 |
|
else |
1951 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1951 |
> |
echo "$as_me:1951: result: no" >&5 |
1952 |
|
echo "${ECHO_T}no" >&6 |
1953 |
|
fi |
1954 |
|
|
1961 |
|
do |
1962 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1963 |
|
set dummy $ac_prog; ac_word=$2 |
1964 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1964 |
> |
echo "$as_me:1964: checking for $ac_word" >&5 |
1965 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1966 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
1967 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1969 |
|
if test -n "$ac_ct_CXX"; then |
1970 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
1971 |
|
else |
1972 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1973 |
< |
for as_dir in $PATH |
1974 |
< |
do |
1975 |
< |
IFS=$as_save_IFS |
1976 |
< |
test -z "$as_dir" && as_dir=. |
1977 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
1978 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1979 |
< |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1980 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2733 |
< |
break 2 |
2734 |
< |
fi |
1972 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
1973 |
> |
ac_dummy="$PATH" |
1974 |
> |
for ac_dir in $ac_dummy; do |
1975 |
> |
IFS=$ac_save_IFS |
1976 |
> |
test -z "$ac_dir" && ac_dir=. |
1977 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
1978 |
> |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1979 |
> |
echo "$as_me:1979: found $ac_dir/$ac_word" >&5 |
1980 |
> |
break |
1981 |
|
done |
2736 |
– |
done |
1982 |
|
|
1983 |
|
fi |
1984 |
|
fi |
1985 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
1986 |
|
if test -n "$ac_ct_CXX"; then |
1987 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
1987 |
> |
echo "$as_me:1987: result: $ac_ct_CXX" >&5 |
1988 |
|
echo "${ECHO_T}$ac_ct_CXX" >&6 |
1989 |
|
else |
1990 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
1990 |
> |
echo "$as_me:1990: result: no" >&5 |
1991 |
|
echo "${ECHO_T}no" >&6 |
1992 |
|
fi |
1993 |
|
|
1998 |
|
CXX=$ac_ct_CXX |
1999 |
|
fi |
2000 |
|
|
2001 |
< |
|
2757 |
< |
# Provide some information about the compiler. |
2758 |
< |
echo "$as_me:$LINENO:" \ |
2759 |
< |
"checking for C++ compiler version" >&5 |
2760 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
2761 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2762 |
< |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2763 |
< |
ac_status=$? |
2764 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2765 |
< |
(exit $ac_status); } |
2766 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2767 |
< |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2768 |
< |
ac_status=$? |
2769 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2770 |
< |
(exit $ac_status); } |
2771 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2772 |
< |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2773 |
< |
ac_status=$? |
2774 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2775 |
< |
(exit $ac_status); } |
2776 |
< |
|
2777 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2001 |
> |
echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5 |
2002 |
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
2003 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2004 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2005 |
|
else |
2006 |
|
cat >conftest.$ac_ext <<_ACEOF |
2007 |
< |
/* confdefs.h. */ |
2008 |
< |
_ACEOF |
2785 |
< |
cat confdefs.h >>conftest.$ac_ext |
2786 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2787 |
< |
/* end confdefs.h. */ |
2007 |
> |
#line 2007 "configure" |
2008 |
> |
#include "confdefs.h" |
2009 |
|
|
2010 |
|
int |
2011 |
|
main () |
2019 |
|
} |
2020 |
|
_ACEOF |
2021 |
|
rm -f conftest.$ac_objext |
2022 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2023 |
< |
(eval $ac_compile) 2>conftest.er1 |
2022 |
> |
if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5 |
2023 |
> |
(eval $ac_compile) 2>&5 |
2024 |
|
ac_status=$? |
2025 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2805 |
< |
rm -f conftest.er1 |
2806 |
< |
cat conftest.err >&5 |
2807 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2025 |
> |
echo "$as_me:2025: \$? = $ac_status" >&5 |
2026 |
|
(exit $ac_status); } && |
2027 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2028 |
< |
|| test ! -s conftest.err' |
2811 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2027 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2028 |
> |
{ (eval echo "$as_me:2028: \"$ac_try\"") >&5 |
2029 |
|
(eval $ac_try) 2>&5 |
2030 |
|
ac_status=$? |
2031 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2815 |
< |
(exit $ac_status); }; } && |
2816 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2817 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2818 |
< |
(eval $ac_try) 2>&5 |
2819 |
< |
ac_status=$? |
2820 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2031 |
> |
echo "$as_me:2031: \$? = $ac_status" >&5 |
2032 |
|
(exit $ac_status); }; }; then |
2033 |
|
ac_compiler_gnu=yes |
2034 |
|
else |
2035 |
|
echo "$as_me: failed program was:" >&5 |
2036 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2826 |
< |
|
2036 |
> |
cat conftest.$ac_ext >&5 |
2037 |
|
ac_compiler_gnu=no |
2038 |
|
fi |
2039 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2039 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2040 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2041 |
|
|
2042 |
|
fi |
2043 |
< |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2043 |
> |
echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5 |
2044 |
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
2045 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2046 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2047 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
2048 |
|
CXXFLAGS="-g" |
2049 |
< |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2049 |
> |
echo "$as_me:2049: checking whether $CXX accepts -g" >&5 |
2050 |
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
2051 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2052 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2053 |
|
else |
2054 |
|
cat >conftest.$ac_ext <<_ACEOF |
2055 |
< |
/* confdefs.h. */ |
2056 |
< |
_ACEOF |
2847 |
< |
cat confdefs.h >>conftest.$ac_ext |
2848 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2849 |
< |
/* end confdefs.h. */ |
2055 |
> |
#line 2055 "configure" |
2056 |
> |
#include "confdefs.h" |
2057 |
|
|
2058 |
|
int |
2059 |
|
main () |
2064 |
|
} |
2065 |
|
_ACEOF |
2066 |
|
rm -f conftest.$ac_objext |
2067 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2068 |
< |
(eval $ac_compile) 2>conftest.er1 |
2067 |
> |
if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5 |
2068 |
> |
(eval $ac_compile) 2>&5 |
2069 |
|
ac_status=$? |
2070 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2864 |
< |
rm -f conftest.er1 |
2865 |
< |
cat conftest.err >&5 |
2866 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2070 |
> |
echo "$as_me:2070: \$? = $ac_status" >&5 |
2071 |
|
(exit $ac_status); } && |
2072 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2073 |
< |
|| test ! -s conftest.err' |
2870 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2072 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2073 |
> |
{ (eval echo "$as_me:2073: \"$ac_try\"") >&5 |
2074 |
|
(eval $ac_try) 2>&5 |
2075 |
|
ac_status=$? |
2076 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2874 |
< |
(exit $ac_status); }; } && |
2875 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2876 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2877 |
< |
(eval $ac_try) 2>&5 |
2878 |
< |
ac_status=$? |
2879 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2076 |
> |
echo "$as_me:2076: \$? = $ac_status" >&5 |
2077 |
|
(exit $ac_status); }; }; then |
2078 |
|
ac_cv_prog_cxx_g=yes |
2079 |
|
else |
2080 |
|
echo "$as_me: failed program was:" >&5 |
2081 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2885 |
< |
|
2081 |
> |
cat conftest.$ac_ext >&5 |
2082 |
|
ac_cv_prog_cxx_g=no |
2083 |
|
fi |
2084 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2084 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2085 |
|
fi |
2086 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2086 |
> |
echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5 |
2087 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2088 |
|
if test "$ac_test_CXXFLAGS" = set; then |
2089 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
2101 |
|
fi |
2102 |
|
fi |
2103 |
|
for ac_declaration in \ |
2104 |
< |
'' \ |
2104 |
> |
''\ |
2105 |
> |
'#include <stdlib.h>' \ |
2106 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2107 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2108 |
|
'extern "C" void exit (int) throw ();' \ |
2110 |
|
'void exit (int);' |
2111 |
|
do |
2112 |
|
cat >conftest.$ac_ext <<_ACEOF |
2113 |
< |
/* confdefs.h. */ |
2114 |
< |
_ACEOF |
2918 |
< |
cat confdefs.h >>conftest.$ac_ext |
2919 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2920 |
< |
/* end confdefs.h. */ |
2921 |
< |
$ac_declaration |
2113 |
> |
#line 2113 "configure" |
2114 |
> |
#include "confdefs.h" |
2115 |
|
#include <stdlib.h> |
2116 |
+ |
$ac_declaration |
2117 |
|
int |
2118 |
|
main () |
2119 |
|
{ |
2123 |
|
} |
2124 |
|
_ACEOF |
2125 |
|
rm -f conftest.$ac_objext |
2126 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2127 |
< |
(eval $ac_compile) 2>conftest.er1 |
2126 |
> |
if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5 |
2127 |
> |
(eval $ac_compile) 2>&5 |
2128 |
|
ac_status=$? |
2129 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2936 |
< |
rm -f conftest.er1 |
2937 |
< |
cat conftest.err >&5 |
2938 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2129 |
> |
echo "$as_me:2129: \$? = $ac_status" >&5 |
2130 |
|
(exit $ac_status); } && |
2131 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2132 |
< |
|| test ! -s conftest.err' |
2942 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2131 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2132 |
> |
{ (eval echo "$as_me:2132: \"$ac_try\"") >&5 |
2133 |
|
(eval $ac_try) 2>&5 |
2134 |
|
ac_status=$? |
2135 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2946 |
< |
(exit $ac_status); }; } && |
2947 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2948 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2949 |
< |
(eval $ac_try) 2>&5 |
2950 |
< |
ac_status=$? |
2951 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2135 |
> |
echo "$as_me:2135: \$? = $ac_status" >&5 |
2136 |
|
(exit $ac_status); }; }; then |
2137 |
|
: |
2138 |
|
else |
2139 |
|
echo "$as_me: failed program was:" >&5 |
2140 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2957 |
< |
|
2140 |
> |
cat conftest.$ac_ext >&5 |
2141 |
|
continue |
2142 |
|
fi |
2143 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2143 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2144 |
|
cat >conftest.$ac_ext <<_ACEOF |
2145 |
< |
/* confdefs.h. */ |
2146 |
< |
_ACEOF |
2964 |
< |
cat confdefs.h >>conftest.$ac_ext |
2965 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2966 |
< |
/* end confdefs.h. */ |
2145 |
> |
#line 2145 "configure" |
2146 |
> |
#include "confdefs.h" |
2147 |
|
$ac_declaration |
2148 |
|
int |
2149 |
|
main () |
2154 |
|
} |
2155 |
|
_ACEOF |
2156 |
|
rm -f conftest.$ac_objext |
2157 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2158 |
< |
(eval $ac_compile) 2>conftest.er1 |
2157 |
> |
if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5 |
2158 |
> |
(eval $ac_compile) 2>&5 |
2159 |
|
ac_status=$? |
2160 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2981 |
< |
rm -f conftest.er1 |
2982 |
< |
cat conftest.err >&5 |
2983 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2160 |
> |
echo "$as_me:2160: \$? = $ac_status" >&5 |
2161 |
|
(exit $ac_status); } && |
2162 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2163 |
< |
|| test ! -s conftest.err' |
2987 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2162 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2163 |
> |
{ (eval echo "$as_me:2163: \"$ac_try\"") >&5 |
2164 |
|
(eval $ac_try) 2>&5 |
2165 |
|
ac_status=$? |
2166 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2991 |
< |
(exit $ac_status); }; } && |
2992 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2993 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2994 |
< |
(eval $ac_try) 2>&5 |
2995 |
< |
ac_status=$? |
2996 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2166 |
> |
echo "$as_me:2166: \$? = $ac_status" >&5 |
2167 |
|
(exit $ac_status); }; }; then |
2168 |
|
break |
2169 |
|
else |
2170 |
|
echo "$as_me: failed program was:" >&5 |
2171 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3002 |
< |
|
2171 |
> |
cat conftest.$ac_ext >&5 |
2172 |
|
fi |
2173 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2173 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2174 |
|
done |
2175 |
< |
rm -f conftest* |
2176 |
< |
if test -n "$ac_declaration"; then |
2177 |
< |
echo '#ifdef __cplusplus' >>confdefs.h |
3009 |
< |
echo $ac_declaration >>confdefs.h |
3010 |
< |
echo '#endif' >>confdefs.h |
3011 |
< |
fi |
2175 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
2176 |
> |
echo $ac_declaration >>confdefs.h |
2177 |
> |
echo '#endif' >>confdefs.h |
2178 |
|
|
2179 |
|
ac_ext=c |
2180 |
|
ac_cpp='$CPP $CPPFLAGS' |
2182 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2183 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2184 |
|
|
3019 |
– |
|
2185 |
|
OOPSE_TEMPLATE_FLAGS="" |
2186 |
|
if test $ac_cv_cxx_compiler_gnu = no; then |
2187 |
< |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
2187 |
> |
echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
2188 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6 |
2189 |
|
echo 'void f(){}' > conftest.cc |
2190 |
|
if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then |
2191 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2191 |
> |
echo "$as_me:2191: result: yes" >&5 |
2192 |
|
echo "${ECHO_T}yes" >&6 |
2193 |
|
OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink" |
2194 |
|
else |
2195 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2195 |
> |
echo "$as_me:2195: result: no" >&5 |
2196 |
|
echo "${ECHO_T}no" >&6 |
2197 |
|
fi |
2198 |
|
rm -f conftest* |
2199 |
< |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5 |
2199 |
> |
echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5 |
2200 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6 |
2201 |
|
echo 'void f(){}' > conftest.cc |
2202 |
|
if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then |
2203 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2203 |
> |
echo "$as_me:2203: result: yes" >&5 |
2204 |
|
echo "${ECHO_T}yes" >&6 |
2205 |
|
OOPSE_TEMPLATE_FLAGS="-instances=static" |
2206 |
|
else |
2207 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2207 |
> |
echo "$as_me:2207: result: no" >&5 |
2208 |
|
echo "${ECHO_T}no" >&6 |
2209 |
|
fi |
2210 |
|
rm -f conftest* |
2211 |
< |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5 |
2211 |
> |
echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5 |
2212 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6 |
2213 |
|
echo 'void f(){}' > conftest.cc |
2214 |
|
if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then |
2215 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2215 |
> |
echo "$as_me:2215: result: yes" >&5 |
2216 |
|
echo "${ECHO_T}yes" >&6 |
2217 |
|
OOPSE_TEMPLATE_FLAGS="-pto" |
2218 |
|
else |
2219 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2219 |
> |
echo "$as_me:2219: result: no" >&5 |
2220 |
|
echo "${ECHO_T}no" >&6 |
2221 |
|
fi |
2222 |
|
rm -f conftest* |
2223 |
< |
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5 |
2223 |
> |
echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5 |
2224 |
|
echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6 |
2225 |
|
echo 'void f(){}' > conftest.cc |
2226 |
|
if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then |
2227 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2227 |
> |
echo "$as_me:2227: result: yes" >&5 |
2228 |
|
echo "${ECHO_T}yes" >&6 |
2229 |
|
|
3065 |
– |
|
2230 |
|
EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std" |
2231 |
|
else |
2232 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2232 |
> |
echo "$as_me:2232: result: no" >&5 |
2233 |
|
echo "${ECHO_T}no" >&6 |
2234 |
|
fi |
2235 |
|
fi |
2236 |
|
|
3073 |
– |
|
3074 |
– |
|
3075 |
– |
|
2237 |
|
ac_ext=f90 |
2238 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2239 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2243 |
|
do |
2244 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2245 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2246 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2246 |
> |
echo "$as_me:2246: checking for $ac_word" >&5 |
2247 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2248 |
|
if test "${ac_cv_prog_F90+set}" = set; then |
2249 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2251 |
|
if test -n "$F90"; then |
2252 |
|
ac_cv_prog_F90="$F90" # Let the user override the test. |
2253 |
|
else |
2254 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2255 |
< |
for as_dir in $PATH |
2256 |
< |
do |
2257 |
< |
IFS=$as_save_IFS |
2258 |
< |
test -z "$as_dir" && as_dir=. |
2259 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2260 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2261 |
< |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
2262 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3102 |
< |
break 2 |
3103 |
< |
fi |
2254 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2255 |
> |
ac_dummy="$PATH" |
2256 |
> |
for ac_dir in $ac_dummy; do |
2257 |
> |
IFS=$ac_save_IFS |
2258 |
> |
test -z "$ac_dir" && ac_dir=. |
2259 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2260 |
> |
ac_cv_prog_F90="$ac_tool_prefix$ac_prog" |
2261 |
> |
echo "$as_me:2261: found $ac_dir/$ac_word" >&5 |
2262 |
> |
break |
2263 |
|
done |
3105 |
– |
done |
2264 |
|
|
2265 |
|
fi |
2266 |
|
fi |
2267 |
|
F90=$ac_cv_prog_F90 |
2268 |
|
if test -n "$F90"; then |
2269 |
< |
echo "$as_me:$LINENO: result: $F90" >&5 |
2269 |
> |
echo "$as_me:2269: result: $F90" >&5 |
2270 |
|
echo "${ECHO_T}$F90" >&6 |
2271 |
|
else |
2272 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2272 |
> |
echo "$as_me:2272: result: no" >&5 |
2273 |
|
echo "${ECHO_T}no" >&6 |
2274 |
|
fi |
2275 |
|
|
2282 |
|
do |
2283 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2284 |
|
set dummy $ac_prog; ac_word=$2 |
2285 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2285 |
> |
echo "$as_me:2285: checking for $ac_word" >&5 |
2286 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2287 |
|
if test "${ac_cv_prog_ac_ct_F90+set}" = set; then |
2288 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2290 |
|
if test -n "$ac_ct_F90"; then |
2291 |
|
ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. |
2292 |
|
else |
2293 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2294 |
< |
for as_dir in $PATH |
2295 |
< |
do |
2296 |
< |
IFS=$as_save_IFS |
2297 |
< |
test -z "$as_dir" && as_dir=. |
2298 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2299 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2300 |
< |
ac_cv_prog_ac_ct_F90="$ac_prog" |
2301 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3144 |
< |
break 2 |
3145 |
< |
fi |
2293 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
2294 |
> |
ac_dummy="$PATH" |
2295 |
> |
for ac_dir in $ac_dummy; do |
2296 |
> |
IFS=$ac_save_IFS |
2297 |
> |
test -z "$ac_dir" && ac_dir=. |
2298 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
2299 |
> |
ac_cv_prog_ac_ct_F90="$ac_prog" |
2300 |
> |
echo "$as_me:2300: found $ac_dir/$ac_word" >&5 |
2301 |
> |
break |
2302 |
|
done |
3147 |
– |
done |
2303 |
|
|
2304 |
|
fi |
2305 |
|
fi |
2306 |
|
ac_ct_F90=$ac_cv_prog_ac_ct_F90 |
2307 |
|
if test -n "$ac_ct_F90"; then |
2308 |
< |
echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 |
2308 |
> |
echo "$as_me:2308: result: $ac_ct_F90" >&5 |
2309 |
|
echo "${ECHO_T}$ac_ct_F90" >&6 |
2310 |
|
else |
2311 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2311 |
> |
echo "$as_me:2311: result: no" >&5 |
2312 |
|
echo "${ECHO_T}no" >&6 |
2313 |
|
fi |
2314 |
|
|
2318 |
|
F90=$ac_ct_F90 |
2319 |
|
fi |
2320 |
|
|
3166 |
– |
|
2321 |
|
# If we don't use `.F90' as extension, the preprocessor is not run on the |
2322 |
|
# input file. |
2323 |
|
ac_save_ext=$ac_ext |
2324 |
|
ac_ext=F90 |
2325 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 |
2325 |
> |
echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5 |
2326 |
|
echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 |
2327 |
|
if test "${ac_cv_f90_compiler_gnu+set}" = set; then |
2328 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2339 |
|
|
2340 |
|
_ACEOF |
2341 |
|
rm -f conftest.$ac_objext |
2342 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2343 |
< |
(eval $ac_compile) 2>conftest.er1 |
2342 |
> |
if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5 |
2343 |
> |
(eval $ac_compile) 2>&5 |
2344 |
|
ac_status=$? |
2345 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3192 |
< |
rm -f conftest.er1 |
3193 |
< |
cat conftest.err >&5 |
3194 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2345 |
> |
echo "$as_me:2345: \$? = $ac_status" >&5 |
2346 |
|
(exit $ac_status); } && |
2347 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
2348 |
< |
|| test ! -s conftest.err' |
3198 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2347 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2348 |
> |
{ (eval echo "$as_me:2348: \"$ac_try\"") >&5 |
2349 |
|
(eval $ac_try) 2>&5 |
2350 |
|
ac_status=$? |
2351 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3202 |
< |
(exit $ac_status); }; } && |
3203 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3204 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 |
< |
(eval $ac_try) 2>&5 |
3206 |
< |
ac_status=$? |
3207 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2351 |
> |
echo "$as_me:2351: \$? = $ac_status" >&5 |
2352 |
|
(exit $ac_status); }; }; then |
2353 |
|
ac_compiler_gnu=yes |
2354 |
|
else |
2355 |
|
echo "$as_me: failed program was:" >&5 |
2356 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3213 |
< |
|
2356 |
> |
cat conftest.$ac_ext >&5 |
2357 |
|
ac_compiler_gnu=no |
2358 |
|
fi |
2359 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2359 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2360 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
2361 |
|
|
2362 |
|
fi |
2363 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 |
2363 |
> |
echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5 |
2364 |
|
echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 |
2365 |
|
ac_ext=$ac_save_ext |
2366 |
|
G95=`test $ac_compiler_gnu = yes && echo yes` |
2370 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2371 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2372 |
|
|
3230 |
– |
|
3231 |
– |
|
3232 |
– |
|
3233 |
– |
|
2373 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
2374 |
|
# for preprocessed f90 source. |
2375 |
|
|
2390 |
|
esac |
2391 |
|
|
2392 |
|
if test -z "$PREPFLAG"; then |
2393 |
< |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5 |
2393 |
> |
{ echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5 |
2394 |
|
echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} |
2395 |
|
PREPFLAG="" |
2396 |
|
fi |
2397 |
|
|
2398 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
2398 |
> |
echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5 |
2399 |
|
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 |
2400 |
|
|
3262 |
– |
|
2401 |
|
ac_ext=f90 |
2402 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2403 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2413 |
|
|
2414 |
|
cat >conftest.$ac_ext <<_ACEOF |
2415 |
|
|
3278 |
– |
|
2416 |
|
program main |
2417 |
|
|
2418 |
|
integer :: i |
2419 |
|
i = 1 |
2420 |
|
|
3284 |
– |
|
2421 |
|
end program main |
2422 |
|
|
2423 |
|
_ACEOF |
2424 |
|
rm -f conftest.$ac_objext |
2425 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2426 |
< |
(eval $ac_compile) 2>conftest.er1 |
2425 |
> |
if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5 |
2426 |
> |
(eval $ac_compile) 2>&5 |
2427 |
|
ac_status=$? |
2428 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3293 |
< |
rm -f conftest.er1 |
3294 |
< |
cat conftest.err >&5 |
3295 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2428 |
> |
echo "$as_me:2428: \$? = $ac_status" >&5 |
2429 |
|
(exit $ac_status); } && |
2430 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
2431 |
< |
|| test ! -s conftest.err' |
3299 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2430 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2431 |
> |
{ (eval echo "$as_me:2431: \"$ac_try\"") >&5 |
2432 |
|
(eval $ac_try) 2>&5 |
2433 |
|
ac_status=$? |
2434 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3303 |
< |
(exit $ac_status); }; } && |
3304 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3305 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3306 |
< |
(eval $ac_try) 2>&5 |
3307 |
< |
ac_status=$? |
3308 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2434 |
> |
echo "$as_me:2434: \$? = $ac_status" >&5 |
2435 |
|
(exit $ac_status); }; }; then |
2436 |
|
prepflagworks=1 |
2437 |
|
else |
2438 |
|
echo "$as_me: failed program was:" >&5 |
2439 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3314 |
< |
|
2439 |
> |
cat conftest.$ac_ext >&5 |
2440 |
|
prepflagworks=0 |
2441 |
|
fi |
2442 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2442 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2443 |
|
|
2444 |
|
F90FLAGS=$ac_save_F90FLAGS |
2445 |
|
ac_ext=$ac_save_ext |
2449 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2450 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2451 |
|
|
3327 |
– |
|
2452 |
|
if test "$prepflagworks" = 1; then |
2453 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2453 |
> |
echo "$as_me:2453: result: yes" >&5 |
2454 |
|
echo "${ECHO_T}yes" >&6 |
2455 |
|
|
2456 |
|
else |
2457 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2457 |
> |
echo "$as_me:2457: result: no" >&5 |
2458 |
|
echo "${ECHO_T}no" >&6 |
2459 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
2459 |
> |
{ { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
2460 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
2461 |
|
{ (exit 1); exit 1; }; } |
2462 |
|
fi |
2463 |
|
fi |
3340 |
– |
|
3341 |
– |
|
2464 |
|
|
3343 |
– |
|
3344 |
– |
|
2465 |
|
# Try to determine native compiler flags that allow us to use F90 suffix |
2466 |
|
# for preprocessed f90 source with -D type defines |
2467 |
|
|
2482 |
|
esac |
2483 |
|
|
2484 |
|
if test -z "$PREPDEFFLAG"; then |
2485 |
< |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
2485 |
> |
{ echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
2486 |
|
echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} |
2487 |
|
PREPDEFFLAG=" " |
2488 |
|
fi |
2489 |
|
|
2490 |
< |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
2490 |
> |
echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5 |
2491 |
|
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 |
2492 |
|
|
3373 |
– |
|
2493 |
|
ac_ext=f90 |
2494 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2495 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2505 |
|
|
2506 |
|
cat >conftest.$ac_ext <<_ACEOF |
2507 |
|
|
3389 |
– |
|
2508 |
|
program main |
2509 |
|
|
2510 |
|
integer :: i |
2514 |
|
choke me |
2515 |
|
#endif |
2516 |
|
|
3399 |
– |
|
2517 |
|
end program main |
2518 |
|
|
2519 |
|
_ACEOF |
2520 |
|
rm -f conftest.$ac_objext |
2521 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2522 |
< |
(eval $ac_compile) 2>conftest.er1 |
2521 |
> |
if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5 |
2522 |
> |
(eval $ac_compile) 2>&5 |
2523 |
|
ac_status=$? |
2524 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3408 |
< |
rm -f conftest.er1 |
3409 |
< |
cat conftest.err >&5 |
3410 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2524 |
> |
echo "$as_me:2524: \$? = $ac_status" >&5 |
2525 |
|
(exit $ac_status); } && |
2526 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
2527 |
< |
|| test ! -s conftest.err' |
3414 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2526 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2527 |
> |
{ (eval echo "$as_me:2527: \"$ac_try\"") >&5 |
2528 |
|
(eval $ac_try) 2>&5 |
2529 |
|
ac_status=$? |
2530 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3418 |
< |
(exit $ac_status); }; } && |
3419 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3420 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3421 |
< |
(eval $ac_try) 2>&5 |
3422 |
< |
ac_status=$? |
3423 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2530 |
> |
echo "$as_me:2530: \$? = $ac_status" >&5 |
2531 |
|
(exit $ac_status); }; }; then |
2532 |
|
prepdefflagworks=1 |
2533 |
|
else |
2534 |
|
echo "$as_me: failed program was:" >&5 |
2535 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3429 |
< |
|
2535 |
> |
cat conftest.$ac_ext >&5 |
2536 |
|
prepdefflagworks=0 |
2537 |
|
fi |
2538 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2538 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2539 |
|
|
2540 |
|
F90FLAGS=$ac_save_F90FLAGS |
2541 |
|
ac_ext=$ac_save_ext |
2545 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2546 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2547 |
|
|
3442 |
– |
|
3443 |
– |
|
2548 |
|
if test "$prepdefflagworks" = 1; then |
2549 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
2549 |
> |
echo "$as_me:2549: result: yes" >&5 |
2550 |
|
echo "${ECHO_T}yes" >&6 |
2551 |
|
|
2552 |
|
else |
2553 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
2553 |
> |
echo "$as_me:2553: result: no" >&5 |
2554 |
|
echo "${ECHO_T}no" >&6 |
2555 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
2555 |
> |
{ { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
2556 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
2557 |
|
{ (exit 1); exit 1; }; } |
2558 |
|
fi |
2563 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2564 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
2565 |
|
|
3462 |
– |
|
3463 |
– |
|
2566 |
|
ac_ext=f90 |
2567 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
2568 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2569 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
2570 |
< |
echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 |
2570 |
> |
echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5 |
2571 |
|
echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 |
2572 |
|
if test "${ac_cv_prog_f90_v+set}" = set; then |
2573 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2577 |
|
|
2578 |
|
program main |
2579 |
|
|
3478 |
– |
|
2580 |
|
end program main |
2581 |
|
|
2582 |
|
_ACEOF |
2583 |
|
rm -f conftest.$ac_objext |
2584 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2585 |
< |
(eval $ac_compile) 2>conftest.er1 |
2584 |
> |
if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5 |
2585 |
> |
(eval $ac_compile) 2>&5 |
2586 |
|
ac_status=$? |
2587 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3487 |
< |
rm -f conftest.er1 |
3488 |
< |
cat conftest.err >&5 |
3489 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2587 |
> |
echo "$as_me:2587: \$? = $ac_status" >&5 |
2588 |
|
(exit $ac_status); } && |
2589 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
2590 |
< |
|| test ! -s conftest.err' |
3493 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3494 |
< |
(eval $ac_try) 2>&5 |
3495 |
< |
ac_status=$? |
3496 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3497 |
< |
(exit $ac_status); }; } && |
3498 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3499 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2589 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2590 |
> |
{ (eval echo "$as_me:2590: \"$ac_try\"") >&5 |
2591 |
|
(eval $ac_try) 2>&5 |
2592 |
|
ac_status=$? |
2593 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2593 |
> |
echo "$as_me:2593: \$? = $ac_status" >&5 |
2594 |
|
(exit $ac_status); }; }; then |
2595 |
|
ac_cv_prog_f90_v= |
2596 |
|
# Try some options frequently used verbose output |
2604 |
|
|
2605 |
|
program main |
2606 |
|
|
3516 |
– |
|
2607 |
|
end program main |
2608 |
|
|
2609 |
|
_ACEOF |
2615 |
|
ac_save_F90FLAGS=$F90FLAGS |
2616 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
2617 |
|
|
2618 |
< |
(eval echo $as_me:3528: \"$ac_link\") >&5 |
2618 |
> |
(eval echo $as_me:2618: \"$ac_link\") >&5 |
2619 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
2620 |
|
echo "$ac_f90_v_output" >&5 |
2621 |
|
F90FLAGS=$ac_save_F90FLAGS |
2647 |
|
done |
2648 |
|
done |
2649 |
|
if test -z "$ac_cv_prog_f90_v"; then |
2650 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
2650 |
> |
{ echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5 |
2651 |
|
echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} |
2652 |
|
fi |
2653 |
|
else |
2654 |
|
echo "$as_me: failed program was:" >&5 |
2655 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2656 |
< |
|
3567 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
2655 |
> |
cat conftest.$ac_ext >&5 |
2656 |
> |
{ echo "$as_me:2656: WARNING: compilation failed" >&5 |
2657 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
2658 |
|
fi |
2659 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2659 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2660 |
|
|
2661 |
|
fi |
2662 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
2662 |
> |
echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5 |
2663 |
|
echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 |
2664 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 |
2664 |
> |
echo "$as_me:2664: checking for Fortran 90 libraries" >&5 |
2665 |
|
echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 |
2666 |
|
if test "${ac_cv_flibs+set}" = set; then |
2667 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2679 |
|
|
2680 |
|
program main |
2681 |
|
|
3593 |
– |
|
2682 |
|
end program main |
2683 |
|
|
2684 |
|
_ACEOF |
2690 |
|
ac_save_F90FLAGS=$F90FLAGS |
2691 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
2692 |
|
|
2693 |
< |
(eval echo $as_me:3605: \"$ac_link\") >&5 |
2693 |
> |
(eval echo $as_me:2693: \"$ac_link\") >&5 |
2694 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
2695 |
|
echo "$ac_f90_v_output" >&5 |
2696 |
|
F90FLAGS=$ac_save_F90FLAGS |
2843 |
|
fi # test "x$F90LIBS" = "x" |
2844 |
|
|
2845 |
|
fi |
2846 |
< |
echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 |
2846 |
> |
echo "$as_me:2846: result: $ac_cv_flibs" >&5 |
2847 |
|
echo "${ECHO_T}$ac_cv_flibs" >&6 |
2848 |
|
F90LIBS="$ac_cv_f90libs" |
2849 |
|
|
2852 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2853 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
2854 |
|
|
2855 |
< |
|
3768 |
< |
echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 |
2855 |
> |
echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5 |
2856 |
|
echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 |
2857 |
|
if test "${ac_cv_f90_mangling+set}" = set; then |
2858 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2870 |
|
end |
2871 |
|
_ACEOF |
2872 |
|
rm -f conftest.$ac_objext |
2873 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2874 |
< |
(eval $ac_compile) 2>conftest.er1 |
2873 |
> |
if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5 |
2874 |
> |
(eval $ac_compile) 2>&5 |
2875 |
|
ac_status=$? |
2876 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3790 |
< |
rm -f conftest.er1 |
3791 |
< |
cat conftest.err >&5 |
3792 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2876 |
> |
echo "$as_me:2876: \$? = $ac_status" >&5 |
2877 |
|
(exit $ac_status); } && |
2878 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
2879 |
< |
|| test ! -s conftest.err' |
3796 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2878 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2879 |
> |
{ (eval echo "$as_me:2879: \"$ac_try\"") >&5 |
2880 |
|
(eval $ac_try) 2>&5 |
2881 |
|
ac_status=$? |
2882 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3800 |
< |
(exit $ac_status); }; } && |
3801 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3802 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3803 |
< |
(eval $ac_try) 2>&5 |
3804 |
< |
ac_status=$? |
3805 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2882 |
> |
echo "$as_me:2882: \$? = $ac_status" >&5 |
2883 |
|
(exit $ac_status); }; }; then |
2884 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
2885 |
|
|
2897 |
|
for ac_underscore in "" "_"; do |
2898 |
|
ac_func="$ac_foobar$ac_underscore" |
2899 |
|
cat >conftest.$ac_ext <<_ACEOF |
2900 |
< |
/* confdefs.h. */ |
2901 |
< |
_ACEOF |
3825 |
< |
cat confdefs.h >>conftest.$ac_ext |
3826 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3827 |
< |
/* end confdefs.h. */ |
2900 |
> |
#line 2900 "configure" |
2901 |
> |
#include "confdefs.h" |
2902 |
|
|
2903 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2904 |
|
#ifdef __cplusplus |
2916 |
|
} |
2917 |
|
_ACEOF |
2918 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2919 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2920 |
< |
(eval $ac_link) 2>conftest.er1 |
2919 |
> |
if { (eval echo "$as_me:2919: \"$ac_link\"") >&5 |
2920 |
> |
(eval $ac_link) 2>&5 |
2921 |
|
ac_status=$? |
2922 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3849 |
< |
rm -f conftest.er1 |
3850 |
< |
cat conftest.err >&5 |
3851 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2922 |
> |
echo "$as_me:2922: \$? = $ac_status" >&5 |
2923 |
|
(exit $ac_status); } && |
2924 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2925 |
< |
|| test ! -s conftest.err' |
3855 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2924 |
> |
{ ac_try='test -s conftest$ac_exeext' |
2925 |
> |
{ (eval echo "$as_me:2925: \"$ac_try\"") >&5 |
2926 |
|
(eval $ac_try) 2>&5 |
2927 |
|
ac_status=$? |
2928 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3859 |
< |
(exit $ac_status); }; } && |
3860 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3861 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3862 |
< |
(eval $ac_try) 2>&5 |
3863 |
< |
ac_status=$? |
3864 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2928 |
> |
echo "$as_me:2928: \$? = $ac_status" >&5 |
2929 |
|
(exit $ac_status); }; }; then |
2930 |
|
ac_success=yes; break 2 |
2931 |
|
else |
2932 |
|
echo "$as_me: failed program was:" >&5 |
2933 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3870 |
< |
|
2933 |
> |
cat conftest.$ac_ext >&5 |
2934 |
|
fi |
2935 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3873 |
< |
conftest$ac_exeext conftest.$ac_ext |
2935 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2936 |
|
done |
2937 |
|
done |
2938 |
|
|
2953 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
2954 |
|
|
2955 |
|
cat >conftest.$ac_ext <<_ACEOF |
2956 |
< |
/* confdefs.h. */ |
2957 |
< |
_ACEOF |
3896 |
< |
cat confdefs.h >>conftest.$ac_ext |
3897 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3898 |
< |
/* end confdefs.h. */ |
2956 |
> |
#line 2956 "configure" |
2957 |
> |
#include "confdefs.h" |
2958 |
|
|
2959 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2960 |
|
#ifdef __cplusplus |
2972 |
|
} |
2973 |
|
_ACEOF |
2974 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2975 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2976 |
< |
(eval $ac_link) 2>conftest.er1 |
2975 |
> |
if { (eval echo "$as_me:2975: \"$ac_link\"") >&5 |
2976 |
> |
(eval $ac_link) 2>&5 |
2977 |
|
ac_status=$? |
2978 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3920 |
< |
rm -f conftest.er1 |
3921 |
< |
cat conftest.err >&5 |
3922 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2978 |
> |
echo "$as_me:2978: \$? = $ac_status" >&5 |
2979 |
|
(exit $ac_status); } && |
2980 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2981 |
< |
|| test ! -s conftest.err' |
3926 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2980 |
> |
{ ac_try='test -s conftest$ac_exeext' |
2981 |
> |
{ (eval echo "$as_me:2981: \"$ac_try\"") >&5 |
2982 |
|
(eval $ac_try) 2>&5 |
2983 |
|
ac_status=$? |
2984 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3930 |
< |
(exit $ac_status); }; } && |
3931 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3932 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3933 |
< |
(eval $ac_try) 2>&5 |
3934 |
< |
ac_status=$? |
3935 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2984 |
> |
echo "$as_me:2984: \$? = $ac_status" >&5 |
2985 |
|
(exit $ac_status); }; }; then |
2986 |
|
ac_success_extra=yes; break |
2987 |
|
else |
2988 |
|
echo "$as_me: failed program was:" >&5 |
2989 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3941 |
< |
|
2989 |
> |
cat conftest.$ac_ext >&5 |
2990 |
|
fi |
2991 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3944 |
< |
conftest$ac_exeext conftest.$ac_ext |
2991 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2992 |
|
done |
2993 |
|
|
2994 |
|
if test "$ac_success_extra" = "yes"; then |
3020 |
|
rm -f cf90_test* conftest* |
3021 |
|
else |
3022 |
|
echo "$as_me: failed program was:" >&5 |
3023 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3977 |
< |
|
3023 |
> |
cat conftest.$ac_ext >&5 |
3024 |
|
fi |
3025 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3025 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3026 |
|
ac_ext=f90 |
3027 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3028 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3029 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3030 |
|
|
3031 |
|
fi |
3032 |
< |
echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 |
3032 |
> |
echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5 |
3033 |
|
echo "${ECHO_T}$ac_cv_f90_mangling" >&6 |
3034 |
|
|
3989 |
– |
|
3990 |
– |
|
3035 |
|
case $ac_cv_f90_mangling in |
3036 |
|
"lower case, no underscore, no extra underscore") |
3037 |
< |
cat >>confdefs.h <<\_ACEOF |
3037 |
> |
cat >>confdefs.h <<\EOF |
3038 |
|
#define F90_FUNC(name,NAME) name |
3039 |
< |
_ACEOF |
3039 |
> |
EOF |
3040 |
|
|
3041 |
< |
cat >>confdefs.h <<\_ACEOF |
3041 |
> |
cat >>confdefs.h <<\EOF |
3042 |
|
#define F90_FUNC_(name,NAME) name |
3043 |
< |
_ACEOF |
3043 |
> |
EOF |
3044 |
|
;; |
3045 |
|
"lower case, no underscore, extra underscore") |
3046 |
< |
cat >>confdefs.h <<\_ACEOF |
3046 |
> |
cat >>confdefs.h <<\EOF |
3047 |
|
#define F90_FUNC(name,NAME) name |
3048 |
< |
_ACEOF |
3048 |
> |
EOF |
3049 |
|
|
3050 |
< |
cat >>confdefs.h <<\_ACEOF |
3050 |
> |
cat >>confdefs.h <<\EOF |
3051 |
|
#define F90_FUNC_(name,NAME) name ## _ |
3052 |
< |
_ACEOF |
3052 |
> |
EOF |
3053 |
|
;; |
3054 |
|
"lower case, underscore, no extra underscore") |
3055 |
< |
cat >>confdefs.h <<\_ACEOF |
3055 |
> |
cat >>confdefs.h <<\EOF |
3056 |
|
#define F90_FUNC(name,NAME) name ## _ |
3057 |
< |
_ACEOF |
3057 |
> |
EOF |
3058 |
|
|
3059 |
< |
cat >>confdefs.h <<\_ACEOF |
3059 |
> |
cat >>confdefs.h <<\EOF |
3060 |
|
#define F90_FUNC_(name,NAME) name ## _ |
3061 |
< |
_ACEOF |
3061 |
> |
EOF |
3062 |
|
;; |
3063 |
|
"lower case, underscore, extra underscore") |
3064 |
< |
cat >>confdefs.h <<\_ACEOF |
3064 |
> |
cat >>confdefs.h <<\EOF |
3065 |
|
#define F90_FUNC(name,NAME) name ## _ |
3066 |
< |
_ACEOF |
3066 |
> |
EOF |
3067 |
|
|
3068 |
< |
cat >>confdefs.h <<\_ACEOF |
3068 |
> |
cat >>confdefs.h <<\EOF |
3069 |
|
#define F90_FUNC_(name,NAME) name ## __ |
3070 |
< |
_ACEOF |
3070 |
> |
EOF |
3071 |
|
;; |
3072 |
|
"upper case, no underscore, no extra underscore") |
3073 |
< |
cat >>confdefs.h <<\_ACEOF |
3073 |
> |
cat >>confdefs.h <<\EOF |
3074 |
|
#define F90_FUNC(name,NAME) NAME |
3075 |
< |
_ACEOF |
3075 |
> |
EOF |
3076 |
|
|
3077 |
< |
cat >>confdefs.h <<\_ACEOF |
3077 |
> |
cat >>confdefs.h <<\EOF |
3078 |
|
#define F90_FUNC_(name,NAME) NAME |
3079 |
< |
_ACEOF |
3079 |
> |
EOF |
3080 |
|
;; |
3081 |
|
"upper case, no underscore, extra underscore") |
3082 |
< |
cat >>confdefs.h <<\_ACEOF |
3082 |
> |
cat >>confdefs.h <<\EOF |
3083 |
|
#define F90_FUNC(name,NAME) NAME |
3084 |
< |
_ACEOF |
3084 |
> |
EOF |
3085 |
|
|
3086 |
< |
cat >>confdefs.h <<\_ACEOF |
3086 |
> |
cat >>confdefs.h <<\EOF |
3087 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
3088 |
< |
_ACEOF |
3088 |
> |
EOF |
3089 |
|
;; |
3090 |
|
"upper case, underscore, no extra underscore") |
3091 |
< |
cat >>confdefs.h <<\_ACEOF |
3091 |
> |
cat >>confdefs.h <<\EOF |
3092 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
3093 |
< |
_ACEOF |
3093 |
> |
EOF |
3094 |
|
|
3095 |
< |
cat >>confdefs.h <<\_ACEOF |
3095 |
> |
cat >>confdefs.h <<\EOF |
3096 |
|
#define F90_FUNC_(name,NAME) NAME ## _ |
3097 |
< |
_ACEOF |
3097 |
> |
EOF |
3098 |
|
;; |
3099 |
|
"upper case, underscore, extra underscore") |
3100 |
< |
cat >>confdefs.h <<\_ACEOF |
3100 |
> |
cat >>confdefs.h <<\EOF |
3101 |
|
#define F90_FUNC(name,NAME) NAME ## _ |
3102 |
< |
_ACEOF |
3102 |
> |
EOF |
3103 |
|
|
3104 |
< |
cat >>confdefs.h <<\_ACEOF |
3104 |
> |
cat >>confdefs.h <<\EOF |
3105 |
|
#define F90_FUNC_(name,NAME) NAME ## __ |
3106 |
< |
_ACEOF |
3106 |
> |
EOF |
3107 |
|
;; |
3108 |
|
*) |
3109 |
< |
{ echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
3109 |
> |
{ echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5 |
3110 |
|
echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} |
3111 |
|
;; |
3112 |
|
esac |
3113 |
|
|
3114 |
< |
|
4071 |
< |
|
4072 |
< |
|
4073 |
< |
|
4074 |
< |
echo "$as_me:$LINENO: checking for module suffix" >&5 |
3114 |
> |
echo "$as_me:3114: checking for module suffix" >&5 |
3115 |
|
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 |
3116 |
|
rm -f conftest* |
3117 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
3138 |
|
fi |
3139 |
|
fi |
3140 |
|
if test -z "$MOD" ; then |
3141 |
< |
echo "$as_me:$LINENO: result: unknown" >&5 |
3141 |
> |
echo "$as_me:3141: result: unknown" >&5 |
3142 |
|
echo "${ECHO_T}unknown" >&6 |
3143 |
|
# Use mod if we can't figure it out |
3144 |
|
MOD="mod" |
3145 |
|
else |
3146 |
< |
echo "$as_me:$LINENO: result: $MOD" >&5 |
3146 |
> |
echo "$as_me:3146: result: $MOD" >&5 |
3147 |
|
echo "${ECHO_T}$MOD" >&6 |
3148 |
|
fi |
3149 |
|
if test -s work.pcl ; then |
3150 |
< |
{ echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 |
3150 |
> |
{ echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5 |
3151 |
|
echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
3152 |
|
fi |
3153 |
|
else |
3154 |
< |
echo "$as_me:$LINENO: result: unknown" >&5 |
3154 |
> |
echo "$as_me:3154: result: unknown" >&5 |
3155 |
|
echo "${ECHO_T}unknown" >&6 |
3156 |
|
fi |
3157 |
|
|
4118 |
– |
|
4119 |
– |
|
4120 |
– |
|
4121 |
– |
|
3158 |
|
# Check for module include path (some use -I, some (Solaris) use -M, some |
3159 |
|
# (absoft) use -p). |
3160 |
|
# Intel compilers use a wierd system: -cl,filename.pcl . If no file is |
3161 |
|
# specified, work.pcl and work.pc are created. However, if you specify |
3162 |
|
# a file, it must contain a the name of a file ending in .pc . Ugh! |
3163 |
|
# Use the module made above |
3164 |
< |
echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
3164 |
> |
echo "$as_me:3164: checking for module directory path flag" >&5 |
3165 |
|
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 |
3166 |
|
rm -f conftest* |
3167 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
3195 |
|
if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then |
3196 |
|
MODDIRFLAG="-I" |
3197 |
|
F90MODINCSPEC="-I<dir>" |
3198 |
< |
echo "$as_me:$LINENO: result: -I" >&5 |
3198 |
> |
echo "$as_me:3198: result: -I" >&5 |
3199 |
|
echo "${ECHO_T}-I" >&6 |
3200 |
|
elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then |
3201 |
|
MODDIRFLAG="-M" |
3202 |
|
F90MODINCSPEC="-M<dir>" |
3203 |
< |
echo "$as_me:$LINENO: result: -M" >&5 |
3203 |
> |
echo "$as_me:3203: result: -M" >&5 |
3204 |
|
echo "${ECHO_T}-M" >&6 |
3205 |
|
elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then |
3206 |
|
MODDIRFLAG="-p" |
3207 |
|
F90MODINCSPEC="-p<dir>" |
3208 |
< |
echo "$as_me:$LINENO: result: -p" >&5 |
3208 |
> |
echo "$as_me:3208: result: -p" >&5 |
3209 |
|
echo "${ECHO_T}-p" >&6 |
3210 |
|
elif test -s work.pc ; then |
3211 |
|
cp work.pc conf/mpimod.pc |
3213 |
|
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl |
3214 |
|
if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then |
3215 |
|
MODDIRFLAG='-cl,mpimod.pcl' |
3216 |
< |
echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
3216 |
> |
echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5 |
3217 |
|
echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 |
3218 |
|
F90_WORK_FILES_ARG="-cl,mpimod.pcl" |
3219 |
|
F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" |
3226 |
|
fi |
3227 |
|
fi |
3228 |
|
if test -z "MODDIRFLAG" ; then |
3229 |
< |
echo "$as_me:$LINENO: result: unknown" >&5 |
3229 |
> |
echo "$as_me:3229: result: unknown" >&5 |
3230 |
|
echo "${ECHO_T}unknown" >&6 |
3231 |
|
fi |
3232 |
|
|
4197 |
– |
|
3233 |
|
rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* |
3234 |
|
if test $madedir = 1 ; then rmdir conf ; fi |
3235 |
+ |
fi |
3236 |
+ |
|
3237 |
+ |
echo "$as_me:3237: checking for Fortran 90 module file names" >&5 |
3238 |
+ |
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 |
3239 |
+ |
if test "${ac_cv_f90_module_names+set}" = set; then |
3240 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3241 |
+ |
else |
3242 |
+ |
ac_ext=f90 |
3243 |
+ |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3244 |
+ |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3245 |
+ |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3246 |
+ |
|
3247 |
+ |
# carry out the test in a new directory, so that we don't miss anything |
3248 |
+ |
mkdir conftest |
3249 |
+ |
cd conftest |
3250 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
3251 |
+ |
MODULE Bar |
3252 |
+ |
END MODULE Bar |
3253 |
+ |
_ACEOF |
3254 |
+ |
rm -f conftest.$ac_objext |
3255 |
+ |
if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5 |
3256 |
+ |
(eval $ac_compile) 2>&5 |
3257 |
+ |
ac_status=$? |
3258 |
+ |
echo "$as_me:3258: \$? = $ac_status" >&5 |
3259 |
+ |
(exit $ac_status); } && |
3260 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3261 |
+ |
{ (eval echo "$as_me:3261: \"$ac_try\"") >&5 |
3262 |
+ |
(eval $ac_try) 2>&5 |
3263 |
+ |
ac_status=$? |
3264 |
+ |
echo "$as_me:3264: \$? = $ac_status" >&5 |
3265 |
+ |
(exit $ac_status); }; }; then |
3266 |
+ |
ac_cv_f90_module_names= |
3267 |
+ |
ac_file_list=* |
3268 |
+ |
for ac_file in $ac_file_list; do |
3269 |
+ |
case $ac_file in |
3270 |
+ |
# don't care for original source and object files |
3271 |
+ |
conftest.$ac_ext | conftest.$ac_objext | conftest.err ) |
3272 |
+ |
: |
3273 |
+ |
;; |
3274 |
+ |
# look for new files derived from the file name |
3275 |
+ |
*conftest*) |
3276 |
+ |
ac_pat=`echo $ac_file | sed s/conftest/%FILE%/` |
3277 |
+ |
ac_exists=false |
3278 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
3279 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
3280 |
+ |
ac_exists=true |
3281 |
+ |
break |
3282 |
+ |
fi |
3283 |
+ |
done |
3284 |
+ |
|
3285 |
+ |
if test x"$ac_exists" = xtrue; then |
3286 |
+ |
: |
3287 |
+ |
else |
3288 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
3289 |
+ |
fi |
3290 |
+ |
|
3291 |
+ |
;; |
3292 |
+ |
# look for new files derived from the module name, |
3293 |
+ |
# with different case translation schemes |
3294 |
+ |
*Bar*) |
3295 |
+ |
ac_pat=`echo $ac_file | sed s/Bar/%Module%/` |
3296 |
+ |
ac_exists=false |
3297 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
3298 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
3299 |
+ |
ac_exists=true |
3300 |
+ |
break |
3301 |
+ |
fi |
3302 |
+ |
done |
3303 |
+ |
|
3304 |
+ |
if test x"$ac_exists" = xtrue; then |
3305 |
+ |
: |
3306 |
+ |
else |
3307 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
3308 |
+ |
fi |
3309 |
+ |
|
3310 |
+ |
;; |
3311 |
+ |
*bar*) |
3312 |
+ |
ac_pat=`echo $ac_file | sed s/bar/%module%/` |
3313 |
+ |
ac_exists=false |
3314 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
3315 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
3316 |
+ |
ac_exists=true |
3317 |
+ |
break |
3318 |
+ |
fi |
3319 |
+ |
done |
3320 |
+ |
|
3321 |
+ |
if test x"$ac_exists" = xtrue; then |
3322 |
+ |
: |
3323 |
+ |
else |
3324 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
3325 |
+ |
fi |
3326 |
+ |
|
3327 |
+ |
;; |
3328 |
+ |
*BAR*) |
3329 |
+ |
ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/` |
3330 |
+ |
ac_exists=false |
3331 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
3332 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
3333 |
+ |
ac_exists=true |
3334 |
+ |
break |
3335 |
+ |
fi |
3336 |
+ |
done |
3337 |
+ |
|
3338 |
+ |
if test x"$ac_exists" = xtrue; then |
3339 |
+ |
: |
3340 |
+ |
else |
3341 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
3342 |
|
fi |
3343 |
|
|
3344 |
+ |
;; |
3345 |
+ |
# Other files - we have no idea how they are generated |
3346 |
+ |
*) |
3347 |
+ |
{ echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5 |
3348 |
+ |
echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} |
3349 |
+ |
;; |
3350 |
+ |
esac |
3351 |
+ |
done |
3352 |
+ |
if test "x$ac_cv_f90_module_names" = "x"; then |
3353 |
+ |
{ echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5 |
3354 |
+ |
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
3355 |
+ |
fi |
3356 |
|
|
3357 |
+ |
else |
3358 |
+ |
echo "$as_me: failed program was:" >&5 |
3359 |
+ |
cat conftest.$ac_ext >&5 |
3360 |
+ |
ac_cv_f90_module_names= |
3361 |
+ |
{ echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5 |
3362 |
+ |
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
3363 |
+ |
fi |
3364 |
+ |
rm -f conftest.$ac_objext conftest.$ac_ext |
3365 |
+ |
cd .. |
3366 |
+ |
# cleanup |
3367 |
+ |
rm -rf conftest |
3368 |
+ |
ac_ext=f90 |
3369 |
+ |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3370 |
+ |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3371 |
+ |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
3372 |
+ |
|
3373 |
+ |
fi |
3374 |
+ |
echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5 |
3375 |
+ |
echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK |
3376 |
+ |
|
3377 |
+ |
# We now generate a shell script that will help us to figure out the correct |
3378 |
+ |
# module file names, using the value of ac_cv_f90_module_names |
3379 |
+ |
|
3380 |
+ |
echo "Generating shell script modnam" |
3381 |
+ |
|
3382 |
+ |
cat > scripts/modnam << EOF |
3383 |
+ |
#! /bin/sh |
3384 |
+ |
# This script is auto-generated by configure |
3385 |
+ |
# |
3386 |
+ |
usage="\\ |
3387 |
+ |
Usage: \$0 [FILES] |
3388 |
+ |
|
3389 |
+ |
[FILES] are Fortran 90 source files. |
3390 |
+ |
The output is a list of module file names that the Fortran 90 compiler |
3391 |
+ |
generates when compiling [FILES]." |
3392 |
+ |
|
3393 |
+ |
list= |
3394 |
+ |
empty= |
3395 |
+ |
|
3396 |
+ |
if test \$# -eq 0; then |
3397 |
+ |
echo "\$usage"; exit 0 |
3398 |
+ |
fi |
3399 |
+ |
|
3400 |
+ |
while test \$# != 0; do |
3401 |
+ |
|
3402 |
+ |
file=\$1 |
3403 |
+ |
shift |
3404 |
+ |
|
3405 |
+ |
# strip suffix |
3406 |
+ |
base=\`echo \$file | sed 's/[.][^.]*$//'\` |
3407 |
+ |
|
3408 |
+ |
test ! -f \$file && continue |
3409 |
+ |
|
3410 |
+ |
# Look for module definitions and transform them to upper / lower case |
3411 |
+ |
mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\` |
3412 |
+ |
upper=\`echo \$mods | tr a-z A-Z\` |
3413 |
+ |
lower=\`echo \$mods | tr A-Z a-z\` |
3414 |
+ |
|
3415 |
+ |
# Here, the patterns for generating module file names were inserted by configure |
3416 |
+ |
for trans in $ac_cv_f90_module_names; do |
3417 |
+ |
|
3418 |
+ |
pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\` |
3419 |
+ |
var=empty |
3420 |
+ |
case \$pat in |
3421 |
+ |
%MODULE%) |
3422 |
+ |
var=upper ;; |
3423 |
+ |
%Module%) |
3424 |
+ |
var=mods ;; |
3425 |
+ |
%module%) |
3426 |
+ |
var=lower ;; |
3427 |
+ |
%FILE%) |
3428 |
+ |
test -n "\$mods" && var=base ;; |
3429 |
+ |
esac |
3430 |
+ |
new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\` |
3431 |
+ |
list="\$list \$new" |
3432 |
+ |
done |
3433 |
+ |
done |
3434 |
+ |
|
3435 |
+ |
echo \$list |
3436 |
+ |
# end of configure-generated script |
3437 |
+ |
EOF |
3438 |
+ |
chmod 755 scripts/modnam |
3439 |
+ |
|
3440 |
+ |
pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'` |
3441 |
+ |
F90_MODULE_NAMES=empty |
3442 |
+ |
case $pat in |
3443 |
+ |
%MODULE%) |
3444 |
+ |
F90_MODULE_NAMES=UPPER ;; |
3445 |
+ |
%Module%) |
3446 |
+ |
F90_MODULE_NAMES=Mixed ;; |
3447 |
+ |
%module%) |
3448 |
+ |
F90_MODULE_NAMES=lower ;; |
3449 |
+ |
*) |
3450 |
+ |
F90_MODULE_NAMES=unknown ;; |
3451 |
+ |
esac |
3452 |
+ |
|
3453 |
|
ac_ext=c |
3454 |
|
ac_cpp='$CPP $CPPFLAGS' |
3455 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3456 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3457 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3458 |
|
|
4209 |
– |
|
3459 |
|
ac_ext=c |
3460 |
|
ac_cpp='$CPP $CPPFLAGS' |
3461 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3467 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3468 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3469 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3470 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3470 |
> |
echo "$as_me:3470: checking how to run the C preprocessor" >&5 |
3471 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3472 |
|
# On Suns, sometimes $CPP names a directory. |
3473 |
|
if test -n "$CPP" && test -d "$CPP"; then |
3480 |
|
# Double quotes because CPP needs to be expanded |
3481 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3482 |
|
do |
3483 |
+ |
# break 2 since there is a loop in there. |
3484 |
|
ac_preproc_ok=false |
3485 |
|
for ac_c_preproc_warn_flag in '' yes |
3486 |
|
do |
3487 |
|
# Use a header file that comes with gcc, so configuring glibc |
3488 |
|
# with a fresh cross-compiler works. |
4239 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4240 |
– |
# <limits.h> exists even on freestanding compilers. |
3489 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3490 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3491 |
|
cat >conftest.$ac_ext <<_ACEOF |
3492 |
< |
/* confdefs.h. */ |
3492 |
> |
#line 3492 "configure" |
3493 |
> |
#include "confdefs.h" |
3494 |
> |
#include <assert.h> |
3495 |
> |
Syntax error |
3496 |
|
_ACEOF |
3497 |
< |
cat confdefs.h >>conftest.$ac_ext |
4247 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4248 |
< |
/* end confdefs.h. */ |
4249 |
< |
#ifdef __STDC__ |
4250 |
< |
# include <limits.h> |
4251 |
< |
#else |
4252 |
< |
# include <assert.h> |
4253 |
< |
#endif |
4254 |
< |
Syntax error |
4255 |
< |
_ACEOF |
4256 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3497 |
> |
if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3498 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3499 |
|
ac_status=$? |
3500 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3500 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3501 |
|
rm -f conftest.er1 |
3502 |
|
cat conftest.err >&5 |
3503 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3503 |
> |
echo "$as_me:3503: \$? = $ac_status" >&5 |
3504 |
|
(exit $ac_status); } >/dev/null; then |
3505 |
|
if test -s conftest.err; then |
3506 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4266 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3507 |
|
else |
3508 |
|
ac_cpp_err= |
3509 |
|
fi |
3514 |
|
: |
3515 |
|
else |
3516 |
|
echo "$as_me: failed program was:" >&5 |
3517 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4278 |
< |
|
3517 |
> |
cat conftest.$ac_ext >&5 |
3518 |
|
# Broken: fails on valid input. |
3519 |
|
continue |
3520 |
|
fi |
3523 |
|
# OK, works on sane cases. Now check whether non-existent headers |
3524 |
|
# can be detected and how. |
3525 |
|
cat >conftest.$ac_ext <<_ACEOF |
3526 |
< |
/* confdefs.h. */ |
3527 |
< |
_ACEOF |
4289 |
< |
cat confdefs.h >>conftest.$ac_ext |
4290 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4291 |
< |
/* end confdefs.h. */ |
3526 |
> |
#line 3526 "configure" |
3527 |
> |
#include "confdefs.h" |
3528 |
|
#include <ac_nonexistent.h> |
3529 |
|
_ACEOF |
3530 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3530 |
> |
if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3531 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3532 |
|
ac_status=$? |
3533 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3533 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3534 |
|
rm -f conftest.er1 |
3535 |
|
cat conftest.err >&5 |
3536 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3536 |
> |
echo "$as_me:3536: \$? = $ac_status" >&5 |
3537 |
|
(exit $ac_status); } >/dev/null; then |
3538 |
|
if test -s conftest.err; then |
3539 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4304 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3540 |
|
else |
3541 |
|
ac_cpp_err= |
3542 |
|
fi |
3548 |
|
continue |
3549 |
|
else |
3550 |
|
echo "$as_me: failed program was:" >&5 |
3551 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4317 |
< |
|
3551 |
> |
cat conftest.$ac_ext >&5 |
3552 |
|
# Passes both tests. |
3553 |
|
ac_preproc_ok=: |
3554 |
|
break |
3559 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3560 |
|
rm -f conftest.err conftest.$ac_ext |
3561 |
|
if $ac_preproc_ok; then |
3562 |
< |
break |
3562 |
> |
break 2 |
3563 |
|
fi |
3564 |
|
|
3565 |
|
done |
3570 |
|
else |
3571 |
|
ac_cv_prog_CPP=$CPP |
3572 |
|
fi |
3573 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
3573 |
> |
echo "$as_me:3573: result: $CPP" >&5 |
3574 |
|
echo "${ECHO_T}$CPP" >&6 |
3575 |
|
ac_preproc_ok=false |
3576 |
|
for ac_c_preproc_warn_flag in '' yes |
3577 |
|
do |
3578 |
|
# Use a header file that comes with gcc, so configuring glibc |
3579 |
|
# with a fresh cross-compiler works. |
4346 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4347 |
– |
# <limits.h> exists even on freestanding compilers. |
3580 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
3581 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
3582 |
|
cat >conftest.$ac_ext <<_ACEOF |
3583 |
< |
/* confdefs.h. */ |
3583 |
> |
#line 3583 "configure" |
3584 |
> |
#include "confdefs.h" |
3585 |
> |
#include <assert.h> |
3586 |
> |
Syntax error |
3587 |
|
_ACEOF |
3588 |
< |
cat confdefs.h >>conftest.$ac_ext |
4354 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4355 |
< |
/* end confdefs.h. */ |
4356 |
< |
#ifdef __STDC__ |
4357 |
< |
# include <limits.h> |
4358 |
< |
#else |
4359 |
< |
# include <assert.h> |
4360 |
< |
#endif |
4361 |
< |
Syntax error |
4362 |
< |
_ACEOF |
4363 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3588 |
> |
if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3589 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3590 |
|
ac_status=$? |
3591 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3591 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3592 |
|
rm -f conftest.er1 |
3593 |
|
cat conftest.err >&5 |
3594 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3594 |
> |
echo "$as_me:3594: \$? = $ac_status" >&5 |
3595 |
|
(exit $ac_status); } >/dev/null; then |
3596 |
|
if test -s conftest.err; then |
3597 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4373 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3598 |
|
else |
3599 |
|
ac_cpp_err= |
3600 |
|
fi |
3605 |
|
: |
3606 |
|
else |
3607 |
|
echo "$as_me: failed program was:" >&5 |
3608 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4385 |
< |
|
3608 |
> |
cat conftest.$ac_ext >&5 |
3609 |
|
# Broken: fails on valid input. |
3610 |
|
continue |
3611 |
|
fi |
3614 |
|
# OK, works on sane cases. Now check whether non-existent headers |
3615 |
|
# can be detected and how. |
3616 |
|
cat >conftest.$ac_ext <<_ACEOF |
3617 |
< |
/* confdefs.h. */ |
3618 |
< |
_ACEOF |
4396 |
< |
cat confdefs.h >>conftest.$ac_ext |
4397 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4398 |
< |
/* end confdefs.h. */ |
3617 |
> |
#line 3617 "configure" |
3618 |
> |
#include "confdefs.h" |
3619 |
|
#include <ac_nonexistent.h> |
3620 |
|
_ACEOF |
3621 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3621 |
> |
if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3622 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3623 |
|
ac_status=$? |
3624 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3624 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3625 |
|
rm -f conftest.er1 |
3626 |
|
cat conftest.err >&5 |
3627 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3627 |
> |
echo "$as_me:3627: \$? = $ac_status" >&5 |
3628 |
|
(exit $ac_status); } >/dev/null; then |
3629 |
|
if test -s conftest.err; then |
3630 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4411 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3631 |
|
else |
3632 |
|
ac_cpp_err= |
3633 |
|
fi |
3639 |
|
continue |
3640 |
|
else |
3641 |
|
echo "$as_me: failed program was:" >&5 |
3642 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4424 |
< |
|
3642 |
> |
cat conftest.$ac_ext >&5 |
3643 |
|
# Passes both tests. |
3644 |
|
ac_preproc_ok=: |
3645 |
|
break |
3652 |
|
if $ac_preproc_ok; then |
3653 |
|
: |
3654 |
|
else |
3655 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3656 |
< |
See \`config.log' for more details." >&5 |
4439 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4440 |
< |
See \`config.log' for more details." >&2;} |
3655 |
> |
{ { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3656 |
> |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
3657 |
|
{ (exit 1); exit 1; }; } |
3658 |
|
fi |
3659 |
|
|
3663 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3664 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3665 |
|
|
3666 |
< |
|
3667 |
< |
echo "$as_me:$LINENO: checking for egrep" >&5 |
3668 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3669 |
< |
if test "${ac_cv_prog_egrep+set}" = set; then |
3666 |
> |
for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h |
3667 |
> |
do |
3668 |
> |
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` |
3669 |
> |
echo "$as_me:3669: checking for $ac_header" >&5 |
3670 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3671 |
> |
if eval "test \"\${$ac_ac_Header+set}\" = set"; then |
3672 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3673 |
|
else |
3674 |
< |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3675 |
< |
then ac_cv_prog_egrep='grep -E' |
3676 |
< |
else ac_cv_prog_egrep='egrep' |
3677 |
< |
fi |
3674 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3675 |
> |
#line 3675 "configure" |
3676 |
> |
#include "confdefs.h" |
3677 |
> |
#include <$ac_header> |
3678 |
> |
_ACEOF |
3679 |
> |
if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3680 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3681 |
> |
ac_status=$? |
3682 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3683 |
> |
rm -f conftest.er1 |
3684 |
> |
cat conftest.err >&5 |
3685 |
> |
echo "$as_me:3685: \$? = $ac_status" >&5 |
3686 |
> |
(exit $ac_status); } >/dev/null; then |
3687 |
> |
if test -s conftest.err; then |
3688 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
3689 |
> |
else |
3690 |
> |
ac_cpp_err= |
3691 |
> |
fi |
3692 |
> |
else |
3693 |
> |
ac_cpp_err=yes |
3694 |
|
fi |
3695 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3696 |
< |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3697 |
< |
EGREP=$ac_cv_prog_egrep |
3695 |
> |
if test -z "$ac_cpp_err"; then |
3696 |
> |
eval "$ac_ac_Header=yes" |
3697 |
> |
else |
3698 |
> |
echo "$as_me: failed program was:" >&5 |
3699 |
> |
cat conftest.$ac_ext >&5 |
3700 |
> |
eval "$ac_ac_Header=no" |
3701 |
> |
fi |
3702 |
> |
rm -f conftest.err conftest.$ac_ext |
3703 |
> |
fi |
3704 |
> |
echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5 |
3705 |
> |
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 |
3706 |
> |
if test `eval echo '${'$ac_ac_Header'}'` = yes; then |
3707 |
> |
cat >>confdefs.h <<EOF |
3708 |
> |
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 |
3709 |
> |
EOF |
3710 |
|
|
3711 |
+ |
fi |
3712 |
+ |
done |
3713 |
|
|
3714 |
< |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3715 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3716 |
< |
if test "${ac_cv_header_stdc+set}" = set; then |
3714 |
> |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
3715 |
> |
do |
3716 |
> |
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` |
3717 |
> |
echo "$as_me:3717: checking for $ac_func" >&5 |
3718 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
3719 |
> |
if eval "test \"\${$ac_ac_var+set}\" = set"; then |
3720 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3721 |
|
else |
3722 |
|
cat >conftest.$ac_ext <<_ACEOF |
3723 |
< |
/* confdefs.h. */ |
3724 |
< |
_ACEOF |
3725 |
< |
cat confdefs.h >>conftest.$ac_ext |
3726 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3727 |
< |
/* end confdefs.h. */ |
3728 |
< |
#include <stdlib.h> |
3729 |
< |
#include <stdarg.h> |
3730 |
< |
#include <string.h> |
3731 |
< |
#include <float.h> |
3723 |
> |
#line 3723 "configure" |
3724 |
> |
#include "confdefs.h" |
3725 |
> |
/* System header to define __stub macros and hopefully few prototypes, |
3726 |
> |
which can conflict with char $ac_func (); below. */ |
3727 |
> |
#include <assert.h> |
3728 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
3729 |
> |
#ifdef __cplusplus |
3730 |
> |
extern "C" |
3731 |
> |
#endif |
3732 |
> |
/* We use char because int might match the return type of a gcc2 |
3733 |
> |
builtin and then its argument prototype would still apply. */ |
3734 |
> |
char $ac_func (); |
3735 |
> |
char (*f) (); |
3736 |
|
|
3737 |
|
int |
3738 |
|
main () |
3739 |
|
{ |
3740 |
+ |
/* The GNU C library defines this for functions which it implements |
3741 |
+ |
to always fail with ENOSYS. Some functions are actually named |
3742 |
+ |
something starting with __ and the normal name is an alias. */ |
3743 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
3744 |
+ |
choke me |
3745 |
+ |
#else |
3746 |
+ |
f = $ac_func; |
3747 |
+ |
#endif |
3748 |
|
|
3749 |
|
; |
3750 |
|
return 0; |
3751 |
|
} |
3752 |
|
_ACEOF |
3753 |
< |
rm -f conftest.$ac_objext |
3754 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3755 |
< |
(eval $ac_compile) 2>conftest.er1 |
3753 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
3754 |
> |
if { (eval echo "$as_me:3754: \"$ac_link\"") >&5 |
3755 |
> |
(eval $ac_link) 2>&5 |
3756 |
|
ac_status=$? |
3757 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4495 |
< |
rm -f conftest.er1 |
4496 |
< |
cat conftest.err >&5 |
4497 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3757 |
> |
echo "$as_me:3757: \$? = $ac_status" >&5 |
3758 |
|
(exit $ac_status); } && |
3759 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3760 |
< |
|| test ! -s conftest.err' |
4501 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3759 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3760 |
> |
{ (eval echo "$as_me:3760: \"$ac_try\"") >&5 |
3761 |
|
(eval $ac_try) 2>&5 |
3762 |
|
ac_status=$? |
3763 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4505 |
< |
(exit $ac_status); }; } && |
4506 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4507 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4508 |
< |
(eval $ac_try) 2>&5 |
4509 |
< |
ac_status=$? |
4510 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3763 |
> |
echo "$as_me:3763: \$? = $ac_status" >&5 |
3764 |
|
(exit $ac_status); }; }; then |
3765 |
< |
ac_cv_header_stdc=yes |
3765 |
> |
eval "$ac_ac_var=yes" |
3766 |
|
else |
3767 |
|
echo "$as_me: failed program was:" >&5 |
3768 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3769 |
< |
|
4517 |
< |
ac_cv_header_stdc=no |
3768 |
> |
cat conftest.$ac_ext >&5 |
3769 |
> |
eval "$ac_ac_var=no" |
3770 |
|
fi |
3771 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4520 |
< |
|
4521 |
< |
if test $ac_cv_header_stdc = yes; then |
4522 |
< |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4523 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4524 |
< |
/* confdefs.h. */ |
4525 |
< |
_ACEOF |
4526 |
< |
cat confdefs.h >>conftest.$ac_ext |
4527 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4528 |
< |
/* end confdefs.h. */ |
4529 |
< |
#include <string.h> |
4530 |
< |
|
4531 |
< |
_ACEOF |
4532 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4533 |
< |
$EGREP "memchr" >/dev/null 2>&1; then |
4534 |
< |
: |
4535 |
< |
else |
4536 |
< |
ac_cv_header_stdc=no |
3771 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3772 |
|
fi |
3773 |
< |
rm -f conftest* |
3773 |
> |
echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5 |
3774 |
> |
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 |
3775 |
> |
if test `eval echo '${'$ac_ac_var'}'` = yes; then |
3776 |
> |
cat >>confdefs.h <<EOF |
3777 |
> |
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 |
3778 |
> |
EOF |
3779 |
|
|
3780 |
|
fi |
3781 |
+ |
done |
3782 |
|
|
3783 |
< |
if test $ac_cv_header_stdc = yes; then |
3784 |
< |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3785 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3786 |
< |
/* confdefs.h. */ |
3787 |
< |
_ACEOF |
3788 |
< |
cat confdefs.h >>conftest.$ac_ext |
3789 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3790 |
< |
/* end confdefs.h. */ |
4550 |
< |
#include <stdlib.h> |
4551 |
< |
|
4552 |
< |
_ACEOF |
4553 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4554 |
< |
$EGREP "free" >/dev/null 2>&1; then |
4555 |
< |
: |
4556 |
< |
else |
4557 |
< |
ac_cv_header_stdc=no |
4558 |
< |
fi |
4559 |
< |
rm -f conftest* |
4560 |
< |
|
4561 |
< |
fi |
4562 |
< |
|
4563 |
< |
if test $ac_cv_header_stdc = yes; then |
4564 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4565 |
< |
if test "$cross_compiling" = yes; then |
4566 |
< |
: |
4567 |
< |
else |
4568 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4569 |
< |
/* confdefs.h. */ |
4570 |
< |
_ACEOF |
4571 |
< |
cat confdefs.h >>conftest.$ac_ext |
4572 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4573 |
< |
/* end confdefs.h. */ |
4574 |
< |
#include <ctype.h> |
4575 |
< |
#if ((' ' & 0x0FF) == 0x020) |
4576 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4577 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4578 |
< |
#else |
4579 |
< |
# define ISLOWER(c) \ |
4580 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4581 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4582 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4583 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4584 |
< |
#endif |
4585 |
< |
|
4586 |
< |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3783 |
> |
# special check for _system_configuration because AIX <4.3.2 do not |
3784 |
> |
# contain the `physmem' member. |
3785 |
> |
echo "$as_me:3785: checking for external symbol _system_configuration" >&5 |
3786 |
> |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
3787 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3788 |
> |
#line 3788 "configure" |
3789 |
> |
#include "confdefs.h" |
3790 |
> |
#include <sys/systemcfg.h> |
3791 |
|
int |
3792 |
|
main () |
3793 |
|
{ |
3794 |
< |
int i; |
3795 |
< |
for (i = 0; i < 256; i++) |
3796 |
< |
if (XOR (islower (i), ISLOWER (i)) |
4593 |
< |
|| toupper (i) != TOUPPER (i)) |
4594 |
< |
exit(2); |
4595 |
< |
exit (0); |
3794 |
> |
double x = _system_configuration.physmem; |
3795 |
> |
; |
3796 |
> |
return 0; |
3797 |
|
} |
3798 |
|
_ACEOF |
3799 |
< |
rm -f conftest$ac_exeext |
3800 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3801 |
< |
(eval $ac_link) 2>&5 |
3799 |
> |
rm -f conftest.$ac_objext |
3800 |
> |
if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5 |
3801 |
> |
(eval $ac_compile) 2>&5 |
3802 |
|
ac_status=$? |
3803 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3804 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3805 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3803 |
> |
echo "$as_me:3803: \$? = $ac_status" >&5 |
3804 |
> |
(exit $ac_status); } && |
3805 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3806 |
> |
{ (eval echo "$as_me:3806: \"$ac_try\"") >&5 |
3807 |
|
(eval $ac_try) 2>&5 |
3808 |
|
ac_status=$? |
3809 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3809 |
> |
echo "$as_me:3809: \$? = $ac_status" >&5 |
3810 |
|
(exit $ac_status); }; }; then |
3811 |
< |
: |
3812 |
< |
else |
4611 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
4612 |
< |
echo "$as_me: failed program was:" >&5 |
4613 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4614 |
< |
|
4615 |
< |
( exit $ac_status ) |
4616 |
< |
ac_cv_header_stdc=no |
4617 |
< |
fi |
4618 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4619 |
< |
fi |
4620 |
< |
fi |
4621 |
< |
fi |
4622 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4623 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4624 |
< |
if test $ac_cv_header_stdc = yes; then |
4625 |
< |
|
4626 |
< |
cat >>confdefs.h <<\_ACEOF |
4627 |
< |
#define STDC_HEADERS 1 |
4628 |
< |
_ACEOF |
4629 |
< |
|
4630 |
< |
fi |
4631 |
< |
|
4632 |
< |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4633 |
< |
|
4634 |
< |
|
4635 |
< |
|
4636 |
< |
|
4637 |
< |
|
4638 |
< |
|
4639 |
< |
|
4640 |
< |
|
3811 |
> |
echo "$as_me:3811: result: yes" >&5 |
3812 |
> |
echo "${ECHO_T}yes" >&6 |
3813 |
|
|
3814 |
< |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3815 |
< |
inttypes.h stdint.h unistd.h |
3816 |
< |
do |
4645 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4646 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4647 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4648 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4649 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4650 |
< |
else |
4651 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4652 |
< |
/* confdefs.h. */ |
4653 |
< |
_ACEOF |
4654 |
< |
cat confdefs.h >>conftest.$ac_ext |
4655 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4656 |
< |
/* end confdefs.h. */ |
4657 |
< |
$ac_includes_default |
3814 |
> |
cat >>confdefs.h <<\EOF |
3815 |
> |
#define HAVE__SYSTEM_CONFIGURATION 1 |
3816 |
> |
EOF |
3817 |
|
|
4659 |
– |
#include <$ac_header> |
4660 |
– |
_ACEOF |
4661 |
– |
rm -f conftest.$ac_objext |
4662 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4663 |
– |
(eval $ac_compile) 2>conftest.er1 |
4664 |
– |
ac_status=$? |
4665 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4666 |
– |
rm -f conftest.er1 |
4667 |
– |
cat conftest.err >&5 |
4668 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4669 |
– |
(exit $ac_status); } && |
4670 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
4671 |
– |
|| test ! -s conftest.err' |
4672 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4673 |
– |
(eval $ac_try) 2>&5 |
4674 |
– |
ac_status=$? |
4675 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4676 |
– |
(exit $ac_status); }; } && |
4677 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4678 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4679 |
– |
(eval $ac_try) 2>&5 |
4680 |
– |
ac_status=$? |
4681 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4682 |
– |
(exit $ac_status); }; }; then |
4683 |
– |
eval "$as_ac_Header=yes" |
3818 |
|
else |
3819 |
|
echo "$as_me: failed program was:" >&5 |
3820 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3821 |
< |
|
3822 |
< |
eval "$as_ac_Header=no" |
3820 |
> |
cat conftest.$ac_ext >&5 |
3821 |
> |
echo "$as_me:3821: result: no" >&5 |
3822 |
> |
echo "${ECHO_T}no" >&6 |
3823 |
|
fi |
3824 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4691 |
< |
fi |
4692 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4693 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4694 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4695 |
< |
cat >>confdefs.h <<_ACEOF |
4696 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4697 |
< |
_ACEOF |
3824 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3825 |
|
|
4699 |
– |
fi |
4700 |
– |
|
4701 |
– |
done |
4702 |
– |
|
4703 |
– |
|
3826 |
|
# clean out junk possibly left behind by a previous configuration |
3827 |
< |
rm -f utils/getopt.h |
3827 |
> |
rm -f src/getopt.h |
3828 |
|
# Check for getopt_long support |
3829 |
|
|
3830 |
|
for ac_header in getopt.h |
3831 |
|
do |
3832 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3833 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4712 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3832 |
> |
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` |
3833 |
> |
echo "$as_me:3833: checking for $ac_header" >&5 |
3834 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3835 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3835 |
> |
if eval "test \"\${$ac_ac_Header+set}\" = set"; then |
3836 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4716 |
– |
fi |
4717 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4718 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3837 |
|
else |
3838 |
< |
# Is the header compilable? |
3839 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3840 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4723 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4724 |
< |
/* confdefs.h. */ |
4725 |
< |
_ACEOF |
4726 |
< |
cat confdefs.h >>conftest.$ac_ext |
4727 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4728 |
< |
/* end confdefs.h. */ |
4729 |
< |
$ac_includes_default |
3838 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3839 |
> |
#line 3839 "configure" |
3840 |
> |
#include "confdefs.h" |
3841 |
|
#include <$ac_header> |
3842 |
|
_ACEOF |
3843 |
< |
rm -f conftest.$ac_objext |
4733 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4734 |
< |
(eval $ac_compile) 2>conftest.er1 |
4735 |
< |
ac_status=$? |
4736 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4737 |
< |
rm -f conftest.er1 |
4738 |
< |
cat conftest.err >&5 |
4739 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4740 |
< |
(exit $ac_status); } && |
4741 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4742 |
< |
|| test ! -s conftest.err' |
4743 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4744 |
< |
(eval $ac_try) 2>&5 |
4745 |
< |
ac_status=$? |
4746 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4747 |
< |
(exit $ac_status); }; } && |
4748 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4749 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4750 |
< |
(eval $ac_try) 2>&5 |
4751 |
< |
ac_status=$? |
4752 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4753 |
< |
(exit $ac_status); }; }; then |
4754 |
< |
ac_header_compiler=yes |
4755 |
< |
else |
4756 |
< |
echo "$as_me: failed program was:" >&5 |
4757 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4758 |
< |
|
4759 |
< |
ac_header_compiler=no |
4760 |
< |
fi |
4761 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4762 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4763 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4764 |
< |
|
4765 |
< |
# Is the header present? |
4766 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4767 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4768 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4769 |
< |
/* confdefs.h. */ |
4770 |
< |
_ACEOF |
4771 |
< |
cat confdefs.h >>conftest.$ac_ext |
4772 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4773 |
< |
/* end confdefs.h. */ |
4774 |
< |
#include <$ac_header> |
4775 |
< |
_ACEOF |
4776 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3843 |
> |
if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3844 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3845 |
|
ac_status=$? |
3846 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3846 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3847 |
|
rm -f conftest.er1 |
3848 |
|
cat conftest.err >&5 |
3849 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3849 |
> |
echo "$as_me:3849: \$? = $ac_status" >&5 |
3850 |
|
(exit $ac_status); } >/dev/null; then |
3851 |
|
if test -s conftest.err; then |
3852 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4786 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3853 |
|
else |
3854 |
|
ac_cpp_err= |
3855 |
|
fi |
3857 |
|
ac_cpp_err=yes |
3858 |
|
fi |
3859 |
|
if test -z "$ac_cpp_err"; then |
3860 |
< |
ac_header_preproc=yes |
3860 |
> |
eval "$ac_ac_Header=yes" |
3861 |
|
else |
3862 |
|
echo "$as_me: failed program was:" >&5 |
3863 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3864 |
< |
|
4799 |
< |
ac_header_preproc=no |
3863 |
> |
cat conftest.$ac_ext >&5 |
3864 |
> |
eval "$ac_ac_Header=no" |
3865 |
|
fi |
3866 |
|
rm -f conftest.err conftest.$ac_ext |
3867 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3868 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
3869 |
< |
|
3870 |
< |
# So? What about this header? |
3871 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3872 |
< |
yes:no: ) |
3873 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4809 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4810 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4811 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4812 |
< |
ac_header_preproc=yes |
4813 |
< |
;; |
4814 |
< |
no:yes:* ) |
4815 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4816 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4817 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4818 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4819 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4820 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4821 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4822 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4823 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4824 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4825 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4826 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4827 |
< |
( |
4828 |
< |
cat <<\_ASBOX |
4829 |
< |
## ------------------------------ ## |
4830 |
< |
## Report this to gezelter@nd.edu ## |
4831 |
< |
## ------------------------------ ## |
4832 |
< |
_ASBOX |
4833 |
< |
) | |
4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
4835 |
< |
;; |
4836 |
< |
esac |
4837 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4838 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4839 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4840 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4841 |
< |
else |
4842 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
4843 |
< |
fi |
4844 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4845 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3867 |
> |
fi |
3868 |
> |
echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5 |
3869 |
> |
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 |
3870 |
> |
if test `eval echo '${'$ac_ac_Header'}'` = yes; then |
3871 |
> |
cat >>confdefs.h <<EOF |
3872 |
> |
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 |
3873 |
> |
EOF |
3874 |
|
|
3875 |
|
fi |
4848 |
– |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4849 |
– |
cat >>confdefs.h <<_ACEOF |
4850 |
– |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4851 |
– |
_ACEOF |
4852 |
– |
|
4853 |
– |
fi |
4854 |
– |
|
3876 |
|
done |
3877 |
|
|
4857 |
– |
|
3878 |
|
for ac_func in getopt_long |
3879 |
|
do |
3880 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
3881 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3880 |
> |
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` |
3881 |
> |
echo "$as_me:3881: checking for $ac_func" >&5 |
3882 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
3883 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
3883 |
> |
if eval "test \"\${$ac_ac_var+set}\" = set"; then |
3884 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3885 |
|
else |
3886 |
|
cat >conftest.$ac_ext <<_ACEOF |
3887 |
< |
/* confdefs.h. */ |
3888 |
< |
_ACEOF |
4869 |
< |
cat confdefs.h >>conftest.$ac_ext |
4870 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4871 |
< |
/* end confdefs.h. */ |
4872 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4873 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4874 |
< |
#define $ac_func innocuous_$ac_func |
4875 |
< |
|
3887 |
> |
#line 3887 "configure" |
3888 |
> |
#include "confdefs.h" |
3889 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3890 |
< |
which can conflict with char $ac_func (); below. |
3891 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4879 |
< |
<limits.h> exists even on freestanding compilers. */ |
4880 |
< |
|
4881 |
< |
#ifdef __STDC__ |
4882 |
< |
# include <limits.h> |
4883 |
< |
#else |
4884 |
< |
# include <assert.h> |
4885 |
< |
#endif |
4886 |
< |
|
4887 |
< |
#undef $ac_func |
4888 |
< |
|
3890 |
> |
which can conflict with char $ac_func (); below. */ |
3891 |
> |
#include <assert.h> |
3892 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3893 |
|
#ifdef __cplusplus |
3894 |
|
extern "C" |
4892 |
– |
{ |
3895 |
|
#endif |
3896 |
|
/* We use char because int might match the return type of a gcc2 |
3897 |
|
builtin and then its argument prototype would still apply. */ |
3898 |
|
char $ac_func (); |
3899 |
+ |
char (*f) (); |
3900 |
+ |
|
3901 |
+ |
int |
3902 |
+ |
main () |
3903 |
+ |
{ |
3904 |
|
/* The GNU C library defines this for functions which it implements |
3905 |
|
to always fail with ENOSYS. Some functions are actually named |
3906 |
|
something starting with __ and the normal name is an alias. */ |
3907 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
3908 |
|
choke me |
3909 |
|
#else |
3910 |
< |
char (*f) () = $ac_func; |
3910 |
> |
f = $ac_func; |
3911 |
|
#endif |
4905 |
– |
#ifdef __cplusplus |
4906 |
– |
} |
4907 |
– |
#endif |
3912 |
|
|
4909 |
– |
int |
4910 |
– |
main () |
4911 |
– |
{ |
4912 |
– |
return f != $ac_func; |
3913 |
|
; |
3914 |
|
return 0; |
3915 |
|
} |
3916 |
|
_ACEOF |
3917 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3918 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3919 |
< |
(eval $ac_link) 2>conftest.er1 |
3918 |
> |
if { (eval echo "$as_me:3918: \"$ac_link\"") >&5 |
3919 |
> |
(eval $ac_link) 2>&5 |
3920 |
|
ac_status=$? |
3921 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4922 |
< |
rm -f conftest.er1 |
4923 |
< |
cat conftest.err >&5 |
4924 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3921 |
> |
echo "$as_me:3921: \$? = $ac_status" >&5 |
3922 |
|
(exit $ac_status); } && |
3923 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3924 |
< |
|| test ! -s conftest.err' |
4928 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3923 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3924 |
> |
{ (eval echo "$as_me:3924: \"$ac_try\"") >&5 |
3925 |
|
(eval $ac_try) 2>&5 |
3926 |
|
ac_status=$? |
3927 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4932 |
< |
(exit $ac_status); }; } && |
4933 |
< |
{ ac_try='test -s conftest$ac_exeext' |
4934 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4935 |
< |
(eval $ac_try) 2>&5 |
4936 |
< |
ac_status=$? |
4937 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3927 |
> |
echo "$as_me:3927: \$? = $ac_status" >&5 |
3928 |
|
(exit $ac_status); }; }; then |
3929 |
< |
eval "$as_ac_var=yes" |
3929 |
> |
eval "$ac_ac_var=yes" |
3930 |
|
else |
3931 |
|
echo "$as_me: failed program was:" >&5 |
3932 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3933 |
< |
|
4944 |
< |
eval "$as_ac_var=no" |
3932 |
> |
cat conftest.$ac_ext >&5 |
3933 |
> |
eval "$ac_ac_var=no" |
3934 |
|
fi |
3935 |
< |
rm -f conftest.err conftest.$ac_objext \ |
4947 |
< |
conftest$ac_exeext conftest.$ac_ext |
3935 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3936 |
|
fi |
3937 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
3938 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
3939 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
3940 |
< |
cat >>confdefs.h <<_ACEOF |
3941 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
3942 |
< |
_ACEOF |
3937 |
> |
echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5 |
3938 |
> |
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 |
3939 |
> |
if test `eval echo '${'$ac_ac_var'}'` = yes; then |
3940 |
> |
cat >>confdefs.h <<EOF |
3941 |
> |
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 |
3942 |
> |
EOF |
3943 |
|
|
3944 |
|
else |
3945 |
|
# FreeBSD has a gnugetopt library for this |
3946 |
< |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
3946 |
> |
echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5 |
3947 |
|
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
3948 |
|
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
3949 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3951 |
|
ac_check_lib_save_LIBS=$LIBS |
3952 |
|
LIBS="-lgnugetopt $LIBS" |
3953 |
|
cat >conftest.$ac_ext <<_ACEOF |
3954 |
< |
/* confdefs.h. */ |
3955 |
< |
_ACEOF |
4968 |
< |
cat confdefs.h >>conftest.$ac_ext |
4969 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4970 |
< |
/* end confdefs.h. */ |
3954 |
> |
#line 3954 "configure" |
3955 |
> |
#include "confdefs.h" |
3956 |
|
|
3957 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3958 |
|
#ifdef __cplusplus |
3970 |
|
} |
3971 |
|
_ACEOF |
3972 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3973 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3974 |
< |
(eval $ac_link) 2>conftest.er1 |
3975 |
< |
ac_status=$? |
3976 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4992 |
< |
rm -f conftest.er1 |
4993 |
< |
cat conftest.err >&5 |
4994 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3973 |
> |
if { (eval echo "$as_me:3973: \"$ac_link\"") >&5 |
3974 |
> |
(eval $ac_link) 2>&5 |
3975 |
> |
ac_status=$? |
3976 |
> |
echo "$as_me:3976: \$? = $ac_status" >&5 |
3977 |
|
(exit $ac_status); } && |
3978 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3979 |
< |
|| test ! -s conftest.err' |
4998 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3978 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3979 |
> |
{ (eval echo "$as_me:3979: \"$ac_try\"") >&5 |
3980 |
|
(eval $ac_try) 2>&5 |
3981 |
|
ac_status=$? |
3982 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5002 |
< |
(exit $ac_status); }; } && |
5003 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5004 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5005 |
< |
(eval $ac_try) 2>&5 |
5006 |
< |
ac_status=$? |
5007 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3982 |
> |
echo "$as_me:3982: \$? = $ac_status" >&5 |
3983 |
|
(exit $ac_status); }; }; then |
3984 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
3985 |
|
else |
3986 |
|
echo "$as_me: failed program was:" >&5 |
3987 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
5013 |
< |
|
3987 |
> |
cat conftest.$ac_ext >&5 |
3988 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
3989 |
|
fi |
3990 |
< |
rm -f conftest.err conftest.$ac_objext \ |
5017 |
< |
conftest$ac_exeext conftest.$ac_ext |
3990 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3991 |
|
LIBS=$ac_check_lib_save_LIBS |
3992 |
|
fi |
3993 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
3993 |
> |
echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
3994 |
|
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
3995 |
|
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
3996 |
< |
cat >>confdefs.h <<\_ACEOF |
3996 |
> |
cat >>confdefs.h <<\EOF |
3997 |
|
#define HAVE_GETOPT_LONG 1 |
3998 |
< |
_ACEOF |
3998 |
> |
EOF |
3999 |
|
|
4000 |
|
else |
4001 |
|
# use the GNU replacement |
4002 |
< |
case $LIBOBJS in |
4003 |
< |
"getopt.$ac_objext" | \ |
4004 |
< |
*" getopt.$ac_objext" | \ |
5032 |
< |
"getopt.$ac_objext "* | \ |
5033 |
< |
*" getopt.$ac_objext "* ) ;; |
5034 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5035 |
< |
esac |
4002 |
> |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
4003 |
> |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
4004 |
> |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
4005 |
|
|
5037 |
– |
case $LIBOBJS in |
5038 |
– |
"getopt1.$ac_objext" | \ |
5039 |
– |
*" getopt1.$ac_objext" | \ |
5040 |
– |
"getopt1.$ac_objext "* | \ |
5041 |
– |
*" getopt1.$ac_objext "* ) ;; |
5042 |
– |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5043 |
– |
esac |
5044 |
– |
|
5045 |
– |
ac_config_links="$ac_config_links utils/getopt.h:utils/gnugetopt.h" |
5046 |
– |
|
4006 |
|
fi |
4007 |
|
|
4008 |
|
fi |
4009 |
|
done |
4010 |
|
|
5052 |
– |
|
5053 |
– |
|
4011 |
|
case $debug in |
4012 |
|
1) |
4013 |
|
;; |
4014 |
|
*) |
4015 |
|
|
4016 |
< |
|
5060 |
< |
|
5061 |
< |
|
5062 |
< |
|
5063 |
< |
|
5064 |
< |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
4016 |
> |
echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5 |
4017 |
|
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
4018 |
|
if test "${ac_cv_prog_really_gcc+set}" = set; then |
4019 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4027 |
|
#endif |
4028 |
|
EOF |
4029 |
|
if { ac_try='${CC-cc} -E conftest.c' |
4030 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4030 |
> |
{ (eval echo "$as_me:4030: \"$ac_try\"") >&5 |
4031 |
|
(eval $ac_try) 2>&5 |
4032 |
|
ac_status=$? |
4033 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4033 |
> |
echo "$as_me:4033: \$? = $ac_status" >&5 |
4034 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
4035 |
|
ac_cv_prog_really_gcc=yes |
4036 |
|
else |
4038 |
|
fi |
4039 |
|
|
4040 |
|
fi |
4041 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
4041 |
> |
echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5 |
4042 |
|
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6 |
4043 |
|
if test "$ac_cv_prog_really_gcc" = yes; then |
4044 |
|
: |
4048 |
|
|
4049 |
|
fi |
4050 |
|
|
5099 |
– |
|
4051 |
|
# Try to determine "good" native compiler flags if none specified on command |
4052 |
|
# line |
4053 |
|
if test "$ac_test_CFLAGS" != "set"; then |
4087 |
|
fi;; |
4088 |
|
*darwin*) |
4089 |
|
if test "$CC" = xlc -o "$CC" = cc; then |
4090 |
< |
CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
4090 |
> |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
4091 |
|
fi;; |
4092 |
|
esac |
4093 |
|
|
4100 |
|
if test $ac_cv_prog_really_gcc = yes; then |
4101 |
|
# -malign-double for x86 systems |
4102 |
|
|
4103 |
< |
|
5153 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
4103 |
> |
echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5 |
4104 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
4105 |
|
if test "${ac_align_double+set}" = set; then |
4106 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4114 |
|
rm -f conftest* |
4115 |
|
|
4116 |
|
fi |
4117 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
4117 |
> |
echo "$as_me:4117: result: $ac_align_double" >&5 |
4118 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
4119 |
|
if test "$ac_align_double" = yes; then |
4120 |
|
: |
4126 |
|
|
4127 |
|
# -fstrict-aliasing for gcc-2.95+ |
4128 |
|
|
4129 |
< |
|
5180 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
4129 |
> |
echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
4130 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
4131 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
4132 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4140 |
|
rm -f conftest* |
4141 |
|
|
4142 |
|
fi |
4143 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
4143 |
> |
echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5 |
4144 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
4145 |
|
if test "$ac_fstrict_aliasing" = yes; then |
4146 |
|
: |
4157 |
|
case "${host_cpu}" in |
4158 |
|
i586*) |
4159 |
|
|
4160 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
4160 |
> |
echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
4161 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
4162 |
|
if test "${ac_cpu_pentium+set}" = set; then |
4163 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4171 |
|
rm -f conftest* |
4172 |
|
|
4173 |
|
fi |
4174 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
4174 |
> |
echo "$as_me:4174: result: $ac_cpu_pentium" >&5 |
4175 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
4176 |
|
if test "$ac_cpu_pentium" = yes; then |
4177 |
|
: |
4179 |
|
else |
4180 |
|
: |
4181 |
|
|
4182 |
< |
|
5234 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
4182 |
> |
echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5 |
4183 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
4184 |
|
if test "${ac_pentium+set}" = set; then |
4185 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4193 |
|
rm -f conftest* |
4194 |
|
|
4195 |
|
fi |
4196 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
4196 |
> |
echo "$as_me:4196: result: $ac_pentium" >&5 |
4197 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
4198 |
|
if test "$ac_pentium" = yes; then |
4199 |
|
: |
4208 |
|
;; |
4209 |
|
i686*) |
4210 |
|
|
4211 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
4211 |
> |
echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
4212 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
4213 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
4214 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4222 |
|
rm -f conftest* |
4223 |
|
|
4224 |
|
fi |
4225 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
4225 |
> |
echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5 |
4226 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
4227 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
4228 |
|
: |
4230 |
|
else |
4231 |
|
: |
4232 |
|
|
4233 |
< |
|
5286 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
4233 |
> |
echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
4234 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
4235 |
|
if test "${ac_pentiumpro+set}" = set; then |
4236 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4244 |
|
rm -f conftest* |
4245 |
|
|
4246 |
|
fi |
4247 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
4247 |
> |
echo "$as_me:4247: result: $ac_pentiumpro" >&5 |
4248 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
4249 |
|
if test "$ac_pentiumpro" = yes; then |
4250 |
|
: |
4262 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
4263 |
|
if test -n "$is60x"; then |
4264 |
|
|
4265 |
< |
|
5319 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
4265 |
> |
echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
4266 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
4267 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
4268 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4276 |
|
rm -f conftest* |
4277 |
|
|
4278 |
|
fi |
4279 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
4279 |
> |
echo "$as_me:4279: result: $ac_m_cpu_60x" >&5 |
4280 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
4281 |
|
if test "$ac_m_cpu_60x" = yes; then |
4282 |
|
: |
4288 |
|
|
4289 |
|
elif test "$cputype" = 750; then |
4290 |
|
|
4291 |
< |
|
5346 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
4291 |
> |
echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5 |
4292 |
|
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
4293 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
4294 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4302 |
|
#endif |
4303 |
|
EOF |
4304 |
|
if { ac_try='${CC-cc} -E conftest.c' |
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); }; } | egrep yes >/dev/null 2>&1; then |
4310 |
|
ac_cv_prog_gcc_2_95=yes |
4311 |
|
else |
4313 |
|
fi |
4314 |
|
|
4315 |
|
fi |
4316 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
4316 |
> |
echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5 |
4317 |
|
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
4318 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
4319 |
|
: |
4320 |
|
|
4321 |
< |
|
5377 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
4321 |
> |
echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5 |
4322 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6 |
4323 |
|
if test "${ac_m_cpu_750+set}" = set; then |
4324 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4332 |
|
rm -f conftest* |
4333 |
|
|
4334 |
|
fi |
4335 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
4335 |
> |
echo "$as_me:4335: result: $ac_m_cpu_750" >&5 |
4336 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
4337 |
|
if test "$ac_m_cpu_750" = yes; then |
4338 |
|
: |
4350 |
|
fi |
4351 |
|
if test -z "$CPU_FLAGS"; then |
4352 |
|
|
4353 |
< |
|
5410 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
4353 |
> |
echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 |
4354 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6 |
4355 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
4356 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4364 |
|
rm -f conftest* |
4365 |
|
|
4366 |
|
fi |
4367 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
4367 |
> |
echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5 |
4368 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
4369 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
4370 |
|
: |
4377 |
|
fi |
4378 |
|
if test -z "$CPU_FLAGS"; then |
4379 |
|
|
4380 |
< |
|
5438 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
4380 |
> |
echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5 |
4381 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6 |
4382 |
|
if test "${ac_m_powerpc+set}" = set; then |
4383 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4391 |
|
rm -f conftest* |
4392 |
|
|
4393 |
|
fi |
4394 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
4394 |
> |
echo "$as_me:4394: result: $ac_m_powerpc" >&5 |
4395 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
4396 |
|
if test "$ac_m_powerpc" = yes; then |
4397 |
|
: |
4420 |
|
CFLAGS="-O3" |
4421 |
|
fi |
4422 |
|
|
4423 |
< |
|
5482 |
< |
|
5483 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
4423 |
> |
echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 |
4424 |
|
echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6 |
4425 |
|
if test "${ac_guessed_cflags+set}" = set; then |
4426 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4434 |
|
rm -f conftest* |
4435 |
|
|
4436 |
|
fi |
4437 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
4437 |
> |
echo "$as_me:4437: result: $ac_guessed_cflags" >&5 |
4438 |
|
echo "${ECHO_T}$ac_guessed_cflags" >&6 |
4439 |
|
if test "$ac_guessed_cflags" = yes; then |
4440 |
|
: |
4453 |
|
|
4454 |
|
fi |
4455 |
|
|
5516 |
– |
|
4456 |
|
fi |
4457 |
|
|
4458 |
< |
|
5520 |
< |
|
5521 |
< |
|
5522 |
< |
|
5523 |
< |
|
5524 |
< |
|
5525 |
< |
echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
4458 |
> |
echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5 |
4459 |
|
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6 |
4460 |
|
if test "${ac_cv_prog_really_gxx+set}" = set; then |
4461 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4469 |
|
#endif |
4470 |
|
EOF |
4471 |
|
if { ac_try='${CXX-c++} -E conftest.cpp' |
4472 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4472 |
> |
{ (eval echo "$as_me:4472: \"$ac_try\"") >&5 |
4473 |
|
(eval $ac_try) 2>&5 |
4474 |
|
ac_status=$? |
4475 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4475 |
> |
echo "$as_me:4475: \$? = $ac_status" >&5 |
4476 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
4477 |
|
ac_cv_prog_really_gxx=yes |
4478 |
|
else |
4480 |
|
fi |
4481 |
|
|
4482 |
|
fi |
4483 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
4483 |
> |
echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5 |
4484 |
|
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6 |
4485 |
|
if test "$ac_cv_prog_really_gxx" = yes; then |
4486 |
|
: |
4490 |
|
|
4491 |
|
fi |
4492 |
|
|
5560 |
– |
|
4493 |
|
# Try to determine "good" native compiler flags if none specified on command |
4494 |
|
# line |
4495 |
|
if test "$ac_test_CXXFLAGS" != "set"; then |
4519 |
|
echo "*******************************************************" |
4520 |
|
fi;; |
4521 |
|
*darwin*) |
4522 |
< |
if test "$CXX" = xlc++; then |
4523 |
< |
CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
4522 |
> |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
4523 |
> |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
4524 |
|
fi;; |
4525 |
|
esac |
4526 |
|
|
4533 |
|
if test $ac_cv_prog_really_gxx = yes; then |
4534 |
|
# -malign-double for x86 systems |
4535 |
|
|
4536 |
< |
|
5605 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5 |
4536 |
> |
echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5 |
4537 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6 |
4538 |
|
if test "${ac_align_double+set}" = set; then |
4539 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4547 |
|
rm -f conftest* |
4548 |
|
|
4549 |
|
fi |
4550 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
4550 |
> |
echo "$as_me:4550: result: $ac_align_double" >&5 |
4551 |
|
echo "${ECHO_T}$ac_align_double" >&6 |
4552 |
|
if test "$ac_align_double" = yes; then |
4553 |
|
: |
4558 |
|
fi |
4559 |
|
|
4560 |
|
# -fstrict-aliasing for gcc-2.95+ |
5630 |
– |
|
4561 |
|
|
4562 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
4562 |
> |
echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 |
4563 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6 |
4564 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
4565 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4573 |
|
rm -f conftest* |
4574 |
|
|
4575 |
|
fi |
4576 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
4576 |
> |
echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5 |
4577 |
|
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
4578 |
|
if test "$ac_fstrict_aliasing" = yes; then |
4579 |
|
: |
4590 |
|
case "${host_cpu}" in |
4591 |
|
i586*) |
4592 |
|
|
4593 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 |
4593 |
> |
echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 |
4594 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6 |
4595 |
|
if test "${ac_cpu_pentium+set}" = set; then |
4596 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4604 |
|
rm -f conftest* |
4605 |
|
|
4606 |
|
fi |
4607 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
4607 |
> |
echo "$as_me:4607: result: $ac_cpu_pentium" >&5 |
4608 |
|
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
4609 |
|
if test "$ac_cpu_pentium" = yes; then |
4610 |
|
: |
4612 |
|
else |
4613 |
|
: |
4614 |
|
|
4615 |
< |
|
5686 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5 |
4615 |
> |
echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5 |
4616 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6 |
4617 |
|
if test "${ac_pentium+set}" = set; then |
4618 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4626 |
|
rm -f conftest* |
4627 |
|
|
4628 |
|
fi |
4629 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
4629 |
> |
echo "$as_me:4629: result: $ac_pentium" >&5 |
4630 |
|
echo "${ECHO_T}$ac_pentium" >&6 |
4631 |
|
if test "$ac_pentium" = yes; then |
4632 |
|
: |
4641 |
|
;; |
4642 |
|
i686*) |
4643 |
|
|
4644 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
4644 |
> |
echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 |
4645 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
4646 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
4647 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4655 |
|
rm -f conftest* |
4656 |
|
|
4657 |
|
fi |
4658 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
4658 |
> |
echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5 |
4659 |
|
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
4660 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
4661 |
|
: |
4663 |
|
else |
4664 |
|
: |
4665 |
|
|
4666 |
< |
|
5738 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
4666 |
> |
echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 |
4667 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6 |
4668 |
|
if test "${ac_pentiumpro+set}" = set; then |
4669 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4677 |
|
rm -f conftest* |
4678 |
|
|
4679 |
|
fi |
4680 |
< |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
4680 |
> |
echo "$as_me:4680: result: $ac_pentiumpro" >&5 |
4681 |
|
echo "${ECHO_T}$ac_pentiumpro" >&6 |
4682 |
|
if test "$ac_pentiumpro" = yes; then |
4683 |
|
: |
4695 |
|
is60x=`echo $cputype | egrep "^600-9e?$"` |
4696 |
|
if test -n "$is60x"; then |
4697 |
|
|
4698 |
< |
|
5771 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
4698 |
> |
echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 |
4699 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6 |
4700 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
4701 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4709 |
|
rm -f conftest* |
4710 |
|
|
4711 |
|
fi |
4712 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
4712 |
> |
echo "$as_me:4712: result: $ac_m_cpu_60x" >&5 |
4713 |
|
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
4714 |
|
if test "$ac_m_cpu_60x" = yes; then |
4715 |
|
: |
4721 |
|
|
4722 |
|
elif test "$cputype" = 750; then |
4723 |
|
|
4724 |
< |
|
5798 |
< |
echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
4724 |
> |
echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5 |
4725 |
|
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6 |
4726 |
|
if test "${ac_cv_prog_gxx_2_95+set}" = set; then |
4727 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4735 |
|
#endif |
4736 |
|
EOF |
4737 |
|
if { ac_try='${CXX-c++} -E conftest.cpp' |
4738 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4738 |
> |
{ (eval echo "$as_me:4738: \"$ac_try\"") >&5 |
4739 |
|
(eval $ac_try) 2>&5 |
4740 |
|
ac_status=$? |
4741 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4741 |
> |
echo "$as_me:4741: \$? = $ac_status" >&5 |
4742 |
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
4743 |
|
ac_cv_prog_gxx_2_95=yes |
4744 |
|
else |
4746 |
|
fi |
4747 |
|
|
4748 |
|
fi |
4749 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
4749 |
> |
echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5 |
4750 |
|
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6 |
4751 |
|
if test "$ac_cv_prog_gxx_2_95" = yes; then |
4752 |
|
: |
4753 |
|
|
4754 |
< |
|
5829 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
4754 |
> |
echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5 |
4755 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6 |
4756 |
|
if test "${ac_m_cpu_750+set}" = set; then |
4757 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4765 |
|
rm -f conftest* |
4766 |
|
|
4767 |
|
fi |
4768 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
4768 |
> |
echo "$as_me:4768: result: $ac_m_cpu_750" >&5 |
4769 |
|
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
4770 |
|
if test "$ac_m_cpu_750" = yes; then |
4771 |
|
: |
4783 |
|
fi |
4784 |
|
if test -z "$CPU_FLAGS"; then |
4785 |
|
|
4786 |
< |
|
5862 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
4786 |
> |
echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 |
4787 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6 |
4788 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
4789 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4797 |
|
rm -f conftest* |
4798 |
|
|
4799 |
|
fi |
4800 |
< |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
4800 |
> |
echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5 |
4801 |
|
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
4802 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
4803 |
|
: |
4810 |
|
fi |
4811 |
|
if test -z "$CPU_FLAGS"; then |
4812 |
|
|
4813 |
< |
|
5890 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
4813 |
> |
echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5 |
4814 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6 |
4815 |
|
if test "${ac_m_powerpc+set}" = set; then |
4816 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4824 |
|
rm -f conftest* |
4825 |
|
|
4826 |
|
fi |
4827 |
< |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
4827 |
> |
echo "$as_me:4827: result: $ac_m_powerpc" >&5 |
4828 |
|
echo "${ECHO_T}$ac_m_powerpc" >&6 |
4829 |
|
if test "$ac_m_powerpc" = yes; then |
4830 |
|
: |
4853 |
|
CXXFLAGS="-O3" |
4854 |
|
fi |
4855 |
|
|
4856 |
< |
|
5934 |
< |
|
5935 |
< |
echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
4856 |
> |
echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 |
4857 |
|
echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6 |
4858 |
|
if test "${ac_guessed_cxxflags+set}" = set; then |
4859 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4867 |
|
rm -f conftest* |
4868 |
|
|
4869 |
|
fi |
4870 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
4870 |
> |
echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5 |
4871 |
|
echo "${ECHO_T}$ac_guessed_cxxflags" >&6 |
4872 |
|
if test "$ac_guessed_cxxflags" = yes; then |
4873 |
|
: |
4886 |
|
|
4887 |
|
fi |
4888 |
|
|
5968 |
– |
|
4889 |
|
fi |
4890 |
|
|
5971 |
– |
|
5972 |
– |
|
5973 |
– |
|
5974 |
– |
|
4891 |
|
# Try to determine "good" native compiler flags if none specified on command |
4892 |
|
# line |
4893 |
|
|
4916 |
|
fi;; |
4917 |
|
*darwin*) |
4918 |
|
if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then |
4919 |
< |
F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto" |
4919 |
> |
F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
4920 |
|
fi;; |
4921 |
|
esac |
4922 |
|
|
4935 |
|
F90FLAGS="-O3" |
4936 |
|
fi |
4937 |
|
|
4938 |
< |
|
6023 |
< |
echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
4938 |
> |
echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 |
4939 |
|
echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6 |
4940 |
|
if test "${ac_guessed_f90flags+set}" = set; then |
4941 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4942 |
|
else |
4943 |
|
|
6029 |
– |
|
6030 |
– |
|
4944 |
|
ac_ext=f90 |
4945 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4946 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4949 |
|
echo 'program main' > conftest.$ac_ext |
4950 |
|
echo 'end program main' >> conftest.$ac_ext |
4951 |
|
ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5' |
4952 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4952 |
> |
if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5 |
4953 |
|
(eval $ac_compile) 2>&5 |
4954 |
|
ac_status=$? |
4955 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4955 |
> |
echo "$as_me:4955: \$? = $ac_status" >&5 |
4956 |
|
(exit $ac_status); }; then |
4957 |
|
ac_guessed_f90flags=yes |
4958 |
|
else |
4965 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4966 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4967 |
|
|
6055 |
– |
|
4968 |
|
fi |
4969 |
< |
echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
4969 |
> |
echo "$as_me:4969: result: $ac_guessed_f90flags" >&5 |
4970 |
|
echo "${ECHO_T}$ac_guessed_f90flags" >&6 |
4971 |
|
if test "$ac_guessed_f90flags" = yes; then |
4972 |
|
: |
4985 |
|
|
4986 |
|
fi |
4987 |
|
|
6076 |
– |
|
4988 |
|
fi |
4989 |
|
|
4990 |
|
;; |
5001 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
5002 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5003 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6093 |
– |
# OS/2's system install, which has a completely different semantic |
5004 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
5005 |
< |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5006 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5005 |
> |
echo "$as_me:5005: checking for a BSD compatible install" >&5 |
5006 |
> |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
5007 |
|
if test -z "$INSTALL"; then |
5008 |
|
if test "${ac_cv_path_install+set}" = set; then |
5009 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5010 |
|
else |
5011 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5012 |
< |
for as_dir in $PATH |
5013 |
< |
do |
5014 |
< |
IFS=$as_save_IFS |
5015 |
< |
test -z "$as_dir" && as_dir=. |
5016 |
< |
# Account for people who put trailing slashes in PATH elements. |
5017 |
< |
case $as_dir/ in |
5018 |
< |
./ | .// | /cC/* | \ |
5019 |
< |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
5020 |
< |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
5021 |
< |
/usr/ucb/* ) ;; |
5022 |
< |
*) |
5023 |
< |
# OSF1 and SCO ODT 3.0 have their own names for install. |
5024 |
< |
# Don't use installbsd from OSF since it installs stuff as root |
6115 |
< |
# by default. |
6116 |
< |
for ac_prog in ginstall scoinst install; do |
6117 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6118 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5011 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5012 |
> |
for ac_dir in $PATH; do |
5013 |
> |
IFS=$ac_save_IFS |
5014 |
> |
# Account for people who put trailing slashes in PATH elements. |
5015 |
> |
case $ac_dir/ in |
5016 |
> |
/ | ./ | .// | /cC/* \ |
5017 |
> |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
5018 |
> |
| /usr/ucb/* ) ;; |
5019 |
> |
*) |
5020 |
> |
# OSF1 and SCO ODT 3.0 have their own names for install. |
5021 |
> |
# Don't use installbsd from OSF since it installs stuff as root |
5022 |
> |
# by default. |
5023 |
> |
for ac_prog in ginstall scoinst install; do |
5024 |
> |
if $as_executable_p "$ac_dir/$ac_prog"; then |
5025 |
|
if test $ac_prog = install && |
5026 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5026 |
> |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
5027 |
|
# AIX install. It has an incompatible calling convention. |
5028 |
|
: |
5029 |
|
elif test $ac_prog = install && |
5030 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5030 |
> |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
5031 |
|
# program-specific install script used by HP pwplus--don't use. |
5032 |
|
: |
5033 |
|
else |
5034 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
5035 |
< |
break 3 |
5034 |
> |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
5035 |
> |
break 2 |
5036 |
|
fi |
5037 |
|
fi |
5038 |
|
done |
5039 |
< |
done |
5040 |
< |
;; |
5041 |
< |
esac |
6136 |
< |
done |
5039 |
> |
;; |
5040 |
> |
esac |
5041 |
> |
done |
5042 |
|
|
6138 |
– |
|
5043 |
|
fi |
5044 |
|
if test "${ac_cv_path_install+set}" = set; then |
5045 |
|
INSTALL=$ac_cv_path_install |
5051 |
|
INSTALL=$ac_install_sh |
5052 |
|
fi |
5053 |
|
fi |
5054 |
< |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5054 |
> |
echo "$as_me:5054: result: $INSTALL" >&5 |
5055 |
|
echo "${ECHO_T}$INSTALL" >&6 |
5056 |
|
|
5057 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5062 |
|
|
5063 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
5064 |
|
|
5065 |
< |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
5065 |
> |
echo "$as_me:5065: checking whether ln -s works" >&5 |
5066 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
5067 |
|
LN_S=$as_ln_s |
5068 |
|
if test "$LN_S" = "ln -s"; then |
5069 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5069 |
> |
echo "$as_me:5069: result: yes" >&5 |
5070 |
|
echo "${ECHO_T}yes" >&6 |
5071 |
|
else |
5072 |
< |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
5072 |
> |
echo "$as_me:5072: result: no, using $LN_S" >&5 |
5073 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
5074 |
|
fi |
5075 |
|
|
5076 |
< |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
5077 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
5078 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
5076 |
> |
echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
5077 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
5078 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
5079 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
5080 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5081 |
|
else |
5082 |
< |
cat >conftest.make <<\_ACEOF |
5082 |
> |
cat >conftest.make <<\EOF |
5083 |
|
all: |
5084 |
< |
@echo 'ac_maketemp="$(MAKE)"' |
5085 |
< |
_ACEOF |
5084 |
> |
@echo 'ac_maketemp="${MAKE}"' |
5085 |
> |
EOF |
5086 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
5087 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
5088 |
|
if test -n "$ac_maketemp"; then |
5093 |
|
rm -f conftest.make |
5094 |
|
fi |
5095 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
5096 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5096 |
> |
echo "$as_me:5096: result: yes" >&5 |
5097 |
|
echo "${ECHO_T}yes" >&6 |
5098 |
|
SET_MAKE= |
5099 |
|
else |
5100 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5100 |
> |
echo "$as_me:5100: result: no" >&5 |
5101 |
|
echo "${ECHO_T}no" >&6 |
5102 |
|
SET_MAKE="MAKE=${MAKE-make}" |
5103 |
|
fi |
5105 |
|
if test -n "$ac_tool_prefix"; then |
5106 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5107 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5108 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5108 |
> |
echo "$as_me:5108: checking for $ac_word" >&5 |
5109 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5110 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
5111 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5113 |
|
if test -n "$RANLIB"; then |
5114 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5115 |
|
else |
5116 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5117 |
< |
for as_dir in $PATH |
5118 |
< |
do |
5119 |
< |
IFS=$as_save_IFS |
5120 |
< |
test -z "$as_dir" && as_dir=. |
5121 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5122 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5123 |
< |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5124 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6221 |
< |
break 2 |
6222 |
< |
fi |
5116 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5117 |
> |
ac_dummy="$PATH" |
5118 |
> |
for ac_dir in $ac_dummy; do |
5119 |
> |
IFS=$ac_save_IFS |
5120 |
> |
test -z "$ac_dir" && ac_dir=. |
5121 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
5122 |
> |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5123 |
> |
echo "$as_me:5123: found $ac_dir/$ac_word" >&5 |
5124 |
> |
break |
5125 |
|
done |
6224 |
– |
done |
5126 |
|
|
5127 |
|
fi |
5128 |
|
fi |
5129 |
|
RANLIB=$ac_cv_prog_RANLIB |
5130 |
|
if test -n "$RANLIB"; then |
5131 |
< |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5131 |
> |
echo "$as_me:5131: result: $RANLIB" >&5 |
5132 |
|
echo "${ECHO_T}$RANLIB" >&6 |
5133 |
|
else |
5134 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5134 |
> |
echo "$as_me:5134: result: no" >&5 |
5135 |
|
echo "${ECHO_T}no" >&6 |
5136 |
|
fi |
5137 |
|
|
5140 |
|
ac_ct_RANLIB=$RANLIB |
5141 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
5142 |
|
set dummy ranlib; ac_word=$2 |
5143 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5143 |
> |
echo "$as_me:5143: checking for $ac_word" >&5 |
5144 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5145 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5146 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5148 |
|
if test -n "$ac_ct_RANLIB"; then |
5149 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5150 |
|
else |
5151 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5152 |
< |
for as_dir in $PATH |
5153 |
< |
do |
5154 |
< |
IFS=$as_save_IFS |
5155 |
< |
test -z "$as_dir" && as_dir=. |
5156 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5157 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5158 |
< |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5159 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6259 |
< |
break 2 |
6260 |
< |
fi |
5151 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5152 |
> |
ac_dummy="$PATH" |
5153 |
> |
for ac_dir in $ac_dummy; do |
5154 |
> |
IFS=$ac_save_IFS |
5155 |
> |
test -z "$ac_dir" && ac_dir=. |
5156 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
5157 |
> |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5158 |
> |
echo "$as_me:5158: found $ac_dir/$ac_word" >&5 |
5159 |
> |
break |
5160 |
|
done |
6262 |
– |
done |
5161 |
|
|
5162 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
5163 |
|
fi |
5164 |
|
fi |
5165 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5166 |
|
if test -n "$ac_ct_RANLIB"; then |
5167 |
< |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5167 |
> |
echo "$as_me:5167: result: $ac_ct_RANLIB" >&5 |
5168 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
5169 |
|
else |
5170 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5170 |
> |
echo "$as_me:5170: result: no" >&5 |
5171 |
|
echo "${ECHO_T}no" >&6 |
5172 |
|
fi |
5173 |
|
|
5180 |
|
do |
5181 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5182 |
|
set dummy $ac_prog; ac_word=$2 |
5183 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5183 |
> |
echo "$as_me:5183: checking for $ac_word" >&5 |
5184 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5185 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
5186 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5188 |
|
if test -n "$YACC"; then |
5189 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
5190 |
|
else |
5191 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5192 |
< |
for as_dir in $PATH |
5193 |
< |
do |
5194 |
< |
IFS=$as_save_IFS |
5195 |
< |
test -z "$as_dir" && as_dir=. |
5196 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5197 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5198 |
< |
ac_cv_prog_YACC="$ac_prog" |
5199 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6302 |
< |
break 2 |
6303 |
< |
fi |
5191 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5192 |
> |
ac_dummy="$PATH" |
5193 |
> |
for ac_dir in $ac_dummy; do |
5194 |
> |
IFS=$ac_save_IFS |
5195 |
> |
test -z "$ac_dir" && ac_dir=. |
5196 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
5197 |
> |
ac_cv_prog_YACC="$ac_prog" |
5198 |
> |
echo "$as_me:5198: found $ac_dir/$ac_word" >&5 |
5199 |
> |
break |
5200 |
|
done |
6305 |
– |
done |
5201 |
|
|
5202 |
|
fi |
5203 |
|
fi |
5204 |
|
YACC=$ac_cv_prog_YACC |
5205 |
|
if test -n "$YACC"; then |
5206 |
< |
echo "$as_me:$LINENO: result: $YACC" >&5 |
5206 |
> |
echo "$as_me:5206: result: $YACC" >&5 |
5207 |
|
echo "${ECHO_T}$YACC" >&6 |
5208 |
|
else |
5209 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5209 |
> |
echo "$as_me:5209: result: no" >&5 |
5210 |
|
echo "${ECHO_T}no" >&6 |
5211 |
|
fi |
5212 |
|
|
5218 |
|
do |
5219 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5220 |
|
set dummy $ac_prog; ac_word=$2 |
5221 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5221 |
> |
echo "$as_me:5221: checking for $ac_word" >&5 |
5222 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5223 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
5224 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5226 |
|
if test -n "$LEX"; then |
5227 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
5228 |
|
else |
5229 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5230 |
< |
for as_dir in $PATH |
5231 |
< |
do |
5232 |
< |
IFS=$as_save_IFS |
5233 |
< |
test -z "$as_dir" && as_dir=. |
5234 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5235 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5236 |
< |
ac_cv_prog_LEX="$ac_prog" |
5237 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6343 |
< |
break 2 |
6344 |
< |
fi |
5229 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5230 |
> |
ac_dummy="$PATH" |
5231 |
> |
for ac_dir in $ac_dummy; do |
5232 |
> |
IFS=$ac_save_IFS |
5233 |
> |
test -z "$ac_dir" && ac_dir=. |
5234 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
5235 |
> |
ac_cv_prog_LEX="$ac_prog" |
5236 |
> |
echo "$as_me:5236: found $ac_dir/$ac_word" >&5 |
5237 |
> |
break |
5238 |
|
done |
6346 |
– |
done |
5239 |
|
|
5240 |
|
fi |
5241 |
|
fi |
5242 |
|
LEX=$ac_cv_prog_LEX |
5243 |
|
if test -n "$LEX"; then |
5244 |
< |
echo "$as_me:$LINENO: result: $LEX" >&5 |
5244 |
> |
echo "$as_me:5244: result: $LEX" >&5 |
5245 |
|
echo "${ECHO_T}$LEX" >&6 |
5246 |
|
else |
5247 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5247 |
> |
echo "$as_me:5247: result: no" >&5 |
5248 |
|
echo "${ECHO_T}no" >&6 |
5249 |
|
fi |
5250 |
|
|
5254 |
|
|
5255 |
|
if test -z "$LEXLIB" |
5256 |
|
then |
5257 |
< |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
5257 |
> |
echo "$as_me:5257: checking for yywrap in -lfl" >&5 |
5258 |
|
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
5259 |
|
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
5260 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5262 |
|
ac_check_lib_save_LIBS=$LIBS |
5263 |
|
LIBS="-lfl $LIBS" |
5264 |
|
cat >conftest.$ac_ext <<_ACEOF |
5265 |
< |
/* confdefs.h. */ |
5266 |
< |
_ACEOF |
6375 |
< |
cat confdefs.h >>conftest.$ac_ext |
6376 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6377 |
< |
/* end confdefs.h. */ |
5265 |
> |
#line 5265 "configure" |
5266 |
> |
#include "confdefs.h" |
5267 |
|
|
5268 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5269 |
|
#ifdef __cplusplus |
5281 |
|
} |
5282 |
|
_ACEOF |
5283 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5284 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5285 |
< |
(eval $ac_link) 2>conftest.er1 |
5284 |
> |
if { (eval echo "$as_me:5284: \"$ac_link\"") >&5 |
5285 |
> |
(eval $ac_link) 2>&5 |
5286 |
|
ac_status=$? |
5287 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6399 |
< |
rm -f conftest.er1 |
6400 |
< |
cat conftest.err >&5 |
6401 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5287 |
> |
echo "$as_me:5287: \$? = $ac_status" >&5 |
5288 |
|
(exit $ac_status); } && |
5289 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5290 |
< |
|| test ! -s conftest.err' |
6405 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5289 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5290 |
> |
{ (eval echo "$as_me:5290: \"$ac_try\"") >&5 |
5291 |
|
(eval $ac_try) 2>&5 |
5292 |
|
ac_status=$? |
5293 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6409 |
< |
(exit $ac_status); }; } && |
6410 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6411 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6412 |
< |
(eval $ac_try) 2>&5 |
6413 |
< |
ac_status=$? |
6414 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5293 |
> |
echo "$as_me:5293: \$? = $ac_status" >&5 |
5294 |
|
(exit $ac_status); }; }; then |
5295 |
|
ac_cv_lib_fl_yywrap=yes |
5296 |
|
else |
5297 |
|
echo "$as_me: failed program was:" >&5 |
5298 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6420 |
< |
|
5298 |
> |
cat conftest.$ac_ext >&5 |
5299 |
|
ac_cv_lib_fl_yywrap=no |
5300 |
|
fi |
5301 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6424 |
< |
conftest$ac_exeext conftest.$ac_ext |
5301 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5302 |
|
LIBS=$ac_check_lib_save_LIBS |
5303 |
|
fi |
5304 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
5304 |
> |
echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5 |
5305 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
5306 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
5307 |
|
LEXLIB="-lfl" |
5308 |
|
else |
5309 |
< |
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
5309 |
> |
echo "$as_me:5309: checking for yywrap in -ll" >&5 |
5310 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
5311 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
5312 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5314 |
|
ac_check_lib_save_LIBS=$LIBS |
5315 |
|
LIBS="-ll $LIBS" |
5316 |
|
cat >conftest.$ac_ext <<_ACEOF |
5317 |
< |
/* confdefs.h. */ |
5318 |
< |
_ACEOF |
6442 |
< |
cat confdefs.h >>conftest.$ac_ext |
6443 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6444 |
< |
/* end confdefs.h. */ |
5317 |
> |
#line 5317 "configure" |
5318 |
> |
#include "confdefs.h" |
5319 |
|
|
5320 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5321 |
|
#ifdef __cplusplus |
5333 |
|
} |
5334 |
|
_ACEOF |
5335 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5336 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5337 |
< |
(eval $ac_link) 2>conftest.er1 |
5336 |
> |
if { (eval echo "$as_me:5336: \"$ac_link\"") >&5 |
5337 |
> |
(eval $ac_link) 2>&5 |
5338 |
|
ac_status=$? |
5339 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6466 |
< |
rm -f conftest.er1 |
6467 |
< |
cat conftest.err >&5 |
6468 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5339 |
> |
echo "$as_me:5339: \$? = $ac_status" >&5 |
5340 |
|
(exit $ac_status); } && |
5341 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5342 |
< |
|| test ! -s conftest.err' |
6472 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5341 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5342 |
> |
{ (eval echo "$as_me:5342: \"$ac_try\"") >&5 |
5343 |
|
(eval $ac_try) 2>&5 |
5344 |
|
ac_status=$? |
5345 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6476 |
< |
(exit $ac_status); }; } && |
6477 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6478 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6479 |
< |
(eval $ac_try) 2>&5 |
6480 |
< |
ac_status=$? |
6481 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5345 |
> |
echo "$as_me:5345: \$? = $ac_status" >&5 |
5346 |
|
(exit $ac_status); }; }; then |
5347 |
|
ac_cv_lib_l_yywrap=yes |
5348 |
|
else |
5349 |
|
echo "$as_me: failed program was:" >&5 |
5350 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6487 |
< |
|
5350 |
> |
cat conftest.$ac_ext >&5 |
5351 |
|
ac_cv_lib_l_yywrap=no |
5352 |
|
fi |
5353 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6491 |
< |
conftest$ac_exeext conftest.$ac_ext |
5353 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5354 |
|
LIBS=$ac_check_lib_save_LIBS |
5355 |
|
fi |
5356 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
5356 |
> |
echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5 |
5357 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
5358 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
5359 |
|
LEXLIB="-ll" |
5364 |
|
fi |
5365 |
|
|
5366 |
|
if test "x$LEX" != "x:"; then |
5367 |
< |
echo "$as_me:$LINENO: checking lex output file root" >&5 |
5367 |
> |
echo "$as_me:5367: checking lex output file root" >&5 |
5368 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
5369 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
5370 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5371 |
|
else |
5372 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
5373 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
5374 |
< |
cat >conftest.l <<_ACEOF |
5375 |
< |
%% |
6514 |
< |
%% |
6515 |
< |
_ACEOF |
6516 |
< |
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
6517 |
< |
(eval $LEX conftest.l) 2>&5 |
6518 |
< |
ac_status=$? |
6519 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6520 |
< |
(exit $ac_status); } |
5374 |
> |
echo '%% |
5375 |
> |
%%' | $LEX |
5376 |
|
if test -f lex.yy.c; then |
5377 |
|
ac_cv_prog_lex_root=lex.yy |
5378 |
|
elif test -f lexyy.c; then |
5379 |
|
ac_cv_prog_lex_root=lexyy |
5380 |
|
else |
5381 |
< |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
5381 |
> |
{ { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5 |
5382 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
5383 |
|
{ (exit 1); exit 1; }; } |
5384 |
|
fi |
5385 |
|
fi |
5386 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
5386 |
> |
echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5 |
5387 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
6533 |
– |
rm -f conftest.l |
5388 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
5389 |
|
|
5390 |
< |
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
5390 |
> |
echo "$as_me:5390: checking whether yytext is a pointer" >&5 |
5391 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
5392 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
5393 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5403 |
|
`cat $LEX_OUTPUT_ROOT.c` |
5404 |
|
_ACEOF |
5405 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5406 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5407 |
< |
(eval $ac_link) 2>conftest.er1 |
5406 |
> |
if { (eval echo "$as_me:5406: \"$ac_link\"") >&5 |
5407 |
> |
(eval $ac_link) 2>&5 |
5408 |
|
ac_status=$? |
5409 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6556 |
< |
rm -f conftest.er1 |
6557 |
< |
cat conftest.err >&5 |
6558 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5409 |
> |
echo "$as_me:5409: \$? = $ac_status" >&5 |
5410 |
|
(exit $ac_status); } && |
5411 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5412 |
< |
|| test ! -s conftest.err' |
6562 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5411 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5412 |
> |
{ (eval echo "$as_me:5412: \"$ac_try\"") >&5 |
5413 |
|
(eval $ac_try) 2>&5 |
5414 |
|
ac_status=$? |
5415 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6566 |
< |
(exit $ac_status); }; } && |
6567 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6568 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6569 |
< |
(eval $ac_try) 2>&5 |
6570 |
< |
ac_status=$? |
6571 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5415 |
> |
echo "$as_me:5415: \$? = $ac_status" >&5 |
5416 |
|
(exit $ac_status); }; }; then |
5417 |
|
ac_cv_prog_lex_yytext_pointer=yes |
5418 |
|
else |
5419 |
|
echo "$as_me: failed program was:" >&5 |
5420 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6577 |
< |
|
5420 |
> |
cat conftest.$ac_ext >&5 |
5421 |
|
fi |
5422 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6580 |
< |
conftest$ac_exeext conftest.$ac_ext |
5422 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5423 |
|
LIBS=$ac_save_LIBS |
5424 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
5425 |
|
|
5426 |
|
fi |
5427 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
5427 |
> |
echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
5428 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
5429 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
5430 |
|
|
5431 |
< |
cat >>confdefs.h <<\_ACEOF |
5431 |
> |
cat >>confdefs.h <<\EOF |
5432 |
|
#define YYTEXT_POINTER 1 |
5433 |
< |
_ACEOF |
5433 |
> |
EOF |
5434 |
|
|
5435 |
|
fi |
5436 |
|
|
5437 |
|
fi |
5438 |
|
# Extract the first word of "ar", so it can be a program name with args. |
5439 |
|
set dummy ar; ac_word=$2 |
5440 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5440 |
> |
echo "$as_me:5440: checking for $ac_word" >&5 |
5441 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5442 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
5443 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5445 |
|
if test -n "$AR"; then |
5446 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
5447 |
|
else |
5448 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5449 |
< |
for as_dir in $PATH |
5450 |
< |
do |
5451 |
< |
IFS=$as_save_IFS |
5452 |
< |
test -z "$as_dir" && as_dir=. |
5453 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5454 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5455 |
< |
ac_cv_prog_AR="ar" |
5456 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6615 |
< |
break 2 |
6616 |
< |
fi |
5448 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5449 |
> |
ac_dummy="$PATH" |
5450 |
> |
for ac_dir in $ac_dummy; do |
5451 |
> |
IFS=$ac_save_IFS |
5452 |
> |
test -z "$ac_dir" && ac_dir=. |
5453 |
> |
$as_executable_p "$ac_dir/$ac_word" || continue |
5454 |
> |
ac_cv_prog_AR="ar" |
5455 |
> |
echo "$as_me:5455: found $ac_dir/$ac_word" >&5 |
5456 |
> |
break |
5457 |
|
done |
6618 |
– |
done |
5458 |
|
|
5459 |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" |
5460 |
|
fi |
5461 |
|
fi |
5462 |
|
AR=$ac_cv_prog_AR |
5463 |
|
if test -n "$AR"; then |
5464 |
< |
echo "$as_me:$LINENO: result: $AR" >&5 |
5464 |
> |
echo "$as_me:5464: result: $AR" >&5 |
5465 |
|
echo "${ECHO_T}$AR" >&6 |
5466 |
|
else |
5467 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5467 |
> |
echo "$as_me:5467: result: no" >&5 |
5468 |
|
echo "${ECHO_T}no" >&6 |
5469 |
|
fi |
5470 |
|
|
5471 |
|
if test "$AR" = "NONE"; then |
5472 |
< |
{ { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 |
5472 |
> |
{ { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5 |
5473 |
|
echo "$as_me: error: --> Can't find \`ar'!" >&2;} |
5474 |
|
{ (exit 1); exit 1; }; } |
5475 |
|
cat >confcache <<\_ACEOF |
5482 |
|
# config.status only pays attention to the cache file if you give it |
5483 |
|
# the --recheck option to rerun configure. |
5484 |
|
# |
5485 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
5485 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
5486 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
5487 |
|
# following values. |
5488 |
|
|
5500 |
|
# `set' does not quote correctly, so add quotes (double-quote |
5501 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
5502 |
|
sed -n \ |
5503 |
< |
"s/'/'\\\\''/g; |
5504 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5503 |
> |
"s/'/'\\\\''/g; |
5504 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5505 |
|
;; |
5506 |
|
*) |
5507 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
5508 |
|
sed -n \ |
5509 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5509 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5510 |
|
;; |
5511 |
|
esac; |
5512 |
|
} | |
5517 |
|
t end |
5518 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5519 |
|
: end' >>confcache |
5520 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
5520 |
> |
if cmp -s $cache_file confcache; then :; else |
5521 |
|
if test -w $cache_file; then |
5522 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
5523 |
|
cat confcache >$cache_file |
5529 |
|
exit 1 |
5530 |
|
fi |
5531 |
|
|
5532 |
+ |
# Extract the first word of "ps", so it can be a program name with args. |
5533 |
+ |
set dummy ps; ac_word=$2 |
5534 |
+ |
echo "$as_me:5534: checking for $ac_word" >&5 |
5535 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5536 |
+ |
if test "${ac_cv_path_PS+set}" = set; then |
5537 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5538 |
+ |
else |
5539 |
+ |
case $PS in |
5540 |
+ |
[\\/]* | ?:[\\/]*) |
5541 |
+ |
ac_cv_path_PS="$PS" # Let the user override the test with a path. |
5542 |
+ |
;; |
5543 |
+ |
*) |
5544 |
+ |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
5545 |
+ |
ac_dummy="$PATH" |
5546 |
+ |
for ac_dir in $ac_dummy; do |
5547 |
+ |
IFS=$ac_save_IFS |
5548 |
+ |
test -z "$ac_dir" && ac_dir=. |
5549 |
+ |
if $as_executable_p "$ac_dir/$ac_word"; then |
5550 |
+ |
ac_cv_path_PS="$ac_dir/$ac_word" |
5551 |
+ |
echo "$as_me:5551: found $ac_dir/$ac_word" >&5 |
5552 |
+ |
break |
5553 |
+ |
fi |
5554 |
+ |
done |
5555 |
|
|
5556 |
+ |
;; |
5557 |
+ |
esac |
5558 |
+ |
fi |
5559 |
+ |
PS=$ac_cv_path_PS |
5560 |
|
|
5561 |
+ |
if test -n "$PS"; then |
5562 |
+ |
echo "$as_me:5562: result: $PS" >&5 |
5563 |
+ |
echo "${ECHO_T}$PS" >&6 |
5564 |
+ |
else |
5565 |
+ |
echo "$as_me:5565: result: no" >&5 |
5566 |
+ |
echo "${ECHO_T}no" >&6 |
5567 |
+ |
fi |
5568 |
+ |
|
5569 |
+ |
echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5 |
5570 |
+ |
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 |
5571 |
+ |
if test "${ac_cv_prog_ps_syntax+set}" = set; then |
5572 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5573 |
+ |
else |
5574 |
+ |
|
5575 |
+ |
if $PS ax -o rss > /dev/null 2>&1; then |
5576 |
+ |
ac_cv_prog_ps_ax=yes |
5577 |
+ |
else |
5578 |
+ |
ac_cv_prog_ps_ax=no |
5579 |
+ |
fi |
5580 |
+ |
if $PS -ef -o rss > /dev/null 2>&1; then |
5581 |
+ |
ac_cv_prog_ps_ef=yes |
5582 |
+ |
else |
5583 |
+ |
ac_cv_prog_ps_ef=no |
5584 |
+ |
fi |
5585 |
+ |
if test "$ac_cv_prog_ps_ax" = yes; then |
5586 |
+ |
ac_cv_prog_ps_syntax=BSD |
5587 |
+ |
else |
5588 |
+ |
if test "$ac_cv_prog_ps_ef" = yes; then |
5589 |
+ |
ac_cv_prog_ps_syntax=POSIX |
5590 |
+ |
else |
5591 |
+ |
{ { echo "$as_me:5591: error: Could not determine ps syntax" >&5 |
5592 |
+ |
echo "$as_me: error: Could not determine ps syntax" >&2;} |
5593 |
+ |
{ (exit 1); exit 1; }; } |
5594 |
+ |
fi |
5595 |
+ |
fi |
5596 |
+ |
|
5597 |
+ |
fi |
5598 |
+ |
echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5 |
5599 |
+ |
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
5600 |
+ |
|
5601 |
+ |
cat >>confdefs.h <<EOF |
5602 |
+ |
#define PSCOMMAND $PS |
5603 |
+ |
EOF |
5604 |
+ |
|
5605 |
+ |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
5606 |
+ |
cat >>confdefs.h <<\EOF |
5607 |
+ |
#define PSTYPE_IS_BSD 1 |
5608 |
+ |
EOF |
5609 |
+ |
|
5610 |
+ |
else |
5611 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
5612 |
+ |
cat >>confdefs.h <<\EOF |
5613 |
+ |
#define PSTYPE_IS_POSIX 1 |
5614 |
+ |
EOF |
5615 |
+ |
|
5616 |
+ |
else |
5617 |
+ |
{ { echo "$as_me:5617: error: Unknown ps syntax type!" >&5 |
5618 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
5619 |
+ |
{ (exit 1); exit 1; }; } |
5620 |
+ |
fi |
5621 |
+ |
fi |
5622 |
+ |
|
5623 |
|
# Check whether --with-mpi or --without-mpi was given. |
5624 |
|
if test "${with_mpi+set}" = set; then |
5625 |
|
withval="$with_mpi" |
5638 |
|
fi |
5639 |
|
if test "$USE_MPI" = "yes"; then |
5640 |
|
|
6713 |
– |
|
5641 |
|
# Set variables... |
5642 |
|
MPI_LIB_DIR="$MPI/lib" |
5643 |
|
MPI_INC_DIR="$MPI/include" |
5644 |
|
|
5645 |
< |
|
6719 |
< |
|
6720 |
< |
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
5645 |
> |
echo "$as_me:5645: checking for mpi.h" >&5 |
5646 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
5647 |
|
have_mpi_h=0 |
5648 |
|
echo '#include <mpi.h>' > conftest.cc |
5649 |
|
if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
5650 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5650 |
> |
echo "$as_me:5650: result: yes" >&5 |
5651 |
|
echo "${ECHO_T}yes" >&6 |
5652 |
|
have_mpi_h=1 |
5653 |
|
else |
5654 |
< |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
5654 |
> |
echo "$as_me:5654: result: no! Check MPI include paths" >&5 |
5655 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
5656 |
|
USE_MPI="no" |
5657 |
|
fi |
5658 |
|
rm -f conftest* |
5659 |
|
if test "$have_mpi_h" = 1; then |
5660 |
|
|
5661 |
< |
cat >>confdefs.h <<\_ACEOF |
5661 |
> |
cat >>confdefs.h <<\EOF |
5662 |
|
#define HAVE_MPI_H 1 |
5663 |
< |
_ACEOF |
5663 |
> |
EOF |
5664 |
|
|
5665 |
|
fi |
5666 |
|
|
5667 |
< |
echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
5667 |
> |
echo "$as_me:5667: checking whether mpif.h is usable" >&5 |
5668 |
|
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 |
5669 |
|
have_mpif_h=0 |
5670 |
|
rm -f conftest* |
5674 |
|
end |
5675 |
|
EOF |
5676 |
|
if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then |
5677 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5677 |
> |
echo "$as_me:5677: result: yes" >&5 |
5678 |
|
echo "${ECHO_T}yes" >&6 |
5679 |
|
MPI_F90_INC="$MPI_INC_DIR" |
5680 |
|
have_mpif_h=1 |
5682 |
|
if test -s conftest.out ; then |
5683 |
|
cat conftest.out >> config.log |
5684 |
|
fi |
5685 |
< |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
5685 |
> |
echo "$as_me:5685: result: no! Check MPI include paths" >&5 |
5686 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
5687 |
|
USE_MPI="no" |
5688 |
|
fi |
5690 |
|
|
5691 |
|
if test "$have_mpif_h" = 1; then |
5692 |
|
|
5693 |
< |
cat >>confdefs.h <<\_ACEOF |
5693 |
> |
cat >>confdefs.h <<\EOF |
5694 |
|
#define HAVE_MPIF_H 1 |
5695 |
< |
_ACEOF |
5695 |
> |
EOF |
5696 |
|
|
5697 |
|
fi |
5698 |
|
|
5706 |
|
LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} " |
5707 |
|
|
5708 |
|
if test x = x"$MPI_LIB"; then |
5709 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
5709 |
> |
echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5 |
5710 |
|
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
5711 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
5712 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5714 |
|
ac_check_lib_save_LIBS=$LIBS |
5715 |
|
LIBS="-lmpich $LIBS" |
5716 |
|
cat >conftest.$ac_ext <<_ACEOF |
5717 |
< |
/* confdefs.h. */ |
5718 |
< |
_ACEOF |
6794 |
< |
cat confdefs.h >>conftest.$ac_ext |
6795 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6796 |
< |
/* end confdefs.h. */ |
5717 |
> |
#line 5717 "configure" |
5718 |
> |
#include "confdefs.h" |
5719 |
|
|
5720 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5721 |
|
#ifdef __cplusplus |
5733 |
|
} |
5734 |
|
_ACEOF |
5735 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5736 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5737 |
< |
(eval $ac_link) 2>conftest.er1 |
5736 |
> |
if { (eval echo "$as_me:5736: \"$ac_link\"") >&5 |
5737 |
> |
(eval $ac_link) 2>&5 |
5738 |
|
ac_status=$? |
5739 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6818 |
< |
rm -f conftest.er1 |
6819 |
< |
cat conftest.err >&5 |
6820 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5739 |
> |
echo "$as_me:5739: \$? = $ac_status" >&5 |
5740 |
|
(exit $ac_status); } && |
5741 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5742 |
< |
|| test ! -s conftest.err' |
6824 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5741 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5742 |
> |
{ (eval echo "$as_me:5742: \"$ac_try\"") >&5 |
5743 |
|
(eval $ac_try) 2>&5 |
5744 |
|
ac_status=$? |
5745 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6828 |
< |
(exit $ac_status); }; } && |
6829 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6830 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6831 |
< |
(eval $ac_try) 2>&5 |
6832 |
< |
ac_status=$? |
6833 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5745 |
> |
echo "$as_me:5745: \$? = $ac_status" >&5 |
5746 |
|
(exit $ac_status); }; }; then |
5747 |
|
ac_cv_lib_mpich_MPI_Init=yes |
5748 |
|
else |
5749 |
|
echo "$as_me: failed program was:" >&5 |
5750 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6839 |
< |
|
5750 |
> |
cat conftest.$ac_ext >&5 |
5751 |
|
ac_cv_lib_mpich_MPI_Init=no |
5752 |
|
fi |
5753 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6843 |
< |
conftest$ac_exeext conftest.$ac_ext |
5753 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5754 |
|
LIBS=$ac_check_lib_save_LIBS |
5755 |
|
fi |
5756 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
5756 |
> |
echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
5757 |
|
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
5758 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
5759 |
|
MPI_LIB="-lmpich" |
5761 |
|
|
5762 |
|
fi |
5763 |
|
if test x = x"$MPI_LIB"; then |
5764 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
5764 |
> |
echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5 |
5765 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
5766 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
5767 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5769 |
|
ac_check_lib_save_LIBS=$LIBS |
5770 |
|
LIBS="-lmpi $LIBS" |
5771 |
|
cat >conftest.$ac_ext <<_ACEOF |
5772 |
< |
/* confdefs.h. */ |
5773 |
< |
_ACEOF |
6864 |
< |
cat confdefs.h >>conftest.$ac_ext |
6865 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6866 |
< |
/* end confdefs.h. */ |
5772 |
> |
#line 5772 "configure" |
5773 |
> |
#include "confdefs.h" |
5774 |
|
|
5775 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5776 |
|
#ifdef __cplusplus |
5788 |
|
} |
5789 |
|
_ACEOF |
5790 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5791 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5792 |
< |
(eval $ac_link) 2>conftest.er1 |
5791 |
> |
if { (eval echo "$as_me:5791: \"$ac_link\"") >&5 |
5792 |
> |
(eval $ac_link) 2>&5 |
5793 |
|
ac_status=$? |
5794 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6888 |
< |
rm -f conftest.er1 |
6889 |
< |
cat conftest.err >&5 |
6890 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5794 |
> |
echo "$as_me:5794: \$? = $ac_status" >&5 |
5795 |
|
(exit $ac_status); } && |
5796 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5797 |
< |
|| test ! -s conftest.err' |
6894 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5796 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5797 |
> |
{ (eval echo "$as_me:5797: \"$ac_try\"") >&5 |
5798 |
|
(eval $ac_try) 2>&5 |
5799 |
|
ac_status=$? |
5800 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6898 |
< |
(exit $ac_status); }; } && |
6899 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6900 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6901 |
< |
(eval $ac_try) 2>&5 |
6902 |
< |
ac_status=$? |
6903 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5800 |
> |
echo "$as_me:5800: \$? = $ac_status" >&5 |
5801 |
|
(exit $ac_status); }; }; then |
5802 |
|
ac_cv_lib_mpi_MPI_Init=yes |
5803 |
|
else |
5804 |
|
echo "$as_me: failed program was:" >&5 |
5805 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6909 |
< |
|
5805 |
> |
cat conftest.$ac_ext >&5 |
5806 |
|
ac_cv_lib_mpi_MPI_Init=no |
5807 |
|
fi |
5808 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6913 |
< |
conftest$ac_exeext conftest.$ac_ext |
5808 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5809 |
|
LIBS=$ac_check_lib_save_LIBS |
5810 |
|
fi |
5811 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5811 |
> |
echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5812 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
5813 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
5814 |
|
MPI_LIB="-lmpi" |
5817 |
|
fi |
5818 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
5819 |
|
if test x = x"$MPI_LIB"; then |
5820 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
5820 |
> |
echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5 |
5821 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
5822 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
5823 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5825 |
|
ac_check_lib_save_LIBS=$LIBS |
5826 |
|
LIBS="-lmpi "-llam" $LIBS" |
5827 |
|
cat >conftest.$ac_ext <<_ACEOF |
5828 |
< |
/* confdefs.h. */ |
5829 |
< |
_ACEOF |
6935 |
< |
cat confdefs.h >>conftest.$ac_ext |
6936 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6937 |
< |
/* end confdefs.h. */ |
5828 |
> |
#line 5828 "configure" |
5829 |
> |
#include "confdefs.h" |
5830 |
|
|
5831 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5832 |
|
#ifdef __cplusplus |
5844 |
|
} |
5845 |
|
_ACEOF |
5846 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5847 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5848 |
< |
(eval $ac_link) 2>conftest.er1 |
5847 |
> |
if { (eval echo "$as_me:5847: \"$ac_link\"") >&5 |
5848 |
> |
(eval $ac_link) 2>&5 |
5849 |
|
ac_status=$? |
5850 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6959 |
< |
rm -f conftest.er1 |
6960 |
< |
cat conftest.err >&5 |
6961 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5850 |
> |
echo "$as_me:5850: \$? = $ac_status" >&5 |
5851 |
|
(exit $ac_status); } && |
5852 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5853 |
< |
|| test ! -s conftest.err' |
6965 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6966 |
< |
(eval $ac_try) 2>&5 |
6967 |
< |
ac_status=$? |
6968 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6969 |
< |
(exit $ac_status); }; } && |
6970 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6971 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5852 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5853 |
> |
{ (eval echo "$as_me:5853: \"$ac_try\"") >&5 |
5854 |
|
(eval $ac_try) 2>&5 |
5855 |
|
ac_status=$? |
5856 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5856 |
> |
echo "$as_me:5856: \$? = $ac_status" >&5 |
5857 |
|
(exit $ac_status); }; }; then |
5858 |
|
ac_cv_lib_mpi_MPI_Init=yes |
5859 |
|
else |
5860 |
|
echo "$as_me: failed program was:" >&5 |
5861 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6980 |
< |
|
5861 |
> |
cat conftest.$ac_ext >&5 |
5862 |
|
ac_cv_lib_mpi_MPI_Init=no |
5863 |
|
fi |
5864 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6984 |
< |
conftest$ac_exeext conftest.$ac_ext |
5864 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5865 |
|
LIBS=$ac_check_lib_save_LIBS |
5866 |
|
fi |
5867 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5867 |
> |
echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5868 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
5869 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
5870 |
|
MPI_LIB="-lmpi -llam" |
5871 |
|
fi |
5872 |
|
|
5873 |
|
fi |
5874 |
+ |
$as_unset ac_cv_lib_mpich_MPI_Init |
5875 |
+ |
if test x = x"$MPI_LIB"; then |
5876 |
+ |
echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5 |
5877 |
+ |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
5878 |
+ |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
5879 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5880 |
+ |
else |
5881 |
+ |
ac_check_lib_save_LIBS=$LIBS |
5882 |
+ |
LIBS="-lmpich "-lpmpich" $LIBS" |
5883 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
5884 |
+ |
#line 5884 "configure" |
5885 |
+ |
#include "confdefs.h" |
5886 |
|
|
5887 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5888 |
+ |
#ifdef __cplusplus |
5889 |
+ |
extern "C" |
5890 |
+ |
#endif |
5891 |
+ |
/* We use char because int might match the return type of a gcc2 |
5892 |
+ |
builtin and then its argument prototype would still apply. */ |
5893 |
+ |
char MPI_Init (); |
5894 |
+ |
int |
5895 |
+ |
main () |
5896 |
+ |
{ |
5897 |
+ |
MPI_Init (); |
5898 |
+ |
; |
5899 |
+ |
return 0; |
5900 |
+ |
} |
5901 |
+ |
_ACEOF |
5902 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
5903 |
+ |
if { (eval echo "$as_me:5903: \"$ac_link\"") >&5 |
5904 |
+ |
(eval $ac_link) 2>&5 |
5905 |
+ |
ac_status=$? |
5906 |
+ |
echo "$as_me:5906: \$? = $ac_status" >&5 |
5907 |
+ |
(exit $ac_status); } && |
5908 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5909 |
+ |
{ (eval echo "$as_me:5909: \"$ac_try\"") >&5 |
5910 |
+ |
(eval $ac_try) 2>&5 |
5911 |
+ |
ac_status=$? |
5912 |
+ |
echo "$as_me:5912: \$? = $ac_status" >&5 |
5913 |
+ |
(exit $ac_status); }; }; then |
5914 |
+ |
ac_cv_lib_mpich_MPI_Init=yes |
5915 |
+ |
else |
5916 |
+ |
echo "$as_me: failed program was:" >&5 |
5917 |
+ |
cat conftest.$ac_ext >&5 |
5918 |
+ |
ac_cv_lib_mpich_MPI_Init=no |
5919 |
+ |
fi |
5920 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5921 |
+ |
LIBS=$ac_check_lib_save_LIBS |
5922 |
+ |
fi |
5923 |
+ |
echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
5924 |
+ |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
5925 |
+ |
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
5926 |
+ |
MPI_LIB="-lmpich -lpmpich" |
5927 |
+ |
fi |
5928 |
+ |
|
5929 |
+ |
fi |
5930 |
+ |
|
5931 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
5932 |
|
if test x = x"$MPI_LIB"; then |
5933 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
5933 |
> |
echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5 |
5934 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
5935 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
5936 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5938 |
|
ac_check_lib_save_LIBS=$LIBS |
5939 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
5940 |
|
cat >conftest.$ac_ext <<_ACEOF |
5941 |
< |
/* confdefs.h. */ |
5942 |
< |
_ACEOF |
7007 |
< |
cat confdefs.h >>conftest.$ac_ext |
7008 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7009 |
< |
/* end confdefs.h. */ |
5941 |
> |
#line 5941 "configure" |
5942 |
> |
#include "confdefs.h" |
5943 |
|
|
5944 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5945 |
|
#ifdef __cplusplus |
5957 |
|
} |
5958 |
|
_ACEOF |
5959 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5960 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5961 |
< |
(eval $ac_link) 2>conftest.er1 |
5960 |
> |
if { (eval echo "$as_me:5960: \"$ac_link\"") >&5 |
5961 |
> |
(eval $ac_link) 2>&5 |
5962 |
|
ac_status=$? |
5963 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7031 |
< |
rm -f conftest.er1 |
7032 |
< |
cat conftest.err >&5 |
7033 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5963 |
> |
echo "$as_me:5963: \$? = $ac_status" >&5 |
5964 |
|
(exit $ac_status); } && |
5965 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5966 |
< |
|| test ! -s conftest.err' |
7037 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5965 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5966 |
> |
{ (eval echo "$as_me:5966: \"$ac_try\"") >&5 |
5967 |
|
(eval $ac_try) 2>&5 |
5968 |
|
ac_status=$? |
5969 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7041 |
< |
(exit $ac_status); }; } && |
7042 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7043 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7044 |
< |
(eval $ac_try) 2>&5 |
7045 |
< |
ac_status=$? |
7046 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5969 |
> |
echo "$as_me:5969: \$? = $ac_status" >&5 |
5970 |
|
(exit $ac_status); }; }; then |
5971 |
|
ac_cv_lib_mpi_MPI_Init=yes |
5972 |
|
else |
5973 |
|
echo "$as_me: failed program was:" >&5 |
5974 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7052 |
< |
|
5974 |
> |
cat conftest.$ac_ext >&5 |
5975 |
|
ac_cv_lib_mpi_MPI_Init=no |
5976 |
|
fi |
5977 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7056 |
< |
conftest$ac_exeext conftest.$ac_ext |
5977 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5978 |
|
LIBS=$ac_check_lib_save_LIBS |
5979 |
|
fi |
5980 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5980 |
> |
echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
5981 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
5982 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
5983 |
|
MPI_LIB="-lmpi -llam -lpthread" |
5984 |
|
else |
5985 |
|
|
5986 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
5986 |
> |
{ { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
5987 |
|
echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;} |
5988 |
|
{ (exit 1); exit 1; }; } |
5989 |
|
USE_MPI="no" |
5992 |
|
|
5993 |
|
fi |
5994 |
|
|
5995 |
< |
|
7075 |
< |
|
7076 |
< |
echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
5995 |
> |
echo "$as_me:5995: checking for MPI Fortran library" >&5 |
5996 |
|
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6 |
5997 |
|
MPI_F90_LIB="" |
5998 |
|
if test -f "$MPI_LIB_DIR/libfmpich.a" ; then |
6002 |
|
else |
6003 |
|
MPI_F90_LIB=" " |
6004 |
|
fi |
6005 |
< |
echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
6005 |
> |
echo "$as_me:6005: result: found $MPI_F90_LIB" >&5 |
6006 |
|
echo "${ECHO_T}found $MPI_F90_LIB" >&6 |
6007 |
|
|
7089 |
– |
|
6008 |
|
fi |
6009 |
|
|
7092 |
– |
|
7093 |
– |
|
6010 |
|
# Check whether --with-sprng or --without-sprng was given. |
6011 |
|
if test "${with_sprng+set}" = set; then |
6012 |
|
withval="$with_sprng" |
6025 |
|
fi |
6026 |
|
if test "$USE_SPRNG" = "yes"; then |
6027 |
|
|
7112 |
– |
|
6028 |
|
# Set variables... |
6029 |
|
SPRNG_LIB_DIR="$SPRNG/lib" |
6030 |
|
SPRNG_INC_DIR="$SPRNG/include" |
7116 |
– |
|
6031 |
|
|
6032 |
< |
|
7119 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
6032 |
> |
echo "$as_me:6032: checking for sprng.h" >&5 |
6033 |
|
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
6034 |
|
have_sprng_h=0 |
6035 |
|
echo '#include <sprng.h>' > conftest.cc |
6036 |
|
if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then |
6037 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
6037 |
> |
echo "$as_me:6037: result: yes" >&5 |
6038 |
|
echo "${ECHO_T}yes" >&6 |
6039 |
|
have_sprng_h=1 |
6040 |
|
else |
6041 |
< |
echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5 |
6041 |
> |
echo "$as_me:6041: result: no! Check SPRNG include path!" >&5 |
6042 |
|
echo "${ECHO_T}no! Check SPRNG include path!" >&6 |
6043 |
|
USE_SPRNG="no" |
6044 |
|
fi |
6045 |
|
rm -f conftest* |
6046 |
|
if test "$have_sprng_h" = 1; then |
6047 |
|
|
6048 |
< |
cat >>confdefs.h <<\_ACEOF |
6048 |
> |
cat >>confdefs.h <<\EOF |
6049 |
|
#define HAVE_SPRNG_H 1 |
6050 |
< |
_ACEOF |
6050 |
> |
EOF |
6051 |
|
|
6052 |
|
fi |
6053 |
|
|
6060 |
|
ac_save_LDFLAGS=$LDFLAGS |
6061 |
|
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
6062 |
|
|
6063 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
6063 |
> |
echo "$as_me:6063: checking for init_rng in -lsprng" >&5 |
6064 |
|
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
6065 |
|
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
6066 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6068 |
|
ac_check_lib_save_LIBS=$LIBS |
6069 |
|
LIBS="-lsprng $LIBS" |
6070 |
|
cat >conftest.$ac_ext <<_ACEOF |
6071 |
< |
/* confdefs.h. */ |
6072 |
< |
_ACEOF |
7160 |
< |
cat confdefs.h >>conftest.$ac_ext |
7161 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7162 |
< |
/* end confdefs.h. */ |
6071 |
> |
#line 6071 "configure" |
6072 |
> |
#include "confdefs.h" |
6073 |
|
|
6074 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6075 |
|
#ifdef __cplusplus |
6087 |
|
} |
6088 |
|
_ACEOF |
6089 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6090 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6091 |
< |
(eval $ac_link) 2>conftest.er1 |
6090 |
> |
if { (eval echo "$as_me:6090: \"$ac_link\"") >&5 |
6091 |
> |
(eval $ac_link) 2>&5 |
6092 |
|
ac_status=$? |
6093 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7184 |
< |
rm -f conftest.er1 |
7185 |
< |
cat conftest.err >&5 |
7186 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6093 |
> |
echo "$as_me:6093: \$? = $ac_status" >&5 |
6094 |
|
(exit $ac_status); } && |
6095 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6096 |
< |
|| test ! -s conftest.err' |
7190 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6095 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6096 |
> |
{ (eval echo "$as_me:6096: \"$ac_try\"") >&5 |
6097 |
|
(eval $ac_try) 2>&5 |
6098 |
|
ac_status=$? |
6099 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7194 |
< |
(exit $ac_status); }; } && |
7195 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7196 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7197 |
< |
(eval $ac_try) 2>&5 |
7198 |
< |
ac_status=$? |
7199 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6099 |
> |
echo "$as_me:6099: \$? = $ac_status" >&5 |
6100 |
|
(exit $ac_status); }; }; then |
6101 |
|
ac_cv_lib_sprng_init_rng=yes |
6102 |
|
else |
6103 |
|
echo "$as_me: failed program was:" >&5 |
6104 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7205 |
< |
|
6104 |
> |
cat conftest.$ac_ext >&5 |
6105 |
|
ac_cv_lib_sprng_init_rng=no |
6106 |
|
fi |
6107 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7209 |
< |
conftest$ac_exeext conftest.$ac_ext |
6107 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6108 |
|
LIBS=$ac_check_lib_save_LIBS |
6109 |
|
fi |
6110 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
6110 |
> |
echo "$as_me:6110: result: $ac_cv_lib_sprng_init_rng" >&5 |
6111 |
|
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
6112 |
|
if test $ac_cv_lib_sprng_init_rng = yes; then |
6113 |
|
SPRNG_LIB="-lsprng" |
6114 |
|
else |
6115 |
|
|
6116 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
6116 |
> |
{ { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
6117 |
|
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
6118 |
|
{ (exit 1); exit 1; }; } |
6119 |
|
USE_SPRNG="no" |
6120 |
|
|
6121 |
|
fi |
6122 |
|
|
7225 |
– |
|
6123 |
|
if test "$USE_SPRNG" = "no"; then |
6124 |
< |
{ { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5 |
6124 |
> |
{ { echo "$as_me:6124: error: No working SPRNG library found" >&5 |
6125 |
|
echo "$as_me: error: No working SPRNG library found" >&2;} |
6126 |
|
{ (exit 1); exit 1; }; } |
6127 |
|
fi |
6128 |
|
|
7232 |
– |
|
6129 |
|
fi |
6130 |
|
|
6131 |
< |
|
7236 |
< |
|
7237 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
6131 |
> |
echo "$as_me:6131: checking if MKL is wanted" >&5 |
6132 |
|
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
6133 |
|
|
6134 |
|
# Check whether --with-mkl or --without-mkl was given. |
6135 |
|
if test "${with_mkl+set}" = set; then |
6136 |
|
withval="$with_mkl" |
6137 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
6137 |
> |
echo "$as_me:6137: result: yes" >&5 |
6138 |
|
echo "${ECHO_T}yes" >&6 |
6139 |
|
for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do |
6140 |
|
mkldir="$dir" |
6144 |
|
fi |
6145 |
|
done |
6146 |
|
if test x_$found_mkl != x_yes; then |
6147 |
< |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
6147 |
> |
{ { echo "$as_me:6147: error: Cannot find MKL includes" >&5 |
6148 |
|
echo "$as_me: error: Cannot find MKL includes" >&2;} |
6149 |
|
{ (exit 1); exit 1; }; } |
6150 |
|
else |
6151 |
|
printf "MKL includes found in $mkldir/include\n"; |
6152 |
|
fi |
6153 |
|
|
7260 |
– |
|
7261 |
– |
|
6154 |
|
ac_ext=c |
6155 |
|
ac_cpp='$CPP $CPPFLAGS' |
6156 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6161 |
|
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
6162 |
|
ac_save_LDFLAGS=$LDFLAGS |
6163 |
|
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
6164 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
7273 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
6164 |
> |
echo "$as_me:6164: checking for mkl.h" >&5 |
6165 |
|
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
6166 |
|
if test "${ac_cv_header_mkl_h+set}" = set; then |
6167 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7277 |
– |
fi |
7278 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
7279 |
– |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
6168 |
|
else |
6169 |
< |
# Is the header compilable? |
6170 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
6171 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
7284 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7285 |
< |
/* confdefs.h. */ |
7286 |
< |
_ACEOF |
7287 |
< |
cat confdefs.h >>conftest.$ac_ext |
7288 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7289 |
< |
/* end confdefs.h. */ |
7290 |
< |
$ac_includes_default |
7291 |
< |
#include <mkl.h> |
7292 |
< |
_ACEOF |
7293 |
< |
rm -f conftest.$ac_objext |
7294 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7295 |
< |
(eval $ac_compile) 2>conftest.er1 |
7296 |
< |
ac_status=$? |
7297 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7298 |
< |
rm -f conftest.er1 |
7299 |
< |
cat conftest.err >&5 |
7300 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7301 |
< |
(exit $ac_status); } && |
7302 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7303 |
< |
|| test ! -s conftest.err' |
7304 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7305 |
< |
(eval $ac_try) 2>&5 |
7306 |
< |
ac_status=$? |
7307 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7308 |
< |
(exit $ac_status); }; } && |
7309 |
< |
{ ac_try='test -s conftest.$ac_objext' |
7310 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7311 |
< |
(eval $ac_try) 2>&5 |
7312 |
< |
ac_status=$? |
7313 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7314 |
< |
(exit $ac_status); }; }; then |
7315 |
< |
ac_header_compiler=yes |
7316 |
< |
else |
7317 |
< |
echo "$as_me: failed program was:" >&5 |
7318 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7319 |
< |
|
7320 |
< |
ac_header_compiler=no |
7321 |
< |
fi |
7322 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7323 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7324 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
7325 |
< |
|
7326 |
< |
# Is the header present? |
7327 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
7328 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
7329 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7330 |
< |
/* confdefs.h. */ |
7331 |
< |
_ACEOF |
7332 |
< |
cat confdefs.h >>conftest.$ac_ext |
7333 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7334 |
< |
/* end confdefs.h. */ |
6169 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6170 |
> |
#line 6170 "configure" |
6171 |
> |
#include "confdefs.h" |
6172 |
|
#include <mkl.h> |
6173 |
|
_ACEOF |
6174 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6174 |
> |
if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6175 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6176 |
|
ac_status=$? |
6177 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6177 |
> |
egrep -v '^ *\+' conftest.er1 >conftest.err |
6178 |
|
rm -f conftest.er1 |
6179 |
|
cat conftest.err >&5 |
6180 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6180 |
> |
echo "$as_me:6180: \$? = $ac_status" >&5 |
6181 |
|
(exit $ac_status); } >/dev/null; then |
6182 |
|
if test -s conftest.err; then |
6183 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7347 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6184 |
|
else |
6185 |
|
ac_cpp_err= |
6186 |
|
fi |
6188 |
|
ac_cpp_err=yes |
6189 |
|
fi |
6190 |
|
if test -z "$ac_cpp_err"; then |
6191 |
< |
ac_header_preproc=yes |
6191 |
> |
ac_cv_header_mkl_h=yes |
6192 |
|
else |
6193 |
|
echo "$as_me: failed program was:" >&5 |
6194 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6195 |
< |
|
7360 |
< |
ac_header_preproc=no |
6194 |
> |
cat conftest.$ac_ext >&5 |
6195 |
> |
ac_cv_header_mkl_h=no |
6196 |
|
fi |
6197 |
|
rm -f conftest.err conftest.$ac_ext |
7363 |
– |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7364 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6 |
7365 |
– |
|
7366 |
– |
# So? What about this header? |
7367 |
– |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7368 |
– |
yes:no: ) |
7369 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7370 |
– |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7371 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5 |
7372 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;} |
7373 |
– |
ac_header_preproc=yes |
7374 |
– |
;; |
7375 |
– |
no:yes:* ) |
7376 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
7377 |
– |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
7378 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7379 |
– |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
7380 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5 |
7381 |
– |
echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;} |
7382 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&5 |
7383 |
– |
echo "$as_me: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
7384 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7385 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
7386 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5 |
7387 |
– |
echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;} |
7388 |
– |
( |
7389 |
– |
cat <<\_ASBOX |
7390 |
– |
## ------------------------------ ## |
7391 |
– |
## Report this to gezelter@nd.edu ## |
7392 |
– |
## ------------------------------ ## |
7393 |
– |
_ASBOX |
7394 |
– |
) | |
7395 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
7396 |
– |
;; |
7397 |
– |
esac |
7398 |
– |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
7399 |
– |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
7400 |
– |
if test "${ac_cv_header_mkl_h+set}" = set; then |
7401 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7402 |
– |
else |
7403 |
– |
ac_cv_header_mkl_h=$ac_header_preproc |
6198 |
|
fi |
6199 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
6199 |
> |
echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5 |
6200 |
|
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
7407 |
– |
|
7408 |
– |
fi |
6201 |
|
if test $ac_cv_header_mkl_h = yes; then |
6202 |
|
|
6203 |
< |
echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5 |
6203 |
> |
echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5 |
6204 |
|
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
6205 |
|
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
6206 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6208 |
|
ac_check_lib_save_LIBS=$LIBS |
6209 |
|
LIBS="-lmkl $LIBS" |
6210 |
|
cat >conftest.$ac_ext <<_ACEOF |
6211 |
< |
/* confdefs.h. */ |
6212 |
< |
_ACEOF |
7421 |
< |
cat confdefs.h >>conftest.$ac_ext |
7422 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7423 |
< |
/* end confdefs.h. */ |
6211 |
> |
#line 6211 "configure" |
6212 |
> |
#include "confdefs.h" |
6213 |
|
|
6214 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6215 |
|
#ifdef __cplusplus |
6227 |
|
} |
6228 |
|
_ACEOF |
6229 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6230 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6231 |
< |
(eval $ac_link) 2>conftest.er1 |
6230 |
> |
if { (eval echo "$as_me:6230: \"$ac_link\"") >&5 |
6231 |
> |
(eval $ac_link) 2>&5 |
6232 |
|
ac_status=$? |
6233 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7445 |
< |
rm -f conftest.er1 |
7446 |
< |
cat conftest.err >&5 |
7447 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6233 |
> |
echo "$as_me:6233: \$? = $ac_status" >&5 |
6234 |
|
(exit $ac_status); } && |
6235 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6236 |
< |
|| test ! -s conftest.err' |
7451 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6235 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6236 |
> |
{ (eval echo "$as_me:6236: \"$ac_try\"") >&5 |
6237 |
|
(eval $ac_try) 2>&5 |
6238 |
|
ac_status=$? |
6239 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7455 |
< |
(exit $ac_status); }; } && |
7456 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7457 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7458 |
< |
(eval $ac_try) 2>&5 |
7459 |
< |
ac_status=$? |
7460 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6239 |
> |
echo "$as_me:6239: \$? = $ac_status" >&5 |
6240 |
|
(exit $ac_status); }; }; then |
6241 |
|
ac_cv_lib_mkl_vslNewStream=yes |
6242 |
|
else |
6243 |
|
echo "$as_me: failed program was:" >&5 |
6244 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7466 |
< |
|
6244 |
> |
cat conftest.$ac_ext >&5 |
6245 |
|
ac_cv_lib_mkl_vslNewStream=no |
6246 |
|
fi |
6247 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7470 |
< |
conftest$ac_exeext conftest.$ac_ext |
6247 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6248 |
|
LIBS=$ac_check_lib_save_LIBS |
6249 |
|
fi |
6250 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
6250 |
> |
echo "$as_me:6250: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
6251 |
|
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
6252 |
|
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
6253 |
|
MKL_LIBDIR="${mkldir}/lib/32", |
6255 |
|
HAVE_MKL="yes" |
6256 |
|
fi |
6257 |
|
|
7481 |
– |
|
6258 |
|
else |
6259 |
|
MKL_INC="-I${mkldir}/include" |
6260 |
|
fi |
6261 |
|
|
7486 |
– |
|
6262 |
|
CPPFLAGS=$ac_save_CPPFLAGS |
6263 |
|
LDFLAGS=$ac_save_LDFLAGS |
6264 |
|
ac_ext=c |
6267 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6268 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6269 |
|
|
7495 |
– |
|
6270 |
|
if test x_$HAVE_MKL != x_yes; then |
6271 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with MKL" >&5 |
6271 |
> |
{ { echo "$as_me:6271: error: Can't build with MKL" >&5 |
6272 |
|
echo "$as_me: error: Can't build with MKL" >&2;} |
6273 |
|
{ (exit 1); exit 1; }; } |
6274 |
|
fi |
6275 |
|
|
6276 |
+ |
else |
6277 |
|
|
6278 |
+ |
echo "$as_me:6278: result: no" >&5 |
6279 |
+ |
echo "${ECHO_T}no" >&6 |
6280 |
|
|
6281 |
+ |
fi; |
6282 |
|
|
6283 |
+ |
# Check whether --enable-doxygen or --disable-doxygen was given. |
6284 |
+ |
if test "${enable_doxygen+set}" = set; then |
6285 |
+ |
enableval="$enable_doxygen" |
6286 |
|
|
6287 |
+ |
fi; |
6288 |
+ |
# Check whether --enable-dot or --disable-dot was given. |
6289 |
+ |
if test "${enable_dot+set}" = set; then |
6290 |
+ |
enableval="$enable_dot" |
6291 |
+ |
|
6292 |
+ |
fi; |
6293 |
+ |
# Check whether --enable-html-docs or --disable-html-docs was given. |
6294 |
+ |
if test "${enable_html_docs+set}" = set; then |
6295 |
+ |
enableval="$enable_html_docs" |
6296 |
+ |
|
6297 |
|
else |
6298 |
+ |
enable_html_docs=yes |
6299 |
+ |
fi; |
6300 |
+ |
# Check whether --enable-latex-docs or --disable-latex-docs was given. |
6301 |
+ |
if test "${enable_latex_docs+set}" = set; then |
6302 |
+ |
enableval="$enable_latex_docs" |
6303 |
|
|
6304 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
6304 |
> |
else |
6305 |
> |
enable_latex_docs=no |
6306 |
> |
fi; |
6307 |
> |
if test "x$enable_doxygen" = xno; then |
6308 |
> |
enable_doc=no |
6309 |
> |
else |
6310 |
> |
# Extract the first word of "doxygen", so it can be a program name with args. |
6311 |
> |
set dummy doxygen; ac_word=$2 |
6312 |
> |
echo "$as_me:6312: checking for $ac_word" >&5 |
6313 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6314 |
> |
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
6315 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6316 |
> |
else |
6317 |
> |
case $DOXYGEN in |
6318 |
> |
[\\/]* | ?:[\\/]*) |
6319 |
> |
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. |
6320 |
> |
;; |
6321 |
> |
*) |
6322 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6323 |
> |
ac_dummy="$PATH" |
6324 |
> |
for ac_dir in $ac_dummy; do |
6325 |
> |
IFS=$ac_save_IFS |
6326 |
> |
test -z "$ac_dir" && ac_dir=. |
6327 |
> |
if $as_executable_p "$ac_dir/$ac_word"; then |
6328 |
> |
ac_cv_path_DOXYGEN="$ac_dir/$ac_word" |
6329 |
> |
echo "$as_me:6329: found $ac_dir/$ac_word" >&5 |
6330 |
> |
break |
6331 |
> |
fi |
6332 |
> |
done |
6333 |
> |
|
6334 |
> |
;; |
6335 |
> |
esac |
6336 |
> |
fi |
6337 |
> |
DOXYGEN=$ac_cv_path_DOXYGEN |
6338 |
> |
|
6339 |
> |
if test -n "$DOXYGEN"; then |
6340 |
> |
echo "$as_me:6340: result: $DOXYGEN" >&5 |
6341 |
> |
echo "${ECHO_T}$DOXYGEN" >&6 |
6342 |
> |
else |
6343 |
> |
echo "$as_me:6343: result: no" >&5 |
6344 |
|
echo "${ECHO_T}no" >&6 |
6345 |
+ |
fi |
6346 |
|
|
6347 |
< |
fi; |
6347 |
> |
if test "x$DOXYGEN" = x; then |
6348 |
> |
if test "x$enable_doxygen" = xyes; then |
6349 |
> |
{ { echo "$as_me:6349: error: could not find doxygen" >&5 |
6350 |
> |
echo "$as_me: error: could not find doxygen" >&2;} |
6351 |
> |
{ (exit 1); exit 1; }; } |
6352 |
> |
fi |
6353 |
> |
enable_doc=no |
6354 |
> |
else |
6355 |
> |
enable_doc=yes |
6356 |
> |
# Extract the first word of "dot", so it can be a program name with args. |
6357 |
> |
set dummy dot; ac_word=$2 |
6358 |
> |
echo "$as_me:6358: checking for $ac_word" >&5 |
6359 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6360 |
> |
if test "${ac_cv_path_DOT+set}" = set; then |
6361 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6362 |
> |
else |
6363 |
> |
case $DOT in |
6364 |
> |
[\\/]* | ?:[\\/]*) |
6365 |
> |
ac_cv_path_DOT="$DOT" # Let the user override the test with a path. |
6366 |
> |
;; |
6367 |
> |
*) |
6368 |
> |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
6369 |
> |
ac_dummy="$PATH" |
6370 |
> |
for ac_dir in $ac_dummy; do |
6371 |
> |
IFS=$ac_save_IFS |
6372 |
> |
test -z "$ac_dir" && ac_dir=. |
6373 |
> |
if $as_executable_p "$ac_dir/$ac_word"; then |
6374 |
> |
ac_cv_path_DOT="$ac_dir/$ac_word" |
6375 |
> |
echo "$as_me:6375: found $ac_dir/$ac_word" >&5 |
6376 |
> |
break |
6377 |
> |
fi |
6378 |
> |
done |
6379 |
|
|
6380 |
+ |
;; |
6381 |
+ |
esac |
6382 |
+ |
fi |
6383 |
+ |
DOT=$ac_cv_path_DOT |
6384 |
|
|
6385 |
+ |
if test -n "$DOT"; then |
6386 |
+ |
echo "$as_me:6386: result: $DOT" >&5 |
6387 |
+ |
echo "${ECHO_T}$DOT" >&6 |
6388 |
+ |
else |
6389 |
+ |
echo "$as_me:6389: result: no" >&5 |
6390 |
+ |
echo "${ECHO_T}no" >&6 |
6391 |
+ |
fi |
6392 |
|
|
6393 |
+ |
fi |
6394 |
+ |
fi |
6395 |
+ |
|
6396 |
+ |
if test "x$enable_doc" = xyes; then |
6397 |
+ |
DOC=1 |
6398 |
+ |
else |
6399 |
+ |
DOC=0 |
6400 |
+ |
fi |
6401 |
|
|
6402 |
+ |
if test x$DOT = x; then |
6403 |
+ |
if test "x$enable_dot" = xyes; then |
6404 |
+ |
{ { echo "$as_me:6404: error: could not find dot" >&5 |
6405 |
+ |
echo "$as_me: error: could not find dot" >&2;} |
6406 |
+ |
{ (exit 1); exit 1; }; } |
6407 |
+ |
fi |
6408 |
+ |
enable_dot=no |
6409 |
+ |
else |
6410 |
+ |
enable_dot=yes |
6411 |
+ |
fi |
6412 |
|
|
6413 |
|
OBJEXT=".$OBJEXT" |
6414 |
|
|
6450 |
|
;; |
6451 |
|
esac |
6452 |
|
|
6453 |
+ |
ac_config_headers="$ac_config_headers src/config.h" |
6454 |
|
|
6455 |
+ |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
6456 |
|
|
7559 |
– |
|
7560 |
– |
|
7561 |
– |
|
7562 |
– |
|
7563 |
– |
|
7564 |
– |
|
7565 |
– |
|
7566 |
– |
|
7567 |
– |
|
7568 |
– |
|
7569 |
– |
|
7570 |
– |
|
7571 |
– |
|
7572 |
– |
|
7573 |
– |
ac_config_headers="$ac_config_headers src/config.h" |
7574 |
– |
|
7575 |
– |
ac_config_files="$ac_config_files make/Make.conf" |
7576 |
– |
|
7577 |
– |
|
6457 |
|
cat >confcache <<\_ACEOF |
6458 |
|
# This file is a shell script that caches the results of configure |
6459 |
|
# tests run on this system so they can be shared between configure |
6464 |
|
# config.status only pays attention to the cache file if you give it |
6465 |
|
# the --recheck option to rerun configure. |
6466 |
|
# |
6467 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
6467 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
6468 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
6469 |
|
# following values. |
6470 |
|
|
6482 |
|
# `set' does not quote correctly, so add quotes (double-quote |
6483 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
6484 |
|
sed -n \ |
6485 |
< |
"s/'/'\\\\''/g; |
6486 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6485 |
> |
"s/'/'\\\\''/g; |
6486 |
> |
s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6487 |
|
;; |
6488 |
|
*) |
6489 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
6490 |
|
sed -n \ |
6491 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6491 |
> |
"s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6492 |
|
;; |
6493 |
|
esac; |
6494 |
|
} | |
6499 |
|
t end |
6500 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6501 |
|
: end' >>confcache |
6502 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
6502 |
> |
if cmp -s $cache_file confcache; then :; else |
6503 |
|
if test -w $cache_file; then |
6504 |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
6505 |
|
cat confcache >$cache_file |
6518 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
6519 |
|
# (actually we leave an empty line to preserve line numbers). |
6520 |
|
if test "x$srcdir" = x.; then |
6521 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6521 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6522 |
|
s/:*\$(srcdir):*/:/; |
6523 |
|
s/:*\${srcdir}:*/:/; |
6524 |
|
s/:*@srcdir@:*/:/; |
6525 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
6525 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
6526 |
|
s/:*$//; |
6527 |
< |
s/^[^=]*=[ ]*$//; |
6527 |
> |
s/^[^=]*=[ ]*$//; |
6528 |
|
}' |
6529 |
|
fi |
6530 |
|
|
6531 |
|
DEFS=-DHAVE_CONFIG_H |
6532 |
|
|
7654 |
– |
ac_libobjs= |
7655 |
– |
ac_ltlibobjs= |
7656 |
– |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7657 |
– |
# 1. Remove the extension, and $U if already installed. |
7658 |
– |
ac_i=`echo "$ac_i" | |
7659 |
– |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7660 |
– |
# 2. Add them. |
7661 |
– |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
7662 |
– |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
7663 |
– |
done |
7664 |
– |
LIBOBJS=$ac_libobjs |
7665 |
– |
|
7666 |
– |
LTLIBOBJS=$ac_ltlibobjs |
7667 |
– |
|
7668 |
– |
|
7669 |
– |
|
6533 |
|
: ${CONFIG_STATUS=./config.status} |
6534 |
|
ac_clean_files_save=$ac_clean_files |
6535 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6536 |
< |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
6536 |
> |
{ echo "$as_me:6536: creating $CONFIG_STATUS" >&5 |
6537 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6538 |
|
cat >$CONFIG_STATUS <<_ACEOF |
6539 |
|
#! $SHELL |
6540 |
< |
# Generated by $as_me. |
6540 |
> |
# Generated automatically by configure. |
6541 |
|
# Run this file to recreate the current configuration. |
6542 |
|
# Compiler output produced by configure, useful for debugging |
6543 |
|
# configure, is in config.log if it exists. |
6544 |
|
|
6545 |
|
debug=false |
7683 |
– |
ac_cs_recheck=false |
7684 |
– |
ac_cs_silent=false |
6546 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
6547 |
+ |
ac_cs_invocation="\$0 \$@" |
6548 |
+ |
|
6549 |
|
_ACEOF |
6550 |
|
|
6551 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7689 |
– |
## --------------------- ## |
7690 |
– |
## M4sh Initialization. ## |
7691 |
– |
## --------------------- ## |
7692 |
– |
|
6552 |
|
# Be Bourne compatible |
6553 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6554 |
|
emulate sh |
6555 |
|
NULLCMD=: |
7697 |
– |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
7698 |
– |
# is contrary to our usage. Disable this feature. |
7699 |
– |
alias -g '${1+"$@"}'='"$@"' |
6556 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
6557 |
|
set -o posix |
6558 |
|
fi |
7703 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
6559 |
|
|
7705 |
– |
# Support unset when possible. |
7706 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
7707 |
– |
as_unset=unset |
7708 |
– |
else |
7709 |
– |
as_unset=false |
7710 |
– |
fi |
7711 |
– |
|
7712 |
– |
|
7713 |
– |
# Work around bugs in pre-3.0 UWIN ksh. |
7714 |
– |
$as_unset ENV MAIL MAILPATH |
7715 |
– |
PS1='$ ' |
7716 |
– |
PS2='> ' |
7717 |
– |
PS4='+ ' |
7718 |
– |
|
7719 |
– |
# NLS nuisances. |
7720 |
– |
for as_var in \ |
7721 |
– |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
7722 |
– |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
7723 |
– |
LC_TELEPHONE LC_TIME |
7724 |
– |
do |
7725 |
– |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7726 |
– |
eval $as_var=C; export $as_var |
7727 |
– |
else |
7728 |
– |
$as_unset $as_var |
7729 |
– |
fi |
7730 |
– |
done |
7731 |
– |
|
7732 |
– |
# Required to use basename. |
7733 |
– |
if expr a : '\(a\)' >/dev/null 2>&1; then |
7734 |
– |
as_expr=expr |
7735 |
– |
else |
7736 |
– |
as_expr=false |
7737 |
– |
fi |
7738 |
– |
|
7739 |
– |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
7740 |
– |
as_basename=basename |
7741 |
– |
else |
7742 |
– |
as_basename=false |
7743 |
– |
fi |
7744 |
– |
|
7745 |
– |
|
6560 |
|
# Name of the executable. |
6561 |
< |
as_me=`$as_basename "$0" || |
7748 |
< |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7749 |
< |
X"$0" : 'X\(//\)$' \| \ |
7750 |
< |
X"$0" : 'X\(/\)$' \| \ |
7751 |
< |
. : '\(.\)' 2>/dev/null || |
7752 |
< |
echo X/"$0" | |
7753 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
7754 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
7755 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
7756 |
< |
s/.*/./; q'` |
7757 |
< |
|
6561 |
> |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
6562 |
|
|
7759 |
– |
# PATH needs CR, and LINENO needs CR and PATH. |
7760 |
– |
# Avoid depending upon Character Ranges. |
7761 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7762 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7763 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7764 |
– |
as_cr_digits='0123456789' |
7765 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
7766 |
– |
|
7767 |
– |
# The user is always right. |
7768 |
– |
if test "${PATH_SEPARATOR+set}" != set; then |
7769 |
– |
echo "#! /bin/sh" >conf$$.sh |
7770 |
– |
echo "exit 0" >>conf$$.sh |
7771 |
– |
chmod +x conf$$.sh |
7772 |
– |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
7773 |
– |
PATH_SEPARATOR=';' |
7774 |
– |
else |
7775 |
– |
PATH_SEPARATOR=: |
7776 |
– |
fi |
7777 |
– |
rm -f conf$$.sh |
7778 |
– |
fi |
7779 |
– |
|
7780 |
– |
|
7781 |
– |
as_lineno_1=$LINENO |
7782 |
– |
as_lineno_2=$LINENO |
7783 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7784 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7785 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
7786 |
– |
# Find who we are. Look in the path if we contain no path at all |
7787 |
– |
# relative or not. |
7788 |
– |
case $0 in |
7789 |
– |
*[\\/]* ) as_myself=$0 ;; |
7790 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7791 |
– |
for as_dir in $PATH |
7792 |
– |
do |
7793 |
– |
IFS=$as_save_IFS |
7794 |
– |
test -z "$as_dir" && as_dir=. |
7795 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7796 |
– |
done |
7797 |
– |
|
7798 |
– |
;; |
7799 |
– |
esac |
7800 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
7801 |
– |
# in which case we are not to be found in the path. |
7802 |
– |
if test "x$as_myself" = x; then |
7803 |
– |
as_myself=$0 |
7804 |
– |
fi |
7805 |
– |
if test ! -f "$as_myself"; then |
7806 |
– |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
7807 |
– |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
7808 |
– |
{ (exit 1); exit 1; }; } |
7809 |
– |
fi |
7810 |
– |
case $CONFIG_SHELL in |
7811 |
– |
'') |
7812 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7813 |
– |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
7814 |
– |
do |
7815 |
– |
IFS=$as_save_IFS |
7816 |
– |
test -z "$as_dir" && as_dir=. |
7817 |
– |
for as_base in sh bash ksh sh5; do |
7818 |
– |
case $as_dir in |
7819 |
– |
/*) |
7820 |
– |
if ("$as_dir/$as_base" -c ' |
7821 |
– |
as_lineno_1=$LINENO |
7822 |
– |
as_lineno_2=$LINENO |
7823 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
7824 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
7825 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
7826 |
– |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
7827 |
– |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
7828 |
– |
CONFIG_SHELL=$as_dir/$as_base |
7829 |
– |
export CONFIG_SHELL |
7830 |
– |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
7831 |
– |
fi;; |
7832 |
– |
esac |
7833 |
– |
done |
7834 |
– |
done |
7835 |
– |
;; |
7836 |
– |
esac |
7837 |
– |
|
7838 |
– |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
7839 |
– |
# uniformly replaced by the line number. The first 'sed' inserts a |
7840 |
– |
# line-number line before each line; the second 'sed' does the real |
7841 |
– |
# work. The second script uses 'N' to pair each line-number line |
7842 |
– |
# with the numbered line, and appends trailing '-' during |
7843 |
– |
# substitution so that $LINENO is not a special case at line end. |
7844 |
– |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
7845 |
– |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
7846 |
– |
sed '=' <$as_myself | |
7847 |
– |
sed ' |
7848 |
– |
N |
7849 |
– |
s,$,-, |
7850 |
– |
: loop |
7851 |
– |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
7852 |
– |
t loop |
7853 |
– |
s,-$,, |
7854 |
– |
s,^['$as_cr_digits']*\n,, |
7855 |
– |
' >$as_me.lineno && |
7856 |
– |
chmod +x $as_me.lineno || |
7857 |
– |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
7858 |
– |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
7859 |
– |
{ (exit 1); exit 1; }; } |
7860 |
– |
|
7861 |
– |
# Don't try to exec as it changes $[0], causing all sort of problems |
7862 |
– |
# (the dirname of $[0] is not the place where we might find the |
7863 |
– |
# original and so on. Autoconf is especially sensible to this). |
7864 |
– |
. ./$as_me.lineno |
7865 |
– |
# Exit status is that of the last command. |
7866 |
– |
exit |
7867 |
– |
} |
7868 |
– |
|
7869 |
– |
|
7870 |
– |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
7871 |
– |
*c*,-n*) ECHO_N= ECHO_C=' |
7872 |
– |
' ECHO_T=' ' ;; |
7873 |
– |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
7874 |
– |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
7875 |
– |
esac |
7876 |
– |
|
6563 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
6564 |
|
as_expr=expr |
6565 |
|
else |
6584 |
|
fi |
6585 |
|
rm -f conf$$ conf$$.exe conf$$.file |
6586 |
|
|
7901 |
– |
if mkdir -p . 2>/dev/null; then |
7902 |
– |
as_mkdir_p=: |
7903 |
– |
else |
7904 |
– |
test -d ./-p && rmdir ./-p |
7905 |
– |
as_mkdir_p=false |
7906 |
– |
fi |
7907 |
– |
|
6587 |
|
as_executable_p="test -f" |
6588 |
|
|
6589 |
< |
# Sed expression to map a string onto a valid CPP name. |
6590 |
< |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
6591 |
< |
|
6592 |
< |
# Sed expression to map a string onto a valid variable name. |
6593 |
< |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
6589 |
> |
# Support unset when possible. |
6590 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
6591 |
> |
as_unset=unset |
6592 |
> |
else |
6593 |
> |
as_unset=false |
6594 |
> |
fi |
6595 |
|
|
6596 |
+ |
# NLS nuisances. |
6597 |
+ |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
6598 |
+ |
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
6599 |
+ |
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
6600 |
+ |
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
6601 |
+ |
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
6602 |
+ |
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
6603 |
+ |
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
6604 |
+ |
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
6605 |
|
|
6606 |
|
# IFS |
6607 |
|
# We need space, tab and new line, in precisely that order. |
6610 |
|
IFS=" $as_nl" |
6611 |
|
|
6612 |
|
# CDPATH. |
6613 |
< |
$as_unset CDPATH |
6613 |
> |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
6614 |
|
|
6615 |
|
exec 6>&1 |
6616 |
|
|
7928 |
– |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
7929 |
– |
# report actual input values of CONFIG_FILES etc. instead of their |
7930 |
– |
# values after options handling. Logging --version etc. is OK. |
7931 |
– |
exec 5>>config.log |
7932 |
– |
{ |
7933 |
– |
echo |
7934 |
– |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
7935 |
– |
## Running $as_me. ## |
7936 |
– |
_ASBOX |
7937 |
– |
} >&5 |
7938 |
– |
cat >&5 <<_CSEOF |
7939 |
– |
|
7940 |
– |
This file was extended by OOPSE $as_me 2.0, which was |
7941 |
– |
generated by GNU Autoconf 2.59. Invocation command line was |
7942 |
– |
|
7943 |
– |
CONFIG_FILES = $CONFIG_FILES |
7944 |
– |
CONFIG_HEADERS = $CONFIG_HEADERS |
7945 |
– |
CONFIG_LINKS = $CONFIG_LINKS |
7946 |
– |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
7947 |
– |
$ $0 $@ |
7948 |
– |
|
7949 |
– |
_CSEOF |
7950 |
– |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
7951 |
– |
echo >&5 |
6617 |
|
_ACEOF |
6618 |
|
|
6619 |
|
# Files that config.status was made for. |
6633 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
6634 |
|
fi |
6635 |
|
|
6636 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6636 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6637 |
|
|
6638 |
|
ac_cs_usage="\ |
6639 |
|
\`$as_me' instantiates files from templates according to the |
6643 |
|
|
6644 |
|
-h, --help print this help, then exit |
6645 |
|
-V, --version print version number, then exit |
7981 |
– |
-q, --quiet do not print progress messages |
6646 |
|
-d, --debug don't remove temporary files |
6647 |
|
--recheck update $as_me by reconfiguring in the same conditions |
6648 |
|
--file=FILE[:TEMPLATE] |
6649 |
< |
instantiate the configuration file FILE |
6649 |
> |
instantiate the configuration file FILE |
6650 |
|
--header=FILE[:TEMPLATE] |
6651 |
< |
instantiate the configuration header FILE |
6651 |
> |
instantiate the configuration header FILE |
6652 |
|
|
6653 |
|
Configuration files: |
6654 |
|
$config_files |
6660 |
|
$config_links |
6661 |
|
|
6662 |
|
Report bugs to <bug-autoconf@gnu.org>." |
6663 |
< |
_ACEOF |
6663 |
> |
EOF |
6664 |
|
|
6665 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
6665 |
> |
cat >>$CONFIG_STATUS <<EOF |
6666 |
|
ac_cs_version="\\ |
6667 |
|
OOPSE config.status 2.0 |
6668 |
< |
configured by $0, generated by GNU Autoconf 2.59, |
6668 |
> |
configured by $0, generated by GNU Autoconf 2.50, |
6669 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
6670 |
|
|
6671 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
6671 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6672 |
> |
Free Software Foundation, Inc. |
6673 |
|
This config.status script is free software; the Free Software Foundation |
6674 |
|
gives unlimited permission to copy, distribute and modify it." |
6675 |
|
srcdir=$srcdir |
6676 |
|
INSTALL="$INSTALL" |
6677 |
< |
_ACEOF |
6677 |
> |
EOF |
6678 |
|
|
6679 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6679 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6680 |
|
# If no file are specified by the user, then we need to provide default |
6681 |
|
# value. By we need to know if files were specified by the user. |
6682 |
|
ac_need_defaults=: |
6686 |
|
--*=*) |
6687 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
6688 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
6689 |
< |
ac_shift=: |
6689 |
> |
shift |
6690 |
> |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
6691 |
> |
shift |
6692 |
|
;; |
6693 |
< |
-*) |
8027 |
< |
ac_option=$1 |
8028 |
< |
ac_optarg=$2 |
8029 |
< |
ac_shift=shift |
8030 |
< |
;; |
6693 |
> |
-*);; |
6694 |
|
*) # This is not an option, so the user has probably given explicit |
6695 |
|
# arguments. |
8033 |
– |
ac_option=$1 |
6696 |
|
ac_need_defaults=false;; |
6697 |
|
esac |
6698 |
|
|
6699 |
< |
case $ac_option in |
6699 |
> |
case $1 in |
6700 |
|
# Handling of the options. |
6701 |
< |
_ACEOF |
6702 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6701 |
> |
EOF |
6702 |
> |
cat >>$CONFIG_STATUS <<EOF |
6703 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
6704 |
< |
ac_cs_recheck=: ;; |
6704 |
> |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
6705 |
> |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
6706 |
> |
EOF |
6707 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6708 |
|
--version | --vers* | -V ) |
6709 |
|
echo "$ac_cs_version"; exit 0 ;; |
6710 |
|
--he | --h) |
6711 |
|
# Conflict between --help and --header |
6712 |
< |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
6712 |
> |
{ { echo "$as_me:6712: error: ambiguous option: $1 |
6713 |
|
Try \`$0 --help' for more information." >&5 |
6714 |
|
echo "$as_me: error: ambiguous option: $1 |
6715 |
|
Try \`$0 --help' for more information." >&2;} |
6719 |
|
--debug | --d* | -d ) |
6720 |
|
debug=: ;; |
6721 |
|
--file | --fil | --fi | --f ) |
6722 |
< |
$ac_shift |
6723 |
< |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
6722 |
> |
shift |
6723 |
> |
CONFIG_FILES="$CONFIG_FILES $1" |
6724 |
|
ac_need_defaults=false;; |
6725 |
|
--header | --heade | --head | --hea ) |
6726 |
< |
$ac_shift |
6727 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
6726 |
> |
shift |
6727 |
> |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
6728 |
|
ac_need_defaults=false;; |
8064 |
– |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
8065 |
– |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
8066 |
– |
ac_cs_silent=: ;; |
6729 |
|
|
6730 |
+ |
# Handling of arguments. |
6731 |
+ |
'make/Makefile' ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
6732 |
+ |
'src/utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
6733 |
+ |
'src/getopt.h' ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
6734 |
+ |
'src/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
6735 |
+ |
|
6736 |
|
# This is an error. |
6737 |
< |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
6737 |
> |
-*) { { echo "$as_me:6737: error: unrecognized option: $1 |
6738 |
|
Try \`$0 --help' for more information." >&5 |
6739 |
|
echo "$as_me: error: unrecognized option: $1 |
6740 |
|
Try \`$0 --help' for more information." >&2;} |
6741 |
|
{ (exit 1); exit 1; }; } ;; |
6742 |
< |
|
6743 |
< |
*) ac_config_targets="$ac_config_targets $1" ;; |
6744 |
< |
|
6742 |
> |
*) { { echo "$as_me:6742: error: invalid argument: $1" >&5 |
6743 |
> |
echo "$as_me: error: invalid argument: $1" >&2;} |
6744 |
> |
{ (exit 1); exit 1; }; };; |
6745 |
|
esac |
6746 |
|
shift |
6747 |
|
done |
6748 |
|
|
6749 |
< |
ac_configure_extra_args= |
6749 |
> |
exec 5>>config.log |
6750 |
> |
cat >&5 << _ACEOF |
6751 |
|
|
6752 |
< |
if $ac_cs_silent; then |
6753 |
< |
exec 6>/dev/null |
6754 |
< |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
8086 |
< |
fi |
6752 |
> |
## ----------------------- ## |
6753 |
> |
## Running config.status. ## |
6754 |
> |
## ----------------------- ## |
6755 |
|
|
6756 |
< |
_ACEOF |
6757 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
6758 |
< |
if \$ac_cs_recheck; then |
8091 |
< |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
8092 |
< |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8093 |
< |
fi |
6756 |
> |
This file was extended by $as_me (OOPSE 2.0) 2.50, executed with |
6757 |
> |
> $ac_cs_invocation |
6758 |
> |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
6759 |
|
|
6760 |
|
_ACEOF |
6761 |
+ |
EOF |
6762 |
|
|
6763 |
< |
|
8098 |
< |
|
8099 |
< |
|
8100 |
< |
|
8101 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
8102 |
< |
for ac_config_target in $ac_config_targets |
8103 |
< |
do |
8104 |
< |
case "$ac_config_target" in |
8105 |
< |
# Handling of arguments. |
8106 |
< |
"make/Make.conf" ) CONFIG_FILES="$CONFIG_FILES make/Make.conf" ;; |
8107 |
< |
"utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;; |
8108 |
< |
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
8109 |
< |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
8110 |
< |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
8111 |
< |
{ (exit 1); exit 1; }; };; |
8112 |
< |
esac |
8113 |
< |
done |
8114 |
< |
|
6763 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6764 |
|
# If the user did not use the arguments to specify the items to instantiate, |
6765 |
|
# then the envvar interface is used. Set only those that are not. |
6766 |
|
# We use the long form for the default assignment because of an extremely |
6771 |
|
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links |
6772 |
|
fi |
6773 |
|
|
8125 |
– |
# Have a temporary directory for convenience. Make it in the build tree |
8126 |
– |
# simply because there is no reason to put it here, and in addition, |
8127 |
– |
# creating and moving files from /tmp can sometimes cause problems. |
6774 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
6775 |
|
$debug || |
6776 |
|
{ |
6777 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
6778 |
< |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
6778 |
> |
trap '{ (exit $?); exit $?; }' 1 2 13 15 |
6779 |
|
} |
6780 |
|
|
6781 |
|
# Create a (secure) tmp directory for tmp files. |
6782 |
< |
|
6782 |
> |
: ${TMPDIR=/tmp} |
6783 |
|
{ |
6784 |
< |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
6784 |
> |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
6785 |
|
test -n "$tmp" && test -d "$tmp" |
6786 |
|
} || |
6787 |
|
{ |
6788 |
< |
tmp=./confstat$$-$RANDOM |
6788 |
> |
tmp=$TMPDIR/cs$$-$RANDOM |
6789 |
|
(umask 077 && mkdir $tmp) |
6790 |
|
} || |
6791 |
|
{ |
6792 |
< |
echo "$me: cannot create a temporary directory in ." >&2 |
6792 |
> |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
6793 |
|
{ (exit 1); exit 1; } |
6794 |
|
} |
6795 |
|
|
6796 |
< |
_ACEOF |
6796 |
> |
EOF |
6797 |
|
|
6798 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
6798 |
> |
cat >>$CONFIG_STATUS <<EOF |
6799 |
|
|
6800 |
|
# |
6801 |
|
# CONFIG_FILES section. |
6808 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
6809 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
6810 |
|
s,@SHELL@,$SHELL,;t t |
8165 |
– |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
8166 |
– |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
8167 |
– |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
8168 |
– |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
8169 |
– |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
8170 |
– |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
6811 |
|
s,@exec_prefix@,$exec_prefix,;t t |
6812 |
|
s,@prefix@,$prefix,;t t |
6813 |
|
s,@program_transform_name@,$program_transform_name,;t t |
6823 |
|
s,@oldincludedir@,$oldincludedir,;t t |
6824 |
|
s,@infodir@,$infodir,;t t |
6825 |
|
s,@mandir@,$mandir,;t t |
6826 |
< |
s,@build_alias@,$build_alias,;t t |
6827 |
< |
s,@host_alias@,$host_alias,;t t |
6828 |
< |
s,@target_alias@,$target_alias,;t t |
6829 |
< |
s,@DEFS@,$DEFS,;t t |
6826 |
> |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
6827 |
> |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
6828 |
> |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
6829 |
> |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
6830 |
> |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
6831 |
|
s,@ECHO_C@,$ECHO_C,;t t |
6832 |
|
s,@ECHO_N@,$ECHO_N,;t t |
6833 |
|
s,@ECHO_T@,$ECHO_T,;t t |
6834 |
+ |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
6835 |
+ |
s,@DEFS@,$DEFS,;t t |
6836 |
|
s,@LIBS@,$LIBS,;t t |
6837 |
|
s,@PROGNAME@,$PROGNAME,;t t |
6838 |
|
s,@debug@,$debug,;t t |
6868 |
|
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
6869 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
6870 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
6871 |
+ |
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
6872 |
|
s,@CPP@,$CPP,;t t |
8229 |
– |
s,@EGREP@,$EGREP,;t t |
6873 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
6874 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
6875 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
6883 |
|
s,@LEXLIB@,$LEXLIB,;t t |
6884 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
6885 |
|
s,@AR@,$AR,;t t |
6886 |
+ |
s,@PS@,$PS,;t t |
6887 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
6888 |
|
s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t |
6889 |
|
s,@MPI_F90_INC@,$MPI_F90_INC,;t t |
6898 |
|
s,@MKL_LIB@,$MKL_LIB,;t t |
6899 |
|
s,@MKL_INC@,$MKL_INC,;t t |
6900 |
|
s,@HAVE_MKL@,$HAVE_MKL,;t t |
6901 |
+ |
s,@DOXYGEN@,$DOXYGEN,;t t |
6902 |
+ |
s,@DOT@,$DOT,;t t |
6903 |
+ |
s,@DOC@,$DOC,;t t |
6904 |
+ |
s,@enable_dot@,$enable_dot,;t t |
6905 |
+ |
s,@enable_html_docs@,$enable_html_docs,;t t |
6906 |
+ |
s,@enable_latex_docs@,$enable_latex_docs,;t t |
6907 |
|
s,@BATEXT@,$BATEXT,;t t |
6908 |
|
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
6909 |
|
s,@OOPSE@,$OOPSE,;t t |
6910 |
|
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
6911 |
|
s,@SUBDIRS@,$SUBDIRS,;t t |
6912 |
|
s,@FFLAGS@,$FFLAGS,;t t |
8263 |
– |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
6913 |
|
CEOF |
6914 |
|
|
6915 |
< |
_ACEOF |
6915 |
> |
EOF |
6916 |
|
|
6917 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6917 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6918 |
|
# Split the substitutions into bite-sized pieces for seds with |
6919 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
6920 |
|
ac_max_sed_lines=48 |
6939 |
|
(echo ':t |
6940 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
6941 |
|
if test -z "$ac_sed_cmds"; then |
6942 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
6942 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
6943 |
|
else |
6944 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
6944 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
6945 |
|
fi |
6946 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
6947 |
|
ac_beg=$ac_end |
6953 |
|
fi |
6954 |
|
fi # test -n "$CONFIG_FILES" |
6955 |
|
|
6956 |
< |
_ACEOF |
6957 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
6956 |
> |
EOF |
6957 |
> |
cat >>$CONFIG_STATUS <<\EOF |
6958 |
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
6959 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
6960 |
|
case $ac_file in |
6961 |
|
- | *:- | *:-:* ) # input from stdin |
6962 |
< |
cat >$tmp/stdin |
6963 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6964 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6962 |
> |
cat >$tmp/stdin |
6963 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6964 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6965 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6966 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6966 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6967 |
|
* ) ac_file_in=$ac_file.in ;; |
6968 |
|
esac |
6969 |
|
|
6970 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
6971 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
6972 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6973 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6974 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
6975 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8327 |
< |
. : '\(.\)' 2>/dev/null || |
6971 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6972 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6973 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
6974 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
6975 |
> |
. : '\(.\)' 2>/dev/null || |
6976 |
|
echo X"$ac_file" | |
6977 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6978 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6979 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
6980 |
|
/^X\(\/\).*/{ s//\1/; q; } |
6981 |
|
s/.*/./; q'` |
6982 |
< |
{ if $as_mkdir_p; then |
6983 |
< |
mkdir -p "$ac_dir" |
6982 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
6983 |
> |
{ case "$ac_dir" in |
6984 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
6985 |
> |
*) as_incr_dir=.;; |
6986 |
> |
esac |
6987 |
> |
as_dummy="$ac_dir" |
6988 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
6989 |
> |
case $as_mkdir_dir in |
6990 |
> |
# Skip DOS drivespec |
6991 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
6992 |
> |
*) |
6993 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
6994 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
6995 |
> |
;; |
6996 |
> |
esac |
6997 |
> |
done; } |
6998 |
> |
|
6999 |
> |
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
7000 |
> |
# A "../" for each directory in $ac_dir_suffix. |
7001 |
> |
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
7002 |
|
else |
7003 |
< |
as_dir="$ac_dir" |
7004 |
< |
as_dirs= |
8339 |
< |
while test ! -d "$as_dir"; do |
8340 |
< |
as_dirs="$as_dir $as_dirs" |
8341 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8342 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8343 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8344 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8345 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8346 |
< |
. : '\(.\)' 2>/dev/null || |
8347 |
< |
echo X"$as_dir" | |
8348 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8349 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8350 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
8351 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
8352 |
< |
s/.*/./; q'` |
8353 |
< |
done |
8354 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
8355 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
8356 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
8357 |
< |
{ (exit 1); exit 1; }; }; } |
7003 |
> |
ac_dir_suffix= ac_dots= |
7004 |
> |
fi |
7005 |
|
|
7006 |
< |
ac_builddir=. |
7007 |
< |
|
7008 |
< |
if test "$ac_dir" != .; then |
7009 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
7010 |
< |
# A "../" for each directory in $ac_dir_suffix. |
7011 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
7012 |
< |
else |
7013 |
< |
ac_dir_suffix= ac_top_builddir= |
7014 |
< |
fi |
7015 |
< |
|
8369 |
< |
case $srcdir in |
8370 |
< |
.) # No --srcdir option. We are building in place. |
8371 |
< |
ac_srcdir=. |
8372 |
< |
if test -z "$ac_top_builddir"; then |
8373 |
< |
ac_top_srcdir=. |
8374 |
< |
else |
8375 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
8376 |
< |
fi ;; |
8377 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
8378 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
8379 |
< |
ac_top_srcdir=$srcdir ;; |
7006 |
> |
case $srcdir in |
7007 |
> |
.) ac_srcdir=. |
7008 |
> |
if test -z "$ac_dots"; then |
7009 |
> |
ac_top_srcdir=. |
7010 |
> |
else |
7011 |
> |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
7012 |
> |
fi ;; |
7013 |
> |
[\\/]* | ?:[\\/]* ) |
7014 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
7015 |
> |
ac_top_srcdir=$srcdir ;; |
7016 |
|
*) # Relative path. |
7017 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
7018 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
7019 |
< |
esac |
7017 |
> |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
7018 |
> |
ac_top_srcdir=$ac_dots$srcdir ;; |
7019 |
> |
esac |
7020 |
|
|
8385 |
– |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8386 |
– |
# the directories may not exist. |
8387 |
– |
case `pwd` in |
8388 |
– |
.) ac_abs_builddir="$ac_dir";; |
8389 |
– |
*) |
8390 |
– |
case "$ac_dir" in |
8391 |
– |
.) ac_abs_builddir=`pwd`;; |
8392 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
8393 |
– |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
8394 |
– |
esac;; |
8395 |
– |
esac |
8396 |
– |
case $ac_abs_builddir in |
8397 |
– |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8398 |
– |
*) |
8399 |
– |
case ${ac_top_builddir}. in |
8400 |
– |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8401 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8402 |
– |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8403 |
– |
esac;; |
8404 |
– |
esac |
8405 |
– |
case $ac_abs_builddir in |
8406 |
– |
.) ac_abs_srcdir=$ac_srcdir;; |
8407 |
– |
*) |
8408 |
– |
case $ac_srcdir in |
8409 |
– |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8410 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8411 |
– |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8412 |
– |
esac;; |
8413 |
– |
esac |
8414 |
– |
case $ac_abs_builddir in |
8415 |
– |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8416 |
– |
*) |
8417 |
– |
case $ac_top_srcdir in |
8418 |
– |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8419 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8420 |
– |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8421 |
– |
esac;; |
8422 |
– |
esac |
8423 |
– |
|
8424 |
– |
|
7021 |
|
case $INSTALL in |
7022 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
7023 |
< |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
7023 |
> |
*) ac_INSTALL=$ac_dots$INSTALL ;; |
7024 |
|
esac |
7025 |
|
|
7026 |
|
if test x"$ac_file" != x-; then |
7027 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
7027 |
> |
{ echo "$as_me:7027: creating $ac_file" >&5 |
7028 |
|
echo "$as_me: creating $ac_file" >&6;} |
7029 |
|
rm -f "$ac_file" |
7030 |
|
fi |
7031 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
7032 |
|
# use $as_me), people would be surprised to read: |
7033 |
< |
# /* config.h. Generated by config.status. */ |
7034 |
< |
if test x"$ac_file" = x-; then |
7035 |
< |
configure_input= |
8440 |
< |
else |
8441 |
< |
configure_input="$ac_file. " |
8442 |
< |
fi |
8443 |
< |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
8444 |
< |
sed 's,.*/,,'` by configure." |
7033 |
> |
# /* config.h. Generated automatically by config.status. */ |
7034 |
> |
configure_input="Generated automatically from `echo $ac_file_in | |
7035 |
> |
sed 's,.*/,,'` by configure." |
7036 |
|
|
7037 |
|
# First look for the input files in the build tree, otherwise in the |
7038 |
|
# src tree. |
7041 |
|
case $f in |
7042 |
|
-) echo $tmp/stdin ;; |
7043 |
|
[\\/$]*) |
7044 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
7045 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7044 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
7045 |
> |
test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5 |
7046 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7047 |
|
{ (exit 1); exit 1; }; } |
7048 |
< |
echo "$f";; |
7048 |
> |
echo $f;; |
7049 |
|
*) # Relative |
7050 |
< |
if test -f "$f"; then |
7051 |
< |
# Build tree |
7052 |
< |
echo "$f" |
7053 |
< |
elif test -f "$srcdir/$f"; then |
7054 |
< |
# Source tree |
7055 |
< |
echo "$srcdir/$f" |
7056 |
< |
else |
7057 |
< |
# /dev/null tree |
7058 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7050 |
> |
if test -f "$f"; then |
7051 |
> |
# Build tree |
7052 |
> |
echo $f |
7053 |
> |
elif test -f "$srcdir/$f"; then |
7054 |
> |
# Source tree |
7055 |
> |
echo $srcdir/$f |
7056 |
> |
else |
7057 |
> |
# /dev/null tree |
7058 |
> |
{ { echo "$as_me:7058: error: cannot find input file: $f" >&5 |
7059 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7060 |
|
{ (exit 1); exit 1; }; } |
7061 |
< |
fi;; |
7061 |
> |
fi;; |
7062 |
|
esac |
7063 |
|
done` || { (exit 1); exit 1; } |
7064 |
< |
_ACEOF |
7065 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
7064 |
> |
EOF |
7065 |
> |
cat >>$CONFIG_STATUS <<EOF |
7066 |
|
sed "$ac_vpsub |
7067 |
|
$extrasub |
7068 |
< |
_ACEOF |
7069 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7068 |
> |
EOF |
7069 |
> |
cat >>$CONFIG_STATUS <<\EOF |
7070 |
|
:t |
7071 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7072 |
|
s,@configure_input@,$configure_input,;t t |
7073 |
|
s,@srcdir@,$ac_srcdir,;t t |
8483 |
– |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
7074 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
8485 |
– |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
8486 |
– |
s,@builddir@,$ac_builddir,;t t |
8487 |
– |
s,@abs_builddir@,$ac_abs_builddir,;t t |
8488 |
– |
s,@top_builddir@,$ac_top_builddir,;t t |
8489 |
– |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
7075 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
7076 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
7077 |
|
rm -f $tmp/stdin |
7083 |
|
fi |
7084 |
|
|
7085 |
|
done |
7086 |
< |
_ACEOF |
7087 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7086 |
> |
EOF |
7087 |
> |
cat >>$CONFIG_STATUS <<\EOF |
7088 |
|
|
7089 |
|
# |
7090 |
|
# CONFIG_HEADER section. |
7094 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
7095 |
|
# |
7096 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
7097 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
7098 |
< |
ac_dB='[ ].*$,\1#\2' |
7097 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
7098 |
> |
ac_dB='[ ].*$,\1#\2' |
7099 |
|
ac_dC=' ' |
7100 |
|
ac_dD=',;t' |
7101 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
7102 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
7102 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
7103 |
|
ac_uB='$,\1#\2define\3' |
7104 |
|
ac_uC=' ' |
7105 |
|
ac_uD=',;t' |
7108 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
7109 |
|
case $ac_file in |
7110 |
|
- | *:- | *:-:* ) # input from stdin |
7111 |
< |
cat >$tmp/stdin |
7112 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7113 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7111 |
> |
cat >$tmp/stdin |
7112 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7113 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7114 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7115 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7115 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7116 |
|
* ) ac_file_in=$ac_file.in ;; |
7117 |
|
esac |
7118 |
|
|
7119 |
< |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
7119 |
> |
test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5 |
7120 |
|
echo "$as_me: creating $ac_file" >&6;} |
7121 |
|
|
7122 |
|
# First look for the input files in the build tree, otherwise in the |
7126 |
|
case $f in |
7127 |
|
-) echo $tmp/stdin ;; |
7128 |
|
[\\/$]*) |
7129 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
7130 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7129 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
7130 |
> |
test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5 |
7131 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7132 |
|
{ (exit 1); exit 1; }; } |
7133 |
< |
# Do quote $f, to prevent DOS paths from being IFS'd. |
8549 |
< |
echo "$f";; |
7133 |
> |
echo $f;; |
7134 |
|
*) # Relative |
7135 |
< |
if test -f "$f"; then |
7136 |
< |
# Build tree |
7137 |
< |
echo "$f" |
7138 |
< |
elif test -f "$srcdir/$f"; then |
7139 |
< |
# Source tree |
7140 |
< |
echo "$srcdir/$f" |
7141 |
< |
else |
7142 |
< |
# /dev/null tree |
7143 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7135 |
> |
if test -f "$f"; then |
7136 |
> |
# Build tree |
7137 |
> |
echo $f |
7138 |
> |
elif test -f "$srcdir/$f"; then |
7139 |
> |
# Source tree |
7140 |
> |
echo $srcdir/$f |
7141 |
> |
else |
7142 |
> |
# /dev/null tree |
7143 |
> |
{ { echo "$as_me:7143: error: cannot find input file: $f" >&5 |
7144 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7145 |
|
{ (exit 1); exit 1; }; } |
7146 |
< |
fi;; |
7146 |
> |
fi;; |
7147 |
|
esac |
7148 |
|
done` || { (exit 1); exit 1; } |
7149 |
|
# Remove the trailing spaces. |
7150 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
7150 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
7151 |
|
|
7152 |
< |
_ACEOF |
7152 |
> |
EOF |
7153 |
|
|
7154 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
7155 |
|
# `conftest.undefs', that substitutes the proper values into |
7165 |
|
# `end' is used to avoid that the second main sed command (meant for |
7166 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
7167 |
|
# See the Autoconf documentation for `clear'. |
7168 |
< |
cat >confdef2sed.sed <<\_ACEOF |
7168 |
> |
cat >confdef2sed.sed <<\EOF |
7169 |
|
s/[\\&,]/\\&/g |
7170 |
|
s,[\\$`],\\&,g |
7171 |
|
t clear |
7172 |
|
: clear |
7173 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
7173 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
7174 |
|
t end |
7175 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
7175 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
7176 |
|
: end |
7177 |
< |
_ACEOF |
7177 |
> |
EOF |
7178 |
|
# If some macros were called several times there might be several times |
7179 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
7180 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
7185 |
|
# This sed command replaces #undef with comments. This is necessary, for |
7186 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
7187 |
|
# on some systems where configure will not decide to define it. |
7188 |
< |
cat >>conftest.undefs <<\_ACEOF |
7189 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
7190 |
< |
_ACEOF |
7188 |
> |
cat >>conftest.undefs <<\EOF |
7189 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
7190 |
> |
EOF |
7191 |
|
|
7192 |
|
# Break up conftest.defines because some shells have a limit on the size |
7193 |
|
# of here documents, and old seds have small limits too (100 cmds). |
7194 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
7195 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
7195 |
> |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
7196 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
7197 |
|
echo ' :' >>$CONFIG_STATUS |
7198 |
|
rm -f conftest.tail |
7201 |
|
# Write a limited-size here document to $tmp/defines.sed. |
7202 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
7203 |
|
# Speed up: don't consider the non `#define' lines. |
7204 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
7204 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
7205 |
|
# Work around the forget-to-reset-the-flag bug. |
7206 |
|
echo 't clr' >>$CONFIG_STATUS |
7207 |
|
echo ': clr' >>$CONFIG_STATUS |
7216 |
|
mv conftest.tail conftest.defines |
7217 |
|
done |
7218 |
|
rm -f conftest.defines |
7219 |
< |
echo ' fi # grep' >>$CONFIG_STATUS |
7219 |
> |
echo ' fi # egrep' >>$CONFIG_STATUS |
7220 |
|
echo >>$CONFIG_STATUS |
7221 |
|
|
7222 |
|
# Break up conftest.undefs because some shells have a limit on the size |
7228 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
7229 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
7230 |
|
# Speed up: don't consider the non `#undef' |
7231 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
7231 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
7232 |
|
# Work around the forget-to-reset-the-flag bug. |
7233 |
|
echo 't clr' >>$CONFIG_STATUS |
7234 |
|
echo ': clr' >>$CONFIG_STATUS |
7244 |
|
done |
7245 |
|
rm -f conftest.undefs |
7246 |
|
|
7247 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7247 |
> |
cat >>$CONFIG_STATUS <<\EOF |
7248 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
7249 |
|
# use $as_me), people would be surprised to read: |
7250 |
< |
# /* config.h. Generated by config.status. */ |
7250 |
> |
# /* config.h. Generated automatically by config.status. */ |
7251 |
|
if test x"$ac_file" = x-; then |
7252 |
< |
echo "/* Generated by configure. */" >$tmp/config.h |
7252 |
> |
echo "/* Generated automatically by configure. */" >$tmp/config.h |
7253 |
|
else |
7254 |
< |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
7254 |
> |
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
7255 |
|
fi |
7256 |
|
cat $tmp/in >>$tmp/config.h |
7257 |
|
rm -f $tmp/in |
7258 |
|
if test x"$ac_file" != x-; then |
7259 |
< |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
7260 |
< |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
7259 |
> |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
7260 |
> |
{ echo "$as_me:7260: $ac_file is unchanged" >&5 |
7261 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
7262 |
|
else |
7263 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7264 |
< |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7265 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
7266 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
7267 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8684 |
< |
. : '\(.\)' 2>/dev/null || |
7263 |
> |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7264 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
7265 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
7266 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
7267 |
> |
. : '\(.\)' 2>/dev/null || |
7268 |
|
echo X"$ac_file" | |
7269 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7270 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7271 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7272 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7273 |
|
s/.*/./; q'` |
7274 |
< |
{ if $as_mkdir_p; then |
7275 |
< |
mkdir -p "$ac_dir" |
7276 |
< |
else |
7277 |
< |
as_dir="$ac_dir" |
7278 |
< |
as_dirs= |
7279 |
< |
while test ! -d "$as_dir"; do |
7280 |
< |
as_dirs="$as_dir $as_dirs" |
7281 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
7282 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7283 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
7284 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
7285 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
7286 |
< |
. : '\(.\)' 2>/dev/null || |
7287 |
< |
echo X"$as_dir" | |
7288 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7289 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8707 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
8708 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
8709 |
< |
s/.*/./; q'` |
8710 |
< |
done |
8711 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
8712 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
8713 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
8714 |
< |
{ (exit 1); exit 1; }; }; } |
7274 |
> |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
7275 |
> |
{ case "$ac_dir" in |
7276 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
7277 |
> |
*) as_incr_dir=.;; |
7278 |
> |
esac |
7279 |
> |
as_dummy="$ac_dir" |
7280 |
> |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
7281 |
> |
case $as_mkdir_dir in |
7282 |
> |
# Skip DOS drivespec |
7283 |
> |
?:) as_incr_dir=$as_mkdir_dir ;; |
7284 |
> |
*) |
7285 |
> |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
7286 |
> |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
7287 |
> |
;; |
7288 |
> |
esac |
7289 |
> |
done; } |
7290 |
|
|
7291 |
+ |
fi |
7292 |
|
rm -f $ac_file |
7293 |
|
mv $tmp/config.h $ac_file |
7294 |
|
fi |
7297 |
|
rm -f $tmp/config.h |
7298 |
|
fi |
7299 |
|
done |
7300 |
< |
_ACEOF |
7301 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7300 |
> |
EOF |
7301 |
> |
cat >>$CONFIG_STATUS <<\EOF |
7302 |
|
|
7303 |
|
# |
7304 |
|
# CONFIG_LINKS section. |
7308 |
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
7309 |
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7310 |
|
|
7311 |
< |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 |
7311 |
> |
{ echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5 |
7312 |
|
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} |
7313 |
|
|
7314 |
|
if test ! -r $srcdir/$ac_source; then |
7315 |
< |
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
7316 |
< |
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
7315 |
> |
{ { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5 |
7316 |
> |
echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} |
7317 |
|
{ (exit 1); exit 1; }; } |
7318 |
|
fi |
7319 |
|
rm -f $ac_dest |
7320 |
|
|
7321 |
|
# Make relative symlinks. |
7322 |
< |
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
7323 |
< |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7324 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
7325 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
7326 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
8751 |
< |
. : '\(.\)' 2>/dev/null || |
7322 |
> |
ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7323 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
7324 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
7325 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
7326 |
> |
. : '\(.\)' 2>/dev/null || |
7327 |
|
echo X"$ac_dest" | |
7328 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7329 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7330 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7331 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7332 |
|
s/.*/./; q'` |
7333 |
< |
{ if $as_mkdir_p; then |
7334 |
< |
mkdir -p "$ac_dest_dir" |
7335 |
< |
else |
7336 |
< |
as_dir="$ac_dest_dir" |
8762 |
< |
as_dirs= |
8763 |
< |
while test ! -d "$as_dir"; do |
8764 |
< |
as_dirs="$as_dir $as_dirs" |
8765 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8766 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8767 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8768 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8769 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8770 |
< |
. : '\(.\)' 2>/dev/null || |
8771 |
< |
echo X"$as_dir" | |
8772 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8773 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8774 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
8775 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
8776 |
< |
s/.*/./; q'` |
8777 |
< |
done |
8778 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
8779 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 |
8780 |
< |
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} |
8781 |
< |
{ (exit 1); exit 1; }; }; } |
8782 |
< |
|
8783 |
< |
ac_builddir=. |
8784 |
< |
|
8785 |
< |
if test "$ac_dest_dir" != .; then |
8786 |
< |
ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` |
8787 |
< |
# A "../" for each directory in $ac_dir_suffix. |
8788 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
8789 |
< |
else |
8790 |
< |
ac_dir_suffix= ac_top_builddir= |
8791 |
< |
fi |
8792 |
< |
|
8793 |
< |
case $srcdir in |
8794 |
< |
.) # No --srcdir option. We are building in place. |
8795 |
< |
ac_srcdir=. |
8796 |
< |
if test -z "$ac_top_builddir"; then |
8797 |
< |
ac_top_srcdir=. |
8798 |
< |
else |
8799 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
8800 |
< |
fi ;; |
8801 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
8802 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
8803 |
< |
ac_top_srcdir=$srcdir ;; |
8804 |
< |
*) # Relative path. |
8805 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8806 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
7333 |
> |
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then |
7334 |
> |
{ case "$ac_dest_dir" in |
7335 |
> |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
7336 |
> |
*) as_incr_dir=.;; |
7337 |
|
esac |
7338 |
+ |
as_dummy="$ac_dest_dir" |
7339 |
+ |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
7340 |
+ |
case $as_mkdir_dir in |
7341 |
+ |
# Skip DOS drivespec |
7342 |
+ |
?:) as_incr_dir=$as_mkdir_dir ;; |
7343 |
+ |
*) |
7344 |
+ |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
7345 |
+ |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
7346 |
+ |
;; |
7347 |
+ |
esac |
7348 |
+ |
done; } |
7349 |
|
|
7350 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
7351 |
< |
# the directories may not exist. |
7352 |
< |
case `pwd` in |
7353 |
< |
.) ac_abs_builddir="$ac_dest_dir";; |
7354 |
< |
*) |
7355 |
< |
case "$ac_dest_dir" in |
8815 |
< |
.) ac_abs_builddir=`pwd`;; |
8816 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
8817 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
8818 |
< |
esac;; |
8819 |
< |
esac |
8820 |
< |
case $ac_abs_builddir in |
8821 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8822 |
< |
*) |
8823 |
< |
case ${ac_top_builddir}. in |
8824 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8825 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8826 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8827 |
< |
esac;; |
8828 |
< |
esac |
8829 |
< |
case $ac_abs_builddir in |
8830 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
8831 |
< |
*) |
8832 |
< |
case $ac_srcdir in |
8833 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8834 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8835 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8836 |
< |
esac;; |
8837 |
< |
esac |
8838 |
< |
case $ac_abs_builddir in |
8839 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8840 |
< |
*) |
8841 |
< |
case $ac_top_srcdir in |
8842 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8843 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8844 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8845 |
< |
esac;; |
8846 |
< |
esac |
7350 |
> |
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`" |
7351 |
> |
# A "../" for each directory in $ac_dest_dir_suffix. |
7352 |
> |
ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'` |
7353 |
> |
else |
7354 |
> |
ac_dest_dir_suffix= ac_dots= |
7355 |
> |
fi |
7356 |
|
|
8848 |
– |
|
7357 |
|
case $srcdir in |
7358 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
7359 |
< |
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |
7359 |
> |
*) ac_rel_source=$ac_dots$srcdir/$ac_source ;; |
7360 |
|
esac |
7361 |
|
|
7362 |
< |
# Try a symlink, then a hard link, then a copy. |
7362 |
> |
# Make a symlink if possible; otherwise try a hard link. |
7363 |
|
ln -s $ac_rel_source $ac_dest 2>/dev/null || |
7364 |
< |
ln $srcdir/$ac_source $ac_dest 2>/dev/null || |
7365 |
< |
cp -p $srcdir/$ac_source $ac_dest || |
7366 |
< |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 |
8859 |
< |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} |
7364 |
> |
ln $srcdir/$ac_source $ac_dest || |
7365 |
> |
{ { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 |
7366 |
> |
echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} |
7367 |
|
{ (exit 1); exit 1; }; } |
7368 |
|
done |
7369 |
< |
_ACEOF |
7369 |
> |
EOF |
7370 |
|
|
7371 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
7371 |
> |
cat >>$CONFIG_STATUS <<\EOF |
7372 |
|
|
7373 |
|
{ (exit 0); exit 0; } |
7374 |
< |
_ACEOF |
7374 |
> |
EOF |
7375 |
|
chmod +x $CONFIG_STATUS |
7376 |
|
ac_clean_files=$ac_clean_files_save |
7377 |
|
|
8871 |
– |
|
7378 |
|
# configure is writing to config.log, and then calls config.status. |
7379 |
|
# config.status does its own redirection, appending to config.log. |
7380 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
7385 |
|
# need to make the FD available again. |
7386 |
|
if test "$no_create" != yes; then |
7387 |
|
ac_cs_success=: |
8882 |
– |
ac_config_status_args= |
8883 |
– |
test "$silent" = yes && |
8884 |
– |
ac_config_status_args="$ac_config_status_args --quiet" |
7388 |
|
exec 5>/dev/null |
7389 |
< |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7389 |
> |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
7390 |
|
exec 5>>config.log |
7391 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7392 |
|
# would make configure fail if this is the last instruction. |